Interface GatewayOuterClass.PartitionOrBuilder

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

public static interface GatewayOuterClass.PartitionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    the health of this partition
    int
    the health of this partition
    int
    the unique ID of this partition
    the role of the broker for this partition
    int
    the role of the broker for this partition

    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

    • getPartitionId

      int getPartitionId()
       the unique ID of this partition
       
      int32 partitionId = 1;
      Returns:
      The partitionId.
    • getRoleValue

      int getRoleValue()
       the role of the broker for this partition
       
      .gateway_protocol.Partition.PartitionBrokerRole role = 2;
      Returns:
      The enum numeric value on the wire for role.
    • getRole

       the role of the broker for this partition
       
      .gateway_protocol.Partition.PartitionBrokerRole role = 2;
      Returns:
      The role.
    • getHealthValue

      int getHealthValue()
       the health of this partition
       
      .gateway_protocol.Partition.PartitionBrokerHealth health = 3;
      Returns:
      The enum numeric value on the wire for health.
    • getHealth

       the health of this partition
       
      .gateway_protocol.Partition.PartitionBrokerHealth health = 3;
      Returns:
      The health.