public final class Manifest extends GeneratedMessageV3 implements ManifestOrBuilder
Manifest configuration.
Protobuf type google.cloud.video.transcoder.v1.Manifest
Fields
FILE_NAME_FIELD_NUMBER
public static final int FILE_NAME_FIELD_NUMBER
Field Value
MUX_STREAMS_FIELD_NUMBER
public static final int MUX_STREAMS_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Manifest getDefaultInstance()
Returns
getDefaultInstanceForType()
public Manifest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getFileName()
public String getFileName()
The name of the generated file. The default is manifest
with the
extension suffix corresponding to the Manifest.type
.
string file_name = 1;
Returns
Type | Description |
String | The fileName.
|
getFileNameBytes()
public ByteString getFileNameBytes()
The name of the generated file. The default is manifest
with the
extension suffix corresponding to the Manifest.type
.
string file_name = 1;
Returns
getMuxStreams(int index)
public String getMuxStreams(int index)
Required. List of user given MuxStream.key
s that should appear in this manifest.
When Manifest.type
is HLS
, a media manifest with name MuxStream.key
and .m3u8
extension is generated for each element of the
Manifest.mux_streams
.
repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The muxStreams at the given index.
|
getMuxStreamsBytes(int index)
public ByteString getMuxStreamsBytes(int index)
Required. List of user given MuxStream.key
s that should appear in this manifest.
When Manifest.type
is HLS
, a media manifest with name MuxStream.key
and .m3u8
extension is generated for each element of the
Manifest.mux_streams
.
repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the muxStreams at the given index.
|
getMuxStreamsCount()
public int getMuxStreamsCount()
Required. List of user given MuxStream.key
s that should appear in this manifest.
When Manifest.type
is HLS
, a media manifest with name MuxStream.key
and .m3u8
extension is generated for each element of the
Manifest.mux_streams
.
repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The count of muxStreams.
|
getMuxStreamsList()
public ProtocolStringList getMuxStreamsList()
Required. List of user given MuxStream.key
s that should appear in this manifest.
When Manifest.type
is HLS
, a media manifest with name MuxStream.key
and .m3u8
extension is generated for each element of the
Manifest.mux_streams
.
repeated string mux_streams = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<Manifest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public Manifest.ManifestType getType()
Required. Type of the manifest, can be HLS
or DASH
.
.google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getTypeValue()
public int getTypeValue()
Required. Type of the manifest, can be HLS
or DASH
.
.google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Manifest.Builder newBuilder()
Returns
newBuilder(Manifest prototype)
public static Manifest.Builder newBuilder(Manifest prototype)
Parameter
Returns
newBuilderForType()
public Manifest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Manifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Manifest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Manifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Manifest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Manifest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Manifest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Manifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Manifest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Manifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Manifest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Manifest> parser()
Returns
toBuilder()
public Manifest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions