Class ElementaryStream.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ElementaryStream.Builder>
com.google.cloud.video.transcoder.v1.ElementaryStream.Builder
All Implemented Interfaces:
ElementaryStreamOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ElementaryStream

public static final class ElementaryStream.Builder extends com.google.protobuf.GeneratedMessage.Builder<ElementaryStream.Builder> implements ElementaryStreamOrBuilder
 Encoding of an input file such as an audio, video, or text track.
 Elementary streams must be packaged before
 mapping and sharing between different output formats.
 
Protobuf type google.cloud.video.transcoder.v1.ElementaryStream
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ElementaryStream.Builder>
    • clear

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

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

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

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

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

      public ElementaryStream.Builder mergeFrom(ElementaryStream other)
    • isInitialized

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

      public ElementaryStream.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<ElementaryStream.Builder>
      Throws:
      IOException
    • getElementaryStreamCase

      public ElementaryStream.ElementaryStreamCase getElementaryStreamCase()
      Specified by:
      getElementaryStreamCase in interface ElementaryStreamOrBuilder
    • clearElementaryStream

      public ElementaryStream.Builder clearElementaryStream()
    • getKey

      public String getKey()
       A unique key for this elementary stream.
       
      string key = 4;
      Specified by:
      getKey in interface ElementaryStreamOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       A unique key for this elementary stream.
       
      string key = 4;
      Specified by:
      getKeyBytes in interface ElementaryStreamOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public ElementaryStream.Builder setKey(String value)
       A unique key for this elementary stream.
       
      string key = 4;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public ElementaryStream.Builder clearKey()
       A unique key for this elementary stream.
       
      string key = 4;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public ElementaryStream.Builder setKeyBytes(com.google.protobuf.ByteString value)
       A unique key for this elementary stream.
       
      string key = 4;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasVideoStream

      public boolean hasVideoStream()
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
      Specified by:
      hasVideoStream in interface ElementaryStreamOrBuilder
      Returns:
      Whether the videoStream field is set.
    • getVideoStream

      public VideoStream getVideoStream()
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
      Specified by:
      getVideoStream in interface ElementaryStreamOrBuilder
      Returns:
      The videoStream.
    • setVideoStream

      public ElementaryStream.Builder setVideoStream(VideoStream value)
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
    • setVideoStream

      public ElementaryStream.Builder setVideoStream(VideoStream.Builder builderForValue)
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
    • mergeVideoStream

      public ElementaryStream.Builder mergeVideoStream(VideoStream value)
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
    • clearVideoStream

      public ElementaryStream.Builder clearVideoStream()
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
    • getVideoStreamBuilder

      public VideoStream.Builder getVideoStreamBuilder()
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
    • getVideoStreamOrBuilder

      public VideoStreamOrBuilder getVideoStreamOrBuilder()
       Encoding of a video stream.
       
      .google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
      Specified by:
      getVideoStreamOrBuilder in interface ElementaryStreamOrBuilder
    • hasAudioStream

      public boolean hasAudioStream()
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
      Specified by:
      hasAudioStream in interface ElementaryStreamOrBuilder
      Returns:
      Whether the audioStream field is set.
    • getAudioStream

      public AudioStream getAudioStream()
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
      Specified by:
      getAudioStream in interface ElementaryStreamOrBuilder
      Returns:
      The audioStream.
    • setAudioStream

      public ElementaryStream.Builder setAudioStream(AudioStream value)
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
    • setAudioStream

      public ElementaryStream.Builder setAudioStream(AudioStream.Builder builderForValue)
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
    • mergeAudioStream

      public ElementaryStream.Builder mergeAudioStream(AudioStream value)
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
    • clearAudioStream

      public ElementaryStream.Builder clearAudioStream()
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
    • getAudioStreamBuilder

      public AudioStream.Builder getAudioStreamBuilder()
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
    • getAudioStreamOrBuilder

      public AudioStreamOrBuilder getAudioStreamOrBuilder()
       Encoding of an audio stream.
       
      .google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
      Specified by:
      getAudioStreamOrBuilder in interface ElementaryStreamOrBuilder
    • hasTextStream

      public boolean hasTextStream()
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
      Specified by:
      hasTextStream in interface ElementaryStreamOrBuilder
      Returns:
      Whether the textStream field is set.
    • getTextStream

      public TextStream getTextStream()
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
      Specified by:
      getTextStream in interface ElementaryStreamOrBuilder
      Returns:
      The textStream.
    • setTextStream

      public ElementaryStream.Builder setTextStream(TextStream value)
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
    • setTextStream

      public ElementaryStream.Builder setTextStream(TextStream.Builder builderForValue)
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
    • mergeTextStream

      public ElementaryStream.Builder mergeTextStream(TextStream value)
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
    • clearTextStream

      public ElementaryStream.Builder clearTextStream()
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
    • getTextStreamBuilder

      public TextStream.Builder getTextStreamBuilder()
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
    • getTextStreamOrBuilder

      public TextStreamOrBuilder getTextStreamOrBuilder()
       Encoding of a text stream. For example, closed captions or subtitles.
       
      .google.cloud.video.transcoder.v1.TextStream text_stream = 3;
      Specified by:
      getTextStreamOrBuilder in interface ElementaryStreamOrBuilder