Enum MatchableResourceOuterClass.MatchableResource

    • 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
      • value

        private final int value
    • Constructor Detail

      • MatchableResource

        private MatchableResource​(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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null