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.Builder
addAllImageRedactionConfigs(Iterable<? extends RedactImageRequest.ImageRedactionConfig> values)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfig.Builder
addImageRedactionConfigsBuilder()
The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfig.Builder
addImageRedactionConfigsBuilder(int index)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RedactImageRequest
build()
RedactImageRequest
buildPartial()
RedactImageRequest.Builder
clear()
RedactImageRequest.Builder
clearByteItem()
The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RedactImageRequest.Builder
clearImageRedactionConfigs()
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
clearIncludeFindings()
Whether the response should include findings along with the redacted image.RedactImageRequest.Builder
clearInspectConfig()
Configuration for the inspector.RedactImageRequest.Builder
clearLocationId()
Deprecated.RedactImageRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RedactImageRequest.Builder
clearParent()
Parent resource name.RedactImageRequest.Builder
clone()
ByteContentItem
getByteItem()
The content must be PNG, JPEG, SVG or BMP.ByteContentItem.Builder
getByteItemBuilder()
The content must be PNG, JPEG, SVG or BMP.ByteContentItemOrBuilder
getByteItemOrBuilder()
The content must be PNG, JPEG, SVG or BMP.RedactImageRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RedactImageRequest.ImageRedactionConfig
getImageRedactionConfigs(int index)
The configuration for specifying what content to redact from images.RedactImageRequest.ImageRedactionConfig.Builder
getImageRedactionConfigsBuilder(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.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.InspectConfig.Builder
getInspectConfigBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RedactImageRequest.Builder
mergeByteItem(ByteContentItem value)
The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.Builder
mergeFrom(RedactImageRequest other)
RedactImageRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RedactImageRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RedactImageRequest.Builder
mergeInspectConfig(InspectConfig value)
Configuration for the inspector.RedactImageRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RedactImageRequest.Builder
removeImageRedactionConfigs(int index)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
setByteItem(ByteContentItem value)
The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.Builder
setByteItem(ByteContentItem.Builder builderForValue)
The content must be PNG, JPEG, SVG or BMP.RedactImageRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RedactImageRequest.Builder
setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue)
The configuration for specifying what content to redact from images.RedactImageRequest.Builder
setIncludeFindings(boolean value)
Whether the response should include findings along with the redacted image.RedactImageRequest.Builder
setInspectConfig(InspectConfig value)
Configuration for the inspector.RedactImageRequest.Builder
setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector.RedactImageRequest.Builder
setLocationId(String value)
Deprecated.RedactImageRequest.Builder
setLocationIdBytes(com.google.protobuf.ByteString value)
Deprecated.RedactImageRequest.Builder
setParent(String value)
Parent resource name.RedactImageRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Parent resource name.RedactImageRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RedactImageRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
clear
public RedactImageRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
getDefaultInstanceForType
public RedactImageRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RedactImageRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RedactImageRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RedactImageRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
setField
public RedactImageRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
clearField
public RedactImageRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
clearOneof
public RedactImageRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
setRepeatedField
public RedactImageRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
addRepeatedField
public RedactImageRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
mergeFrom
public RedactImageRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RedactImageRequest.Builder>
-
mergeFrom
public RedactImageRequest.Builder mergeFrom(RedactImageRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
- Specified by:
getParent
in 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-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
- Specified by:
getParentBytes
in 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-west3
string 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-west3
string 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-west3
string 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:
getLocationId
in interfaceRedactImageRequestOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 8;
- Specified by:
getLocationIdBytes
in 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:
hasInspectConfig
in 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:
getInspectConfig
in 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:
getInspectConfigOrBuilder
in 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:
getImageRedactionConfigsList
in 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:
getImageRedactionConfigsCount
in 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:
getImageRedactionConfigs
in 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:
getImageRedactionConfigsOrBuilder
in 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:
getImageRedactionConfigsOrBuilderList
in 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:
getIncludeFindings
in 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:
hasByteItem
in 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:
getByteItem
in 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:
getByteItemOrBuilder
in interfaceRedactImageRequestOrBuilder
-
setUnknownFields
public final RedactImageRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
mergeUnknownFields
public final RedactImageRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RedactImageRequest.Builder>
-
-