- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Cluster.StateInfo.UpdateInfo.Builder extends GeneratedMessage.Builder<Cluster.StateInfo.UpdateInfo.Builder> implements Cluster.StateInfo.UpdateInfoOrBuilderRepresents information about an updating cluster.
Protobuf type google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Cluster.StateInfo.UpdateInfo.BuilderImplements
Cluster.StateInfo.UpdateInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Cluster.StateInfo.UpdateInfo build()| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo |
|
buildPartial()
public Cluster.StateInfo.UpdateInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo |
|
clear()
public Cluster.StateInfo.UpdateInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
|
clearTargetReplicaCount()
public Cluster.StateInfo.UpdateInfo.Builder clearTargetReplicaCount()Target number of replica nodes per shard.
optional int32 target_replica_count = 2;
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
This builder for chaining. |
clearTargetShardCount()
public Cluster.StateInfo.UpdateInfo.Builder clearTargetShardCount()Target number of shards for redis cluster
optional int32 target_shard_count = 1;
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Cluster.StateInfo.UpdateInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Cluster.StateInfo.UpdateInfo other)
public Cluster.StateInfo.UpdateInfo.Builder mergeFrom(Cluster.StateInfo.UpdateInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
Cluster.StateInfo.UpdateInfo |
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.StateInfo.UpdateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Cluster.StateInfo.UpdateInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
|
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 |
intThe targetReplicaCount to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
This builder for chaining. |
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 |
intThe targetShardCount to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.StateInfo.UpdateInfo.Builder |
This builder for chaining. |