public static final class Cluster.StateInfo.UpdateInfo.Builder extends GeneratedMessageV3.Builder<Cluster.StateInfo.UpdateInfo.Builder> implements Cluster.StateInfo.UpdateInfoOrBuilder
Represents information about an updating cluster.
Protobuf type google.cloud.redis.cluster.v1beta1.Cluster.StateInfo.UpdateInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 Cluster.StateInfo.UpdateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Cluster.StateInfo.UpdateInfo build()
buildPartial()
public Cluster.StateInfo.UpdateInfo buildPartial()
clear()
public Cluster.StateInfo.UpdateInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Cluster.StateInfo.UpdateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.StateInfo.UpdateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTargetReplicaCount()
public Cluster.StateInfo.UpdateInfo.Builder clearTargetReplicaCount()
Target number of replica nodes per shard.
optional int32 target_replica_count = 2;
clearTargetShardCount()
public Cluster.StateInfo.UpdateInfo.Builder clearTargetShardCount()
Target number of shards for redis cluster
optional int32 target_shard_count = 1;
clone()
public Cluster.StateInfo.UpdateInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public Cluster.StateInfo.UpdateInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTargetReplicaCount()
public int getTargetReplicaCount()
Target number of replica nodes per shard.
optional int32 target_replica_count = 2;
Returns |
---|
Type | Description |
int | The targetReplicaCount.
|
getTargetShardCount()
public int getTargetShardCount()
Target number of shards for redis cluster
optional int32 target_shard_count = 1;
Returns |
---|
Type | Description |
int | The targetShardCount.
|
hasTargetReplicaCount()
public boolean hasTargetReplicaCount()
Target number of replica nodes per shard.
optional int32 target_replica_count = 2;
Returns |
---|
Type | Description |
boolean | Whether the targetReplicaCount field is set.
|
hasTargetShardCount()
public boolean hasTargetShardCount()
Target number of shards for redis cluster
optional int32 target_shard_count = 1;
Returns |
---|
Type | Description |
boolean | Whether the targetShardCount field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Cluster.StateInfo.UpdateInfo other)
public Cluster.StateInfo.UpdateInfo.Builder mergeFrom(Cluster.StateInfo.UpdateInfo other)
public Cluster.StateInfo.UpdateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Cluster.StateInfo.UpdateInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.StateInfo.UpdateInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.StateInfo.UpdateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.StateInfo.UpdateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetReplicaCount(int value)
public Cluster.StateInfo.UpdateInfo.Builder setTargetReplicaCount(int value)
Target number of replica nodes per shard.
optional int32 target_replica_count = 2;
Parameter |
---|
Name | Description |
value | int
The targetReplicaCount to set.
|
setTargetShardCount(int value)
public Cluster.StateInfo.UpdateInfo.Builder setTargetShardCount(int value)
Target number of shards for redis cluster
optional int32 target_shard_count = 1;
Parameter |
---|
Name | Description |
value | int
The targetShardCount to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.StateInfo.UpdateInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides