Class Interstitials.Builder

  • All Implemented Interfaces:
    InterstitialsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Interstitials

    public static final class Interstitials.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Interstitials.Builder>
    implements InterstitialsOrBuilder
     Describes what was stitched into a VOD session's manifest.
     
    Protobuf type google.cloud.video.stitcher.v1.Interstitials
    • 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<Interstitials.Builder>
      • clear

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

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

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

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

        public Interstitials.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<Interstitials.Builder>
      • setField

        public Interstitials.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<Interstitials.Builder>
      • clearField

        public Interstitials.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<Interstitials.Builder>
      • clearOneof

        public Interstitials.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<Interstitials.Builder>
      • setRepeatedField

        public Interstitials.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<Interstitials.Builder>
      • addRepeatedField

        public Interstitials.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<Interstitials.Builder>
      • mergeFrom

        public Interstitials.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<Interstitials.Builder>
      • isInitialized

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

        public Interstitials.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<Interstitials.Builder>
        Throws:
        IOException
      • getAdBreaksCount

        public int getAdBreaksCount()
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
        Specified by:
        getAdBreaksCount in interface InterstitialsOrBuilder
      • setAdBreaks

        public Interstitials.Builder setAdBreaks​(int index,
                                                 VodSessionAdBreak value)
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • addAdBreaks

        public Interstitials.Builder addAdBreaks​(VodSessionAdBreak value)
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • addAdBreaks

        public Interstitials.Builder addAdBreaks​(int index,
                                                 VodSessionAdBreak value)
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • clearAdBreaks

        public Interstitials.Builder clearAdBreaks()
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • removeAdBreaks

        public Interstitials.Builder removeAdBreaks​(int index)
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • getAdBreaksBuilder

        public VodSessionAdBreak.Builder getAdBreaksBuilder​(int index)
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • addAdBreaksBuilder

        public VodSessionAdBreak.Builder addAdBreaksBuilder()
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • addAdBreaksBuilder

        public VodSessionAdBreak.Builder addAdBreaksBuilder​(int index)
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • getAdBreaksBuilderList

        public List<VodSessionAdBreak.Builder> getAdBreaksBuilderList()
         List of ad breaks ordered by time.
         
        repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
      • hasSessionContent

        public boolean hasSessionContent()
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
        Specified by:
        hasSessionContent in interface InterstitialsOrBuilder
        Returns:
        Whether the sessionContent field is set.
      • getSessionContent

        public VodSessionContent getSessionContent()
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
        Specified by:
        getSessionContent in interface InterstitialsOrBuilder
        Returns:
        The sessionContent.
      • setSessionContent

        public Interstitials.Builder setSessionContent​(VodSessionContent value)
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
      • setSessionContent

        public Interstitials.Builder setSessionContent​(VodSessionContent.Builder builderForValue)
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
      • mergeSessionContent

        public Interstitials.Builder mergeSessionContent​(VodSessionContent value)
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
      • clearSessionContent

        public Interstitials.Builder clearSessionContent()
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
      • getSessionContentBuilder

        public VodSessionContent.Builder getSessionContentBuilder()
         Information related to the content of the VOD session.
         
        .google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
      • setUnknownFields

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

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