public static interface RedactImageRequest.ImageRedactionConfigOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
InfoType |
getInfoType()
Only one per info_type should be provided per request.
|
InfoTypeOrBuilder |
getInfoTypeOrBuilder()
Only one per info_type should be provided per request.
|
boolean |
getRedactAllText()
If true, all text found in the image, regardless whether it matches an
info_type, is redacted.
|
Color |
getRedactionColor()
The color to use when redacting content from an image.
|
ColorOrBuilder |
getRedactionColorOrBuilder()
The color to use when redacting content from an image.
|
RedactImageRequest.ImageRedactionConfig.TargetCase |
getTargetCase() |
boolean |
hasInfoType()
Only one per info_type should be provided per request.
|
boolean |
hasRedactionColor()
The color to use when redacting content from an image.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasInfoType()
Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
.google.privacy.dlp.v2beta2.InfoType info_type = 1;InfoType getInfoType()
Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
.google.privacy.dlp.v2beta2.InfoType info_type = 1;InfoTypeOrBuilder getInfoTypeOrBuilder()
Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
.google.privacy.dlp.v2beta2.InfoType info_type = 1;boolean getRedactAllText()
If true, all text found in the image, regardless whether it matches an info_type, is redacted.
bool redact_all_text = 2;boolean hasRedactionColor()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2beta2.Color redaction_color = 3;Color getRedactionColor()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2beta2.Color redaction_color = 3;ColorOrBuilder getRedactionColorOrBuilder()
The color to use when redacting content from an image. If not specified, the default is black.
.google.privacy.dlp.v2beta2.Color redaction_color = 3;RedactImageRequest.ImageRedactionConfig.TargetCase getTargetCase()