Interface NodePool.PlacementPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NodePool.PlacementPolicy, NodePool.PlacementPolicy.Builder
Enclosing class:
NodePool

public static interface NodePool.PlacementPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If set, refers to the name of a custom resource policy supplied by the user.
    com.google.protobuf.ByteString
    If set, refers to the name of a custom resource policy supplied by the user.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The type of placement.
    int
    The type of placement.

    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

    • getTypeValue

      int getTypeValue()
       The type of placement.
       
      .google.container.v1.NodePool.PlacementPolicy.Type type = 1;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       The type of placement.
       
      .google.container.v1.NodePool.PlacementPolicy.Type type = 1;
      Returns:
      The type.
    • getTpuTopology

      String getTpuTopology()
       Optional. TPU placement topology for pod slice node pool.
       https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
       
      string tpu_topology = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The tpuTopology.
    • getTpuTopologyBytes

      com.google.protobuf.ByteString getTpuTopologyBytes()
       Optional. TPU placement topology for pod slice node pool.
       https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
       
      string tpu_topology = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for tpuTopology.
    • getPolicyName

      String getPolicyName()
       If set, refers to the name of a custom resource policy supplied by the
       user. The resource policy must be in the same project and region as the
       node pool. If not found, InvalidArgument error is returned.
       
      string policy_name = 3;
      Returns:
      The policyName.
    • getPolicyNameBytes

      com.google.protobuf.ByteString getPolicyNameBytes()
       If set, refers to the name of a custom resource policy supplied by the
       user. The resource policy must be in the same project and region as the
       node pool. If not found, InvalidArgument error is returned.
       
      string policy_name = 3;
      Returns:
      The bytes for policyName.