Class TransformationConfig (3.50.0)

public final class TransformationConfig extends GeneratedMessageV3 implements TransformationConfigOrBuilder

User specified templates and configs for how to deidentify structured, unstructures, and image files. User must provide either a unstructured deidentify template or at least one redact image config.

Protobuf type google.privacy.dlp.v2.TransformationConfig

Static Fields

DEIDENTIFY_TEMPLATE_FIELD_NUMBER

public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_REDACT_TEMPLATE_FIELD_NUMBER

public static final int IMAGE_REDACT_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

STRUCTURED_DEIDENTIFY_TEMPLATE_FIELD_NUMBER

public static final int STRUCTURED_DEIDENTIFY_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransformationConfig getDefaultInstance()
Returns
Type Description
TransformationConfig

getDescriptor()

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

newBuilder()

public static TransformationConfig.Builder newBuilder()
Returns
Type Description
TransformationConfig.Builder

newBuilder(TransformationConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static TransformationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransformationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransformationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns