Class FeatureEventData.Builder (0.15.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureEventData.Builder
Overrides

build()

public FeatureEventData build()
Returns
Type Description
FeatureEventData

buildPartial()

public FeatureEventData buildPartial()
Returns
Type Description
FeatureEventData

clear()

public FeatureEventData.Builder clear()
Returns
Type Description
FeatureEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FeatureEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeatureEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
FeatureEventData.Builder

clone()

public FeatureEventData.Builder clone()
Returns
Type Description
FeatureEventData.Builder
Overrides

getDefaultInstanceForType()

public FeatureEventData getDefaultInstanceForType()
Returns
Type Description
FeatureEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
FeatureOrBuilder

hasPayload()

public boolean hasPayload()

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

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

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureEventData other)

public FeatureEventData.Builder mergeFrom(FeatureEventData other)
Parameter
Name Description
other FeatureEventData
Returns
Type Description
FeatureEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeatureEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Feature
Returns
Type Description
FeatureEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Feature
Returns
Type Description
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
Name Description
builderForValue Feature.Builder
Returns
Type Description
FeatureEventData.Builder

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

public FeatureEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureEventData.Builder
Overrides