Class ElementaryStream.Builder (1.3.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.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

publicElementaryStreambuild()
Returns
Type Description

buildPartial()

publicElementaryStreambuildPartial()
Returns
Type Description

clear()

publicElementaryStream.Builderclear()
Returns
Type Description
Overrides

clearAudioStream()

publicElementaryStream.BuilderclearAudioStream()

Encoding of an audio stream.

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

Returns
Type Description

clearElementaryStream()

publicElementaryStream.BuilderclearElementaryStream()
Returns
Type Description

clearField(Descriptors.FieldDescriptor field)

publicElementaryStream.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
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
Returns
Type Description
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

clearVideoStream()

publicElementaryStream.BuilderclearVideoStream()

Encoding of a video stream.

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

Returns
Type Description

clone()

publicElementaryStream.Builderclone()
Returns
Type Description
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

getAudioStreamOrBuilder()

publicAudioStreamOrBuildergetAudioStreamOrBuilder()

Encoding of an audio stream.

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

Returns
Type Description

getDefaultInstanceForType()

publicElementaryStreamgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getElementaryStreamCase()

publicElementaryStream.ElementaryStreamCasegetElementaryStreamCase()
Returns
Type Description

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

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

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

getVideoStreamOrBuilder()

publicVideoStreamOrBuildergetVideoStreamOrBuilder()

Encoding of a video stream.

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

Returns
Type Description

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
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
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

mergeFrom(ElementaryStream other)

publicElementaryStream.BuildermergeFrom(ElementaryStreamother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicElementaryStream.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicElementaryStream.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
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

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalElementaryStream.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

publicElementaryStream.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
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
index int
value Object
Returns
Type Description
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

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalElementaryStream.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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

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

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.