public static interface QueuedResource.Tpu.NodeSpec.MultisliceParamsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getNodeCount()
public abstract int getNodeCount()
Required. Number of nodes with this spec. The system will attempt to provision "node_count" nodes as part of the request. This needs to be > 1.
int32 node_count = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The nodeCount. |
getNodeIdPrefix()
public abstract String getNodeIdPrefix()
Optional. Prefix of node_ids in case of multislice request.
Should follow the ^[A-Za-z0-9_.~+%-]+$
regex format.
If node_count = 3 and node_id_prefix = "np", node ids of nodes
created will be "np-0", "np-1", "np-2". If this field is not
provided we use queued_resource_id as the node_id_prefix.
string node_id_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The nodeIdPrefix. |
getNodeIdPrefixBytes()
public abstract ByteString getNodeIdPrefixBytes()
Optional. Prefix of node_ids in case of multislice request.
Should follow the ^[A-Za-z0-9_.~+%-]+$
regex format.
If node_count = 3 and node_id_prefix = "np", node ids of nodes
created will be "np-0", "np-1", "np-2". If this field is not
provided we use queued_resource_id as the node_id_prefix.
string node_id_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nodeIdPrefix. |