Enum CustomDataType
- java.lang.Object
-
- java.lang.Enum<CustomDataType>
-
- com.devcycle.sdk.server.local.protobuf.CustomDataType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CustomDataType>
public enum CustomDataType extends java.lang.Enum<CustomDataType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumCustomDataType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BoolBool = 0;NullNull = 3;NumNum = 1;StrStr = 2;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBool_VALUEBool = 0;static intNull_VALUENull = 3;static intNum_VALUENum = 1;static intStr_VALUEStr = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CustomDataTypeforNumber(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<CustomDataType>internalGetValueMap()static CustomDataTypevalueOf(int value)Deprecated.static CustomDataTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CustomDataTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CustomDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bool
public static final CustomDataType Bool
Bool = 0;
-
Num
public static final CustomDataType Num
Num = 1;
-
Str
public static final CustomDataType Str
Str = 2;
-
Null
public static final CustomDataType Null
Null = 3;
-
UNRECOGNIZED
public static final CustomDataType UNRECOGNIZED
-
-
Field Detail
-
Bool_VALUE
public static final int Bool_VALUE
Bool = 0;- See Also:
- Constant Field Values
-
Num_VALUE
public static final int Num_VALUE
Num = 1;- See Also:
- Constant Field Values
-
Str_VALUE
public static final int Str_VALUE
Str = 2;- See Also:
- Constant Field Values
-
Null_VALUE
public static final int Null_VALUE
Null = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CustomDataType[] 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 (CustomDataType c : CustomDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomDataType 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 CustomDataType 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 CustomDataType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CustomDataType> 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 CustomDataType 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
-
-