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
public interface RedactImageRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteContentItemgetByteItem()The content must be PNG, JPEG, SVG or BMP.ByteContentItemOrBuildergetByteItemOrBuilder()The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.ImageRedactionConfiggetImageRedactionConfigs(int index)The configuration for specifying what content to redact from images.intgetImageRedactionConfigsCount()The configuration for specifying what content to redact from images.List<RedactImageRequest.ImageRedactionConfig>getImageRedactionConfigsList()The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfigOrBuildergetImageRedactionConfigsOrBuilder(int index)The configuration for specifying what content to redact from images.List<? extends RedactImageRequest.ImageRedactionConfigOrBuilder>getImageRedactionConfigsOrBuilderList()The configuration for specifying what content to redact from images.booleangetIncludeFindings()Whether the response should include findings along with the redacted image.InspectConfiggetInspectConfig()Configuration for the inspector.InspectConfigOrBuildergetInspectConfigOrBuilder()Configuration for the inspector.StringgetLocationId()Deprecated.com.google.protobuf.ByteStringgetLocationIdBytes()Deprecated.StringgetParent()Parent resource name.com.google.protobuf.ByteStringgetParentBytes()Parent resource name.booleanhasByteItem()The content must be PNG, JPEG, SVG or BMP.booleanhasInspectConfig()Configuration for the inspector.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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/dlp/docs/specifying-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 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/dlp/docs/specifying-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 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
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;
-
-