Interface RedactImageRequest.ImageRedactionConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RedactImageRequest.ImageRedactionConfig, RedactImageRequest.ImageRedactionConfig.Builder
Enclosing class:
RedactImageRequest

public static interface RedactImageRequest.ImageRedactionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Only one per info_type should be provided per request.
    Only one per info_type should be provided per request.
    boolean
    If true, all text found in the image, regardless whether it matches an info_type, is redacted.
    The color to use when redacting content from an image.
    The color to use when redacting content from an image.
     
    boolean
    Only one per info_type should be provided per request.
    boolean
    If true, all text found in the image, regardless whether it matches an info_type, is redacted.
    boolean
    The color to use when redacting content from an image.

    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 Details

    • 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;
    • getTargetCase