Package com.google.privacy.dlp.v2
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 Summary
Modifier and TypeMethodDescriptionThe content must be PNG, JPEG, SVG or BMP.The content must be PNG, JPEG, SVG or BMP.The full resource name of the de-identification template to use.com.google.protobuf.ByteStringThe full resource name of the de-identification template to use.getImageRedactionConfigs(int index) The configuration for specifying what content to redact from images.intThe configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.getImageRedactionConfigsOrBuilder(int index) The configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.booleanWhether the response should include findings along with the redacted image.Configuration for the inspector.Configuration for the inspector.The full resource name of the inspection template to use.com.google.protobuf.ByteStringThe full resource name of the inspection template to use.Deprecated.com.google.protobuf.ByteStringDeprecated.Parent resource name.com.google.protobuf.ByteStringParent resource name.booleanThe content must be PNG, JPEG, SVG or BMP.booleanConfiguration for the inspector.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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-west3string 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-west3string 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
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
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.
-