- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class MuxStream.Builder extends GeneratedMessageV3.Builder<MuxStream.Builder> implements MuxStreamOrBuilder
Multiplexing settings for output stream.
Protobuf type google.cloud.video.livestream.v1.MuxStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MuxStream.BuilderImplements
MuxStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllElementaryStreams(Iterable<String> values)
public MuxStream.Builder addAllElementaryStreams(Iterable<String> values)
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Name | Description |
values | Iterable<String> The elementaryStreams to add. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
addElementaryStreams(String value)
public MuxStream.Builder addElementaryStreams(String value)
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Name | Description |
value | String The elementaryStreams to add. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
addElementaryStreamsBytes(ByteString value)
public MuxStream.Builder addElementaryStreamsBytes(ByteString value)
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Name | Description |
value | ByteString The bytes of the elementaryStreams to add. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MuxStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MuxStream.Builder |
build()
public MuxStream build()
Type | Description |
MuxStream |
buildPartial()
public MuxStream buildPartial()
Type | Description |
MuxStream |
clear()
public MuxStream.Builder clear()
Type | Description |
MuxStream.Builder |
clearContainer()
public MuxStream.Builder clearContainer()
The container format. The default is fmp4
.
Supported container formats:
fmp4
- the corresponding file extension is.m4s
ts
- the corresponding file extension is.ts
string container = 3;
Type | Description |
MuxStream.Builder | This builder for chaining. |
clearElementaryStreams()
public MuxStream.Builder clearElementaryStreams()
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Type | Description |
MuxStream.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MuxStream.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MuxStream.Builder |
clearKey()
public MuxStream.Builder clearKey()
A unique key for this multiplexed stream.
string key = 1;
Type | Description |
MuxStream.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MuxStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MuxStream.Builder |
clearSegmentSettings()
public MuxStream.Builder clearSegmentSettings()
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Type | Description |
MuxStream.Builder |
clone()
public MuxStream.Builder clone()
Type | Description |
MuxStream.Builder |
getContainer()
public String getContainer()
The container format. The default is fmp4
.
Supported container formats:
fmp4
- the corresponding file extension is.m4s
ts
- the corresponding file extension is.ts
string container = 3;
Type | Description |
String | The container. |
getContainerBytes()
public ByteString getContainerBytes()
The container format. The default is fmp4
.
Supported container formats:
fmp4
- the corresponding file extension is.m4s
ts
- the corresponding file extension is.ts
string container = 3;
Type | Description |
ByteString | The bytes for container. |
getDefaultInstanceForType()
public MuxStream getDefaultInstanceForType()
Type | Description |
MuxStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getElementaryStreams(int index)
public String getElementaryStreams(int index)
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The elementaryStreams at the given index. |
getElementaryStreamsBytes(int index)
public ByteString getElementaryStreamsBytes(int index)
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the elementaryStreams at the given index. |
getElementaryStreamsCount()
public int getElementaryStreamsCount()
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Type | Description |
int | The count of elementaryStreams. |
getElementaryStreamsList()
public ProtocolStringList getElementaryStreamsList()
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Type | Description |
ProtocolStringList | A list containing the elementaryStreams. |
getKey()
public String getKey()
A unique key for this multiplexed stream.
string key = 1;
Type | Description |
String | The key. |
getKeyBytes()
public ByteString getKeyBytes()
A unique key for this multiplexed stream.
string key = 1;
Type | Description |
ByteString | The bytes for key. |
getSegmentSettings()
public SegmentSettings getSegmentSettings()
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Type | Description |
SegmentSettings | The segmentSettings. |
getSegmentSettingsBuilder()
public SegmentSettings.Builder getSegmentSettingsBuilder()
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Type | Description |
SegmentSettings.Builder |
getSegmentSettingsOrBuilder()
public SegmentSettingsOrBuilder getSegmentSettingsOrBuilder()
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Type | Description |
SegmentSettingsOrBuilder |
hasSegmentSettings()
public boolean hasSegmentSettings()
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Type | Description |
boolean | Whether the segmentSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MuxStream other)
public MuxStream.Builder mergeFrom(MuxStream other)
Name | Description |
other | MuxStream |
Type | Description |
MuxStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MuxStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MuxStream.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MuxStream.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MuxStream.Builder |
mergeSegmentSettings(SegmentSettings value)
public MuxStream.Builder mergeSegmentSettings(SegmentSettings value)
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Name | Description |
value | SegmentSettings |
Type | Description |
MuxStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MuxStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MuxStream.Builder |
setContainer(String value)
public MuxStream.Builder setContainer(String value)
The container format. The default is fmp4
.
Supported container formats:
fmp4
- the corresponding file extension is.m4s
ts
- the corresponding file extension is.ts
string container = 3;
Name | Description |
value | String The container to set. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
setContainerBytes(ByteString value)
public MuxStream.Builder setContainerBytes(ByteString value)
The container format. The default is fmp4
.
Supported container formats:
fmp4
- the corresponding file extension is.m4s
ts
- the corresponding file extension is.ts
string container = 3;
Name | Description |
value | ByteString The bytes for container to set. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
setElementaryStreams(int index, String value)
public MuxStream.Builder setElementaryStreams(int index, String value)
List of ElementaryStream
keys multiplexed in this
stream.
- For
fmp4
container, must contain either one video or one audio stream. - For
ts
container, must contain exactly one audio stream and up to one video stream.
repeated string elementary_streams = 4;
Name | Description |
index | int The index to set the value at. |
value | String The elementaryStreams to set. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MuxStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MuxStream.Builder |
setKey(String value)
public MuxStream.Builder setKey(String value)
A unique key for this multiplexed stream.
string key = 1;
Name | Description |
value | String The key to set. |
Type | Description |
MuxStream.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public MuxStream.Builder setKeyBytes(ByteString value)
A unique key for this multiplexed stream.
string key = 1;
Name | Description |
value | ByteString The bytes for key to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MuxStream.Builder |
setSegmentSettings(SegmentSettings value)
public MuxStream.Builder setSegmentSettings(SegmentSettings value)
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Name | Description |
value | SegmentSettings |
Type | Description |
MuxStream.Builder |
setSegmentSettings(SegmentSettings.Builder builderForValue)
public MuxStream.Builder setSegmentSettings(SegmentSettings.Builder builderForValue)
Segment settings for fmp4
and ts
.
.google.cloud.video.livestream.v1.SegmentSettings segment_settings = 5;
Name | Description |
builderForValue | SegmentSettings.Builder |
Type | Description |
MuxStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MuxStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MuxStream.Builder |