public static final class UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder extends GeneratedMessageV3.Builder<UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder> implements UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.StatsOrBuilder
Upgrade stats for read pool instances.
Protobuf type
google.cloud.alloydb.v1beta.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
build()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats build()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
buildPartial()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats buildPartial()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
clear()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clear()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
clearFailed()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clearFailed()
Number of read pool instances which failed to upgrade.
int32 failed = 4;
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
clearNotStarted()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clearNotStarted()
Number of read pool instances for which upgrade has not started.
int32 not_started = 1;
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
clearOngoing()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clearOngoing()
Number of read pool instances undergoing upgrade.
int32 ongoing = 2;
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
clearSuccess()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clearSuccess()
Number of read pool instances successfully upgraded.
int32 success = 3;
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
clone()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder clone()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
getDefaultInstanceForType()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFailed()
public int getFailed()
Number of read pool instances which failed to upgrade.
int32 failed = 4;
Returns | |
---|---|
Type | Description |
int |
The failed. |
getNotStarted()
public int getNotStarted()
Number of read pool instances for which upgrade has not started.
int32 not_started = 1;
Returns | |
---|---|
Type | Description |
int |
The notStarted. |
getOngoing()
public int getOngoing()
Number of read pool instances undergoing upgrade.
int32 ongoing = 2;
Returns | |
---|---|
Type | Description |
int |
The ongoing. |
getSuccess()
public int getSuccess()
Number of read pool instances successfully upgraded.
int32 success = 3;
Returns | |
---|---|
Type | Description |
int |
The success. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats other)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder mergeFrom(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats other)
Parameter | |
---|---|
Name | Description |
other |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
setFailed(int value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setFailed(int value)
Number of read pool instances which failed to upgrade.
int32 failed = 4;
Parameter | |
---|---|
Name | Description |
value |
int The failed to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
setNotStarted(int value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setNotStarted(int value)
Number of read pool instances for which upgrade has not started.
int32 not_started = 1;
Parameter | |
---|---|
Name | Description |
value |
int The notStarted to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
setOngoing(int value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setOngoing(int value)
Number of read pool instances undergoing upgrade.
int32 ongoing = 2;
Parameter | |
---|---|
Name | Description |
value |
int The ongoing to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
setSuccess(int value)
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setSuccess(int value)
Number of read pool instances successfully upgraded.
int32 success = 3;
Parameter | |
---|---|
Name | Description |
value |
int The success to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |