Class DemandGenCarouselAdInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.DemandGenCarouselAdInfo
All Implemented Interfaces:
DemandGenCarouselAdInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class DemandGenCarouselAdInfo extends com.google.protobuf.GeneratedMessageV3 implements DemandGenCarouselAdInfoOrBuilder
 A Demand Gen carousel ad.
 
Protobuf type google.ads.googleads.v18.common.DemandGenCarouselAdInfo
See Also:
  • Field Details

    • BUSINESS_NAME_FIELD_NUMBER

      public static final int BUSINESS_NAME_FIELD_NUMBER
      See Also:
    • LOGO_IMAGE_FIELD_NUMBER

      public static final int LOGO_IMAGE_FIELD_NUMBER
      See Also:
    • HEADLINE_FIELD_NUMBER

      public static final int HEADLINE_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • CALL_TO_ACTION_TEXT_FIELD_NUMBER

      public static final int CALL_TO_ACTION_TEXT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getBusinessName

      public String getBusinessName()
       Required. The Advertiser/brand name.
       
      string business_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBusinessName in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The businessName.
    • getBusinessNameBytes

      public com.google.protobuf.ByteString getBusinessNameBytes()
       Required. The Advertiser/brand name.
       
      string business_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBusinessNameBytes in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The bytes for businessName.
    • hasLogoImage

      public boolean hasLogoImage()
       Required. Logo image to be used in the ad.  The minimum size is 128x128 and
       the aspect ratio must be 1:1 (+-1%).
       
      .google.ads.googleads.v18.common.AdImageAsset logo_image = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasLogoImage in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      Whether the logoImage field is set.
    • getLogoImage

      public AdImageAsset getLogoImage()
       Required. Logo image to be used in the ad.  The minimum size is 128x128 and
       the aspect ratio must be 1:1 (+-1%).
       
      .google.ads.googleads.v18.common.AdImageAsset logo_image = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLogoImage in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The logoImage.
    • getLogoImageOrBuilder

      public AdImageAssetOrBuilder getLogoImageOrBuilder()
       Required. Logo image to be used in the ad.  The minimum size is 128x128 and
       the aspect ratio must be 1:1 (+-1%).
       
      .google.ads.googleads.v18.common.AdImageAsset logo_image = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLogoImageOrBuilder in interface DemandGenCarouselAdInfoOrBuilder
    • hasHeadline

      public boolean hasHeadline()
       Required. Headline of the ad.
       
      .google.ads.googleads.v18.common.AdTextAsset headline = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasHeadline in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      Whether the headline field is set.
    • getHeadline

      public AdTextAsset getHeadline()
       Required. Headline of the ad.
       
      .google.ads.googleads.v18.common.AdTextAsset headline = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeadline in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The headline.
    • getHeadlineOrBuilder

      public AdTextAssetOrBuilder getHeadlineOrBuilder()
       Required. Headline of the ad.
       
      .google.ads.googleads.v18.common.AdTextAsset headline = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeadlineOrBuilder in interface DemandGenCarouselAdInfoOrBuilder
    • hasDescription

      public boolean hasDescription()
       Required. The descriptive text of the ad.
       
      .google.ads.googleads.v18.common.AdTextAsset description = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDescription in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public AdTextAsset getDescription()
       Required. The descriptive text of the ad.
       
      .google.ads.googleads.v18.common.AdTextAsset description = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescription in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The description.
    • getDescriptionOrBuilder

      public AdTextAssetOrBuilder getDescriptionOrBuilder()
       Required. The descriptive text of the ad.
       
      .google.ads.googleads.v18.common.AdTextAsset description = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescriptionOrBuilder in interface DemandGenCarouselAdInfoOrBuilder
    • getCallToActionText

      public String getCallToActionText()
       Call to action text.
       
      string call_to_action_text = 5;
      Specified by:
      getCallToActionText in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The callToActionText.
    • getCallToActionTextBytes

      public com.google.protobuf.ByteString getCallToActionTextBytes()
       Call to action text.
       
      string call_to_action_text = 5;
      Specified by:
      getCallToActionTextBytes in interface DemandGenCarouselAdInfoOrBuilder
      Returns:
      The bytes for callToActionText.
    • getCarouselCardsList

      public List<AdDemandGenCarouselCardAsset> getCarouselCardsList()
       Required. Carousel cards that will display with the ad. Min 2 max 10.
       
      repeated .google.ads.googleads.v18.common.AdDemandGenCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCarouselCardsList in interface DemandGenCarouselAdInfoOrBuilder
    • getCarouselCardsOrBuilderList

      public List<? extends AdDemandGenCarouselCardAssetOrBuilder> getCarouselCardsOrBuilderList()
       Required. Carousel cards that will display with the ad. Min 2 max 10.
       
      repeated .google.ads.googleads.v18.common.AdDemandGenCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCarouselCardsOrBuilderList in interface DemandGenCarouselAdInfoOrBuilder
    • getCarouselCardsCount

      public int getCarouselCardsCount()
       Required. Carousel cards that will display with the ad. Min 2 max 10.
       
      repeated .google.ads.googleads.v18.common.AdDemandGenCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCarouselCardsCount in interface DemandGenCarouselAdInfoOrBuilder
    • getCarouselCards

      public AdDemandGenCarouselCardAsset getCarouselCards(int index)
       Required. Carousel cards that will display with the ad. Min 2 max 10.
       
      repeated .google.ads.googleads.v18.common.AdDemandGenCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCarouselCards in interface DemandGenCarouselAdInfoOrBuilder
    • getCarouselCardsOrBuilder

      public AdDemandGenCarouselCardAssetOrBuilder getCarouselCardsOrBuilder(int index)
       Required. Carousel cards that will display with the ad. Min 2 max 10.
       
      repeated .google.ads.googleads.v18.common.AdDemandGenCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCarouselCardsOrBuilder in interface DemandGenCarouselAdInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DemandGenCarouselAdInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DemandGenCarouselAdInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DemandGenCarouselAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DemandGenCarouselAdInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DemandGenCarouselAdInfo.Builder newBuilder()
    • newBuilder

      public static DemandGenCarouselAdInfo.Builder newBuilder(DemandGenCarouselAdInfo prototype)
    • toBuilder

      public DemandGenCarouselAdInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DemandGenCarouselAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DemandGenCarouselAdInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DemandGenCarouselAdInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<DemandGenCarouselAdInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DemandGenCarouselAdInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder