Interface WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder (0.41.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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for type.