Interface RedactImageRequestOrBuilder

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

@Generated public interface RedactImageRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Parent resource name.
      
       The format of this value varies depending on whether you have [specified a
       processing
       location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
      
       + Projects scope, location specified:
       `projects/{project_id}/locations/{location_id}`
       + Projects scope, no location specified (defaults to global):
       `projects/{project_id}`
      
       The following example `parent` string specifies a parent project with the
       identifier `example-project`, and specifies the `europe-west3` location
       for processing data:
      
       parent=projects/example-project/locations/europe-west3
       
      string parent = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Parent resource name.
      
       The format of this value varies depending on whether you have [specified a
       processing
       location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
      
       + Projects scope, location specified:
       `projects/{project_id}/locations/{location_id}`
       + Projects scope, no location specified (defaults to global):
       `projects/{project_id}`
      
       The following example `parent` string specifies a parent project with the
       identifier `example-project`, and specifies the `europe-west3` location
       for processing data:
      
       parent=projects/example-project/locations/europe-west3
       
      string parent = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getLocationId

      String getLocationId()
       Deprecated. This field has no effect.
       
      string location_id = 8;
      Returns:
      The locationId.
    • getLocationIdBytes

      com.google.protobuf.ByteString getLocationIdBytes()
       Deprecated. This field has no effect.
       
      string location_id = 8;
      Returns:
      The bytes for locationId.
    • hasInspectConfig

      boolean hasInspectConfig()
       Configuration for the inspector.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Returns:
      Whether the inspectConfig field is set.
    • getInspectConfig

      InspectConfig getInspectConfig()
       Configuration for the inspector.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Returns:
      The inspectConfig.
    • getInspectConfigOrBuilder

      InspectConfigOrBuilder getInspectConfigOrBuilder()
       Configuration for the inspector.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • getImageRedactionConfigsList

      List<RedactImageRequest.ImageRedactionConfig> getImageRedactionConfigsList()
       The configuration for specifying what content to redact from images.
       
      repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
    • getImageRedactionConfigs

      RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index)
       The configuration for specifying what content to redact from images.
       
      repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
    • getImageRedactionConfigsCount

      int getImageRedactionConfigsCount()
       The configuration for specifying what content to redact from images.
       
      repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
    • getImageRedactionConfigsOrBuilderList

      List<? extends RedactImageRequest.ImageRedactionConfigOrBuilder> getImageRedactionConfigsOrBuilderList()
       The configuration for specifying what content to redact from images.
       
      repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
    • getImageRedactionConfigsOrBuilder

      RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder(int index)
       The configuration for specifying what content to redact from images.
       
      repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
    • getIncludeFindings

      boolean getIncludeFindings()
       Whether the response should include findings along with the redacted
       image.
       
      bool include_findings = 6;
      Returns:
      The includeFindings.
    • hasByteItem

      boolean hasByteItem()
       The content must be PNG, JPEG, SVG or BMP.
       
      .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
      Returns:
      Whether the byteItem field is set.
    • getByteItem

      ByteContentItem getByteItem()
       The content must be PNG, JPEG, SVG or BMP.
       
      .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
      Returns:
      The byteItem.
    • getByteItemOrBuilder

      ByteContentItemOrBuilder getByteItemOrBuilder()
       The content must be PNG, JPEG, SVG or BMP.
       
      .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
    • getInspectTemplate

      String getInspectTemplate()
       The full resource name of the inspection template to use. Settings in the
       main `inspect_config` field override the corresponding settings in this
       inspection template.
      
       The merge behavior is as follows:
      
       - Singular field: The main field's value replaces the value of the
       corresponding field in the template.
       - Repeated fields: The field values are appended to the list defined in
       the template.
       - Sub-messages and groups: The fields are recursively merged.
       
      string inspect_template = 9;
      Returns:
      The inspectTemplate.
    • getInspectTemplateBytes

      com.google.protobuf.ByteString getInspectTemplateBytes()
       The full resource name of the inspection template to use. Settings in the
       main `inspect_config` field override the corresponding settings in this
       inspection template.
      
       The merge behavior is as follows:
      
       - Singular field: The main field's value replaces the value of the
       corresponding field in the template.
       - Repeated fields: The field values are appended to the list defined in
       the template.
       - Sub-messages and groups: The fields are recursively merged.
       
      string inspect_template = 9;
      Returns:
      The bytes for inspectTemplate.
    • getDeidentifyTemplate

      String getDeidentifyTemplate()
       The full resource name of the de-identification template to use. Settings
       in the main `image_redaction_configs` field override the corresponding
       settings in this de-identification template. The request fails if the
       type of the template's deidentify_config is not image_transformations.
       
      string deidentify_template = 10;
      Returns:
      The deidentifyTemplate.
    • getDeidentifyTemplateBytes

      com.google.protobuf.ByteString getDeidentifyTemplateBytes()
       The full resource name of the de-identification template to use. Settings
       in the main `image_redaction_configs` field override the corresponding
       settings in this de-identification template. The request fails if the
       type of the template's deidentify_config is not image_transformations.
       
      string deidentify_template = 10;
      Returns:
      The bytes for deidentifyTemplate.