Interface AllocationPolicy.AcceleratorOrBuilder (0.21.0)

public static interface AllocationPolicy.AcceleratorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCount()

public abstract long getCount()

The number of accelerators of this type.

int64 count = 2;

Returns
Type Description
long

The count.

getDriverVersion()

public abstract String getDriverVersion()

The accelerator driver version that will be installed for this type.

Not yet implemented.

string driver_version = 4;

Returns
Type Description
String

The driverVersion.

getDriverVersionBytes()

public abstract ByteString getDriverVersionBytes()

The accelerator driver version that will be installed for this type.

Not yet implemented.

string driver_version = 4;

Returns
Type Description
ByteString

The bytes for driverVersion.

getInstallGpuDrivers() (deprecated)

public abstract boolean getInstallGpuDrivers()

Deprecated. google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is deprecated. See google/cloud/batch/v1alpha/job.proto;l=388

Deprecated: please use instances[0].install_gpu_drivers instead.

bool install_gpu_drivers = 3 [deprecated = true];

Returns
Type Description
boolean

The installGpuDrivers.

getType()

public abstract String getType()

The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.

string type = 1;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.

string type = 1;

Returns
Type Description
ByteString

The bytes for type.