public static final class RenditionFilter.Builder extends GeneratedMessage.Builder<RenditionFilter.Builder> implements RenditionFilterOrBuilderFilters for a video or muxed redition.
Protobuf type google.cloud.video.stitcher.v1.RenditionFilter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RenditionFilter.BuilderImplements
RenditionFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RenditionFilter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RenditionFilter.Builder |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for codecs to set. |
| Returns | |
|---|---|
| Type | Description |
RenditionFilter.Builder |
This builder for chaining. |