public static final class InstanceEventData.Builder extends GeneratedMessageV3.Builder<InstanceEventData.Builder> implements InstanceEventDataOrBuilder
The data within all Instance events.
Protobuf type google.events.cloud.memcache.v1.InstanceEventData
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 InstanceEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceEventData build()
buildPartial()
public InstanceEventData buildPartial()
clear()
public InstanceEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public InstanceEventData.Builder clearPayload()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
clone()
public InstanceEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPayload()
public Instance getPayload()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
Returns |
Type |
Description |
Instance |
The payload.
|
getPayloadBuilder()
public Instance.Builder getPayloadBuilder()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
getPayloadOrBuilder()
public InstanceOrBuilder getPayloadOrBuilder()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
hasPayload()
public boolean hasPayload()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance 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(InstanceEventData other)
public InstanceEventData.Builder mergeFrom(InstanceEventData other)
public InstanceEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePayload(Instance value)
public InstanceEventData.Builder mergePayload(Instance value)
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
Parameter |
Name |
Description |
value |
Instance
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPayload(Instance value)
public InstanceEventData.Builder setPayload(Instance value)
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
Parameter |
Name |
Description |
value |
Instance
|
setPayload(Instance.Builder builderForValue)
public InstanceEventData.Builder setPayload(Instance.Builder builderForValue)
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.memcache.v1.Instance payload = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides