Uses of Class
com.google.cloud.batch.v1alpha.AllocationPolicy.Builder
-
Uses of AllocationPolicy.Builder in com.google.cloud.batch.v1alpha
Methods in com.google.cloud.batch.v1alpha that return AllocationPolicy.BuilderModifier and TypeMethodDescriptionAllocationPolicy.Builder.addAllInstances(Iterable<? extends AllocationPolicy.InstancePolicyOrTemplate> values) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.addAllInstanceTemplates(Iterable<String> values) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated.AllocationPolicy.Builder.addAllProvisioningModels(Iterable<? extends AllocationPolicy.ProvisioningModel> values) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.AllocationPolicy.Builder.addAllProvisioningModelsValue(Iterable<Integer> values) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.AllocationPolicy.Builder.addAllTags(Iterable<String> values) Optional.AllocationPolicy.Builder.addInstances(int index, AllocationPolicy.InstancePolicyOrTemplate value) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.addInstances(int index, AllocationPolicy.InstancePolicyOrTemplate.Builder builderForValue) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.addInstances(AllocationPolicy.InstancePolicyOrTemplate value) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.addInstances(AllocationPolicy.InstancePolicyOrTemplate.Builder builderForValue) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.addInstanceTemplates(String value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated.AllocationPolicy.Builder.addInstanceTemplatesBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated.AllocationPolicy.Builder.addProvisioningModels(AllocationPolicy.ProvisioningModel value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.AllocationPolicy.Builder.addProvisioningModelsValue(int value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.Optional.AllocationPolicy.Builder.addTagsBytes(com.google.protobuf.ByteString value) Optional.AllocationPolicy.Builder.clear()AllocationPolicy.Builder.clearInstance()Deprecated.AllocationPolicy.Builder.clearInstances()Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.clearInstanceTemplates()Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated.AllocationPolicy.Builder.clearLabels()AllocationPolicy.Builder.clearLocation()Location where compute resources should be allocated for the Job.AllocationPolicy.Builder.clearNetwork()The network policy.AllocationPolicy.Builder.clearPlacement()The placement policy.AllocationPolicy.Builder.clearProvisioningModels()Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.AllocationPolicy.Builder.clearServiceAccount()Defines the service account for Batch-created VMs.AllocationPolicy.Builder.clearServiceAccountEmail()Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.AllocationPolicy.Builder.clearTags()Optional.Job.Builder.getAllocationPolicyBuilder()Compute resource allocation for all TaskGroups in the Job.TaskGroup.Builder.getAllocationPolicyBuilder()Compute resource allocation for the TaskGroup.AllocationPolicy.Builder.mergeFrom(AllocationPolicy other) AllocationPolicy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) AllocationPolicy.Builder.mergeFrom(com.google.protobuf.Message other) AllocationPolicy.Builder.mergeInstance(AllocationPolicy.InstancePolicy value) Deprecated.AllocationPolicy.Builder.mergeLocation(AllocationPolicy.LocationPolicy value) Location where compute resources should be allocated for the Job.AllocationPolicy.Builder.mergeNetwork(AllocationPolicy.NetworkPolicy value) The network policy.AllocationPolicy.Builder.mergePlacement(AllocationPolicy.PlacementPolicy value) The placement policy.AllocationPolicy.Builder.mergeServiceAccount(ServiceAccount value) Defines the service account for Batch-created VMs.static AllocationPolicy.BuilderAllocationPolicy.newBuilder()static AllocationPolicy.BuilderAllocationPolicy.newBuilder(AllocationPolicy prototype) AllocationPolicy.newBuilderForType()protected AllocationPolicy.BuilderAllocationPolicy.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) AllocationPolicy.Builder.putAllLabels(Map<String, String> values) Custom labels to apply to the job and all the Compute Engine resources that both are created by this allocation policy and support labels.Custom labels to apply to the job and all the Compute Engine resources that both are created by this allocation policy and support labels.AllocationPolicy.Builder.removeInstances(int index) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.removeLabels(String key) Custom labels to apply to the job and all the Compute Engine resources that both are created by this allocation policy and support labels.AllocationPolicy.Builder.setInstance(AllocationPolicy.InstancePolicy value) Deprecated.AllocationPolicy.Builder.setInstance(AllocationPolicy.InstancePolicy.Builder builderForValue) Deprecated.AllocationPolicy.Builder.setInstances(int index, AllocationPolicy.InstancePolicyOrTemplate value) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.setInstances(int index, AllocationPolicy.InstancePolicyOrTemplate.Builder builderForValue) Describe instances that can be created by this AllocationPolicy.AllocationPolicy.Builder.setInstanceTemplates(int index, String value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated.AllocationPolicy.Builder.setLocation(AllocationPolicy.LocationPolicy value) Location where compute resources should be allocated for the Job.AllocationPolicy.Builder.setLocation(AllocationPolicy.LocationPolicy.Builder builderForValue) Location where compute resources should be allocated for the Job.AllocationPolicy.Builder.setNetwork(AllocationPolicy.NetworkPolicy value) The network policy.AllocationPolicy.Builder.setNetwork(AllocationPolicy.NetworkPolicy.Builder builderForValue) The network policy.AllocationPolicy.Builder.setPlacement(AllocationPolicy.PlacementPolicy value) The placement policy.AllocationPolicy.Builder.setPlacement(AllocationPolicy.PlacementPolicy.Builder builderForValue) The placement policy.AllocationPolicy.Builder.setProvisioningModels(int index, AllocationPolicy.ProvisioningModel value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.AllocationPolicy.Builder.setProvisioningModelsValue(int index, int value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.AllocationPolicy.Builder.setServiceAccount(ServiceAccount value) Defines the service account for Batch-created VMs.AllocationPolicy.Builder.setServiceAccount(ServiceAccount.Builder builderForValue) Defines the service account for Batch-created VMs.AllocationPolicy.Builder.setServiceAccountEmail(String value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.AllocationPolicy.Builder.setServiceAccountEmailBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.Optional.AllocationPolicy.toBuilder()Methods in com.google.cloud.batch.v1alpha with parameters of type AllocationPolicy.BuilderModifier and TypeMethodDescriptionJob.Builder.setAllocationPolicy(AllocationPolicy.Builder builderForValue) Compute resource allocation for all TaskGroups in the Job.TaskGroup.Builder.setAllocationPolicy(AllocationPolicy.Builder builderForValue) Compute resource allocation for the TaskGroup.