Package flyteidl.core
Enum Types.SchemaType.SchemaColumn.SchemaColumnType
- java.lang.Object
-
- java.lang.Enum<Types.SchemaType.SchemaColumn.SchemaColumnType>
-
- flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Types.SchemaType.SchemaColumn.SchemaColumnType>
- Enclosing class:
- Types.SchemaType.SchemaColumn
public static enum Types.SchemaType.SchemaColumn.SchemaColumnType extends Enum<Types.SchemaType.SchemaColumn.SchemaColumnType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumflyteidl.core.SchemaType.SchemaColumn.SchemaColumnType
-
-
Field Summary
Fields Modifier and Type Field Description static intBOOLEAN_VALUEBOOLEAN = 3;static intDATETIME_VALUEDATETIME = 4;static intDURATION_VALUEDURATION = 5;static intFLOAT_VALUEFLOAT = 1;static intINTEGER_VALUEINTEGER = 0;private static com.google.protobuf.Internal.EnumLiteMap<Types.SchemaType.SchemaColumn.SchemaColumnType>internalValueMapstatic intSTRING_VALUESTRING = 2;private intvalueprivate static Types.SchemaType.SchemaColumn.SchemaColumnType[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateSchemaColumnType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Types.SchemaType.SchemaColumn.SchemaColumnTypeforNumber(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<Types.SchemaType.SchemaColumn.SchemaColumnType>internalGetValueMap()static Types.SchemaType.SchemaColumn.SchemaColumnTypevalueOf(int value)Deprecated.static Types.SchemaType.SchemaColumn.SchemaColumnTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Types.SchemaType.SchemaColumn.SchemaColumnTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Types.SchemaType.SchemaColumn.SchemaColumnType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final Types.SchemaType.SchemaColumn.SchemaColumnType INTEGER
INTEGER = 0;
-
FLOAT
public static final Types.SchemaType.SchemaColumn.SchemaColumnType FLOAT
FLOAT = 1;
-
STRING
public static final Types.SchemaType.SchemaColumn.SchemaColumnType STRING
STRING = 2;
-
BOOLEAN
public static final Types.SchemaType.SchemaColumn.SchemaColumnType BOOLEAN
BOOLEAN = 3;
-
DATETIME
public static final Types.SchemaType.SchemaColumn.SchemaColumnType DATETIME
DATETIME = 4;
-
DURATION
public static final Types.SchemaType.SchemaColumn.SchemaColumnType DURATION
DURATION = 5;
-
UNRECOGNIZED
public static final Types.SchemaType.SchemaColumn.SchemaColumnType UNRECOGNIZED
-
-
Field Detail
-
INTEGER_VALUE
public static final int INTEGER_VALUE
INTEGER = 0;- See Also:
- Constant Field Values
-
FLOAT_VALUE
public static final int FLOAT_VALUE
FLOAT = 1;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 2;- See Also:
- Constant Field Values
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
BOOLEAN = 3;- See Also:
- Constant Field Values
-
DATETIME_VALUE
public static final int DATETIME_VALUE
DATETIME = 4;- See Also:
- Constant Field Values
-
DURATION_VALUE
public static final int DURATION_VALUE
DURATION = 5;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Types.SchemaType.SchemaColumn.SchemaColumnType> internalValueMap
-
VALUES
private static final Types.SchemaType.SchemaColumn.SchemaColumnType[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Types.SchemaType.SchemaColumn.SchemaColumnType[] 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 (Types.SchemaType.SchemaColumn.SchemaColumnType c : Types.SchemaType.SchemaColumn.SchemaColumnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Types.SchemaType.SchemaColumn.SchemaColumnType 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 Types.SchemaType.SchemaColumn.SchemaColumnType 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 Types.SchemaType.SchemaColumn.SchemaColumnType 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<Types.SchemaType.SchemaColumn.SchemaColumnType> 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 Types.SchemaType.SchemaColumn.SchemaColumnType 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
-
-