Interface RedactImageResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RedactImageResponse, RedactImageResponse.Builder

    public interface RedactImageResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      com.google.protobuf.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.
      InspectResult getInspectResult()
      The findings.
      InspectResultOrBuilder getInspectResultOrBuilder()
      The findings.
      com.google.protobuf.ByteString getRedactedImage()
      The redacted image.
      boolean hasInspectResult()
      The findings.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getRedactedImage

        com.google.protobuf.ByteString getRedactedImage()
         The redacted image. The type will be the same as the original image.
         
        bytes redacted_image = 1;
        Returns:
        The redactedImage.
      • getExtractedText

        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:
        The extractedText.
      • getExtractedTextBytes

        com.google.protobuf.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:
        The bytes for extractedText.
      • hasInspectResult

        boolean hasInspectResult()
         The findings. Populated when include_findings in the request is true.
         
        .google.privacy.dlp.v2.InspectResult inspect_result = 3;
        Returns:
        Whether the inspectResult field is set.
      • getInspectResult

        InspectResult getInspectResult()
         The findings. Populated when include_findings in the request is true.
         
        .google.privacy.dlp.v2.InspectResult inspect_result = 3;
        Returns:
        The inspectResult.
      • getInspectResultOrBuilder

        InspectResultOrBuilder getInspectResultOrBuilder()
         The findings. Populated when include_findings in the request is true.
         
        .google.privacy.dlp.v2.InspectResult inspect_result = 3;