Package com.google.privacy.dlp.v2
Class RedactImageRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
- com.google.privacy.dlp.v2.RedactImageRequest.Builder
-
- All Implemented Interfaces:
RedactImageRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RedactImageRequest
public static final class RedactImageRequest.Builder extends com.google.protobuf.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 typegoogle.privacy.dlp.v2.RedactImageRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RedactImageRequest.BuilderaddAllImageRedactionConfigs(Iterable<? extends RedactImageRequest.ImageRedactionConfig> values)The configuration for specifying what content to redact from images.RedactImageRequest.BuilderaddImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)The configuration for specifying what content to redact from images.RedactImageRequest.BuilderaddImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)The configuration for specifying what content to redact from images.RedactImageRequest.BuilderaddImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig value)The configuration for specifying what content to redact from images.RedactImageRequest.BuilderaddImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig.Builder builderForValue)The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfig.BuilderaddImageRedactionConfigsBuilder()The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfig.BuilderaddImageRedactionConfigsBuilder(int index)The configuration for specifying what content to redact from images.RedactImageRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RedactImageRequestbuild()RedactImageRequestbuildPartial()RedactImageRequest.Builderclear()RedactImageRequest.BuilderclearByteItem()The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RedactImageRequest.BuilderclearImageRedactionConfigs()The configuration for specifying what content to redact from images.RedactImageRequest.BuilderclearIncludeFindings()Whether the response should include findings along with the redacted image.RedactImageRequest.BuilderclearInspectConfig()Configuration for the inspector.RedactImageRequest.BuilderclearLocationId()Deprecated.RedactImageRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RedactImageRequest.BuilderclearParent()Parent resource name.RedactImageRequest.Builderclone()ByteContentItemgetByteItem()The content must be PNG, JPEG, SVG or BMP.ByteContentItem.BuildergetByteItemBuilder()The content must be PNG, JPEG, SVG or BMP.ByteContentItemOrBuildergetByteItemOrBuilder()The content must be PNG, JPEG, SVG or BMP.RedactImageRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RedactImageRequest.ImageRedactionConfiggetImageRedactionConfigs(int index)The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfig.BuildergetImageRedactionConfigsBuilder(int index)The configuration for specifying what content to redact from images.List<RedactImageRequest.ImageRedactionConfig.Builder>getImageRedactionConfigsBuilderList()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.InspectConfig.BuildergetInspectConfigBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RedactImageRequest.BuildermergeByteItem(ByteContentItem value)The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.BuildermergeFrom(RedactImageRequest other)RedactImageRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RedactImageRequest.BuildermergeFrom(com.google.protobuf.Message other)RedactImageRequest.BuildermergeInspectConfig(InspectConfig value)Configuration for the inspector.RedactImageRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RedactImageRequest.BuilderremoveImageRedactionConfigs(int index)The configuration for specifying what content to redact from images.RedactImageRequest.BuildersetByteItem(ByteContentItem value)The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.BuildersetByteItem(ByteContentItem.Builder builderForValue)The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RedactImageRequest.BuildersetImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)The configuration for specifying what content to redact from images.RedactImageRequest.BuildersetImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)The configuration for specifying what content to redact from images.RedactImageRequest.BuildersetIncludeFindings(boolean value)Whether the response should include findings along with the redacted image.RedactImageRequest.BuildersetInspectConfig(InspectConfig value)Configuration for the inspector.RedactImageRequest.BuildersetInspectConfig(InspectConfig.Builder builderForValue)Configuration for the inspector.RedactImageRequest.BuildersetLocationId(String value)Deprecated.RedactImageRequest.BuildersetLocationIdBytes(com.google.protobuf.ByteString value)Deprecated.RedactImageRequest.BuildersetParent(String value)Parent resource name.RedactImageRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Parent resource name.RedactImageRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RedactImageRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
clear
public RedactImageRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
getDefaultInstanceForType
public RedactImageRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RedactImageRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RedactImageRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RedactImageRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
setField
public RedactImageRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
clearField
public RedactImageRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
clearOneof
public RedactImageRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
setRepeatedField
public RedactImageRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
addRepeatedField
public RedactImageRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
mergeFrom
public RedactImageRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedactImageRequest.Builder>
-
mergeFrom
public RedactImageRequest.Builder mergeFrom(RedactImageRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
mergeFrom
public RedactImageRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedactImageRequest.Builder>- Throws:
IOException
-
getParent
public 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) = { ... }- Specified by:
getParentin interfaceRedactImageRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public 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) = { ... }- Specified by:
getParentBytesin interfaceRedactImageRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public RedactImageRequest.Builder setParent(String value)
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public RedactImageRequest.Builder clearParent()
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:
- This builder for chaining.
-
setParentBytes
public RedactImageRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getLocationId
public String getLocationId()
Deprecated. This field has no effect.
string location_id = 8;- Specified by:
getLocationIdin interfaceRedactImageRequestOrBuilder- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 8;- Specified by:
getLocationIdBytesin interfaceRedactImageRequestOrBuilder- Returns:
- The bytes for locationId.
-
setLocationId
public RedactImageRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 8;- Parameters:
value- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
public RedactImageRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 8;- Returns:
- This builder for chaining.
-
setLocationIdBytes
public RedactImageRequest.Builder setLocationIdBytes(com.google.protobuf.ByteString value)
Deprecated. This field has no effect.
string location_id = 8;- Parameters:
value- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
hasInspectConfig
public boolean hasInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
hasInspectConfigin interfaceRedactImageRequestOrBuilder- Returns:
- Whether the inspectConfig field is set.
-
getInspectConfig
public InspectConfig getInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigin interfaceRedactImageRequestOrBuilder- Returns:
- The inspectConfig.
-
setInspectConfig
public RedactImageRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
setInspectConfig
public RedactImageRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
mergeInspectConfig
public RedactImageRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
clearInspectConfig
public RedactImageRequest.Builder clearInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
getInspectConfigBuilder
public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
getInspectConfigOrBuilder
public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigOrBuilderin interfaceRedactImageRequestOrBuilder
-
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;- Specified by:
getImageRedactionConfigsListin interfaceRedactImageRequestOrBuilder
-
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;- Specified by:
getImageRedactionConfigsCountin interfaceRedactImageRequestOrBuilder
-
getImageRedactionConfigs
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;- Specified by:
getImageRedactionConfigsin interfaceRedactImageRequestOrBuilder
-
setImageRedactionConfigs
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;
-
setImageRedactionConfigs
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;
-
addImageRedactionConfigs
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;
-
addImageRedactionConfigs
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;
-
addImageRedactionConfigs
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;
-
addImageRedactionConfigs
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;
-
addAllImageRedactionConfigs
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;
-
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;
-
removeImageRedactionConfigs
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;
-
getImageRedactionConfigsBuilder
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;
-
getImageRedactionConfigsOrBuilder
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;- Specified by:
getImageRedactionConfigsOrBuilderin interfaceRedactImageRequestOrBuilder
-
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;- Specified by:
getImageRedactionConfigsOrBuilderListin interfaceRedactImageRequestOrBuilder
-
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;
-
addImageRedactionConfigsBuilder
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;
-
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;
-
getIncludeFindings
public boolean getIncludeFindings()
Whether the response should include findings along with the redacted image.
bool include_findings = 6;- Specified by:
getIncludeFindingsin interfaceRedactImageRequestOrBuilder- Returns:
- The includeFindings.
-
setIncludeFindings
public RedactImageRequest.Builder setIncludeFindings(boolean value)
Whether the response should include findings along with the redacted image.
bool include_findings = 6;- Parameters:
value- The includeFindings to set.- Returns:
- This builder for chaining.
-
clearIncludeFindings
public RedactImageRequest.Builder clearIncludeFindings()
Whether the response should include findings along with the redacted image.
bool include_findings = 6;- Returns:
- This builder for chaining.
-
hasByteItem
public boolean hasByteItem()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;- Specified by:
hasByteItemin interfaceRedactImageRequestOrBuilder- Returns:
- Whether the byteItem field is set.
-
getByteItem
public ByteContentItem getByteItem()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;- Specified by:
getByteItemin interfaceRedactImageRequestOrBuilder- Returns:
- The byteItem.
-
setByteItem
public RedactImageRequest.Builder setByteItem(ByteContentItem value)
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
-
setByteItem
public RedactImageRequest.Builder setByteItem(ByteContentItem.Builder builderForValue)
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
-
mergeByteItem
public RedactImageRequest.Builder mergeByteItem(ByteContentItem value)
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
-
clearByteItem
public RedactImageRequest.Builder clearByteItem()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
-
getByteItemBuilder
public ByteContentItem.Builder getByteItemBuilder()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;
-
getByteItemOrBuilder
public ByteContentItemOrBuilder getByteItemOrBuilder()
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;- Specified by:
getByteItemOrBuilderin interfaceRedactImageRequestOrBuilder
-
setUnknownFields
public final RedactImageRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
mergeUnknownFields
public final RedactImageRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
-