Class UpgradeClusterStatus.StageStatus.Builder (0.43.0)

public static final class UpgradeClusterStatus.StageStatus.Builder extends GeneratedMessageV3.Builder<UpgradeClusterStatus.StageStatus.Builder> implements UpgradeClusterStatus.StageStatusOrBuilder

Status of an upgrade stage.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpgradeClusterStatus.StageStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

build()

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

buildPartial()

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

clear()

public UpgradeClusterStatus.StageStatus.Builder clear()
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpgradeClusterStatus.StageStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpgradeClusterStatus.StageStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

clearReadPoolInstancesUpgrade()

public UpgradeClusterStatus.StageStatus.Builder clearReadPoolInstancesUpgrade()

Read pool instances upgrade metadata.

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

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

clearStage()

public UpgradeClusterStatus.StageStatus.Builder clearStage()

Upgrade stage.

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

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

This builder for chaining.

clearStageSpecificStatus()

public UpgradeClusterStatus.StageStatus.Builder clearStageSpecificStatus()
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

clearState()

public UpgradeClusterStatus.StageStatus.Builder clearState()

State of this stage.

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

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

This builder for chaining.

clone()

public UpgradeClusterStatus.StageStatus.Builder clone()
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getReadPoolInstancesUpgradeBuilder()

public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder getReadPoolInstancesUpgradeBuilder()

Read pool instances upgrade metadata.

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

Returns
Type Description
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpgradeClusterStatus.StageStatus other)

public UpgradeClusterStatus.StageStatus.Builder mergeFrom(UpgradeClusterStatus.StageStatus other)
Parameter
Name Description
other UpgradeClusterStatus.StageStatus
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpgradeClusterStatus.StageStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpgradeClusterStatus.StageStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

mergeReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)

public UpgradeClusterStatus.StageStatus.Builder mergeReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)

Read pool instances upgrade metadata.

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

Parameter
Name Description
value UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeClusterStatus.StageStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpgradeClusterStatus.StageStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)

public UpgradeClusterStatus.StageStatus.Builder setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)

Read pool instances upgrade metadata.

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

Parameter
Name Description
value UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder builderForValue)

public UpgradeClusterStatus.StageStatus.Builder setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder builderForValue)

Read pool instances upgrade metadata.

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

Parameter
Name Description
builderForValue UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpgradeClusterStatus.StageStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides

setStage(UpgradeClusterResponse.Stage value)

public UpgradeClusterStatus.StageStatus.Builder setStage(UpgradeClusterResponse.Stage value)

Upgrade stage.

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

Parameter
Name Description
value UpgradeClusterResponse.Stage

The stage to set.

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

This builder for chaining.

setStageValue(int value)

public UpgradeClusterStatus.StageStatus.Builder setStageValue(int value)

Upgrade stage.

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

Parameter
Name Description
value int

The enum numeric value on the wire for stage to set.

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

This builder for chaining.

setState(UpgradeClusterResponse.Status value)

public UpgradeClusterStatus.StageStatus.Builder setState(UpgradeClusterResponse.Status value)

State of this stage.

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

Parameter
Name Description
value UpgradeClusterResponse.Status

The state to set.

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

This builder for chaining.

setStateValue(int value)

public UpgradeClusterStatus.StageStatus.Builder setStateValue(int value)

State of this stage.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeClusterStatus.StageStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpgradeClusterStatus.StageStatus.Builder
Overrides