Class InstanceEventData.Builder (0.14.1)

public static final class InstanceEventData.Builder extends GeneratedMessageV3.Builder<InstanceEventData.Builder> implements InstanceEventDataOrBuilder

The data within all Instance events.

Protobuf type google.events.cloud.alloydb.v1.InstanceEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceEventData build()
Returns
TypeDescription
InstanceEventData

buildPartial()

public InstanceEventData buildPartial()
Returns
TypeDescription
InstanceEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public InstanceEventData.Builder clearPayload()

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

optional .google.events.cloud.alloydb.v1.Instance payload = 1;

Returns
TypeDescription
InstanceEventData.Builder

clone()

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

getDefaultInstanceForType()

public InstanceEventData getDefaultInstanceForType()
Returns
TypeDescription
InstanceEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Instance getPayload()

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

optional .google.events.cloud.alloydb.v1.Instance payload = 1;

Returns
TypeDescription
Instance

The payload.

getPayloadBuilder()

public Instance.Builder getPayloadBuilder()

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

optional .google.events.cloud.alloydb.v1.Instance payload = 1;

Returns
TypeDescription
Instance.Builder

getPayloadOrBuilder()

public InstanceOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.alloydb.v1.Instance payload = 1;

Returns
TypeDescription
InstanceOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.alloydb.v1.Instance 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(InstanceEventData other)

public InstanceEventData.Builder mergeFrom(InstanceEventData other)
Parameter
NameDescription
otherInstanceEventData
Returns
TypeDescription
InstanceEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Instance value)

public InstanceEventData.Builder mergePayload(Instance value)

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

optional .google.events.cloud.alloydb.v1.Instance payload = 1;

Parameter
NameDescription
valueInstance
Returns
TypeDescription
InstanceEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Instance value)

public InstanceEventData.Builder setPayload(Instance value)

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

optional .google.events.cloud.alloydb.v1.Instance payload = 1;

Parameter
NameDescription
valueInstance
Returns
TypeDescription
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.alloydb.v1.Instance payload = 1;

Parameter
NameDescription
builderForValueInstance.Builder
Returns
TypeDescription
InstanceEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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