- 1.77.0 (latest)
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.69.0
 - 1.67.0
 - 1.66.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.48.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.36.0
 - 1.35.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.0
 - 1.11.0
 - 1.10.0
 - 1.9.0
 - 1.8.0
 - 1.7.0
 - 1.6.0
 - 1.5.0
 - 1.4.0
 - 1.3.0
 - 1.0.6
 
public static final class Policy.Builder extends GeneratedMessageV3.Builder<Policy.Builder> implements PolicyOrBuilderA policy for Binary Authorization.
 Protobuf type google.cloud.binaryauthorization.v1beta1.Policy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Policy.BuilderImplements
PolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAdmissionWhitelistPatterns(AdmissionWhitelistPattern value)
public Policy.Builder addAdmissionWhitelistPatterns(AdmissionWhitelistPattern value)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | AdmissionWhitelistPattern | 
      
| Type | Description | 
| Policy.Builder | 
addAdmissionWhitelistPatterns(AdmissionWhitelistPattern.Builder builderForValue)
public Policy.Builder addAdmissionWhitelistPatterns(AdmissionWhitelistPattern.Builder builderForValue)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| builderForValue | AdmissionWhitelistPattern.Builder | 
      
| Type | Description | 
| Policy.Builder | 
addAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern value)
public Policy.Builder addAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern value)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| value | AdmissionWhitelistPattern | 
      
| Type | Description | 
| Policy.Builder | 
addAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern.Builder builderForValue)
public Policy.Builder addAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern.Builder builderForValue)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| builderForValue | AdmissionWhitelistPattern.Builder | 
      
| Type | Description | 
| Policy.Builder | 
addAdmissionWhitelistPatternsBuilder()
public AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder()Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| AdmissionWhitelistPattern.Builder | 
addAdmissionWhitelistPatternsBuilder(int index)
public AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder(int index)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| AdmissionWhitelistPattern.Builder | 
addAllAdmissionWhitelistPatterns(Iterable<? extends AdmissionWhitelistPattern> values)
public Policy.Builder addAllAdmissionWhitelistPatterns(Iterable<? extends AdmissionWhitelistPattern> values)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| values | Iterable<? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern> | 
      
| Type | Description | 
| Policy.Builder | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Policy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Policy.Builder | 
build()
public Policy build()| Type | Description | 
| Policy | 
buildPartial()
public Policy buildPartial()| Type | Description | 
| Policy | 
clear()
public Policy.Builder clear()| Type | Description | 
| Policy.Builder | 
clearAdmissionWhitelistPatterns()
public Policy.Builder clearAdmissionWhitelistPatterns()Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Policy.Builder | 
clearClusterAdmissionRules()
public Policy.Builder clearClusterAdmissionRules()| Type | Description | 
| Policy.Builder | 
clearDefaultAdmissionRule()
public Policy.Builder clearDefaultAdmissionRule()Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| Policy.Builder | 
clearDescription()
public Policy.Builder clearDescription()Optional. A descriptive comment.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Policy.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| Policy.Builder | 
clearGlobalPolicyEvaluationMode()
public Policy.Builder clearGlobalPolicyEvaluationMode()Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.
 
 .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
clearIstioServiceIdentityAdmissionRules()
public Policy.Builder clearIstioServiceIdentityAdmissionRules()| Type | Description | 
| Policy.Builder | 
clearKubernetesNamespaceAdmissionRules()
public Policy.Builder clearKubernetesNamespaceAdmissionRules()| Type | Description | 
| Policy.Builder | 
clearKubernetesServiceAccountAdmissionRules()
public Policy.Builder clearKubernetesServiceAccountAdmissionRules()| Type | Description | 
| Policy.Builder | 
clearName()
public Policy.Builder clearName() Output only. The resource name, in the format projects/*/policy. There is
 at most one policy per project.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Policy.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| Policy.Builder | 
clearUpdateTime()
public Policy.Builder clearUpdateTime()Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Policy.Builder | 
clone()
public Policy.Builder clone()| Type | Description | 
| Policy.Builder | 
containsClusterAdmissionRules(String key)
public boolean containsClusterAdmissionRules(String key) Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| boolean | 
containsIstioServiceIdentityAdmissionRules(String key)
public boolean containsIstioServiceIdentityAdmissionRules(String key) Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| boolean | 
containsKubernetesNamespaceAdmissionRules(String key)
public boolean containsKubernetesNamespaceAdmissionRules(String key) Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| boolean | 
containsKubernetesServiceAccountAdmissionRules(String key)
public boolean containsKubernetesServiceAccountAdmissionRules(String key) Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| boolean | 
getAdmissionWhitelistPatterns(int index)
public AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| AdmissionWhitelistPattern | 
getAdmissionWhitelistPatternsBuilder(int index)
public AdmissionWhitelistPattern.Builder getAdmissionWhitelistPatternsBuilder(int index)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| AdmissionWhitelistPattern.Builder | 
getAdmissionWhitelistPatternsBuilderList()
public List<AdmissionWhitelistPattern.Builder> getAdmissionWhitelistPatternsBuilderList()Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| List<Builder> | 
getAdmissionWhitelistPatternsCount()
public int getAdmissionWhitelistPatternsCount()Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | 
getAdmissionWhitelistPatternsList()
public List<AdmissionWhitelistPattern> getAdmissionWhitelistPatternsList()Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| List<AdmissionWhitelistPattern> | 
getAdmissionWhitelistPatternsOrBuilder(int index)
public AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder(int index)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| AdmissionWhitelistPatternOrBuilder | 
getAdmissionWhitelistPatternsOrBuilderList()
public List<? extends AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsOrBuilderList()Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| List<? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> | 
getClusterAdmissionRules()
public Map<String,AdmissionRule> getClusterAdmissionRules()Use #getClusterAdmissionRulesMap() instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getClusterAdmissionRulesCount()
public int getClusterAdmissionRulesCount() Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | 
getClusterAdmissionRulesMap()
public Map<String,AdmissionRule> getClusterAdmissionRulesMap() Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Map<String,AdmissionRule> | 
getClusterAdmissionRulesOrDefault(String key, AdmissionRule defaultValue)
public AdmissionRule getClusterAdmissionRulesOrDefault(String key, AdmissionRule defaultValue) Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| defaultValue | AdmissionRule | 
      
| Type | Description | 
| AdmissionRule | 
getClusterAdmissionRulesOrThrow(String key)
public AdmissionRule getClusterAdmissionRulesOrThrow(String key) Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| AdmissionRule | 
getDefaultAdmissionRule()
public AdmissionRule getDefaultAdmissionRule()Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| AdmissionRule | The defaultAdmissionRule.  | 
      
getDefaultAdmissionRuleBuilder()
public AdmissionRule.Builder getDefaultAdmissionRuleBuilder()Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| AdmissionRule.Builder | 
getDefaultAdmissionRuleOrBuilder()
public AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder()Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| AdmissionRuleOrBuilder | 
getDefaultInstanceForType()
public Policy getDefaultInstanceForType()| Type | Description | 
| Policy | 
getDescription()
public String getDescription()Optional. A descriptive comment.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description | 
| String | The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A descriptive comment.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description | 
| ByteString | The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getGlobalPolicyEvaluationMode()
public Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode()Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.
 
 .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Policy.GlobalPolicyEvaluationMode | The globalPolicyEvaluationMode.  | 
      
getGlobalPolicyEvaluationModeValue()
public int getGlobalPolicyEvaluationModeValue()Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.
 
 .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | The enum numeric value on the wire for globalPolicyEvaluationMode.  | 
      
getIstioServiceIdentityAdmissionRules()
public Map<String,AdmissionRule> getIstioServiceIdentityAdmissionRules()Use #getIstioServiceIdentityAdmissionRulesMap() instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getIstioServiceIdentityAdmissionRulesCount()
public int getIstioServiceIdentityAdmissionRulesCount() Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | 
getIstioServiceIdentityAdmissionRulesMap()
public Map<String,AdmissionRule> getIstioServiceIdentityAdmissionRulesMap() Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Map<String,AdmissionRule> | 
getIstioServiceIdentityAdmissionRulesOrDefault(String key, AdmissionRule defaultValue)
public AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault(String key, AdmissionRule defaultValue) Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| defaultValue | AdmissionRule | 
      
| Type | Description | 
| AdmissionRule | 
getIstioServiceIdentityAdmissionRulesOrThrow(String key)
public AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow(String key) Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| AdmissionRule | 
getKubernetesNamespaceAdmissionRules()
public Map<String,AdmissionRule> getKubernetesNamespaceAdmissionRules()Use #getKubernetesNamespaceAdmissionRulesMap() instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getKubernetesNamespaceAdmissionRulesCount()
public int getKubernetesNamespaceAdmissionRulesCount() Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | 
getKubernetesNamespaceAdmissionRulesMap()
public Map<String,AdmissionRule> getKubernetesNamespaceAdmissionRulesMap() Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Map<String,AdmissionRule> | 
getKubernetesNamespaceAdmissionRulesOrDefault(String key, AdmissionRule defaultValue)
public AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault(String key, AdmissionRule defaultValue) Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| defaultValue | AdmissionRule | 
      
| Type | Description | 
| AdmissionRule | 
getKubernetesNamespaceAdmissionRulesOrThrow(String key)
public AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow(String key) Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| AdmissionRule | 
getKubernetesServiceAccountAdmissionRules()
public Map<String,AdmissionRule> getKubernetesServiceAccountAdmissionRules()Use #getKubernetesServiceAccountAdmissionRulesMap() instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getKubernetesServiceAccountAdmissionRulesCount()
public int getKubernetesServiceAccountAdmissionRulesCount() Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | 
getKubernetesServiceAccountAdmissionRulesMap()
public Map<String,AdmissionRule> getKubernetesServiceAccountAdmissionRulesMap() Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Map<String,AdmissionRule> | 
getKubernetesServiceAccountAdmissionRulesOrDefault(String key, AdmissionRule defaultValue)
public AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault(String key, AdmissionRule defaultValue) Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| defaultValue | AdmissionRule | 
      
| Type | Description | 
| AdmissionRule | 
getKubernetesServiceAccountAdmissionRulesOrThrow(String key)
public AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow(String key) Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| AdmissionRule | 
getMutableClusterAdmissionRules()
public Map<String,AdmissionRule> getMutableClusterAdmissionRules()Use alternate mutation accessors instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getMutableIstioServiceIdentityAdmissionRules()
public Map<String,AdmissionRule> getMutableIstioServiceIdentityAdmissionRules()Use alternate mutation accessors instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getMutableKubernetesNamespaceAdmissionRules()
public Map<String,AdmissionRule> getMutableKubernetesNamespaceAdmissionRules()Use alternate mutation accessors instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getMutableKubernetesServiceAccountAdmissionRules()
public Map<String,AdmissionRule> getMutableKubernetesServiceAccountAdmissionRules()Use alternate mutation accessors instead.
| Type | Description | 
| Map<String,AdmissionRule> | 
getName()
public String getName() Output only. The resource name, in the format projects/*/policy. There is
 at most one policy per project.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description | 
| String | The name.  | 
      
getNameBytes()
public ByteString getNameBytes() Output only. The resource name, in the format projects/*/policy. There is
 at most one policy per project.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description | 
| ByteString | The bytes for name.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Timestamp | The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Builder | 
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| TimestampOrBuilder | 
hasDefaultAdmissionRule()
public boolean hasDefaultAdmissionRule()Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| boolean | Whether the defaultAdmissionRule field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| boolean | Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description | 
| number | int | 
      
| Type | Description | 
| MapField | 
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description | 
| number | int | 
      
| Type | Description | 
| MapField | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeDefaultAdmissionRule(AdmissionRule value)
public Policy.Builder mergeDefaultAdmissionRule(AdmissionRule value)Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Name | Description | 
| value | AdmissionRule | 
      
| Type | Description | 
| Policy.Builder | 
mergeFrom(Policy other)
public Policy.Builder mergeFrom(Policy other)| Name | Description | 
| other | Policy | 
      
| Type | Description | 
| Policy.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Policy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Policy.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public Policy.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| Policy.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Policy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Policy.Builder | 
mergeUpdateTime(Timestamp value)
public Policy.Builder mergeUpdateTime(Timestamp value)Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Policy.Builder | 
putAllClusterAdmissionRules(Map<String,AdmissionRule> values)
public Policy.Builder putAllClusterAdmissionRules(Map<String,AdmissionRule> values) Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| values | Map<String,AdmissionRule> | 
      
| Type | Description | 
| Policy.Builder | 
putAllIstioServiceIdentityAdmissionRules(Map<String,AdmissionRule> values)
public Policy.Builder putAllIstioServiceIdentityAdmissionRules(Map<String,AdmissionRule> values) Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| values | Map<String,AdmissionRule> | 
      
| Type | Description | 
| Policy.Builder | 
putAllKubernetesNamespaceAdmissionRules(Map<String,AdmissionRule> values)
public Policy.Builder putAllKubernetesNamespaceAdmissionRules(Map<String,AdmissionRule> values) Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| values | Map<String,AdmissionRule> | 
      
| Type | Description | 
| Policy.Builder | 
putAllKubernetesServiceAccountAdmissionRules(Map<String,AdmissionRule> values)
public Policy.Builder putAllKubernetesServiceAccountAdmissionRules(Map<String,AdmissionRule> values) Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| values | Map<String,AdmissionRule> | 
      
| Type | Description | 
| Policy.Builder | 
putClusterAdmissionRules(String key, AdmissionRule value)
public Policy.Builder putClusterAdmissionRules(String key, AdmissionRule value) Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| value | AdmissionRule | 
      
| Type | Description | 
| Policy.Builder | 
putIstioServiceIdentityAdmissionRules(String key, AdmissionRule value)
public Policy.Builder putIstioServiceIdentityAdmissionRules(String key, AdmissionRule value) Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| value | AdmissionRule | 
      
| Type | Description | 
| Policy.Builder | 
putKubernetesNamespaceAdmissionRules(String key, AdmissionRule value)
public Policy.Builder putKubernetesNamespaceAdmissionRules(String key, AdmissionRule value) Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| value | AdmissionRule | 
      
| Type | Description | 
| Policy.Builder | 
putKubernetesServiceAccountAdmissionRules(String key, AdmissionRule value)
public Policy.Builder putKubernetesServiceAccountAdmissionRules(String key, AdmissionRule value) Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| value | AdmissionRule | 
      
| Type | Description | 
| Policy.Builder | 
removeAdmissionWhitelistPatterns(int index)
public Policy.Builder removeAdmissionWhitelistPatterns(int index)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| Policy.Builder | 
removeClusterAdmissionRules(String key)
public Policy.Builder removeClusterAdmissionRules(String key) Optional. Per-cluster admission rules. Cluster spec format:
 location.clusterId. There can be at most one admission rule per cluster
 spec.
 A location is either a compute zone (e.g. us-central1-a) or a region
 (e.g. us-central1).
 For clusterId syntax restrictions see
 https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| Policy.Builder | 
removeIstioServiceIdentityAdmissionRules(String key)
public Policy.Builder removeIstioServiceIdentityAdmissionRules(String key) Optional. Per-istio-service-identity admission rules. Istio service
 identity spec format:
 spiffe://<domain>/ns/<namespace>/sa/<serviceaccount> or
 <domain>/ns/<namespace>/sa/<serviceaccount>
 e.g. spiffe://example.com/ns/test-ns/sa/default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| Policy.Builder | 
removeKubernetesNamespaceAdmissionRules(String key)
public Policy.Builder removeKubernetesNamespaceAdmissionRules(String key) Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
   [a-z.-]+, e.g. some-namespace
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| Policy.Builder | 
removeKubernetesServiceAccountAdmissionRules(String key)
public Policy.Builder removeKubernetesServiceAccountAdmissionRules(String key) Optional. Per-kubernetes-service-account admission rules. Service account
 spec format: namespace:serviceaccount. e.g. test-ns:default
 
 map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| key | String | 
      
| Type | Description | 
| Policy.Builder | 
setAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern value)
public Policy.Builder setAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern value)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| value | AdmissionWhitelistPattern | 
      
| Type | Description | 
| Policy.Builder | 
setAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern.Builder builderForValue)
public Policy.Builder setAdmissionWhitelistPatterns(int index, AdmissionWhitelistPattern.Builder builderForValue)Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
 
 repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| index | int | 
      
| builderForValue | AdmissionWhitelistPattern.Builder | 
      
| Type | Description | 
| Policy.Builder | 
setDefaultAdmissionRule(AdmissionRule value)
public Policy.Builder setDefaultAdmissionRule(AdmissionRule value)Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Name | Description | 
| value | AdmissionRule | 
      
| Type | Description | 
| Policy.Builder | 
setDefaultAdmissionRule(AdmissionRule.Builder builderForValue)
public Policy.Builder setDefaultAdmissionRule(AdmissionRule.Builder builderForValue)Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
 
 .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED];
 
| Name | Description | 
| builderForValue | AdmissionRule.Builder | 
      
| Type | Description | 
| Policy.Builder | 
setDescription(String value)
public Policy.Builder setDescription(String value)Optional. A descriptive comment.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description | 
| value | StringThe description to set.  | 
      
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Policy.Builder setDescriptionBytes(ByteString value)Optional. A descriptive comment.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description | 
| value | ByteStringThe bytes for description to set.  | 
      
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Policy.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Policy.Builder | 
setGlobalPolicyEvaluationMode(Policy.GlobalPolicyEvaluationMode value)
public Policy.Builder setGlobalPolicyEvaluationMode(Policy.GlobalPolicyEvaluationMode value)Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.
 
 .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | Policy.GlobalPolicyEvaluationModeThe globalPolicyEvaluationMode to set.  | 
      
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
setGlobalPolicyEvaluationModeValue(int value)
public Policy.Builder setGlobalPolicyEvaluationModeValue(int value)Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.
 
 .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | intThe enum numeric value on the wire for globalPolicyEvaluationMode to set.  | 
      
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
setName(String value)
public Policy.Builder setName(String value) Output only. The resource name, in the format projects/*/policy. There is
 at most one policy per project.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description | 
| value | StringThe name to set.  | 
      
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Policy.Builder setNameBytes(ByteString value) Output only. The resource name, in the format projects/*/policy. There is
 at most one policy per project.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description | 
| value | ByteStringThe bytes for name to set.  | 
      
| Type | Description | 
| Policy.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Policy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| Policy.Builder | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Policy.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Policy.Builder | 
setUpdateTime(Timestamp value)
public Policy.Builder setUpdateTime(Timestamp value)Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Policy.Builder | 
setUpdateTime(Timestamp.Builder builderForValue)
public Policy.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Time when the policy was last updated.
 
 .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Policy.Builder |