Package api
Interface SubmitOuterClass.JobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubmitOuterClass.Job,SubmitOuterClass.Job.Builder
- Enclosing class:
- SubmitOuterClass
public static interface SubmitOuterClass.JobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)map<string, string> annotations = 10;booleancontainsLabels(String key)map<string, string> labels = 9;booleancontainsRequiredNodeLabels(String key)Deprecated.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()map<string, string> annotations = 10;Map<String,String>getAnnotationsMap()map<string, string> annotations = 10;StringgetAnnotationsOrDefault(String key, String defaultValue)map<string, string> annotations = 10;StringgetAnnotationsOrThrow(String key)map<string, string> annotations = 10;StringgetClientId()string client_id = 13;com.google.protobuf.ByteStringgetClientIdBytes()string client_id = 13;com.google.protobuf.ByteStringgetCompressedQueueOwnershipUserGroups()bytes compressed_queue_ownership_user_groups = 19;com.google.protobuf.TimestampgetCreated().google.protobuf.Timestamp created = 6;com.google.protobuf.TimestampOrBuildergetCreatedOrBuilder().google.protobuf.Timestamp created = 6;SubmitOuterClass.ExperimentalPriceInfogetExperimentalPriceInfo().api.ExperimentalPriceInfo experimentalPriceInfo = 30;SubmitOuterClass.ExperimentalPriceInfoOrBuildergetExperimentalPriceInfoOrBuilder().api.ExperimentalPriceInfo experimentalPriceInfo = 30;StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;SubmitOuterClass.IngressConfiggetIngress(int index)Services can be provided either as Armada-specific config objects or as proper k8s objects.intgetIngressCount()Services can be provided either as Armada-specific config objects or as proper k8s objects.List<SubmitOuterClass.IngressConfig>getIngressList()Services can be provided either as Armada-specific config objects or as proper k8s objects.SubmitOuterClass.IngressConfigOrBuildergetIngressOrBuilder(int index)Services can be provided either as Armada-specific config objects or as proper k8s objects.List<? extends SubmitOuterClass.IngressConfigOrBuilder>getIngressOrBuilderList()Services can be provided either as Armada-specific config objects or as proper k8s objects.StringgetJobSetId()string job_set_id = 2;com.google.protobuf.ByteStringgetJobSetIdBytes()string job_set_id = 2;Generated.IngressgetK8SIngress(int index)repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;intgetK8SIngressCount()repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;List<Generated.Ingress>getK8SIngressList()repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;Generated.IngressOrBuildergetK8SIngressOrBuilder(int index)repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;List<? extends Generated.IngressOrBuilder>getK8SIngressOrBuilderList()repeated .k8s.io.api.networking.v1.Ingress k8s_ingress = 17;Generated.ServicegetK8SService(int index)repeated .k8s.io.api.core.v1.Service k8s_service = 18;intgetK8SServiceCount()repeated .k8s.io.api.core.v1.Service k8s_service = 18;List<Generated.Service>getK8SServiceList()repeated .k8s.io.api.core.v1.Service k8s_service = 18;Generated.ServiceOrBuildergetK8SServiceOrBuilder(int index)repeated .k8s.io.api.core.v1.Service k8s_service = 18;List<? extends Generated.ServiceOrBuilder>getK8SServiceOrBuilderList()repeated .k8s.io.api.core.v1.Service k8s_service = 18;Map<String,String>getLabels()Deprecated.intgetLabelsCount()map<string, string> labels = 9;Map<String,String>getLabelsMap()map<string, string> labels = 9;StringgetLabelsOrDefault(String key, String defaultValue)map<string, string> labels = 9;StringgetLabelsOrThrow(String key)map<string, string> labels = 9;StringgetNamespace()string namespace = 7;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 7;StringgetOwner()string owner = 8;com.google.protobuf.ByteStringgetOwnerBytes()string owner = 8;Generated.PodSpecgetPodSpec()Deprecated.api.Job.pod_spec is deprecated.Generated.PodSpecOrBuildergetPodSpecOrBuilder()Deprecated.Generated.PodSpecgetPodSpecs(int index)repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;intgetPodSpecsCount()repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;List<Generated.PodSpec>getPodSpecsList()repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;Generated.PodSpecOrBuildergetPodSpecsOrBuilder(int index)repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;List<? extends Generated.PodSpecOrBuilder>getPodSpecsOrBuilderList()repeated .k8s.io.api.core.v1.PodSpec pod_specs = 12;doublegetPriority()double priority = 4;StringgetQueue()string queue = 3;com.google.protobuf.ByteStringgetQueueBytes()string queue = 3;StringgetQueueOwnershipUserGroups(int index)repeated string queue_ownership_user_groups = 15;com.google.protobuf.ByteStringgetQueueOwnershipUserGroupsBytes(int index)repeated string queue_ownership_user_groups = 15;intgetQueueOwnershipUserGroupsCount()repeated string queue_ownership_user_groups = 15;List<String>getQueueOwnershipUserGroupsList()repeated string queue_ownership_user_groups = 15;Map<String,String>getRequiredNodeLabels()Deprecated.intgetRequiredNodeLabelsCount()Deprecated.Map<String,String>getRequiredNodeLabelsMap()Deprecated.StringgetRequiredNodeLabelsOrDefault(String key, String defaultValue)Deprecated.StringgetRequiredNodeLabelsOrThrow(String key)Deprecated.StringgetScheduler()Indicates which scheduler should manage this job.com.google.protobuf.ByteStringgetSchedulerBytes()Indicates which scheduler should manage this job.Generated.ResourceRequirementsgetSchedulingResourceRequirements()Resource requests and limits necessary for scheduling the main pod of this job.Generated.ResourceRequirementsOrBuildergetSchedulingResourceRequirementsOrBuilder()Resource requests and limits necessary for scheduling the main pod of this job.SubmitOuterClass.ServiceConfiggetServices(int index)repeated .api.ServiceConfig services = 16;intgetServicesCount()repeated .api.ServiceConfig services = 16;List<SubmitOuterClass.ServiceConfig>getServicesList()repeated .api.ServiceConfig services = 16;SubmitOuterClass.ServiceConfigOrBuildergetServicesOrBuilder(int index)repeated .api.ServiceConfig services = 16;List<? extends SubmitOuterClass.ServiceConfigOrBuilder>getServicesOrBuilderList()repeated .api.ServiceConfig services = 16;booleanhasCreated().google.protobuf.Timestamp created = 6;booleanhasExperimentalPriceInfo().api.ExperimentalPriceInfo experimentalPriceInfo = 30;booleanhasPodSpec()Deprecated.api.Job.pod_spec is deprecated.booleanhasSchedulingResourceRequirements()Resource requests and limits necessary for scheduling the main pod of this job.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
map<string, string> labels = 9;
-
getAnnotationsCount
int getAnnotationsCount()
map<string, string> annotations = 10;
-
containsAnnotations
boolean containsAnnotations(String key)
map<string, string> annotations = 10;
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.
-
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];
-
getRequiredNodeLabels
@Deprecated Map<String,String> getRequiredNodeLabels()
Deprecated.UsegetRequiredNodeLabelsMap()instead.
-
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=121Use 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=121Use PodSpecs instead
.k8s.io.api.core.v1.PodSpec pod_spec = 5 [deprecated = true];- Returns:
- The podSpec.
-
getPodSpecOrBuilder
@Deprecated Generated.PodSpecOrBuilder getPodSpecOrBuilder()
Deprecated.Use PodSpecs instead
.k8s.io.api.core.v1.PodSpec pod_spec = 5 [deprecated = true];
-
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;
-
getServicesList
List<SubmitOuterClass.ServiceConfig> getServicesList()
repeated .api.ServiceConfig services = 16;
-
getServices
SubmitOuterClass.ServiceConfig getServices(int index)
repeated .api.ServiceConfig services = 16;
-
getServicesCount
int getServicesCount()
repeated .api.ServiceConfig services = 16;
-
getServicesOrBuilderList
List<? extends SubmitOuterClass.ServiceConfigOrBuilder> getServicesOrBuilderList()
repeated .api.ServiceConfig services = 16;
-
getServicesOrBuilder
SubmitOuterClass.ServiceConfigOrBuilder getServicesOrBuilder(int index)
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.
-
getExperimentalPriceInfo
SubmitOuterClass.ExperimentalPriceInfo getExperimentalPriceInfo()
.api.ExperimentalPriceInfo experimentalPriceInfo = 30;- Returns:
- The experimentalPriceInfo.
-
getExperimentalPriceInfoOrBuilder
SubmitOuterClass.ExperimentalPriceInfoOrBuilder getExperimentalPriceInfoOrBuilder()
.api.ExperimentalPriceInfo experimentalPriceInfo = 30;
-
-