Class PolicyTopicEvidence.Builder

  • All Implemented Interfaces:
    PolicyTopicEvidenceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    PolicyTopicEvidence

    public static final class PolicyTopicEvidence.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicEvidence.Builder>
    implements PolicyTopicEvidenceOrBuilder
     Additional information that explains a policy finding.
     
    Protobuf type google.ads.googleads.v10.common.PolicyTopicEvidence
    • 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<PolicyTopicEvidence.Builder>
      • clear

        public PolicyTopicEvidence.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<PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • getDefaultInstanceForType

        public PolicyTopicEvidence getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • setField

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • clearField

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • clearOneof

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • setRepeatedField

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • addRepeatedField

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • mergeFrom

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • isInitialized

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

        public PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
        Throws:
        java.io.IOException
      • hasWebsiteList

        public boolean hasWebsiteList()
         List of websites linked with this resource.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3;
        Specified by:
        hasWebsiteList in interface PolicyTopicEvidenceOrBuilder
        Returns:
        Whether the websiteList field is set.
      • clearWebsiteList

        public PolicyTopicEvidence.Builder clearWebsiteList()
         List of websites linked with this resource.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3;
      • getWebsiteListBuilder

        public PolicyTopicEvidence.WebsiteList.Builder getWebsiteListBuilder()
         List of websites linked with this resource.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3;
      • hasTextList

        public boolean hasTextList()
         List of evidence found in the text of a resource.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4;
        Specified by:
        hasTextList in interface PolicyTopicEvidenceOrBuilder
        Returns:
        Whether the textList field is set.
      • clearTextList

        public PolicyTopicEvidence.Builder clearTextList()
         List of evidence found in the text of a resource.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4;
      • getTextListBuilder

        public PolicyTopicEvidence.TextList.Builder getTextListBuilder()
         List of evidence found in the text of a resource.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4;
      • hasLanguageCode

        public boolean hasLanguageCode()
         The language the resource was detected to be written in.
         This is an IETF language tag such as "en-US".
         
        string language_code = 9;
        Specified by:
        hasLanguageCode in interface PolicyTopicEvidenceOrBuilder
        Returns:
        Whether the languageCode field is set.
      • getLanguageCode

        public java.lang.String getLanguageCode()
         The language the resource was detected to be written in.
         This is an IETF language tag such as "en-US".
         
        string language_code = 9;
        Specified by:
        getLanguageCode in interface PolicyTopicEvidenceOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         The language the resource was detected to be written in.
         This is an IETF language tag such as "en-US".
         
        string language_code = 9;
        Specified by:
        getLanguageCodeBytes in interface PolicyTopicEvidenceOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public PolicyTopicEvidence.Builder setLanguageCode​(java.lang.String value)
         The language the resource was detected to be written in.
         This is an IETF language tag such as "en-US".
         
        string language_code = 9;
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public PolicyTopicEvidence.Builder clearLanguageCode()
         The language the resource was detected to be written in.
         This is an IETF language tag such as "en-US".
         
        string language_code = 9;
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public PolicyTopicEvidence.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         The language the resource was detected to be written in.
         This is an IETF language tag such as "en-US".
         
        string language_code = 9;
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • hasDestinationTextList

        public boolean hasDestinationTextList()
         The text in the destination of the resource that is causing a policy
         finding.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6;
        Specified by:
        hasDestinationTextList in interface PolicyTopicEvidenceOrBuilder
        Returns:
        Whether the destinationTextList field is set.
      • clearDestinationTextList

        public PolicyTopicEvidence.Builder clearDestinationTextList()
         The text in the destination of the resource that is causing a policy
         finding.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6;
      • getDestinationTextListBuilder

        public PolicyTopicEvidence.DestinationTextList.Builder getDestinationTextListBuilder()
         The text in the destination of the resource that is causing a policy
         finding.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6;
      • hasDestinationMismatch

        public boolean hasDestinationMismatch()
         Mismatch between the destinations of a resource's URLs.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7;
        Specified by:
        hasDestinationMismatch in interface PolicyTopicEvidenceOrBuilder
        Returns:
        Whether the destinationMismatch field is set.
      • clearDestinationMismatch

        public PolicyTopicEvidence.Builder clearDestinationMismatch()
         Mismatch between the destinations of a resource's URLs.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7;
      • getDestinationMismatchBuilder

        public PolicyTopicEvidence.DestinationMismatch.Builder getDestinationMismatchBuilder()
         Mismatch between the destinations of a resource's URLs.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7;
      • hasDestinationNotWorking

        public boolean hasDestinationNotWorking()
         Details when the destination is returning an HTTP error code or isn't
         functional in all locations for commonly used devices.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8;
        Specified by:
        hasDestinationNotWorking in interface PolicyTopicEvidenceOrBuilder
        Returns:
        Whether the destinationNotWorking field is set.
      • setDestinationNotWorking

        public PolicyTopicEvidence.Builder setDestinationNotWorking​(PolicyTopicEvidence.DestinationNotWorking value)
         Details when the destination is returning an HTTP error code or isn't
         functional in all locations for commonly used devices.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8;
      • setDestinationNotWorking

        public PolicyTopicEvidence.Builder setDestinationNotWorking​(PolicyTopicEvidence.DestinationNotWorking.Builder builderForValue)
         Details when the destination is returning an HTTP error code or isn't
         functional in all locations for commonly used devices.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8;
      • mergeDestinationNotWorking

        public PolicyTopicEvidence.Builder mergeDestinationNotWorking​(PolicyTopicEvidence.DestinationNotWorking value)
         Details when the destination is returning an HTTP error code or isn't
         functional in all locations for commonly used devices.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8;
      • clearDestinationNotWorking

        public PolicyTopicEvidence.Builder clearDestinationNotWorking()
         Details when the destination is returning an HTTP error code or isn't
         functional in all locations for commonly used devices.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8;
      • getDestinationNotWorkingBuilder

        public PolicyTopicEvidence.DestinationNotWorking.Builder getDestinationNotWorkingBuilder()
         Details when the destination is returning an HTTP error code or isn't
         functional in all locations for commonly used devices.
         
        .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8;
      • setUnknownFields

        public final PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>
      • mergeUnknownFields

        public final PolicyTopicEvidence.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<PolicyTopicEvidence.Builder>