Class FeatureEventData.Builder (0.14.1)

public static final class FeatureEventData.Builder extends GeneratedMessageV3.Builder<FeatureEventData.Builder> implements FeatureEventDataOrBuilder

The data within all Feature events.

Protobuf type google.events.cloud.gkehub.v1.FeatureEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureEventData.Builder
Overrides

build()

public FeatureEventData build()
Returns
TypeDescription
FeatureEventData

buildPartial()

public FeatureEventData buildPartial()
Returns
TypeDescription
FeatureEventData

clear()

public FeatureEventData.Builder clear()
Returns
TypeDescription
FeatureEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FeatureEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeatureEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureEventData.Builder
Overrides

clearPayload()

public FeatureEventData.Builder clearPayload()

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Returns
TypeDescription
FeatureEventData.Builder

clone()

public FeatureEventData.Builder clone()
Returns
TypeDescription
FeatureEventData.Builder
Overrides

getDefaultInstanceForType()

public FeatureEventData getDefaultInstanceForType()
Returns
TypeDescription
FeatureEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Feature getPayload()

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Returns
TypeDescription
Feature

The payload.

getPayloadBuilder()

public Feature.Builder getPayloadBuilder()

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Returns
TypeDescription
Feature.Builder

getPayloadOrBuilder()

public FeatureOrBuilder getPayloadOrBuilder()

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Returns
TypeDescription
FeatureOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureEventData other)

public FeatureEventData.Builder mergeFrom(FeatureEventData other)
Parameter
NameDescription
otherFeatureEventData
Returns
TypeDescription
FeatureEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureEventData.Builder
Overrides

mergePayload(Feature value)

public FeatureEventData.Builder mergePayload(Feature value)

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Parameter
NameDescription
valueFeature
Returns
TypeDescription
FeatureEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureEventData.Builder
Overrides

setPayload(Feature value)

public FeatureEventData.Builder setPayload(Feature value)

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Parameter
NameDescription
valueFeature
Returns
TypeDescription
FeatureEventData.Builder

setPayload(Feature.Builder builderForValue)

public FeatureEventData.Builder setPayload(Feature.Builder builderForValue)

Optional. The Feature event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Feature payload = 1;

Parameter
NameDescription
builderForValueFeature.Builder
Returns
TypeDescription
FeatureEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FeatureEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureEventData.Builder
Overrides