Class AppPreRegistrationAdInfo.Builder

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

    public static final class AppPreRegistrationAdInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AppPreRegistrationAdInfo.Builder>
    implements AppPreRegistrationAdInfoOrBuilder
     App pre-registration ads link to your app or game listing on Google Play, and
     can run on Google Play, on YouTube (in-stream only), and within other apps
     and mobile websites on the Display Network. It will help capture people's
     interest in your app or game and generate an early install base for your app
     or game before a launch.
     
    Protobuf type google.ads.googleads.v10.common.AppPreRegistrationAdInfo
    • 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<AppPreRegistrationAdInfo.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<AppPreRegistrationAdInfo.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

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

        public AppPreRegistrationAdInfo.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<AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesList in interface AppPreRegistrationAdInfoOrBuilder
      • getHeadlinesCount

        public int getHeadlinesCount()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesCount in interface AppPreRegistrationAdInfoOrBuilder
      • getHeadlines

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

        public AppPreRegistrationAdInfo.Builder setHeadlines​(int index,
                                                             AdTextAsset value)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • setHeadlines

        public AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public AppPreRegistrationAdInfo.Builder addHeadlines​(AdTextAsset value)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public AppPreRegistrationAdInfo.Builder addHeadlines​(int index,
                                                             AdTextAsset value)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public AppPreRegistrationAdInfo.Builder addHeadlines​(AdTextAsset.Builder builderForValue)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlines

        public AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addAllHeadlines

        public AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • clearHeadlines

        public AppPreRegistrationAdInfo.Builder clearHeadlines()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • removeHeadlines

        public AppPreRegistrationAdInfo.Builder removeHeadlines​(int index)
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
      • addHeadlinesBuilder

        public AdTextAsset.Builder addHeadlinesBuilder()
         List of text assets for headlines. When the ad serves the headlines will
         be selected from this list.
         
        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.
         
        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.
         
        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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptionsList in interface AppPreRegistrationAdInfoOrBuilder
      • getDescriptionsCount

        public int getDescriptionsCount()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptionsCount in interface AppPreRegistrationAdInfoOrBuilder
      • getDescriptions

        public AdTextAsset getDescriptions​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
        Specified by:
        getDescriptions in interface AppPreRegistrationAdInfoOrBuilder
      • setDescriptions

        public AppPreRegistrationAdInfo.Builder setDescriptions​(int index,
                                                                AdTextAsset value)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • setDescriptions

        public AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public AppPreRegistrationAdInfo.Builder addDescriptions​(AdTextAsset value)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public AppPreRegistrationAdInfo.Builder addDescriptions​(int index,
                                                                AdTextAsset value)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public AppPreRegistrationAdInfo.Builder addDescriptions​(AdTextAsset.Builder builderForValue)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptions

        public AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addAllDescriptions

        public AppPreRegistrationAdInfo.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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • clearDescriptions

        public AppPreRegistrationAdInfo.Builder clearDescriptions()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • removeDescriptions

        public AppPreRegistrationAdInfo.Builder removeDescriptions​(int index)
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • addDescriptionsBuilder

        public AdTextAsset.Builder addDescriptionsBuilder()
         List of text assets for descriptions. When the ad serves the descriptions
         will be selected from this list.
         
        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.
         
        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.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;
      • getImagesCount

        public int getImagesCount()
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
        Specified by:
        getImagesCount in interface AppPreRegistrationAdInfoOrBuilder
      • setImages

        public AppPreRegistrationAdInfo.Builder setImages​(int index,
                                                          AdImageAsset value)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • addImages

        public AppPreRegistrationAdInfo.Builder addImages​(AdImageAsset value)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • addImages

        public AppPreRegistrationAdInfo.Builder addImages​(int index,
                                                          AdImageAsset value)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • addAllImages

        public AppPreRegistrationAdInfo.Builder addAllImages​(java.lang.Iterable<? extends AdImageAsset> values)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • clearImages

        public AppPreRegistrationAdInfo.Builder clearImages()
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • removeImages

        public AppPreRegistrationAdInfo.Builder removeImages​(int index)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • getImagesBuilder

        public AdImageAsset.Builder getImagesBuilder​(int index)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • addImagesBuilder

        public AdImageAsset.Builder addImagesBuilder()
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • addImagesBuilder

        public AdImageAsset.Builder addImagesBuilder​(int index)
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • getImagesBuilderList

        public java.util.List<AdImageAsset.Builder> getImagesBuilderList()
         List of image asset IDs whose images may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset images = 3;
      • getYoutubeVideosCount

        public int getYoutubeVideosCount()
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
        Specified by:
        getYoutubeVideosCount in interface AppPreRegistrationAdInfoOrBuilder
      • setYoutubeVideos

        public AppPreRegistrationAdInfo.Builder setYoutubeVideos​(int index,
                                                                 AdVideoAsset value)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • setYoutubeVideos

        public AppPreRegistrationAdInfo.Builder setYoutubeVideos​(int index,
                                                                 AdVideoAsset.Builder builderForValue)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addYoutubeVideos

        public AppPreRegistrationAdInfo.Builder addYoutubeVideos​(AdVideoAsset value)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addYoutubeVideos

        public AppPreRegistrationAdInfo.Builder addYoutubeVideos​(int index,
                                                                 AdVideoAsset value)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addYoutubeVideos

        public AppPreRegistrationAdInfo.Builder addYoutubeVideos​(AdVideoAsset.Builder builderForValue)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addYoutubeVideos

        public AppPreRegistrationAdInfo.Builder addYoutubeVideos​(int index,
                                                                 AdVideoAsset.Builder builderForValue)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addAllYoutubeVideos

        public AppPreRegistrationAdInfo.Builder addAllYoutubeVideos​(java.lang.Iterable<? extends AdVideoAsset> values)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • clearYoutubeVideos

        public AppPreRegistrationAdInfo.Builder clearYoutubeVideos()
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • removeYoutubeVideos

        public AppPreRegistrationAdInfo.Builder removeYoutubeVideos​(int index)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • getYoutubeVideosBuilder

        public AdVideoAsset.Builder getYoutubeVideosBuilder​(int index)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addYoutubeVideosBuilder

        public AdVideoAsset.Builder addYoutubeVideosBuilder()
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • addYoutubeVideosBuilder

        public AdVideoAsset.Builder addYoutubeVideosBuilder​(int index)
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • getYoutubeVideosBuilderList

        public java.util.List<AdVideoAsset.Builder> getYoutubeVideosBuilderList()
         List of YouTube video asset IDs whose videos may be displayed with the ad.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 4;
      • setUnknownFields

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

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