Package org.apache.calcite.avatica.proto
Enum Common.MetaDataOperationArgument.ArgumentType
- java.lang.Object
-
- java.lang.Enum<Common.MetaDataOperationArgument.ArgumentType>
-
- org.apache.calcite.avatica.proto.Common.MetaDataOperationArgument.ArgumentType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Common.MetaDataOperationArgument.ArgumentType>
- Enclosing class:
- Common.MetaDataOperationArgument
public static enum Common.MetaDataOperationArgument.ArgumentType extends java.lang.Enum<Common.MetaDataOperationArgument.ArgumentType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumMetaDataOperationArgument.ArgumentType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLBOOL = 1;INTINT = 2;NULLNULL = 5;REPEATED_INTREPEATED_INT = 4;REPEATED_STRINGREPEATED_STRING = 3;STRINGSTRING = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBOOL_VALUEBOOL = 1;static intINT_VALUEINT = 2;private static com.google.protobuf.Internal.EnumLiteMap<Common.MetaDataOperationArgument.ArgumentType>internalValueMapstatic intNULL_VALUENULL = 5;static intREPEATED_INT_VALUEREPEATED_INT = 4;static intREPEATED_STRING_VALUEREPEATED_STRING = 3;static intSTRING_VALUESTRING = 0;private intvalueprivate static Common.MetaDataOperationArgument.ArgumentType[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateArgumentType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Common.MetaDataOperationArgument.ArgumentTypeforNumber(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<Common.MetaDataOperationArgument.ArgumentType>internalGetValueMap()static Common.MetaDataOperationArgument.ArgumentTypevalueOf(int value)Deprecated.static Common.MetaDataOperationArgument.ArgumentTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Common.MetaDataOperationArgument.ArgumentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Common.MetaDataOperationArgument.ArgumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final Common.MetaDataOperationArgument.ArgumentType STRING
STRING = 0;
-
BOOL
public static final Common.MetaDataOperationArgument.ArgumentType BOOL
BOOL = 1;
-
INT
public static final Common.MetaDataOperationArgument.ArgumentType INT
INT = 2;
-
REPEATED_STRING
public static final Common.MetaDataOperationArgument.ArgumentType REPEATED_STRING
REPEATED_STRING = 3;
-
REPEATED_INT
public static final Common.MetaDataOperationArgument.ArgumentType REPEATED_INT
REPEATED_INT = 4;
-
NULL
public static final Common.MetaDataOperationArgument.ArgumentType NULL
NULL = 5;
-
UNRECOGNIZED
public static final Common.MetaDataOperationArgument.ArgumentType UNRECOGNIZED
-
-
Field Detail
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 0;- See Also:
- Constant Field Values
-
BOOL_VALUE
public static final int BOOL_VALUE
BOOL = 1;- See Also:
- Constant Field Values
-
INT_VALUE
public static final int INT_VALUE
INT = 2;- See Also:
- Constant Field Values
-
REPEATED_STRING_VALUE
public static final int REPEATED_STRING_VALUE
REPEATED_STRING = 3;- See Also:
- Constant Field Values
-
REPEATED_INT_VALUE
public static final int REPEATED_INT_VALUE
REPEATED_INT = 4;- See Also:
- Constant Field Values
-
NULL_VALUE
public static final int NULL_VALUE
NULL = 5;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Common.MetaDataOperationArgument.ArgumentType> internalValueMap
-
VALUES
private static final Common.MetaDataOperationArgument.ArgumentType[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Common.MetaDataOperationArgument.ArgumentType[] 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 (Common.MetaDataOperationArgument.ArgumentType c : Common.MetaDataOperationArgument.ArgumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Common.MetaDataOperationArgument.ArgumentType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 Common.MetaDataOperationArgument.ArgumentType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Common.MetaDataOperationArgument.ArgumentType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Common.MetaDataOperationArgument.ArgumentType> 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 Common.MetaDataOperationArgument.ArgumentType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-