- 3.82.0 (latest)
- 3.80.0
- 3.79.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public interface RedactImageRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getByteItem()
public abstract ByteContentItem getByteItem()The content must be PNG, JPEG, SVG or BMP.
 .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteContentItem | The byteItem. | 
getByteItemOrBuilder()
public abstract ByteContentItemOrBuilder getByteItemOrBuilder()The content must be PNG, JPEG, SVG or BMP.
 .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteContentItemOrBuilder | |
getDeidentifyTemplate()
public abstract 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 | |
|---|---|
| Type | Description | 
| String | The deidentifyTemplate. | 
getDeidentifyTemplateBytes()
public abstract 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for deidentifyTemplate. | 
getImageRedactionConfigs(int index)
public abstract 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;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RedactImageRequest.ImageRedactionConfig | |
getImageRedactionConfigsCount()
public abstract int getImageRedactionConfigsCount()The configuration for specifying what content to redact from images.
 
 repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getImageRedactionConfigsList()
public abstract 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;
 
| Returns | |
|---|---|
| Type | Description | 
| List<ImageRedactionConfig> | |
getImageRedactionConfigsOrBuilder(int index)
public abstract 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;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RedactImageRequest.ImageRedactionConfigOrBuilder | |
getImageRedactionConfigsOrBuilderList()
public abstract 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;
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> | |
getIncludeFindings()
public abstract boolean getIncludeFindings()Whether the response should include findings along with the redacted image.
 bool include_findings = 6;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The includeFindings. | 
getInspectConfig()
public abstract InspectConfig getInspectConfig()Configuration for the inspector.
 .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
| Returns | |
|---|---|
| Type | Description | 
| InspectConfig | The inspectConfig. | 
getInspectConfigOrBuilder()
public abstract InspectConfigOrBuilder getInspectConfigOrBuilder()Configuration for the inspector.
 .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
| Returns | |
|---|---|
| Type | Description | 
| InspectConfigOrBuilder | |
getInspectTemplate()
public abstract 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 | |
|---|---|
| Type | Description | 
| String | The inspectTemplate. | 
getInspectTemplateBytes()
public abstract 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for inspectTemplate. | 
getLocationId()
public abstract String getLocationId()Deprecated. This field has no effect.
 string location_id = 8;
| Returns | |
|---|---|
| Type | Description | 
| String | The locationId. | 
getLocationIdBytes()
public abstract ByteString getLocationIdBytes()Deprecated. This field has no effect.
 string location_id = 8;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for locationId. | 
getParent()
public abstract String getParent()Parent resource name.
The format of this value varies depending on whether you have specified a processing 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 - parentstring specifies a parent project with the identifier- example-project, and specifies the- europe-west3location for processing data:- parent=projects/example-project/locations/europe-west3 
 string parent = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| String | The parent. | 
getParentBytes()
public abstract ByteString getParentBytes()Parent resource name.
The format of this value varies depending on whether you have specified a processing 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 - parentstring specifies a parent project with the identifier- example-project, and specifies the- europe-west3location for processing data:- parent=projects/example-project/locations/europe-west3 
 string parent = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for parent. | 
hasByteItem()
public abstract boolean hasByteItem()The content must be PNG, JPEG, SVG or BMP.
 .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the byteItem field is set. | 
hasInspectConfig()
public abstract boolean hasInspectConfig()Configuration for the inspector.
 .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the inspectConfig field is set. |