Class UpgradeClusterStatus (0.43.0)

public final class UpgradeClusterStatus extends GeneratedMessageV3 implements UpgradeClusterStatusOrBuilder

Message for current status of the Major Version Upgrade operation.

Protobuf type google.cloud.alloydb.v1beta.UpgradeClusterStatus

Static Fields

CANCELLABLE_FIELD_NUMBER

public static final int CANCELLABLE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_VERSION_FIELD_NUMBER

public static final int SOURCE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

STAGES_FIELD_NUMBER

public static final int STAGES_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_VERSION_FIELD_NUMBER

public static final int TARGET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpgradeClusterStatus getDefaultInstance()
Returns
Type Description
UpgradeClusterStatus

getDescriptor()

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

newBuilder()

public static UpgradeClusterStatus.Builder newBuilder()
Returns
Type Description
UpgradeClusterStatus.Builder

newBuilder(UpgradeClusterStatus prototype)

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

parseDelimitedFrom(InputStream input)

public static UpgradeClusterStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeClusterStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static UpgradeClusterStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpgradeClusterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static UpgradeClusterStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpgradeClusterStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static UpgradeClusterStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeClusterStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static UpgradeClusterStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpgradeClusterStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<UpgradeClusterStatus> parser()
Returns
Type Description
Parser<UpgradeClusterStatus>

Methods

equals(Object obj)

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

getCancellable()

public boolean getCancellable()

Whether the operation is cancellable.

bool cancellable = 2;

Returns
Type Description
boolean

The cancellable.

getDefaultInstanceForType()

public UpgradeClusterStatus getDefaultInstanceForType()
Returns
Type Description
UpgradeClusterStatus

getParserForType()

public Parser<UpgradeClusterStatus> getParserForType()
Returns
Type Description
Parser<UpgradeClusterStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceVersion()

public DatabaseVersion getSourceVersion()

Source database major version.

.google.cloud.alloydb.v1beta.DatabaseVersion source_version = 3;

Returns
Type Description
DatabaseVersion

The sourceVersion.

getSourceVersionValue()

public int getSourceVersionValue()

Source database major version.

.google.cloud.alloydb.v1beta.DatabaseVersion source_version = 3;

Returns
Type Description
int

The enum numeric value on the wire for sourceVersion.

getStages(int index)

public UpgradeClusterStatus.StageStatus getStages(int index)

Status of all upgrade stages.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterStatus.StageStatus

getStagesCount()

public int getStagesCount()

Status of all upgrade stages.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;

Returns
Type Description
int

getStagesList()

public List<UpgradeClusterStatus.StageStatus> getStagesList()

Status of all upgrade stages.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;

Returns
Type Description
List<StageStatus>

getStagesOrBuilder(int index)

public UpgradeClusterStatus.StageStatusOrBuilder getStagesOrBuilder(int index)

Status of all upgrade stages.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;

Parameter
Name Description
index int
Returns
Type Description
UpgradeClusterStatus.StageStatusOrBuilder

getStagesOrBuilderList()

public List<? extends UpgradeClusterStatus.StageStatusOrBuilder> getStagesOrBuilderList()

Status of all upgrade stages.

repeated .google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatus stages = 5;

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1beta.UpgradeClusterStatus.StageStatusOrBuilder>

getState()

public UpgradeClusterResponse.Status getState()

Cluster Major Version Upgrade state.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 1;

Returns
Type Description
UpgradeClusterResponse.Status

The state.

getStateValue()

public int getStateValue()

Cluster Major Version Upgrade state.

.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTargetVersion()

public DatabaseVersion getTargetVersion()

Target database major version.

.google.cloud.alloydb.v1beta.DatabaseVersion target_version = 4;

Returns
Type Description
DatabaseVersion

The targetVersion.

getTargetVersionValue()

public int getTargetVersionValue()

Target database major version.

.google.cloud.alloydb.v1beta.DatabaseVersion target_version = 4;

Returns
Type Description
int

The enum numeric value on the wire for targetVersion.

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 UpgradeClusterStatus.Builder newBuilderForType()
Returns
Type Description
UpgradeClusterStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public UpgradeClusterStatus.Builder toBuilder()
Returns
Type Description
UpgradeClusterStatus.Builder

writeTo(CodedOutputStream output)

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