Interface QueuedResource.Tpu.NodeSpec.MultiNodeParamsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
QueuedResource.Tpu.NodeSpec.MultiNodeParams, QueuedResource.Tpu.NodeSpec.MultiNodeParams.Builder
Enclosing class:
QueuedResource.Tpu.NodeSpec

public static interface QueuedResource.Tpu.NodeSpec.MultiNodeParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Required.
    Prefix of node_ids in case of multi-node request Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format.
    com.google.protobuf.ByteString
    Prefix of node_ids in case of multi-node request Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format.
    Optional.
    int
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNodeCount

      int getNodeCount()
       Required. Number of nodes with this spec. The system will attempt
       to provison "node_count" nodes as part of the request.
       This needs to be > 1.
       
      int32 node_count = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The nodeCount.
    • getNodeIdPrefix

      String getNodeIdPrefix()
       Prefix of node_ids in case of multi-node 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;
      Returns:
      The nodeIdPrefix.
    • getNodeIdPrefixBytes

      com.google.protobuf.ByteString getNodeIdPrefixBytes()
       Prefix of node_ids in case of multi-node 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;
      Returns:
      The bytes for nodeIdPrefix.
    • getWorkloadTypeValue

      int getWorkloadTypeValue()
       Optional. The workload type for the multi-node request.
       
      .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType workload_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for workloadType.
    • getWorkloadType

       Optional. The workload type for the multi-node request.
       
      .google.cloud.tpu.v2alpha1.QueuedResource.Tpu.NodeSpec.MultiNodeParams.WorkloadType workload_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The workloadType.