Interface Cluster.StateInfo.UpdateInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Cluster.StateInfo.UpdateInfo, Cluster.StateInfo.UpdateInfo.Builder
Enclosing class:
Cluster.StateInfo

public static interface Cluster.StateInfo.UpdateInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Target number of replica nodes per shard.
    int
    Target number of shards for redis cluster
    boolean
    Target number of replica nodes per shard.
    boolean
    Target number of shards for redis cluster

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasTargetShardCount

      boolean hasTargetShardCount()
       Target number of shards for redis cluster
       
      optional int32 target_shard_count = 1;
      Returns:
      Whether the targetShardCount field is set.
    • getTargetShardCount

      int getTargetShardCount()
       Target number of shards for redis cluster
       
      optional int32 target_shard_count = 1;
      Returns:
      The targetShardCount.
    • hasTargetReplicaCount

      boolean hasTargetReplicaCount()
       Target number of replica nodes per shard.
       
      optional int32 target_replica_count = 2;
      Returns:
      Whether the targetReplicaCount field is set.
    • getTargetReplicaCount

      int getTargetReplicaCount()
       Target number of replica nodes per shard.
       
      optional int32 target_replica_count = 2;
      Returns:
      The targetReplicaCount.