Class ElementaryStream.Builder (1.33.0)

public static final class ElementaryStream.Builder extends GeneratedMessageV3.Builder<ElementaryStream.Builder> 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ElementaryStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ElementaryStream.Builder
Overrides

build()

public ElementaryStream build()
Returns
TypeDescription
ElementaryStream

buildPartial()

public ElementaryStream buildPartial()
Returns
TypeDescription
ElementaryStream

clear()

public ElementaryStream.Builder clear()
Returns
TypeDescription
ElementaryStream.Builder
Overrides

clearAudioStream()

public ElementaryStream.Builder clearAudioStream()

Encoding of an audio stream.

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

Returns
TypeDescription
ElementaryStream.Builder

clearElementaryStream()

public ElementaryStream.Builder clearElementaryStream()
Returns
TypeDescription
ElementaryStream.Builder

clearField(Descriptors.FieldDescriptor field)

public ElementaryStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ElementaryStream.Builder
Overrides

clearKey()

public ElementaryStream.Builder clearKey()

A unique key for this elementary stream.

string key = 4;

Returns
TypeDescription
ElementaryStream.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ElementaryStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ElementaryStream.Builder
Overrides

clearTextStream()

public ElementaryStream.Builder clearTextStream()

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

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

Returns
TypeDescription
ElementaryStream.Builder

clearVideoStream()

public ElementaryStream.Builder clearVideoStream()

Encoding of a video stream.

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

Returns
TypeDescription
ElementaryStream.Builder

clone()

public ElementaryStream.Builder clone()
Returns
TypeDescription
ElementaryStream.Builder
Overrides

getAudioStream()

public AudioStream getAudioStream()

Encoding of an audio stream.

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

Returns
TypeDescription
AudioStream

The audioStream.

getAudioStreamBuilder()

public AudioStream.Builder getAudioStreamBuilder()

Encoding of an audio stream.

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

Returns
TypeDescription
AudioStream.Builder

getAudioStreamOrBuilder()

public AudioStreamOrBuilder getAudioStreamOrBuilder()

Encoding of an audio stream.

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

Returns
TypeDescription
AudioStreamOrBuilder

getDefaultInstanceForType()

public ElementaryStream getDefaultInstanceForType()
Returns
TypeDescription
ElementaryStream

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getElementaryStreamCase()

public ElementaryStream.ElementaryStreamCase getElementaryStreamCase()
Returns
TypeDescription
ElementaryStream.ElementaryStreamCase

getKey()

public String getKey()

A unique key for this elementary stream.

string key = 4;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A unique key for this elementary stream.

string key = 4;

Returns
TypeDescription
ByteString

The bytes for key.

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
TypeDescription
TextStream

The textStream.

getTextStreamBuilder()

public TextStream.Builder getTextStreamBuilder()

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

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

Returns
TypeDescription
TextStream.Builder

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
TypeDescription
TextStreamOrBuilder

getVideoStream()

public VideoStream getVideoStream()

Encoding of a video stream.

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

Returns
TypeDescription
VideoStream

The videoStream.

getVideoStreamBuilder()

public VideoStream.Builder getVideoStreamBuilder()

Encoding of a video stream.

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

Returns
TypeDescription
VideoStream.Builder

getVideoStreamOrBuilder()

public VideoStreamOrBuilder getVideoStreamOrBuilder()

Encoding of a video stream.

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

Returns
TypeDescription
VideoStreamOrBuilder

hasAudioStream()

public boolean hasAudioStream()

Encoding of an audio stream.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the videoStream field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAudioStream(AudioStream value)

public ElementaryStream.Builder mergeAudioStream(AudioStream value)

Encoding of an audio stream.

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

Parameter
NameDescription
valueAudioStream
Returns
TypeDescription
ElementaryStream.Builder

mergeFrom(ElementaryStream other)

public ElementaryStream.Builder mergeFrom(ElementaryStream other)
Parameter
NameDescription
otherElementaryStream
Returns
TypeDescription
ElementaryStream.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ElementaryStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ElementaryStream.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ElementaryStream.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ElementaryStream.Builder
Overrides

mergeTextStream(TextStream value)

public ElementaryStream.Builder mergeTextStream(TextStream value)

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

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

Parameter
NameDescription
valueTextStream
Returns
TypeDescription
ElementaryStream.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ElementaryStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ElementaryStream.Builder
Overrides

mergeVideoStream(VideoStream value)

public ElementaryStream.Builder mergeVideoStream(VideoStream value)

Encoding of a video stream.

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

Parameter
NameDescription
valueVideoStream
Returns
TypeDescription
ElementaryStream.Builder

setAudioStream(AudioStream value)

public ElementaryStream.Builder setAudioStream(AudioStream value)

Encoding of an audio stream.

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

Parameter
NameDescription
valueAudioStream
Returns
TypeDescription
ElementaryStream.Builder

setAudioStream(AudioStream.Builder builderForValue)

public ElementaryStream.Builder setAudioStream(AudioStream.Builder builderForValue)

Encoding of an audio stream.

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

Parameter
NameDescription
builderForValueAudioStream.Builder
Returns
TypeDescription
ElementaryStream.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ElementaryStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ElementaryStream.Builder
Overrides

setKey(String value)

public ElementaryStream.Builder setKey(String value)

A unique key for this elementary stream.

string key = 4;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
ElementaryStream.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public ElementaryStream.Builder setKeyBytes(ByteString value)

A unique key for this elementary stream.

string key = 4;

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
ElementaryStream.Builder

This builder for chaining.

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

public ElementaryStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ElementaryStream.Builder
Overrides

setTextStream(TextStream value)

public ElementaryStream.Builder setTextStream(TextStream value)

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

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

Parameter
NameDescription
valueTextStream
Returns
TypeDescription
ElementaryStream.Builder

setTextStream(TextStream.Builder builderForValue)

public ElementaryStream.Builder setTextStream(TextStream.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueTextStream.Builder
Returns
TypeDescription
ElementaryStream.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ElementaryStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ElementaryStream.Builder
Overrides

setVideoStream(VideoStream value)

public ElementaryStream.Builder setVideoStream(VideoStream value)

Encoding of a video stream.

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

Parameter
NameDescription
valueVideoStream
Returns
TypeDescription
ElementaryStream.Builder

setVideoStream(VideoStream.Builder builderForValue)

public ElementaryStream.Builder setVideoStream(VideoStream.Builder builderForValue)

Encoding of a video stream.

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

Parameter
NameDescription
builderForValueVideoStream.Builder
Returns
TypeDescription
ElementaryStream.Builder