public static final class UpgradeClusterResponse.InstanceUpgradeDetails extends GeneratedMessageV3 implements UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder
Details regarding the upgrade of instaces associated with a cluster.
Protobuf type
google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpgradeClusterResponse.InstanceUpgradeDetailsStatic Fields
INSTANCE_TYPE_FIELD_NUMBER
public static final int INSTANCE_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
UPGRADE_STATUS_FIELD_NUMBER
public static final int UPGRADE_STATUS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpgradeClusterResponse.InstanceUpgradeDetails getDefaultInstance()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UpgradeClusterResponse.InstanceUpgradeDetails.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
newBuilder(UpgradeClusterResponse.InstanceUpgradeDetails prototype)
public static UpgradeClusterResponse.InstanceUpgradeDetails.Builder newBuilder(UpgradeClusterResponse.InstanceUpgradeDetails prototype)
Parameter | |
---|---|
Name | Description |
prototype |
UpgradeClusterResponse.InstanceUpgradeDetails |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
parseDelimitedFrom(InputStream input)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.InstanceUpgradeDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpgradeClusterResponse.InstanceUpgradeDetails> parser()
Returns | |
---|---|
Type | Description |
Parser<InstanceUpgradeDetails> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public UpgradeClusterResponse.InstanceUpgradeDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
getInstanceType()
public Instance.InstanceType getInstanceType()
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Returns | |
---|---|
Type | Description |
Instance.InstanceType |
The instanceType. |
getInstanceTypeValue()
public int getInstanceTypeValue()
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for instanceType. |
getName()
public String getName()
Normalized name of the instance.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Normalized name of the instance.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<UpgradeClusterResponse.InstanceUpgradeDetails> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<InstanceUpgradeDetails> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUpgradeStatus()
public UpgradeClusterResponse.Status getUpgradeStatus()
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Status |
The upgradeStatus. |
getUpgradeStatusValue()
public int getUpgradeStatusValue()
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for upgradeStatus. |
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.InstanceUpgradeDetails.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeClusterResponse.InstanceUpgradeDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder toBuilder()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |