Class MuxStream
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.video.transcoder.v1.MuxStream
-
- All Implemented Interfaces:
MuxStreamOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MuxStream extends com.google.protobuf.GeneratedMessageV3 implements MuxStreamOrBuilder
Multiplexing settings for output stream.
Protobuf typegoogle.cloud.video.transcoder.v1.MuxStream
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MuxStream.Builder
Multiplexing settings for output stream.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONTAINER_FIELD_NUMBER
static int
ELEMENTARY_STREAMS_FIELD_NUMBER
static int
ENCRYPTION_ID_FIELD_NUMBER
static int
FILE_NAME_FIELD_NUMBER
static int
KEY_FIELD_NUMBER
static int
SEGMENT_SETTINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getContainer()
The container format.com.google.protobuf.ByteString
getContainerBytes()
The container format.static MuxStream
getDefaultInstance()
MuxStream
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getElementaryStreams(int index)
List of `ElementaryStream.key`s multiplexed in this stream.com.google.protobuf.ByteString
getElementaryStreamsBytes(int index)
List of `ElementaryStream.key`s multiplexed in this stream.int
getElementaryStreamsCount()
List of `ElementaryStream.key`s multiplexed in this stream.com.google.protobuf.ProtocolStringList
getElementaryStreamsList()
List of `ElementaryStream.key`s multiplexed in this stream.String
getEncryptionId()
Identifier of the encryption configuration to use.com.google.protobuf.ByteString
getEncryptionIdBytes()
Identifier of the encryption configuration to use.String
getFileName()
The name of the generated file.com.google.protobuf.ByteString
getFileNameBytes()
The name of the generated file.String
getKey()
A unique key for this multiplexed stream.com.google.protobuf.ByteString
getKeyBytes()
A unique key for this multiplexed stream.com.google.protobuf.Parser<MuxStream>
getParserForType()
SegmentSettings
getSegmentSettings()
Segment settings for `ts`, `fmp4` and `vtt`.SegmentSettingsOrBuilder
getSegmentSettingsOrBuilder()
Segment settings for `ts`, `fmp4` and `vtt`.int
getSerializedSize()
int
hashCode()
boolean
hasSegmentSettings()
Segment settings for `ts`, `fmp4` and `vtt`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MuxStream.Builder
newBuilder()
static MuxStream.Builder
newBuilder(MuxStream prototype)
MuxStream.Builder
newBuilderForType()
protected MuxStream.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MuxStream
parseDelimitedFrom(InputStream input)
static MuxStream
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MuxStream
parseFrom(byte[] data)
static MuxStream
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MuxStream
parseFrom(com.google.protobuf.ByteString data)
static MuxStream
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MuxStream
parseFrom(com.google.protobuf.CodedInputStream input)
static MuxStream
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MuxStream
parseFrom(InputStream input)
static MuxStream
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MuxStream
parseFrom(ByteBuffer data)
static MuxStream
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MuxStream>
parser()
MuxStream.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_NAME_FIELD_NUMBER
public static final int FILE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ELEMENTARY_STREAMS_FIELD_NUMBER
public static final int ELEMENTARY_STREAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGMENT_SETTINGS_FIELD_NUMBER
public static final int SEGMENT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_ID_FIELD_NUMBER
public static final int ENCRYPTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
getKey
in interfaceMuxStreamOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.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;
- Specified by:
getKeyBytes
in interfaceMuxStreamOrBuilder
- Returns:
- The bytes for key.
-
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;
- Specified by:
getFileName
in interfaceMuxStreamOrBuilder
- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.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;
- Specified by:
getFileNameBytes
in interfaceMuxStreamOrBuilder
- Returns:
- The bytes for fileName.
-
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](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
string container = 3;
- Specified by:
getContainer
in interfaceMuxStreamOrBuilder
- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.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](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
string container = 3;
- Specified by:
getContainerBytes
in interfaceMuxStreamOrBuilder
- Returns:
- The bytes for container.
-
getElementaryStreamsList
public com.google.protobuf.ProtocolStringList getElementaryStreamsList()
List of `ElementaryStream.key`s multiplexed in this stream.
repeated string elementary_streams = 4;
- Specified by:
getElementaryStreamsList
in interfaceMuxStreamOrBuilder
- Returns:
- A list containing the elementaryStreams.
-
getElementaryStreamsCount
public int getElementaryStreamsCount()
List of `ElementaryStream.key`s multiplexed in this stream.
repeated string elementary_streams = 4;
- Specified by:
getElementaryStreamsCount
in interfaceMuxStreamOrBuilder
- Returns:
- The count of elementaryStreams.
-
getElementaryStreams
public String getElementaryStreams(int index)
List of `ElementaryStream.key`s multiplexed in this stream.
repeated string elementary_streams = 4;
- Specified by:
getElementaryStreams
in interfaceMuxStreamOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The elementaryStreams at the given index.
-
getElementaryStreamsBytes
public com.google.protobuf.ByteString getElementaryStreamsBytes(int index)
List of `ElementaryStream.key`s multiplexed in this stream.
repeated string elementary_streams = 4;
- Specified by:
getElementaryStreamsBytes
in interfaceMuxStreamOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the elementaryStreams at the given index.
-
hasSegmentSettings
public boolean hasSegmentSettings()
Segment settings for `ts`, `fmp4` and `vtt`.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
- Specified by:
hasSegmentSettings
in interfaceMuxStreamOrBuilder
- Returns:
- Whether the segmentSettings field is set.
-
getSegmentSettings
public SegmentSettings getSegmentSettings()
Segment settings for `ts`, `fmp4` and `vtt`.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
- Specified by:
getSegmentSettings
in interfaceMuxStreamOrBuilder
- Returns:
- The segmentSettings.
-
getSegmentSettingsOrBuilder
public SegmentSettingsOrBuilder getSegmentSettingsOrBuilder()
Segment settings for `ts`, `fmp4` and `vtt`.
.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;
- Specified by:
getSegmentSettingsOrBuilder
in interfaceMuxStreamOrBuilder
-
getEncryptionId
public String getEncryptionId()
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;
- Specified by:
getEncryptionId
in interfaceMuxStreamOrBuilder
- Returns:
- The encryptionId.
-
getEncryptionIdBytes
public com.google.protobuf.ByteString getEncryptionIdBytes()
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;
- Specified by:
getEncryptionIdBytes
in interfaceMuxStreamOrBuilder
- Returns:
- The bytes for encryptionId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MuxStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MuxStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MuxStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MuxStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MuxStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MuxStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MuxStream parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MuxStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MuxStream parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MuxStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MuxStream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MuxStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MuxStream.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MuxStream.Builder newBuilder()
-
newBuilder
public static MuxStream.Builder newBuilder(MuxStream prototype)
-
toBuilder
public MuxStream.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MuxStream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MuxStream getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MuxStream> parser()
-
getParserForType
public com.google.protobuf.Parser<MuxStream> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MuxStream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-