Class PreprocessingConfig.Deblock.Builder (1.54.0)

public static final class PreprocessingConfig.Deblock.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deblock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public PreprocessingConfig.Deblock.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PreprocessingConfig.Deblock.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deblock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deblock.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides

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

public PreprocessingConfig.Deblock.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deblock.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreprocessingConfig.Deblock.Builder
Overrides