Class VideoNonSkippableInStreamAdInfo.Builder

    • 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<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

        public VideoNonSkippableInStreamAdInfo 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
      • 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 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<VideoNonSkippableInStreamAdInfo.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 = 5;
        Specified by:
        hasCompanionBanner in interface VideoNonSkippableInStreamAdInfoOrBuilder
        Returns:
        Whether the companionBanner field is set.
      • clearCompanionBanner

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

        public AdImageAsset.Builder getCompanionBannerBuilder()
         The image assets of the companion banner used with the ad.
         
        .google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
      • 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 = 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​(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 = 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 java.lang.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​(java.lang.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.