Class Manifest (1.44.0)

public final class Manifest extends GeneratedMessageV3 implements ManifestOrBuilder

Manifest configuration.

Protobuf type google.cloud.video.transcoder.v1.Manifest

Implements

ManifestOrBuilder

Static Fields

DASH_FIELD_NUMBER

public static final int DASH_FIELD_NUMBER
Field Value
Type Description
int

FILE_NAME_FIELD_NUMBER

public static final int FILE_NAME_FIELD_NUMBER
Field Value
Type Description
int

MUX_STREAMS_FIELD_NUMBER

public static final int MUX_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Manifest getDefaultInstance()
Returns
Type Description
Manifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Manifest.Builder newBuilder()
Returns
Type Description
Manifest.Builder

newBuilder(Manifest prototype)

public static Manifest.Builder newBuilder(Manifest prototype)
Parameter
Name Description
prototype Manifest
Returns
Type Description
Manifest.Builder

parseDelimitedFrom(InputStream input)

public static Manifest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Manifest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Manifest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Manifest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Manifest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Manifest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Manifest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Manifest> parser()
Returns
Type Description
Parser<Manifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDash()

public Manifest.DashConfig getDash()

DASH manifest configuration.

.google.cloud.video.transcoder.v1.Manifest.DashConfig dash = 4;

Returns
Type Description
Manifest.DashConfig

The dash.

getDashOrBuilder()

public Manifest.DashConfigOrBuilder getDashOrBuilder()

DASH manifest configuration.

.google.cloud.video.transcoder.v1.Manifest.DashConfig dash = 4;

Returns
Type Description
Manifest.DashConfigOrBuilder

getDefaultInstanceForType()

public Manifest getDefaultInstanceForType()
Returns
Type Description
Manifest

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
Type Description
ByteString

The bytes for fileName.

getManifestConfigCase()

public Manifest.ManifestConfigCase getManifestConfigCase()
Returns
Type Description
Manifest.ManifestConfigCase

getMuxStreams(int index)

public String getMuxStreams(int index)

Required. List of user given MuxStream.keys 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.keys 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.keys 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.keys 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
ProtocolStringList

A list containing the muxStreams.

getParserForType()

public Parser<Manifest> getParserForType()
Returns
Type Description
Parser<Manifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public Manifest.ManifestType getType()

Required. Type of the manifest.

.google.cloud.video.transcoder.v1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Manifest.ManifestType

The type.

getTypeValue()

public int getTypeValue()

Required. Type of the manifest.

.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.

hasDash()

public boolean hasDash()

DASH manifest configuration.

.google.cloud.video.transcoder.v1.Manifest.DashConfig dash = 4;

Returns
Type Description
boolean

Whether the dash field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Manifest.Builder newBuilderForType()
Returns
Type Description
Manifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Manifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Manifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Manifest.Builder toBuilder()
Returns
Type Description
Manifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException