Class VodStitchDetail.Builder

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

    public static final class VodStitchDetail.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<VodStitchDetail.Builder>
    implements VodStitchDetailOrBuilder
     Detailed information related to the interstitial of a VOD session. This
     resource is only available for VOD sessions that do not implement Google Ad
     Manager ad insertion.
     
    Protobuf type google.cloud.video.stitcher.v1.VodStitchDetail
    • 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<VodStitchDetail.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public VodStitchDetail.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<VodStitchDetail.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The name of the stitch detail in the specified VOD session, in the form of
         `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
         
        string name = 1;
        Specified by:
        getName in interface VodStitchDetailOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the stitch detail in the specified VOD session, in the form of
         `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface VodStitchDetailOrBuilder
        Returns:
        The bytes for name.
      • setName

        public VodStitchDetail.Builder setName​(String value)
         The name of the stitch detail in the specified VOD session, in the form of
         `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public VodStitchDetail.Builder clearName()
         The name of the stitch detail in the specified VOD session, in the form of
         `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public VodStitchDetail.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the stitch detail in the specified VOD session, in the form of
         `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getAdStitchDetailsCount

        public int getAdStitchDetailsCount()
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
        Specified by:
        getAdStitchDetailsCount in interface VodStitchDetailOrBuilder
      • getAdStitchDetails

        public AdStitchDetail getAdStitchDetails​(int index)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
        Specified by:
        getAdStitchDetails in interface VodStitchDetailOrBuilder
      • setAdStitchDetails

        public VodStitchDetail.Builder setAdStitchDetails​(int index,
                                                          AdStitchDetail value)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • setAdStitchDetails

        public VodStitchDetail.Builder setAdStitchDetails​(int index,
                                                          AdStitchDetail.Builder builderForValue)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAdStitchDetails

        public VodStitchDetail.Builder addAdStitchDetails​(AdStitchDetail value)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAdStitchDetails

        public VodStitchDetail.Builder addAdStitchDetails​(int index,
                                                          AdStitchDetail value)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAdStitchDetails

        public VodStitchDetail.Builder addAdStitchDetails​(AdStitchDetail.Builder builderForValue)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAdStitchDetails

        public VodStitchDetail.Builder addAdStitchDetails​(int index,
                                                          AdStitchDetail.Builder builderForValue)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAllAdStitchDetails

        public VodStitchDetail.Builder addAllAdStitchDetails​(Iterable<? extends AdStitchDetail> values)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • clearAdStitchDetails

        public VodStitchDetail.Builder clearAdStitchDetails()
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • removeAdStitchDetails

        public VodStitchDetail.Builder removeAdStitchDetails​(int index)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • getAdStitchDetailsBuilder

        public AdStitchDetail.Builder getAdStitchDetailsBuilder​(int index)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAdStitchDetailsBuilder

        public AdStitchDetail.Builder addAdStitchDetailsBuilder()
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • addAdStitchDetailsBuilder

        public AdStitchDetail.Builder addAdStitchDetailsBuilder​(int index)
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • getAdStitchDetailsBuilderList

        public List<AdStitchDetail.Builder> getAdStitchDetailsBuilderList()
         A list of ad processing details for the fetched ad playlist.
         
        repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;
      • setUnknownFields

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

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