Interface RedactImageRequest.ImageRedactionConfigOrBuilder

    • Method Detail

      • hasInfoType

        boolean 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.v2.InfoType info_type = 1;
        Returns:
        Whether the infoType field is set.
      • getInfoType

        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.v2.InfoType info_type = 1;
        Returns:
        The infoType.
      • getInfoTypeOrBuilder

        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.v2.InfoType info_type = 1;
      • hasRedactAllText

        boolean hasRedactAllText()
         If true, all text found in the image, regardless whether it matches an
         info_type, is redacted. Only one should be provided.
         
        bool redact_all_text = 2;
        Returns:
        Whether the redactAllText field is set.
      • getRedactAllText

        boolean getRedactAllText()
         If true, all text found in the image, regardless whether it matches an
         info_type, is redacted. Only one should be provided.
         
        bool redact_all_text = 2;
        Returns:
        The redactAllText.
      • hasRedactionColor

        boolean hasRedactionColor()
         The color to use when redacting content from an image. If not specified,
         the default is black.
         
        .google.privacy.dlp.v2.Color redaction_color = 3;
        Returns:
        Whether the redactionColor field is set.
      • getRedactionColor

        Color getRedactionColor()
         The color to use when redacting content from an image. If not specified,
         the default is black.
         
        .google.privacy.dlp.v2.Color redaction_color = 3;
        Returns:
        The redactionColor.
      • getRedactionColorOrBuilder

        ColorOrBuilder getRedactionColorOrBuilder()
         The color to use when redacting content from an image. If not specified,
         the default is black.
         
        .google.privacy.dlp.v2.Color redaction_color = 3;