Class UpgradeClusterResponse.ClusterUpgradeDetails (0.43.0)

public static final class UpgradeClusterResponse.ClusterUpgradeDetails extends GeneratedMessageV3 implements UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder

Upgrade details of a cluster. This cluster can be primary or secondary.

Protobuf type google.cloud.alloydb.v1alpha.UpgradeClusterResponse.ClusterUpgradeDetails

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpgradeClusterResponse.ClusterUpgradeDetails

Static Fields

CLUSTER_TYPE_FIELD_NUMBER

public static final int CLUSTER_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_VERSION_FIELD_NUMBER

public static final int DATABASE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_UPGRADE_DETAILS_FIELD_NUMBER

public static final int INSTANCE_UPGRADE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STAGE_INFO_FIELD_NUMBER

public static final int STAGE_INFO_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.ClusterUpgradeDetails getDefaultInstance()
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilder()
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

newBuilder(UpgradeClusterResponse.ClusterUpgradeDetails prototype)

public static UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilder(UpgradeClusterResponse.ClusterUpgradeDetails prototype)
Parameter
Name Description
prototype UpgradeClusterResponse.ClusterUpgradeDetails
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

parseDelimitedFrom(InputStream input)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpgradeClusterResponse.ClusterUpgradeDetails> parser()
Returns
Type Description
Parser<ClusterUpgradeDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getClusterType()

public Cluster.ClusterType getClusterType()

Cluster type which can either be primary or secondary.

.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 3;

Returns
Type Description
Cluster.ClusterType

The clusterType.

getClusterTypeValue()

public int getClusterTypeValue()

Cluster type which can either be primary or secondary.

.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for clusterType.

getDatabaseVersion()

public DatabaseVersion getDatabaseVersion()

Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 4;

Returns
Type Description
DatabaseVersion

The databaseVersion.

getDatabaseVersionValue()

public int getDatabaseVersionValue()

Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

.google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 4;

Returns
Type Description
int

The enum numeric value on the wire for databaseVersion.

getDefaultInstanceForType()

public UpgradeClusterResponse.ClusterUpgradeDetails getDefaultInstanceForType()
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails

getInstanceUpgradeDetails(int index)

public UpgradeClusterResponse.InstanceUpgradeDetails getInstanceUpgradeDetails(int index)

Upgrade details of the instances directly associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.InstanceUpgradeDetails

getInstanceUpgradeDetailsCount()

public int getInstanceUpgradeDetailsCount()

Upgrade details of the instances directly associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;

Returns
Type Description
int

getInstanceUpgradeDetailsList()

public List<UpgradeClusterResponse.InstanceUpgradeDetails> getInstanceUpgradeDetailsList()

Upgrade details of the instances directly associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;

Returns
Type Description
List<InstanceUpgradeDetails>

getInstanceUpgradeDetailsOrBuilder(int index)

public UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder getInstanceUpgradeDetailsOrBuilder(int index)

Upgrade details of the instances directly associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder

getInstanceUpgradeDetailsOrBuilderList()

public List<? extends UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder> getInstanceUpgradeDetailsOrBuilderList()

Upgrade details of the instances directly associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder>

getName()

public String getName()

Normalized name of the cluster

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Normalized name of the cluster

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<UpgradeClusterResponse.ClusterUpgradeDetails> getParserForType()
Returns
Type Description
Parser<ClusterUpgradeDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStageInfo(int index)

public UpgradeClusterResponse.StageInfo getStageInfo(int index)

Array containing stage info associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo stage_info = 5;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.StageInfo

getStageInfoCount()

public int getStageInfoCount()

Array containing stage info associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo stage_info = 5;

Returns
Type Description
int

getStageInfoList()

public List<UpgradeClusterResponse.StageInfo> getStageInfoList()

Array containing stage info associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo stage_info = 5;

Returns
Type Description
List<StageInfo>

getStageInfoOrBuilder(int index)

public UpgradeClusterResponse.StageInfoOrBuilder getStageInfoOrBuilder(int index)

Array containing stage info associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo stage_info = 5;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterResponse.StageInfoOrBuilder

getStageInfoOrBuilderList()

public List<? extends UpgradeClusterResponse.StageInfoOrBuilder> getStageInfoOrBuilderList()

Array containing stage info associated with this cluster.

repeated .google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo stage_info = 5;

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfoOrBuilder>

getUpgradeStatus()

public UpgradeClusterResponse.Status getUpgradeStatus()

Upgrade status of the cluster.

.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;

Returns
Type Description
UpgradeClusterResponse.Status

The upgradeStatus.

getUpgradeStatusValue()

public int getUpgradeStatusValue()

Upgrade status of the cluster.

.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
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilderForType()
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpgradeClusterResponse.ClusterUpgradeDetails.Builder toBuilder()
Returns
Type Description
UpgradeClusterResponse.ClusterUpgradeDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException