public static final class Manifest.Builder extends GeneratedMessageV3.Builder<Manifest.Builder> implements ManifestOrBuilder
Manifest configuration.
Protobuf type google.cloud.video.transcoder.v1beta1.Manifest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Manifest.BuilderImplements
ManifestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMuxStreams(Iterable<String> values)
public Manifest.Builder addAllMuxStreams(Iterable<String> values)
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];
Name | Description |
values | Iterable<String> The muxStreams to add. |
Type | Description |
Manifest.Builder | This builder for chaining. |
addMuxStreams(String value)
public Manifest.Builder addMuxStreams(String value)
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];
Name | Description |
value | String The muxStreams to add. |
Type | Description |
Manifest.Builder | This builder for chaining. |
addMuxStreamsBytes(ByteString value)
public Manifest.Builder addMuxStreamsBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes of the muxStreams to add. |
Type | Description |
Manifest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Manifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Manifest.Builder |
build()
public Manifest build()
Type | Description |
Manifest |
buildPartial()
public Manifest buildPartial()
Type | Description |
Manifest |
clear()
public Manifest.Builder clear()
Type | Description |
Manifest.Builder |
clearField(Descriptors.FieldDescriptor field)
public Manifest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Manifest.Builder |
clearFileName()
public Manifest.Builder clearFileName()
The name of the generated file. The default is "manifest"
with the
extension suffix corresponding to the Manifest.type
.
string file_name = 1;
Type | Description |
Manifest.Builder | This builder for chaining. |
clearMuxStreams()
public Manifest.Builder clearMuxStreams()
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];
Type | Description |
Manifest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Manifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Manifest.Builder |
clearType()
public Manifest.Builder clearType()
Required. Type of the manifest, can be "HLS" or "DASH".
.google.cloud.video.transcoder.v1beta1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Manifest.Builder | This builder for chaining. |
clone()
public Manifest.Builder clone()
Type | Description |
Manifest.Builder |
getDefaultInstanceForType()
public Manifest getDefaultInstanceForType()
Type | Description |
Manifest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
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];
Name | Description |
index | int The index of the element to return. |
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];
Name | Description |
index | int The index of the value to return. |
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];
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];
Type | Description |
ProtocolStringList | A list containing the muxStreams. |
getType()
public Manifest.ManifestType getType()
Required. Type of the manifest, can be "HLS" or "DASH".
.google.cloud.video.transcoder.v1beta1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Manifest.ManifestType | The type. |
getTypeValue()
public int getTypeValue()
Required. Type of the manifest, can be "HLS" or "DASH".
.google.cloud.video.transcoder.v1beta1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Manifest other)
public Manifest.Builder mergeFrom(Manifest other)
Name | Description |
other | Manifest |
Type | Description |
Manifest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Manifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Manifest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Manifest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Manifest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Manifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Manifest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Manifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Manifest.Builder |
setFileName(String value)
public Manifest.Builder setFileName(String value)
The name of the generated file. The default is "manifest"
with the
extension suffix corresponding to the Manifest.type
.
string file_name = 1;
Name | Description |
value | String The fileName to set. |
Type | Description |
Manifest.Builder | This builder for chaining. |
setFileNameBytes(ByteString value)
public Manifest.Builder setFileNameBytes(ByteString value)
The name of the generated file. The default is "manifest"
with the
extension suffix corresponding to the Manifest.type
.
string file_name = 1;
Name | Description |
value | ByteString The bytes for fileName to set. |
Type | Description |
Manifest.Builder | This builder for chaining. |
setMuxStreams(int index, String value)
public Manifest.Builder setMuxStreams(int index, String value)
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];
Name | Description |
index | int The index to set the value at. |
value | String The muxStreams to set. |
Type | Description |
Manifest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Manifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Manifest.Builder |
setType(Manifest.ManifestType value)
public Manifest.Builder setType(Manifest.ManifestType value)
Required. Type of the manifest, can be "HLS" or "DASH".
.google.cloud.video.transcoder.v1beta1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Manifest.ManifestType The type to set. |
Type | Description |
Manifest.Builder | This builder for chaining. |
setTypeValue(int value)
public Manifest.Builder setTypeValue(int value)
Required. Type of the manifest, can be "HLS" or "DASH".
.google.cloud.video.transcoder.v1beta1.Manifest.ManifestType type = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
Manifest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Manifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Manifest.Builder |