Interface TransformationConfigOrBuilder (3.57.0)

public interface TransformationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeidentifyTemplate()

public abstract String getDeidentifyTemplate()

De-identify template. If this template is specified, it will serve as the default de-identify template. This template cannot contain record_transformations since it can be used for unstructured content such as free-form text files. If this template is not set, a default ReplaceWithInfoTypeConfig will be used to de-identify unstructured content.

string deidentify_template = 1;

Returns
Type Description
String

The deidentifyTemplate.

getDeidentifyTemplateBytes()

public abstract ByteString getDeidentifyTemplateBytes()

De-identify template. If this template is specified, it will serve as the default de-identify template. This template cannot contain record_transformations since it can be used for unstructured content such as free-form text files. If this template is not set, a default ReplaceWithInfoTypeConfig will be used to de-identify unstructured content.

string deidentify_template = 1;

Returns
Type Description
ByteString

The bytes for deidentifyTemplate.

getImageRedactTemplate()

public abstract String getImageRedactTemplate()

Image redact template. If this template is specified, it will serve as the de-identify template for images. If this template is not set, all findings in the image will be redacted with a black box.

string image_redact_template = 4;

Returns
Type Description
String

The imageRedactTemplate.

getImageRedactTemplateBytes()

public abstract ByteString getImageRedactTemplateBytes()

Image redact template. If this template is specified, it will serve as the de-identify template for images. If this template is not set, all findings in the image will be redacted with a black box.

string image_redact_template = 4;

Returns
Type Description
ByteString

The bytes for imageRedactTemplate.

getStructuredDeidentifyTemplate()

public abstract String getStructuredDeidentifyTemplate()

Structured de-identify template. If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables. If this template is not set but the deidentify_template is set, then deidentify_template will also apply to the structured content. If neither template is set, a default ReplaceWithInfoTypeConfig will be used to de-identify structured content.

string structured_deidentify_template = 2;

Returns
Type Description
String

The structuredDeidentifyTemplate.

getStructuredDeidentifyTemplateBytes()

public abstract ByteString getStructuredDeidentifyTemplateBytes()

Structured de-identify template. If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables. If this template is not set but the deidentify_template is set, then deidentify_template will also apply to the structured content. If neither template is set, a default ReplaceWithInfoTypeConfig will be used to de-identify structured content.

string structured_deidentify_template = 2;

Returns
Type Description
ByteString

The bytes for structuredDeidentifyTemplate.