public static final class UpgradeClusterResponse.Builder extends GeneratedMessage.Builder<UpgradeClusterResponse.Builder> implements UpgradeClusterResponseOrBuilderUpgradeClusterResponse contains the response for upgrade cluster operation.
Protobuf type google.cloud.alloydb.v1alpha.UpgradeClusterResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpgradeClusterResponse.BuilderImplements
UpgradeClusterResponseOrBuilderStatic 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.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.ClusterUpgradeDetails.Builder |
|
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 |
|
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.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Builder |
|
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. |
clearStatus()
public UpgradeClusterResponse.Builder clearStatus()Status of upgrade operation.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Builder |
This builder for chaining. |
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder> |
|
getDefaultInstanceForType()
public UpgradeClusterResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1alpha.UpgradeClusterResponse.Status status = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Status |
The status. |
getStatusValue()
public int getStatusValue()Status of upgrade operation.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpgradeClusterResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Builder |
|
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.v1alpha.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.v1alpha.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.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpgradeClusterResponse.ClusterUpgradeDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Builder |
This builder for chaining. |
setStatus(UpgradeClusterResponse.Status value)
public UpgradeClusterResponse.Builder setStatus(UpgradeClusterResponse.Status value)Status of upgrade operation.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeClusterResponse.StatusThe 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.v1alpha.UpgradeClusterResponse.Status status = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Builder |
This builder for chaining. |