Package api

Interface SubmitOuterClass.JobSubmitRequestItemOrBuilder

    • Method Detail

      • getPriority

        double getPriority()
        double priority = 1;
        Returns:
        The priority.
      • getNamespace

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        @Deprecated
        int getRequiredNodeLabelsCount()
        Deprecated.
         Use PodSpec.NodeSelector instead
         
        map<string, string> required_node_labels = 6 [deprecated = true];
      • containsRequiredNodeLabels

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

        @Deprecated
        Map<String,​String> getRequiredNodeLabelsMap()
        Deprecated.
         Use PodSpec.NodeSelector instead
         
        map<string, string> required_node_labels = 6 [deprecated = true];
      • getRequiredNodeLabelsOrDefault

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

        @Deprecated
        String getRequiredNodeLabelsOrThrow​(String key)
        Deprecated.
         Use PodSpec.NodeSelector instead
         
        map<string, string> required_node_labels = 6 [deprecated = true];
      • hasPodSpec

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

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

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

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

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

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

        int getIngressCount()
        repeated .api.IngressConfig ingress = 9;
      • getServicesCount

        int getServicesCount()
        repeated .api.ServiceConfig services = 10;
      • getScheduler

        String getScheduler()
         Indicates which scheduler should manage this job.
         If empty, the default scheduler is used.
         
        string scheduler = 11;
        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 = 11;
        Returns:
        The bytes for scheduler.
      • hasExperimentalPriceInfo

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