Interface AcceleratorTypeOrBuilder (2.46.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
Name Description
index int
Returns
Type Description
AcceleratorConfig

getAcceleratorConfigsCount()

public abstract int getAcceleratorConfigsCount()

The accelerator config.

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

Returns
Type Description
int

getAcceleratorConfigsList()

public abstract List<AcceleratorConfig> getAcceleratorConfigsList()

The accelerator config.

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

Returns
Type Description
List<AcceleratorConfig>

getAcceleratorConfigsOrBuilder(int index)

public abstract AcceleratorConfigOrBuilder getAcceleratorConfigsOrBuilder(int index)

The accelerator config.

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

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfigOrBuilder

getAcceleratorConfigsOrBuilderList()

public abstract List<? extends AcceleratorConfigOrBuilder> getAcceleratorConfigsOrBuilderList()

The accelerator config.

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

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

getName()

public abstract String getName()

The resource name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getType()

public abstract String getType()

The accelerator type.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The accelerator type.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.