Class PreprocessingConfig.Denoise.Builder (0.14.1)

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.events.cloud.video.transcoder.v1.PreprocessingConfig.Denoise

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The strength.

getTune()

public String getTune()

Set the denoiser mode. The default is standard. Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
TypeDescription
String

The tune.

getTuneBytes()

public ByteString getTuneBytes()

Set the denoiser mode. The default is standard. Supported denoiser modes:

  • standard
  • grain

string tune = 2;

Returns
TypeDescription
ByteString

The bytes for tune.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreprocessingConfig.Denoise other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The strength to set.

Returns
TypeDescription
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
NameDescription
valueString

The tune to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tune to set.

Returns
TypeDescription
PreprocessingConfig.Denoise.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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