Interface QueuedResource.Tpu.NodeSpecOrBuilder (2.47.0)

public static interface QueuedResource.Tpu.NodeSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMultiNodeParams()

public abstract QueuedResource.Tpu.NodeSpec.MultiNodeParams getMultiNodeParams()

Optional. Fields to specify in case of multi-node request.

.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams multi_node_params = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueuedResource.Tpu.NodeSpec.MultiNodeParams

The multiNodeParams.

getMultiNodeParamsOrBuilder()

public abstract QueuedResource.Tpu.NodeSpec.MultiNodeParamsOrBuilder getMultiNodeParamsOrBuilder()

Optional. Fields to specify in case of multi-node request.

.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams multi_node_params = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueuedResource.Tpu.NodeSpec.MultiNodeParamsOrBuilder

getNode()

public abstract Node getNode()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Node

The node.

getNodeId()

public abstract String getNodeId()

The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.

string node_id = 2;

Returns
Type Description
String

The nodeId.

getNodeIdBytes()

public abstract ByteString getNodeIdBytes()

The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.

string node_id = 2;

Returns
Type Description
ByteString

The bytes for nodeId.

getNodeOrBuilder()

public abstract NodeOrBuilder getNodeOrBuilder()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NodeOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasMultiNodeParams()

public abstract boolean hasMultiNodeParams()

Optional. Fields to specify in case of multi-node request.

.google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams multi_node_params = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiNodeParams field is set.

hasNode()

public abstract boolean hasNode()

Required. The node.

.google.cloud.tpu.v2alpha1.Node node = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the node field is set.