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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBAD_REQUEST = 8;
CONCURRENT_BATCH_PUSH = 9;
CONNECTION_ERROR = 6;
GENERAL_ERROR = 7;
INCORRECT_CONTROLLER = 1;
INVALID_CONFIG = 3;
INVALID_SCHEMA = 2;
RESOURCE_STILL_EXISTS = 10;
SCHEMA_NOT_FOUND = 5;
STORE_NOT_FOUND = 4;
UNKNOWN = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
BAD_REQUEST = 8;
static final int
CONCURRENT_BATCH_PUSH = 9;
static final int
CONNECTION_ERROR = 6;
static final int
GENERAL_ERROR = 7;
static final int
INCORRECT_CONTROLLER = 1;
static final int
INVALID_CONFIG = 3;
static final int
INVALID_SCHEMA = 2;
static final int
RESOURCE_STILL_EXISTS = 10;
static final int
SCHEMA_NOT_FOUND = 5;
static final int
STORE_NOT_FOUND = 4;
static final int
UNKNOWN = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic ControllerGrpcErrorType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<ControllerGrpcErrorType>
static ControllerGrpcErrorType
valueOf
(int value) Deprecated.static ControllerGrpcErrorType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ControllerGrpcErrorType
Returns the enum constant of this class with the specified name.static ControllerGrpcErrorType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN = 0;
-
INCORRECT_CONTROLLER
INCORRECT_CONTROLLER = 1;
-
INVALID_SCHEMA
INVALID_SCHEMA = 2;
-
INVALID_CONFIG
INVALID_CONFIG = 3;
-
STORE_NOT_FOUND
STORE_NOT_FOUND = 4;
-
SCHEMA_NOT_FOUND
SCHEMA_NOT_FOUND = 5;
-
CONNECTION_ERROR
CONNECTION_ERROR = 6;
-
GENERAL_ERROR
GENERAL_ERROR = 7;
-
BAD_REQUEST
BAD_REQUEST = 8;
-
CONCURRENT_BATCH_PUSH
CONCURRENT_BATCH_PUSH = 9;
-
RESOURCE_STILL_EXISTS
RESOURCE_STILL_EXISTS = 10;
-
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;
- See Also:
-
INCORRECT_CONTROLLER_VALUE
public static final int INCORRECT_CONTROLLER_VALUEINCORRECT_CONTROLLER = 1;
- See Also:
-
INVALID_SCHEMA_VALUE
public static final int INVALID_SCHEMA_VALUEINVALID_SCHEMA = 2;
- See Also:
-
INVALID_CONFIG_VALUE
public static final int INVALID_CONFIG_VALUEINVALID_CONFIG = 3;
- See Also:
-
STORE_NOT_FOUND_VALUE
public static final int STORE_NOT_FOUND_VALUESTORE_NOT_FOUND = 4;
- See Also:
-
SCHEMA_NOT_FOUND_VALUE
public static final int SCHEMA_NOT_FOUND_VALUESCHEMA_NOT_FOUND = 5;
- See Also:
-
CONNECTION_ERROR_VALUE
public static final int CONNECTION_ERROR_VALUECONNECTION_ERROR = 6;
- See Also:
-
GENERAL_ERROR_VALUE
public static final int GENERAL_ERROR_VALUEGENERAL_ERROR = 7;
- See Also:
-
BAD_REQUEST_VALUE
public static final int BAD_REQUEST_VALUEBAD_REQUEST = 8;
- See Also:
-
CONCURRENT_BATCH_PUSH_VALUE
public static final int CONCURRENT_BATCH_PUSH_VALUECONCURRENT_BATCH_PUSH = 9;
- See Also:
-
RESOURCE_STILL_EXISTS_VALUE
public static final int RESOURCE_STILL_EXISTS_VALUERESOURCE_STILL_EXISTS = 10;
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-