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.v1beta.UpgradeClusterStatus.StageStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterStatus.StageStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpgradeClusterStatus.StageStatus build()
buildPartial()
public UpgradeClusterStatus.StageStatus buildPartial()
clear()
public UpgradeClusterStatus.StageStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpgradeClusterStatus.StageStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeClusterStatus.StageStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReadPoolInstancesUpgrade()
public UpgradeClusterStatus.StageStatus.Builder clearReadPoolInstancesUpgrade()
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
clearStage()
public UpgradeClusterStatus.StageStatus.Builder clearStage()
Upgrade stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage stage = 1;
clearStageSpecificStatus()
public UpgradeClusterStatus.StageStatus.Builder clearStageSpecificStatus()
clearState()
public UpgradeClusterStatus.StageStatus.Builder clearState()
State of this stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 2;
clone()
public UpgradeClusterStatus.StageStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public UpgradeClusterStatus.StageStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReadPoolInstancesUpgrade()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus getReadPoolInstancesUpgrade()
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
getReadPoolInstancesUpgradeBuilder()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder getReadPoolInstancesUpgradeBuilder()
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
getReadPoolInstancesUpgradeOrBuilder()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatusOrBuilder getReadPoolInstancesUpgradeOrBuilder()
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
getStage()
public UpgradeClusterResponse.Stage getStage()
Upgrade stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage stage = 1;
getStageSpecificStatusCase()
public UpgradeClusterStatus.StageStatus.StageSpecificStatusCase getStageSpecificStatusCase()
getStageValue()
public int getStageValue()
Upgrade stage.
.google.cloud.alloydb.v1beta.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.v1beta.UpgradeClusterResponse.Status state = 2;
getStateValue()
public int getStateValue()
State of this stage.
.google.cloud.alloydb.v1beta.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.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
Returns |
Type |
Description |
boolean |
Whether the readPoolInstancesUpgrade field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpgradeClusterStatus.StageStatus other)
public UpgradeClusterStatus.StageStatus.Builder mergeFrom(UpgradeClusterStatus.StageStatus other)
public UpgradeClusterStatus.StageStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpgradeClusterStatus.StageStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)
public UpgradeClusterStatus.StageStatus.Builder mergeReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterStatus.StageStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterStatus.StageStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)
public UpgradeClusterStatus.StageStatus.Builder setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus value)
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder builderForValue)
public UpgradeClusterStatus.StageStatus.Builder setReadPoolInstancesUpgrade(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Builder builderForValue)
Read pool instances upgrade metadata.
.google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus read_pool_instances_upgrade = 11;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeClusterStatus.StageStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStage(UpgradeClusterResponse.Stage value)
public UpgradeClusterStatus.StageStatus.Builder setStage(UpgradeClusterResponse.Stage value)
Upgrade stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage stage = 1;
setStageValue(int value)
public UpgradeClusterStatus.StageStatus.Builder setStageValue(int value)
Upgrade stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Stage stage = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for stage to set.
|
setState(UpgradeClusterResponse.Status value)
public UpgradeClusterStatus.StageStatus.Builder setState(UpgradeClusterResponse.Status value)
State of this stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 2;
setStateValue(int value)
public UpgradeClusterStatus.StageStatus.Builder setStateValue(int value)
State of this stage.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status state = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterStatus.StageStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides