Class PreprocessingConfig.Denoise.Builder (1.43.0)

public static final class PreprocessingConfig.Denoise.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Denoise.Builder> implements PreprocessingConfig.DenoiseOrBuilder

Denoise preprocessing configuration.

Note: This configuration is not supported.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PreprocessingConfig.Denoise.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PreprocessingConfig.Denoise.Builder
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
Type Description
PreprocessingConfig.Denoise.Builder

This builder for chaining.

clearTune()

public PreprocessingConfig.Denoise.Builder clearTune()

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
Type Description
PreprocessingConfig.Denoise.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()

public String getTune()

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
Type Description
String

The tune.

getTuneBytes()

public ByteString getTuneBytes()

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
Type Description
ByteString

The bytes for tune.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreprocessingConfig.Denoise other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Denoise.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreprocessingConfig.Denoise.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PreprocessingConfig.Denoise.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PreprocessingConfig.Denoise.Builder
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
Type Description
PreprocessingConfig.Denoise.Builder

This builder for chaining.

setTune(String value)

public PreprocessingConfig.Denoise.Builder setTune(String value)

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Parameter
Name Description
value String

The tune to set.

Returns
Type Description
PreprocessingConfig.Denoise.Builder

This builder for chaining.

setTuneBytes(ByteString value)

public PreprocessingConfig.Denoise.Builder setTuneBytes(ByteString value)

Set the denoiser mode. The default is standard.

Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Parameter
Name Description
value ByteString

The bytes for tune to set.

Returns
Type Description
PreprocessingConfig.Denoise.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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