Interface JobStatus.InstanceStatusOrBuilder (0.41.0)

public static interface JobStatus.InstanceStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDisk()

public abstract AllocationPolicy.Disk getBootDisk()

The VM boot disk.

.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;

Returns
Type Description
AllocationPolicy.Disk

The bootDisk.

getBootDiskOrBuilder()

public abstract AllocationPolicy.DiskOrBuilder getBootDiskOrBuilder()

The VM boot disk.

.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;

Returns
Type Description
AllocationPolicy.DiskOrBuilder

getMachineType()

public abstract String getMachineType()

The Compute Engine machine type.

string machine_type = 1;

Returns
Type Description
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

The Compute Engine machine type.

string machine_type = 1;

Returns
Type Description
ByteString

The bytes for machineType.

getProvisioningModel()

public abstract AllocationPolicy.ProvisioningModel getProvisioningModel()

The VM instance provisioning model.

.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;

Returns
Type Description
AllocationPolicy.ProvisioningModel

The provisioningModel.

getProvisioningModelValue()

public abstract int getProvisioningModelValue()

The VM instance provisioning model.

.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel provisioning_model = 2;

Returns
Type Description
int

The enum numeric value on the wire for provisioningModel.

getTaskPack()

public abstract long getTaskPack()

The max number of tasks can be assigned to this instance type.

int64 task_pack = 3;

Returns
Type Description
long

The taskPack.

hasBootDisk()

public abstract boolean hasBootDisk()

The VM boot disk.

.google.cloud.batch.v1alpha.AllocationPolicy.Disk boot_disk = 4;

Returns
Type Description
boolean

Whether the bootDisk field is set.