Class Slate.Builder

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

    public static final class Slate.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Slate.Builder>
    implements SlateOrBuilder
     Slate object
     
    Protobuf type google.cloud.video.stitcher.v1.Slate
    • 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<Slate.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

        public String getName()
         Output only. The name of the slate, in the form of
         `projects/{project_number}/locations/{location}/slates/{id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface SlateOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The name of the slate, in the form of
         `projects/{project_number}/locations/{location}/slates/{id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface SlateOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Slate.Builder setName​(String value)
         Output only. The name of the slate, in the form of
         `projects/{project_number}/locations/{location}/slates/{id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Slate.Builder clearName()
         Output only. The name of the slate, in the form of
         `projects/{project_number}/locations/{location}/slates/{id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Slate.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the slate, in the form of
         `projects/{project_number}/locations/{location}/slates/{id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getUri

        public String getUri()
         The URI to fetch the source content for the slate. This URI must return an
         MP4 video with at least one audio track.
         
        string uri = 2;
        Specified by:
        getUri in interface SlateOrBuilder
        Returns:
        The uri.
      • getUriBytes

        public com.google.protobuf.ByteString getUriBytes()
         The URI to fetch the source content for the slate. This URI must return an
         MP4 video with at least one audio track.
         
        string uri = 2;
        Specified by:
        getUriBytes in interface SlateOrBuilder
        Returns:
        The bytes for uri.
      • setUri

        public Slate.Builder setUri​(String value)
         The URI to fetch the source content for the slate. This URI must return an
         MP4 video with at least one audio track.
         
        string uri = 2;
        Parameters:
        value - The uri to set.
        Returns:
        This builder for chaining.
      • clearUri

        public Slate.Builder clearUri()
         The URI to fetch the source content for the slate. This URI must return an
         MP4 video with at least one audio track.
         
        string uri = 2;
        Returns:
        This builder for chaining.
      • setUriBytes

        public Slate.Builder setUriBytes​(com.google.protobuf.ByteString value)
         The URI to fetch the source content for the slate. This URI must return an
         MP4 video with at least one audio track.
         
        string uri = 2;
        Parameters:
        value - The bytes for uri to set.
        Returns:
        This builder for chaining.
      • hasGamSlate

        public boolean hasGamSlate()
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
        Specified by:
        hasGamSlate in interface SlateOrBuilder
        Returns:
        Whether the gamSlate field is set.
      • getGamSlate

        public Slate.GamSlate getGamSlate()
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
        Specified by:
        getGamSlate in interface SlateOrBuilder
        Returns:
        The gamSlate.
      • setGamSlate

        public Slate.Builder setGamSlate​(Slate.GamSlate value)
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
      • setGamSlate

        public Slate.Builder setGamSlate​(Slate.GamSlate.Builder builderForValue)
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
      • mergeGamSlate

        public Slate.Builder mergeGamSlate​(Slate.GamSlate value)
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
      • clearGamSlate

        public Slate.Builder clearGamSlate()
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
      • getGamSlateBuilder

        public Slate.GamSlate.Builder getGamSlateBuilder()
         gam_slate has all the GAM-related attributes of slates.
         
        .google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;
      • setUnknownFields

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

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