Class RenditionFilter.Builder (0.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenditionFilter build()
Returns
TypeDescription
RenditionFilter

buildPartial()

public RenditionFilter buildPartial()
Returns
TypeDescription
RenditionFilter

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RenditionFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RenditionFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for codecs.

getDefaultInstanceForType()

public RenditionFilter getDefaultInstanceForType()
Returns
TypeDescription
RenditionFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RenditionFilter other)

public RenditionFilter.Builder mergeFrom(RenditionFilter other)
Parameter
NameDescription
otherRenditionFilter
Returns
TypeDescription
RenditionFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RenditionFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The bitrateBps to set.

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

The codecs to set.

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

The bytes for codecs to set.

Returns
TypeDescription
RenditionFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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