Class LegacyResponsiveDisplayAdInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.LegacyResponsiveDisplayAdInfo
-
- All Implemented Interfaces:
LegacyResponsiveDisplayAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class LegacyResponsiveDisplayAdInfo extends com.google.protobuf.GeneratedMessageV3 implements LegacyResponsiveDisplayAdInfoOrBuilder
A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' in the Google Ads UI.
Protobuf typegoogle.ads.googleads.v10.common.LegacyResponsiveDisplayAdInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegacyResponsiveDisplayAdInfo.BuilderA legacy responsive display ad.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCENT_COLOR_FIELD_NUMBERstatic intALLOW_FLEXIBLE_COLOR_FIELD_NUMBERstatic intBUSINESS_NAME_FIELD_NUMBERstatic intCALL_TO_ACTION_TEXT_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intFORMAT_SETTING_FIELD_NUMBERstatic intLOGO_IMAGE_FIELD_NUMBERstatic intLONG_HEADLINE_FIELD_NUMBERstatic intMAIN_COLOR_FIELD_NUMBERstatic intMARKETING_IMAGE_FIELD_NUMBERstatic intPRICE_PREFIX_FIELD_NUMBERstatic intPROMO_TEXT_FIELD_NUMBERstatic intSHORT_HEADLINE_FIELD_NUMBERstatic intSQUARE_LOGO_IMAGE_FIELD_NUMBERstatic intSQUARE_MARKETING_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAccentColor()The accent color of the ad in hexadecimal, e.g.com.google.protobuf.ByteStringgetAccentColorBytes()The accent color of the ad in hexadecimal, e.g.booleangetAllowFlexibleColor()Advertiser's consent to allow flexible color.java.lang.StringgetBusinessName()The business name in the ad.com.google.protobuf.ByteStringgetBusinessNameBytes()The business name in the ad.java.lang.StringgetCallToActionText()The call-to-action text for the ad.com.google.protobuf.ByteStringgetCallToActionTextBytes()The call-to-action text for the ad.static LegacyResponsiveDisplayAdInfogetDefaultInstance()LegacyResponsiveDisplayAdInfogetDefaultInstanceForType()java.lang.StringgetDescription()The description of the ad.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the ad.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DisplayAdFormatSettingEnum.DisplayAdFormatSettinggetFormatSetting()Specifies which format the ad will be served in.intgetFormatSettingValue()Specifies which format the ad will be served in.java.lang.StringgetLogoImage()The MediaFile resource name of the logo image used in the ad.com.google.protobuf.ByteStringgetLogoImageBytes()The MediaFile resource name of the logo image used in the ad.java.lang.StringgetLongHeadline()The long version of the ad's headline.com.google.protobuf.ByteStringgetLongHeadlineBytes()The long version of the ad's headline.java.lang.StringgetMainColor()The main color of the ad in hexadecimal, e.g.com.google.protobuf.ByteStringgetMainColorBytes()The main color of the ad in hexadecimal, e.g.java.lang.StringgetMarketingImage()The MediaFile resource name of the marketing image used in the ad.com.google.protobuf.ByteStringgetMarketingImageBytes()The MediaFile resource name of the marketing image used in the ad.com.google.protobuf.Parser<LegacyResponsiveDisplayAdInfo>getParserForType()java.lang.StringgetPricePrefix()Prefix before price.com.google.protobuf.ByteStringgetPricePrefixBytes()Prefix before price.java.lang.StringgetPromoText()Promotion text used for dynamic formats of responsive ads.com.google.protobuf.ByteStringgetPromoTextBytes()Promotion text used for dynamic formats of responsive ads.intgetSerializedSize()java.lang.StringgetShortHeadline()The short version of the ad's headline.com.google.protobuf.ByteStringgetShortHeadlineBytes()The short version of the ad's headline.java.lang.StringgetSquareLogoImage()The MediaFile resource name of the square logo image used in the ad.com.google.protobuf.ByteStringgetSquareLogoImageBytes()The MediaFile resource name of the square logo image used in the ad.java.lang.StringgetSquareMarketingImage()The MediaFile resource name of the square marketing image used in the ad.com.google.protobuf.ByteStringgetSquareMarketingImageBytes()The MediaFile resource name of the square marketing image used in the ad.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAccentColor()The accent color of the ad in hexadecimal, e.g.booleanhasAllowFlexibleColor()Advertiser's consent to allow flexible color.booleanhasBusinessName()The business name in the ad.booleanhasCallToActionText()The call-to-action text for the ad.booleanhasDescription()The description of the ad.inthashCode()booleanhasLogoImage()The MediaFile resource name of the logo image used in the ad.booleanhasLongHeadline()The long version of the ad's headline.booleanhasMainColor()The main color of the ad in hexadecimal, e.g.booleanhasMarketingImage()The MediaFile resource name of the marketing image used in the ad.booleanhasPricePrefix()Prefix before price.booleanhasPromoText()Promotion text used for dynamic formats of responsive ads.booleanhasShortHeadline()The short version of the ad's headline.booleanhasSquareLogoImage()The MediaFile resource name of the square logo image used in the ad.booleanhasSquareMarketingImage()The MediaFile resource name of the square marketing image used in the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LegacyResponsiveDisplayAdInfo.BuildernewBuilder()static LegacyResponsiveDisplayAdInfo.BuildernewBuilder(LegacyResponsiveDisplayAdInfo prototype)LegacyResponsiveDisplayAdInfo.BuildernewBuilderForType()protected LegacyResponsiveDisplayAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LegacyResponsiveDisplayAdInfoparseDelimitedFrom(java.io.InputStream input)static LegacyResponsiveDisplayAdInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LegacyResponsiveDisplayAdInfoparseFrom(byte[] data)static LegacyResponsiveDisplayAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LegacyResponsiveDisplayAdInfoparseFrom(com.google.protobuf.ByteString data)static LegacyResponsiveDisplayAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LegacyResponsiveDisplayAdInfoparseFrom(com.google.protobuf.CodedInputStream input)static LegacyResponsiveDisplayAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LegacyResponsiveDisplayAdInfoparseFrom(java.io.InputStream input)static LegacyResponsiveDisplayAdInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LegacyResponsiveDisplayAdInfoparseFrom(java.nio.ByteBuffer data)static LegacyResponsiveDisplayAdInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LegacyResponsiveDisplayAdInfo>parser()LegacyResponsiveDisplayAdInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
SHORT_HEADLINE_FIELD_NUMBER
public static final int SHORT_HEADLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LONG_HEADLINE_FIELD_NUMBER
public static final int LONG_HEADLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_FLEXIBLE_COLOR_FIELD_NUMBER
public static final int ALLOW_FLEXIBLE_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCENT_COLOR_FIELD_NUMBER
public static final int ACCENT_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAIN_COLOR_FIELD_NUMBER
public static final int MAIN_COLOR_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
-
LOGO_IMAGE_FIELD_NUMBER
public static final int LOGO_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQUARE_LOGO_IMAGE_FIELD_NUMBER
public static final int SQUARE_LOGO_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MARKETING_IMAGE_FIELD_NUMBER
public static final int MARKETING_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQUARE_MARKETING_IMAGE_FIELD_NUMBER
public static final int SQUARE_MARKETING_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORMAT_SETTING_FIELD_NUMBER
public static final int FORMAT_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_PREFIX_FIELD_NUMBER
public static final int PRICE_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMO_TEXT_FIELD_NUMBER
public static final int PROMO_TEXT_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
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasShortHeadline
public boolean hasShortHeadline()
The short version of the ad's headline.
optional string short_headline = 16;- Specified by:
hasShortHeadlinein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the shortHeadline field is set.
-
getShortHeadline
public java.lang.String getShortHeadline()
The short version of the ad's headline.
optional string short_headline = 16;- Specified by:
getShortHeadlinein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The shortHeadline.
-
getShortHeadlineBytes
public com.google.protobuf.ByteString getShortHeadlineBytes()
The short version of the ad's headline.
optional string short_headline = 16;- Specified by:
getShortHeadlineBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for shortHeadline.
-
hasLongHeadline
public boolean hasLongHeadline()
The long version of the ad's headline.
optional string long_headline = 17;- Specified by:
hasLongHeadlinein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the longHeadline field is set.
-
getLongHeadline
public java.lang.String getLongHeadline()
The long version of the ad's headline.
optional string long_headline = 17;- Specified by:
getLongHeadlinein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The longHeadline.
-
getLongHeadlineBytes
public com.google.protobuf.ByteString getLongHeadlineBytes()
The long version of the ad's headline.
optional string long_headline = 17;- Specified by:
getLongHeadlineBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for longHeadline.
-
hasDescription
public boolean hasDescription()
The description of the ad.
optional string description = 18;- Specified by:
hasDescriptionin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
The description of the ad.
optional string description = 18;- Specified by:
getDescriptionin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the ad.
optional string description = 18;- Specified by:
getDescriptionBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for description.
-
hasBusinessName
public boolean hasBusinessName()
The business name in the ad.
optional string business_name = 19;- Specified by:
hasBusinessNamein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
public java.lang.String getBusinessName()
The business name in the ad.
optional string business_name = 19;- Specified by:
getBusinessNamein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()
The business name in the ad.
optional string business_name = 19;- Specified by:
getBusinessNameBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for businessName.
-
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:
hasAllowFlexibleColorin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- 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:
getAllowFlexibleColorin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The allowFlexibleColor.
-
hasAccentColor
public boolean hasAccentColor()
The accent color of the ad in hexadecimal, e.g. #ffffff for white. If one of `main_color` and `accent_color` is set, the other is required as well.
optional string accent_color = 21;- Specified by:
hasAccentColorin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the accentColor field is set.
-
getAccentColor
public java.lang.String getAccentColor()
The accent color of the ad in hexadecimal, e.g. #ffffff for white. If one of `main_color` and `accent_color` is set, the other is required as well.
optional string accent_color = 21;- Specified by:
getAccentColorin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The accentColor.
-
getAccentColorBytes
public com.google.protobuf.ByteString getAccentColorBytes()
The accent color of the ad in hexadecimal, e.g. #ffffff for white. If one of `main_color` and `accent_color` is set, the other is required as well.
optional string accent_color = 21;- Specified by:
getAccentColorBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for accentColor.
-
hasMainColor
public boolean hasMainColor()
The main color of the ad in hexadecimal, e.g. #ffffff for white. If one of `main_color` and `accent_color` is set, the other is required as well.
optional string main_color = 22;- Specified by:
hasMainColorin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the mainColor field is set.
-
getMainColor
public java.lang.String getMainColor()
The main color of the ad in hexadecimal, e.g. #ffffff for white. If one of `main_color` and `accent_color` is set, the other is required as well.
optional string main_color = 22;- Specified by:
getMainColorin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The mainColor.
-
getMainColorBytes
public com.google.protobuf.ByteString getMainColorBytes()
The main color of the ad in hexadecimal, e.g. #ffffff for white. If one of `main_color` and `accent_color` is set, the other is required as well.
optional string main_color = 22;- Specified by:
getMainColorBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for mainColor.
-
hasCallToActionText
public boolean hasCallToActionText()
The call-to-action text for the ad.
optional string call_to_action_text = 23;- Specified by:
hasCallToActionTextin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the callToActionText field is set.
-
getCallToActionText
public java.lang.String getCallToActionText()
The call-to-action text for the ad.
optional string call_to_action_text = 23;- Specified by:
getCallToActionTextin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The callToActionText.
-
getCallToActionTextBytes
public com.google.protobuf.ByteString getCallToActionTextBytes()
The call-to-action text for the ad.
optional string call_to_action_text = 23;- Specified by:
getCallToActionTextBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for callToActionText.
-
hasLogoImage
public boolean hasLogoImage()
The MediaFile resource name of the logo image used in the ad.
optional string logo_image = 24;- Specified by:
hasLogoImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the logoImage field is set.
-
getLogoImage
public java.lang.String getLogoImage()
The MediaFile resource name of the logo image used in the ad.
optional string logo_image = 24;- Specified by:
getLogoImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The logoImage.
-
getLogoImageBytes
public com.google.protobuf.ByteString getLogoImageBytes()
The MediaFile resource name of the logo image used in the ad.
optional string logo_image = 24;- Specified by:
getLogoImageBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for logoImage.
-
hasSquareLogoImage
public boolean hasSquareLogoImage()
The MediaFile resource name of the square logo image used in the ad.
optional string square_logo_image = 25;- Specified by:
hasSquareLogoImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the squareLogoImage field is set.
-
getSquareLogoImage
public java.lang.String getSquareLogoImage()
The MediaFile resource name of the square logo image used in the ad.
optional string square_logo_image = 25;- Specified by:
getSquareLogoImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The squareLogoImage.
-
getSquareLogoImageBytes
public com.google.protobuf.ByteString getSquareLogoImageBytes()
The MediaFile resource name of the square logo image used in the ad.
optional string square_logo_image = 25;- Specified by:
getSquareLogoImageBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for squareLogoImage.
-
hasMarketingImage
public boolean hasMarketingImage()
The MediaFile resource name of the marketing image used in the ad.
optional string marketing_image = 26;- Specified by:
hasMarketingImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the marketingImage field is set.
-
getMarketingImage
public java.lang.String getMarketingImage()
The MediaFile resource name of the marketing image used in the ad.
optional string marketing_image = 26;- Specified by:
getMarketingImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The marketingImage.
-
getMarketingImageBytes
public com.google.protobuf.ByteString getMarketingImageBytes()
The MediaFile resource name of the marketing image used in the ad.
optional string marketing_image = 26;- Specified by:
getMarketingImageBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for marketingImage.
-
hasSquareMarketingImage
public boolean hasSquareMarketingImage()
The MediaFile resource name of the square marketing image used in the ad.
optional string square_marketing_image = 27;- Specified by:
hasSquareMarketingImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the squareMarketingImage field is set.
-
getSquareMarketingImage
public java.lang.String getSquareMarketingImage()
The MediaFile resource name of the square marketing image used in the ad.
optional string square_marketing_image = 27;- Specified by:
getSquareMarketingImagein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The squareMarketingImage.
-
getSquareMarketingImageBytes
public com.google.protobuf.ByteString getSquareMarketingImageBytes()
The MediaFile resource name of the square marketing image used in the ad.
optional string square_marketing_image = 27;- Specified by:
getSquareMarketingImageBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for squareMarketingImage.
-
getFormatSettingValue
public int getFormatSettingValue()
Specifies which format the ad will be served in. Default is ALL_FORMATS.
.google.ads.googleads.v10.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;- Specified by:
getFormatSettingValuein interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The enum numeric value on the wire for formatSetting.
-
getFormatSetting
public DisplayAdFormatSettingEnum.DisplayAdFormatSetting getFormatSetting()
Specifies which format the ad will be served in. Default is ALL_FORMATS.
.google.ads.googleads.v10.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;- Specified by:
getFormatSettingin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The formatSetting.
-
hasPricePrefix
public boolean hasPricePrefix()
Prefix before price. E.g. 'as low as'.
optional string price_prefix = 28;- Specified by:
hasPricePrefixin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the pricePrefix field is set.
-
getPricePrefix
public java.lang.String getPricePrefix()
Prefix before price. E.g. 'as low as'.
optional string price_prefix = 28;- Specified by:
getPricePrefixin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The pricePrefix.
-
getPricePrefixBytes
public com.google.protobuf.ByteString getPricePrefixBytes()
Prefix before price. E.g. 'as low as'.
optional string price_prefix = 28;- Specified by:
getPricePrefixBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for pricePrefix.
-
hasPromoText
public boolean hasPromoText()
Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
optional string promo_text = 29;- Specified by:
hasPromoTextin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the promoText field is set.
-
getPromoText
public java.lang.String getPromoText()
Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
optional string promo_text = 29;- Specified by:
getPromoTextin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- 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 = 29;- Specified by:
getPromoTextBytesin interfaceLegacyResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for promoText.
-
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 LegacyResponsiveDisplayAdInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LegacyResponsiveDisplayAdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LegacyResponsiveDisplayAdInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LegacyResponsiveDisplayAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LegacyResponsiveDisplayAdInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LegacyResponsiveDisplayAdInfo.Builder newBuilder()
-
newBuilder
public static LegacyResponsiveDisplayAdInfo.Builder newBuilder(LegacyResponsiveDisplayAdInfo prototype)
-
toBuilder
public LegacyResponsiveDisplayAdInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LegacyResponsiveDisplayAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LegacyResponsiveDisplayAdInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LegacyResponsiveDisplayAdInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<LegacyResponsiveDisplayAdInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LegacyResponsiveDisplayAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-