Interface GatewayOuterClass.TopologyResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayOuterClass.TopologyResponse
,GatewayOuterClass.TopologyResponse.Builder
- Enclosing class:
- GatewayOuterClass
public static interface GatewayOuterClass.TopologyResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBrokers
(int index) list of brokers part of this clusterint
list of brokers part of this clusterlist of brokers part of this clustergetBrokersOrBuilder
(int index) list of brokers part of this clusterList<? extends GatewayOuterClass.BrokerInfoOrBuilder>
list of brokers part of this clusterint
how many nodes are in the clustergateway versioncom.google.protobuf.ByteString
gateway versionint
how many partitions are spread across the clusterint
configured replication factor for this clusterMethods 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
-
getBrokersList
List<GatewayOuterClass.BrokerInfo> getBrokersList()list of brokers part of this cluster
repeated .gateway_protocol.BrokerInfo brokers = 1;
-
getBrokers
list of brokers part of this cluster
repeated .gateway_protocol.BrokerInfo brokers = 1;
-
getBrokersCount
int getBrokersCount()list of brokers part of this cluster
repeated .gateway_protocol.BrokerInfo brokers = 1;
-
getBrokersOrBuilderList
List<? extends GatewayOuterClass.BrokerInfoOrBuilder> getBrokersOrBuilderList()list of brokers part of this cluster
repeated .gateway_protocol.BrokerInfo brokers = 1;
-
getBrokersOrBuilder
list of brokers part of this cluster
repeated .gateway_protocol.BrokerInfo brokers = 1;
-
getClusterSize
int getClusterSize()how many nodes are in the cluster
int32 clusterSize = 2;
- Returns:
- The clusterSize.
-
getPartitionsCount
int getPartitionsCount()how many partitions are spread across the cluster
int32 partitionsCount = 3;
- Returns:
- The partitionsCount.
-
getReplicationFactor
int getReplicationFactor()configured replication factor for this cluster
int32 replicationFactor = 4;
- Returns:
- The replicationFactor.
-
getGatewayVersion
String getGatewayVersion()gateway version
string gatewayVersion = 5;
- Returns:
- The gatewayVersion.
-
getGatewayVersionBytes
com.google.protobuf.ByteString getGatewayVersionBytes()gateway version
string gatewayVersion = 5;
- Returns:
- The bytes for gatewayVersion.
-