Package io.zeebe.gateway.protocol
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHost()
hostname of the brokercom.google.protobuf.ByteString
getHostBytes()
hostname of the brokerint
getNodeId()
unique (within a cluster) node ID for the brokerGatewayOuterClass.Partition
getPartitions(int index)
list of partitions managed or replicated on this brokerint
getPartitionsCount()
list of partitions managed or replicated on this brokerList<GatewayOuterClass.Partition>
getPartitionsList()
list of partitions managed or replicated on this brokerGatewayOuterClass.PartitionOrBuilder
getPartitionsOrBuilder(int index)
list of partitions managed or replicated on this brokerList<? extends GatewayOuterClass.PartitionOrBuilder>
getPartitionsOrBuilderList()
list of partitions managed or replicated on this brokerint
getPort()
port for the brokerString
getVersion()
broker versioncom.google.protobuf.ByteString
getVersionBytes()
broker version-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-