Class PolicyFindingDetails.Builder

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

    public static final class PolicyFindingDetails.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PolicyFindingDetails.Builder>
    implements PolicyFindingDetailsOrBuilder
     Error returned as part of a mutate response.
     This error indicates one or more policy findings in the fields of a
     resource.
     
    Protobuf type google.ads.googleads.v10.errors.PolicyFindingDetails
    • 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<PolicyFindingDetails.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public java.util.List<PolicyTopicEntry> getPolicyTopicEntriesList()
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
        Specified by:
        getPolicyTopicEntriesList in interface PolicyFindingDetailsOrBuilder
      • getPolicyTopicEntriesCount

        public int getPolicyTopicEntriesCount()
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
        Specified by:
        getPolicyTopicEntriesCount in interface PolicyFindingDetailsOrBuilder
      • getPolicyTopicEntries

        public PolicyTopicEntry getPolicyTopicEntries​(int index)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
        Specified by:
        getPolicyTopicEntries in interface PolicyFindingDetailsOrBuilder
      • setPolicyTopicEntries

        public PolicyFindingDetails.Builder setPolicyTopicEntries​(int index,
                                                                  PolicyTopicEntry value)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • setPolicyTopicEntries

        public PolicyFindingDetails.Builder setPolicyTopicEntries​(int index,
                                                                  PolicyTopicEntry.Builder builderForValue)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • addPolicyTopicEntries

        public PolicyFindingDetails.Builder addPolicyTopicEntries​(PolicyTopicEntry value)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • addPolicyTopicEntries

        public PolicyFindingDetails.Builder addPolicyTopicEntries​(int index,
                                                                  PolicyTopicEntry value)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • addPolicyTopicEntries

        public PolicyFindingDetails.Builder addPolicyTopicEntries​(PolicyTopicEntry.Builder builderForValue)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • addPolicyTopicEntries

        public PolicyFindingDetails.Builder addPolicyTopicEntries​(int index,
                                                                  PolicyTopicEntry.Builder builderForValue)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • addAllPolicyTopicEntries

        public PolicyFindingDetails.Builder addAllPolicyTopicEntries​(java.lang.Iterable<? extends PolicyTopicEntry> values)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • clearPolicyTopicEntries

        public PolicyFindingDetails.Builder clearPolicyTopicEntries()
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • removePolicyTopicEntries

        public PolicyFindingDetails.Builder removePolicyTopicEntries​(int index)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • getPolicyTopicEntriesBuilder

        public PolicyTopicEntry.Builder getPolicyTopicEntriesBuilder​(int index)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • getPolicyTopicEntriesOrBuilder

        public PolicyTopicEntryOrBuilder getPolicyTopicEntriesOrBuilder​(int index)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
        Specified by:
        getPolicyTopicEntriesOrBuilder in interface PolicyFindingDetailsOrBuilder
      • getPolicyTopicEntriesOrBuilderList

        public java.util.List<? extends PolicyTopicEntryOrBuilder> getPolicyTopicEntriesOrBuilderList()
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
        Specified by:
        getPolicyTopicEntriesOrBuilderList in interface PolicyFindingDetailsOrBuilder
      • addPolicyTopicEntriesBuilder

        public PolicyTopicEntry.Builder addPolicyTopicEntriesBuilder()
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • addPolicyTopicEntriesBuilder

        public PolicyTopicEntry.Builder addPolicyTopicEntriesBuilder​(int index)
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • getPolicyTopicEntriesBuilderList

        public java.util.List<PolicyTopicEntry.Builder> getPolicyTopicEntriesBuilderList()
         The list of policy topics for the resource. Contains the PROHIBITED or
         FULLY_LIMITED policy topic entries that prevented the resource from being
         saved (among any other entries the resource may also have).
         
        repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
      • setUnknownFields

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

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