Class Manifest (1.39.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
TypeDescription
int

FILE_NAME_FIELD_NUMBER

public static final int FILE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

MUX_STREAMS_FIELD_NUMBER

public static final int MUX_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Manifest getDefaultInstance()
Returns
TypeDescription
Manifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Manifest.Builder newBuilder()
Returns
TypeDescription
Manifest.Builder

newBuilder(Manifest prototype)

public static Manifest.Builder newBuilder(Manifest prototype)
Parameter
NameDescription
prototypeManifest
Returns
TypeDescription
Manifest.Builder

parseDelimitedFrom(InputStream input)

public static Manifest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Manifest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Manifest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Manifest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Manifest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Manifest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Manifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Manifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Manifest> parser()
Returns
TypeDescription
Parser<Manifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDash()

public Manifest.DashConfig getDash()

DASH manifest configuration.

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

Returns
TypeDescription
Manifest.DashConfig

The dash.

getDashOrBuilder()

public Manifest.DashConfigOrBuilder getDashOrBuilder()

DASH manifest configuration.

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

Returns
TypeDescription
Manifest.DashConfigOrBuilder

getDefaultInstanceForType()

public Manifest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for fileName.

getManifestConfigCase()

public Manifest.ManifestConfigCase getManifestConfigCase()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the muxStreams.

getParserForType()

public Parser<Manifest> getParserForType()
Returns
TypeDescription
Parser<Manifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the dash field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Manifest.Builder newBuilderForType()
Returns
TypeDescription
Manifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Manifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Manifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Manifest.Builder toBuilder()
Returns
TypeDescription
Manifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException