Package api

Interface SubmitOuterClass.JobOrBuilder

    • Method Detail

      • getId

        String getId()
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
        string id = 1;
        Returns:
        The bytes for id.
      • getClientId

        String getClientId()
        string client_id = 13;
        Returns:
        The clientId.
      • getClientIdBytes

        com.google.protobuf.ByteString getClientIdBytes()
        string client_id = 13;
        Returns:
        The bytes for clientId.
      • getJobSetId

        String getJobSetId()
        string job_set_id = 2;
        Returns:
        The jobSetId.
      • getJobSetIdBytes

        com.google.protobuf.ByteString getJobSetIdBytes()
        string job_set_id = 2;
        Returns:
        The bytes for jobSetId.
      • getQueue

        String getQueue()
        string queue = 3;
        Returns:
        The queue.
      • getQueueBytes

        com.google.protobuf.ByteString getQueueBytes()
        string queue = 3;
        Returns:
        The bytes for queue.
      • getNamespace

        String getNamespace()
        string namespace = 7;
        Returns:
        The namespace.
      • getNamespaceBytes

        com.google.protobuf.ByteString getNamespaceBytes()
        string namespace = 7;
        Returns:
        The bytes for namespace.
      • getLabelsCount

        int getLabelsCount()
        map<string, string> labels = 9;
      • containsLabels

        boolean containsLabels​(String key)
        map<string, string> labels = 9;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
        map<string, string> labels = 9;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
        map<string, string> labels = 9;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
        map<string, string> labels = 9;
      • getAnnotationsCount

        int getAnnotationsCount()
        map<string, string> annotations = 10;
      • containsAnnotations

        boolean containsAnnotations​(String key)
        map<string, string> annotations = 10;
      • getAnnotationsMap

        Map<String,​String> getAnnotationsMap()
        map<string, string> annotations = 10;
      • getAnnotationsOrDefault

        String getAnnotationsOrDefault​(String key,
                                       String defaultValue)
        map<string, string> annotations = 10;
      • getAnnotationsOrThrow

        String getAnnotationsOrThrow​(String key)
        map<string, string> annotations = 10;
      • getRequiredNodeLabelsCount

        @Deprecated
        int getRequiredNodeLabelsCount()
        Deprecated.
        map<string, string> required_node_labels = 11 [deprecated = true];
      • containsRequiredNodeLabels

        @Deprecated
        boolean containsRequiredNodeLabels​(String key)
        Deprecated.
        map<string, string> required_node_labels = 11 [deprecated = true];
      • getRequiredNodeLabelsMap

        @Deprecated
        Map<String,​String> getRequiredNodeLabelsMap()
        Deprecated.
        map<string, string> required_node_labels = 11 [deprecated = true];
      • getRequiredNodeLabelsOrDefault

        @Deprecated
        String getRequiredNodeLabelsOrDefault​(String key,
                                              String defaultValue)
        Deprecated.
        map<string, string> required_node_labels = 11 [deprecated = true];
      • getRequiredNodeLabelsOrThrow

        @Deprecated
        String getRequiredNodeLabelsOrThrow​(String key)
        Deprecated.
        map<string, string> required_node_labels = 11 [deprecated = true];
      • getOwner

        String getOwner()
        string owner = 8;
        Returns:
        The owner.
      • getOwnerBytes

        com.google.protobuf.ByteString getOwnerBytes()
        string owner = 8;
        Returns:
        The bytes for owner.
      • getQueueOwnershipUserGroupsList

        List<String> getQueueOwnershipUserGroupsList()
        repeated string queue_ownership_user_groups = 15;
        Returns:
        A list containing the queueOwnershipUserGroups.
      • getQueueOwnershipUserGroupsCount

        int getQueueOwnershipUserGroupsCount()
        repeated string queue_ownership_user_groups = 15;
        Returns:
        The count of queueOwnershipUserGroups.
      • getQueueOwnershipUserGroups

        String getQueueOwnershipUserGroups​(int index)
        repeated string queue_ownership_user_groups = 15;
        Parameters:
        index - The index of the element to return.
        Returns:
        The queueOwnershipUserGroups at the given index.
      • getQueueOwnershipUserGroupsBytes

        com.google.protobuf.ByteString getQueueOwnershipUserGroupsBytes​(int index)
        repeated string queue_ownership_user_groups = 15;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the queueOwnershipUserGroups at the given index.
      • getCompressedQueueOwnershipUserGroups

        com.google.protobuf.ByteString getCompressedQueueOwnershipUserGroups()
        bytes compressed_queue_ownership_user_groups = 19;
        Returns:
        The compressedQueueOwnershipUserGroups.
      • getPriority

        double getPriority()
        double priority = 4;
        Returns:
        The priority.
      • hasPodSpec

        @Deprecated
        boolean hasPodSpec()
        Deprecated.
        api.Job.pod_spec is deprecated. See pkg/api/submit.proto;l=121
         Use PodSpecs instead
         
        .k8s.io.api.core.v1.PodSpec pod_spec = 5 [deprecated = true];
        Returns:
        Whether the podSpec field is set.
      • getPodSpec

        @Deprecated
        Generated.PodSpec getPodSpec()
        Deprecated.
        api.Job.pod_spec is deprecated. See pkg/api/submit.proto;l=121
         Use PodSpecs instead
         
        .k8s.io.api.core.v1.PodSpec pod_spec = 5 [deprecated = true];
        Returns:
        The podSpec.
      • getPodSpecsList

        List<Generated.PodSpec> getPodSpecsList()
        repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;
      • getPodSpecs

        Generated.PodSpec getPodSpecs​(int index)
        repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;
      • getPodSpecsCount

        int getPodSpecsCount()
        repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;
      • getPodSpecsOrBuilderList

        List<? extends Generated.PodSpecOrBuilder> getPodSpecsOrBuilderList()
        repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;
      • getPodSpecsOrBuilder

        Generated.PodSpecOrBuilder getPodSpecsOrBuilder​(int index)
        repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;
      • hasSchedulingResourceRequirements

        boolean hasSchedulingResourceRequirements()
         Resource requests and limits necessary for scheduling the main pod of this job.
         The requests and limits herein are set to:
        
         max(
        
                sum across all containers,
                max over all init containers,
        
         )
        
         This is because containers run in parallel, whereas initContainers run serially.
         This field is populated automatically at submission.
         Submitting a job with this field already populated results in an error.
         
        .k8s.io.api.core.v1.ResourceRequirements scheduling_resource_requirements = 21;
        Returns:
        Whether the schedulingResourceRequirements field is set.
      • getSchedulingResourceRequirements

        Generated.ResourceRequirements getSchedulingResourceRequirements()
         Resource requests and limits necessary for scheduling the main pod of this job.
         The requests and limits herein are set to:
        
         max(
        
                sum across all containers,
                max over all init containers,
        
         )
        
         This is because containers run in parallel, whereas initContainers run serially.
         This field is populated automatically at submission.
         Submitting a job with this field already populated results in an error.
         
        .k8s.io.api.core.v1.ResourceRequirements scheduling_resource_requirements = 21;
        Returns:
        The schedulingResourceRequirements.
      • getSchedulingResourceRequirementsOrBuilder

        Generated.ResourceRequirementsOrBuilder getSchedulingResourceRequirementsOrBuilder()
         Resource requests and limits necessary for scheduling the main pod of this job.
         The requests and limits herein are set to:
        
         max(
        
                sum across all containers,
                max over all init containers,
        
         )
        
         This is because containers run in parallel, whereas initContainers run serially.
         This field is populated automatically at submission.
         Submitting a job with this field already populated results in an error.
         
        .k8s.io.api.core.v1.ResourceRequirements scheduling_resource_requirements = 21;
      • hasCreated

        boolean hasCreated()
        .google.protobuf.Timestamp created = 6;
        Returns:
        Whether the created field is set.
      • getCreated

        com.google.protobuf.Timestamp getCreated()
        .google.protobuf.Timestamp created = 6;
        Returns:
        The created.
      • getCreatedOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
        .google.protobuf.Timestamp created = 6;
      • getIngressList

        List<SubmitOuterClass.IngressConfig> getIngressList()
         Services can be provided either as Armada-specific config objects or as proper k8s objects.
         These options are exclusive, i.e., if either ingress or services is provided,
         then neither of k8s_ingress or k8s_service can be provided, and vice versa.
         
        repeated .api.IngressConfig ingress = 14;
      • getIngress

        SubmitOuterClass.IngressConfig getIngress​(int index)
         Services can be provided either as Armada-specific config objects or as proper k8s objects.
         These options are exclusive, i.e., if either ingress or services is provided,
         then neither of k8s_ingress or k8s_service can be provided, and vice versa.
         
        repeated .api.IngressConfig ingress = 14;
      • getIngressCount

        int getIngressCount()
         Services can be provided either as Armada-specific config objects or as proper k8s objects.
         These options are exclusive, i.e., if either ingress or services is provided,
         then neither of k8s_ingress or k8s_service can be provided, and vice versa.
         
        repeated .api.IngressConfig ingress = 14;
      • getIngressOrBuilderList

        List<? extends SubmitOuterClass.IngressConfigOrBuilder> getIngressOrBuilderList()
         Services can be provided either as Armada-specific config objects or as proper k8s objects.
         These options are exclusive, i.e., if either ingress or services is provided,
         then neither of k8s_ingress or k8s_service can be provided, and vice versa.
         
        repeated .api.IngressConfig ingress = 14;
      • getIngressOrBuilder

        SubmitOuterClass.IngressConfigOrBuilder getIngressOrBuilder​(int index)
         Services can be provided either as Armada-specific config objects or as proper k8s objects.
         These options are exclusive, i.e., if either ingress or services is provided,
         then neither of k8s_ingress or k8s_service can be provided, and vice versa.
         
        repeated .api.IngressConfig ingress = 14;
      • getServicesCount

        int getServicesCount()
        repeated .api.ServiceConfig services = 16;
      • getK8SIngressList

        List<Generated.Ingress> getK8SIngressList()
        repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;
      • getK8SIngress

        Generated.Ingress getK8SIngress​(int index)
        repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;
      • getK8SIngressCount

        int getK8SIngressCount()
        repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;
      • getK8SIngressOrBuilderList

        List<? extends Generated.IngressOrBuilder> getK8SIngressOrBuilderList()
        repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;
      • getK8SIngressOrBuilder

        Generated.IngressOrBuilder getK8SIngressOrBuilder​(int index)
        repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;
      • getK8SServiceList

        List<Generated.Service> getK8SServiceList()
        repeated .k8s.io.api.core.v1.Service k8s_service = 18;
      • getK8SService

        Generated.Service getK8SService​(int index)
        repeated .k8s.io.api.core.v1.Service k8s_service = 18;
      • getK8SServiceCount

        int getK8SServiceCount()
        repeated .k8s.io.api.core.v1.Service k8s_service = 18;
      • getK8SServiceOrBuilderList

        List<? extends Generated.ServiceOrBuilder> getK8SServiceOrBuilderList()
        repeated .k8s.io.api.core.v1.Service k8s_service = 18;
      • getK8SServiceOrBuilder

        Generated.ServiceOrBuilder getK8SServiceOrBuilder​(int index)
        repeated .k8s.io.api.core.v1.Service k8s_service = 18;
      • getScheduler

        String getScheduler()
         Indicates which scheduler should manage this job.
         If empty, the default scheduler is used.
         
        string scheduler = 20;
        Returns:
        The scheduler.
      • getSchedulerBytes

        com.google.protobuf.ByteString getSchedulerBytes()
         Indicates which scheduler should manage this job.
         If empty, the default scheduler is used.
         
        string scheduler = 20;
        Returns:
        The bytes for scheduler.
      • hasExperimentalPriceInfo

        boolean hasExperimentalPriceInfo()
        .api.ExperimentalPriceInfo experimentalPriceInfo = 30;
        Returns:
        Whether the experimentalPriceInfo field is set.