public static final class PreprocessingConfig.Denoise.Builder extends GeneratedMessage.Builder<PreprocessingConfig.Denoise.Builder> implements PreprocessingConfig.DenoiseOrBuilderDenoise preprocessing configuration.
Note: This configuration is not supported.
Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PreprocessingConfig.Denoise.BuilderImplements
PreprocessingConfig.DenoiseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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:
standardgrain
string tune = 2;
| Returns | |
|---|---|
| Type | Description |
PreprocessingConfig.Denoise.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PreprocessingConfig.Denoise getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PreprocessingConfig.Denoise |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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:
standardgrain
string tune = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The tune. |
getTuneBytes()
public ByteString getTuneBytes() Set the denoiser mode. The default is standard.
Supported denoiser modes:
standardgrain
string tune = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tune. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
doubleThe 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:
standardgrain
string tune = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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:
standardgrain
string tune = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tune to set. |
| Returns | |
|---|---|
| Type | Description |
PreprocessingConfig.Denoise.Builder |
This builder for chaining. |