Class Instance.StateInfo.UpdateInfo (0.1.0)

public static final class Instance.StateInfo.UpdateInfo extends GeneratedMessageV3 implements Instance.StateInfo.UpdateInfoOrBuilder

Represents information about instance with state UPDATING.

Protobuf type google.cloud.memorystore.v1.Instance.StateInfo.UpdateInfo

Static Fields

TARGET_REPLICA_COUNT_FIELD_NUMBER

public static final int TARGET_REPLICA_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TARGET_SHARD_COUNT_FIELD_NUMBER

public static final int TARGET_SHARD_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.StateInfo.UpdateInfo getDefaultInstance()
Returns
Type Description
Instance.StateInfo.UpdateInfo

getDescriptor()

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

newBuilder()

public static Instance.StateInfo.UpdateInfo.Builder newBuilder()
Returns
Type Description
Instance.StateInfo.UpdateInfo.Builder

newBuilder(Instance.StateInfo.UpdateInfo prototype)

public static Instance.StateInfo.UpdateInfo.Builder newBuilder(Instance.StateInfo.UpdateInfo prototype)
Parameter
Name Description
prototype Instance.StateInfo.UpdateInfo
Returns
Type Description
Instance.StateInfo.UpdateInfo.Builder

parseDelimitedFrom(InputStream input)

public static Instance.StateInfo.UpdateInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo.UpdateInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.StateInfo.UpdateInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Instance.StateInfo.UpdateInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo.UpdateInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.StateInfo.UpdateInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo.UpdateInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.StateInfo.UpdateInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo.UpdateInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.StateInfo.UpdateInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo.UpdateInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo.UpdateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.StateInfo.UpdateInfo> parser()
Returns
Type Description
Parser<UpdateInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Instance.StateInfo.UpdateInfo getDefaultInstanceForType()
Returns
Type Description
Instance.StateInfo.UpdateInfo

getParserForType()

public Parser<Instance.StateInfo.UpdateInfo> getParserForType()
Returns
Type Description
Parser<UpdateInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetReplicaCount()

public int getTargetReplicaCount()

Output only. Target number of replica nodes per shard for the instance.

optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The targetReplicaCount.

getTargetShardCount()

public int getTargetShardCount()

Output only. Target number of shards for the instance.

optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The targetShardCount.

hasTargetReplicaCount()

public boolean hasTargetReplicaCount()

Output only. Target number of replica nodes per shard for the instance.

optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the targetReplicaCount field is set.

hasTargetShardCount()

public boolean hasTargetShardCount()

Output only. Target number of shards for the instance.

optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the targetShardCount 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 Instance.StateInfo.UpdateInfo.Builder newBuilderForType()
Returns
Type Description
Instance.StateInfo.UpdateInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.StateInfo.UpdateInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.StateInfo.UpdateInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.StateInfo.UpdateInfo.Builder toBuilder()
Returns
Type Description
Instance.StateInfo.UpdateInfo.Builder

writeTo(CodedOutputStream output)

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