Interface WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder (0.25.0)

public static interface WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCount()

public abstract int getCount()

Optional. Number of accelerator cards exposed to the instance.

int32 count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count.

getType()

public abstract String getType()

Optional. Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".

string type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Optional. Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".

string type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for type.