Interface AcceleratorConfigOrBuilder (2.44.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
Type Description
String

The topology.

getTopologyBytes()

public abstract ByteString getTopologyBytes()

Required. Topology of TPU in chips.

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

Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.