Class MuxStream (1.21.0)

publicfinalclass MuxStreamextendsGeneratedMessageV3implementsMuxStreamOrBuilder

Multiplexing settings for output stream.

Protobuf type google.cloud.video.transcoder.v1.MuxStream

Implements

MuxStreamOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

CONTAINER_FIELD_NUMBER

publicstaticfinalintCONTAINER_FIELD_NUMBER
Field Value
Type Description
int

ELEMENTARY_STREAMS_FIELD_NUMBER

publicstaticfinalintELEMENTARY_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_ID_FIELD_NUMBER

publicstaticfinalintENCRYPTION_ID_FIELD_NUMBER
Field Value
Type Description
int

FILE_NAME_FIELD_NUMBER

publicstaticfinalintFILE_NAME_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

publicstaticfinalintKEY_FIELD_NUMBER
Field Value
Type Description
int

SEGMENT_SETTINGS_FIELD_NUMBER

publicstaticfinalintSEGMENT_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticMuxStreamgetDefaultInstance()
Returns
Type Description
MuxStream

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticMuxStream.BuildernewBuilder()
Returns
Type Description
MuxStream.Builder

newBuilder(MuxStream prototype)

publicstaticMuxStream.BuildernewBuilder(MuxStreamprototype)
Parameter
Name Description
prototype MuxStream
Returns
Type Description
MuxStream.Builder

parseDelimitedFrom(InputStream input)

publicstaticMuxStreamparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
MuxStream
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

publicstaticMuxStreamparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
MuxStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

publicstaticMuxStreamparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
MuxStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

publicstaticMuxStreamparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MuxStream
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

publicstaticMuxStreamparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
MuxStream
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

publicstaticMuxStreamparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MuxStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getContainer()

publicStringgetContainer()

The container format. The default is mp4

Supported container formats:

string container = 3;

Returns
Type Description
String

The container.

getContainerBytes()

publicByteStringgetContainerBytes()

The container format. The default is mp4

Supported container formats:

string container = 3;

Returns
Type Description
ByteString

The bytes for container.

getDefaultInstanceForType()

publicMuxStreamgetDefaultInstanceForType()
Returns
Type Description
MuxStream

getElementaryStreams(int index)

publicStringgetElementaryStreams(intindex)

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The elementaryStreams at the given index.

getElementaryStreamsBytes(int index)

publicByteStringgetElementaryStreamsBytes(intindex)

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the elementaryStreams at the given index.

getElementaryStreamsCount()

publicintgetElementaryStreamsCount()

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Returns
Type Description
int

The count of elementaryStreams.

getElementaryStreamsList()

publicProtocolStringListgetElementaryStreamsList()

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Returns
Type Description
ProtocolStringList

A list containing the elementaryStreams.

getEncryptionId()

publicStringgetEncryptionId()

Identifier of the encryption configuration to use. If omitted, output will be unencrypted.

string encryption_id = 7;

Returns
Type Description
String

The encryptionId.

getEncryptionIdBytes()

publicByteStringgetEncryptionIdBytes()

Identifier of the encryption configuration to use. If omitted, output will be unencrypted.

string encryption_id = 7;

Returns
Type Description
ByteString

The bytes for encryptionId.

getFileName()

publicStringgetFileName()

The name of the generated file. The default is MuxStream.key with the extension suffix corresponding to the MuxStream.container.

Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as mux_stream0000000123.ts.

string file_name = 2;

Returns
Type Description
String

The fileName.

getFileNameBytes()

publicByteStringgetFileNameBytes()

The name of the generated file. The default is MuxStream.key with the extension suffix corresponding to the MuxStream.container.

Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as mux_stream0000000123.ts.

string file_name = 2;

Returns
Type Description
ByteString

The bytes for fileName.

getKey()

publicStringgetKey()

A unique key for this multiplexed stream. HLS media manifests will be named MuxStream.key with the .m3u8 extension suffix.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

publicByteStringgetKeyBytes()

A unique key for this multiplexed stream. HLS media manifests will be named MuxStream.key with the .m3u8 extension suffix.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

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

getSegmentSettings()

publicSegmentSettingsgetSegmentSettings()

Segment settings for ts, fmp4 and vtt.

.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;

Returns
Type Description
SegmentSettings

The segmentSettings.

getSegmentSettingsOrBuilder()

publicSegmentSettingsOrBuildergetSegmentSettingsOrBuilder()

Segment settings for ts, fmp4 and vtt.

.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;

Returns
Type Description
SegmentSettingsOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasSegmentSettings()

publicbooleanhasSegmentSettings()

Segment settings for ts, fmp4 and vtt.

.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;

Returns
Type Description
boolean

Whether the segmentSettings 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()

publicMuxStream.BuildernewBuilderForType()
Returns
Type Description
MuxStream.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedMuxStream.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MuxStream.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

publicMuxStream.BuildertoBuilder()
Returns
Type Description
MuxStream.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.