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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpgradeClusterResponse build()
buildPartial()
public UpgradeClusterResponse buildPartial()
clear()
public UpgradeClusterResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public UpgradeClusterResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeClusterResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStatus()
public UpgradeClusterResponse.Builder clearStatus()
Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;
clone()
public UpgradeClusterResponse.Builder clone()
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
|
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
|
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpgradeClusterResponse other)
public UpgradeClusterResponse.Builder mergeFrom(UpgradeClusterResponse other)
public UpgradeClusterResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpgradeClusterResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeClusterResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStatus(UpgradeClusterResponse.Status value)
public UpgradeClusterResponse.Builder setStatus(UpgradeClusterResponse.Status value)
Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides