Package com.google.cloud.tpu.v2
Interface QueuedResource.Tpu.NodeSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueuedResource.Tpu.NodeSpec,QueuedResource.Tpu.NodeSpec.Builder
- Enclosing class:
- QueuedResource.Tpu
public static interface QueuedResource.Tpu.NodeSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasNodeId
boolean hasNodeId()Optional. 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 multislice requests, multislice_params must be populated instead.
string node_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the nodeId field is set.
-
getNodeId
String getNodeId()Optional. 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 multislice requests, multislice_params must be populated instead.
string node_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nodeId.
-
getNodeIdBytes
com.google.protobuf.ByteString getNodeIdBytes()Optional. 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 multislice requests, multislice_params must be populated instead.
string node_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for nodeId.
-
hasMultisliceParams
boolean hasMultisliceParams()Optional. Fields to specify in case of multislice request.
.google.cloud.tpu.v2.QueuedResource.Tpu.NodeSpec.MultisliceParams multislice_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the multisliceParams field is set.
-
getMultisliceParams
QueuedResource.Tpu.NodeSpec.MultisliceParams getMultisliceParams()Optional. Fields to specify in case of multislice request.
.google.cloud.tpu.v2.QueuedResource.Tpu.NodeSpec.MultisliceParams multislice_params = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The multisliceParams.
-
getMultisliceParamsOrBuilder
QueuedResource.Tpu.NodeSpec.MultisliceParamsOrBuilder getMultisliceParamsOrBuilder()Optional. Fields to specify in case of multislice request.
.google.cloud.tpu.v2.QueuedResource.Tpu.NodeSpec.MultisliceParams multislice_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasNode
boolean hasNode()Required. The node.
.google.cloud.tpu.v2.Node node = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the node field is set.
-
getNode
Node getNode()Required. The node.
.google.cloud.tpu.v2.Node node = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The node.
-
getNodeOrBuilder
NodeOrBuilder getNodeOrBuilder()Required. The node.
.google.cloud.tpu.v2.Node node = 4 [(.google.api.field_behavior) = REQUIRED]; -
getNameStrategyCase
QueuedResource.Tpu.NodeSpec.NameStrategyCase getNameStrategyCase()
-