Interface RedactImageResponseOrBuilder (3.24.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InspectResultOrBuilder

getRedactedImage()

public abstract ByteString getRedactedImage()

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

bytes redacted_image = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the inspectResult field is set.