Interface PolicyControllerDeploymentConfigOrBuilder (1.55.0)

public interface PolicyControllerDeploymentConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerResources()

public abstract ResourceRequirements getContainerResources()

Container resource requirements.

optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;

Returns
Type Description
ResourceRequirements

The containerResources.

getContainerResourcesOrBuilder()

public abstract ResourceRequirementsOrBuilder getContainerResourcesOrBuilder()

Container resource requirements.

optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;

Returns
Type Description
ResourceRequirementsOrBuilder

getPodAffinity()

public abstract PolicyControllerDeploymentConfig.Affinity getPodAffinity()

Pod affinity configuration.

.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;

Returns
Type Description
PolicyControllerDeploymentConfig.Affinity

The podAffinity.

getPodAffinityValue()

public abstract int getPodAffinityValue()

Pod affinity configuration.

.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;

Returns
Type Description
int

The enum numeric value on the wire for podAffinity.

getPodAntiAffinity() (deprecated)

public abstract boolean getPodAntiAffinity()

Deprecated. google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233

Pod anti-affinity enablement. Deprecated: use pod_affinity instead.

optional bool pod_anti_affinity = 3 [deprecated = true];

Returns
Type Description
boolean

The podAntiAffinity.

getPodTolerations(int index)

public abstract PolicyControllerDeploymentConfig.Toleration getPodTolerations(int index)

Pod tolerations of node taints.

repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;

Parameter
Name Description
index int
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration

getPodTolerationsCount()

public abstract int getPodTolerationsCount()

Pod tolerations of node taints.

repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;

Returns
Type Description
int

getPodTolerationsList()

public abstract List<PolicyControllerDeploymentConfig.Toleration> getPodTolerationsList()

Pod tolerations of node taints.

repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;

Returns
Type Description
List<Toleration>

getPodTolerationsOrBuilder(int index)

public abstract PolicyControllerDeploymentConfig.TolerationOrBuilder getPodTolerationsOrBuilder(int index)

Pod tolerations of node taints.

repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;

Parameter
Name Description
index int
Returns
Type Description
PolicyControllerDeploymentConfig.TolerationOrBuilder

getPodTolerationsOrBuilderList()

public abstract List<? extends PolicyControllerDeploymentConfig.TolerationOrBuilder> getPodTolerationsOrBuilderList()

Pod tolerations of node taints.

repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;

Returns
Type Description
List<? extends com.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.TolerationOrBuilder>

getReplicaCount()

public abstract long getReplicaCount()

Pod replica count.

optional int64 replica_count = 1;

Returns
Type Description
long

The replicaCount.

hasContainerResources()

public abstract boolean hasContainerResources()

Container resource requirements.

optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;

Returns
Type Description
boolean

Whether the containerResources field is set.

hasPodAntiAffinity() (deprecated)

public abstract boolean hasPodAntiAffinity()

Deprecated. google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233

Pod anti-affinity enablement. Deprecated: use pod_affinity instead.

optional bool pod_anti_affinity = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the podAntiAffinity field is set.

hasReplicaCount()

public abstract boolean hasReplicaCount()

Pod replica count.

optional int64 replica_count = 1;

Returns
Type Description
boolean

Whether the replicaCount field is set.