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 Type
    Method
    Description
    int
    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)
    int
    getBrokerIds(int index)
    For operations acting on multiple brokers: REMOVE_BROKER_V2
    int
    For operations acting on multiple brokers: REMOVE_BROKER_V2
    For 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.ByteString
    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.

    Methods 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

    • getConfigTypeValue

      int getConfigTypeValue()
      .databalancer.ApiType configType = 1;
      Returns:
      The enum numeric value on the wire for configType.
    • getConfigType

      ApiStatus.ApiType getConfigType()
      .databalancer.ApiType configType = 1;
      Returns:
      The configType.
    • 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

      List<Integer> getBrokerIdsList()
      For operations acting on multiple brokers: REMOVE_BROKER_V2
      
      repeated int32 brokerIds = 3;
      Returns:
      A list containing the brokerIds.
    • 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.