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.GeneratedMessage.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.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllImageRedactionConfigs(Iterable<? extends RedactImageRequest.ImageRedactionConfig> values) The configuration for specifying what content to redact from images.addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value) The configuration for specifying what content to redact from images.addImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue) The configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.addImageRedactionConfigs(RedactImageRequest.ImageRedactionConfig.Builder builderForValue) The configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.addImageRedactionConfigsBuilder(int index) The configuration for specifying what content to redact from images.build()clear()The content must be PNG, JPEG, SVG or BMP.The full resource name of the de-identification template to use.The configuration for specifying what content to redact from images.Whether the response should include findings along with the redacted image.Configuration for the inspector.The full resource name of the inspection template to use.Deprecated.Parent resource name.The content must be PNG, JPEG, SVG or BMP.The content must be PNG, JPEG, SVG or BMP.The content must be PNG, JPEG, SVG or BMP.The full resource name of the de-identification template to use.com.google.protobuf.ByteStringThe full resource name of the de-identification template to use.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetImageRedactionConfigs(int index) The configuration for specifying what content to redact from images.getImageRedactionConfigsBuilder(int index) The configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.intThe configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.getImageRedactionConfigsOrBuilder(int index) The configuration for specifying what content to redact from images.The configuration for specifying what content to redact from images.booleanWhether the response should include findings along with the redacted image.Configuration for the inspector.Configuration for the inspector.Configuration for the inspector.The full resource name of the inspection template to use.com.google.protobuf.ByteStringThe full resource name of the inspection template to use.Deprecated.com.google.protobuf.ByteStringDeprecated.Parent resource name.com.google.protobuf.ByteStringParent resource name.booleanThe content must be PNG, JPEG, SVG or BMP.booleanConfiguration for the inspector.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeByteItem(ByteContentItem value) The content must be PNG, JPEG, SVG or BMP.mergeFrom(RedactImageRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInspectConfig(InspectConfig value) Configuration for the inspector.removeImageRedactionConfigs(int index) The configuration for specifying what content to redact from images.setByteItem(ByteContentItem value) The content must be PNG, JPEG, SVG or BMP.setByteItem(ByteContentItem.Builder builderForValue) The content must be PNG, JPEG, SVG or BMP.setDeidentifyTemplate(String value) The full resource name of the de-identification template to use.setDeidentifyTemplateBytes(com.google.protobuf.ByteString value) The full resource name of the de-identification template to use.setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig value) The configuration for specifying what content to redact from images.setImageRedactionConfigs(int index, RedactImageRequest.ImageRedactionConfig.Builder builderForValue) The configuration for specifying what content to redact from images.setIncludeFindings(boolean value) Whether the response should include findings along with the redacted image.setInspectConfig(InspectConfig value) Configuration for the inspector.setInspectConfig(InspectConfig.Builder builderForValue) Configuration for the inspector.setInspectTemplate(String value) The full resource name of the inspection template to use.setInspectTemplateBytes(com.google.protobuf.ByteString value) The full resource name of the inspection template to use.setLocationId(String value) Deprecated.setLocationIdBytes(com.google.protobuf.ByteString value) Deprecated.Parent resource name.setParentBytes(com.google.protobuf.ByteString value) Parent resource name.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RedactImageRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<RedactImageRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RedactImageRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + Projects scope, location specified: `projects/{project_id}/locations/{location_id}` + Projects scope, no location specified (defaults to global): `projects/{project_id}` 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/sensitive-data-protection/docs/specifying-location): + Projects scope, location specified: `projects/{project_id}/locations/{location_id}` + Projects scope, no location specified (defaults to global): `projects/{project_id}` 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
Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + Projects scope, location specified: `projects/{project_id}/locations/{location_id}` + Projects scope, no location specified (defaults to global): `projects/{project_id}` 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
Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + Projects scope, location specified: `projects/{project_id}/locations/{location_id}` + Projects scope, no location specified (defaults to global): `projects/{project_id}` 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
Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + Projects scope, location specified: `projects/{project_id}/locations/{location_id}` + Projects scope, no location specified (defaults to global): `projects/{project_id}` 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
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
Deprecated. This field has no effect.
string location_id = 8;- Parameters:
value- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
Deprecated. This field has no effect.
string location_id = 8;- Returns:
- This builder for chaining.
-
setLocationIdBytes
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
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigin interfaceRedactImageRequestOrBuilder- Returns:
- The inspectConfig.
-
setInspectConfig
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
setInspectConfig
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
mergeInspectConfig
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
clearInspectConfig
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
getInspectConfigBuilder
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
getInspectConfigOrBuilder
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigOrBuilderin interfaceRedactImageRequestOrBuilder
-
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
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
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; -
removeImageRedactionConfigs
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; -
getImageRedactionConfigsBuilder
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
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; -
addImageRedactionConfigsBuilder
The configuration for specifying what content to redact from images.
repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; -
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
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
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
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
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7; -
setByteItem
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7; -
mergeByteItem
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7; -
clearByteItem
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7; -
getByteItemBuilder
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7; -
getByteItemOrBuilder
The content must be PNG, JPEG, SVG or BMP.
.google.privacy.dlp.v2.ByteContentItem byte_item = 7;- Specified by:
getByteItemOrBuilderin interfaceRedactImageRequestOrBuilder
-
getInspectTemplate
The full resource name of the inspection template to use. Settings in the main `inspect_config` field override the corresponding settings in this inspection template. The merge behavior is as follows: - Singular field: The main field's value replaces the value of the corresponding field in the template. - Repeated fields: The field values are appended to the list defined in the template. - Sub-messages and groups: The fields are recursively merged.
string inspect_template = 9;- Specified by:
getInspectTemplatein interfaceRedactImageRequestOrBuilder- Returns:
- The inspectTemplate.
-
getInspectTemplateBytes
public com.google.protobuf.ByteString getInspectTemplateBytes()The full resource name of the inspection template to use. Settings in the main `inspect_config` field override the corresponding settings in this inspection template. The merge behavior is as follows: - Singular field: The main field's value replaces the value of the corresponding field in the template. - Repeated fields: The field values are appended to the list defined in the template. - Sub-messages and groups: The fields are recursively merged.
string inspect_template = 9;- Specified by:
getInspectTemplateBytesin interfaceRedactImageRequestOrBuilder- Returns:
- The bytes for inspectTemplate.
-
setInspectTemplate
The full resource name of the inspection template to use. Settings in the main `inspect_config` field override the corresponding settings in this inspection template. The merge behavior is as follows: - Singular field: The main field's value replaces the value of the corresponding field in the template. - Repeated fields: The field values are appended to the list defined in the template. - Sub-messages and groups: The fields are recursively merged.
string inspect_template = 9;- Parameters:
value- The inspectTemplate to set.- Returns:
- This builder for chaining.
-
clearInspectTemplate
The full resource name of the inspection template to use. Settings in the main `inspect_config` field override the corresponding settings in this inspection template. The merge behavior is as follows: - Singular field: The main field's value replaces the value of the corresponding field in the template. - Repeated fields: The field values are appended to the list defined in the template. - Sub-messages and groups: The fields are recursively merged.
string inspect_template = 9;- Returns:
- This builder for chaining.
-
setInspectTemplateBytes
The full resource name of the inspection template to use. Settings in the main `inspect_config` field override the corresponding settings in this inspection template. The merge behavior is as follows: - Singular field: The main field's value replaces the value of the corresponding field in the template. - Repeated fields: The field values are appended to the list defined in the template. - Sub-messages and groups: The fields are recursively merged.
string inspect_template = 9;- Parameters:
value- The bytes for inspectTemplate to set.- Returns:
- This builder for chaining.
-
getDeidentifyTemplate
The full resource name of the de-identification template to use. Settings in the main `image_redaction_configs` field override the corresponding settings in this de-identification template. The request fails if the type of the template's deidentify_config is not image_transformations.
string deidentify_template = 10;- Specified by:
getDeidentifyTemplatein interfaceRedactImageRequestOrBuilder- Returns:
- The deidentifyTemplate.
-
getDeidentifyTemplateBytes
public com.google.protobuf.ByteString getDeidentifyTemplateBytes()The full resource name of the de-identification template to use. Settings in the main `image_redaction_configs` field override the corresponding settings in this de-identification template. The request fails if the type of the template's deidentify_config is not image_transformations.
string deidentify_template = 10;- Specified by:
getDeidentifyTemplateBytesin interfaceRedactImageRequestOrBuilder- Returns:
- The bytes for deidentifyTemplate.
-
setDeidentifyTemplate
The full resource name of the de-identification template to use. Settings in the main `image_redaction_configs` field override the corresponding settings in this de-identification template. The request fails if the type of the template's deidentify_config is not image_transformations.
string deidentify_template = 10;- Parameters:
value- The deidentifyTemplate to set.- Returns:
- This builder for chaining.
-
clearDeidentifyTemplate
The full resource name of the de-identification template to use. Settings in the main `image_redaction_configs` field override the corresponding settings in this de-identification template. The request fails if the type of the template's deidentify_config is not image_transformations.
string deidentify_template = 10;- Returns:
- This builder for chaining.
-
setDeidentifyTemplateBytes
The full resource name of the de-identification template to use. Settings in the main `image_redaction_configs` field override the corresponding settings in this de-identification template. The request fails if the type of the template's deidentify_config is not image_transformations.
string deidentify_template = 10;- Parameters:
value- The bytes for deidentifyTemplate to set.- Returns:
- This builder for chaining.
-