Class LocalAdInfo.Builder

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

    public static final class LocalAdInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<LocalAdInfo.Builder>
    implements LocalAdInfoOrBuilder
     A local ad.
     
    Protobuf type google.ads.googleads.v10.common.LocalAdInfo
    • 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<LocalAdInfo.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.util.List<AdTextAsset> getHeadlinesList()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesList in interface LocalAdInfoOrBuilder
      • getHeadlinesCount

        public int getHeadlinesCount()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesCount in interface LocalAdInfoOrBuilder
      • getHeadlines

        public AdTextAsset getHeadlines​(int index)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlines in interface LocalAdInfoOrBuilder
      • setHeadlines

        public LocalAdInfo.Builder setHeadlines​(int index,
                                                AdTextAsset value)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • setHeadlines

        public LocalAdInfo.Builder setHeadlines​(int index,
                                                AdTextAsset.Builder builderForValue)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public LocalAdInfo.Builder addHeadlines​(AdTextAsset value)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public LocalAdInfo.Builder addHeadlines​(int index,
                                                AdTextAsset value)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public LocalAdInfo.Builder addHeadlines​(AdTextAsset.Builder builderForValue)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public LocalAdInfo.Builder addHeadlines​(int index,
                                                AdTextAsset.Builder builderForValue)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addAllHeadlines

        public LocalAdInfo.Builder addAllHeadlines​(java.lang.Iterable<? extends AdTextAsset> values)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • clearHeadlines

        public LocalAdInfo.Builder clearHeadlines()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • removeHeadlines

        public LocalAdInfo.Builder removeHeadlines​(int index)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • getHeadlinesBuilder

        public AdTextAsset.Builder getHeadlinesBuilder​(int index)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • getHeadlinesOrBuilder

        public AdTextAssetOrBuilder getHeadlinesOrBuilder​(int index)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesOrBuilder in interface LocalAdInfoOrBuilder
      • getHeadlinesOrBuilderList

        public java.util.List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesOrBuilderList in interface LocalAdInfoOrBuilder
      • addHeadlinesBuilder

        public AdTextAsset.Builder addHeadlinesBuilder()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlinesBuilder

        public AdTextAsset.Builder addHeadlinesBuilder​(int index)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • getHeadlinesBuilderList

        public java.util.List<AdTextAsset.Builder> getHeadlinesBuilderList()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list. At least 1 and at most 5 headlines must be
         specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • getDescriptionsList

        public java.util.List<AdTextAsset> getDescriptionsList()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptionsList in interface LocalAdInfoOrBuilder
      • getDescriptionsCount

        public int getDescriptionsCount()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptionsCount in interface LocalAdInfoOrBuilder
      • getDescriptions

        public AdTextAsset getDescriptions​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptions in interface LocalAdInfoOrBuilder
      • setDescriptions

        public LocalAdInfo.Builder setDescriptions​(int index,
                                                   AdTextAsset value)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • setDescriptions

        public LocalAdInfo.Builder setDescriptions​(int index,
                                                   AdTextAsset.Builder builderForValue)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public LocalAdInfo.Builder addDescriptions​(AdTextAsset value)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public LocalAdInfo.Builder addDescriptions​(int index,
                                                   AdTextAsset value)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public LocalAdInfo.Builder addDescriptions​(AdTextAsset.Builder builderForValue)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public LocalAdInfo.Builder addDescriptions​(int index,
                                                   AdTextAsset.Builder builderForValue)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addAllDescriptions

        public LocalAdInfo.Builder addAllDescriptions​(java.lang.Iterable<? extends AdTextAsset> values)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • clearDescriptions

        public LocalAdInfo.Builder clearDescriptions()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • removeDescriptions

        public LocalAdInfo.Builder removeDescriptions​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • getDescriptionsBuilder

        public AdTextAsset.Builder getDescriptionsBuilder​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • getDescriptionsOrBuilder

        public AdTextAssetOrBuilder getDescriptionsOrBuilder​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptionsOrBuilder in interface LocalAdInfoOrBuilder
      • getDescriptionsOrBuilderList

        public java.util.List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptionsOrBuilderList in interface LocalAdInfoOrBuilder
      • addDescriptionsBuilder

        public AdTextAsset.Builder addDescriptionsBuilder()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptionsBuilder

        public AdTextAsset.Builder addDescriptionsBuilder​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • getDescriptionsBuilderList

        public java.util.List<AdTextAsset.Builder> getDescriptionsBuilderList()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list. At least 1 and at most 5 descriptions must
         be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • getCallToActionsList

        public java.util.List<AdTextAsset> getCallToActionsList()
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
        Specified by:
        getCallToActionsList in interface LocalAdInfoOrBuilder
      • getCallToActionsCount

        public int getCallToActionsCount()
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
        Specified by:
        getCallToActionsCount in interface LocalAdInfoOrBuilder
      • getCallToActions

        public AdTextAsset getCallToActions​(int index)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
        Specified by:
        getCallToActions in interface LocalAdInfoOrBuilder
      • setCallToActions

        public LocalAdInfo.Builder setCallToActions​(int index,
                                                    AdTextAsset value)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • setCallToActions

        public LocalAdInfo.Builder setCallToActions​(int index,
                                                    AdTextAsset.Builder builderForValue)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • addCallToActions

        public LocalAdInfo.Builder addCallToActions​(AdTextAsset value)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • addCallToActions

        public LocalAdInfo.Builder addCallToActions​(int index,
                                                    AdTextAsset value)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • addCallToActions

        public LocalAdInfo.Builder addCallToActions​(AdTextAsset.Builder builderForValue)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • addCallToActions

        public LocalAdInfo.Builder addCallToActions​(int index,
                                                    AdTextAsset.Builder builderForValue)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • addAllCallToActions

        public LocalAdInfo.Builder addAllCallToActions​(java.lang.Iterable<? extends AdTextAsset> values)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • clearCallToActions

        public LocalAdInfo.Builder clearCallToActions()
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • removeCallToActions

        public LocalAdInfo.Builder removeCallToActions​(int index)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • getCallToActionsBuilder

        public AdTextAsset.Builder getCallToActionsBuilder​(int index)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • getCallToActionsOrBuilder

        public AdTextAssetOrBuilder getCallToActionsOrBuilder​(int index)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
        Specified by:
        getCallToActionsOrBuilder in interface LocalAdInfoOrBuilder
      • getCallToActionsOrBuilderList

        public java.util.List<? extends AdTextAssetOrBuilder> getCallToActionsOrBuilderList()
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
        Specified by:
        getCallToActionsOrBuilderList in interface LocalAdInfoOrBuilder
      • addCallToActionsBuilder

        public AdTextAsset.Builder addCallToActionsBuilder()
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • addCallToActionsBuilder

        public AdTextAsset.Builder addCallToActionsBuilder​(int index)
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • getCallToActionsBuilderList

        public java.util.List<AdTextAsset.Builder> getCallToActionsBuilderList()
         List of text assets for call-to-actions. When the ad serves the
         call-to-actions will be selected from this list. Call-to-actions are
         optional and at most 5 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;
      • getMarketingImagesList

        public java.util.List<AdImageAsset> getMarketingImagesList()
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
        Specified by:
        getMarketingImagesList in interface LocalAdInfoOrBuilder
      • getMarketingImagesCount

        public int getMarketingImagesCount()
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
        Specified by:
        getMarketingImagesCount in interface LocalAdInfoOrBuilder
      • getMarketingImages

        public AdImageAsset getMarketingImages​(int index)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
        Specified by:
        getMarketingImages in interface LocalAdInfoOrBuilder
      • setMarketingImages

        public LocalAdInfo.Builder setMarketingImages​(int index,
                                                      AdImageAsset value)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • setMarketingImages

        public LocalAdInfo.Builder setMarketingImages​(int index,
                                                      AdImageAsset.Builder builderForValue)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • addMarketingImages

        public LocalAdInfo.Builder addMarketingImages​(AdImageAsset value)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • addMarketingImages

        public LocalAdInfo.Builder addMarketingImages​(int index,
                                                      AdImageAsset value)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • addMarketingImages

        public LocalAdInfo.Builder addMarketingImages​(AdImageAsset.Builder builderForValue)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • addMarketingImages

        public LocalAdInfo.Builder addMarketingImages​(int index,
                                                      AdImageAsset.Builder builderForValue)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • addAllMarketingImages

        public LocalAdInfo.Builder addAllMarketingImages​(java.lang.Iterable<? extends AdImageAsset> values)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • clearMarketingImages

        public LocalAdInfo.Builder clearMarketingImages()
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • removeMarketingImages

        public LocalAdInfo.Builder removeMarketingImages​(int index)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • getMarketingImagesBuilder

        public AdImageAsset.Builder getMarketingImagesBuilder​(int index)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • getMarketingImagesOrBuilder

        public AdImageAssetOrBuilder getMarketingImagesOrBuilder​(int index)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
        Specified by:
        getMarketingImagesOrBuilder in interface LocalAdInfoOrBuilder
      • getMarketingImagesOrBuilderList

        public java.util.List<? extends AdImageAssetOrBuilder> getMarketingImagesOrBuilderList()
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
        Specified by:
        getMarketingImagesOrBuilderList in interface LocalAdInfoOrBuilder
      • addMarketingImagesBuilder

        public AdImageAsset.Builder addMarketingImagesBuilder()
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • addMarketingImagesBuilder

        public AdImageAsset.Builder addMarketingImagesBuilder​(int index)
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • getMarketingImagesBuilderList

        public java.util.List<AdImageAsset.Builder> getMarketingImagesBuilderList()
         List of marketing image assets that may be displayed with the ad. The
         images must be 314x600 pixels or 320x320 pixels. At least 1 and at most
         20 image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;
      • getLogoImagesList

        public java.util.List<AdImageAsset> getLogoImagesList()
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
        Specified by:
        getLogoImagesList in interface LocalAdInfoOrBuilder
      • getLogoImagesCount

        public int getLogoImagesCount()
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
        Specified by:
        getLogoImagesCount in interface LocalAdInfoOrBuilder
      • getLogoImages

        public AdImageAsset getLogoImages​(int index)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
        Specified by:
        getLogoImages in interface LocalAdInfoOrBuilder
      • setLogoImages

        public LocalAdInfo.Builder setLogoImages​(int index,
                                                 AdImageAsset value)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • setLogoImages

        public LocalAdInfo.Builder setLogoImages​(int index,
                                                 AdImageAsset.Builder builderForValue)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • addLogoImages

        public LocalAdInfo.Builder addLogoImages​(AdImageAsset value)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • addLogoImages

        public LocalAdInfo.Builder addLogoImages​(int index,
                                                 AdImageAsset value)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • addLogoImages

        public LocalAdInfo.Builder addLogoImages​(AdImageAsset.Builder builderForValue)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • addLogoImages

        public LocalAdInfo.Builder addLogoImages​(int index,
                                                 AdImageAsset.Builder builderForValue)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • addAllLogoImages

        public LocalAdInfo.Builder addAllLogoImages​(java.lang.Iterable<? extends AdImageAsset> values)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • clearLogoImages

        public LocalAdInfo.Builder clearLogoImages()
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • removeLogoImages

        public LocalAdInfo.Builder removeLogoImages​(int index)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • getLogoImagesBuilder

        public AdImageAsset.Builder getLogoImagesBuilder​(int index)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • getLogoImagesOrBuilder

        public AdImageAssetOrBuilder getLogoImagesOrBuilder​(int index)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
        Specified by:
        getLogoImagesOrBuilder in interface LocalAdInfoOrBuilder
      • getLogoImagesOrBuilderList

        public java.util.List<? extends AdImageAssetOrBuilder> getLogoImagesOrBuilderList()
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
        Specified by:
        getLogoImagesOrBuilderList in interface LocalAdInfoOrBuilder
      • addLogoImagesBuilder

        public AdImageAsset.Builder addLogoImagesBuilder()
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • addLogoImagesBuilder

        public AdImageAsset.Builder addLogoImagesBuilder​(int index)
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • getLogoImagesBuilderList

        public java.util.List<AdImageAsset.Builder> getLogoImagesBuilderList()
         List of logo image assets that may be displayed with the ad. The images
         must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5
         image assets must be specified.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;
      • getVideosList

        public java.util.List<AdVideoAsset> getVideosList()
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
        Specified by:
        getVideosList in interface LocalAdInfoOrBuilder
      • getVideosCount

        public int getVideosCount()
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
        Specified by:
        getVideosCount in interface LocalAdInfoOrBuilder
      • getVideos

        public AdVideoAsset getVideos​(int index)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
        Specified by:
        getVideos in interface LocalAdInfoOrBuilder
      • setVideos

        public LocalAdInfo.Builder setVideos​(int index,
                                             AdVideoAsset value)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • setVideos

        public LocalAdInfo.Builder setVideos​(int index,
                                             AdVideoAsset.Builder builderForValue)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • addVideos

        public LocalAdInfo.Builder addVideos​(AdVideoAsset value)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • addVideos

        public LocalAdInfo.Builder addVideos​(int index,
                                             AdVideoAsset value)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • addVideos

        public LocalAdInfo.Builder addVideos​(AdVideoAsset.Builder builderForValue)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • addVideos

        public LocalAdInfo.Builder addVideos​(int index,
                                             AdVideoAsset.Builder builderForValue)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • addAllVideos

        public LocalAdInfo.Builder addAllVideos​(java.lang.Iterable<? extends AdVideoAsset> values)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • clearVideos

        public LocalAdInfo.Builder clearVideos()
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • removeVideos

        public LocalAdInfo.Builder removeVideos​(int index)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • getVideosBuilder

        public AdVideoAsset.Builder getVideosBuilder​(int index)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • getVideosOrBuilder

        public AdVideoAssetOrBuilder getVideosOrBuilder​(int index)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
        Specified by:
        getVideosOrBuilder in interface LocalAdInfoOrBuilder
      • getVideosOrBuilderList

        public java.util.List<? extends AdVideoAssetOrBuilder> getVideosOrBuilderList()
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
        Specified by:
        getVideosOrBuilderList in interface LocalAdInfoOrBuilder
      • addVideosBuilder

        public AdVideoAsset.Builder addVideosBuilder()
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • addVideosBuilder

        public AdVideoAsset.Builder addVideosBuilder​(int index)
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • getVideosBuilderList

        public java.util.List<AdVideoAsset.Builder> getVideosBuilderList()
         List of YouTube video assets that may be displayed with the ad. Videos
         are optional and at most 20 can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;
      • hasPath1

        public boolean hasPath1()
         First part of optional text that can be appended to the URL in the ad.
         
        optional string path1 = 9;
        Specified by:
        hasPath1 in interface LocalAdInfoOrBuilder
        Returns:
        Whether the path1 field is set.
      • getPath1

        public java.lang.String getPath1()
         First part of optional text that can be appended to the URL in the ad.
         
        optional string path1 = 9;
        Specified by:
        getPath1 in interface LocalAdInfoOrBuilder
        Returns:
        The path1.
      • getPath1Bytes

        public com.google.protobuf.ByteString getPath1Bytes()
         First part of optional text that can be appended to the URL in the ad.
         
        optional string path1 = 9;
        Specified by:
        getPath1Bytes in interface LocalAdInfoOrBuilder
        Returns:
        The bytes for path1.
      • setPath1

        public LocalAdInfo.Builder setPath1​(java.lang.String value)
         First part of optional text that can be appended to the URL in the ad.
         
        optional string path1 = 9;
        Parameters:
        value - The path1 to set.
        Returns:
        This builder for chaining.
      • clearPath1

        public LocalAdInfo.Builder clearPath1()
         First part of optional text that can be appended to the URL in the ad.
         
        optional string path1 = 9;
        Returns:
        This builder for chaining.
      • setPath1Bytes

        public LocalAdInfo.Builder setPath1Bytes​(com.google.protobuf.ByteString value)
         First part of optional text that can be appended to the URL in the ad.
         
        optional string path1 = 9;
        Parameters:
        value - The bytes for path1 to set.
        Returns:
        This builder for chaining.
      • hasPath2

        public boolean hasPath2()
         Second part of optional text that can be appended to the URL in the ad.
         This field can only be set when `path1` is also set.
         
        optional string path2 = 10;
        Specified by:
        hasPath2 in interface LocalAdInfoOrBuilder
        Returns:
        Whether the path2 field is set.
      • getPath2

        public java.lang.String getPath2()
         Second part of optional text that can be appended to the URL in the ad.
         This field can only be set when `path1` is also set.
         
        optional string path2 = 10;
        Specified by:
        getPath2 in interface LocalAdInfoOrBuilder
        Returns:
        The path2.
      • getPath2Bytes

        public com.google.protobuf.ByteString getPath2Bytes()
         Second part of optional text that can be appended to the URL in the ad.
         This field can only be set when `path1` is also set.
         
        optional string path2 = 10;
        Specified by:
        getPath2Bytes in interface LocalAdInfoOrBuilder
        Returns:
        The bytes for path2.
      • setPath2

        public LocalAdInfo.Builder setPath2​(java.lang.String value)
         Second part of optional text that can be appended to the URL in the ad.
         This field can only be set when `path1` is also set.
         
        optional string path2 = 10;
        Parameters:
        value - The path2 to set.
        Returns:
        This builder for chaining.
      • clearPath2

        public LocalAdInfo.Builder clearPath2()
         Second part of optional text that can be appended to the URL in the ad.
         This field can only be set when `path1` is also set.
         
        optional string path2 = 10;
        Returns:
        This builder for chaining.
      • setPath2Bytes

        public LocalAdInfo.Builder setPath2Bytes​(com.google.protobuf.ByteString value)
         Second part of optional text that can be appended to the URL in the ad.
         This field can only be set when `path1` is also set.
         
        optional string path2 = 10;
        Parameters:
        value - The bytes for path2 to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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