Interface GatewayOuterClass.BrokerInfoOrBuilder

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

public static interface GatewayOuterClass.BrokerInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getNodeId

      int getNodeId()
       unique (within a cluster) node ID for the broker
       
      int32 nodeId = 1;
      Returns:
      The nodeId.
    • getHost

      String getHost()
       hostname of the broker
       
      string host = 2;
      Returns:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
       hostname of the broker
       
      string host = 2;
      Returns:
      The bytes for host.
    • getPort

      int getPort()
       port for the broker
       
      int32 port = 3;
      Returns:
      The port.
    • getPartitionsList

      List<GatewayOuterClass.Partition> getPartitionsList()
       list of partitions managed or replicated on this broker
       
      repeated .gateway_protocol.Partition partitions = 4;
    • getPartitions

      GatewayOuterClass.Partition getPartitions(int index)
       list of partitions managed or replicated on this broker
       
      repeated .gateway_protocol.Partition partitions = 4;
    • getPartitionsCount

      int getPartitionsCount()
       list of partitions managed or replicated on this broker
       
      repeated .gateway_protocol.Partition partitions = 4;
    • getPartitionsOrBuilderList

      List<? extends GatewayOuterClass.PartitionOrBuilder> getPartitionsOrBuilderList()
       list of partitions managed or replicated on this broker
       
      repeated .gateway_protocol.Partition partitions = 4;
    • getPartitionsOrBuilder

      GatewayOuterClass.PartitionOrBuilder getPartitionsOrBuilder(int index)
       list of partitions managed or replicated on this broker
       
      repeated .gateway_protocol.Partition partitions = 4;
    • getVersion

      String getVersion()
       broker version
       
      string version = 5;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       broker version
       
      string version = 5;
      Returns:
      The bytes for version.