Class ManifestOptions.Builder (0.52.0)

public static final class ManifestOptions.Builder extends GeneratedMessageV3.Builder<ManifestOptions.Builder> implements ManifestOptionsOrBuilder

Options for manifest generation.

Protobuf type google.cloud.video.stitcher.v1.ManifestOptions

Static Methods

getDescriptor()

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

Methods

addAllIncludeRenditions(Iterable<? extends RenditionFilter> values)

public ManifestOptions.Builder addAllIncludeRenditions(Iterable<? extends RenditionFilter> values)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.stitcher.v1.RenditionFilter>
Returns
Type Description
ManifestOptions.Builder

addIncludeRenditions(RenditionFilter value)

public ManifestOptions.Builder addIncludeRenditions(RenditionFilter value)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
value RenditionFilter
Returns
Type Description
ManifestOptions.Builder

addIncludeRenditions(RenditionFilter.Builder builderForValue)

public ManifestOptions.Builder addIncludeRenditions(RenditionFilter.Builder builderForValue)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
builderForValue RenditionFilter.Builder
Returns
Type Description
ManifestOptions.Builder

addIncludeRenditions(int index, RenditionFilter value)

public ManifestOptions.Builder addIncludeRenditions(int index, RenditionFilter value)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameters
Name Description
index int
value RenditionFilter
Returns
Type Description
ManifestOptions.Builder

addIncludeRenditions(int index, RenditionFilter.Builder builderForValue)

public ManifestOptions.Builder addIncludeRenditions(int index, RenditionFilter.Builder builderForValue)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameters
Name Description
index int
builderForValue RenditionFilter.Builder
Returns
Type Description
ManifestOptions.Builder

addIncludeRenditionsBuilder()

public RenditionFilter.Builder addIncludeRenditionsBuilder()

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Returns
Type Description
RenditionFilter.Builder

addIncludeRenditionsBuilder(int index)

public RenditionFilter.Builder addIncludeRenditionsBuilder(int index)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
index int
Returns
Type Description
RenditionFilter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManifestOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManifestOptions.Builder
Overrides

build()

public ManifestOptions build()
Returns
Type Description
ManifestOptions

buildPartial()

public ManifestOptions buildPartial()
Returns
Type Description
ManifestOptions

clear()

public ManifestOptions.Builder clear()
Returns
Type Description
ManifestOptions.Builder
Overrides

clearBitrateOrder()

public ManifestOptions.Builder clearBitrateOrder()

If specified, the output manifest will orders the video and muxed renditions by bitrate according to the ordering policy.

.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy bitrate_order = 2;

Returns
Type Description
ManifestOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManifestOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ManifestOptions.Builder
Overrides

clearIncludeRenditions()

public ManifestOptions.Builder clearIncludeRenditions()

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Returns
Type Description
ManifestOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ManifestOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ManifestOptions.Builder
Overrides

clone()

public ManifestOptions.Builder clone()
Returns
Type Description
ManifestOptions.Builder
Overrides

getBitrateOrder()

public ManifestOptions.OrderPolicy getBitrateOrder()

If specified, the output manifest will orders the video and muxed renditions by bitrate according to the ordering policy.

.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy bitrate_order = 2;

Returns
Type Description
ManifestOptions.OrderPolicy

The bitrateOrder.

getBitrateOrderValue()

public int getBitrateOrderValue()

If specified, the output manifest will orders the video and muxed renditions by bitrate according to the ordering policy.

.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy bitrate_order = 2;

Returns
Type Description
int

The enum numeric value on the wire for bitrateOrder.

getDefaultInstanceForType()

public ManifestOptions getDefaultInstanceForType()
Returns
Type Description
ManifestOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncludeRenditions(int index)

public RenditionFilter getIncludeRenditions(int index)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
index int
Returns
Type Description
RenditionFilter

getIncludeRenditionsBuilder(int index)

public RenditionFilter.Builder getIncludeRenditionsBuilder(int index)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
index int
Returns
Type Description
RenditionFilter.Builder

getIncludeRenditionsBuilderList()

public List<RenditionFilter.Builder> getIncludeRenditionsBuilderList()

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Returns
Type Description
List<Builder>

getIncludeRenditionsCount()

public int getIncludeRenditionsCount()

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Returns
Type Description
int

getIncludeRenditionsList()

public List<RenditionFilter> getIncludeRenditionsList()

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Returns
Type Description
List<RenditionFilter>

getIncludeRenditionsOrBuilder(int index)

public RenditionFilterOrBuilder getIncludeRenditionsOrBuilder(int index)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
index int
Returns
Type Description
RenditionFilterOrBuilder

getIncludeRenditionsOrBuilderList()

public List<? extends RenditionFilterOrBuilder> getIncludeRenditionsOrBuilderList()

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Returns
Type Description
List<? extends com.google.cloud.video.stitcher.v1.RenditionFilterOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManifestOptions other)

public ManifestOptions.Builder mergeFrom(ManifestOptions other)
Parameter
Name Description
other ManifestOptions
Returns
Type Description
ManifestOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManifestOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManifestOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ManifestOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ManifestOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManifestOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManifestOptions.Builder
Overrides

removeIncludeRenditions(int index)

public ManifestOptions.Builder removeIncludeRenditions(int index)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameter
Name Description
index int
Returns
Type Description
ManifestOptions.Builder

setBitrateOrder(ManifestOptions.OrderPolicy value)

public ManifestOptions.Builder setBitrateOrder(ManifestOptions.OrderPolicy value)

If specified, the output manifest will orders the video and muxed renditions by bitrate according to the ordering policy.

.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy bitrate_order = 2;

Parameter
Name Description
value ManifestOptions.OrderPolicy

The bitrateOrder to set.

Returns
Type Description
ManifestOptions.Builder

This builder for chaining.

setBitrateOrderValue(int value)

public ManifestOptions.Builder setBitrateOrderValue(int value)

If specified, the output manifest will orders the video and muxed renditions by bitrate according to the ordering policy.

.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy bitrate_order = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for bitrateOrder to set.

Returns
Type Description
ManifestOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManifestOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManifestOptions.Builder
Overrides

setIncludeRenditions(int index, RenditionFilter value)

public ManifestOptions.Builder setIncludeRenditions(int index, RenditionFilter value)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameters
Name Description
index int
value RenditionFilter
Returns
Type Description
ManifestOptions.Builder

setIncludeRenditions(int index, RenditionFilter.Builder builderForValue)

public ManifestOptions.Builder setIncludeRenditions(int index, RenditionFilter.Builder builderForValue)

If specified, the output manifest will only return renditions matching the specified filters.

repeated .google.cloud.video.stitcher.v1.RenditionFilter include_renditions = 1;

Parameters
Name Description
index int
builderForValue RenditionFilter.Builder
Returns
Type Description
ManifestOptions.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ManifestOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ManifestOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManifestOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManifestOptions.Builder
Overrides