Interface RedactImageResponseOrBuilder (3.58.0)

public interface RedactImageResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExtractedText()

public abstract String getExtractedText()

If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image.

string extracted_text = 2;

Returns
Type Description
String

The extractedText.

getExtractedTextBytes()

public abstract ByteString getExtractedTextBytes()

If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image.

string extracted_text = 2;

Returns
Type Description
ByteString

The bytes for extractedText.

getInspectResult()

public abstract InspectResult getInspectResult()

The findings. Populated when include_findings in the request is true.

.google.privacy.dlp.v2.InspectResult inspect_result = 3;

Returns
Type Description
InspectResult

The inspectResult.

getInspectResultOrBuilder()

public abstract InspectResultOrBuilder getInspectResultOrBuilder()

The findings. Populated when include_findings in the request is true.

.google.privacy.dlp.v2.InspectResult inspect_result = 3;

Returns
Type Description
InspectResultOrBuilder

getRedactedImage()

public abstract ByteString getRedactedImage()

The redacted image. The type will be the same as the original image.

bytes redacted_image = 1;

Returns
Type Description
ByteString

The redactedImage.

hasInspectResult()

public abstract boolean hasInspectResult()

The findings. Populated when include_findings in the request is true.

.google.privacy.dlp.v2.InspectResult inspect_result = 3;

Returns
Type Description
boolean

Whether the inspectResult field is set.