Interface NodePool.PlacementPolicyOrBuilder (2.54.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
Type Description
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
Type Description
ByteString

The bytes for policyName.

getTpuTopology()

public abstract String getTpuTopology()

TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies

string tpu_topology = 2;

Returns
Type Description
String

The tpuTopology.

getTpuTopologyBytes()

public abstract ByteString getTpuTopologyBytes()

TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies

string tpu_topology = 2;

Returns
Type Description
ByteString

The bytes for tpuTopology.

getType()

public abstract NodePool.PlacementPolicy.Type getType()

The type of placement.

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

Returns
Type Description
NodePool.PlacementPolicy.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of placement.

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

Returns
Type Description
int

The enum numeric value on the wire for type.