Class ElementaryStream (1.47.0)

publicfinalclass ElementaryStreamextendsGeneratedMessageV3implementsElementaryStreamOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

AUDIO_STREAM_FIELD_NUMBER

publicstaticfinalintAUDIO_STREAM_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

publicstaticfinalintKEY_FIELD_NUMBER
Field Value
Type Description
int

TEXT_STREAM_FIELD_NUMBER

publicstaticfinalintTEXT_STREAM_FIELD_NUMBER
Field Value
Type Description
int

VIDEO_STREAM_FIELD_NUMBER

publicstaticfinalintVIDEO_STREAM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticElementaryStreamgetDefaultInstance()
Returns
Type Description
ElementaryStream

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticElementaryStream.BuildernewBuilder()
Returns
Type Description
ElementaryStream.Builder

newBuilder(ElementaryStream prototype)

publicstaticElementaryStream.BuildernewBuilder(ElementaryStreamprototype)
Parameter
Name Description
prototype ElementaryStream
Returns
Type Description
ElementaryStream.Builder

parseDelimitedFrom(InputStream input)

publicstaticElementaryStreamparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ElementaryStream
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticElementaryStreamparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticElementaryStreamparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ElementaryStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticElementaryStreamparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticElementaryStreamparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ElementaryStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticElementaryStreamparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticElementaryStreamparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ElementaryStream
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticElementaryStreamparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticElementaryStreamparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ElementaryStream
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticElementaryStreamparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticElementaryStreamparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ElementaryStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticElementaryStreamparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ElementaryStream>parser()
Returns
Type Description
Parser<ElementaryStream>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAudioStream()

publicAudioStreamgetAudioStream()

Encoding of an audio stream.

.google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;

Returns
Type Description
AudioStream

The audioStream.

getAudioStreamOrBuilder()

publicAudioStreamOrBuildergetAudioStreamOrBuilder()

Encoding of an audio stream.

.google.cloud.video.transcoder.v1.AudioStream audio_stream = 2;

Returns
Type Description
AudioStreamOrBuilder

getDefaultInstanceForType()

publicElementaryStreamgetDefaultInstanceForType()
Returns
Type Description
ElementaryStream

getElementaryStreamCase()

publicElementaryStream.ElementaryStreamCasegetElementaryStreamCase()
Returns
Type Description
ElementaryStream.ElementaryStreamCase

getKey()

publicStringgetKey()

A unique key for this elementary stream.

string key = 4;

Returns
Type Description
String

The key.

getKeyBytes()

publicByteStringgetKeyBytes()

A unique key for this elementary stream.

string key = 4;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

publicParser<ElementaryStream>getParserForType()
Returns
Type Description
Parser<ElementaryStream>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getTextStream()

publicTextStreamgetTextStream()

Encoding of a text stream. For example, closed captions or subtitles.

.google.cloud.video.transcoder.v1.TextStream text_stream = 3;

Returns
Type Description
TextStream

The textStream.

getTextStreamOrBuilder()

publicTextStreamOrBuildergetTextStreamOrBuilder()

Encoding of a text stream. For example, closed captions or subtitles.

.google.cloud.video.transcoder.v1.TextStream text_stream = 3;

Returns
Type Description
TextStreamOrBuilder

getVideoStream()

publicVideoStreamgetVideoStream()

Encoding of a video stream.

.google.cloud.video.transcoder.v1.VideoStream video_stream = 1;

Returns
Type Description
VideoStream

The videoStream.

getVideoStreamOrBuilder()

publicVideoStreamOrBuildergetVideoStreamOrBuilder()

Encoding of a video stream.

.google.cloud.video.transcoder.v1.VideoStream video_stream = 1;

Returns
Type Description
VideoStreamOrBuilder

hasAudioStream()

publicbooleanhasAudioStream()

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()

publicbooleanhasTextStream()

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()

publicbooleanhasVideoStream()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicElementaryStream.BuildernewBuilderForType()
Returns
Type Description
ElementaryStream.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedElementaryStream.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ElementaryStream.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicElementaryStream.BuildertoBuilder()
Returns
Type Description
ElementaryStream.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.