public static final class PreprocessingConfig.Denoise.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Denoise.Builder> implements PreprocessingConfig.DenoiseOrBuilder
Denoise preprocessing configuration.
Protobuf type google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Denoise
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Denoise.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PreprocessingConfig.Denoise build()
Returns
buildPartial()
public PreprocessingConfig.Denoise buildPartial()
Returns
clear()
public PreprocessingConfig.Denoise.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PreprocessingConfig.Denoise.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PreprocessingConfig.Denoise.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStrength()
public PreprocessingConfig.Denoise.Builder clearStrength()
Set strength of the denoise. Enter a value between 0 and 1. The higher
the value, the smoother the image. 0 is no denoising. The default is 0.
double strength = 1;
Returns
clearTune()
public PreprocessingConfig.Denoise.Builder clearTune()
Set the denoiser mode. The default is "standard"
.
Supported denoiser modes:
string tune = 2;
Returns
clone()
public PreprocessingConfig.Denoise.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PreprocessingConfig.Denoise getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getStrength()
public double getStrength()
Set strength of the denoise. Enter a value between 0 and 1. The higher
the value, the smoother the image. 0 is no denoising. The default is 0.
double strength = 1;
Returns
Type | Description |
double | The strength.
|
getTune()
Set the denoiser mode. The default is "standard"
.
Supported denoiser modes:
string tune = 2;
Returns
Type | Description |
String | The tune.
|
getTuneBytes()
public ByteString getTuneBytes()
Set the denoiser mode. The default is "standard"
.
Supported denoiser modes:
string tune = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PreprocessingConfig.Denoise other)
public PreprocessingConfig.Denoise.Builder mergeFrom(PreprocessingConfig.Denoise other)
Parameter
Returns
public PreprocessingConfig.Denoise.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PreprocessingConfig.Denoise.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Denoise.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Denoise.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PreprocessingConfig.Denoise.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStrength(double value)
public PreprocessingConfig.Denoise.Builder setStrength(double value)
Set strength of the denoise. Enter a value between 0 and 1. The higher
the value, the smoother the image. 0 is no denoising. The default is 0.
double strength = 1;
Parameter
Name | Description |
value | double
The strength to set.
|
Returns
setTune(String value)
public PreprocessingConfig.Denoise.Builder setTune(String value)
Set the denoiser mode. The default is "standard"
.
Supported denoiser modes:
string tune = 2;
Parameter
Name | Description |
value | String
The tune to set.
|
Returns
setTuneBytes(ByteString value)
public PreprocessingConfig.Denoise.Builder setTuneBytes(ByteString value)
Set the denoiser mode. The default is "standard"
.
Supported denoiser modes:
string tune = 2;
Parameter
Name | Description |
value | ByteString
The bytes for tune to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Denoise.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides