Interface SetInstanceAcceleratorRequestOrBuilder (1.42.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.