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 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 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:
      Whether the podAntiAffinity field is set.
    • getPodAntiAffinity

      @Deprecated 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:
      The podAntiAffinity.
    • getPodTolerationsList

       Pod tolerations of node taints.
       
      repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
    • getPodTolerations

      PolicyControllerDeploymentConfig.Toleration getPodTolerations(int index)
       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

      PolicyControllerDeploymentConfig.TolerationOrBuilder getPodTolerationsOrBuilder(int index)
       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

       Pod affinity configuration.
       
      .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
      Returns:
      The podAffinity.