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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClusterEventData.BuilderImplements
ClusterEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ClusterEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ClusterEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClusterEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ClusterEventData.Builder |
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 |
getDefaultInstanceForType()
public ClusterEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ClusterEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ClusterEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ClusterEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClusterEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ClusterEventData.Builder |