Package com.google.privacy.dlp.v2
Interface TransformationConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransformationConfig,TransformationConfig.Builder
@Generated
public interface TransformationConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDe-identify template.com.google.protobuf.ByteStringDe-identify template.Image redact template.com.google.protobuf.ByteStringImage redact template.Structured de-identify template.com.google.protobuf.ByteStringStructured de-identify template.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDeidentifyTemplate
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:
- The deidentifyTemplate.
-
getDeidentifyTemplateBytes
com.google.protobuf.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:
- The bytes for deidentifyTemplate.
-
getStructuredDeidentifyTemplate
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:
- The structuredDeidentifyTemplate.
-
getStructuredDeidentifyTemplateBytes
com.google.protobuf.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:
- The bytes for structuredDeidentifyTemplate.
-
getImageRedactTemplate
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:
- The imageRedactTemplate.
-
getImageRedactTemplateBytes
com.google.protobuf.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:
- The bytes for imageRedactTemplate.
-