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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FeatureEventData build()
buildPartial()
public FeatureEventData buildPartial()
clear()
public FeatureEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FeatureEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public FeatureEventData.Builder clearPayload()
Optional. The Feature event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Feature payload = 1;
clone()
public FeatureEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public FeatureEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getPayloadOrBuilder()
public FeatureOrBuilder getPayloadOrBuilder()
Optional. The Feature event payload. Unset for deletion events.
optional .google.events.cloud.gkehub.v1.Feature payload = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FeatureEventData other)
public FeatureEventData.Builder mergeFrom(FeatureEventData other)
public FeatureEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FeatureEventData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides