Class DiscoveryMultiAssetAdInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v14.common.DiscoveryMultiAssetAdInfo
-
- All Implemented Interfaces:
DiscoveryMultiAssetAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class DiscoveryMultiAssetAdInfo extends com.google.protobuf.GeneratedMessageV3 implements DiscoveryMultiAssetAdInfoOrBuilder
A discovery multi asset ad.
Protobuf typegoogle.ads.googleads.v14.common.DiscoveryMultiAssetAdInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiscoveryMultiAssetAdInfo.BuilderA discovery multi asset ad.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBUSINESS_NAME_FIELD_NUMBERstatic intCALL_TO_ACTION_TEXT_FIELD_NUMBERstatic intDESCRIPTIONS_FIELD_NUMBERstatic intHEADLINES_FIELD_NUMBERstatic intLEAD_FORM_ONLY_FIELD_NUMBERstatic intLOGO_IMAGES_FIELD_NUMBERstatic intMARKETING_IMAGES_FIELD_NUMBERstatic intPORTRAIT_MARKETING_IMAGES_FIELD_NUMBERstatic intSQUARE_MARKETING_IMAGES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetBusinessName()The Advertiser/brand name.com.google.protobuf.ByteStringgetBusinessNameBytes()The Advertiser/brand name.java.lang.StringgetCallToActionText()Call to action text.com.google.protobuf.ByteStringgetCallToActionTextBytes()Call to action text.static DiscoveryMultiAssetAdInfogetDefaultInstance()DiscoveryMultiAssetAdInfogetDefaultInstanceForType()AdTextAssetgetDescriptions(int index)The descriptive text of the ad.intgetDescriptionsCount()The descriptive text of the ad.java.util.List<AdTextAsset>getDescriptionsList()The descriptive text of the ad.AdTextAssetOrBuildergetDescriptionsOrBuilder(int index)The descriptive text of the ad.java.util.List<? extends AdTextAssetOrBuilder>getDescriptionsOrBuilderList()The descriptive text of the ad.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AdTextAssetgetHeadlines(int index)Headline text asset of the ad.intgetHeadlinesCount()Headline text asset of the ad.java.util.List<AdTextAsset>getHeadlinesList()Headline text asset of the ad.AdTextAssetOrBuildergetHeadlinesOrBuilder(int index)Headline text asset of the ad.java.util.List<? extends AdTextAssetOrBuilder>getHeadlinesOrBuilderList()Headline text asset of the ad.booleangetLeadFormOnly()Boolean option that indicates if this ad must be served with lead form.AdImageAssetgetLogoImages(int index)Logo image assets to be used in the ad.intgetLogoImagesCount()Logo image assets to be used in the ad.java.util.List<AdImageAsset>getLogoImagesList()Logo image assets to be used in the ad.AdImageAssetOrBuildergetLogoImagesOrBuilder(int index)Logo image assets to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getLogoImagesOrBuilderList()Logo image assets to be used in the ad.AdImageAssetgetMarketingImages(int index)Marketing image assets to be used in the ad.intgetMarketingImagesCount()Marketing image assets to be used in the ad.java.util.List<AdImageAsset>getMarketingImagesList()Marketing image assets to be used in the ad.AdImageAssetOrBuildergetMarketingImagesOrBuilder(int index)Marketing image assets to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getMarketingImagesOrBuilderList()Marketing image assets to be used in the ad.com.google.protobuf.Parser<DiscoveryMultiAssetAdInfo>getParserForType()AdImageAssetgetPortraitMarketingImages(int index)Portrait marketing image assets to be used in the ad.intgetPortraitMarketingImagesCount()Portrait marketing image assets to be used in the ad.java.util.List<AdImageAsset>getPortraitMarketingImagesList()Portrait marketing image assets to be used in the ad.AdImageAssetOrBuildergetPortraitMarketingImagesOrBuilder(int index)Portrait marketing image assets to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getPortraitMarketingImagesOrBuilderList()Portrait marketing image assets to be used in the ad.intgetSerializedSize()AdImageAssetgetSquareMarketingImages(int index)Square marketing image assets to be used in the ad.intgetSquareMarketingImagesCount()Square marketing image assets to be used in the ad.java.util.List<AdImageAsset>getSquareMarketingImagesList()Square marketing image assets to be used in the ad.AdImageAssetOrBuildergetSquareMarketingImagesOrBuilder(int index)Square marketing image assets to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getSquareMarketingImagesOrBuilderList()Square marketing image assets to be used in the ad.booleanhasBusinessName()The Advertiser/brand name.booleanhasCallToActionText()Call to action text.inthashCode()booleanhasLeadFormOnly()Boolean option that indicates if this ad must be served with lead form.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DiscoveryMultiAssetAdInfo.BuildernewBuilder()static DiscoveryMultiAssetAdInfo.BuildernewBuilder(DiscoveryMultiAssetAdInfo prototype)DiscoveryMultiAssetAdInfo.BuildernewBuilderForType()protected DiscoveryMultiAssetAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DiscoveryMultiAssetAdInfoparseDelimitedFrom(java.io.InputStream input)static DiscoveryMultiAssetAdInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryMultiAssetAdInfoparseFrom(byte[] data)static DiscoveryMultiAssetAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryMultiAssetAdInfoparseFrom(com.google.protobuf.ByteString data)static DiscoveryMultiAssetAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryMultiAssetAdInfoparseFrom(com.google.protobuf.CodedInputStream input)static DiscoveryMultiAssetAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryMultiAssetAdInfoparseFrom(java.io.InputStream input)static DiscoveryMultiAssetAdInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryMultiAssetAdInfoparseFrom(java.nio.ByteBuffer data)static DiscoveryMultiAssetAdInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DiscoveryMultiAssetAdInfo>parser()DiscoveryMultiAssetAdInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MARKETING_IMAGES_FIELD_NUMBER
public static final int MARKETING_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQUARE_MARKETING_IMAGES_FIELD_NUMBER
public static final int SQUARE_MARKETING_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORTRAIT_MARKETING_IMAGES_FIELD_NUMBER
public static final int PORTRAIT_MARKETING_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGO_IMAGES_FIELD_NUMBER
public static final int LOGO_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADLINES_FIELD_NUMBER
public static final int HEADLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTIONS_FIELD_NUMBER
public static final int DESCRIPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_TO_ACTION_TEXT_FIELD_NUMBER
public static final int CALL_TO_ACTION_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEAD_FORM_ONLY_FIELD_NUMBER
public static final int LEAD_FORM_ONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getMarketingImagesList
public java.util.List<AdImageAsset> getMarketingImagesList()
Marketing image assets 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%). Required if square_marketing_images is not present. Combined with `square_marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getMarketingImagesOrBuilderList
public java.util.List<? extends AdImageAssetOrBuilder> getMarketingImagesOrBuilderList()
Marketing image assets 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%). Required if square_marketing_images is not present. Combined with `square_marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesOrBuilderListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getMarketingImagesCount
public int getMarketingImagesCount()
Marketing image assets 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%). Required if square_marketing_images is not present. Combined with `square_marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesCountin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getMarketingImages
public AdImageAsset getMarketingImages(int index)
Marketing image assets 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%). Required if square_marketing_images is not present. Combined with `square_marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getMarketingImagesOrBuilder
public AdImageAssetOrBuilder getMarketingImagesOrBuilder(int index)
Marketing image assets 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%). Required if square_marketing_images is not present. Combined with `square_marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesOrBuilderin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getSquareMarketingImagesList
public java.util.List<AdImageAsset> getSquareMarketingImagesList()
Square marketing image assets 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%). Required if marketing_images is not present. Combined with `marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getSquareMarketingImagesOrBuilderList
public java.util.List<? extends AdImageAssetOrBuilder> getSquareMarketingImagesOrBuilderList()
Square marketing image assets 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%). Required if marketing_images is not present. Combined with `marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesOrBuilderListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getSquareMarketingImagesCount
public int getSquareMarketingImagesCount()
Square marketing image assets 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%). Required if marketing_images is not present. Combined with `marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesCountin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getSquareMarketingImages
public AdImageAsset getSquareMarketingImages(int index)
Square marketing image assets 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%). Required if marketing_images is not present. Combined with `marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getSquareMarketingImagesOrBuilder
public AdImageAssetOrBuilder getSquareMarketingImagesOrBuilder(int index)
Square marketing image assets 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%). Required if marketing_images is not present. Combined with `marketing_images` and `portrait_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesOrBuilderin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getPortraitMarketingImagesList
public java.util.List<AdImageAsset> getPortraitMarketingImagesList()
Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with `marketing_images` and `square_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset portrait_marketing_images = 3;- Specified by:
getPortraitMarketingImagesListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getPortraitMarketingImagesOrBuilderList
public java.util.List<? extends AdImageAssetOrBuilder> getPortraitMarketingImagesOrBuilderList()
Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with `marketing_images` and `square_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset portrait_marketing_images = 3;- Specified by:
getPortraitMarketingImagesOrBuilderListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getPortraitMarketingImagesCount
public int getPortraitMarketingImagesCount()
Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with `marketing_images` and `square_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset portrait_marketing_images = 3;- Specified by:
getPortraitMarketingImagesCountin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getPortraitMarketingImages
public AdImageAsset getPortraitMarketingImages(int index)
Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with `marketing_images` and `square_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset portrait_marketing_images = 3;- Specified by:
getPortraitMarketingImagesin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getPortraitMarketingImagesOrBuilder
public AdImageAssetOrBuilder getPortraitMarketingImagesOrBuilder(int index)
Portrait marketing image assets to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must be 4:5 (+-1%). Combined with `marketing_images` and `square_marketing_images` the maximum is 20.
repeated .google.ads.googleads.v14.common.AdImageAsset portrait_marketing_images = 3;- Specified by:
getPortraitMarketingImagesOrBuilderin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getLogoImagesList
public java.util.List<AdImageAsset> getLogoImagesList()
Logo image assets 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%). At least 1 and max 5 logo images can be specified.
repeated .google.ads.googleads.v14.common.AdImageAsset logo_images = 4;- Specified by:
getLogoImagesListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getLogoImagesOrBuilderList
public java.util.List<? extends AdImageAssetOrBuilder> getLogoImagesOrBuilderList()
Logo image assets 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%). At least 1 and max 5 logo images can be specified.
repeated .google.ads.googleads.v14.common.AdImageAsset logo_images = 4;- Specified by:
getLogoImagesOrBuilderListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getLogoImagesCount
public int getLogoImagesCount()
Logo image assets 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%). At least 1 and max 5 logo images can be specified.
repeated .google.ads.googleads.v14.common.AdImageAsset logo_images = 4;- Specified by:
getLogoImagesCountin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getLogoImages
public AdImageAsset getLogoImages(int index)
Logo image assets 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%). At least 1 and max 5 logo images can be specified.
repeated .google.ads.googleads.v14.common.AdImageAsset logo_images = 4;- Specified by:
getLogoImagesin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getLogoImagesOrBuilder
public AdImageAssetOrBuilder getLogoImagesOrBuilder(int index)
Logo image assets 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%). At least 1 and max 5 logo images can be specified.
repeated .google.ads.googleads.v14.common.AdImageAsset logo_images = 4;- Specified by:
getLogoImagesOrBuilderin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getHeadlinesList
public java.util.List<AdTextAsset> getHeadlinesList()
Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getHeadlinesOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesOrBuilderListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()
Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesCountin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getHeadlines
public AdTextAsset getHeadlines(int index)
Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getHeadlinesOrBuilder
public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
Headline text asset of the ad. Maximum display width is 30. At least 1 and max 5 headlines can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesOrBuilderin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getDescriptionsList
public java.util.List<AdTextAsset> getDescriptionsList()
The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset descriptions = 6;- Specified by:
getDescriptionsListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getDescriptionsOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset descriptions = 6;- Specified by:
getDescriptionsOrBuilderListin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()
The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset descriptions = 6;- Specified by:
getDescriptionsCountin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getDescriptions
public AdTextAsset getDescriptions(int index)
The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset descriptions = 6;- Specified by:
getDescriptionsin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
getDescriptionsOrBuilder
public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
The descriptive text of the ad. Maximum display width is 90. At least 1 and max 5 descriptions can be specified.
repeated .google.ads.googleads.v14.common.AdTextAsset descriptions = 6;- Specified by:
getDescriptionsOrBuilderin interfaceDiscoveryMultiAssetAdInfoOrBuilder
-
hasBusinessName
public boolean hasBusinessName()
The Advertiser/brand name. Maximum display width is 25. Required.
optional string business_name = 7;- Specified by:
hasBusinessNamein interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
public java.lang.String getBusinessName()
The Advertiser/brand name. Maximum display width is 25. Required.
optional string business_name = 7;- Specified by:
getBusinessNamein interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()
The Advertiser/brand name. Maximum display width is 25. Required.
optional string business_name = 7;- Specified by:
getBusinessNameBytesin interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- The bytes for businessName.
-
hasCallToActionText
public boolean hasCallToActionText()
Call to action text.
optional string call_to_action_text = 8;- Specified by:
hasCallToActionTextin interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- Whether the callToActionText field is set.
-
getCallToActionText
public java.lang.String getCallToActionText()
Call to action text.
optional string call_to_action_text = 8;- Specified by:
getCallToActionTextin interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- The callToActionText.
-
getCallToActionTextBytes
public com.google.protobuf.ByteString getCallToActionTextBytes()
Call to action text.
optional string call_to_action_text = 8;- Specified by:
getCallToActionTextBytesin interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- The bytes for callToActionText.
-
hasLeadFormOnly
public boolean hasLeadFormOnly()
Boolean option that indicates if this ad must be served with lead form.
optional bool lead_form_only = 9;- Specified by:
hasLeadFormOnlyin interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- Whether the leadFormOnly field is set.
-
getLeadFormOnly
public boolean getLeadFormOnly()
Boolean option that indicates if this ad must be served with lead form.
optional bool lead_form_only = 9;- Specified by:
getLeadFormOnlyin interfaceDiscoveryMultiAssetAdInfoOrBuilder- Returns:
- The leadFormOnly.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DiscoveryMultiAssetAdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DiscoveryMultiAssetAdInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DiscoveryMultiAssetAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public DiscoveryMultiAssetAdInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DiscoveryMultiAssetAdInfo.Builder newBuilder()
-
newBuilder
public static DiscoveryMultiAssetAdInfo.Builder newBuilder(DiscoveryMultiAssetAdInfo prototype)
-
toBuilder
public DiscoveryMultiAssetAdInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryMultiAssetAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DiscoveryMultiAssetAdInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DiscoveryMultiAssetAdInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<DiscoveryMultiAssetAdInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiscoveryMultiAssetAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-