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
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_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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilder()
newBuilder(UpgradeClusterResponse.ClusterUpgradeDetails prototype)
public static UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilder(UpgradeClusterResponse.ClusterUpgradeDetails prototype)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseDelimitedFrom(InputStream input)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(CodedInputStream input)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(InputStream input)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpgradeClusterResponse.ClusterUpgradeDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getClusterType()
public Cluster.ClusterType getClusterType()
Cluster type which can either be primary or secondary.
.google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 3;
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;
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()
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
|
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;
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
|
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()
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()
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
|
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;
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
|
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;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpgradeClusterResponse.ClusterUpgradeDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides