Class RenditionFilter (0.49.0)

public final class RenditionFilter extends GeneratedMessageV3 implements RenditionFilterOrBuilder

Filters for a video or muxed redition.

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

Static Fields

BITRATE_BPS_FIELD_NUMBER

public static final int BITRATE_BPS_FIELD_NUMBER
Field Value
Type Description
int

CODECS_FIELD_NUMBER

public static final int CODECS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RenditionFilter getDefaultInstance()
Returns
Type Description
RenditionFilter

getDescriptor()

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

newBuilder()

public static RenditionFilter.Builder newBuilder()
Returns
Type Description
RenditionFilter.Builder

newBuilder(RenditionFilter prototype)

public static RenditionFilter.Builder newBuilder(RenditionFilter prototype)
Parameter
Name Description
prototype RenditionFilter
Returns
Type Description
RenditionFilter.Builder

parseDelimitedFrom(InputStream input)

public static RenditionFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenditionFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenditionFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RenditionFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RenditionFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenditionFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RenditionFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RenditionFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenditionFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RenditionFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RenditionFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenditionFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RenditionFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenditionFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenditionFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RenditionFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RenditionFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenditionFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RenditionFilter> parser()
Returns
Type Description
Parser<RenditionFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<RenditionFilter> getParserForType()
Returns
Type Description
Parser<RenditionFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RenditionFilter.Builder newBuilderForType()
Returns
Type Description
RenditionFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RenditionFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RenditionFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RenditionFilter.Builder toBuilder()
Returns
Type Description
RenditionFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException