Class UpgradeClusterResponse.Builder (0.44.0)

public static final class UpgradeClusterResponse.Builder extends GeneratedMessageV3.Builder<UpgradeClusterResponse.Builder> implements UpgradeClusterResponseOrBuilder

UpgradeClusterResponse contains the response for upgrade cluster operation.

Protobuf type google.cloud.alloydb.v1beta.UpgradeClusterResponse

Static Methods

getDescriptor()

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

Methods

addAllClusterUpgradeDetails(Iterable<? extends UpgradeClusterResponse.ClusterUpgradeDetails> values)

public UpgradeClusterResponse.Builder addAllClusterUpgradeDetails(Iterable<? extends UpgradeClusterResponse.ClusterUpgradeDetails> values)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails>
Returns
Type Description
UpgradeClusterResponse.Builder

addClusterUpgradeDetails(UpgradeClusterResponse.ClusterUpgradeDetails value)

public UpgradeClusterResponse.Builder addClusterUpgradeDetails(UpgradeClusterResponse.ClusterUpgradeDetails value)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
value UpgradeClusterResponse.ClusterUpgradeDetails
Returns
Type Description
UpgradeClusterResponse.Builder

addClusterUpgradeDetails(UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue)

public UpgradeClusterResponse.Builder addClusterUpgradeDetails(UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
builderForValue UpgradeClusterResponse.ClusterUpgradeDetails.Builder
Returns
Type Description
UpgradeClusterResponse.Builder

addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value)

public UpgradeClusterResponse.Builder addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameters
Name Description
index int
value UpgradeClusterResponse.ClusterUpgradeDetails
Returns
Type Description
UpgradeClusterResponse.Builder

addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue)

public UpgradeClusterResponse.Builder addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameters
Name Description
index int
builderForValue UpgradeClusterResponse.ClusterUpgradeDetails.Builder
Returns
Type Description
UpgradeClusterResponse.Builder

addClusterUpgradeDetailsBuilder()

public UpgradeClusterResponse.ClusterUpgradeDetails.Builder addClusterUpgradeDetailsBuilder()

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

addClusterUpgradeDetailsBuilder(int index)

public UpgradeClusterResponse.ClusterUpgradeDetails.Builder addClusterUpgradeDetailsBuilder(int index)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpgradeClusterResponse build()
Returns
Type Description
UpgradeClusterResponse

buildPartial()

public UpgradeClusterResponse buildPartial()
Returns
Type Description
UpgradeClusterResponse

clear()

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

clearClusterUpgradeDetails()

public UpgradeClusterResponse.Builder clearClusterUpgradeDetails()

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Returns
Type Description
UpgradeClusterResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public UpgradeClusterResponse.Builder clearMessage()

A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.

string message = 2;

Returns
Type Description
UpgradeClusterResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public UpgradeClusterResponse.Builder clearStatus()

Status of upgrade operation.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;

Returns
Type Description
UpgradeClusterResponse.Builder

This builder for chaining.

clone()

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

getClusterUpgradeDetails(int index)

public UpgradeClusterResponse.ClusterUpgradeDetails getClusterUpgradeDetails(int index)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails

getClusterUpgradeDetailsBuilder(int index)

public UpgradeClusterResponse.ClusterUpgradeDetails.Builder getClusterUpgradeDetailsBuilder(int index)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

getClusterUpgradeDetailsBuilderList()

public List<UpgradeClusterResponse.ClusterUpgradeDetails.Builder> getClusterUpgradeDetailsBuilderList()

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Returns
Type Description
List<Builder>

getClusterUpgradeDetailsCount()

public int getClusterUpgradeDetailsCount()

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Returns
Type Description
int

getClusterUpgradeDetailsList()

public List<UpgradeClusterResponse.ClusterUpgradeDetails> getClusterUpgradeDetailsList()

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Returns
Type Description
List<ClusterUpgradeDetails>

getClusterUpgradeDetailsOrBuilder(int index)

public UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder getClusterUpgradeDetailsOrBuilder(int index)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder

getClusterUpgradeDetailsOrBuilderList()

public List<? extends UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder> getClusterUpgradeDetailsOrBuilderList()

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder>

getDefaultInstanceForType()

public UpgradeClusterResponse getDefaultInstanceForType()
Returns
Type Description
UpgradeClusterResponse

getDescriptorForType()

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

getMessage()

public String getMessage()

A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getStatus()

public UpgradeClusterResponse.Status getStatus()

Status of upgrade operation.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;

Returns
Type Description
UpgradeClusterResponse.Status

The status.

getStatusValue()

public int getStatusValue()

Status of upgrade operation.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;

Returns
Type Description
int

The enum numeric value on the wire for status.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpgradeClusterResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeClusterUpgradeDetails(int index)

public UpgradeClusterResponse.Builder removeClusterUpgradeDetails(int index)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.Builder

setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value)

public UpgradeClusterResponse.Builder setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameters
Name Description
index int
value UpgradeClusterResponse.ClusterUpgradeDetails
Returns
Type Description
UpgradeClusterResponse.Builder

setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue)

public UpgradeClusterResponse.Builder setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue)

Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;

Parameters
Name Description
index int
builderForValue UpgradeClusterResponse.ClusterUpgradeDetails.Builder
Returns
Type Description
UpgradeClusterResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public UpgradeClusterResponse.Builder setMessage(String value)

A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.

string message = 2;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
UpgradeClusterResponse.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public UpgradeClusterResponse.Builder setMessageBytes(ByteString value)

A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.

string message = 2;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
UpgradeClusterResponse.Builder

This builder for chaining.

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

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

setStatus(UpgradeClusterResponse.Status value)

public UpgradeClusterResponse.Builder setStatus(UpgradeClusterResponse.Status value)

Status of upgrade operation.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;

Parameter
Name Description
value UpgradeClusterResponse.Status

The status to set.

Returns
Type Description
UpgradeClusterResponse.Builder

This builder for chaining.

setStatusValue(int value)

public UpgradeClusterResponse.Builder setStatusValue(int value)

Status of upgrade operation.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for status to set.

Returns
Type Description
UpgradeClusterResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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