Interface PolicyContentSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PolicyContentSpec, PolicyContentSpec.Builder

@Generated public interface PolicyContentSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getBundlesCount

      int getBundlesCount()
       map of bundle name to BundleInstallSpec. The bundle name maps to the
       `bundleName` key in the `policycontroller.gke.io/constraintData` annotation
       on a constraint.
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
    • containsBundles

      boolean containsBundles(String key)
       map of bundle name to BundleInstallSpec. The bundle name maps to the
       `bundleName` key in the `policycontroller.gke.io/constraintData` annotation
       on a constraint.
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
    • getBundles

      Deprecated.
      Use getBundlesMap() instead.
    • getBundlesMap

      Map<String,BundleInstallSpec> getBundlesMap()
       map of bundle name to BundleInstallSpec. The bundle name maps to the
       `bundleName` key in the `policycontroller.gke.io/constraintData` annotation
       on a constraint.
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
    • getBundlesOrDefault

      BundleInstallSpec getBundlesOrDefault(String key, BundleInstallSpec defaultValue)
       map of bundle name to BundleInstallSpec. The bundle name maps to the
       `bundleName` key in the `policycontroller.gke.io/constraintData` annotation
       on a constraint.
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
    • getBundlesOrThrow

      BundleInstallSpec getBundlesOrThrow(String key)
       map of bundle name to BundleInstallSpec. The bundle name maps to the
       `bundleName` key in the `policycontroller.gke.io/constraintData` annotation
       on a constraint.
       
      map<string, .google.cloud.gkehub.policycontroller.v1beta.BundleInstallSpec> bundles = 1;
    • hasTemplateLibrary

      boolean hasTemplateLibrary()
       Configures the installation of the Template Library.
       
      .google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig template_library = 2;
      Returns:
      Whether the templateLibrary field is set.
    • getTemplateLibrary

      TemplateLibraryConfig getTemplateLibrary()
       Configures the installation of the Template Library.
       
      .google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig template_library = 2;
      Returns:
      The templateLibrary.
    • getTemplateLibraryOrBuilder

      TemplateLibraryConfigOrBuilder getTemplateLibraryOrBuilder()
       Configures the installation of the Template Library.
       
      .google.cloud.gkehub.policycontroller.v1beta.TemplateLibraryConfig template_library = 2;