public static final class InstanceEventData.Builder extends GeneratedMessageV3.Builder<InstanceEventData.Builder> implements InstanceEventDataOrBuilder
The data within all Instance events.
Protobuf type google.events.cloud.redis.v1.InstanceEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceEventData.BuilderImplements
InstanceEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
build()
public InstanceEventData build()
Returns | |
---|---|
Type | Description |
InstanceEventData |
buildPartial()
public InstanceEventData buildPartial()
Returns | |
---|---|
Type | Description |
InstanceEventData |
clear()
public InstanceEventData.Builder clear()
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public InstanceEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
clearPayload()
public InstanceEventData.Builder clearPayload()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.v1.Instance payload = 1;
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
clone()
public InstanceEventData.Builder clone()
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
getDefaultInstanceForType()
public InstanceEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InstanceEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Instance getPayload()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.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.redis.v1.Instance payload = 1;
Returns | |
---|---|
Type | Description |
Instance.Builder |
getPayloadOrBuilder()
public InstanceOrBuilder getPayloadOrBuilder()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.v1.Instance payload = 1;
Returns | |
---|---|
Type | Description |
InstanceOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.v1.Instance payload = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InstanceEventData other)
public InstanceEventData.Builder mergeFrom(InstanceEventData other)
Parameter | |
---|---|
Name | Description |
other | InstanceEventData |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstanceEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InstanceEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
mergePayload(Instance value)
public InstanceEventData.Builder mergePayload(Instance value)
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.v1.Instance payload = 1;
Parameter | |
---|---|
Name | Description |
value | Instance |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
setPayload(Instance value)
public InstanceEventData.Builder setPayload(Instance value)
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.v1.Instance payload = 1;
Parameter | |
---|---|
Name | Description |
value | Instance |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
setPayload(Instance.Builder builderForValue)
public InstanceEventData.Builder setPayload(Instance.Builder builderForValue)
Optional. The Instance event payload. Unset for deletion events.
optional .google.events.cloud.redis.v1.Instance payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Instance.Builder |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InstanceEventData.Builder |