public static final class PreprocessingConfig.Deblock.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Deblock.Builder> implements PreprocessingConfig.DeblockOrBuilder
Deblock preprocessing configuration.
Protobuf type google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Deblock
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Deblock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PreprocessingConfig.Deblock build()
Returns
buildPartial()
public PreprocessingConfig.Deblock buildPartial()
Returns
clear()
public PreprocessingConfig.Deblock.Builder clear()
Returns
Overrides
clearEnabled()
public PreprocessingConfig.Deblock.Builder clearEnabled()
Enable deblocker. The default is false
.
bool enabled = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public PreprocessingConfig.Deblock.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PreprocessingConfig.Deblock.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public PreprocessingConfig.Deblock.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PreprocessingConfig.Deblock getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnabled()
public boolean getEnabled()
Enable deblocker. The default is false
.
bool enabled = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PreprocessingConfig.Deblock other)
public PreprocessingConfig.Deblock.Builder mergeFrom(PreprocessingConfig.Deblock other)
Parameter
Returns
public PreprocessingConfig.Deblock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PreprocessingConfig.Deblock.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Deblock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Deblock.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PreprocessingConfig.Deblock.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Deblock.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides