Class VideoResponsiveAdInfo

  • All Implemented Interfaces:
    VideoResponsiveAdInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

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

      • LONG_HEADLINES_FIELD_NUMBER

        public static final int LONG_HEADLINES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DESCRIPTIONS_FIELD_NUMBER

        public static final int DESCRIPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CALL_TO_ACTIONS_FIELD_NUMBER

        public static final int CALL_TO_ACTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COMPANION_BANNERS_FIELD_NUMBER

        public static final int COMPANION_BANNERS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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 java.util.List<AdTextAsset> getHeadlinesList()
         List of text assets used for the short headline, e.g. the "Call To Action"
         banner. Currently, only a single value for the short headline is supported.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesList in interface VideoResponsiveAdInfoOrBuilder
      • getHeadlinesOrBuilderList

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

        public int getHeadlinesCount()
         List of text assets used for the short headline, e.g. the "Call To Action"
         banner. Currently, only a single value for the short headline is supported.
         
        repeated .google.ads.googleads.v10.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, e.g. the "Call To Action"
         banner. Currently, only a single value for the short headline is supported.
         
        repeated .google.ads.googleads.v10.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, e.g. the "Call To Action"
         banner. Currently, only a single value for the short headline is supported.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;
        Specified by:
        getHeadlinesOrBuilder in interface VideoResponsiveAdInfoOrBuilder
      • getLongHeadlinesList

        public java.util.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.v10.common.AdTextAsset long_headlines = 2;
        Specified by:
        getLongHeadlinesList in interface VideoResponsiveAdInfoOrBuilder
      • getLongHeadlinesOrBuilderList

        public java.util.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.v10.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.v10.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.v10.common.AdTextAsset long_headlines = 2;
        Specified by:
        getLongHeadlines in interface VideoResponsiveAdInfoOrBuilder
      • getDescriptionsList

        public java.util.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.v10.common.AdTextAsset descriptions = 3;
        Specified by:
        getDescriptionsList 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.v10.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.v10.common.AdTextAsset descriptions = 3;
        Specified by:
        getDescriptions in interface VideoResponsiveAdInfoOrBuilder
      • getCallToActionsList

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

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

        public int getCallToActionsCount()
         List of text assets used for the button, e.g. the "Call To Action" button.
         Currently, only a single value for the button is supported.
         
        repeated .google.ads.googleads.v10.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, e.g. the "Call To Action" button.
         Currently, only a single value for the button is supported.
         
        repeated .google.ads.googleads.v10.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, e.g. the "Call To Action" button.
         Currently, only a single value for the button is supported.
         
        repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 4;
        Specified by:
        getCallToActionsOrBuilder in interface VideoResponsiveAdInfoOrBuilder
      • getVideosList

        public java.util.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.v10.common.AdVideoAsset videos = 5;
        Specified by:
        getVideosList in interface VideoResponsiveAdInfoOrBuilder
      • getVideosOrBuilderList

        public java.util.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.v10.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.v10.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.v10.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.v10.common.AdVideoAsset videos = 5;
        Specified by:
        getVideosOrBuilder in interface VideoResponsiveAdInfoOrBuilder
      • getCompanionBannersList

        public java.util.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.v10.common.AdImageAsset companion_banners = 6;
        Specified by:
        getCompanionBannersList in interface VideoResponsiveAdInfoOrBuilder
      • getCompanionBannersOrBuilderList

        public java.util.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.v10.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.v10.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.v10.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.v10.common.AdImageAsset companion_banners = 6;
        Specified by:
        getCompanionBannersOrBuilder in interface VideoResponsiveAdInfoOrBuilder
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VideoResponsiveAdInfo parseFrom​(java.nio.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​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static VideoResponsiveAdInfo parseDelimitedFrom​(java.io.InputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

        public VideoResponsiveAdInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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
      • 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