Package com.google.cloud.batch.v1alpha
Class Job.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Job.Builder>
com.google.cloud.batch.v1alpha.Job.Builder
- All Implemented Interfaces:
JobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Job
public static final class Job.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Job.Builder>
implements JobOrBuilder
The Cloud Batch Job description.Protobuf type
google.cloud.batch.v1alpha.Job-
Method Summary
Modifier and TypeMethodDescriptionaddAllDependencies(Iterable<? extends JobDependency> values) At least one of the dependencies must be satisfied before the Job is scheduled to run.addAllNotifications(Iterable<? extends JobNotification> values) Notification configurations.addAllTaskGroups(Iterable<? extends TaskGroup> values) Required.addDependencies(int index, JobDependency value) At least one of the dependencies must be satisfied before the Job is scheduled to run.addDependencies(int index, JobDependency.Builder builderForValue) At least one of the dependencies must be satisfied before the Job is scheduled to run.addDependencies(JobDependency value) At least one of the dependencies must be satisfied before the Job is scheduled to run.addDependencies(JobDependency.Builder builderForValue) At least one of the dependencies must be satisfied before the Job is scheduled to run.At least one of the dependencies must be satisfied before the Job is scheduled to run.addDependenciesBuilder(int index) At least one of the dependencies must be satisfied before the Job is scheduled to run.addNotifications(int index, JobNotification value) Notification configurations.addNotifications(int index, JobNotification.Builder builderForValue) Notification configurations.addNotifications(JobNotification value) Notification configurations.addNotifications(JobNotification.Builder builderForValue) Notification configurations.Notification configurations.addNotificationsBuilder(int index) Notification configurations.addTaskGroups(int index, TaskGroup value) Required.addTaskGroups(int index, TaskGroup.Builder builderForValue) Required.addTaskGroups(TaskGroup value) Required.addTaskGroups(TaskGroup.Builder builderForValue) Required.Required.addTaskGroupsBuilder(int index) Required.build()clear()Compute resource allocation for all TaskGroups in the Job.Output only.At least one of the dependencies must be satisfied before the Job is scheduled to run.Log preservation policy for the Job.Output only.Deprecated.Notification configurations.Priority of the Job.Scheduling policy for TaskGroups in the job.Output only.Required.clearUid()Output only.Output only.booleancontainsLabels(String key) Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.Compute resource allocation for all TaskGroups in the Job.Compute resource allocation for all TaskGroups in the Job.Compute resource allocation for all TaskGroups in the Job.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDependencies(int index) At least one of the dependencies must be satisfied before the Job is scheduled to run.getDependenciesBuilder(int index) At least one of the dependencies must be satisfied before the Job is scheduled to run.At least one of the dependencies must be satisfied before the Job is scheduled to run.intAt least one of the dependencies must be satisfied before the Job is scheduled to run.At least one of the dependencies must be satisfied before the Job is scheduled to run.getDependenciesOrBuilder(int index) At least one of the dependencies must be satisfied before the Job is scheduled to run.List<? extends JobDependencyOrBuilder>At least one of the dependencies must be satisfied before the Job is scheduled to run.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intCustom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.getLabelsOrDefault(String key, String defaultValue) Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.getLabelsOrThrow(String key) Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.Log preservation policy for the Job.Log preservation policy for the Job.Log preservation policy for the Job.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated.Deprecated.Deprecated.getNotifications(int index) Notification configurations.getNotificationsBuilder(int index) Notification configurations.Notification configurations.intNotification configurations.Notification configurations.getNotificationsOrBuilder(int index) Notification configurations.List<? extends JobNotificationOrBuilder>Notification configurations.longPriority of the Job.Scheduling policy for TaskGroups in the job.intScheduling policy for TaskGroups in the job.Output only.Output only.Output only.getTaskGroups(int index) Required.getTaskGroupsBuilder(int index) Required.Required.intRequired.Required.getTaskGroupsOrBuilder(int index) Required.List<? extends TaskGroupOrBuilder>Required.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanCompute resource allocation for all TaskGroups in the Job.booleanOutput only.booleanLog preservation policy for the Job.booleanDeprecated.google.cloud.batch.v1alpha.Job.notification is deprecated.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanCompute resource allocation for all TaskGroups in the Job.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLogsPolicy(LogsPolicy value) Log preservation policy for the Job.mergeNotification(JobNotification value) Deprecated.mergeStatus(JobStatus value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.removeDependencies(int index) At least one of the dependencies must be satisfied before the Job is scheduled to run.removeLabels(String key) Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates.removeNotifications(int index) Notification configurations.removeTaskGroups(int index) Required.Compute resource allocation for all TaskGroups in the Job.setAllocationPolicy(AllocationPolicy.Builder builderForValue) Compute resource allocation for all TaskGroups in the Job.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDependencies(int index, JobDependency value) At least one of the dependencies must be satisfied before the Job is scheduled to run.setDependencies(int index, JobDependency.Builder builderForValue) At least one of the dependencies must be satisfied before the Job is scheduled to run.setLogsPolicy(LogsPolicy value) Log preservation policy for the Job.setLogsPolicy(LogsPolicy.Builder builderForValue) Log preservation policy for the Job.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNotification(JobNotification value) Deprecated.setNotification(JobNotification.Builder builderForValue) Deprecated.setNotifications(int index, JobNotification value) Notification configurations.setNotifications(int index, JobNotification.Builder builderForValue) Notification configurations.setPriority(long value) Priority of the Job.Scheduling policy for TaskGroups in the job.setSchedulingPolicyValue(int value) Scheduling policy for TaskGroups in the job.Output only.setStatus(JobStatus.Builder builderForValue) Output only.setTaskGroups(int index, TaskGroup value) Required.setTaskGroups(int index, TaskGroup.Builder builderForValue) Required.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>- Throws:
IOException
-
getName
Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceJobOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
Output only. A system generated unique ID for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceJobOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. A system generated unique ID for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceJobOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. A system generated unique ID for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. A system generated unique ID for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. A system generated unique ID for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getPriority
public long getPriority()Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
int64 priority = 3;- Specified by:
getPriorityin interfaceJobOrBuilder- Returns:
- The priority.
-
setPriority
Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
int64 priority = 3;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
int64 priority = 3;- Returns:
- This builder for chaining.
-
getTaskGroupsList
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskGroupsListin interfaceJobOrBuilder
-
getTaskGroupsCount
public int getTaskGroupsCount()Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskGroupsCountin interfaceJobOrBuilder
-
getTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskGroupsin interfaceJobOrBuilder
-
setTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
setTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
addTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
addTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
addTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
addTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
addAllTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
removeTaskGroups
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
getTaskGroupsBuilder
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
getTaskGroupsOrBuilder
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskGroupsOrBuilderin interfaceJobOrBuilder
-
getTaskGroupsOrBuilderList
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskGroupsOrBuilderListin interfaceJobOrBuilder
-
addTaskGroupsBuilder
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
addTaskGroupsBuilder
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
getTaskGroupsBuilderList
Required. TaskGroups in the Job. Only one TaskGroup is supported now.
repeated .google.cloud.batch.v1alpha.TaskGroup task_groups = 4 [(.google.api.field_behavior) = REQUIRED]; -
getSchedulingPolicyValue
public int getSchedulingPolicyValue()Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;- Specified by:
getSchedulingPolicyValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for schedulingPolicy.
-
setSchedulingPolicyValue
Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;- Parameters:
value- The enum numeric value on the wire for schedulingPolicy to set.- Returns:
- This builder for chaining.
-
getSchedulingPolicy
Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;- Specified by:
getSchedulingPolicyin interfaceJobOrBuilder- Returns:
- The schedulingPolicy.
-
setSchedulingPolicy
Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;- Parameters:
value- The schedulingPolicy to set.- Returns:
- This builder for chaining.
-
clearSchedulingPolicy
Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;- Returns:
- This builder for chaining.
-
getDependenciesList
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6;- Specified by:
getDependenciesListin interfaceJobOrBuilder
-
getDependenciesCount
public int getDependenciesCount()At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6;- Specified by:
getDependenciesCountin interfaceJobOrBuilder
-
getDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6;- Specified by:
getDependenciesin interfaceJobOrBuilder
-
setDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
setDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
addDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
addDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
addDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
addDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
addAllDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
clearDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
removeDependencies
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
getDependenciesBuilder
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
getDependenciesOrBuilder
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6;- Specified by:
getDependenciesOrBuilderin interfaceJobOrBuilder
-
getDependenciesOrBuilderList
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6;- Specified by:
getDependenciesOrBuilderListin interfaceJobOrBuilder
-
addDependenciesBuilder
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
addDependenciesBuilder
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
getDependenciesBuilderList
At least one of the dependencies must be satisfied before the Job is scheduled to run. Only one JobDependency is supported now. Not yet implemented.
repeated .google.cloud.batch.v1alpha.JobDependency dependencies = 6; -
hasAllocationPolicy
public boolean hasAllocationPolicy()Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;- Specified by:
hasAllocationPolicyin interfaceJobOrBuilder- Returns:
- Whether the allocationPolicy field is set.
-
getAllocationPolicy
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;- Specified by:
getAllocationPolicyin interfaceJobOrBuilder- Returns:
- The allocationPolicy.
-
setAllocationPolicy
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7; -
setAllocationPolicy
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7; -
mergeAllocationPolicy
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7; -
clearAllocationPolicy
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7; -
getAllocationPolicyBuilder
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7; -
getAllocationPolicyOrBuilder
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;- Specified by:
getAllocationPolicyOrBuilderin interfaceJobOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:JobOrBuilderCustom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceJobOrBuilder
-
containsLabels
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceJobOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceJobOrBuilder
-
getLabelsMap
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceJobOrBuilder
-
getLabelsOrDefault
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceJobOrBuilder
-
getLabelsOrThrow
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceJobOrBuilder
-
clearLabels
-
removeLabels
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8; -
putAllLabels
Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
map<string, string> labels = 8; -
hasStatus
public boolean hasStatus()Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatusin interfaceJobOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceJobOrBuilder- Returns:
- The status.
-
setStatus
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStatus
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStatus
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStatus
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusBuilder
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusOrBuilder
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusOrBuilderin interfaceJobOrBuilder
-
hasNotification
Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated. See google/cloud/batch/v1alpha/job.proto;l=98Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];- Specified by:
hasNotificationin interfaceJobOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated. See google/cloud/batch/v1alpha/job.proto;l=98Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];- Specified by:
getNotificationin interfaceJobOrBuilder- Returns:
- The notification.
-
setNotification
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true]; -
setNotification
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true]; -
mergeNotification
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true]; -
clearNotification
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true]; -
getNotificationBuilder
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true]; -
getNotificationOrBuilder
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];- Specified by:
getNotificationOrBuilderin interfaceJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceJobOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceJobOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceJobOrBuilder
-
hasLogsPolicy
public boolean hasLogsPolicy()Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;- Specified by:
hasLogsPolicyin interfaceJobOrBuilder- Returns:
- Whether the logsPolicy field is set.
-
getLogsPolicy
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;- Specified by:
getLogsPolicyin interfaceJobOrBuilder- Returns:
- The logsPolicy.
-
setLogsPolicy
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13; -
setLogsPolicy
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13; -
mergeLogsPolicy
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13; -
clearLogsPolicy
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13; -
getLogsPolicyBuilder
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13; -
getLogsPolicyOrBuilder
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;- Specified by:
getLogsPolicyOrBuilderin interfaceJobOrBuilder
-
getNotificationsList
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsListin interfaceJobOrBuilder
-
getNotificationsCount
public int getNotificationsCount()Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsCountin interfaceJobOrBuilder
-
getNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsin interfaceJobOrBuilder
-
setNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
setNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
addNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
addNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
addNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
addNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
addAllNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
clearNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
removeNotifications
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
getNotificationsBuilder
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
getNotificationsOrBuilder
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsOrBuilderin interfaceJobOrBuilder
-
getNotificationsOrBuilderList
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsOrBuilderListin interfaceJobOrBuilder
-
addNotificationsBuilder
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
addNotificationsBuilder
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14; -
getNotificationsBuilderList
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-