Class PolicyValidationParameter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
com.google.ads.googleads.v23.common.PolicyValidationParameter.Builder
All Implemented Interfaces:
PolicyValidationParameterOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PolicyValidationParameter

public static final class PolicyValidationParameter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder> implements PolicyValidationParameterOrBuilder
 Parameter for controlling how policy exemption is done.
 
Protobuf type google.ads.googleads.v23.common.PolicyValidationParameter
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PolicyValidationParameter.Builder>
    • getDefaultInstanceForType

      public PolicyValidationParameter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PolicyValidationParameter build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PolicyValidationParameter buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • setField

      public PolicyValidationParameter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • clearField

      public PolicyValidationParameter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • clearOneof

      public PolicyValidationParameter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • setRepeatedField

      public PolicyValidationParameter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • addRepeatedField

      public PolicyValidationParameter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • mergeFrom

      public PolicyValidationParameter.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PolicyValidationParameter.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,PolicyValidationParameter.Builder>
    • mergeFrom

      public PolicyValidationParameter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PolicyValidationParameter.Builder>
      Throws:
      IOException
    • getIgnorablePolicyTopicsList

      public com.google.protobuf.ProtocolStringList getIgnorablePolicyTopicsList()
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Specified by:
      getIgnorablePolicyTopicsList in interface PolicyValidationParameterOrBuilder
      Returns:
      A list containing the ignorablePolicyTopics.
    • getIgnorablePolicyTopicsCount

      public int getIgnorablePolicyTopicsCount()
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Specified by:
      getIgnorablePolicyTopicsCount in interface PolicyValidationParameterOrBuilder
      Returns:
      The count of ignorablePolicyTopics.
    • getIgnorablePolicyTopics

      public String getIgnorablePolicyTopics(int index)
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Specified by:
      getIgnorablePolicyTopics in interface PolicyValidationParameterOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ignorablePolicyTopics at the given index.
    • getIgnorablePolicyTopicsBytes

      public com.google.protobuf.ByteString getIgnorablePolicyTopicsBytes(int index)
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Specified by:
      getIgnorablePolicyTopicsBytes in interface PolicyValidationParameterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ignorablePolicyTopics at the given index.
    • setIgnorablePolicyTopics

      public PolicyValidationParameter.Builder setIgnorablePolicyTopics(int index, String value)
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Parameters:
      index - The index to set the value at.
      value - The ignorablePolicyTopics to set.
      Returns:
      This builder for chaining.
    • addIgnorablePolicyTopics

      public PolicyValidationParameter.Builder addIgnorablePolicyTopics(String value)
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Parameters:
      value - The ignorablePolicyTopics to add.
      Returns:
      This builder for chaining.
    • addAllIgnorablePolicyTopics

      public PolicyValidationParameter.Builder addAllIgnorablePolicyTopics(Iterable<String> values)
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Parameters:
      values - The ignorablePolicyTopics to add.
      Returns:
      This builder for chaining.
    • clearIgnorablePolicyTopics

      public PolicyValidationParameter.Builder clearIgnorablePolicyTopics()
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Returns:
      This builder for chaining.
    • addIgnorablePolicyTopicsBytes

      public PolicyValidationParameter.Builder addIgnorablePolicyTopicsBytes(com.google.protobuf.ByteString value)
       The list of policy topics that should not cause a `PolicyFindingError` to
       be reported. This field is used for ad policy exemptions. It corresponds
       to the `PolicyTopicEntry.topic` field.
      
       If this field is populated, then `exempt_policy_violation_keys` must be
       empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated string ignorable_policy_topics = 3;
      Parameters:
      value - The bytes of the ignorablePolicyTopics to add.
      Returns:
      This builder for chaining.
    • getExemptPolicyViolationKeysList

      public List<PolicyViolationKey> getExemptPolicyViolationKeysList()
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      Specified by:
      getExemptPolicyViolationKeysList in interface PolicyValidationParameterOrBuilder
    • getExemptPolicyViolationKeysCount

      public int getExemptPolicyViolationKeysCount()
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      Specified by:
      getExemptPolicyViolationKeysCount in interface PolicyValidationParameterOrBuilder
    • getExemptPolicyViolationKeys

      public PolicyViolationKey getExemptPolicyViolationKeys(int index)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      Specified by:
      getExemptPolicyViolationKeys in interface PolicyValidationParameterOrBuilder
    • setExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder setExemptPolicyViolationKeys(int index, PolicyViolationKey value)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • setExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder setExemptPolicyViolationKeys(int index, PolicyViolationKey.Builder builderForValue)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • addExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder addExemptPolicyViolationKeys(PolicyViolationKey value)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • addExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder addExemptPolicyViolationKeys(int index, PolicyViolationKey value)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • addExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder addExemptPolicyViolationKeys(PolicyViolationKey.Builder builderForValue)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • addExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder addExemptPolicyViolationKeys(int index, PolicyViolationKey.Builder builderForValue)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • addAllExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder addAllExemptPolicyViolationKeys(Iterable<? extends PolicyViolationKey> values)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • clearExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder clearExemptPolicyViolationKeys()
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • removeExemptPolicyViolationKeys

      public PolicyValidationParameter.Builder removeExemptPolicyViolationKeys(int index)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • getExemptPolicyViolationKeysBuilder

      public PolicyViolationKey.Builder getExemptPolicyViolationKeysBuilder(int index)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • getExemptPolicyViolationKeysOrBuilder

      public PolicyViolationKeyOrBuilder getExemptPolicyViolationKeysOrBuilder(int index)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      Specified by:
      getExemptPolicyViolationKeysOrBuilder in interface PolicyValidationParameterOrBuilder
    • getExemptPolicyViolationKeysOrBuilderList

      public List<? extends PolicyViolationKeyOrBuilder> getExemptPolicyViolationKeysOrBuilderList()
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      Specified by:
      getExemptPolicyViolationKeysOrBuilderList in interface PolicyValidationParameterOrBuilder
    • addExemptPolicyViolationKeysBuilder

      public PolicyViolationKey.Builder addExemptPolicyViolationKeysBuilder()
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • addExemptPolicyViolationKeysBuilder

      public PolicyViolationKey.Builder addExemptPolicyViolationKeysBuilder(int index)
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • getExemptPolicyViolationKeysBuilderList

      public List<PolicyViolationKey.Builder> getExemptPolicyViolationKeysBuilderList()
       The list of policy violation keys that should not cause a
       `PolicyViolationError` to be reported. Not all policy violations are
       exemptable. Refer to the `is_exemptible` field in the returned
       `PolicyViolationError`. This field is used for keyword policy exemptions.
      
       If this field is populated, then `ignorable_policy_topics` must be empty.
      
       Resources that violate these policies will be saved, but will not be
       eligible to serve. They may begin serving at a later time due to a change
       in policies, re-review of the resource, or a change in advertiser
       certificates.
       
      repeated .google.ads.googleads.v23.common.PolicyViolationKey exempt_policy_violation_keys = 2;
    • setUnknownFields

      public final PolicyValidationParameter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
    • mergeUnknownFields

      public final PolicyValidationParameter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>