Class GmailAdInfo.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasTeaser()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
        Specified by:
        hasTeaser in interface GmailAdInfoOrBuilder
        Returns:
        Whether the teaser field is set.
      • getTeaser

        public GmailTeaser getTeaser()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
        Specified by:
        getTeaser in interface GmailAdInfoOrBuilder
        Returns:
        The teaser.
      • mergeTeaser

        public GmailAdInfo.Builder mergeTeaser​(GmailTeaser value)
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
      • clearTeaser

        public GmailAdInfo.Builder clearTeaser()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
      • getTeaserBuilder

        public GmailTeaser.Builder getTeaserBuilder()
         The Gmail teaser.
         
        .google.ads.googleads.v10.common.GmailTeaser teaser = 1;
      • hasHeaderImage

        public boolean hasHeaderImage()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Specified by:
        hasHeaderImage in interface GmailAdInfoOrBuilder
        Returns:
        Whether the headerImage field is set.
      • getHeaderImage

        public java.lang.String getHeaderImage()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Specified by:
        getHeaderImage in interface GmailAdInfoOrBuilder
        Returns:
        The headerImage.
      • getHeaderImageBytes

        public com.google.protobuf.ByteString getHeaderImageBytes()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Specified by:
        getHeaderImageBytes in interface GmailAdInfoOrBuilder
        Returns:
        The bytes for headerImage.
      • setHeaderImage

        public GmailAdInfo.Builder setHeaderImage​(java.lang.String value)
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Parameters:
        value - The headerImage to set.
        Returns:
        This builder for chaining.
      • clearHeaderImage

        public GmailAdInfo.Builder clearHeaderImage()
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Returns:
        This builder for chaining.
      • setHeaderImageBytes

        public GmailAdInfo.Builder setHeaderImageBytes​(com.google.protobuf.ByteString value)
         The MediaFile resource name of the header image. Valid image types are GIF,
         JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must
         be between 3:1 and 5:1 (+-1%).
         
        optional string header_image = 10;
        Parameters:
        value - The bytes for headerImage to set.
        Returns:
        This builder for chaining.
      • hasMarketingImage

        public boolean hasMarketingImage()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Specified by:
        hasMarketingImage in interface GmailAdInfoOrBuilder
        Returns:
        Whether the marketingImage field is set.
      • getMarketingImage

        public java.lang.String getMarketingImage()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Specified by:
        getMarketingImage in interface GmailAdInfoOrBuilder
        Returns:
        The marketingImage.
      • getMarketingImageBytes

        public com.google.protobuf.ByteString getMarketingImageBytes()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Specified by:
        getMarketingImageBytes in interface GmailAdInfoOrBuilder
        Returns:
        The bytes for marketingImage.
      • setMarketingImage

        public GmailAdInfo.Builder setMarketingImage​(java.lang.String value)
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Parameters:
        value - The marketingImage to set.
        Returns:
        This builder for chaining.
      • clearMarketingImage

        public GmailAdInfo.Builder clearMarketingImage()
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Returns:
        This builder for chaining.
      • setMarketingImageBytes

        public GmailAdInfo.Builder setMarketingImageBytes​(com.google.protobuf.ByteString value)
         The MediaFile resource name of the marketing image. Valid image types are
         GIF, JPEG and PNG. The image must either be landscape with a minimum size
         of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a
         minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%)
         
        optional string marketing_image = 11;
        Parameters:
        value - The bytes for marketingImage to set.
        Returns:
        This builder for chaining.
      • hasMarketingImageHeadline

        public boolean hasMarketingImageHeadline()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Specified by:
        hasMarketingImageHeadline in interface GmailAdInfoOrBuilder
        Returns:
        Whether the marketingImageHeadline field is set.
      • getMarketingImageHeadline

        public java.lang.String getMarketingImageHeadline()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Specified by:
        getMarketingImageHeadline in interface GmailAdInfoOrBuilder
        Returns:
        The marketingImageHeadline.
      • getMarketingImageHeadlineBytes

        public com.google.protobuf.ByteString getMarketingImageHeadlineBytes()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Specified by:
        getMarketingImageHeadlineBytes in interface GmailAdInfoOrBuilder
        Returns:
        The bytes for marketingImageHeadline.
      • setMarketingImageHeadline

        public GmailAdInfo.Builder setMarketingImageHeadline​(java.lang.String value)
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Parameters:
        value - The marketingImageHeadline to set.
        Returns:
        This builder for chaining.
      • clearMarketingImageHeadline

        public GmailAdInfo.Builder clearMarketingImageHeadline()
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Returns:
        This builder for chaining.
      • setMarketingImageHeadlineBytes

        public GmailAdInfo.Builder setMarketingImageHeadlineBytes​(com.google.protobuf.ByteString value)
         Headline of the marketing image.
         
        optional string marketing_image_headline = 12;
        Parameters:
        value - The bytes for marketingImageHeadline to set.
        Returns:
        This builder for chaining.
      • hasMarketingImageDescription

        public boolean hasMarketingImageDescription()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Specified by:
        hasMarketingImageDescription in interface GmailAdInfoOrBuilder
        Returns:
        Whether the marketingImageDescription field is set.
      • getMarketingImageDescription

        public java.lang.String getMarketingImageDescription()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Specified by:
        getMarketingImageDescription in interface GmailAdInfoOrBuilder
        Returns:
        The marketingImageDescription.
      • getMarketingImageDescriptionBytes

        public com.google.protobuf.ByteString getMarketingImageDescriptionBytes()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Specified by:
        getMarketingImageDescriptionBytes in interface GmailAdInfoOrBuilder
        Returns:
        The bytes for marketingImageDescription.
      • setMarketingImageDescription

        public GmailAdInfo.Builder setMarketingImageDescription​(java.lang.String value)
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Parameters:
        value - The marketingImageDescription to set.
        Returns:
        This builder for chaining.
      • clearMarketingImageDescription

        public GmailAdInfo.Builder clearMarketingImageDescription()
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Returns:
        This builder for chaining.
      • setMarketingImageDescriptionBytes

        public GmailAdInfo.Builder setMarketingImageDescriptionBytes​(com.google.protobuf.ByteString value)
         Description of the marketing image.
         
        optional string marketing_image_description = 13;
        Parameters:
        value - The bytes for marketingImageDescription to set.
        Returns:
        This builder for chaining.
      • hasMarketingImageDisplayCallToAction

        public boolean hasMarketingImageDisplayCallToAction()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
        Specified by:
        hasMarketingImageDisplayCallToAction in interface GmailAdInfoOrBuilder
        Returns:
        Whether the marketingImageDisplayCallToAction field is set.
      • getMarketingImageDisplayCallToAction

        public DisplayCallToAction getMarketingImageDisplayCallToAction()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
        Specified by:
        getMarketingImageDisplayCallToAction in interface GmailAdInfoOrBuilder
        Returns:
        The marketingImageDisplayCallToAction.
      • setMarketingImageDisplayCallToAction

        public GmailAdInfo.Builder setMarketingImageDisplayCallToAction​(DisplayCallToAction value)
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
      • setMarketingImageDisplayCallToAction

        public GmailAdInfo.Builder setMarketingImageDisplayCallToAction​(DisplayCallToAction.Builder builderForValue)
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
      • mergeMarketingImageDisplayCallToAction

        public GmailAdInfo.Builder mergeMarketingImageDisplayCallToAction​(DisplayCallToAction value)
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
      • clearMarketingImageDisplayCallToAction

        public GmailAdInfo.Builder clearMarketingImageDisplayCallToAction()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
      • getMarketingImageDisplayCallToActionBuilder

        public DisplayCallToAction.Builder getMarketingImageDisplayCallToActionBuilder()
         Display-call-to-action of the marketing image.
         
        .google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;
      • getProductImagesList

        public java.util.List<ProductImage> getProductImagesList()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
        Specified by:
        getProductImagesList in interface GmailAdInfoOrBuilder
      • getProductImagesCount

        public int getProductImagesCount()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
        Specified by:
        getProductImagesCount in interface GmailAdInfoOrBuilder
      • getProductImages

        public ProductImage getProductImages​(int index)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
        Specified by:
        getProductImages in interface GmailAdInfoOrBuilder
      • setProductImages

        public GmailAdInfo.Builder setProductImages​(int index,
                                                    ProductImage value)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • setProductImages

        public GmailAdInfo.Builder setProductImages​(int index,
                                                    ProductImage.Builder builderForValue)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addProductImages

        public GmailAdInfo.Builder addProductImages​(ProductImage value)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addProductImages

        public GmailAdInfo.Builder addProductImages​(int index,
                                                    ProductImage value)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addProductImages

        public GmailAdInfo.Builder addProductImages​(ProductImage.Builder builderForValue)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addProductImages

        public GmailAdInfo.Builder addProductImages​(int index,
                                                    ProductImage.Builder builderForValue)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addAllProductImages

        public GmailAdInfo.Builder addAllProductImages​(java.lang.Iterable<? extends ProductImage> values)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • clearProductImages

        public GmailAdInfo.Builder clearProductImages()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • removeProductImages

        public GmailAdInfo.Builder removeProductImages​(int index)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductImagesBuilder

        public ProductImage.Builder getProductImagesBuilder​(int index)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addProductImagesBuilder

        public ProductImage.Builder addProductImagesBuilder()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • addProductImagesBuilder

        public ProductImage.Builder addProductImagesBuilder​(int index)
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductImagesBuilderList

        public java.util.List<ProductImage.Builder> getProductImagesBuilderList()
         Product images. Up to 15 images are supported.
         
        repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;
      • getProductVideosList

        public java.util.List<ProductVideo> getProductVideosList()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
        Specified by:
        getProductVideosList in interface GmailAdInfoOrBuilder
      • getProductVideosCount

        public int getProductVideosCount()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
        Specified by:
        getProductVideosCount in interface GmailAdInfoOrBuilder
      • getProductVideos

        public ProductVideo getProductVideos​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
        Specified by:
        getProductVideos in interface GmailAdInfoOrBuilder
      • setProductVideos

        public GmailAdInfo.Builder setProductVideos​(int index,
                                                    ProductVideo value)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • setProductVideos

        public GmailAdInfo.Builder setProductVideos​(int index,
                                                    ProductVideo.Builder builderForValue)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • addProductVideos

        public GmailAdInfo.Builder addProductVideos​(ProductVideo value)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • addProductVideos

        public GmailAdInfo.Builder addProductVideos​(int index,
                                                    ProductVideo value)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • addProductVideos

        public GmailAdInfo.Builder addProductVideos​(ProductVideo.Builder builderForValue)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • addProductVideos

        public GmailAdInfo.Builder addProductVideos​(int index,
                                                    ProductVideo.Builder builderForValue)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • addAllProductVideos

        public GmailAdInfo.Builder addAllProductVideos​(java.lang.Iterable<? extends ProductVideo> values)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • clearProductVideos

        public GmailAdInfo.Builder clearProductVideos()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • removeProductVideos

        public GmailAdInfo.Builder removeProductVideos​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideosBuilder

        public ProductVideo.Builder getProductVideosBuilder​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideosOrBuilder

        public ProductVideoOrBuilder getProductVideosOrBuilder​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
        Specified by:
        getProductVideosOrBuilder in interface GmailAdInfoOrBuilder
      • getProductVideosOrBuilderList

        public java.util.List<? extends ProductVideoOrBuilder> getProductVideosOrBuilderList()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
        Specified by:
        getProductVideosOrBuilderList in interface GmailAdInfoOrBuilder
      • addProductVideosBuilder

        public ProductVideo.Builder addProductVideosBuilder()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • addProductVideosBuilder

        public ProductVideo.Builder addProductVideosBuilder​(int index)
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • getProductVideosBuilderList

        public java.util.List<ProductVideo.Builder> getProductVideosBuilderList()
         Product videos. Up to 7 videos are supported. At least one product video
         or a marketing image must be specified.
         
        repeated .google.ads.googleads.v10.common.ProductVideo product_videos = 8;
      • setUnknownFields

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

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