Package flyteidl.core
Enum IdentifierOuterClass.ResourceType
- java.lang.Object
-
- java.lang.Enum<IdentifierOuterClass.ResourceType>
-
- flyteidl.core.IdentifierOuterClass.ResourceType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<IdentifierOuterClass.ResourceType>
- Enclosing class:
- IdentifierOuterClass
public static enum IdentifierOuterClass.ResourceType extends Enum<IdentifierOuterClass.ResourceType> implements com.google.protobuf.ProtocolMessageEnum
Indicates a resource type within Flyte.
Protobuf enumflyteidl.core.ResourceType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATASETA dataset represents an entity modeled in Flyte DataCatalog.LAUNCH_PLANLAUNCH_PLAN = 3;TASKTASK = 1;UNRECOGNIZEDUNSPECIFIEDUNSPECIFIED = 0;WORKFLOWWORKFLOW = 2;
-
Field Summary
Fields Modifier and Type Field Description static intDATASET_VALUEA dataset represents an entity modeled in Flyte DataCatalog.private static com.google.protobuf.Internal.EnumLiteMap<IdentifierOuterClass.ResourceType>internalValueMapstatic intLAUNCH_PLAN_VALUELAUNCH_PLAN = 3;static intTASK_VALUETASK = 1;static intUNSPECIFIED_VALUEUNSPECIFIED = 0;private intvalueprivate static IdentifierOuterClass.ResourceType[]VALUESstatic intWORKFLOW_VALUEWORKFLOW = 2;
-
Constructor Summary
Constructors Modifier Constructor Description privateResourceType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IdentifierOuterClass.ResourceTypeforNumber(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<IdentifierOuterClass.ResourceType>internalGetValueMap()static IdentifierOuterClass.ResourceTypevalueOf(int value)Deprecated.static IdentifierOuterClass.ResourceTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static IdentifierOuterClass.ResourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IdentifierOuterClass.ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final IdentifierOuterClass.ResourceType UNSPECIFIED
UNSPECIFIED = 0;
-
TASK
public static final IdentifierOuterClass.ResourceType TASK
TASK = 1;
-
WORKFLOW
public static final IdentifierOuterClass.ResourceType WORKFLOW
WORKFLOW = 2;
-
LAUNCH_PLAN
public static final IdentifierOuterClass.ResourceType LAUNCH_PLAN
LAUNCH_PLAN = 3;
-
DATASET
public static final IdentifierOuterClass.ResourceType DATASET
A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects
DATASET = 4;
-
UNRECOGNIZED
public static final IdentifierOuterClass.ResourceType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
TASK_VALUE
public static final int TASK_VALUE
TASK = 1;- See Also:
- Constant Field Values
-
WORKFLOW_VALUE
public static final int WORKFLOW_VALUE
WORKFLOW = 2;- See Also:
- Constant Field Values
-
LAUNCH_PLAN_VALUE
public static final int LAUNCH_PLAN_VALUE
LAUNCH_PLAN = 3;- See Also:
- Constant Field Values
-
DATASET_VALUE
public static final int DATASET_VALUE
A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects. Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects in a similar manner to other Flyte objects
DATASET = 4;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<IdentifierOuterClass.ResourceType> internalValueMap
-
VALUES
private static final IdentifierOuterClass.ResourceType[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static IdentifierOuterClass.ResourceType[] 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 (IdentifierOuterClass.ResourceType c : IdentifierOuterClass.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdentifierOuterClass.ResourceType 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 IdentifierOuterClass.ResourceType 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 IdentifierOuterClass.ResourceType 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<IdentifierOuterClass.ResourceType> 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 IdentifierOuterClass.ResourceType 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
-
-