Class ElementaryStream.Builder (1.35.0)

publicstaticfinalclass ElementaryStream.BuilderextendsGeneratedMessageV3.Builder<ElementaryStream.Builder>implementsElementaryStreamOrBuilder

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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicElementaryStream.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ElementaryStream.Builder
Overrides

build()

publicElementaryStreambuild()
Returns
Type Description
ElementaryStream

buildPartial()

publicElementaryStreambuildPartial()
Returns
Type Description
ElementaryStream

clear()

publicElementaryStream.Builderclear()
Returns
Type Description
ElementaryStream.Builder
Overrides

clearAudioStream()

publicElementaryStream.BuilderclearAudioStream()

Encoding of an audio stream.

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

Returns
Type Description
ElementaryStream.Builder

clearElementaryStream()

publicElementaryStream.BuilderclearElementaryStream()
Returns
Type Description
ElementaryStream.Builder

clearField(Descriptors.FieldDescriptor field)

publicElementaryStream.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ElementaryStream.Builder
Overrides

clearKey()

publicElementaryStream.BuilderclearKey()

A unique key for this elementary stream.

string key = 4;

Returns
Type Description
ElementaryStream.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicElementaryStream.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ElementaryStream.Builder
Overrides

clearTextStream()

publicElementaryStream.BuilderclearTextStream()

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

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

Returns
Type Description
ElementaryStream.Builder

clearVideoStream()

publicElementaryStream.BuilderclearVideoStream()

Encoding of a video stream.

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

Returns
Type Description
ElementaryStream.Builder

clone()

publicElementaryStream.Builderclone()
Returns
Type Description
ElementaryStream.Builder
Overrides

getAudioStream()

publicAudioStreamgetAudioStream()

Encoding of an audio stream.

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

Returns
Type Description
AudioStream

The audioStream.

getAudioStreamBuilder()

publicAudioStream.BuildergetAudioStreamBuilder()

Encoding of an audio stream.

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

Returns
Type Description
AudioStream.Builder

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

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getTextStreamBuilder()

publicTextStream.BuildergetTextStreamBuilder()

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

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

Returns
Type Description
TextStream.Builder

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.

getVideoStreamBuilder()

publicVideoStream.BuildergetVideoStreamBuilder()

Encoding of a video stream.

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

Returns
Type Description
VideoStream.Builder

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeAudioStream(AudioStream value)

publicElementaryStream.BuildermergeAudioStream(AudioStreamvalue)

Encoding of an audio stream.

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

Parameter
Name Description
value AudioStream
Returns
Type Description
ElementaryStream.Builder

mergeFrom(ElementaryStream other)

publicElementaryStream.BuildermergeFrom(ElementaryStreamother)
Parameter
Name Description
other ElementaryStream
Returns
Type Description
ElementaryStream.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicElementaryStream.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ElementaryStream.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicElementaryStream.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ElementaryStream.Builder
Overrides

mergeTextStream(TextStream value)

publicElementaryStream.BuildermergeTextStream(TextStreamvalue)

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

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

Parameter
Name Description
value TextStream
Returns
Type Description
ElementaryStream.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalElementaryStream.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ElementaryStream.Builder
Overrides

mergeVideoStream(VideoStream value)

publicElementaryStream.BuildermergeVideoStream(VideoStreamvalue)

Encoding of a video stream.

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

Parameter
Name Description
value VideoStream
Returns
Type Description
ElementaryStream.Builder

setAudioStream(AudioStream value)

publicElementaryStream.BuildersetAudioStream(AudioStreamvalue)

Encoding of an audio stream.

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

Parameter
Name Description
value AudioStream
Returns
Type Description
ElementaryStream.Builder

setAudioStream(AudioStream.Builder builderForValue)

publicElementaryStream.BuildersetAudioStream(AudioStream.BuilderbuilderForValue)

Encoding of an audio stream.

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

Parameter
Name Description
builderForValue AudioStream.Builder
Returns
Type Description
ElementaryStream.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicElementaryStream.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ElementaryStream.Builder
Overrides

setKey(String value)

publicElementaryStream.BuildersetKey(Stringvalue)

A unique key for this elementary stream.

string key = 4;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
ElementaryStream.Builder

This builder for chaining.

setKeyBytes(ByteString value)

publicElementaryStream.BuildersetKeyBytes(ByteStringvalue)

A unique key for this elementary stream.

string key = 4;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
ElementaryStream.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicElementaryStream.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ElementaryStream.Builder
Overrides

setTextStream(TextStream value)

publicElementaryStream.BuildersetTextStream(TextStreamvalue)

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

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

Parameter
Name Description
value TextStream
Returns
Type Description
ElementaryStream.Builder

setTextStream(TextStream.Builder builderForValue)

publicElementaryStream.BuildersetTextStream(TextStream.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue TextStream.Builder
Returns
Type Description
ElementaryStream.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalElementaryStream.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ElementaryStream.Builder
Overrides

setVideoStream(VideoStream value)

publicElementaryStream.BuildersetVideoStream(VideoStreamvalue)

Encoding of a video stream.

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

Parameter
Name Description
value VideoStream
Returns
Type Description
ElementaryStream.Builder

setVideoStream(VideoStream.Builder builderForValue)

publicElementaryStream.BuildersetVideoStream(VideoStream.BuilderbuilderForValue)

Encoding of a video stream.

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

Parameter
Name Description
builderForValue VideoStream.Builder
Returns
Type Description
ElementaryStream.Builder

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.