Interface AcceleratorConfigOrBuilder (2.24.0)

public interface AcceleratorConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopology()

public abstract String getTopology()

Required. Topology of TPU in chips.

string topology = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The topology.

getTopologyBytes()

public abstract ByteString getTopologyBytes()

Required. Topology of TPU in chips.

string topology = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for topology.

getType()

public abstract AcceleratorConfig.Type getType()

Required. Type of TPU.

.google.cloud.tpu.v2.AcceleratorConfig.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AcceleratorConfig.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Required. Type of TPU.

.google.cloud.tpu.v2.AcceleratorConfig.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.