public static interface AllocationPolicy.InstancePolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAccelerators(int index)
public abstract AllocationPolicy.Accelerator getAccelerators(int index)The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;
| Name | Description |
index |
int |
| Type | Description |
AllocationPolicy.Accelerator |
getAcceleratorsCount()
public abstract int getAcceleratorsCount()The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;
| Type | Description |
int |
getAcceleratorsList()
public abstract List<AllocationPolicy.Accelerator> getAcceleratorsList()The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;
| Type | Description |
List<Accelerator> |
getAcceleratorsOrBuilder(int index)
public abstract AllocationPolicy.AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;
| Name | Description |
index |
int |
| Type | Description |
AllocationPolicy.AcceleratorOrBuilder |
getAcceleratorsOrBuilderList()
public abstract List<? extends AllocationPolicy.AcceleratorOrBuilder> getAcceleratorsOrBuilderList()The accelerators attached to each VM instance.
repeated .google.cloud.batch.v1.AllocationPolicy.Accelerator accelerators = 5;
| Type | Description |
List<? extends com.google.cloud.batch.v1.AllocationPolicy.AcceleratorOrBuilder> |
getBootDisk()
public abstract AllocationPolicy.Disk getBootDisk()Book disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 8;
| Type | Description |
AllocationPolicy.Disk |
The bootDisk. |
getBootDiskOrBuilder()
public abstract AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()Book disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 8;
| Type | Description |
AllocationPolicy.DiskOrBuilder |
getDisks(int index)
public abstract 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.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;
| Name | Description |
index |
int |
| Type | Description |
AllocationPolicy.AttachedDisk |
getDisksCount()
public abstract 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.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;
| Type | Description |
int |
getDisksList()
public abstract 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.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;
| Type | Description |
List<AttachedDisk> |
getDisksOrBuilder(int index)
public abstract 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.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;
| Name | Description |
index |
int |
| Type | Description |
AllocationPolicy.AttachedDiskOrBuilder |
getDisksOrBuilderList()
public abstract 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.
repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;
| Type | Description |
List<? extends com.google.cloud.batch.v1.AllocationPolicy.AttachedDiskOrBuilder> |
getMachineType()
public abstract String getMachineType()The Compute Engine machine type.
string machine_type = 2;
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes()The Compute Engine machine type.
string machine_type = 2;
| Type | Description |
ByteString |
The bytes for machineType. |
getMinCpuPlatform()
public abstract String getMinCpuPlatform() The minimum CPU platform.
See
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
Not yet implemented.
string min_cpu_platform = 3;
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
public abstract ByteString getMinCpuPlatformBytes() The minimum CPU platform.
See
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
Not yet implemented.
string min_cpu_platform = 3;
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |
getProvisioningModel()
public abstract AllocationPolicy.ProvisioningModel getProvisioningModel()The provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 4;
| Type | Description |
AllocationPolicy.ProvisioningModel |
The provisioningModel. |
getProvisioningModelValue()
public abstract int getProvisioningModelValue()The provisioning model.
.google.cloud.batch.v1.AllocationPolicy.ProvisioningModel provisioning_model = 4;
| Type | Description |
int |
The enum numeric value on the wire for provisioningModel. |
hasBootDisk()
public abstract boolean hasBootDisk()Book disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted.
.google.cloud.batch.v1.AllocationPolicy.Disk boot_disk = 8;
| Type | Description |
boolean |
Whether the bootDisk field is set. |