Enum Class ApiStatus.ApiType

java.lang.Object
java.lang.Enum<ApiStatus.ApiType>
io.confluent.databalancer.record.ApiStatus.ApiType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ApiStatus.ApiType>, Constable
Enclosing class:
ApiStatus

public static enum ApiStatus.ApiType extends Enum<ApiStatus.ApiType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum databalancer.ApiType
  • Enum Constant Details

    • REMOVE_BROKER

      public static final ApiStatus.ApiType REMOVE_BROKER
       DEPRECATED as of CP 7.0
       
      REMOVE_BROKER = 0;
    • ADD_BROKER

      public static final ApiStatus.ApiType ADD_BROKER
      ADD_BROKER = 1;
    • FAILED_BROKER_LIST

      public static final ApiStatus.ApiType FAILED_BROKER_LIST
      FAILED_BROKER_LIST = 2;
    • EVEN_CLUSTER_LOAD

      public static final ApiStatus.ApiType EVEN_CLUSTER_LOAD
      EVEN_CLUSTER_LOAD = 3;
    • REMOVE_BROKER_V2

      public static final ApiStatus.ApiType REMOVE_BROKER_V2
      REMOVE_BROKER_V2 = 4;
    • ADD_BROKER_V2

      public static final ApiStatus.ApiType ADD_BROKER_V2
      ADD_BROKER_V2 = 5;
    • CELL_OVERLOAD_OCCURRENCE_DELTA

      public static final ApiStatus.ApiType CELL_OVERLOAD_OCCURRENCE_DELTA
      CELL_OVERLOAD_OCCURRENCE_DELTA = 6;
    • CELLS

      public static final ApiStatus.ApiType CELLS
      CELLS = 7;
    • UNRECOGNIZED

      public static final ApiStatus.ApiType UNRECOGNIZED
  • Field Details

    • REMOVE_BROKER_VALUE

      public static final int REMOVE_BROKER_VALUE
       DEPRECATED as of CP 7.0
       
      REMOVE_BROKER = 0;
      See Also:
    • ADD_BROKER_VALUE

      public static final int ADD_BROKER_VALUE
      ADD_BROKER = 1;
      See Also:
    • FAILED_BROKER_LIST_VALUE

      public static final int FAILED_BROKER_LIST_VALUE
      FAILED_BROKER_LIST = 2;
      See Also:
    • EVEN_CLUSTER_LOAD_VALUE

      public static final int EVEN_CLUSTER_LOAD_VALUE
      EVEN_CLUSTER_LOAD = 3;
      See Also:
    • REMOVE_BROKER_V2_VALUE

      public static final int REMOVE_BROKER_V2_VALUE
      REMOVE_BROKER_V2 = 4;
      See Also:
    • ADD_BROKER_V2_VALUE

      public static final int ADD_BROKER_V2_VALUE
      ADD_BROKER_V2 = 5;
      See Also:
    • CELL_OVERLOAD_OCCURRENCE_DELTA_VALUE

      public static final int CELL_OVERLOAD_OCCURRENCE_DELTA_VALUE
      CELL_OVERLOAD_OCCURRENCE_DELTA = 6;
      See Also:
    • CELLS_VALUE

      public static final int CELLS_VALUE
      CELLS = 7;
      See Also:
  • Method Details

    • values

      public static ApiStatus.ApiType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ApiStatus.ApiType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ApiStatus.ApiType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ApiStatus.ApiType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ApiStatus.ApiType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ApiStatus.ApiType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null