Class ResponsiveDisplayAdInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveDisplayAdInfo.Builder>
com.google.ads.googleads.v18.common.ResponsiveDisplayAdInfo.Builder
All Implemented Interfaces:
ResponsiveDisplayAdInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ResponsiveDisplayAdInfo

public static final class ResponsiveDisplayAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveDisplayAdInfo.Builder> implements ResponsiveDisplayAdInfoOrBuilder
 A responsive display ad.
 
Protobuf type google.ads.googleads.v18.common.ResponsiveDisplayAdInfo
  • Method Details

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

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

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

      public ResponsiveDisplayAdInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ResponsiveDisplayAdInfo.Builder>
    • setField

      public ResponsiveDisplayAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveDisplayAdInfo.Builder>
    • clearField

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

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

      public ResponsiveDisplayAdInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveDisplayAdInfo.Builder>
    • addRepeatedField

      public ResponsiveDisplayAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponsiveDisplayAdInfo.Builder>
    • mergeFrom

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

    • isInitialized

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

      public ResponsiveDisplayAdInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<ResponsiveDisplayAdInfo.Builder>
      Throws:
      IOException
    • getMarketingImagesList

      public List<AdImageAsset> getMarketingImagesList()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImagesCount

      public int getMarketingImagesCount()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImages

      public AdImageAsset getMarketingImages(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImages in interface ResponsiveDisplayAdInfoOrBuilder
    • setMarketingImages

      public ResponsiveDisplayAdInfo.Builder setMarketingImages(int index, AdImageAsset value)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • setMarketingImages

      public ResponsiveDisplayAdInfo.Builder setMarketingImages(int index, AdImageAsset.Builder builderForValue)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • addMarketingImages

      public ResponsiveDisplayAdInfo.Builder addMarketingImages(AdImageAsset value)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • addMarketingImages

      public ResponsiveDisplayAdInfo.Builder addMarketingImages(int index, AdImageAsset value)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • addMarketingImages

      public ResponsiveDisplayAdInfo.Builder addMarketingImages(AdImageAsset.Builder builderForValue)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • addMarketingImages

      public ResponsiveDisplayAdInfo.Builder addMarketingImages(int index, AdImageAsset.Builder builderForValue)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • addAllMarketingImages

      public ResponsiveDisplayAdInfo.Builder addAllMarketingImages(Iterable<? extends AdImageAsset> values)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • clearMarketingImages

      public ResponsiveDisplayAdInfo.Builder clearMarketingImages()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • removeMarketingImages

      public ResponsiveDisplayAdInfo.Builder removeMarketingImages(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • getMarketingImagesBuilder

      public AdImageAsset.Builder getMarketingImagesBuilder(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • getMarketingImagesOrBuilder

      public AdImageAssetOrBuilder getMarketingImagesOrBuilder(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getMarketingImagesOrBuilderList()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addMarketingImagesBuilder

      public AdImageAsset.Builder addMarketingImagesBuilder()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • addMarketingImagesBuilder

      public AdImageAsset.Builder addMarketingImagesBuilder(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • getMarketingImagesBuilderList

      public List<AdImageAsset.Builder> getMarketingImagesBuilderList()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
    • getSquareMarketingImagesList

      public List<AdImageAsset> getSquareMarketingImagesList()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImagesCount

      public int getSquareMarketingImagesCount()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImages

      public AdImageAsset getSquareMarketingImages(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImages in interface ResponsiveDisplayAdInfoOrBuilder
    • setSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder setSquareMarketingImages(int index, AdImageAsset value)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • setSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder setSquareMarketingImages(int index, AdImageAsset.Builder builderForValue)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • addSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder addSquareMarketingImages(AdImageAsset value)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • addSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder addSquareMarketingImages(int index, AdImageAsset value)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • addSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder addSquareMarketingImages(AdImageAsset.Builder builderForValue)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • addSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder addSquareMarketingImages(int index, AdImageAsset.Builder builderForValue)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • addAllSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder addAllSquareMarketingImages(Iterable<? extends AdImageAsset> values)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • clearSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder clearSquareMarketingImages()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • removeSquareMarketingImages

      public ResponsiveDisplayAdInfo.Builder removeSquareMarketingImages(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • getSquareMarketingImagesBuilder

      public AdImageAsset.Builder getSquareMarketingImagesBuilder(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • getSquareMarketingImagesOrBuilder

      public AdImageAssetOrBuilder getSquareMarketingImagesOrBuilder(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getSquareMarketingImagesOrBuilderList()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addSquareMarketingImagesBuilder

      public AdImageAsset.Builder addSquareMarketingImagesBuilder()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • addSquareMarketingImagesBuilder

      public AdImageAsset.Builder addSquareMarketingImagesBuilder(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • getSquareMarketingImagesBuilderList

      public List<AdImageAsset.Builder> getSquareMarketingImagesBuilderList()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
    • getLogoImagesList

      public List<AdImageAsset> getLogoImagesList()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImagesCount

      public int getLogoImagesCount()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImages

      public AdImageAsset getLogoImages(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImages in interface ResponsiveDisplayAdInfoOrBuilder
    • setLogoImages

      public ResponsiveDisplayAdInfo.Builder setLogoImages(int index, AdImageAsset value)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • setLogoImages

      public ResponsiveDisplayAdInfo.Builder setLogoImages(int index, AdImageAsset.Builder builderForValue)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • addLogoImages

      public ResponsiveDisplayAdInfo.Builder addLogoImages(AdImageAsset value)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • addLogoImages

      public ResponsiveDisplayAdInfo.Builder addLogoImages(int index, AdImageAsset value)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • addLogoImages

      public ResponsiveDisplayAdInfo.Builder addLogoImages(AdImageAsset.Builder builderForValue)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • addLogoImages

      public ResponsiveDisplayAdInfo.Builder addLogoImages(int index, AdImageAsset.Builder builderForValue)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • addAllLogoImages

      public ResponsiveDisplayAdInfo.Builder addAllLogoImages(Iterable<? extends AdImageAsset> values)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • clearLogoImages

      public ResponsiveDisplayAdInfo.Builder clearLogoImages()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • removeLogoImages

      public ResponsiveDisplayAdInfo.Builder removeLogoImages(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • getLogoImagesBuilder

      public AdImageAsset.Builder getLogoImagesBuilder(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • getLogoImagesOrBuilder

      public AdImageAssetOrBuilder getLogoImagesOrBuilder(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getLogoImagesOrBuilderList()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addLogoImagesBuilder

      public AdImageAsset.Builder addLogoImagesBuilder()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • addLogoImagesBuilder

      public AdImageAsset.Builder addLogoImagesBuilder(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • getLogoImagesBuilderList

      public List<AdImageAsset.Builder> getLogoImagesBuilderList()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
    • getSquareLogoImagesList

      public List<AdImageAsset> getSquareLogoImagesList()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImagesCount

      public int getSquareLogoImagesCount()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImages

      public AdImageAsset getSquareLogoImages(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImages in interface ResponsiveDisplayAdInfoOrBuilder
    • setSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder setSquareLogoImages(int index, AdImageAsset value)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • setSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder setSquareLogoImages(int index, AdImageAsset.Builder builderForValue)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • addSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder addSquareLogoImages(AdImageAsset value)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • addSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder addSquareLogoImages(int index, AdImageAsset value)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • addSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder addSquareLogoImages(AdImageAsset.Builder builderForValue)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • addSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder addSquareLogoImages(int index, AdImageAsset.Builder builderForValue)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • addAllSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder addAllSquareLogoImages(Iterable<? extends AdImageAsset> values)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • clearSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder clearSquareLogoImages()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • removeSquareLogoImages

      public ResponsiveDisplayAdInfo.Builder removeSquareLogoImages(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • getSquareLogoImagesBuilder

      public AdImageAsset.Builder getSquareLogoImagesBuilder(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • getSquareLogoImagesOrBuilder

      public AdImageAssetOrBuilder getSquareLogoImagesOrBuilder(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getSquareLogoImagesOrBuilderList()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addSquareLogoImagesBuilder

      public AdImageAsset.Builder addSquareLogoImagesBuilder()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • addSquareLogoImagesBuilder

      public AdImageAsset.Builder addSquareLogoImagesBuilder(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • getSquareLogoImagesBuilderList

      public List<AdImageAsset.Builder> getSquareLogoImagesBuilderList()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
    • getHeadlinesList

      public List<AdTextAsset> getHeadlinesList()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlinesCount

      public int getHeadlinesCount()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlines

      public AdTextAsset getHeadlines(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlines in interface ResponsiveDisplayAdInfoOrBuilder
    • setHeadlines

      public ResponsiveDisplayAdInfo.Builder setHeadlines(int index, AdTextAsset value)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • setHeadlines

      public ResponsiveDisplayAdInfo.Builder setHeadlines(int index, AdTextAsset.Builder builderForValue)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • addHeadlines

      public ResponsiveDisplayAdInfo.Builder addHeadlines(AdTextAsset value)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • addHeadlines

      public ResponsiveDisplayAdInfo.Builder addHeadlines(int index, AdTextAsset value)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • addHeadlines

      public ResponsiveDisplayAdInfo.Builder addHeadlines(AdTextAsset.Builder builderForValue)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • addHeadlines

      public ResponsiveDisplayAdInfo.Builder addHeadlines(int index, AdTextAsset.Builder builderForValue)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • addAllHeadlines

      public ResponsiveDisplayAdInfo.Builder addAllHeadlines(Iterable<? extends AdTextAsset> values)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • clearHeadlines

      public ResponsiveDisplayAdInfo.Builder clearHeadlines()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • removeHeadlines

      public ResponsiveDisplayAdInfo.Builder removeHeadlines(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • getHeadlinesBuilder

      public AdTextAsset.Builder getHeadlinesBuilder(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • getHeadlinesOrBuilder

      public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlinesOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addHeadlinesBuilder

      public AdTextAsset.Builder addHeadlinesBuilder()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • addHeadlinesBuilder

      public AdTextAsset.Builder addHeadlinesBuilder(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • getHeadlinesBuilderList

      public List<AdTextAsset.Builder> getHeadlinesBuilderList()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
    • hasLongHeadline

      public boolean hasLongHeadline()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
      Specified by:
      hasLongHeadline in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the longHeadline field is set.
    • getLongHeadline

      public AdTextAsset getLongHeadline()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
      Specified by:
      getLongHeadline in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The longHeadline.
    • setLongHeadline

      public ResponsiveDisplayAdInfo.Builder setLongHeadline(AdTextAsset value)
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
    • setLongHeadline

      public ResponsiveDisplayAdInfo.Builder setLongHeadline(AdTextAsset.Builder builderForValue)
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
    • mergeLongHeadline

      public ResponsiveDisplayAdInfo.Builder mergeLongHeadline(AdTextAsset value)
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
    • clearLongHeadline

      public ResponsiveDisplayAdInfo.Builder clearLongHeadline()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
    • getLongHeadlineBuilder

      public AdTextAsset.Builder getLongHeadlineBuilder()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
    • getLongHeadlineOrBuilder

      public AdTextAssetOrBuilder getLongHeadlineOrBuilder()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
      Specified by:
      getLongHeadlineOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsList

      public List<AdTextAsset> getDescriptionsList()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsList in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsCount

      public int getDescriptionsCount()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptions

      public AdTextAsset getDescriptions(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptions in interface ResponsiveDisplayAdInfoOrBuilder
    • setDescriptions

      public ResponsiveDisplayAdInfo.Builder setDescriptions(int index, AdTextAsset value)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • setDescriptions

      public ResponsiveDisplayAdInfo.Builder setDescriptions(int index, AdTextAsset.Builder builderForValue)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • addDescriptions

      public ResponsiveDisplayAdInfo.Builder addDescriptions(AdTextAsset value)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • addDescriptions

      public ResponsiveDisplayAdInfo.Builder addDescriptions(int index, AdTextAsset value)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • addDescriptions

      public ResponsiveDisplayAdInfo.Builder addDescriptions(AdTextAsset.Builder builderForValue)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • addDescriptions

      public ResponsiveDisplayAdInfo.Builder addDescriptions(int index, AdTextAsset.Builder builderForValue)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • addAllDescriptions

      public ResponsiveDisplayAdInfo.Builder addAllDescriptions(Iterable<? extends AdTextAsset> values)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • clearDescriptions

      public ResponsiveDisplayAdInfo.Builder clearDescriptions()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • removeDescriptions

      public ResponsiveDisplayAdInfo.Builder removeDescriptions(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • getDescriptionsBuilder

      public AdTextAsset.Builder getDescriptionsBuilder(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • getDescriptionsOrBuilder

      public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addDescriptionsBuilder

      public AdTextAsset.Builder addDescriptionsBuilder()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • addDescriptionsBuilder

      public AdTextAsset.Builder addDescriptionsBuilder(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • getDescriptionsBuilderList

      public List<AdTextAsset.Builder> getDescriptionsBuilderList()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
    • getYoutubeVideosList

      public List<AdVideoAsset> getYoutubeVideosList()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosList in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideosCount

      public int getYoutubeVideosCount()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideos

      public AdVideoAsset getYoutubeVideos(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideos in interface ResponsiveDisplayAdInfoOrBuilder
    • setYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder setYoutubeVideos(int index, AdVideoAsset value)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • setYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder setYoutubeVideos(int index, AdVideoAsset.Builder builderForValue)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • addYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder addYoutubeVideos(AdVideoAsset value)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • addYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder addYoutubeVideos(int index, AdVideoAsset value)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • addYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder addYoutubeVideos(AdVideoAsset.Builder builderForValue)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • addYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder addYoutubeVideos(int index, AdVideoAsset.Builder builderForValue)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • addAllYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder addAllYoutubeVideos(Iterable<? extends AdVideoAsset> values)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • clearYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder clearYoutubeVideos()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • removeYoutubeVideos

      public ResponsiveDisplayAdInfo.Builder removeYoutubeVideos(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • getYoutubeVideosBuilder

      public AdVideoAsset.Builder getYoutubeVideosBuilder(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • getYoutubeVideosOrBuilder

      public AdVideoAssetOrBuilder getYoutubeVideosOrBuilder(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideosOrBuilderList

      public List<? extends AdVideoAssetOrBuilder> getYoutubeVideosOrBuilderList()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • addYoutubeVideosBuilder

      public AdVideoAsset.Builder addYoutubeVideosBuilder()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • addYoutubeVideosBuilder

      public AdVideoAsset.Builder addYoutubeVideosBuilder(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • getYoutubeVideosBuilderList

      public List<AdVideoAsset.Builder> getYoutubeVideosBuilderList()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
    • hasBusinessName

      public boolean hasBusinessName()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Specified by:
      hasBusinessName in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the businessName field is set.
    • getBusinessName

      public String getBusinessName()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Specified by:
      getBusinessName in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The businessName.
    • getBusinessNameBytes

      public com.google.protobuf.ByteString getBusinessNameBytes()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Specified by:
      getBusinessNameBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for businessName.
    • setBusinessName

      public ResponsiveDisplayAdInfo.Builder setBusinessName(String value)
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Parameters:
      value - The businessName to set.
      Returns:
      This builder for chaining.
    • clearBusinessName

      public ResponsiveDisplayAdInfo.Builder clearBusinessName()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Returns:
      This builder for chaining.
    • setBusinessNameBytes

      public ResponsiveDisplayAdInfo.Builder setBusinessNameBytes(com.google.protobuf.ByteString value)
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Parameters:
      value - The bytes for businessName to set.
      Returns:
      This builder for chaining.
    • hasMainColor

      public boolean hasMainColor()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 18;
      Specified by:
      hasMainColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the mainColor field is set.
    • getMainColor

      public String getMainColor()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 18;
      Specified by:
      getMainColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The mainColor.
    • getMainColorBytes

      public com.google.protobuf.ByteString getMainColorBytes()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 18;
      Specified by:
      getMainColorBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for mainColor.
    • setMainColor

      public ResponsiveDisplayAdInfo.Builder setMainColor(String value)
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 18;
      Parameters:
      value - The mainColor to set.
      Returns:
      This builder for chaining.
    • clearMainColor

      public ResponsiveDisplayAdInfo.Builder clearMainColor()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 18;
      Returns:
      This builder for chaining.
    • setMainColorBytes

      public ResponsiveDisplayAdInfo.Builder setMainColorBytes(com.google.protobuf.ByteString value)
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 18;
      Parameters:
      value - The bytes for mainColor to set.
      Returns:
      This builder for chaining.
    • hasAccentColor

      public boolean hasAccentColor()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 19;
      Specified by:
      hasAccentColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the accentColor field is set.
    • getAccentColor

      public String getAccentColor()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 19;
      Specified by:
      getAccentColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The accentColor.
    • getAccentColorBytes

      public com.google.protobuf.ByteString getAccentColorBytes()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 19;
      Specified by:
      getAccentColorBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for accentColor.
    • setAccentColor

      public ResponsiveDisplayAdInfo.Builder setAccentColor(String value)
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 19;
      Parameters:
      value - The accentColor to set.
      Returns:
      This builder for chaining.
    • clearAccentColor

      public ResponsiveDisplayAdInfo.Builder clearAccentColor()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 19;
      Returns:
      This builder for chaining.
    • setAccentColorBytes

      public ResponsiveDisplayAdInfo.Builder setAccentColorBytes(com.google.protobuf.ByteString value)
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 19;
      Parameters:
      value - The bytes for accentColor to set.
      Returns:
      This builder for chaining.
    • hasAllowFlexibleColor

      public boolean hasAllowFlexibleColor()
       Advertiser's consent to allow flexible color. When true, the ad may be
       served with different color if necessary. When false, the ad will be served
       with the specified colors or a neutral color.
       The default value is `true`.
       Must be true if `main_color` and `accent_color` are not set.
       
      optional bool allow_flexible_color = 20;
      Specified by:
      hasAllowFlexibleColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the allowFlexibleColor field is set.
    • getAllowFlexibleColor

      public boolean getAllowFlexibleColor()
       Advertiser's consent to allow flexible color. When true, the ad may be
       served with different color if necessary. When false, the ad will be served
       with the specified colors or a neutral color.
       The default value is `true`.
       Must be true if `main_color` and `accent_color` are not set.
       
      optional bool allow_flexible_color = 20;
      Specified by:
      getAllowFlexibleColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The allowFlexibleColor.
    • setAllowFlexibleColor

      public ResponsiveDisplayAdInfo.Builder setAllowFlexibleColor(boolean value)
       Advertiser's consent to allow flexible color. When true, the ad may be
       served with different color if necessary. When false, the ad will be served
       with the specified colors or a neutral color.
       The default value is `true`.
       Must be true if `main_color` and `accent_color` are not set.
       
      optional bool allow_flexible_color = 20;
      Parameters:
      value - The allowFlexibleColor to set.
      Returns:
      This builder for chaining.
    • clearAllowFlexibleColor

      public ResponsiveDisplayAdInfo.Builder clearAllowFlexibleColor()
       Advertiser's consent to allow flexible color. When true, the ad may be
       served with different color if necessary. When false, the ad will be served
       with the specified colors or a neutral color.
       The default value is `true`.
       Must be true if `main_color` and `accent_color` are not set.
       
      optional bool allow_flexible_color = 20;
      Returns:
      This builder for chaining.
    • hasCallToActionText

      public boolean hasCallToActionText()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Specified by:
      hasCallToActionText in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the callToActionText field is set.
    • getCallToActionText

      public String getCallToActionText()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Specified by:
      getCallToActionText in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The callToActionText.
    • getCallToActionTextBytes

      public com.google.protobuf.ByteString getCallToActionTextBytes()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Specified by:
      getCallToActionTextBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for callToActionText.
    • setCallToActionText

      public ResponsiveDisplayAdInfo.Builder setCallToActionText(String value)
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Parameters:
      value - The callToActionText to set.
      Returns:
      This builder for chaining.
    • clearCallToActionText

      public ResponsiveDisplayAdInfo.Builder clearCallToActionText()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Returns:
      This builder for chaining.
    • setCallToActionTextBytes

      public ResponsiveDisplayAdInfo.Builder setCallToActionTextBytes(com.google.protobuf.ByteString value)
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Parameters:
      value - The bytes for callToActionText to set.
      Returns:
      This builder for chaining.
    • hasPricePrefix

      public boolean hasPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Specified by:
      hasPricePrefix in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the pricePrefix field is set.
    • getPricePrefix

      public String getPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Specified by:
      getPricePrefix in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The pricePrefix.
    • getPricePrefixBytes

      public com.google.protobuf.ByteString getPricePrefixBytes()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Specified by:
      getPricePrefixBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for pricePrefix.
    • setPricePrefix

      public ResponsiveDisplayAdInfo.Builder setPricePrefix(String value)
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Parameters:
      value - The pricePrefix to set.
      Returns:
      This builder for chaining.
    • clearPricePrefix

      public ResponsiveDisplayAdInfo.Builder clearPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Returns:
      This builder for chaining.
    • setPricePrefixBytes

      public ResponsiveDisplayAdInfo.Builder setPricePrefixBytes(com.google.protobuf.ByteString value)
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Parameters:
      value - The bytes for pricePrefix to set.
      Returns:
      This builder for chaining.
    • hasPromoText

      public boolean hasPromoText()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Specified by:
      hasPromoText in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the promoText field is set.
    • getPromoText

      public String getPromoText()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Specified by:
      getPromoText in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The promoText.
    • getPromoTextBytes

      public com.google.protobuf.ByteString getPromoTextBytes()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Specified by:
      getPromoTextBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for promoText.
    • setPromoText

      public ResponsiveDisplayAdInfo.Builder setPromoText(String value)
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Parameters:
      value - The promoText to set.
      Returns:
      This builder for chaining.
    • clearPromoText

      public ResponsiveDisplayAdInfo.Builder clearPromoText()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Returns:
      This builder for chaining.
    • setPromoTextBytes

      public ResponsiveDisplayAdInfo.Builder setPromoTextBytes(com.google.protobuf.ByteString value)
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Parameters:
      value - The bytes for promoText to set.
      Returns:
      This builder for chaining.
    • getFormatSettingValue

      public int getFormatSettingValue()
       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;
      Specified by:
      getFormatSettingValue in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The enum numeric value on the wire for formatSetting.
    • setFormatSettingValue

      public ResponsiveDisplayAdInfo.Builder setFormatSettingValue(int value)
       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;
      Parameters:
      value - The enum numeric value on the wire for formatSetting to set.
      Returns:
      This builder for chaining.
    • getFormatSetting

       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;
      Specified by:
      getFormatSetting in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The formatSetting.
    • setFormatSetting

       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;
      Parameters:
      value - The formatSetting to set.
      Returns:
      This builder for chaining.
    • clearFormatSetting

      public ResponsiveDisplayAdInfo.Builder clearFormatSetting()
       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;
      Returns:
      This builder for chaining.
    • hasControlSpec

      public boolean hasControlSpec()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
      Specified by:
      hasControlSpec in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the controlSpec field is set.
    • getControlSpec

      public ResponsiveDisplayAdControlSpec getControlSpec()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
      Specified by:
      getControlSpec in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The controlSpec.
    • setControlSpec

       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
    • setControlSpec

       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
    • mergeControlSpec

       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
    • clearControlSpec

      public ResponsiveDisplayAdInfo.Builder clearControlSpec()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
    • getControlSpecBuilder

      public ResponsiveDisplayAdControlSpec.Builder getControlSpecBuilder()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
    • getControlSpecOrBuilder

      public ResponsiveDisplayAdControlSpecOrBuilder getControlSpecOrBuilder()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
      Specified by:
      getControlSpecOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • setUnknownFields

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

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