- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
public static final class MuxStream.Builder extends GeneratedMessageV3.Builder<MuxStream.Builder> implements MuxStreamOrBuilder
Multiplexing settings for output stream.
Protobuf type google.cloud.video.transcoder.v1.MuxStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MuxStream.BuilderImplements
MuxStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllElementaryStreams(Iterable<String> values)
public MuxStream.Builder addAllElementaryStreams(Iterable<String> values)
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The elementaryStreams to add. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
addElementaryStreams(String value)
public MuxStream.Builder addElementaryStreams(String value)
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Parameter | |
---|---|
Name | Description |
value | String The elementaryStreams to add. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
addElementaryStreamsBytes(ByteString value)
public MuxStream.Builder addElementaryStreamsBytes(ByteString value)
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the elementaryStreams to add. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MuxStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
build()
public MuxStream build()
Returns | |
---|---|
Type | Description |
MuxStream |
buildPartial()
public MuxStream buildPartial()
Returns | |
---|---|
Type | Description |
MuxStream |
clear()
public MuxStream.Builder clear()
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
clearContainer()
public MuxStream.Builder clearContainer()
The container format. The default is mp4
Supported container formats:
ts
fmp4
- the corresponding file extension is.m4s
mp4
vtt
See also: Supported input and output formats
string container = 3;
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
clearElementaryStreams()
public MuxStream.Builder clearElementaryStreams()
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
clearEncryptionId()
public MuxStream.Builder clearEncryptionId()
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MuxStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
clearFileName()
public MuxStream.Builder clearFileName()
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 |
MuxStream.Builder | This builder for chaining. |
clearKey()
public MuxStream.Builder clearKey()
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 |
MuxStream.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MuxStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
clearSegmentSettings()
public MuxStream.Builder clearSegmentSettings()
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
clone()
public MuxStream.Builder clone()
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
getContainer()
public String getContainer()
The container format. The default is mp4
Supported container formats:
ts
fmp4
- the corresponding file extension is.m4s
mp4
vtt
See also: Supported input and output formats
string container = 3;
Returns | |
---|---|
Type | Description |
String | The container. |
getContainerBytes()
public ByteString getContainerBytes()
The container format. The default is mp4
Supported container formats:
ts
fmp4
- the corresponding file extension is.m4s
mp4
vtt
See also: Supported input and output formats
string container = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for container. |
getDefaultInstanceForType()
public MuxStream getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MuxStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getElementaryStreams(int index)
public String getElementaryStreams(int index)
List of ElementaryStream.key
s 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)
public ByteString getElementaryStreamsBytes(int index)
List of ElementaryStream.key
s 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()
public int getElementaryStreamsCount()
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Returns | |
---|---|
Type | Description |
int | The count of elementaryStreams. |
getElementaryStreamsList()
public ProtocolStringList getElementaryStreamsList()
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the elementaryStreams. |
getEncryptionId()
public String getEncryptionId()
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;
Returns | |
---|---|
Type | Description |
String | The encryptionId. |
getEncryptionIdBytes()
public ByteString getEncryptionIdBytes()
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()
public String getFileName()
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()
public ByteString getFileNameBytes()
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()
public String getKey()
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()
public ByteString getKeyBytes()
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. |
getSegmentSettings()
public SegmentSettings getSegmentSettings()
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Returns | |
---|---|
Type | Description |
SegmentSettings | The segmentSettings. |
getSegmentSettingsBuilder()
public SegmentSettings.Builder getSegmentSettingsBuilder()
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Returns | |
---|---|
Type | Description |
SegmentSettings.Builder |
getSegmentSettingsOrBuilder()
public SegmentSettingsOrBuilder getSegmentSettingsOrBuilder()
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Returns | |
---|---|
Type | Description |
SegmentSettingsOrBuilder |
hasSegmentSettings()
public boolean hasSegmentSettings()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MuxStream other)
public MuxStream.Builder mergeFrom(MuxStream other)
Parameter | |
---|---|
Name | Description |
other | MuxStream |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MuxStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MuxStream.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
mergeSegmentSettings(SegmentSettings value)
public MuxStream.Builder mergeSegmentSettings(SegmentSettings value)
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Parameter | |
---|---|
Name | Description |
value | SegmentSettings |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MuxStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
setContainer(String value)
public MuxStream.Builder setContainer(String value)
The container format. The default is mp4
Supported container formats:
ts
fmp4
- the corresponding file extension is.m4s
mp4
vtt
See also: Supported input and output formats
string container = 3;
Parameter | |
---|---|
Name | Description |
value | String The container to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setContainerBytes(ByteString value)
public MuxStream.Builder setContainerBytes(ByteString value)
The container format. The default is mp4
Supported container formats:
ts
fmp4
- the corresponding file extension is.m4s
mp4
vtt
See also: Supported input and output formats
string container = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for container to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setElementaryStreams(int index, String value)
public MuxStream.Builder setElementaryStreams(int index, String value)
List of ElementaryStream.key
s multiplexed in this stream.
repeated string elementary_streams = 4;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The elementaryStreams to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setEncryptionId(String value)
public MuxStream.Builder setEncryptionId(String value)
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;
Parameter | |
---|---|
Name | Description |
value | String The encryptionId to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setEncryptionIdBytes(ByteString value)
public MuxStream.Builder setEncryptionIdBytes(ByteString value)
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for encryptionId to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MuxStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
setFileName(String value)
public MuxStream.Builder setFileName(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The fileName to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setFileNameBytes(ByteString value)
public MuxStream.Builder setFileNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for fileName to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setKey(String value)
public MuxStream.Builder setKey(String value)
A unique key for this multiplexed stream. HLS media manifests will be
named MuxStream.key
with the .m3u8
extension suffix.
string key = 1;
Parameter | |
---|---|
Name | Description |
value | String The key to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public MuxStream.Builder setKeyBytes(ByteString value)
A unique key for this multiplexed stream. HLS media manifests will be
named MuxStream.key
with the .m3u8
extension suffix.
string key = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for key to set. |
Returns | |
---|---|
Type | Description |
MuxStream.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MuxStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
setSegmentSettings(SegmentSettings value)
public MuxStream.Builder setSegmentSettings(SegmentSettings value)
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Parameter | |
---|---|
Name | Description |
value | SegmentSettings |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
setSegmentSettings(SegmentSettings.Builder builderForValue)
public MuxStream.Builder setSegmentSettings(SegmentSettings.Builder builderForValue)
Segment settings for ts
, fmp4
and vtt
.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | SegmentSettings.Builder |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MuxStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MuxStream.Builder |