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 Summary
Modifier and TypeMethodDescriptiongetHost()hostname of the brokercom.google.protobuf.ByteStringhostname of the brokerintunique (within a cluster) node ID for the brokergetPartitions(int index) list of partitions managed or replicated on this brokerintlist of partitions managed or replicated on this brokerlist of partitions managed or replicated on this brokergetPartitionsOrBuilder(int index) list of partitions managed or replicated on this brokerList<? extends GatewayOuterClass.PartitionOrBuilder>list of partitions managed or replicated on this brokerintgetPort()port for the brokerbroker versioncom.google.protobuf.ByteStringbroker versionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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.
-