Class VideoNonSkippableInStreamAdInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
com.google.ads.googleads.v18.common.VideoNonSkippableInStreamAdInfo.Builder
All Implemented Interfaces:
VideoNonSkippableInStreamAdInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VideoNonSkippableInStreamAdInfo

public static final class VideoNonSkippableInStreamAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder> implements VideoNonSkippableInStreamAdInfoOrBuilder
 Representation of video non-skippable in-stream ad format (15 second
 in-stream non-skippable video ad).
 
Protobuf type google.ads.googleads.v18.common.VideoNonSkippableInStreamAdInfo
  • Method Details

    • 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.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • getDefaultInstanceForType

      public VideoNonSkippableInStreamAdInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public VideoNonSkippableInStreamAdInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • setField

      public VideoNonSkippableInStreamAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • clearField

      public VideoNonSkippableInStreamAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • clearOneof

      public VideoNonSkippableInStreamAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • setRepeatedField

      public VideoNonSkippableInStreamAdInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • addRepeatedField

      public VideoNonSkippableInStreamAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • mergeFrom

      public VideoNonSkippableInStreamAdInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • mergeFrom

      public VideoNonSkippableInStreamAdInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoNonSkippableInStreamAdInfo.Builder>
      Throws:
      IOException
    • hasCompanionBanner

      public boolean hasCompanionBanner()
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
      Specified by:
      hasCompanionBanner in interface VideoNonSkippableInStreamAdInfoOrBuilder
      Returns:
      Whether the companionBanner field is set.
    • getCompanionBanner

      public AdImageAsset getCompanionBanner()
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
      Specified by:
      getCompanionBanner in interface VideoNonSkippableInStreamAdInfoOrBuilder
      Returns:
      The companionBanner.
    • setCompanionBanner

      public VideoNonSkippableInStreamAdInfo.Builder setCompanionBanner(AdImageAsset value)
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
    • setCompanionBanner

      public VideoNonSkippableInStreamAdInfo.Builder setCompanionBanner(AdImageAsset.Builder builderForValue)
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
    • mergeCompanionBanner

      public VideoNonSkippableInStreamAdInfo.Builder mergeCompanionBanner(AdImageAsset value)
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
    • clearCompanionBanner

      public VideoNonSkippableInStreamAdInfo.Builder clearCompanionBanner()
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
    • getCompanionBannerBuilder

      public AdImageAsset.Builder getCompanionBannerBuilder()
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
    • getCompanionBannerOrBuilder

      public AdImageAssetOrBuilder getCompanionBannerOrBuilder()
       The image assets of the companion banner used with the ad.
       
      .google.ads.googleads.v18.common.AdImageAsset companion_banner = 5;
      Specified by:
      getCompanionBannerOrBuilder in interface VideoNonSkippableInStreamAdInfoOrBuilder
    • getActionButtonLabel

      public String getActionButtonLabel()
       Label on the "Call To Action" button taking the user to the video ad's
       final URL.
       
      string action_button_label = 3;
      Specified by:
      getActionButtonLabel in interface VideoNonSkippableInStreamAdInfoOrBuilder
      Returns:
      The actionButtonLabel.
    • getActionButtonLabelBytes

      public com.google.protobuf.ByteString getActionButtonLabelBytes()
       Label on the "Call To Action" button taking the user to the video ad's
       final URL.
       
      string action_button_label = 3;
      Specified by:
      getActionButtonLabelBytes in interface VideoNonSkippableInStreamAdInfoOrBuilder
      Returns:
      The bytes for actionButtonLabel.
    • setActionButtonLabel

      public VideoNonSkippableInStreamAdInfo.Builder setActionButtonLabel(String value)
       Label on the "Call To Action" button taking the user to the video ad's
       final URL.
       
      string action_button_label = 3;
      Parameters:
      value - The actionButtonLabel to set.
      Returns:
      This builder for chaining.
    • clearActionButtonLabel

      public VideoNonSkippableInStreamAdInfo.Builder clearActionButtonLabel()
       Label on the "Call To Action" button taking the user to the video ad's
       final URL.
       
      string action_button_label = 3;
      Returns:
      This builder for chaining.
    • setActionButtonLabelBytes

      public VideoNonSkippableInStreamAdInfo.Builder setActionButtonLabelBytes(com.google.protobuf.ByteString value)
       Label on the "Call To Action" button taking the user to the video ad's
       final URL.
       
      string action_button_label = 3;
      Parameters:
      value - The bytes for actionButtonLabel to set.
      Returns:
      This builder for chaining.
    • getActionHeadline

      public String getActionHeadline()
       Additional text displayed with the "Call To Action" button to give
       context and encourage clicking on the button.
       
      string action_headline = 4;
      Specified by:
      getActionHeadline in interface VideoNonSkippableInStreamAdInfoOrBuilder
      Returns:
      The actionHeadline.
    • getActionHeadlineBytes

      public com.google.protobuf.ByteString getActionHeadlineBytes()
       Additional text displayed with the "Call To Action" button to give
       context and encourage clicking on the button.
       
      string action_headline = 4;
      Specified by:
      getActionHeadlineBytes in interface VideoNonSkippableInStreamAdInfoOrBuilder
      Returns:
      The bytes for actionHeadline.
    • setActionHeadline

      public VideoNonSkippableInStreamAdInfo.Builder setActionHeadline(String value)
       Additional text displayed with the "Call To Action" button to give
       context and encourage clicking on the button.
       
      string action_headline = 4;
      Parameters:
      value - The actionHeadline to set.
      Returns:
      This builder for chaining.
    • clearActionHeadline

      public VideoNonSkippableInStreamAdInfo.Builder clearActionHeadline()
       Additional text displayed with the "Call To Action" button to give
       context and encourage clicking on the button.
       
      string action_headline = 4;
      Returns:
      This builder for chaining.
    • setActionHeadlineBytes

      public VideoNonSkippableInStreamAdInfo.Builder setActionHeadlineBytes(com.google.protobuf.ByteString value)
       Additional text displayed with the "Call To Action" button to give
       context and encourage clicking on the button.
       
      string action_headline = 4;
      Parameters:
      value - The bytes for actionHeadline to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final VideoNonSkippableInStreamAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
    • mergeUnknownFields

      public final VideoNonSkippableInStreamAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>