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 ByteContentItem
getByteItem()
The content must be PNG, JPEG, SVG or BMP.ByteContentItemOrBuilder
getByteItemOrBuilder()
The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.ImageRedactionConfig
getImageRedactionConfigs(int index)
The configuration for specifying what content to redact from images.int
getImageRedactionConfigsCount()
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.ImageRedactionConfigOrBuilder
getImageRedactionConfigsOrBuilder(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.boolean
getIncludeFindings()
Whether the response should include findings along with the redacted image.InspectConfig
getInspectConfig()
Configuration for the inspector.InspectConfigOrBuilder
getInspectConfigOrBuilder()
Configuration for the inspector.String
getLocationId()
Deprecated.com.google.protobuf.ByteString
getLocationIdBytes()
Deprecated.String
getParent()
Parent resource name.com.google.protobuf.ByteString
getParentBytes()
Parent resource name.boolean
hasByteItem()
The content must be PNG, JPEG, SVG or BMP.boolean
hasInspectConfig()
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-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/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-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;
-
-