Interface AcceleratorTypeOrBuilder (2.19.0)

public interface AcceleratorTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorConfigs(int index)

public abstract AcceleratorConfig getAcceleratorConfigs(int index)

The accelerator config.

repeated .google.cloud.tpu.v2alpha1.AcceleratorConfig accelerator_configs = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig

getAcceleratorConfigsCount()

public abstract int getAcceleratorConfigsCount()

The accelerator config.

repeated .google.cloud.tpu.v2alpha1.AcceleratorConfig accelerator_configs = 3;

Returns
TypeDescription
int

getAcceleratorConfigsList()

public abstract List<AcceleratorConfig> getAcceleratorConfigsList()

The accelerator config.

repeated .google.cloud.tpu.v2alpha1.AcceleratorConfig accelerator_configs = 3;

Returns
TypeDescription
List<AcceleratorConfig>

getAcceleratorConfigsOrBuilder(int index)

public abstract AcceleratorConfigOrBuilder getAcceleratorConfigsOrBuilder(int index)

The accelerator config.

repeated .google.cloud.tpu.v2alpha1.AcceleratorConfig accelerator_configs = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfigOrBuilder

getAcceleratorConfigsOrBuilderList()

public abstract List<? extends AcceleratorConfigOrBuilder> getAcceleratorConfigsOrBuilderList()

The accelerator config.

repeated .google.cloud.tpu.v2alpha1.AcceleratorConfig accelerator_configs = 3;

Returns
TypeDescription
List<? extends com.google.cloud.tpu.v2alpha1.AcceleratorConfigOrBuilder>

getName()

public abstract String getName()

The resource name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getType()

public abstract String getType()

The accelerator type.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The accelerator type.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.