Class PreprocessingConfig.Denoise (1.47.0)

public static final class PreprocessingConfig.Denoise extends GeneratedMessageV3 implements PreprocessingConfig.DenoiseOrBuilder

Denoise preprocessing configuration.

Note: This configuration is not supported.

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

Static Fields

STRENGTH_FIELD_NUMBER

public static final int STRENGTH_FIELD_NUMBER
Field Value
Type Description
int

TUNE_FIELD_NUMBER

public static final int TUNE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig.Denoise getDefaultInstance()
Returns
Type Description
PreprocessingConfig.Denoise

getDescriptor()

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

newBuilder()

public static PreprocessingConfig.Denoise.Builder newBuilder()
Returns
Type Description
PreprocessingConfig.Denoise.Builder

newBuilder(PreprocessingConfig.Denoise prototype)

public static PreprocessingConfig.Denoise.Builder newBuilder(PreprocessingConfig.Denoise prototype)
Parameter
Name Description
prototype PreprocessingConfig.Denoise
Returns
Type Description
PreprocessingConfig.Denoise.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig.Denoise parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Denoise parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PreprocessingConfig.Denoise parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Denoise parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig.Denoise parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Denoise parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig.Denoise parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Denoise parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PreprocessingConfig.Denoise parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Denoise parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig.Denoise parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Denoise parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Denoise
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PreprocessingConfig.Denoise> parser()
Returns
Type Description
Parser<Denoise>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<PreprocessingConfig.Denoise> getParserForType()
Returns
Type Description
Parser<Denoise>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Denoise.Builder newBuilderForType()
Returns
Type Description
PreprocessingConfig.Denoise.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Denoise.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PreprocessingConfig.Denoise.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PreprocessingConfig.Denoise.Builder toBuilder()
Returns
Type Description
PreprocessingConfig.Denoise.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException