Class PreprocessingConfig.Deblock.Builder (1.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deblock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides

build()

public PreprocessingConfig.Deblock build()
Returns
TypeDescription
PreprocessingConfig.Deblock

buildPartial()

public PreprocessingConfig.Deblock buildPartial()
Returns
TypeDescription
PreprocessingConfig.Deblock

clear()

public PreprocessingConfig.Deblock.Builder clear()
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides

clearEnabled()

public PreprocessingConfig.Deblock.Builder clearEnabled()

Enable deblocker. The default is false.

bool enabled = 2;

Returns
TypeDescription
PreprocessingConfig.Deblock.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreprocessingConfig.Deblock.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PreprocessingConfig.Deblock.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PreprocessingConfig.Deblock.Builder

This builder for chaining.

clone()

public PreprocessingConfig.Deblock.Builder clone()
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Deblock getDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig.Deblock

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Enable deblocker. The default is false.

bool enabled = 2;

Returns
TypeDescription
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
TypeDescription
double

The strength.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreprocessingConfig.Deblock other)

public PreprocessingConfig.Deblock.Builder mergeFrom(PreprocessingConfig.Deblock other)
Parameter
NameDescription
otherPreprocessingConfig.Deblock
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreprocessingConfig.Deblock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PreprocessingConfig.Deblock.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deblock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides

setEnabled(boolean value)

public PreprocessingConfig.Deblock.Builder setEnabled(boolean value)

Enable deblocker. The default is false.

bool enabled = 2;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
PreprocessingConfig.Deblock.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deblock.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The strength to set.

Returns
TypeDescription
PreprocessingConfig.Deblock.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deblock.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Deblock.Builder
Overrides