Class RenditionFilter.Builder (0.42.0)

public static final class RenditionFilter.Builder extends GeneratedMessageV3.Builder<RenditionFilter.Builder> implements RenditionFilterOrBuilder

Filters for a video or muxed redition.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenditionFilter build()
Returns
Type Description
RenditionFilter

buildPartial()

public RenditionFilter buildPartial()
Returns
Type Description
RenditionFilter

clear()

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

clearBitrateBps()

public RenditionFilter.Builder clearBitrateBps()

Bitrate in bits per second for the rendition. If set, only renditions with the exact bitrate will match.

int32 bitrate_bps = 1;

Returns
Type Description
RenditionFilter.Builder

This builder for chaining.

clearCodecs()

public RenditionFilter.Builder clearCodecs()

Codecs for the rendition. If set, only renditions with the exact value will match.

string codecs = 2;

Returns
Type Description
RenditionFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBitrateBps()

public int getBitrateBps()

Bitrate in bits per second for the rendition. If set, only renditions with the exact bitrate will match.

int32 bitrate_bps = 1;

Returns
Type Description
int

The bitrateBps.

getCodecs()

public String getCodecs()

Codecs for the rendition. If set, only renditions with the exact value will match.

string codecs = 2;

Returns
Type Description
String

The codecs.

getCodecsBytes()

public ByteString getCodecsBytes()

Codecs for the rendition. If set, only renditions with the exact value will match.

string codecs = 2;

Returns
Type Description
ByteString

The bytes for codecs.

getDefaultInstanceForType()

public RenditionFilter getDefaultInstanceForType()
Returns
Type Description
RenditionFilter

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RenditionFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBitrateBps(int value)

public RenditionFilter.Builder setBitrateBps(int value)

Bitrate in bits per second for the rendition. If set, only renditions with the exact bitrate will match.

int32 bitrate_bps = 1;

Parameter
Name Description
value int

The bitrateBps to set.

Returns
Type Description
RenditionFilter.Builder

This builder for chaining.

setCodecs(String value)

public RenditionFilter.Builder setCodecs(String value)

Codecs for the rendition. If set, only renditions with the exact value will match.

string codecs = 2;

Parameter
Name Description
value String

The codecs to set.

Returns
Type Description
RenditionFilter.Builder

This builder for chaining.

setCodecsBytes(ByteString value)

public RenditionFilter.Builder setCodecsBytes(ByteString value)

Codecs for the rendition. If set, only renditions with the exact value will match.

string codecs = 2;

Parameter
Name Description
value ByteString

The bytes for codecs to set.

Returns
Type Description
RenditionFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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