Interface SoleTenantConfigOrBuilder (2.73.0)

public interface SoleTenantConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMinNodeCpus()

public abstract int getMinNodeCpus()

Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.

optional int32 min_node_cpus = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The minNodeCpus.

getNodeAffinities(int index)

public abstract SoleTenantConfig.NodeAffinity getNodeAffinities(int index)

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Parameter
Name Description
index int
Returns
Type Description
SoleTenantConfig.NodeAffinity

getNodeAffinitiesCount()

public abstract int getNodeAffinitiesCount()

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Returns
Type Description
int

getNodeAffinitiesList()

public abstract List<SoleTenantConfig.NodeAffinity> getNodeAffinitiesList()

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Returns
Type Description
List<NodeAffinity>

getNodeAffinitiesOrBuilder(int index)

public abstract SoleTenantConfig.NodeAffinityOrBuilder getNodeAffinitiesOrBuilder(int index)

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Parameter
Name Description
index int
Returns
Type Description
SoleTenantConfig.NodeAffinityOrBuilder

getNodeAffinitiesOrBuilderList()

public abstract List<? extends SoleTenantConfig.NodeAffinityOrBuilder> getNodeAffinitiesOrBuilderList()

NodeAffinities used to match to a shared sole tenant node group.

repeated .google.container.v1beta1.SoleTenantConfig.NodeAffinity node_affinities = 1;

Returns
Type Description
List<? extends com.google.container.v1beta1.SoleTenantConfig.NodeAffinityOrBuilder>

hasMinNodeCpus()

public abstract boolean hasMinNodeCpus()

Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.

optional int32 min_node_cpus = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minNodeCpus field is set.