Class PreprocessingConfig.Deblock.Builder (1.82.0)

public static final class PreprocessingConfig.Deblock.Builder extends GeneratedMessage.Builder<PreprocessingConfig.Deblock.Builder> implements PreprocessingConfig.DeblockOrBuilder

Deblock preprocessing configuration.

Note: This configuration is not supported.

Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock

Static Methods

getDescriptor()

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

Methods

build()

public PreprocessingConfig.Deblock build()
Returns
Type Description
PreprocessingConfig.Deblock

buildPartial()

public PreprocessingConfig.Deblock buildPartial()
Returns
Type Description
PreprocessingConfig.Deblock

clear()

public PreprocessingConfig.Deblock.Builder clear()
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides

clearEnabled()

public PreprocessingConfig.Deblock.Builder clearEnabled()

Enable deblocker. The default is false.

bool enabled = 2;

Returns
Type Description
PreprocessingConfig.Deblock.Builder

This builder for chaining.

clearStrength()

public PreprocessingConfig.Deblock.Builder clearStrength()

Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.

double strength = 1;

Returns
Type Description
PreprocessingConfig.Deblock.Builder

This builder for chaining.

getDefaultInstanceForType()

public PreprocessingConfig.Deblock getDefaultInstanceForType()
Returns
Type Description
PreprocessingConfig.Deblock

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enable deblocker. The default is false.

bool enabled = 2;

Returns
Type Description
boolean

The enabled.

getStrength()

public double getStrength()

Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.

double strength = 1;

Returns
Type Description
double

The strength.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreprocessingConfig.Deblock other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public PreprocessingConfig.Deblock.Builder setEnabled(boolean value)

Enable deblocker. The default is false.

bool enabled = 2;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
PreprocessingConfig.Deblock.Builder

This builder for chaining.

setStrength(double value)

public PreprocessingConfig.Deblock.Builder setStrength(double value)

Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.

double strength = 1;

Parameter
Name Description
value double

The strength to set.

Returns
Type Description
PreprocessingConfig.Deblock.Builder

This builder for chaining.