public interface RedactImageRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getByteItem()
public abstract ByteContentItem getByteItem()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
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;
Type | Description |
ByteContentItemOrBuilder |
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;
Name | Description |
index | int |
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;
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;
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;
Name | Description |
index | int |
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;
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;
Type | Description |
boolean | The includeFindings. |
getInspectConfig()
public abstract InspectConfig getInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
InspectConfig | The inspectConfig. |
getInspectConfigOrBuilder()
public abstract InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
InspectConfigOrBuilder |
getLocationId()
public abstract String getLocationId()
Deprecated. This field has no effect.
string location_id = 8;
Type | Description |
String | The locationId. |
getLocationIdBytes()
public abstract ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 8;
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:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
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:<br/>
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/
<var>PROJECT_ID</var> The following exampleparent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data: parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
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;
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;
Type | Description |
boolean | Whether the inspectConfig field is set. |