public final class Manifest extends GeneratedMessageV3 implements ManifestOrBuilder
Manifest configuration.
Protobuf type google.cloud.video.transcoder.v1.Manifest
Static Fields
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Manifest.Builder newBuilder()
newBuilder(Manifest prototype)
public static Manifest.Builder newBuilder(Manifest prototype)
Parameter |
---|
Name | Description |
prototype | Manifest
|
public static Manifest parseDelimitedFrom(InputStream input)
public static Manifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Manifest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Manifest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(CodedInputStream input)
public static Manifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(InputStream input)
public static Manifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Manifest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Manifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Manifest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Manifest getDefaultInstanceForType()
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.
|
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];
getParserForType()
public Parser<Manifest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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];
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()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Manifest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Manifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Manifest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides