Class GmailAdInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
- com.google.ads.googleads.v10.common.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 typegoogle.ads.googleads.v10.common.GmailAdInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GmailAdInfo.BuilderaddAllProductImages(java.lang.Iterable<? extends ProductImage> values)Product images.GmailAdInfo.BuilderaddAllProductVideos(java.lang.Iterable<? extends ProductVideo> values)Product videos.GmailAdInfo.BuilderaddProductImages(int index, ProductImage value)Product images.GmailAdInfo.BuilderaddProductImages(int index, ProductImage.Builder builderForValue)Product images.GmailAdInfo.BuilderaddProductImages(ProductImage value)Product images.GmailAdInfo.BuilderaddProductImages(ProductImage.Builder builderForValue)Product images.ProductImage.BuilderaddProductImagesBuilder()Product images.ProductImage.BuilderaddProductImagesBuilder(int index)Product images.GmailAdInfo.BuilderaddProductVideos(int index, ProductVideo value)Product videos.GmailAdInfo.BuilderaddProductVideos(int index, ProductVideo.Builder builderForValue)Product videos.GmailAdInfo.BuilderaddProductVideos(ProductVideo value)Product videos.GmailAdInfo.BuilderaddProductVideos(ProductVideo.Builder builderForValue)Product videos.ProductVideo.BuilderaddProductVideosBuilder()Product videos.ProductVideo.BuilderaddProductVideosBuilder(int index)Product videos.GmailAdInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GmailAdInfobuild()GmailAdInfobuildPartial()GmailAdInfo.Builderclear()GmailAdInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GmailAdInfo.BuilderclearHeaderImage()The MediaFile resource name of the header image.GmailAdInfo.BuilderclearMarketingImage()The MediaFile resource name of the marketing image.GmailAdInfo.BuilderclearMarketingImageDescription()Description of the marketing image.GmailAdInfo.BuilderclearMarketingImageDisplayCallToAction()Display-call-to-action of the marketing image.GmailAdInfo.BuilderclearMarketingImageHeadline()Headline of the marketing image.GmailAdInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GmailAdInfo.BuilderclearProductImages()Product images.GmailAdInfo.BuilderclearProductVideos()Product videos.GmailAdInfo.BuilderclearTeaser()The Gmail teaser.GmailAdInfo.Builderclone()GmailAdInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetHeaderImage()The MediaFile resource name of the header image.com.google.protobuf.ByteStringgetHeaderImageBytes()The MediaFile resource name of the header image.java.lang.StringgetMarketingImage()The MediaFile resource name of the marketing image.com.google.protobuf.ByteStringgetMarketingImageBytes()The MediaFile resource name of the marketing image.java.lang.StringgetMarketingImageDescription()Description of the marketing image.com.google.protobuf.ByteStringgetMarketingImageDescriptionBytes()Description of the marketing image.DisplayCallToActiongetMarketingImageDisplayCallToAction()Display-call-to-action of the marketing image.DisplayCallToAction.BuildergetMarketingImageDisplayCallToActionBuilder()Display-call-to-action of the marketing image.DisplayCallToActionOrBuildergetMarketingImageDisplayCallToActionOrBuilder()Display-call-to-action of the marketing image.java.lang.StringgetMarketingImageHeadline()Headline of the marketing image.com.google.protobuf.ByteStringgetMarketingImageHeadlineBytes()Headline of the marketing image.ProductImagegetProductImages(int index)Product images.ProductImage.BuildergetProductImagesBuilder(int index)Product images.java.util.List<ProductImage.Builder>getProductImagesBuilderList()Product images.intgetProductImagesCount()Product images.java.util.List<ProductImage>getProductImagesList()Product images.ProductImageOrBuildergetProductImagesOrBuilder(int index)Product images.java.util.List<? extends ProductImageOrBuilder>getProductImagesOrBuilderList()Product images.ProductVideogetProductVideos(int index)Product videos.ProductVideo.BuildergetProductVideosBuilder(int index)Product videos.java.util.List<ProductVideo.Builder>getProductVideosBuilderList()Product videos.intgetProductVideosCount()Product videos.java.util.List<ProductVideo>getProductVideosList()Product videos.ProductVideoOrBuildergetProductVideosOrBuilder(int index)Product videos.java.util.List<? extends ProductVideoOrBuilder>getProductVideosOrBuilderList()Product videos.GmailTeasergetTeaser()The Gmail teaser.GmailTeaser.BuildergetTeaserBuilder()The Gmail teaser.GmailTeaserOrBuildergetTeaserOrBuilder()The Gmail teaser.booleanhasHeaderImage()The MediaFile resource name of the header image.booleanhasMarketingImage()The MediaFile resource name of the marketing image.booleanhasMarketingImageDescription()Description of the marketing image.booleanhasMarketingImageDisplayCallToAction()Display-call-to-action of the marketing image.booleanhasMarketingImageHeadline()Headline of the marketing image.booleanhasTeaser()The Gmail teaser.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GmailAdInfo.BuildermergeFrom(GmailAdInfo other)GmailAdInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GmailAdInfo.BuildermergeFrom(com.google.protobuf.Message other)GmailAdInfo.BuildermergeMarketingImageDisplayCallToAction(DisplayCallToAction value)Display-call-to-action of the marketing image.GmailAdInfo.BuildermergeTeaser(GmailTeaser value)The Gmail teaser.GmailAdInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GmailAdInfo.BuilderremoveProductImages(int index)Product images.GmailAdInfo.BuilderremoveProductVideos(int index)Product videos.GmailAdInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GmailAdInfo.BuildersetHeaderImage(java.lang.String value)The MediaFile resource name of the header image.GmailAdInfo.BuildersetHeaderImageBytes(com.google.protobuf.ByteString value)The MediaFile resource name of the header image.GmailAdInfo.BuildersetMarketingImage(java.lang.String value)The MediaFile resource name of the marketing image.GmailAdInfo.BuildersetMarketingImageBytes(com.google.protobuf.ByteString value)The MediaFile resource name of the marketing image.GmailAdInfo.BuildersetMarketingImageDescription(java.lang.String value)Description of the marketing image.GmailAdInfo.BuildersetMarketingImageDescriptionBytes(com.google.protobuf.ByteString value)Description of the marketing image.GmailAdInfo.BuildersetMarketingImageDisplayCallToAction(DisplayCallToAction value)Display-call-to-action of the marketing image.GmailAdInfo.BuildersetMarketingImageDisplayCallToAction(DisplayCallToAction.Builder builderForValue)Display-call-to-action of the marketing image.GmailAdInfo.BuildersetMarketingImageHeadline(java.lang.String value)Headline of the marketing image.GmailAdInfo.BuildersetMarketingImageHeadlineBytes(com.google.protobuf.ByteString value)Headline of the marketing image.GmailAdInfo.BuildersetProductImages(int index, ProductImage value)Product images.GmailAdInfo.BuildersetProductImages(int index, ProductImage.Builder builderForValue)Product images.GmailAdInfo.BuildersetProductVideos(int index, ProductVideo value)Product videos.GmailAdInfo.BuildersetProductVideos(int index, ProductVideo.Builder builderForValue)Product videos.GmailAdInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)GmailAdInfo.BuildersetTeaser(GmailTeaser value)The Gmail teaser.GmailAdInfo.BuildersetTeaser(GmailTeaser.Builder builderForValue)The Gmail teaser.GmailAdInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
clear
public GmailAdInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
getDefaultInstanceForType
public GmailAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GmailAdInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GmailAdInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GmailAdInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
setField
public GmailAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
clearField
public GmailAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
clearOneof
public GmailAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
addRepeatedField
public GmailAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
mergeFrom
public GmailAdInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GmailAdInfo.Builder>
-
mergeFrom
public GmailAdInfo.Builder mergeFrom(GmailAdInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasTeaserin interfaceGmailAdInfoOrBuilder- Returns:
- Whether the teaser field is set.
-
getTeaser
public GmailTeaser getTeaser()
The Gmail teaser.
.google.ads.googleads.v10.common.GmailTeaser teaser = 1;- Specified by:
getTeaserin interfaceGmailAdInfoOrBuilder- Returns:
- The teaser.
-
setTeaser
public GmailAdInfo.Builder setTeaser(GmailTeaser value)
The Gmail teaser.
.google.ads.googleads.v10.common.GmailTeaser teaser = 1;
-
setTeaser
public GmailAdInfo.Builder setTeaser(GmailTeaser.Builder builderForValue)
The Gmail teaser.
.google.ads.googleads.v10.common.GmailTeaser teaser = 1;
-
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;
-
getTeaserOrBuilder
public GmailTeaserOrBuilder getTeaserOrBuilder()
The Gmail teaser.
.google.ads.googleads.v10.common.GmailTeaser teaser = 1;- Specified by:
getTeaserOrBuilderin interfaceGmailAdInfoOrBuilder
-
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:
hasHeaderImagein interfaceGmailAdInfoOrBuilder- 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:
getHeaderImagein interfaceGmailAdInfoOrBuilder- 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:
getHeaderImageBytesin interfaceGmailAdInfoOrBuilder- 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:
hasMarketingImagein interfaceGmailAdInfoOrBuilder- 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:
getMarketingImagein interfaceGmailAdInfoOrBuilder- 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:
getMarketingImageBytesin interfaceGmailAdInfoOrBuilder- 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:
hasMarketingImageHeadlinein interfaceGmailAdInfoOrBuilder- 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:
getMarketingImageHeadlinein interfaceGmailAdInfoOrBuilder- Returns:
- The marketingImageHeadline.
-
getMarketingImageHeadlineBytes
public com.google.protobuf.ByteString getMarketingImageHeadlineBytes()
Headline of the marketing image.
optional string marketing_image_headline = 12;- Specified by:
getMarketingImageHeadlineBytesin interfaceGmailAdInfoOrBuilder- 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:
hasMarketingImageDescriptionin interfaceGmailAdInfoOrBuilder- 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:
getMarketingImageDescriptionin interfaceGmailAdInfoOrBuilder- Returns:
- The marketingImageDescription.
-
getMarketingImageDescriptionBytes
public com.google.protobuf.ByteString getMarketingImageDescriptionBytes()
Description of the marketing image.
optional string marketing_image_description = 13;- Specified by:
getMarketingImageDescriptionBytesin interfaceGmailAdInfoOrBuilder- 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:
hasMarketingImageDisplayCallToActionin interfaceGmailAdInfoOrBuilder- 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:
getMarketingImageDisplayCallToActionin interfaceGmailAdInfoOrBuilder- 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;
-
getMarketingImageDisplayCallToActionOrBuilder
public DisplayCallToActionOrBuilder getMarketingImageDisplayCallToActionOrBuilder()
Display-call-to-action of the marketing image.
.google.ads.googleads.v10.common.DisplayCallToAction marketing_image_display_call_to_action = 6;- Specified by:
getMarketingImageDisplayCallToActionOrBuilderin interfaceGmailAdInfoOrBuilder
-
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:
getProductImagesListin interfaceGmailAdInfoOrBuilder
-
getProductImagesCount
public int getProductImagesCount()
Product images. Up to 15 images are supported.
repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;- Specified by:
getProductImagesCountin interfaceGmailAdInfoOrBuilder
-
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:
getProductImagesin interfaceGmailAdInfoOrBuilder
-
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;
-
getProductImagesOrBuilder
public ProductImageOrBuilder getProductImagesOrBuilder(int index)
Product images. Up to 15 images are supported.
repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;- Specified by:
getProductImagesOrBuilderin interfaceGmailAdInfoOrBuilder
-
getProductImagesOrBuilderList
public java.util.List<? extends ProductImageOrBuilder> getProductImagesOrBuilderList()
Product images. Up to 15 images are supported.
repeated .google.ads.googleads.v10.common.ProductImage product_images = 7;- Specified by:
getProductImagesOrBuilderListin interfaceGmailAdInfoOrBuilder
-
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:
getProductVideosListin interfaceGmailAdInfoOrBuilder
-
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:
getProductVideosCountin interfaceGmailAdInfoOrBuilder
-
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:
getProductVideosin interfaceGmailAdInfoOrBuilder
-
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:
getProductVideosOrBuilderin interfaceGmailAdInfoOrBuilder
-
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:
getProductVideosOrBuilderListin interfaceGmailAdInfoOrBuilder
-
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
mergeUnknownFields
public final GmailAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GmailAdInfo.Builder>
-
-