Package com.mysql.cj.x.protobuf
Enum MysqlxExpr.Expr.Type
java.lang.Object
java.lang.Enum<MysqlxExpr.Expr.Type>
com.mysql.cj.x.protobuf.MysqlxExpr.Expr.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<MysqlxExpr.Expr.Type>,java.lang.constant.Constable
- Enclosing class:
- MysqlxExpr.Expr
public static enum MysqlxExpr.Expr.Type extends java.lang.Enum<MysqlxExpr.Expr.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
Mysqlx.Expr.Expr.Type-
Nested Class Summary
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static intARRAY_VALUEARRAY = 8;static intFUNC_CALL_VALUEFUNC_CALL = 4;static intIDENT_VALUEIDENT = 1;static intLITERAL_VALUELITERAL = 2;static intOBJECT_VALUEOBJECT = 7;static intOPERATOR_VALUEOPERATOR = 5;static intPLACEHOLDER_VALUEPLACEHOLDER = 6;static intVARIABLE_VALUEVARIABLE = 3; -
Method Summary
Modifier and Type Method Description static MysqlxExpr.Expr.TypeforNumber(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<MysqlxExpr.Expr.Type>internalGetValueMap()static MysqlxExpr.Expr.TypevalueOf(int value)Deprecated.static MysqlxExpr.Expr.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MysqlxExpr.Expr.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MysqlxExpr.Expr.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Field Details
-
IDENT_VALUE
public static final int IDENT_VALUEIDENT = 1;- See Also:
- Constant Field Values
-
LITERAL_VALUE
public static final int LITERAL_VALUELITERAL = 2;- See Also:
- Constant Field Values
-
VARIABLE_VALUE
public static final int VARIABLE_VALUEVARIABLE = 3;- See Also:
- Constant Field Values
-
FUNC_CALL_VALUE
public static final int FUNC_CALL_VALUEFUNC_CALL = 4;- See Also:
- Constant Field Values
-
OPERATOR_VALUE
public static final int OPERATOR_VALUEOPERATOR = 5;- See Also:
- Constant Field Values
-
PLACEHOLDER_VALUE
public static final int PLACEHOLDER_VALUEPLACEHOLDER = 6;- See Also:
- Constant Field Values
-
OBJECT_VALUE
public static final int OBJECT_VALUEOBJECT = 7;- See Also:
- Constant Field Values
-
ARRAY_VALUE
public static final int ARRAY_VALUEARRAY = 8;- 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:
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 MysqlxExpr.Expr.Type 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
-