Class AdVideoAssetInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v23.common.AdVideoAssetInfo
All Implemented Interfaces:
AdVideoAssetInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AdVideoAssetInfo extends com.google.protobuf.GeneratedMessage implements AdVideoAssetInfoOrBuilder
 Contains info fields for AdVideoAssets.
 
Protobuf type google.ads.googleads.v23.common.AdVideoAssetInfo
See Also:
  • Field Details

    • AD_VIDEO_ASSET_INVENTORY_PREFERENCES_FIELD_NUMBER

      public static final int AD_VIDEO_ASSET_INVENTORY_PREFERENCES_FIELD_NUMBER
      See Also:
    • AD_VIDEO_ASSET_FEATURE_CONTROL_FIELD_NUMBER

      public static final int AD_VIDEO_ASSET_FEATURE_CONTROL_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasAdVideoAssetInventoryPreferences

      public boolean hasAdVideoAssetInventoryPreferences()
       List of inventory preferences for this AdVideoAsset. This field can only be
       set for DiscoveryVideoResponsiveAd. The video assets with an inventory
       asset preference set will be preferred over other videos from the same ad
       during serving time. For example, consider this ad being served for a
       specific inventory. The server will first try to match an eligible video
       with a matching preference for that inventory. Videos with no preferences
       are chosen only when a video with matching preference and eligible for a
       given ad slot can be found.
       
      optional .google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences ad_video_asset_inventory_preferences = 1;
      Specified by:
      hasAdVideoAssetInventoryPreferences in interface AdVideoAssetInfoOrBuilder
      Returns:
      Whether the adVideoAssetInventoryPreferences field is set.
    • getAdVideoAssetInventoryPreferences

      public AdVideoAssetInventoryPreferences getAdVideoAssetInventoryPreferences()
       List of inventory preferences for this AdVideoAsset. This field can only be
       set for DiscoveryVideoResponsiveAd. The video assets with an inventory
       asset preference set will be preferred over other videos from the same ad
       during serving time. For example, consider this ad being served for a
       specific inventory. The server will first try to match an eligible video
       with a matching preference for that inventory. Videos with no preferences
       are chosen only when a video with matching preference and eligible for a
       given ad slot can be found.
       
      optional .google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences ad_video_asset_inventory_preferences = 1;
      Specified by:
      getAdVideoAssetInventoryPreferences in interface AdVideoAssetInfoOrBuilder
      Returns:
      The adVideoAssetInventoryPreferences.
    • getAdVideoAssetInventoryPreferencesOrBuilder

      public AdVideoAssetInventoryPreferencesOrBuilder getAdVideoAssetInventoryPreferencesOrBuilder()
       List of inventory preferences for this AdVideoAsset. This field can only be
       set for DiscoveryVideoResponsiveAd. The video assets with an inventory
       asset preference set will be preferred over other videos from the same ad
       during serving time. For example, consider this ad being served for a
       specific inventory. The server will first try to match an eligible video
       with a matching preference for that inventory. Videos with no preferences
       are chosen only when a video with matching preference and eligible for a
       given ad slot can be found.
       
      optional .google.ads.googleads.v23.common.AdVideoAssetInventoryPreferences ad_video_asset_inventory_preferences = 1;
      Specified by:
      getAdVideoAssetInventoryPreferencesOrBuilder in interface AdVideoAssetInfoOrBuilder
    • hasAdVideoAssetFeatureControl

      public boolean hasAdVideoAssetFeatureControl()
       Defines feature controls for this AdVideoAsset during serving time.
       For example, whether YouTube comments should be enabled for Partnership Ads
       served on YouTube Shorts.
       
      optional .google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl ad_video_asset_feature_control = 2;
      Specified by:
      hasAdVideoAssetFeatureControl in interface AdVideoAssetInfoOrBuilder
      Returns:
      Whether the adVideoAssetFeatureControl field is set.
    • getAdVideoAssetFeatureControl

      public AdVideoAssetLinkFeatureControl getAdVideoAssetFeatureControl()
       Defines feature controls for this AdVideoAsset during serving time.
       For example, whether YouTube comments should be enabled for Partnership Ads
       served on YouTube Shorts.
       
      optional .google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl ad_video_asset_feature_control = 2;
      Specified by:
      getAdVideoAssetFeatureControl in interface AdVideoAssetInfoOrBuilder
      Returns:
      The adVideoAssetFeatureControl.
    • getAdVideoAssetFeatureControlOrBuilder

      public AdVideoAssetLinkFeatureControlOrBuilder getAdVideoAssetFeatureControlOrBuilder()
       Defines feature controls for this AdVideoAsset during serving time.
       For example, whether YouTube comments should be enabled for Partnership Ads
       served on YouTube Shorts.
       
      optional .google.ads.googleads.v23.common.AdVideoAssetLinkFeatureControl ad_video_asset_feature_control = 2;
      Specified by:
      getAdVideoAssetFeatureControlOrBuilder in interface AdVideoAssetInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 AdVideoAssetInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AdVideoAssetInfo.Builder newBuilder()
    • newBuilder

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

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

      protected AdVideoAssetInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AdVideoAssetInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AdVideoAssetInfo> 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.GeneratedMessage
    • getDefaultInstanceForType

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