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.BuilderaddAllDependencies(Iterable<? extends JobDependency> values)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderaddAllNotifications(Iterable<? extends JobNotification> values)Notification configurations.Job.BuilderaddAllTaskGroups(Iterable<? extends TaskGroup> values)Required.Job.BuilderaddDependencies(int index, JobDependency value)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderaddDependencies(int index, JobDependency.Builder builderForValue)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderaddDependencies(JobDependency value)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderaddDependencies(JobDependency.Builder builderForValue)At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependency.BuilderaddDependenciesBuilder()At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependency.BuilderaddDependenciesBuilder(int index)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderaddNotifications(int index, JobNotification value)Notification configurations.Job.BuilderaddNotifications(int index, JobNotification.Builder builderForValue)Notification configurations.Job.BuilderaddNotifications(JobNotification value)Notification configurations.Job.BuilderaddNotifications(JobNotification.Builder builderForValue)Notification configurations.JobNotification.BuilderaddNotificationsBuilder()Notification configurations.JobNotification.BuilderaddNotificationsBuilder(int index)Notification configurations.Job.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Job.BuilderaddTaskGroups(int index, TaskGroup value)Required.Job.BuilderaddTaskGroups(int index, TaskGroup.Builder builderForValue)Required.Job.BuilderaddTaskGroups(TaskGroup value)Required.Job.BuilderaddTaskGroups(TaskGroup.Builder builderForValue)Required.TaskGroup.BuilderaddTaskGroupsBuilder()Required.TaskGroup.BuilderaddTaskGroupsBuilder(int index)Required.Jobbuild()JobbuildPartial()Job.Builderclear()Job.BuilderclearAllocationPolicy()Compute resource allocation for all TaskGroups in the Job.Job.BuilderclearCreateTime()Output only.Job.BuilderclearDependencies()At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Job.BuilderclearLabels()Job.BuilderclearLogsPolicy()Log preservation policy for the Job.Job.BuilderclearName()Output only.Job.BuilderclearNotification()Deprecated.Job.BuilderclearNotifications()Notification configurations.Job.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Job.BuilderclearPriority()Priority of the Job.Job.BuilderclearSchedulingPolicy()Scheduling policy for TaskGroups in the job.Job.BuilderclearStatus()Output only.Job.BuilderclearTaskGroups()Required.Job.BuilderclearUid()Output only.Job.BuilderclearUpdateTime()Output only.Job.Builderclone()booleancontainsLabels(String key)Labels for the Job.AllocationPolicygetAllocationPolicy()Compute resource allocation for all TaskGroups in the Job.AllocationPolicy.BuildergetAllocationPolicyBuilder()Compute resource allocation for all TaskGroups in the Job.AllocationPolicyOrBuildergetAllocationPolicyOrBuilder()Compute resource allocation for all TaskGroups in the Job.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.JobgetDefaultInstanceForType()JobDependencygetDependencies(int index)At least one of the dependencies must be satisfied before the Job is scheduled to run.JobDependency.BuildergetDependenciesBuilder(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.intgetDependenciesCount()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.JobDependencyOrBuildergetDependenciesOrBuilder(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.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels for the Job.Map<String,String>getLabelsMap()Labels for the Job.StringgetLabelsOrDefault(String key, String defaultValue)Labels for the Job.StringgetLabelsOrThrow(String key)Labels for the Job.LogsPolicygetLogsPolicy()Log preservation policy for the Job.LogsPolicy.BuildergetLogsPolicyBuilder()Log preservation policy for the Job.LogsPolicyOrBuildergetLogsPolicyOrBuilder()Log preservation policy for the Job.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.JobNotificationgetNotification()Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated.JobNotification.BuildergetNotificationBuilder()Deprecated.JobNotificationOrBuildergetNotificationOrBuilder()Deprecated.JobNotificationgetNotifications(int index)Notification configurations.JobNotification.BuildergetNotificationsBuilder(int index)Notification configurations.List<JobNotification.Builder>getNotificationsBuilderList()Notification configurations.intgetNotificationsCount()Notification configurations.List<JobNotification>getNotificationsList()Notification configurations.JobNotificationOrBuildergetNotificationsOrBuilder(int index)Notification configurations.List<? extends JobNotificationOrBuilder>getNotificationsOrBuilderList()Notification configurations.longgetPriority()Priority of the Job.Job.SchedulingPolicygetSchedulingPolicy()Scheduling policy for TaskGroups in the job.intgetSchedulingPolicyValue()Scheduling policy for TaskGroups in the job.JobStatusgetStatus()Output only.JobStatus.BuildergetStatusBuilder()Output only.JobStatusOrBuildergetStatusOrBuilder()Output only.TaskGroupgetTaskGroups(int index)Required.TaskGroup.BuildergetTaskGroupsBuilder(int index)Required.List<TaskGroup.Builder>getTaskGroupsBuilderList()Required.intgetTaskGroupsCount()Required.List<TaskGroup>getTaskGroupsList()Required.TaskGroupOrBuildergetTaskGroupsOrBuilder(int index)Required.List<? extends TaskGroupOrBuilder>getTaskGroupsOrBuilderList()Required.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAllocationPolicy()Compute resource allocation for all TaskGroups in the Job.booleanhasCreateTime()Output only.booleanhasLogsPolicy()Log preservation policy for the Job.booleanhasNotification()Deprecated.google.cloud.batch.v1alpha.Job.notification is deprecated.booleanhasStatus()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Job.BuildermergeAllocationPolicy(AllocationPolicy value)Compute resource allocation for all TaskGroups in the Job.Job.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildermergeFrom(Job other)Job.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Job.BuildermergeFrom(com.google.protobuf.Message other)Job.BuildermergeLogsPolicy(LogsPolicy value)Log preservation policy for the Job.Job.BuildermergeNotification(JobNotification value)Deprecated.Job.BuildermergeStatus(JobStatus value)Output only.Job.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Job.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Job.BuilderputAllLabels(Map<String,String> values)Labels for the Job.Job.BuilderputLabels(String key, String value)Labels for the Job.Job.BuilderremoveDependencies(int index)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuilderremoveLabels(String key)Labels for the Job.Job.BuilderremoveNotifications(int index)Notification configurations.Job.BuilderremoveTaskGroups(int index)Required.Job.BuildersetAllocationPolicy(AllocationPolicy value)Compute resource allocation for all TaskGroups in the Job.Job.BuildersetAllocationPolicy(AllocationPolicy.Builder builderForValue)Compute resource allocation for all TaskGroups in the Job.Job.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Job.BuildersetDependencies(int index, JobDependency value)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuildersetDependencies(int index, JobDependency.Builder builderForValue)At least one of the dependencies must be satisfied before the Job is scheduled to run.Job.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Job.BuildersetLogsPolicy(LogsPolicy value)Log preservation policy for the Job.Job.BuildersetLogsPolicy(LogsPolicy.Builder builderForValue)Log preservation policy for the Job.Job.BuildersetName(String value)Output only.Job.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Job.BuildersetNotification(JobNotification value)Deprecated.Job.BuildersetNotification(JobNotification.Builder builderForValue)Deprecated.Job.BuildersetNotifications(int index, JobNotification value)Notification configurations.Job.BuildersetNotifications(int index, JobNotification.Builder builderForValue)Notification configurations.Job.BuildersetPriority(long value)Priority of the Job.Job.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Job.BuildersetSchedulingPolicy(Job.SchedulingPolicy value)Scheduling policy for TaskGroups in the job.Job.BuildersetSchedulingPolicyValue(int value)Scheduling policy for TaskGroups in the job.Job.BuildersetStatus(JobStatus value)Output only.Job.BuildersetStatus(JobStatus.Builder builderForValue)Output only.Job.BuildersetTaskGroups(int index, TaskGroup value)Required.Job.BuildersetTaskGroups(int index, TaskGroup.Builder builderForValue)Required.Job.BuildersetUid(String value)Output only.Job.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Job.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Job.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetUpdateTime(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
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:
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
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:
getUidin 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:
getUidBytesin 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:
getPriorityin 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:
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
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:
getTaskGroupsin 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:
getTaskGroupsOrBuilderin 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:
getTaskGroupsOrBuilderListin 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:
getSchedulingPolicyValuein 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:
getSchedulingPolicyin 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:
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
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:
getDependenciesin 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:
getDependenciesOrBuilderin 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:
getDependenciesOrBuilderListin 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:
hasAllocationPolicyin 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:
getAllocationPolicyin 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:
getAllocationPolicyOrBuilderin interfaceJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:JobOrBuilderLabels 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:
getLabelsCountin 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:
containsLabelsin interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
hasStatusin 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:
getStatusin 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:
getStatusOrBuilderin 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:
hasNotificationin 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:
getNotificationin 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:
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
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:
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
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:
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
public LogsPolicy getLogsPolicy()
Log preservation policy for the Job.
.google.cloud.batch.v1alpha.LogsPolicy logs_policy = 13;- Specified by:
getLogsPolicyin 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:
getLogsPolicyOrBuilderin interfaceJobOrBuilder
-
getNotificationsList
public List<JobNotification> 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
public JobNotification getNotifications(int index)
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsin 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:
getNotificationsOrBuilderin interfaceJobOrBuilder
-
getNotificationsOrBuilderList
public List<? extends JobNotificationOrBuilder> getNotificationsOrBuilderList()
Notification configurations.
repeated .google.cloud.batch.v1alpha.JobNotification notifications = 14;- Specified by:
getNotificationsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-