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 Summary
Modifier and TypeMethodDescriptionbooleancontainsBundles(String key) map of bundle name to BundleInstallSpec.Deprecated.intmap of bundle name to BundleInstallSpec.map of bundle name to BundleInstallSpec.getBundlesOrDefault(String key, BundleInstallSpec defaultValue) map of bundle name to BundleInstallSpec.getBundlesOrThrow(String key) map of bundle name to BundleInstallSpec.Configures the installation of the Template Library.Configures the installation of the Template Library.booleanConfigures the installation of the Template Library.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
-
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
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.UsegetBundlesMap()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
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
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;
-