public static interface AllocationPolicy.InstancePolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AllocationPolicy.Accelerator |
getAccelerators(int index)
The accelerators attached to each VM instance.
|
int |
getAcceleratorsCount()
The accelerators attached to each VM instance.
|
List<AllocationPolicy.Accelerator> |
getAcceleratorsList()
The accelerators attached to each VM instance.
|
AllocationPolicy.AcceleratorOrBuilder |
getAcceleratorsOrBuilder(int index)
The accelerators attached to each VM instance.
|
List<? extends AllocationPolicy.AcceleratorOrBuilder> |
getAcceleratorsOrBuilderList()
The accelerators attached to each VM instance.
|
AllocationPolicy.Disk |
getBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy.
|
AllocationPolicy.DiskOrBuilder |
getBootDiskOrBuilder()
Boot disk to be created and attached to each VM by this InstancePolicy.
|
AllocationPolicy.AttachedDisk |
getDisks(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy.
|
int |
getDisksCount()
Non-boot disks to be attached for each VM created by this InstancePolicy.
|
List<AllocationPolicy.AttachedDisk> |
getDisksList()
Non-boot disks to be attached for each VM created by this InstancePolicy.
|
AllocationPolicy.AttachedDiskOrBuilder |
getDisksOrBuilder(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy.
|
List<? extends AllocationPolicy.AttachedDiskOrBuilder> |
getDisksOrBuilderList()
Non-boot disks to be attached for each VM created by this InstancePolicy.
|
String |
getMachineType()
The Compute Engine machine type.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
The Compute Engine machine type.
|
String |
getMinCpuPlatform()
The minimum CPU platform.
|
com.google.protobuf.ByteString |
getMinCpuPlatformBytes()
The minimum CPU platform.
|
AllocationPolicy.ProvisioningModel |
getProvisioningModel()
The provisioning model.
|
int |
getProvisioningModelValue()
The provisioning model.
|
String |
getReservation()
Optional.
|
com.google.protobuf.ByteString |
getReservationBytes()
Optional.
|
boolean |
hasBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getMachineType()
The Compute Engine machine type.
string machine_type = 2;com.google.protobuf.ByteString getMachineTypeBytes()
The Compute Engine machine type.
string machine_type = 2;String getMinCpuPlatform()
The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string min_cpu_platform = 3;com.google.protobuf.ByteString getMinCpuPlatformBytes()
The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string min_cpu_platform = 3;int getProvisioningModelValue()
The provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 4;
AllocationPolicy.ProvisioningModel getProvisioningModel()
The provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 4;
List<AllocationPolicy.Accelerator> getAcceleratorsList()
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;AllocationPolicy.Accelerator getAccelerators(int index)
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;int getAcceleratorsCount()
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;List<? extends AllocationPolicy.AcceleratorOrBuilder> getAcceleratorsOrBuilderList()
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;AllocationPolicy.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)
The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;boolean hasBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 8;AllocationPolicy.Disk getBootDisk()
Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 8;AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()
Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 8;List<AllocationPolicy.AttachedDisk> getDisksList()
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;AllocationPolicy.AttachedDisk getDisks(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;int getDisksCount()
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;List<? extends AllocationPolicy.AttachedDiskOrBuilder> getDisksOrBuilderList()
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;AllocationPolicy.AttachedDiskOrBuilder getDisksOrBuilder(int index)
Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;String getReservation()
Optional. If not specified (default), VMs will consume any applicable reservation. If "NO_RESERVATION" is specified, VMs will not consume any reservation. Otherwise, if specified, VMs will consume only the specified reservation.
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getReservationBytes()
Optional. If not specified (default), VMs will consume any applicable reservation. If "NO_RESERVATION" is specified, VMs will not consume any reservation. Otherwise, if specified, VMs will consume only the specified reservation.
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2025 Google LLC. All rights reserved.