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>
- Enclosing class:
- ClientWireProtocol.ConfirmationResponse
public static enum ClientWireProtocol.ConfirmationResponse.ResponseType extends Enum<ClientWireProtocol.ConfirmationResponse.ResponseType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumxg.cmdcomp.ConfirmationResponse.ResponseType
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 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 Detail
-
INVALID
public static final ClientWireProtocol.ConfirmationResponse.ResponseType INVALID
INVALID = 0;
-
RESPONSE_OK
public static final ClientWireProtocol.ConfirmationResponse.ResponseType RESPONSE_OK
RESPONSE_OK = 1;
-
RESPONSE_WARN
public static final ClientWireProtocol.ConfirmationResponse.ResponseType RESPONSE_WARN
RESPONSE_WARN = 2;
-
RESPONSE_ERROR
public static final ClientWireProtocol.ConfirmationResponse.ResponseType RESPONSE_ERROR
RESPONSE_ERROR = 3;
-
UNRECOGNIZED
public static final ClientWireProtocol.ConfirmationResponse.ResponseType UNRECOGNIZED
-
-
Field Detail
-
INVALID_VALUE
public static final int INVALID_VALUE
INVALID = 0;- See Also:
- Constant Field Values
-
RESPONSE_OK_VALUE
public static final int RESPONSE_OK_VALUE
RESPONSE_OK = 1;- See Also:
- Constant Field Values
-
RESPONSE_WARN_VALUE
public static final int RESPONSE_WARN_VALUE
RESPONSE_WARN = 2;- See Also:
- Constant Field Values
-
RESPONSE_ERROR_VALUE
public static final int RESPONSE_ERROR_VALUE
RESPONSE_ERROR = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ClientWireProtocol.ConfirmationResponse.ResponseType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientWireProtocol.ConfirmationResponse.ResponseType c : ClientWireProtocol.ConfirmationResponse.ResponseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientWireProtocol.ConfirmationResponse.ResponseType valueOf(String name)
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 public static ClientWireProtocol.ConfirmationResponse.ResponseType valueOf(int value)
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
public static ClientWireProtocol.ConfirmationResponse.ResponseType 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<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
-
-