Class ManifestOptions.Builder (0.12.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.RenditionFilter>
Returns
TypeDescription
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
NameDescription
valueRenditionFilter
Returns
TypeDescription
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
NameDescription
builderForValueRenditionFilter.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRenditionFilter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRenditionFilter.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RenditionFilter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManifestOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManifestOptions.Builder
Overrides

build()

public ManifestOptions build()
Returns
TypeDescription
ManifestOptions

buildPartial()

public ManifestOptions buildPartial()
Returns
TypeDescription
ManifestOptions

clear()

public ManifestOptions.Builder clear()
Returns
TypeDescription
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
TypeDescription
ManifestOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManifestOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ManifestOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ManifestOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ManifestOptions.Builder
Overrides

clone()

public ManifestOptions.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for bitrateOrder.

getDefaultInstanceForType()

public ManifestOptions getDefaultInstanceForType()
Returns
TypeDescription
ManifestOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.RenditionFilterOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ManifestOptions other)

public ManifestOptions.Builder mergeFrom(ManifestOptions other)
Parameter
NameDescription
otherManifestOptions
Returns
TypeDescription
ManifestOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManifestOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManifestOptions.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManifestOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManifestOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManifestOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueManifestOptions.OrderPolicy

The bitrateOrder to set.

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

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

Returns
TypeDescription
ManifestOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManifestOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRenditionFilter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRenditionFilter.Builder
Returns
TypeDescription
ManifestOptions.Builder

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

public ManifestOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ManifestOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManifestOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManifestOptions.Builder
Overrides