Class UpgradeClusterResponse (0.65.0)
public final class UpgradeClusterResponse extends GeneratedMessageV3 implements UpgradeClusterResponseOrBuilder
UpgradeClusterResponse contains the response for upgrade cluster operation.
Protobuf type google.cloud.alloydb.v1.UpgradeClusterResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_UPGRADE_DETAILS_FIELD_NUMBER
public static final int CLUSTER_UPGRADE_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpgradeClusterResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpgradeClusterResponse.Builder newBuilder()
newBuilder(UpgradeClusterResponse prototype)
public static UpgradeClusterResponse.Builder newBuilder(UpgradeClusterResponse prototype)
public static UpgradeClusterResponse parseDelimitedFrom(InputStream input)
public static UpgradeClusterResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpgradeClusterResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpgradeClusterResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(CodedInputStream input)
public static UpgradeClusterResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(InputStream input)
public static UpgradeClusterResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpgradeClusterResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpgradeClusterResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.v1.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
Parameter |
Name |
Description |
index |
int
|
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.v1.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.v1.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.v1.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.v1.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1.UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder> |
|
getDefaultInstanceForType()
public UpgradeClusterResponse getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<UpgradeClusterResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStatus()
public UpgradeClusterResponse.Status getStatus()
Status of upgrade operation.
.google.cloud.alloydb.v1.UpgradeClusterResponse.Status status = 1;
getStatusValue()
public int getStatusValue()
Status of upgrade operation.
.google.cloud.alloydb.v1.UpgradeClusterResponse.Status status = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for status.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpgradeClusterResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeClusterResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpgradeClusterResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]