Package com.ocient.jdbc.proto
Enum ClientWireProtocol.ConfirmationResponse.ResponseType
java.lang.Object
java.lang.Enum<ClientWireProtocol.ConfirmationResponse.ResponseType>
com.ocient.jdbc.proto.ClientWireProtocol.ConfirmationResponse.ResponseType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ClientWireProtocol.ConfirmationResponse.ResponseType>,java.lang.constant.Constable
- Enclosing class:
- ClientWireProtocol.ConfirmationResponse
public static enum ClientWireProtocol.ConfirmationResponse.ResponseType extends Enum<ClientWireProtocol.ConfirmationResponse.ResponseType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
xg.cmdcomp.ConfirmationResponse.ResponseType-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDINVALID = 0;RESPONSE_ERRORRESPONSE_ERROR = 3;RESPONSE_OKRESPONSE_OK = 1;RESPONSE_WARNRESPONSE_WARN = 2;UNRECOGNIZED -
Field Summary
Fields Modifier and Type Field Description static intINVALID_VALUEINVALID = 0;static intRESPONSE_ERROR_VALUERESPONSE_ERROR = 3;static intRESPONSE_OK_VALUERESPONSE_OK = 1;static intRESPONSE_WARN_VALUERESPONSE_WARN = 2; -
Method Summary
Modifier and Type Method Description static ClientWireProtocol.ConfirmationResponse.ResponseTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ClientWireProtocol.ConfirmationResponse.ResponseType>internalGetValueMap()static ClientWireProtocol.ConfirmationResponse.ResponseTypevalueOf(int value)Deprecated.static ClientWireProtocol.ConfirmationResponse.ResponseTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ClientWireProtocol.ConfirmationResponse.ResponseTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ClientWireProtocol.ConfirmationResponse.ResponseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID
INVALID = 0; -
RESPONSE_OK
RESPONSE_OK = 1; -
RESPONSE_WARN
RESPONSE_WARN = 2; -
RESPONSE_ERROR
RESPONSE_ERROR = 3; -
UNRECOGNIZED
-
-
Field Details
-
INVALID_VALUE
public static final int INVALID_VALUEINVALID = 0;- See Also:
- Constant Field Values
-
RESPONSE_OK_VALUE
public static final int RESPONSE_OK_VALUERESPONSE_OK = 1;- See Also:
- Constant Field Values
-
RESPONSE_WARN_VALUE
public static final int RESPONSE_WARN_VALUERESPONSE_WARN = 2;- See Also:
- Constant Field Values
-
RESPONSE_ERROR_VALUE
public static final int RESPONSE_ERROR_VALUERESPONSE_ERROR = 3;- See Also:
- Constant Field Values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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<ClientWireProtocol.ConfirmationResponse.ResponseType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ClientWireProtocol.ConfirmationResponse.ResponseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-