Class HubConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
com.google.cloud.gkehub.policycontroller.v1beta.HubConfig.Builder
- All Implemented Interfaces:
HubConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HubConfig
public static final class HubConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
implements HubConfigOrBuilder
Configuration for Policy ControllerProtobuf type
google.cloud.gkehub.policycontroller.v1beta.HubConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllExemptableNamespaces(Iterable<String> values) The set of namespaces that are excluded from Policy Controller checks.addExemptableNamespaces(String value) The set of namespaces that are excluded from Policy Controller checks.addExemptableNamespacesBytes(com.google.protobuf.ByteString value) The set of namespaces that are excluded from Policy Controller checks.build()clear()Sets the interval for Policy Controller Audit Scans (in seconds).The maximum number of audit violations to be stored in a constraint.The set of namespaces that are excluded from Policy Controller checks.The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.Logs all denies and dry run failures.Monitoring specifies the configuration of monitoring.Enables the ability to mutate resources using Policy Controller.Specifies the desired policy content on the clusterEnables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.booleanMap of deployment configs to deployments ("admission", "audit", "mutation').longSets the interval for Policy Controller Audit Scans (in seconds).longThe maximum number of audit violations to be stored in a constraint.Deprecated.intMap of deployment configs to deployments ("admission", "audit", "mutation').Map of deployment configs to deployments ("admission", "audit", "mutation').getDeploymentConfigsOrDefault(String key, PolicyControllerDeploymentConfig defaultValue) Map of deployment configs to deployments ("admission", "audit", "mutation').Map of deployment configs to deployments ("admission", "audit", "mutation').static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExemptableNamespaces(int index) The set of namespaces that are excluded from Policy Controller checks.com.google.protobuf.ByteStringgetExemptableNamespacesBytes(int index) The set of namespaces that are excluded from Policy Controller checks.intThe set of namespaces that are excluded from Policy Controller checks.com.google.protobuf.ProtocolStringListThe set of namespaces that are excluded from Policy Controller checks.The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.intThe install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.booleanLogs all denies and dry run failures.Monitoring specifies the configuration of monitoring.Monitoring specifies the configuration of monitoring.Monitoring specifies the configuration of monitoring.Deprecated.booleanEnables the ability to mutate resources using Policy Controller.Specifies the desired policy content on the clusterSpecifies the desired policy content on the clusterSpecifies the desired policy content on the clusterbooleanEnables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.booleanSets the interval for Policy Controller Audit Scans (in seconds).booleanThe maximum number of audit violations to be stored in a constraint.booleanMonitoring specifies the configuration of monitoring.booleanSpecifies the desired policy content on the clusterprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMonitoring(MonitoringConfig value) Monitoring specifies the configuration of monitoring.Specifies the desired policy content on the clusterMap of deployment configs to deployments ("admission", "audit", "mutation').Map of deployment configs to deployments ("admission", "audit", "mutation').Map of deployment configs to deployments ("admission", "audit", "mutation').Map of deployment configs to deployments ("admission", "audit", "mutation').setAuditIntervalSeconds(long value) Sets the interval for Policy Controller Audit Scans (in seconds).setConstraintViolationLimit(long value) The maximum number of audit violations to be stored in a constraint.setExemptableNamespaces(int index, String value) The set of namespaces that are excluded from Policy Controller checks.The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.setInstallSpecValue(int value) The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.setLogDeniesEnabled(boolean value) Logs all denies and dry run failures.setMonitoring(MonitoringConfig value) Monitoring specifies the configuration of monitoring.setMonitoring(MonitoringConfig.Builder builderForValue) Monitoring specifies the configuration of monitoring.setMutationEnabled(boolean value) Enables the ability to mutate resources using Policy Controller.Specifies the desired policy content on the clustersetPolicyContent(PolicyContentSpec.Builder builderForValue) Specifies the desired policy content on the clustersetReferentialRulesEnabled(boolean value) Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HubConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HubConfig.Builder>
-
mergeFrom
public HubConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HubConfig.Builder>- Throws:
IOException
-
getInstallSpecValue
public int getInstallSpecValue()The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec install_spec = 1;- Specified by:
getInstallSpecValuein interfaceHubConfigOrBuilder- Returns:
- The enum numeric value on the wire for installSpec.
-
setInstallSpecValue
The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec install_spec = 1;- Parameters:
value- The enum numeric value on the wire for installSpec to set.- Returns:
- This builder for chaining.
-
getInstallSpec
The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec install_spec = 1;- Specified by:
getInstallSpecin interfaceHubConfigOrBuilder- Returns:
- The installSpec.
-
setInstallSpec
The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec install_spec = 1;- Parameters:
value- The installSpec to set.- Returns:
- This builder for chaining.
-
clearInstallSpec
The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
.google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec install_spec = 1;- Returns:
- This builder for chaining.
-
hasAuditIntervalSeconds
public boolean hasAuditIntervalSeconds()Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
optional int64 audit_interval_seconds = 2;- Specified by:
hasAuditIntervalSecondsin interfaceHubConfigOrBuilder- Returns:
- Whether the auditIntervalSeconds field is set.
-
getAuditIntervalSeconds
public long getAuditIntervalSeconds()Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
optional int64 audit_interval_seconds = 2;- Specified by:
getAuditIntervalSecondsin interfaceHubConfigOrBuilder- Returns:
- The auditIntervalSeconds.
-
setAuditIntervalSeconds
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
optional int64 audit_interval_seconds = 2;- Parameters:
value- The auditIntervalSeconds to set.- Returns:
- This builder for chaining.
-
clearAuditIntervalSeconds
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
optional int64 audit_interval_seconds = 2;- Returns:
- This builder for chaining.
-
getExemptableNamespacesList
public com.google.protobuf.ProtocolStringList getExemptableNamespacesList()The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Specified by:
getExemptableNamespacesListin interfaceHubConfigOrBuilder- Returns:
- A list containing the exemptableNamespaces.
-
getExemptableNamespacesCount
public int getExemptableNamespacesCount()The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Specified by:
getExemptableNamespacesCountin interfaceHubConfigOrBuilder- Returns:
- The count of exemptableNamespaces.
-
getExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Specified by:
getExemptableNamespacesin interfaceHubConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The exemptableNamespaces at the given index.
-
getExemptableNamespacesBytes
public com.google.protobuf.ByteString getExemptableNamespacesBytes(int index) The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Specified by:
getExemptableNamespacesBytesin interfaceHubConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exemptableNamespaces at the given index.
-
setExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Parameters:
index- The index to set the value at.value- The exemptableNamespaces to set.- Returns:
- This builder for chaining.
-
addExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Parameters:
value- The exemptableNamespaces to add.- Returns:
- This builder for chaining.
-
addAllExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Parameters:
values- The exemptableNamespaces to add.- Returns:
- This builder for chaining.
-
clearExemptableNamespaces
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Returns:
- This builder for chaining.
-
addExemptableNamespacesBytes
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 3;- Parameters:
value- The bytes of the exemptableNamespaces to add.- Returns:
- This builder for chaining.
-
getReferentialRulesEnabled
public boolean getReferentialRulesEnabled()Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
bool referential_rules_enabled = 4;- Specified by:
getReferentialRulesEnabledin interfaceHubConfigOrBuilder- Returns:
- The referentialRulesEnabled.
-
setReferentialRulesEnabled
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
bool referential_rules_enabled = 4;- Parameters:
value- The referentialRulesEnabled to set.- Returns:
- This builder for chaining.
-
clearReferentialRulesEnabled
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
bool referential_rules_enabled = 4;- Returns:
- This builder for chaining.
-
getLogDeniesEnabled
public boolean getLogDeniesEnabled()Logs all denies and dry run failures.
bool log_denies_enabled = 5;- Specified by:
getLogDeniesEnabledin interfaceHubConfigOrBuilder- Returns:
- The logDeniesEnabled.
-
setLogDeniesEnabled
Logs all denies and dry run failures.
bool log_denies_enabled = 5;- Parameters:
value- The logDeniesEnabled to set.- Returns:
- This builder for chaining.
-
clearLogDeniesEnabled
Logs all denies and dry run failures.
bool log_denies_enabled = 5;- Returns:
- This builder for chaining.
-
getMutationEnabled
public boolean getMutationEnabled()Enables the ability to mutate resources using Policy Controller.
bool mutation_enabled = 6;- Specified by:
getMutationEnabledin interfaceHubConfigOrBuilder- Returns:
- The mutationEnabled.
-
setMutationEnabled
Enables the ability to mutate resources using Policy Controller.
bool mutation_enabled = 6;- Parameters:
value- The mutationEnabled to set.- Returns:
- This builder for chaining.
-
clearMutationEnabled
Enables the ability to mutate resources using Policy Controller.
bool mutation_enabled = 6;- Returns:
- This builder for chaining.
-
hasMonitoring
public boolean hasMonitoring()Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8;- Specified by:
hasMonitoringin interfaceHubConfigOrBuilder- Returns:
- Whether the monitoring field is set.
-
getMonitoring
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8;- Specified by:
getMonitoringin interfaceHubConfigOrBuilder- Returns:
- The monitoring.
-
setMonitoring
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8; -
setMonitoring
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8; -
mergeMonitoring
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8; -
clearMonitoring
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8; -
getMonitoringBuilder
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8; -
getMonitoringOrBuilder
Monitoring specifies the configuration of monitoring.
optional .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig monitoring = 8;- Specified by:
getMonitoringOrBuilderin interfaceHubConfigOrBuilder
-
hasPolicyContent
public boolean hasPolicyContent()Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9;- Specified by:
hasPolicyContentin interfaceHubConfigOrBuilder- Returns:
- Whether the policyContent field is set.
-
getPolicyContent
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9;- Specified by:
getPolicyContentin interfaceHubConfigOrBuilder- Returns:
- The policyContent.
-
setPolicyContent
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9; -
setPolicyContent
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9; -
mergePolicyContent
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9; -
clearPolicyContent
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9; -
getPolicyContentBuilder
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9; -
getPolicyContentOrBuilder
Specifies the desired policy content on the cluster
optional .google.cloud.gkehub.policycontroller.v1beta.PolicyContentSpec policy_content = 9;- Specified by:
getPolicyContentOrBuilderin interfaceHubConfigOrBuilder
-
hasConstraintViolationLimit
public boolean hasConstraintViolationLimit()The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
optional int64 constraint_violation_limit = 10;- Specified by:
hasConstraintViolationLimitin interfaceHubConfigOrBuilder- Returns:
- Whether the constraintViolationLimit field is set.
-
getConstraintViolationLimit
public long getConstraintViolationLimit()The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
optional int64 constraint_violation_limit = 10;- Specified by:
getConstraintViolationLimitin interfaceHubConfigOrBuilder- Returns:
- The constraintViolationLimit.
-
setConstraintViolationLimit
The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
optional int64 constraint_violation_limit = 10;- Parameters:
value- The constraintViolationLimit to set.- Returns:
- This builder for chaining.
-
clearConstraintViolationLimit
The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
optional int64 constraint_violation_limit = 10;- Returns:
- This builder for chaining.
-
getDeploymentConfigsCount
public int getDeploymentConfigsCount()Description copied from interface:HubConfigOrBuilderMap of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11;- Specified by:
getDeploymentConfigsCountin interfaceHubConfigOrBuilder
-
containsDeploymentConfigs
Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11;- Specified by:
containsDeploymentConfigsin interfaceHubConfigOrBuilder
-
getDeploymentConfigs
Deprecated.UsegetDeploymentConfigsMap()instead.- Specified by:
getDeploymentConfigsin interfaceHubConfigOrBuilder
-
getDeploymentConfigsMap
Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11;- Specified by:
getDeploymentConfigsMapin interfaceHubConfigOrBuilder
-
getDeploymentConfigsOrDefault
public PolicyControllerDeploymentConfig getDeploymentConfigsOrDefault(String key, PolicyControllerDeploymentConfig defaultValue) Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11;- Specified by:
getDeploymentConfigsOrDefaultin interfaceHubConfigOrBuilder
-
getDeploymentConfigsOrThrow
Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11;- Specified by:
getDeploymentConfigsOrThrowin interfaceHubConfigOrBuilder
-
clearDeploymentConfigs
-
removeDeploymentConfigs
Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11; -
getMutableDeploymentConfigs
Deprecated.Use alternate mutation accessors instead. -
putDeploymentConfigs
Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11; -
putAllDeploymentConfigs
public HubConfig.Builder putAllDeploymentConfigs(Map<String, PolicyControllerDeploymentConfig> values) Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11; -
putDeploymentConfigsBuilderIfAbsent
Map of deployment configs to deployments ("admission", "audit", "mutation').map<string, .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig> deployment_configs = 11;
-