Class RenditionFilter (0.9.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
TypeDescription
int

CODECS_FIELD_NUMBER

public static final int CODECS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RenditionFilter getDefaultInstance()
Returns
TypeDescription
RenditionFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RenditionFilter.Builder newBuilder()
Returns
TypeDescription
RenditionFilter.Builder

newBuilder(RenditionFilter prototype)

public static RenditionFilter.Builder newBuilder(RenditionFilter prototype)
Parameter
NameDescription
prototypeRenditionFilter
Returns
TypeDescription
RenditionFilter.Builder

parseDelimitedFrom(InputStream input)

public static RenditionFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RenditionFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RenditionFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RenditionFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RenditionFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RenditionFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RenditionFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RenditionFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RenditionFilter> parser()
Returns
TypeDescription
Parser<RenditionFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getParserForType()

public Parser<RenditionFilter> getParserForType()
Returns
TypeDescription
Parser<RenditionFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RenditionFilter.Builder newBuilderForType()
Returns
TypeDescription
RenditionFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RenditionFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RenditionFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RenditionFilter.Builder toBuilder()
Returns
TypeDescription
RenditionFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException