Interface AllocationPolicy.AcceleratorOrBuilder (0.1.1)

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
TypeDescription
long

The count.

getType()

public abstract String getType()

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

string type = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for type.