Class VideoBumperInStreamAdInfo.Builder

  • All Implemented Interfaces:
    VideoBumperInStreamAdInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    VideoBumperInStreamAdInfo

    public static final class VideoBumperInStreamAdInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<VideoBumperInStreamAdInfo.Builder>
    implements VideoBumperInStreamAdInfoOrBuilder
     Representation of video bumper in-stream ad format (very short in-stream
     non-skippable video ad).
     
    Protobuf type google.ads.googleads.v14.common.VideoBumperInStreamAdInfo
    • Method Detail

      • 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<VideoBumperInStreamAdInfo.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<VideoBumperInStreamAdInfo.Builder>
      • getDefaultInstanceForType

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

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

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

        public VideoBumperInStreamAdInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoBumperInStreamAdInfo.Builder>
      • setRepeatedField

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

        public VideoBumperInStreamAdInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoBumperInStreamAdInfo.Builder>
      • isInitialized

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

        public VideoBumperInStreamAdInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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<VideoBumperInStreamAdInfo.Builder>
        Throws:
        java.io.IOException
      • hasCompanionBanner

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

        public VideoBumperInStreamAdInfo.Builder setCompanionBanner​(AdImageAsset value)
         The image assets of the companion banner used with the ad.
         
        .google.ads.googleads.v14.common.AdImageAsset companion_banner = 3;
      • mergeCompanionBanner

        public VideoBumperInStreamAdInfo.Builder mergeCompanionBanner​(AdImageAsset value)
         The image assets of the companion banner used with the ad.
         
        .google.ads.googleads.v14.common.AdImageAsset companion_banner = 3;
      • clearCompanionBanner

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

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

        public java.lang.String getActionButtonLabel()
         Label on the "Call To Action" button taking the user to the video ad's
         final URL.
         
        string action_button_label = 4;
        Specified by:
        getActionButtonLabel in interface VideoBumperInStreamAdInfoOrBuilder
        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 = 4;
        Specified by:
        getActionButtonLabelBytes in interface VideoBumperInStreamAdInfoOrBuilder
        Returns:
        The bytes for actionButtonLabel.
      • setActionButtonLabel

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

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

        public VideoBumperInStreamAdInfo.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 = 4;
        Parameters:
        value - The bytes for actionButtonLabel to set.
        Returns:
        This builder for chaining.
      • getActionHeadline

        public java.lang.String getActionHeadline()
         Additional text displayed with the CTA (call-to-action) button to give
         context and encourage clicking on the button.
         
        string action_headline = 5;
        Specified by:
        getActionHeadline in interface VideoBumperInStreamAdInfoOrBuilder
        Returns:
        The actionHeadline.
      • getActionHeadlineBytes

        public com.google.protobuf.ByteString getActionHeadlineBytes()
         Additional text displayed with the CTA (call-to-action) button to give
         context and encourage clicking on the button.
         
        string action_headline = 5;
        Specified by:
        getActionHeadlineBytes in interface VideoBumperInStreamAdInfoOrBuilder
        Returns:
        The bytes for actionHeadline.
      • setActionHeadline

        public VideoBumperInStreamAdInfo.Builder setActionHeadline​(java.lang.String value)
         Additional text displayed with the CTA (call-to-action) button to give
         context and encourage clicking on the button.
         
        string action_headline = 5;
        Parameters:
        value - The actionHeadline to set.
        Returns:
        This builder for chaining.
      • clearActionHeadline

        public VideoBumperInStreamAdInfo.Builder clearActionHeadline()
         Additional text displayed with the CTA (call-to-action) button to give
         context and encourage clicking on the button.
         
        string action_headline = 5;
        Returns:
        This builder for chaining.
      • setActionHeadlineBytes

        public VideoBumperInStreamAdInfo.Builder setActionHeadlineBytes​(com.google.protobuf.ByteString value)
         Additional text displayed with the CTA (call-to-action) button to give
         context and encourage clicking on the button.
         
        string action_headline = 5;
        Parameters:
        value - The bytes for actionHeadline to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final VideoBumperInStreamAdInfo.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<VideoBumperInStreamAdInfo.Builder>
      • mergeUnknownFields

        public final VideoBumperInStreamAdInfo.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<VideoBumperInStreamAdInfo.Builder>