Package flyteidl.core
Enum Types.LiteralType.TypeCase
- java.lang.Object
-
- java.lang.Enum<Types.LiteralType.TypeCase>
-
- flyteidl.core.Types.LiteralType.TypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Types.LiteralType.TypeCase>
- Enclosing class:
- Types.LiteralType
public static enum Types.LiteralType.TypeCase extends Enum<Types.LiteralType.TypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOBCOLLECTION_TYPEENUM_TYPEMAP_VALUE_TYPESCHEMASIMPLESTRUCTURED_DATASET_TYPETYPE_NOT_SETUNION_TYPE
-
Field Summary
Fields Modifier and Type Field Description private intvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateTypeCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Types.LiteralType.TypeCaseforNumber(int value)intgetNumber()static Types.LiteralType.TypeCasevalueOf(int value)Deprecated.static Types.LiteralType.TypeCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Types.LiteralType.TypeCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final Types.LiteralType.TypeCase SIMPLE
-
SCHEMA
public static final Types.LiteralType.TypeCase SCHEMA
-
COLLECTION_TYPE
public static final Types.LiteralType.TypeCase COLLECTION_TYPE
-
MAP_VALUE_TYPE
public static final Types.LiteralType.TypeCase MAP_VALUE_TYPE
-
BLOB
public static final Types.LiteralType.TypeCase BLOB
-
ENUM_TYPE
public static final Types.LiteralType.TypeCase ENUM_TYPE
-
STRUCTURED_DATASET_TYPE
public static final Types.LiteralType.TypeCase STRUCTURED_DATASET_TYPE
-
UNION_TYPE
public static final Types.LiteralType.TypeCase UNION_TYPE
-
TYPE_NOT_SET
public static final Types.LiteralType.TypeCase TYPE_NOT_SET
-
-
Method Detail
-
values
public static Types.LiteralType.TypeCase[] 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.LiteralType.TypeCase c : Types.LiteralType.TypeCase.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.LiteralType.TypeCase 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
-
valueOf
@Deprecated public static Types.LiteralType.TypeCase 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.LiteralType.TypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-