public static final class UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats extends GeneratedMessageV3 implements UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.StatsOrBuilder
Upgrade stats for read pool instances.
Protobuf type
google.cloud.alloydb.v1alpha.UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.StatsStatic Fields
FAILED_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NOT_STARTED_FIELD_NUMBER
public static final int NOT_STARTED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ONGOING_FIELD_NUMBER
public static final int ONGOING_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SUCCESS_FIELD_NUMBER
public static final int SUCCESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats getDefaultInstance()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
newBuilder(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats prototype)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder newBuilder(UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats prototype)
Parameter | |
---|---|
Name | Description |
prototype |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
parseDelimitedFrom(InputStream input)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats> parser()
Returns | |
---|---|
Type | Description |
Parser<Stats> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats |
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. |
getParserForType()
public Parser<UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Stats> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSuccess()
public int getSuccess()
Number of read pool instances successfully upgraded.
int32 success = 3;
Returns | |
---|---|
Type | Description |
int |
The success. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder toBuilder()
Returns | |
---|---|
Type | Description |
UpgradeClusterStatus.ReadPoolInstancesUpgradeStageStatus.Stats.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |