public final class UpgradeClusterResponse extends GeneratedMessageV3 implements UpgradeClusterResponseOrBuilder
UpgradeClusterResponse contains the response for upgrade cluster operation.
Protobuf type google.cloud.alloydb.v1beta.UpgradeClusterResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpgradeClusterResponseImplements
UpgradeClusterResponseOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UpgradeClusterResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Builder |
newBuilder(UpgradeClusterResponse prototype)
public static UpgradeClusterResponse.Builder newBuilder(UpgradeClusterResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype |
UpgradeClusterResponse |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Builder |
parseDelimitedFrom(InputStream input)
public static UpgradeClusterResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpgradeClusterResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpgradeClusterResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpgradeClusterResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpgradeClusterResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpgradeClusterResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpgradeClusterResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<UpgradeClusterResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
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()
Returns | |
---|---|
Type | Description |
Parser<UpgradeClusterResponse> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public UpgradeClusterResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeClusterResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public UpgradeClusterResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |