Interface Topology.MemberStateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Topology.MemberState, Topology.MemberState.Builder
Enclosing class:
Topology

public static interface Topology.MemberStateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getVersion

      long getVersion()
      int64 version = 1;
      Returns:
      The version.
    • hasLastUpdated

      boolean hasLastUpdated()
      .google.protobuf.Timestamp lastUpdated = 2;
      Returns:
      Whether the lastUpdated field is set.
    • getLastUpdated

      com.google.protobuf.Timestamp getLastUpdated()
      .google.protobuf.Timestamp lastUpdated = 2;
      Returns:
      The lastUpdated.
    • getLastUpdatedOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
      .google.protobuf.Timestamp lastUpdated = 2;
    • getStateValue

      int getStateValue()
      .topology_protocol.State state = 3;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Topology.State getState()
      .topology_protocol.State state = 3;
      Returns:
      The state.
    • getPartitionsCount

      int getPartitionsCount()
      map<int32, .topology_protocol.PartitionState> partitions = 4;
    • containsPartitions

      boolean containsPartitions(int key)
      map<int32, .topology_protocol.PartitionState> partitions = 4;
    • getPartitions

      Deprecated.
      Use getPartitionsMap() instead.
    • getPartitionsMap

      Map<Integer,Topology.PartitionState> getPartitionsMap()
      map<int32, .topology_protocol.PartitionState> partitions = 4;
    • getPartitionsOrDefault

      Topology.PartitionState getPartitionsOrDefault(int key, Topology.PartitionState defaultValue)
      map<int32, .topology_protocol.PartitionState> partitions = 4;
    • getPartitionsOrThrow

      Topology.PartitionState getPartitionsOrThrow(int key)
      map<int32, .topology_protocol.PartitionState> partitions = 4;