Class PolicyValidationParameter.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable 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.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
      • getDefaultInstanceForType

        public PolicyValidationParameter getDefaultInstanceForType()
        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
      • setField

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

        public PolicyValidationParameter.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  java.lang.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,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyValidationParameter.Builder>
      • isInitialized

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

        public PolicyValidationParameter.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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:
        java.io.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 currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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 currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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 java.lang.String getIgnorablePolicyTopics​(int index)
         The list of policy topics that should not cause a PolicyFindingError to
         be reported. This field is currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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 currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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,
                                                                          java.lang.String value)
         The list of policy topics that should not cause a PolicyFindingError to
         be reported. This field is currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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​(java.lang.String value)
         The list of policy topics that should not cause a PolicyFindingError to
         be reported. This field is currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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​(java.lang.Iterable<java.lang.String> values)
         The list of policy topics that should not cause a PolicyFindingError to
         be reported. This field is currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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 currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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 currently only compatible with Enhanced Text Ad.
         It corresponds to the PolicyTopicEntry.topic field.
         Resources violating 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 java.util.List<PolicyViolationKey> getExemptPolicyViolationKeysList()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      • addAllExemptPolicyViolationKeys

        public PolicyValidationParameter.Builder addAllExemptPolicyViolationKeys​(java.lang.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.common.PolicyViolationKey exempt_policy_violation_keys = 2;
        Specified by:
        getExemptPolicyViolationKeysOrBuilder in interface PolicyValidationParameterOrBuilder
      • getExemptPolicyViolationKeysOrBuilderList

        public java.util.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.common.PolicyViolationKey exempt_policy_violation_keys = 2;
      • getExemptPolicyViolationKeysBuilderList

        public java.util.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, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices 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.v10.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>