Package flyteidl.admin
Enum MatchableResourceOuterClass.MatchableResource
- java.lang.Object
-
- java.lang.Enum<MatchableResourceOuterClass.MatchableResource>
-
- flyteidl.admin.MatchableResourceOuterClass.MatchableResource
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MatchableResourceOuterClass.MatchableResource>
- Enclosing class:
- MatchableResourceOuterClass
public static enum MatchableResourceOuterClass.MatchableResource extends Enum<MatchableResourceOuterClass.MatchableResource> implements com.google.protobuf.ProtocolMessageEnum
Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes based on matching tags.
Protobuf enumflyteidl.admin.MatchableResource
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTER_ASSIGNMENTControls how to select an available cluster on which this execution should run.CLUSTER_RESOURCEApplies to configuring templated kubernetes cluster resources.EXECUTION_CLUSTER_LABELConfigures the K8s cluster label to be used for execution to be runEXECUTION_QUEUEConfigures task and dynamic task execution queue assignment.PLUGIN_OVERRIDESelects configurable plugin implementation behavior for a given task type.QUALITY_OF_SERVICE_SPECIFICATIONConfigures default quality of service when undefined in an execution spec.TASK_RESOURCEApplies to customizable task resource requests and limits.UNRECOGNIZEDWORKFLOW_EXECUTION_CONFIGAdds defaults for customizable workflow-execution specifications and overrides.
-
Field Summary
Fields Modifier and Type Field Description static intCLUSTER_ASSIGNMENT_VALUEControls how to select an available cluster on which this execution should run.static intCLUSTER_RESOURCE_VALUEApplies to configuring templated kubernetes cluster resources.static intEXECUTION_CLUSTER_LABEL_VALUEConfigures the K8s cluster label to be used for execution to be runstatic intEXECUTION_QUEUE_VALUEConfigures task and dynamic task execution queue assignment.private static com.google.protobuf.Internal.EnumLiteMap<MatchableResourceOuterClass.MatchableResource>internalValueMapstatic intPLUGIN_OVERRIDE_VALUESelects configurable plugin implementation behavior for a given task type.static intQUALITY_OF_SERVICE_SPECIFICATION_VALUEConfigures default quality of service when undefined in an execution spec.static intTASK_RESOURCE_VALUEApplies to customizable task resource requests and limits.private intvalueprivate static MatchableResourceOuterClass.MatchableResource[]VALUESstatic intWORKFLOW_EXECUTION_CONFIG_VALUEAdds defaults for customizable workflow-execution specifications and overrides.
-
Constructor Summary
Constructors Modifier Constructor Description privateMatchableResource(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MatchableResourceOuterClass.MatchableResourceforNumber(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<MatchableResourceOuterClass.MatchableResource>internalGetValueMap()static MatchableResourceOuterClass.MatchableResourcevalueOf(int value)Deprecated.static MatchableResourceOuterClass.MatchableResourcevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MatchableResourceOuterClass.MatchableResourcevalueOf(String name)Returns the enum constant of this type with the specified name.static MatchableResourceOuterClass.MatchableResource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK_RESOURCE
public static final MatchableResourceOuterClass.MatchableResource TASK_RESOURCE
Applies to customizable task resource requests and limits.
TASK_RESOURCE = 0;
-
CLUSTER_RESOURCE
public static final MatchableResourceOuterClass.MatchableResource CLUSTER_RESOURCE
Applies to configuring templated kubernetes cluster resources.
CLUSTER_RESOURCE = 1;
-
EXECUTION_QUEUE
public static final MatchableResourceOuterClass.MatchableResource EXECUTION_QUEUE
Configures task and dynamic task execution queue assignment.
EXECUTION_QUEUE = 2;
-
EXECUTION_CLUSTER_LABEL
public static final MatchableResourceOuterClass.MatchableResource EXECUTION_CLUSTER_LABEL
Configures the K8s cluster label to be used for execution to be run
EXECUTION_CLUSTER_LABEL = 3;
-
QUALITY_OF_SERVICE_SPECIFICATION
public static final MatchableResourceOuterClass.MatchableResource QUALITY_OF_SERVICE_SPECIFICATION
Configures default quality of service when undefined in an execution spec.
QUALITY_OF_SERVICE_SPECIFICATION = 4;
-
PLUGIN_OVERRIDE
public static final MatchableResourceOuterClass.MatchableResource PLUGIN_OVERRIDE
Selects configurable plugin implementation behavior for a given task type.
PLUGIN_OVERRIDE = 5;
-
WORKFLOW_EXECUTION_CONFIG
public static final MatchableResourceOuterClass.MatchableResource WORKFLOW_EXECUTION_CONFIG
Adds defaults for customizable workflow-execution specifications and overrides.
WORKFLOW_EXECUTION_CONFIG = 6;
-
CLUSTER_ASSIGNMENT
public static final MatchableResourceOuterClass.MatchableResource CLUSTER_ASSIGNMENT
Controls how to select an available cluster on which this execution should run.
CLUSTER_ASSIGNMENT = 7;
-
UNRECOGNIZED
public static final MatchableResourceOuterClass.MatchableResource UNRECOGNIZED
-
-
Field Detail
-
TASK_RESOURCE_VALUE
public static final int TASK_RESOURCE_VALUE
Applies to customizable task resource requests and limits.
TASK_RESOURCE = 0;- See Also:
- Constant Field Values
-
CLUSTER_RESOURCE_VALUE
public static final int CLUSTER_RESOURCE_VALUE
Applies to configuring templated kubernetes cluster resources.
CLUSTER_RESOURCE = 1;- See Also:
- Constant Field Values
-
EXECUTION_QUEUE_VALUE
public static final int EXECUTION_QUEUE_VALUE
Configures task and dynamic task execution queue assignment.
EXECUTION_QUEUE = 2;- See Also:
- Constant Field Values
-
EXECUTION_CLUSTER_LABEL_VALUE
public static final int EXECUTION_CLUSTER_LABEL_VALUE
Configures the K8s cluster label to be used for execution to be run
EXECUTION_CLUSTER_LABEL = 3;- See Also:
- Constant Field Values
-
QUALITY_OF_SERVICE_SPECIFICATION_VALUE
public static final int QUALITY_OF_SERVICE_SPECIFICATION_VALUE
Configures default quality of service when undefined in an execution spec.
QUALITY_OF_SERVICE_SPECIFICATION = 4;- See Also:
- Constant Field Values
-
PLUGIN_OVERRIDE_VALUE
public static final int PLUGIN_OVERRIDE_VALUE
Selects configurable plugin implementation behavior for a given task type.
PLUGIN_OVERRIDE = 5;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_CONFIG_VALUE
public static final int WORKFLOW_EXECUTION_CONFIG_VALUE
Adds defaults for customizable workflow-execution specifications and overrides.
WORKFLOW_EXECUTION_CONFIG = 6;- See Also:
- Constant Field Values
-
CLUSTER_ASSIGNMENT_VALUE
public static final int CLUSTER_ASSIGNMENT_VALUE
Controls how to select an available cluster on which this execution should run.
CLUSTER_ASSIGNMENT = 7;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<MatchableResourceOuterClass.MatchableResource> internalValueMap
-
VALUES
private static final MatchableResourceOuterClass.MatchableResource[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static MatchableResourceOuterClass.MatchableResource[] 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 (MatchableResourceOuterClass.MatchableResource c : MatchableResourceOuterClass.MatchableResource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatchableResourceOuterClass.MatchableResource 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 MatchableResourceOuterClass.MatchableResource 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 MatchableResourceOuterClass.MatchableResource 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<MatchableResourceOuterClass.MatchableResource> 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 MatchableResourceOuterClass.MatchableResource 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
-
-