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 classMuxStream.BuilderMultiplexing 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 intCONTAINER_FIELD_NUMBERstatic intELEMENTARY_STREAMS_FIELD_NUMBERstatic intENCRYPTION_ID_FIELD_NUMBERstatic intFILE_NAME_FIELD_NUMBERstatic intKEY_FIELD_NUMBERstatic intSEGMENT_SETTINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetContainer()The container format.com.google.protobuf.ByteStringgetContainerBytes()The container format.static MuxStreamgetDefaultInstance()MuxStreamgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetElementaryStreams(int index)List of `ElementaryStream.key`s multiplexed in this stream.com.google.protobuf.ByteStringgetElementaryStreamsBytes(int index)List of `ElementaryStream.key`s multiplexed in this stream.intgetElementaryStreamsCount()List of `ElementaryStream.key`s multiplexed in this stream.com.google.protobuf.ProtocolStringListgetElementaryStreamsList()List of `ElementaryStream.key`s multiplexed in this stream.StringgetEncryptionId()Identifier of the encryption configuration to use.com.google.protobuf.ByteStringgetEncryptionIdBytes()Identifier of the encryption configuration to use.StringgetFileName()The name of the generated file.com.google.protobuf.ByteStringgetFileNameBytes()The name of the generated file.StringgetKey()A unique key for this multiplexed stream.com.google.protobuf.ByteStringgetKeyBytes()A unique key for this multiplexed stream.com.google.protobuf.Parser<MuxStream>getParserForType()SegmentSettingsgetSegmentSettings()Segment settings for `ts`, `fmp4` and `vtt`.SegmentSettingsOrBuildergetSegmentSettingsOrBuilder()Segment settings for `ts`, `fmp4` and `vtt`.intgetSerializedSize()inthashCode()booleanhasSegmentSettings()Segment settings for `ts`, `fmp4` and `vtt`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MuxStream.BuildernewBuilder()static MuxStream.BuildernewBuilder(MuxStream prototype)MuxStream.BuildernewBuilderForType()protected MuxStream.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MuxStreamparseDelimitedFrom(InputStream input)static MuxStreamparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MuxStreamparseFrom(byte[] data)static MuxStreamparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MuxStreamparseFrom(com.google.protobuf.ByteString data)static MuxStreamparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MuxStreamparseFrom(com.google.protobuf.CodedInputStream input)static MuxStreamparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MuxStreamparseFrom(InputStream input)static MuxStreamparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MuxStreamparseFrom(ByteBuffer data)static MuxStreamparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MuxStream>parser()MuxStream.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getKeyin 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:
getKeyBytesin 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:
getFileNamein 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:
getFileNameBytesin 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:
getContainerin 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:
getContainerBytesin 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:
getElementaryStreamsListin 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:
getElementaryStreamsCountin 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:
getElementaryStreamsin 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:
getElementaryStreamsBytesin 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:
hasSegmentSettingsin 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:
getSegmentSettingsin 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:
getSegmentSettingsOrBuilderin interfaceMuxStreamOrBuilder
-
getEncryptionId
public String getEncryptionId()
Identifier of the encryption configuration to use. If omitted, output will be unencrypted.
string encryption_id = 7;- Specified by:
getEncryptionIdin 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:
getEncryptionIdBytesin interfaceMuxStreamOrBuilder- Returns:
- The bytes for encryptionId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MuxStream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MuxStream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-