Class UpgradeClusterStatus.StageStatus (0.43.0)

public static final class UpgradeClusterStatus.StageStatus extends GeneratedMessageV3 implements UpgradeClusterStatus.StageStatusOrBuilder

Status of an upgrade stage.

Protobuf type google.cloud.alloydb.v1alpha.UpgradeClusterStatus.StageStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpgradeClusterStatus.StageStatus

Static Fields

READ_POOL_INSTANCES_UPGRADE_FIELD_NUMBER

public static final int READ_POOL_INSTANCES_UPGRADE_FIELD_NUMBER
Field Value
Type Description
int

STAGE_FIELD_NUMBER

public static final int STAGE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpgradeClusterStatus.StageStatus getDefaultInstance()
Returns
Type Description
UpgradeClusterStatus.StageStatus

getDescriptor()

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

newBuilder()

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

newBuilder(UpgradeClusterStatus.StageStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpgradeClusterStatus.StageStatus getDefaultInstanceForType()
Returns
Type Description
UpgradeClusterStatus.StageStatus

getParserForType()

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

getReadPoolInstancesUpgrade()

public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus getReadPoolInstancesUpgrade()

Read pool instances upgrade metadata.

.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;

Returns
Type Description
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus

The readPoolInstancesUpgrade.

getReadPoolInstancesUpgradeOrBuilder()

public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusOrBuilder getReadPoolInstancesUpgradeOrBuilder()

Read pool instances upgrade metadata.

.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;

Returns
Type Description
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStage()

public UpgradeClusterResponse.Stage getStage()

Upgrade stage.

.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;

Returns
Type Description
UpgradeClusterResponse.Stage

The stage.

getStageSpecificStatusCase()

public UpgradeClusterStatus.StageStatus.StageSpecificStatusCase getStageSpecificStatusCase()
Returns
Type Description
UpgradeClusterStatus.StageStatus.StageSpecificStatusCase

getStageValue()

public int getStageValue()

Upgrade stage.

.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;

Returns
Type Description
int

The enum numeric value on the wire for stage.

getState()

public UpgradeClusterResponse.Status getState()

State of this stage.

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

Returns
Type Description
UpgradeClusterResponse.Status

The state.

getStateValue()

public int getStateValue()

State of this stage.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

hasReadPoolInstancesUpgrade()

public boolean hasReadPoolInstancesUpgrade()

Read pool instances upgrade metadata.

.google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;

Returns
Type Description
boolean

Whether the readPoolInstancesUpgrade field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeClusterStatus.StageStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpgradeClusterStatus.StageStatus.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.StageStatus.Builder toBuilder()
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

writeTo(CodedOutputStream output)

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