Interface ApiStatus.ApiStatusKeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApiStatus.ApiStatusKey, ApiStatus.ApiStatusKey.Builder
- Enclosing class:
ApiStatus
public static interface ApiStatus.ApiStatusKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintFor operations that act on a single (or no) broker at a time (ADD_BROKER, REMOVE_BROKER(v1), EVEN_CLUSTER_LOAD, FAILED_BROKER_LIST, CELL_OVERLOAD_OCCURRENCE_DELTA, CELLS)intgetBrokerIds(int index) For operations acting on multiple brokers: REMOVE_BROKER_V2intFor operations acting on multiple brokers: REMOVE_BROKER_V2For operations acting on multiple brokers: REMOVE_BROKER_V2.databalancer.ApiType configType = 1;int.databalancer.ApiType configType = 1;For operations that act on a single topic: REPLICATION_FACTOR_CHANGE, TODO(KAFKALESS-4827): confirm backward compatibility of adding topic name here for existing apis.com.google.protobuf.ByteStringFor operations that act on a single topic: REPLICATION_FACTOR_CHANGE, TODO(KAFKALESS-4827): confirm backward compatibility of adding topic name here for existing apis.Methods 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
-
getConfigTypeValue
int getConfigTypeValue().databalancer.ApiType configType = 1;- Returns:
- The enum numeric value on the wire for configType.
-
getConfigType
-
getBrokerId
int getBrokerId()For operations that act on a single (or no) broker at a time (ADD_BROKER, REMOVE_BROKER(v1), EVEN_CLUSTER_LOAD, FAILED_BROKER_LIST, CELL_OVERLOAD_OCCURRENCE_DELTA, CELLS)
int32 brokerId = 2;- Returns:
- The brokerId.
-
getBrokerIdsList
-
getBrokerIdsCount
int getBrokerIdsCount()For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;- Returns:
- The count of brokerIds.
-
getBrokerIds
int getBrokerIds(int index) For operations acting on multiple brokers: REMOVE_BROKER_V2
repeated int32 brokerIds = 3;- Parameters:
index- The index of the element to return.- Returns:
- The brokerIds at the given index.
-
getTopicName
String getTopicName()For operations that act on a single topic: REPLICATION_FACTOR_CHANGE, TODO(KAFKALESS-4827): confirm backward compatibility of adding topic name here for existing apis.
string topic_name = 4;- Returns:
- The topicName.
-
getTopicNameBytes
com.google.protobuf.ByteString getTopicNameBytes()For operations that act on a single topic: REPLICATION_FACTOR_CHANGE, TODO(KAFKALESS-4827): confirm backward compatibility of adding topic name here for existing apis.
string topic_name = 4;- Returns:
- The bytes for topicName.
-