Class ApiStatus.ApiStatusKey

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.databalancer.record.ApiStatus.ApiStatusKey
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ApiStatus.ApiStatusKeyOrBuilder, Serializable
Enclosing class:
ApiStatus

public static final class ApiStatus.ApiStatusKey extends com.google.protobuf.GeneratedMessage implements ApiStatus.ApiStatusKeyOrBuilder
 repeated can not be used directly in oneof (https://developers.google.com/protocol-buffers/docs/proto3#using_oneof)
 so there are two brokerId-type fields. Only one should be set.
 
Protobuf type databalancer.ApiStatusKey
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getConfigTypeValue

      public int getConfigTypeValue()
      .databalancer.ApiType configType = 1;
      Specified by:
      getConfigTypeValue in interface ApiStatus.ApiStatusKeyOrBuilder
      Returns:
      The enum numeric value on the wire for configType.
    • getConfigType

      public ApiStatus.ApiType getConfigType()
      .databalancer.ApiType configType = 1;
      Specified by:
      getConfigType in interface ApiStatus.ApiStatusKeyOrBuilder
      Returns:
      The configType.
    • getBrokerId

      public 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;
      Specified by:
      getBrokerId in interface ApiStatus.ApiStatusKeyOrBuilder
      Returns:
      The brokerId.
    • getBrokerIdsList

      public List<Integer> getBrokerIdsList()
       For operations acting on multiple brokers: REMOVE_BROKER_V2
       
      repeated int32 brokerIds = 3;
      Specified by:
      getBrokerIdsList in interface ApiStatus.ApiStatusKeyOrBuilder
      Returns:
      A list containing the brokerIds.
    • getBrokerIdsCount

      public int getBrokerIdsCount()
       For operations acting on multiple brokers: REMOVE_BROKER_V2
       
      repeated int32 brokerIds = 3;
      Specified by:
      getBrokerIdsCount in interface ApiStatus.ApiStatusKeyOrBuilder
      Returns:
      The count of brokerIds.
    • getBrokerIds

      public int getBrokerIds(int index)
       For operations acting on multiple brokers: REMOVE_BROKER_V2
       
      repeated int32 brokerIds = 3;
      Specified by:
      getBrokerIds in interface ApiStatus.ApiStatusKeyOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The brokerIds at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ApiStatus.ApiStatusKey parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ApiStatus.ApiStatusKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ApiStatus.ApiStatusKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ApiStatus.ApiStatusKey.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ApiStatus.ApiStatusKey.Builder newBuilder()
    • newBuilder

      public static ApiStatus.ApiStatusKey.Builder newBuilder(ApiStatus.ApiStatusKey prototype)
    • toBuilder

      public ApiStatus.ApiStatusKey.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static ApiStatus.ApiStatusKey getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ApiStatus.ApiStatusKey> parser()
    • getParserForType

      public com.google.protobuf.Parser<ApiStatus.ApiStatusKey> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ApiStatus.ApiStatusKey getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder