public final class ElementaryStream extends GeneratedMessageV3 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
Fields
AUDIO_STREAM_FIELD_NUMBER
public static final int AUDIO_STREAM_FIELD_NUMBER
Field Value
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value
TEXT_STREAM_FIELD_NUMBER
public static final int TEXT_STREAM_FIELD_NUMBER
Field Value
VIDEO_STREAM_FIELD_NUMBER
public static final int VIDEO_STREAM_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAudioStream()
public AudioStream getAudioStream()
Encoding of an audio stream.
.google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
Returns
getAudioStreamOrBuilder()
public AudioStreamOrBuilder getAudioStreamOrBuilder()
Encoding of an audio stream.
.google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
Returns
getDefaultInstance()
public static ElementaryStream getDefaultInstance()
Returns
getDefaultInstanceForType()
public ElementaryStream getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getElementaryStreamCase()
public ElementaryStream.ElementaryStreamCase getElementaryStreamCase()
Returns
getKey()
A unique key for this elementary stream.
string key = 4;
Returns
getKeyBytes()
public ByteString getKeyBytes()
A unique key for this elementary stream.
string key = 4;
Returns
getParserForType()
public Parser<ElementaryStream> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTextStream()
public TextStream getTextStream()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.transcoder.v1.TextStream text_stream = 3;
Returns
getTextStreamOrBuilder()
public TextStreamOrBuilder getTextStreamOrBuilder()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.transcoder.v1.TextStream text_stream = 3;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVideoStream()
public VideoStream getVideoStream()
Encoding of a video stream.
.google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
Returns
getVideoStreamOrBuilder()
public VideoStreamOrBuilder getVideoStreamOrBuilder()
Encoding of a video stream.
.google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
Returns
hasAudioStream()
public boolean hasAudioStream()
Encoding of an audio stream.
.google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;
Returns
Type | Description |
boolean | Whether the audioStream field is set.
|
hasTextStream()
public boolean hasTextStream()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.transcoder.v1.TextStream text_stream = 3;
Returns
Type | Description |
boolean | Whether the textStream field is set.
|
hasVideoStream()
public boolean hasVideoStream()
Encoding of a video stream.
.google.cloud.video.transcoder.v1.VideoStream video_stream = 1;
Returns
Type | Description |
boolean | Whether the videoStream field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ElementaryStream.Builder newBuilder()
Returns
newBuilder(ElementaryStream prototype)
public static ElementaryStream.Builder newBuilder(ElementaryStream prototype)
Parameter
Returns
newBuilderForType()
public ElementaryStream.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ElementaryStream.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ElementaryStream parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ElementaryStream parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ElementaryStream parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ElementaryStream parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ElementaryStream parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ElementaryStream parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ElementaryStream parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ElementaryStream parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ElementaryStream parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ElementaryStream parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ElementaryStream parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ElementaryStream parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ElementaryStream> parser()
Returns
toBuilder()
public ElementaryStream.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions