Interface NodePool.PlacementPolicyOrBuilder (2.42.0)

public static interface NodePool.PlacementPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicyName()

public abstract 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
TypeDescription
String

The policyName.

getPolicyNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for policyName.

getTpuTopology()

public abstract 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
TypeDescription
String

The tpuTopology.

getTpuTopologyBytes()

public abstract 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
TypeDescription
ByteString

The bytes for tpuTopology.

getType()

public abstract NodePool.PlacementPolicy.Type getType()

The type of placement.

.google.container.v1.NodePool.PlacementPolicy.Type type = 1;

Returns
TypeDescription
NodePool.PlacementPolicy.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of placement.

.google.container.v1.NodePool.PlacementPolicy.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.