Enum Class ControllerGrpcErrorType

java.lang.Object
java.lang.Enum<ControllerGrpcErrorType>
com.linkedin.venice.protocols.controller.ControllerGrpcErrorType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ControllerGrpcErrorType>, Constable

public enum ControllerGrpcErrorType extends Enum<ControllerGrpcErrorType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum com.linkedin.venice.protocols.controller.ControllerGrpcErrorType
  • Enum Constant Details

  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 0;
      See Also:
    • INCORRECT_CONTROLLER_VALUE

      public static final int INCORRECT_CONTROLLER_VALUE
      INCORRECT_CONTROLLER = 1;
      See Also:
    • INVALID_SCHEMA_VALUE

      public static final int INVALID_SCHEMA_VALUE
      INVALID_SCHEMA = 2;
      See Also:
    • INVALID_CONFIG_VALUE

      public static final int INVALID_CONFIG_VALUE
      INVALID_CONFIG = 3;
      See Also:
    • STORE_NOT_FOUND_VALUE

      public static final int STORE_NOT_FOUND_VALUE
      STORE_NOT_FOUND = 4;
      See Also:
    • SCHEMA_NOT_FOUND_VALUE

      public static final int SCHEMA_NOT_FOUND_VALUE
      SCHEMA_NOT_FOUND = 5;
      See Also:
    • CONNECTION_ERROR_VALUE

      public static final int CONNECTION_ERROR_VALUE
      CONNECTION_ERROR = 6;
      See Also:
    • GENERAL_ERROR_VALUE

      public static final int GENERAL_ERROR_VALUE
      GENERAL_ERROR = 7;
      See Also:
    • BAD_REQUEST_VALUE

      public static final int BAD_REQUEST_VALUE
      BAD_REQUEST = 8;
      See Also:
    • CONCURRENT_BATCH_PUSH_VALUE

      public static final int CONCURRENT_BATCH_PUSH_VALUE
      CONCURRENT_BATCH_PUSH = 9;
      See Also:
    • RESOURCE_STILL_EXISTS_VALUE

      public static final int RESOURCE_STILL_EXISTS_VALUE
      RESOURCE_STILL_EXISTS = 10;
      See Also:
  • Method Details

    • values

      public static ControllerGrpcErrorType[] 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 ControllerGrpcErrorType 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 ControllerGrpcErrorType 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 ControllerGrpcErrorType 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<ControllerGrpcErrorType> 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 ControllerGrpcErrorType 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