Interface PolicyControllerDeploymentConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyControllerDeploymentConfig,PolicyControllerDeploymentConfig.Builder
@Generated
public interface PolicyControllerDeploymentConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionContainer resource requirements.Container resource requirements.Pod affinity configuration.intPod affinity configuration.booleanDeprecated.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated.getPodTolerations(int index) Pod tolerations of node taints.intPod tolerations of node taints.Pod tolerations of node taints.getPodTolerationsOrBuilder(int index) Pod tolerations of node taints.Pod tolerations of node taints.longPod replica count.booleanContainer resource requirements.booleanDeprecated.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated.booleanPod replica count.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasReplicaCount
boolean hasReplicaCount()Pod replica count.
optional int64 replica_count = 1;- Returns:
- Whether the replicaCount field is set.
-
getReplicaCount
long getReplicaCount()Pod replica count.
optional int64 replica_count = 1;- Returns:
- The replicaCount.
-
hasContainerResources
boolean hasContainerResources()Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;- Returns:
- Whether the containerResources field is set.
-
getContainerResources
ResourceRequirements getContainerResources()Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;- Returns:
- The containerResources.
-
getContainerResourcesOrBuilder
ResourceRequirementsOrBuilder getContainerResourcesOrBuilder()Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2; -
hasPodAntiAffinity
Deprecated.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
optional bool pod_anti_affinity = 3 [deprecated = true];- Returns:
- Whether the podAntiAffinity field is set.
-
getPodAntiAffinity
Deprecated.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
optional bool pod_anti_affinity = 3 [deprecated = true];- Returns:
- The podAntiAffinity.
-
getPodTolerationsList
List<PolicyControllerDeploymentConfig.Toleration> getPodTolerationsList()Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4; -
getPodTolerations
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4; -
getPodTolerationsCount
int getPodTolerationsCount()Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4; -
getPodTolerationsOrBuilderList
List<? extends PolicyControllerDeploymentConfig.TolerationOrBuilder> getPodTolerationsOrBuilderList()Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4; -
getPodTolerationsOrBuilder
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4; -
getPodAffinityValue
int getPodAffinityValue()Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;- Returns:
- The enum numeric value on the wire for podAffinity.
-
getPodAffinity
PolicyControllerDeploymentConfig.Affinity getPodAffinity()Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;- Returns:
- The podAffinity.
-