Interface SetInstanceAcceleratorRequestOrBuilder (1.20.0)

public interface SetInstanceAcceleratorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCoreCount()

public abstract long getCoreCount()

Required. Count of cores of this accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

int64 core_count = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
long

The coreCount.

getName()

public abstract String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getType()

public abstract Instance.AcceleratorType getType()

Required. Type of this accelerator.

.google.cloud.notebooks.v1.Instance.AcceleratorType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Instance.AcceleratorType

The type.

getTypeValue()

public abstract int getTypeValue()

Required. Type of this accelerator.

.google.cloud.notebooks.v1.Instance.AcceleratorType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.