Class Instance.StateInfo.UpdateInfo.Builder (0.5.0)
0.33.0 (latest)
0.31.0
0.29.0
0.28.0
0.26.0
0.24.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.16.0
0.14.0
0.13.0
0.10.0
0.9.0
0.8.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
public static final class Instance . StateInfo . UpdateInfo . Builder extends GeneratedMessageV3 . Builder<Instance . StateInfo . UpdateInfo . Builder > implements Instance . StateInfo . UpdateInfoOrBuilder
Represents information about instance with state UPDATING.
Protobuf type google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo
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 Instance . StateInfo . UpdateInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Instance . StateInfo . UpdateInfo build ()
buildPartial()
public Instance . StateInfo . UpdateInfo buildPartial ()
clear()
public Instance . StateInfo . UpdateInfo . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Instance . StateInfo . UpdateInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance . StateInfo . UpdateInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearTargetReplicaCount()
public Instance . StateInfo . UpdateInfo . Builder clearTargetReplicaCount ()
Output only. Target number of replica nodes per shard for the instance.
optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearTargetShardCount()
public Instance . StateInfo . UpdateInfo . Builder clearTargetShardCount ()
Output only. Target number of shards for the instance.
optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public Instance . StateInfo . UpdateInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public Instance . StateInfo . UpdateInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Instance.StateInfo.UpdateInfo other)
public Instance . StateInfo . UpdateInfo . Builder mergeFrom ( Instance . StateInfo . UpdateInfo other )
public Instance . StateInfo . UpdateInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Instance . StateInfo . UpdateInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance . StateInfo . UpdateInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Instance . StateInfo . UpdateInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance . StateInfo . UpdateInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTargetReplicaCount(int value)
public Instance . StateInfo . UpdateInfo . Builder setTargetReplicaCount ( int value )
Output only. Target number of replica nodes per shard for the instance.
optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
int The targetReplicaCount to set.
setTargetShardCount(int value)
public Instance . StateInfo . UpdateInfo . Builder setTargetShardCount ( int value )
Output only. Target number of shards for the instance.
optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
int The targetShardCount to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance . StateInfo . UpdateInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]