- 3.57.0 (latest)
- 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 static final class RedactImageRequest.Builder extends GeneratedMessageV3.Builder<RedactImageRequest.Builder> implements RedactImageRequestOrBuilder
Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.
Protobuf type google.privacy.dlp.v2.RedactImageRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RedactImageRequest.BuilderImplements
RedactImageRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllImageRedactionConfigs(Iterable<? extends RedactImageRequest.ImageRedactionConfig> values)
public RedactImageRequest.Builder addAllImageRedactionConfigs(Iterable<? extends RedactImageRequest.ImageRedactionConfig> values)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig> |
Type | Description |
RedactImageRequest.Builder |
addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig value)
public RedactImageRequest.Builder addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
Name | Description |
value | RedactImageRequest.ImageRedactionConfig |
Type | Description |
RedactImageRequest.Builder |
addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
public RedactImageRequest.Builder addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
Name | Description |
builderForValue | RedactImageRequest.ImageRedactionConfig.Builder |
Type | Description |
RedactImageRequest.Builder |
addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)
public RedactImageRequest.Builder addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)
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 |
value | RedactImageRequest.ImageRedactionConfig |
Type | Description |
RedactImageRequest.Builder |
addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
public RedactImageRequest.Builder addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
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 |
builderForValue | RedactImageRequest.ImageRedactionConfig.Builder |
Type | Description |
RedactImageRequest.Builder |
addImageRedactionConfigsBuilder()
public RedactImageRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
Type | Description |
RedactImageRequest.ImageRedactionConfig.Builder |
addImageRedactionConfigsBuilder(int index)
public RedactImageRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RedactImageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RedactImageRequest.Builder |
build()
public RedactImageRequest build()
Type | Description |
RedactImageRequest |
buildPartial()
public RedactImageRequest buildPartial()
Type | Description |
RedactImageRequest |
clear()
public RedactImageRequest.Builder clear()
Type | Description |
RedactImageRequest.Builder |
clearByteItem()
public RedactImageRequest.Builder clearByteItem()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Type | Description |
RedactImageRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RedactImageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RedactImageRequest.Builder |
clearImageRedactionConfigs()
public RedactImageRequest.Builder clearImageRedactionConfigs()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
Type | Description |
RedactImageRequest.Builder |
clearIncludeFindings()
public RedactImageRequest.Builder clearIncludeFindings()
Whether the response should include findings along with the redacted image.
bool include_findings = 6;
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
clearInspectConfig()
public RedactImageRequest.Builder clearInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
RedactImageRequest.Builder |
clearLocationId()
public RedactImageRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 8;
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RedactImageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RedactImageRequest.Builder |
clearParent()
public RedactImageRequest.Builder clearParent()
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 |
RedactImageRequest.Builder | This builder for chaining. |
clone()
public RedactImageRequest.Builder clone()
Type | Description |
RedactImageRequest.Builder |
getByteItem()
public ByteContentItem getByteItem()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Type | Description |
ByteContentItem | The byteItem. |
getByteItemBuilder()
public ByteContentItem.Builder getByteItemBuilder()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Type | Description |
ByteContentItem.Builder |
getByteItemOrBuilder()
public ByteContentItemOrBuilder getByteItemOrBuilder()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Type | Description |
ByteContentItemOrBuilder |
getDefaultInstanceForType()
public RedactImageRequest getDefaultInstanceForType()
Type | Description |
RedactImageRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getImageRedactionConfigs(int index)
public 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 |
getImageRedactionConfigsBuilder(int index)
public RedactImageRequest.ImageRedactionConfig.Builder getImageRedactionConfigsBuilder(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.Builder |
getImageRedactionConfigsBuilderList()
public List<RedactImageRequest.ImageRedactionConfig.Builder> getImageRedactionConfigsBuilderList()
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
Type | Description |
List<Builder> |
getImageRedactionConfigsCount()
public 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 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 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 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 boolean getIncludeFindings()
Whether the response should include findings along with the redacted image.
bool include_findings = 6;
Type | Description |
boolean | The includeFindings. |
getInspectConfig()
public InspectConfig getInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
InspectConfig | The inspectConfig. |
getInspectConfigBuilder()
public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
InspectConfig.Builder |
getInspectConfigOrBuilder()
public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
InspectConfigOrBuilder |
getLocationId()
public String getLocationId()
Deprecated. This field has no effect.
string location_id = 8;
Type | Description |
String | The locationId. |
getLocationIdBytes()
public ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 8;
Type | Description |
ByteString | The bytes for locationId. |
getParent()
public 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 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 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 boolean hasInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Type | Description |
boolean | Whether the inspectConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeByteItem(ByteContentItem value)
public RedactImageRequest.Builder mergeByteItem(ByteContentItem value)
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Name | Description |
value | ByteContentItem |
Type | Description |
RedactImageRequest.Builder |
mergeFrom(RedactImageRequest other)
public RedactImageRequest.Builder mergeFrom(RedactImageRequest other)
Name | Description |
other | RedactImageRequest |
Type | Description |
RedactImageRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RedactImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RedactImageRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RedactImageRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RedactImageRequest.Builder |
mergeInspectConfig(InspectConfig value)
public RedactImageRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Name | Description |
value | InspectConfig |
Type | Description |
RedactImageRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RedactImageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RedactImageRequest.Builder |
removeImageRedactionConfigs(int index)
public RedactImageRequest.Builder removeImageRedactionConfigs(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.Builder |
setByteItem(ByteContentItem value)
public RedactImageRequest.Builder setByteItem(ByteContentItem value)
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Name | Description |
value | ByteContentItem |
Type | Description |
RedactImageRequest.Builder |
setByteItem(ByteContentItem.Builder builderForValue)
public RedactImageRequest.Builder setByteItem(ByteContentItem.Builder builderForValue)
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
Name | Description |
builderForValue | ByteContentItem.Builder |
Type | Description |
RedactImageRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RedactImageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RedactImageRequest.Builder |
setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)
public RedactImageRequest.Builder setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)
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 |
value | RedactImageRequest.ImageRedactionConfig |
Type | Description |
RedactImageRequest.Builder |
setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
public RedactImageRequest.Builder setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
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 |
builderForValue | RedactImageRequest.ImageRedactionConfig.Builder |
Type | Description |
RedactImageRequest.Builder |
setIncludeFindings(boolean value)
public RedactImageRequest.Builder setIncludeFindings(boolean value)
Whether the response should include findings along with the redacted image.
bool include_findings = 6;
Name | Description |
value | boolean The includeFindings to set. |
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
setInspectConfig(InspectConfig value)
public RedactImageRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Name | Description |
value | InspectConfig |
Type | Description |
RedactImageRequest.Builder |
setInspectConfig(InspectConfig.Builder builderForValue)
public RedactImageRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Name | Description |
builderForValue | InspectConfig.Builder |
Type | Description |
RedactImageRequest.Builder |
setLocationId(String value)
public RedactImageRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 8;
Name | Description |
value | String The locationId to set. |
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
setLocationIdBytes(ByteString value)
public RedactImageRequest.Builder setLocationIdBytes(ByteString value)
Deprecated. This field has no effect.
string location_id = 8;
Name | Description |
value | ByteString The bytes for locationId to set. |
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
setParent(String value)
public RedactImageRequest.Builder setParent(String value)
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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public RedactImageRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
RedactImageRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RedactImageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RedactImageRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RedactImageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RedactImageRequest.Builder |