Interface QueuedResource.TpuOrBuilder (2.44.0)

public static interface QueuedResource.TpuOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNodeSpec(int index)

public abstract QueuedResource.Tpu.NodeSpec getNodeSpec(int index)

The TPU node(s) being requested.

repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;

Parameter
Name Description
index int
Returns
Type Description
QueuedResource.Tpu.NodeSpec

getNodeSpecCount()

public abstract int getNodeSpecCount()

The TPU node(s) being requested.

repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;

Returns
Type Description
int

getNodeSpecList()

public abstract List<QueuedResource.Tpu.NodeSpec> getNodeSpecList()

The TPU node(s) being requested.

repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;

Returns
Type Description
List<NodeSpec>

getNodeSpecOrBuilder(int index)

public abstract QueuedResource.Tpu.NodeSpecOrBuilder getNodeSpecOrBuilder(int index)

The TPU node(s) being requested.

repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;

Parameter
Name Description
index int
Returns
Type Description
QueuedResource.Tpu.NodeSpecOrBuilder

getNodeSpecOrBuilderList()

public abstract List<? extends QueuedResource.Tpu.NodeSpecOrBuilder> getNodeSpecOrBuilderList()

The TPU node(s) being requested.

repeated .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec node_spec = 1;

Returns
Type Description
List<? extends com.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpecOrBuilder>