Class ElementaryStream

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.transcoder.v1.ElementaryStream
All Implemented Interfaces:
ElementaryStreamOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ElementaryStream extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • KEY_FIELD_NUMBER

      public static final int KEY_FIELD_NUMBER
      See Also:
    • VIDEO_STREAM_FIELD_NUMBER

      public static final int VIDEO_STREAM_FIELD_NUMBER
      See Also:
    • AUDIO_STREAM_FIELD_NUMBER

      public static final int AUDIO_STREAM_FIELD_NUMBER
      See Also:
    • TEXT_STREAM_FIELD_NUMBER

      public static final int TEXT_STREAM_FIELD_NUMBER
      See Also:
  • 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
    • getElementaryStreamCase

      public ElementaryStream.ElementaryStreamCase getElementaryStreamCase()
      Specified by:
      getElementaryStreamCase in interface ElementaryStreamOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ElementaryStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ElementaryStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ElementaryStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ElementaryStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ElementaryStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ElementaryStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ElementaryStream parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ElementaryStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ElementaryStream parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ElementaryStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ElementaryStream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ElementaryStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ElementaryStream.Builder newBuilder()
    • newBuilder

      public static ElementaryStream.Builder newBuilder(ElementaryStream prototype)
    • toBuilder

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

      protected ElementaryStream.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ElementaryStream getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ElementaryStream> parser()
    • getParserForType

      public com.google.protobuf.Parser<ElementaryStream> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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