Class ClusterEventData.Builder (0.15.0)

public static final class ClusterEventData.Builder extends GeneratedMessageV3.Builder<ClusterEventData.Builder> implements ClusterEventDataOrBuilder

The data within all Cluster events.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClusterEventData build()
Returns
Type Description
ClusterEventData

buildPartial()

public ClusterEventData buildPartial()
Returns
Type Description
ClusterEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClusterEventData.Builder
Overrides

clearPayload()

public ClusterEventData.Builder clearPayload()

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

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

Returns
Type Description
ClusterEventData.Builder

clone()

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

getDefaultInstanceForType()

public ClusterEventData getDefaultInstanceForType()
Returns
Type Description
ClusterEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPayload()

public Cluster getPayload()

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

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

Returns
Type Description
Cluster

The payload.

getPayloadBuilder()

public Cluster.Builder getPayloadBuilder()

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

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

Returns
Type Description
Cluster.Builder

getPayloadOrBuilder()

public ClusterOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
ClusterOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ClusterEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClusterEventData.Builder
Overrides

mergePayload(Cluster value)

public ClusterEventData.Builder mergePayload(Cluster value)

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

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

Parameter
Name Description
value Cluster
Returns
Type Description
ClusterEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Cluster value)

public ClusterEventData.Builder setPayload(Cluster value)

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

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

Parameter
Name Description
value Cluster
Returns
Type Description
ClusterEventData.Builder

setPayload(Cluster.Builder builderForValue)

public ClusterEventData.Builder setPayload(Cluster.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Cluster.Builder
Returns
Type Description
ClusterEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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