Uses of Class
com.google.cloud.batch.v1alpha.TaskGroup.Builder
-
Uses of TaskGroup.Builder in com.google.cloud.batch.v1alpha
Methods in com.google.cloud.batch.v1alpha that return TaskGroup.BuilderModifier and TypeMethodDescriptionTaskGroup.Builder.addAllTaskEnvironments(Iterable<? extends Environment> values) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.addTaskEnvironments(int index, Environment value) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.addTaskEnvironments(int index, Environment.Builder builderForValue) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.addTaskEnvironments(Environment value) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.addTaskEnvironments(Environment.Builder builderForValue) An array of environment variable mappings, which are passed to Tasks with matching indices.Job.Builder.addTaskGroupsBuilder()Required.Job.Builder.addTaskGroupsBuilder(int index) Required.TaskGroup.Builder.clear()TaskGroup.Builder.clearAllocationPolicy()Compute resource allocation for the TaskGroup.TaskGroup.Builder.clearLabels()TaskGroup.Builder.clearName()Output only.TaskGroup.Builder.clearParallelism()Max number of tasks that can run in parallel.TaskGroup.Builder.clearPermissiveSsh()When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.TaskGroup.Builder.clearRequireHostsFile()When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file.TaskGroup.Builder.clearRunAsNonRoot()Optional.TaskGroup.Builder.clearSchedulingPolicy()Scheduling policy for Tasks in the TaskGroup.TaskGroup.Builder.clearServiceAccount()Optional.TaskGroup.Builder.clearTaskCount()Number of Tasks in the TaskGroup.TaskGroup.Builder.clearTaskCountPerNode()Max number of tasks that can be run on a VM at the same time.TaskGroup.Builder.clearTaskEnvironments()An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.clearTaskSpec()Required.Job.Builder.getTaskGroupsBuilder(int index) Required.TaskGroup.Builder.mergeAllocationPolicy(AllocationPolicy value) Compute resource allocation for the TaskGroup.TaskGroup.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) TaskGroup.Builder.mergeFrom(com.google.protobuf.Message other) TaskGroup.Builder.mergeServiceAccount(ServiceAccount value) Optional.TaskGroup.Builder.mergeTaskSpec(TaskSpec value) Required.static TaskGroup.BuilderTaskGroup.newBuilder()static TaskGroup.BuilderTaskGroup.newBuilder(TaskGroup prototype) TaskGroup.newBuilderForType()protected TaskGroup.BuilderTaskGroup.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) TaskGroup.Builder.putAllLabels(Map<String, String> values) Labels for the TaskGroup.Labels for the TaskGroup.TaskGroup.Builder.removeLabels(String key) Labels for the TaskGroup.TaskGroup.Builder.removeTaskEnvironments(int index) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.setAllocationPolicy(AllocationPolicy value) Compute resource allocation for the TaskGroup.TaskGroup.Builder.setAllocationPolicy(AllocationPolicy.Builder builderForValue) Compute resource allocation for the TaskGroup.Output only.TaskGroup.Builder.setNameBytes(com.google.protobuf.ByteString value) Output only.TaskGroup.Builder.setParallelism(long value) Max number of tasks that can run in parallel.TaskGroup.Builder.setPermissiveSsh(boolean value) When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.TaskGroup.Builder.setRequireHostsFile(boolean value) When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file.TaskGroup.Builder.setRunAsNonRoot(boolean value) Optional.TaskGroup.Builder.setSchedulingPolicy(TaskGroup.SchedulingPolicy value) Scheduling policy for Tasks in the TaskGroup.TaskGroup.Builder.setSchedulingPolicyValue(int value) Scheduling policy for Tasks in the TaskGroup.TaskGroup.Builder.setServiceAccount(ServiceAccount value) Optional.TaskGroup.Builder.setServiceAccount(ServiceAccount.Builder builderForValue) Optional.TaskGroup.Builder.setTaskCount(long value) Number of Tasks in the TaskGroup.TaskGroup.Builder.setTaskCountPerNode(long value) Max number of tasks that can be run on a VM at the same time.TaskGroup.Builder.setTaskEnvironments(int index, Environment value) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.setTaskEnvironments(int index, Environment.Builder builderForValue) An array of environment variable mappings, which are passed to Tasks with matching indices.TaskGroup.Builder.setTaskSpec(TaskSpec value) Required.TaskGroup.Builder.setTaskSpec(TaskSpec.Builder builderForValue) Required.TaskGroup.toBuilder()Methods in com.google.cloud.batch.v1alpha that return types with arguments of type TaskGroup.BuilderMethods in com.google.cloud.batch.v1alpha with parameters of type TaskGroup.BuilderModifier and TypeMethodDescriptionJob.Builder.addTaskGroups(int index, TaskGroup.Builder builderForValue) Required.Job.Builder.addTaskGroups(TaskGroup.Builder builderForValue) Required.Job.Builder.setTaskGroups(int index, TaskGroup.Builder builderForValue) Required.