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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
The Cloud Batch Job description.
Protobuf typegoogle.cloud.batch.v1alpha.Job
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Job.Builder
addAllDependencies(Iterable<? extends JobDependency> values)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
addAllNotifications(Iterable<? extends JobNotification> values)
Notification configurations.Job.Builder
addAllTaskGroups(Iterable<? extends TaskGroup> values)
Required.Job.Builder
addDependencies(int index, JobDependency value)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
addDependencies(int index, JobDependency.Builder builderForValue)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
addDependencies(JobDependency value)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
addDependencies(JobDependency.Builder builderForValue)
At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependency.Builder
addDependenciesBuilder()
At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependency.Builder
addDependenciesBuilder(int index)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
addNotifications(int index, JobNotification value)
Notification configurations.Job.Builder
addNotifications(int index, JobNotification.Builder builderForValue)
Notification configurations.Job.Builder
addNotifications(JobNotification value)
Notification configurations.Job.Builder
addNotifications(JobNotification.Builder builderForValue)
Notification configurations.JobNotification.Builder
addNotificationsBuilder()
Notification configurations.JobNotification.Builder
addNotificationsBuilder(int index)
Notification configurations.Job.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job.Builder
addTaskGroups(int index, TaskGroup value)
Required.Job.Builder
addTaskGroups(int index, TaskGroup.Builder builderForValue)
Required.Job.Builder
addTaskGroups(TaskGroup value)
Required.Job.Builder
addTaskGroups(TaskGroup.Builder builderForValue)
Required.TaskGroup.Builder
addTaskGroupsBuilder()
Required.TaskGroup.Builder
addTaskGroupsBuilder(int index)
Required.Job
build()
Job
buildPartial()
Job.Builder
clear()
Job.Builder
clearAllocationPolicy()
Compute resource allocation for all TaskGroups in the Job.Job.Builder
clearCreateTime()
Output only.Job.Builder
clearDependencies()
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Job.Builder
clearLabels()
Job.Builder
clearLogsPolicy()
Log preservation policy for the Job.Job.Builder
clearName()
Output only.Job.Builder
clearNotification()
Deprecated.Job.Builder
clearNotifications()
Notification configurations.Job.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Job.Builder
clearPriority()
Priority of the Job.Job.Builder
clearSchedulingPolicy()
Scheduling policy for TaskGroups in the job.Job.Builder
clearStatus()
Output only.Job.Builder
clearTaskGroups()
Required.Job.Builder
clearUid()
Output only.Job.Builder
clearUpdateTime()
Output only.Job.Builder
clone()
boolean
containsLabels(String key)
Labels for the Job.AllocationPolicy
getAllocationPolicy()
Compute resource allocation for all TaskGroups in the Job.AllocationPolicy.Builder
getAllocationPolicyBuilder()
Compute resource allocation for all TaskGroups in the Job.AllocationPolicyOrBuilder
getAllocationPolicyOrBuilder()
Compute resource allocation for all TaskGroups in the Job.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Job
getDefaultInstanceForType()
JobDependency
getDependencies(int index)
At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependency.Builder
getDependenciesBuilder(int index)
At least one of the dependencies must be satisfied before the Job is scheduled to run.List<JobDependency.Builder>
getDependenciesBuilderList()
At least one of the dependencies must be satisfied before the Job is scheduled to run.int
getDependenciesCount()
At least one of the dependencies must be satisfied before the Job is scheduled to run.List<JobDependency>
getDependenciesList()
At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependencyOrBuilder
getDependenciesOrBuilder(int index)
At least one of the dependencies must be satisfied before the Job is scheduled to run.List<? extends JobDependencyOrBuilder>
getDependenciesOrBuilderList()
At least one of the dependencies must be satisfied before the Job is scheduled to run.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels for the Job.Map<String,String>
getLabelsMap()
Labels for the Job.String
getLabelsOrDefault(String key, String defaultValue)
Labels for the Job.String
getLabelsOrThrow(String key)
Labels for the Job.LogsPolicy
getLogsPolicy()
Log preservation policy for the Job.LogsPolicy.Builder
getLogsPolicyBuilder()
Log preservation policy for the Job.LogsPolicyOrBuilder
getLogsPolicyOrBuilder()
Log preservation policy for the Job.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.JobNotification
getNotification()
Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated.JobNotification.Builder
getNotificationBuilder()
Deprecated.JobNotificationOrBuilder
getNotificationOrBuilder()
Deprecated.JobNotification
getNotifications(int index)
Notification configurations.JobNotification.Builder
getNotificationsBuilder(int index)
Notification configurations.List<JobNotification.Builder>
getNotificationsBuilderList()
Notification configurations.int
getNotificationsCount()
Notification configurations.List<JobNotification>
getNotificationsList()
Notification configurations.JobNotificationOrBuilder
getNotificationsOrBuilder(int index)
Notification configurations.List<? extends JobNotificationOrBuilder>
getNotificationsOrBuilderList()
Notification configurations.long
getPriority()
Priority of the Job.Job.SchedulingPolicy
getSchedulingPolicy()
Scheduling policy for TaskGroups in the job.int
getSchedulingPolicyValue()
Scheduling policy for TaskGroups in the job.JobStatus
getStatus()
Output only.JobStatus.Builder
getStatusBuilder()
Output only.JobStatusOrBuilder
getStatusOrBuilder()
Output only.TaskGroup
getTaskGroups(int index)
Required.TaskGroup.Builder
getTaskGroupsBuilder(int index)
Required.List<TaskGroup.Builder>
getTaskGroupsBuilderList()
Required.int
getTaskGroupsCount()
Required.List<TaskGroup>
getTaskGroupsList()
Required.TaskGroupOrBuilder
getTaskGroupsOrBuilder(int index)
Required.List<? extends TaskGroupOrBuilder>
getTaskGroupsOrBuilderList()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAllocationPolicy()
Compute resource allocation for all TaskGroups in the Job.boolean
hasCreateTime()
Output only.boolean
hasLogsPolicy()
Log preservation policy for the Job.boolean
hasNotification()
Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated.boolean
hasStatus()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Job.Builder
mergeAllocationPolicy(AllocationPolicy value)
Compute resource allocation for all TaskGroups in the Job.Job.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeFrom(Job other)
Job.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Job.Builder
mergeFrom(com.google.protobuf.Message other)
Job.Builder
mergeLogsPolicy(LogsPolicy value)
Log preservation policy for the Job.Job.Builder
mergeNotification(JobNotification value)
Deprecated.Job.Builder
mergeStatus(JobStatus value)
Output only.Job.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Job.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
putAllLabels(Map<String,String> values)
Labels for the Job.Job.Builder
putLabels(String key, String value)
Labels for the Job.Job.Builder
removeDependencies(int index)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
removeLabels(String key)
Labels for the Job.Job.Builder
removeNotifications(int index)
Notification configurations.Job.Builder
removeTaskGroups(int index)
Required.Job.Builder
setAllocationPolicy(AllocationPolicy value)
Compute resource allocation for all TaskGroups in the Job.Job.Builder
setAllocationPolicy(AllocationPolicy.Builder builderForValue)
Compute resource allocation for all TaskGroups in the Job.Job.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setDependencies(int index, JobDependency value)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
setDependencies(int index, JobDependency.Builder builderForValue)
At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job.Builder
setLogsPolicy(LogsPolicy value)
Log preservation policy for the Job.Job.Builder
setLogsPolicy(LogsPolicy.Builder builderForValue)
Log preservation policy for the Job.Job.Builder
setName(String value)
Output only.Job.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setNotification(JobNotification value)
Deprecated.Job.Builder
setNotification(JobNotification.Builder builderForValue)
Deprecated.Job.Builder
setNotifications(int index, JobNotification value)
Notification configurations.Job.Builder
setNotifications(int index, JobNotification.Builder builderForValue)
Notification configurations.Job.Builder
setPriority(long value)
Priority of the Job.Job.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Job.Builder
setSchedulingPolicy(Job.SchedulingPolicy value)
Scheduling policy for TaskGroups in the job.Job.Builder
setSchedulingPolicyValue(int value)
Scheduling policy for TaskGroups in the job.Job.Builder
setStatus(JobStatus value)
Output only.Job.Builder
setStatus(JobStatus.Builder builderForValue)
Output only.Job.Builder
setTaskGroups(int index, TaskGroup value)
Required.Job.Builder
setTaskGroups(int index, TaskGroup.Builder builderForValue)
Required.Job.Builder
setUid(String value)
Output only.Job.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Job.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
- Throws:
IOException
-
getName
public String 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:
getName
in 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:
getNameBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for name.
-
setName
public Job.Builder setName(String value)
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
public Job.Builder 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
public Job.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String getUid()
Output only. A system generated unique ID (in UUID4 format) for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceJobOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. A system generated unique ID (in UUID4 format) for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Job.Builder setUid(String value)
Output only. A system generated unique ID (in UUID4 format) for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Job.Builder clearUid()
Output only. A system generated unique ID (in UUID4 format) for the Job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Job.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. A system generated unique ID (in UUID4 format) 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:
getPriority
in interfaceJobOrBuilder
- Returns:
- The priority.
-
setPriority
public Job.Builder setPriority(long value)
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
public Job.Builder 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
public List<TaskGroup> 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:
getTaskGroupsList
in 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:
getTaskGroupsCount
in interfaceJobOrBuilder
-
getTaskGroups
public TaskGroup getTaskGroups(int index)
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:
getTaskGroups
in interfaceJobOrBuilder
-
setTaskGroups
public Job.Builder setTaskGroups(int index, TaskGroup value)
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
public Job.Builder setTaskGroups(int index, TaskGroup.Builder builderForValue)
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
public Job.Builder addTaskGroups(TaskGroup value)
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
public Job.Builder addTaskGroups(int index, TaskGroup value)
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
public Job.Builder addTaskGroups(TaskGroup.Builder builderForValue)
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
public Job.Builder addTaskGroups(int index, TaskGroup.Builder builderForValue)
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
public Job.Builder addAllTaskGroups(Iterable<? extends TaskGroup> values)
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
public Job.Builder 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
public Job.Builder removeTaskGroups(int index)
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
public TaskGroup.Builder getTaskGroupsBuilder(int index)
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
public TaskGroupOrBuilder getTaskGroupsOrBuilder(int index)
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:
getTaskGroupsOrBuilder
in interfaceJobOrBuilder
-
getTaskGroupsOrBuilderList
public List<? extends TaskGroupOrBuilder> 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:
getTaskGroupsOrBuilderList
in interfaceJobOrBuilder
-
addTaskGroupsBuilder
public TaskGroup.Builder 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
public TaskGroup.Builder addTaskGroupsBuilder(int index)
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
public List<TaskGroup.Builder> 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:
getSchedulingPolicyValue
in interfaceJobOrBuilder
- Returns:
- The enum numeric value on the wire for schedulingPolicy.
-
setSchedulingPolicyValue
public Job.Builder setSchedulingPolicyValue(int value)
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
public Job.SchedulingPolicy getSchedulingPolicy()
Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;
- Specified by:
getSchedulingPolicy
in interfaceJobOrBuilder
- Returns:
- The schedulingPolicy.
-
setSchedulingPolicy
public Job.Builder setSchedulingPolicy(Job.SchedulingPolicy value)
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
public Job.Builder clearSchedulingPolicy()
Scheduling policy for TaskGroups in the job.
.google.cloud.batch.v1alpha.Job.SchedulingPolicy scheduling_policy = 5;
- Returns:
- This builder for chaining.
-
getDependenciesList
public List<JobDependency> 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:
getDependenciesList
in 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:
getDependenciesCount
in interfaceJobOrBuilder
-
getDependencies
public JobDependency getDependencies(int index)
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:
getDependencies
in interfaceJobOrBuilder
-
setDependencies
public Job.Builder setDependencies(int index, JobDependency value)
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
public Job.Builder setDependencies(int index, JobDependency.Builder builderForValue)
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
public Job.Builder addDependencies(JobDependency value)
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
public Job.Builder addDependencies(int index, JobDependency value)
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
public Job.Builder addDependencies(JobDependency.Builder builderForValue)
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
public Job.Builder addDependencies(int index, JobDependency.Builder builderForValue)
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
public Job.Builder addAllDependencies(Iterable<? extends JobDependency> values)
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
public Job.Builder 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
public Job.Builder removeDependencies(int index)
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
public JobDependency.Builder getDependenciesBuilder(int index)
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
public JobDependencyOrBuilder getDependenciesOrBuilder(int index)
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:
getDependenciesOrBuilder
in interfaceJobOrBuilder
-
getDependenciesOrBuilderList
public List<? extends JobDependencyOrBuilder> 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:
getDependenciesOrBuilderList
in interfaceJobOrBuilder
-
addDependenciesBuilder
public JobDependency.Builder 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
public JobDependency.Builder addDependenciesBuilder(int index)
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
public List<JobDependency.Builder> 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:
hasAllocationPolicy
in interfaceJobOrBuilder
- Returns:
- Whether the allocationPolicy field is set.
-
getAllocationPolicy
public AllocationPolicy getAllocationPolicy()
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
- Specified by:
getAllocationPolicy
in interfaceJobOrBuilder
- Returns:
- The allocationPolicy.
-
setAllocationPolicy
public Job.Builder setAllocationPolicy(AllocationPolicy value)
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
-
setAllocationPolicy
public Job.Builder setAllocationPolicy(AllocationPolicy.Builder builderForValue)
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
-
mergeAllocationPolicy
public Job.Builder mergeAllocationPolicy(AllocationPolicy value)
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
-
clearAllocationPolicy
public Job.Builder clearAllocationPolicy()
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
-
getAllocationPolicyBuilder
public AllocationPolicy.Builder getAllocationPolicyBuilder()
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
-
getAllocationPolicyOrBuilder
public AllocationPolicyOrBuilder getAllocationPolicyOrBuilder()
Compute resource allocation for all TaskGroups in the Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;
- Specified by:
getAllocationPolicyOrBuilder
in interfaceJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:JobOrBuilder
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
- Specified by:
getLabelsCount
in interfaceJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
- Specified by:
containsLabels
in interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
- Specified by:
getLabelsMap
in interfaceJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
- Specified by:
getLabelsOrDefault
in interfaceJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
- Specified by:
getLabelsOrThrow
in interfaceJobOrBuilder
-
clearLabels
public Job.Builder clearLabels()
-
removeLabels
public Job.Builder removeLabels(String key)
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Job.Builder putLabels(String key, String value)
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;
-
putAllLabels
public Job.Builder putAllLabels(Map<String,String> values)
Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
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:
hasStatus
in interfaceJobOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public JobStatus 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:
getStatus
in interfaceJobOrBuilder
- Returns:
- The status.
-
setStatus
public Job.Builder setStatus(JobStatus value)
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStatus
public Job.Builder setStatus(JobStatus.Builder builderForValue)
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStatus
public Job.Builder mergeStatus(JobStatus value)
Output only. Job status. It is read only for users.
.google.cloud.batch.v1alpha.JobStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStatus
public Job.Builder 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
public JobStatus.Builder 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
public JobStatusOrBuilder 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:
getStatusOrBuilder
in interfaceJobOrBuilder
-
hasNotification
@Deprecated public boolean hasNotification()
Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated. See google/cloud/batch/v1alpha/job.proto;l=96Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
- Specified by:
hasNotification
in interfaceJobOrBuilder
- Returns:
- Whether the notification field is set.
-
getNotification
@Deprecated public JobNotification getNotification()
Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated. See google/cloud/batch/v1alpha/job.proto;l=96Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
- Specified by:
getNotification
in interfaceJobOrBuilder
- Returns:
- The notification.
-
setNotification
@Deprecated public Job.Builder setNotification(JobNotification value)
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
-
setNotification
@Deprecated public Job.Builder setNotification(JobNotification.Builder builderForValue)
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
-
mergeNotification
@Deprecated public Job.Builder mergeNotification(JobNotification value)
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
-
clearNotification
@Deprecated public Job.Builder clearNotification()
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
-
getNotificationBuilder
@Deprecated public JobNotification.Builder getNotificationBuilder()
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
-
getNotificationOrBuilder
@Deprecated public JobNotificationOrBuilder getNotificationOrBuilder()
Deprecated.Deprecated: please use notifications instead.
.google.cloud.batch.v1alpha.JobNotification notification = 10 [deprecated = true];
- Specified by:
getNotificationOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in interfaceJobOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Job.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Job.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Job.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. When the Job was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Job.Builder 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in interfaceJobOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Job.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Job.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Job.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last time the Job was updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Job.Builder 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:
getUpdateTimeOrBuilder
in interfaceJobOrBuilder
-
hasLogsPolicy
public boolean hasLogsPolicy()
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
- Specified by:
hasLogsPolicy
in interfaceJobOrBuilder
- Returns:
- Whether the logsPolicy field is set.
-
getLogsPolicy
public LogsPolicy getLogsPolicy()
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
- Specified by:
getLogsPolicy
in interfaceJobOrBuilder
- Returns:
- The logsPolicy.
-
setLogsPolicy
public Job.Builder setLogsPolicy(LogsPolicy value)
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
-
setLogsPolicy
public Job.Builder setLogsPolicy(LogsPolicy.Builder builderForValue)
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
-
mergeLogsPolicy
public Job.Builder mergeLogsPolicy(LogsPolicy value)
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
-
clearLogsPolicy
public Job.Builder clearLogsPolicy()
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
-
getLogsPolicyBuilder
public LogsPolicy.Builder getLogsPolicyBuilder()
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
-
getLogsPolicyOrBuilder
public LogsPolicyOrBuilder getLogsPolicyOrBuilder()
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;
- Specified by:
getLogsPolicyOrBuilder
in interfaceJobOrBuilder
-
getNotificationsList
public List<JobNotification> getNotificationsList()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
- Specified by:
getNotificationsList
in interfaceJobOrBuilder
-
getNotificationsCount
public int getNotificationsCount()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
- Specified by:
getNotificationsCount
in interfaceJobOrBuilder
-
getNotifications
public JobNotification getNotifications(int index)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
- Specified by:
getNotifications
in interfaceJobOrBuilder
-
setNotifications
public Job.Builder setNotifications(int index, JobNotification value)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
setNotifications
public Job.Builder setNotifications(int index, JobNotification.Builder builderForValue)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
addNotifications
public Job.Builder addNotifications(JobNotification value)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
addNotifications
public Job.Builder addNotifications(int index, JobNotification value)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
addNotifications
public Job.Builder addNotifications(JobNotification.Builder builderForValue)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
addNotifications
public Job.Builder addNotifications(int index, JobNotification.Builder builderForValue)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
addAllNotifications
public Job.Builder addAllNotifications(Iterable<? extends JobNotification> values)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
clearNotifications
public Job.Builder clearNotifications()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
removeNotifications
public Job.Builder removeNotifications(int index)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
getNotificationsBuilder
public JobNotification.Builder getNotificationsBuilder(int index)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
getNotificationsOrBuilder
public JobNotificationOrBuilder getNotificationsOrBuilder(int index)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
- Specified by:
getNotificationsOrBuilder
in interfaceJobOrBuilder
-
getNotificationsOrBuilderList
public List<? extends JobNotificationOrBuilder> getNotificationsOrBuilderList()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
- Specified by:
getNotificationsOrBuilderList
in interfaceJobOrBuilder
-
addNotificationsBuilder
public JobNotification.Builder addNotificationsBuilder()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
addNotificationsBuilder
public JobNotification.Builder addNotificationsBuilder(int index)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
getNotificationsBuilderList
public List<JobNotification.Builder> getNotificationsBuilderList()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;
-
setUnknownFields
public final Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-