Class VideoResponsiveAdInfo

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

public final class VideoResponsiveAdInfo extends com.google.protobuf.GeneratedMessageV3 implements VideoResponsiveAdInfoOrBuilder
 A video responsive ad.
 
Protobuf type google.ads.googleads.v18.common.VideoResponsiveAdInfo
See Also:
  • Field Details

    • HEADLINES_FIELD_NUMBER

      public static final int HEADLINES_FIELD_NUMBER
      See Also:
    • LONG_HEADLINES_FIELD_NUMBER

      public static final int LONG_HEADLINES_FIELD_NUMBER
      See Also:
    • DESCRIPTIONS_FIELD_NUMBER

      public static final int DESCRIPTIONS_FIELD_NUMBER
      See Also:
    • CALL_TO_ACTIONS_FIELD_NUMBER

      public static final int CALL_TO_ACTIONS_FIELD_NUMBER
      See Also:
    • VIDEOS_FIELD_NUMBER

      public static final int VIDEOS_FIELD_NUMBER
      See Also:
    • COMPANION_BANNERS_FIELD_NUMBER

      public static final int COMPANION_BANNERS_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
    • getHeadlinesList

      public List<AdTextAsset> getHeadlinesList()
       List of text assets used for the short headline. Currently, only a single
       value for the short headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;
      Specified by:
      getHeadlinesList in interface VideoResponsiveAdInfoOrBuilder
    • getHeadlinesOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
       List of text assets used for the short headline. Currently, only a single
       value for the short headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;
      Specified by:
      getHeadlinesOrBuilderList in interface VideoResponsiveAdInfoOrBuilder
    • getHeadlinesCount

      public int getHeadlinesCount()
       List of text assets used for the short headline. Currently, only a single
       value for the short headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;
      Specified by:
      getHeadlinesCount in interface VideoResponsiveAdInfoOrBuilder
    • getHeadlines

      public AdTextAsset getHeadlines(int index)
       List of text assets used for the short headline. Currently, only a single
       value for the short headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;
      Specified by:
      getHeadlines in interface VideoResponsiveAdInfoOrBuilder
    • getHeadlinesOrBuilder

      public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
       List of text assets used for the short headline. Currently, only a single
       value for the short headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;
      Specified by:
      getHeadlinesOrBuilder in interface VideoResponsiveAdInfoOrBuilder
    • getLongHeadlinesList

      public List<AdTextAsset> getLongHeadlinesList()
       List of text assets used for the long headline.
       Currently, only a single value for the long headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset long_headlines = 2;
      Specified by:
      getLongHeadlinesList in interface VideoResponsiveAdInfoOrBuilder
    • getLongHeadlinesOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getLongHeadlinesOrBuilderList()
       List of text assets used for the long headline.
       Currently, only a single value for the long headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset long_headlines = 2;
      Specified by:
      getLongHeadlinesOrBuilderList in interface VideoResponsiveAdInfoOrBuilder
    • getLongHeadlinesCount

      public int getLongHeadlinesCount()
       List of text assets used for the long headline.
       Currently, only a single value for the long headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset long_headlines = 2;
      Specified by:
      getLongHeadlinesCount in interface VideoResponsiveAdInfoOrBuilder
    • getLongHeadlines

      public AdTextAsset getLongHeadlines(int index)
       List of text assets used for the long headline.
       Currently, only a single value for the long headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset long_headlines = 2;
      Specified by:
      getLongHeadlines in interface VideoResponsiveAdInfoOrBuilder
    • getLongHeadlinesOrBuilder

      public AdTextAssetOrBuilder getLongHeadlinesOrBuilder(int index)
       List of text assets used for the long headline.
       Currently, only a single value for the long headline is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset long_headlines = 2;
      Specified by:
      getLongHeadlinesOrBuilder in interface VideoResponsiveAdInfoOrBuilder
    • getDescriptionsList

      public List<AdTextAsset> getDescriptionsList()
       List of text assets used for the description.
       Currently, only a single value for the description is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;
      Specified by:
      getDescriptionsList in interface VideoResponsiveAdInfoOrBuilder
    • getDescriptionsOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
       List of text assets used for the description.
       Currently, only a single value for the description is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;
      Specified by:
      getDescriptionsOrBuilderList in interface VideoResponsiveAdInfoOrBuilder
    • getDescriptionsCount

      public int getDescriptionsCount()
       List of text assets used for the description.
       Currently, only a single value for the description is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;
      Specified by:
      getDescriptionsCount in interface VideoResponsiveAdInfoOrBuilder
    • getDescriptions

      public AdTextAsset getDescriptions(int index)
       List of text assets used for the description.
       Currently, only a single value for the description is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;
      Specified by:
      getDescriptions in interface VideoResponsiveAdInfoOrBuilder
    • getDescriptionsOrBuilder

      public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
       List of text assets used for the description.
       Currently, only a single value for the description is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;
      Specified by:
      getDescriptionsOrBuilder in interface VideoResponsiveAdInfoOrBuilder
    • getCallToActionsList

      public List<AdTextAsset> getCallToActionsList()
       List of text assets used for the button, for example, the "Call To Action"
       button. Currently, only a single value for the button is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 4;
      Specified by:
      getCallToActionsList in interface VideoResponsiveAdInfoOrBuilder
    • getCallToActionsOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getCallToActionsOrBuilderList()
       List of text assets used for the button, for example, the "Call To Action"
       button. Currently, only a single value for the button is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 4;
      Specified by:
      getCallToActionsOrBuilderList in interface VideoResponsiveAdInfoOrBuilder
    • getCallToActionsCount

      public int getCallToActionsCount()
       List of text assets used for the button, for example, the "Call To Action"
       button. Currently, only a single value for the button is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 4;
      Specified by:
      getCallToActionsCount in interface VideoResponsiveAdInfoOrBuilder
    • getCallToActions

      public AdTextAsset getCallToActions(int index)
       List of text assets used for the button, for example, the "Call To Action"
       button. Currently, only a single value for the button is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 4;
      Specified by:
      getCallToActions in interface VideoResponsiveAdInfoOrBuilder
    • getCallToActionsOrBuilder

      public AdTextAssetOrBuilder getCallToActionsOrBuilder(int index)
       List of text assets used for the button, for example, the "Call To Action"
       button. Currently, only a single value for the button is supported.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset call_to_actions = 4;
      Specified by:
      getCallToActionsOrBuilder in interface VideoResponsiveAdInfoOrBuilder
    • getVideosList

      public List<AdVideoAsset> getVideosList()
       List of YouTube video assets used for the ad.
       Currently, only a single value for the YouTube video asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 5;
      Specified by:
      getVideosList in interface VideoResponsiveAdInfoOrBuilder
    • getVideosOrBuilderList

      public List<? extends AdVideoAssetOrBuilder> getVideosOrBuilderList()
       List of YouTube video assets used for the ad.
       Currently, only a single value for the YouTube video asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 5;
      Specified by:
      getVideosOrBuilderList in interface VideoResponsiveAdInfoOrBuilder
    • getVideosCount

      public int getVideosCount()
       List of YouTube video assets used for the ad.
       Currently, only a single value for the YouTube video asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 5;
      Specified by:
      getVideosCount in interface VideoResponsiveAdInfoOrBuilder
    • getVideos

      public AdVideoAsset getVideos(int index)
       List of YouTube video assets used for the ad.
       Currently, only a single value for the YouTube video asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 5;
      Specified by:
      getVideos in interface VideoResponsiveAdInfoOrBuilder
    • getVideosOrBuilder

      public AdVideoAssetOrBuilder getVideosOrBuilder(int index)
       List of YouTube video assets used for the ad.
       Currently, only a single value for the YouTube video asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset videos = 5;
      Specified by:
      getVideosOrBuilder in interface VideoResponsiveAdInfoOrBuilder
    • getCompanionBannersList

      public List<AdImageAsset> getCompanionBannersList()
       List of image assets used for the companion banner.
       Currently, only a single value for the companion banner asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset companion_banners = 6;
      Specified by:
      getCompanionBannersList in interface VideoResponsiveAdInfoOrBuilder
    • getCompanionBannersOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getCompanionBannersOrBuilderList()
       List of image assets used for the companion banner.
       Currently, only a single value for the companion banner asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset companion_banners = 6;
      Specified by:
      getCompanionBannersOrBuilderList in interface VideoResponsiveAdInfoOrBuilder
    • getCompanionBannersCount

      public int getCompanionBannersCount()
       List of image assets used for the companion banner.
       Currently, only a single value for the companion banner asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset companion_banners = 6;
      Specified by:
      getCompanionBannersCount in interface VideoResponsiveAdInfoOrBuilder
    • getCompanionBanners

      public AdImageAsset getCompanionBanners(int index)
       List of image assets used for the companion banner.
       Currently, only a single value for the companion banner asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset companion_banners = 6;
      Specified by:
      getCompanionBanners in interface VideoResponsiveAdInfoOrBuilder
    • getCompanionBannersOrBuilder

      public AdImageAssetOrBuilder getCompanionBannersOrBuilder(int index)
       List of image assets used for the companion banner.
       Currently, only a single value for the companion banner asset is supported.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset companion_banners = 6;
      Specified by:
      getCompanionBannersOrBuilder in interface VideoResponsiveAdInfoOrBuilder
    • getBreadcrumb1

      public String getBreadcrumb1()
       First part of text that appears in the ad with the displayed URL.
       
      string breadcrumb1 = 7;
      Specified by:
      getBreadcrumb1 in interface VideoResponsiveAdInfoOrBuilder
      Returns:
      The breadcrumb1.
    • getBreadcrumb1Bytes

      public com.google.protobuf.ByteString getBreadcrumb1Bytes()
       First part of text that appears in the ad with the displayed URL.
       
      string breadcrumb1 = 7;
      Specified by:
      getBreadcrumb1Bytes in interface VideoResponsiveAdInfoOrBuilder
      Returns:
      The bytes for breadcrumb1.
    • getBreadcrumb2

      public String getBreadcrumb2()
       Second part of text that appears in the ad with the displayed URL.
       
      string breadcrumb2 = 8;
      Specified by:
      getBreadcrumb2 in interface VideoResponsiveAdInfoOrBuilder
      Returns:
      The breadcrumb2.
    • getBreadcrumb2Bytes

      public com.google.protobuf.ByteString getBreadcrumb2Bytes()
       Second part of text that appears in the ad with the displayed URL.
       
      string breadcrumb2 = 8;
      Specified by:
      getBreadcrumb2Bytes in interface VideoResponsiveAdInfoOrBuilder
      Returns:
      The bytes for breadcrumb2.
    • 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 VideoResponsiveAdInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static VideoResponsiveAdInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static VideoResponsiveAdInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<VideoResponsiveAdInfo> 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 VideoResponsiveAdInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder