public static final class DeidentifyContentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder> implements DeidentifyContentRequestOrBuilder
Request to de-identify a ContentItem.Protobuf type
google.privacy.dlp.v2.DeidentifyContentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeidentifyContentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeidentifyContentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeidentifyContentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder mergeFrom(DeidentifyContentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public DeidentifyContentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeidentifyContentRequest.Builder>IOExceptionpublic 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) = { ... }getParent in interface DeidentifyContentRequestOrBuilderpublic 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) = { ... }getParentBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.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) = { ... }value - The parent to set.public DeidentifyContentRequest.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) = { ... }public DeidentifyContentRequest.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) = { ... }value - The bytes for parent to set.public boolean hasDeidentifyConfig()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;hasDeidentifyConfig in interface DeidentifyContentRequestOrBuilderpublic DeidentifyConfig getDeidentifyConfig()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;getDeidentifyConfig in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setDeidentifyConfig(DeidentifyConfig value)
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyContentRequest.Builder setDeidentifyConfig(DeidentifyConfig.Builder builderForValue)
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyContentRequest.Builder mergeDeidentifyConfig(DeidentifyConfig value)
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyContentRequest.Builder clearDeidentifyConfig()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyConfig.Builder getDeidentifyConfigBuilder()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;public DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;getDeidentifyConfigOrBuilder in interface DeidentifyContentRequestOrBuilderpublic boolean hasInspectConfig()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;hasInspectConfig in interface DeidentifyContentRequestOrBuilderpublic InspectConfig getInspectConfig()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;getInspectConfig in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public DeidentifyContentRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public DeidentifyContentRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public DeidentifyContentRequest.Builder clearInspectConfig()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;getInspectConfigOrBuilder in interface DeidentifyContentRequestOrBuilderpublic boolean hasItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;hasItem in interface DeidentifyContentRequestOrBuilderpublic ContentItem getItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;getItem in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setItem(ContentItem value)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public DeidentifyContentRequest.Builder setItem(ContentItem.Builder builderForValue)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public DeidentifyContentRequest.Builder mergeItem(ContentItem value)
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public DeidentifyContentRequest.Builder clearItem()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ContentItem.Builder getItemBuilder()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ContentItemOrBuilder getItemOrBuilder()
The item to de-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;getItemOrBuilder in interface DeidentifyContentRequestOrBuilderpublic String getInspectTemplateName()
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;getInspectTemplateName in interface DeidentifyContentRequestOrBuilderpublic com.google.protobuf.ByteString getInspectTemplateNameBytes()
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;getInspectTemplateNameBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setInspectTemplateName(String value)
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;value - The inspectTemplateName to set.public DeidentifyContentRequest.Builder clearInspectTemplateName()
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;public DeidentifyContentRequest.Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 5;value - The bytes for inspectTemplateName to set.public String getDeidentifyTemplateName()
Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;getDeidentifyTemplateName in interface DeidentifyContentRequestOrBuilderpublic com.google.protobuf.ByteString getDeidentifyTemplateNameBytes()
Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;getDeidentifyTemplateNameBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setDeidentifyTemplateName(String value)
Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;value - The deidentifyTemplateName to set.public DeidentifyContentRequest.Builder clearDeidentifyTemplateName()
Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;public DeidentifyContentRequest.Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString value)
Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string deidentify_template_name = 6;value - The bytes for deidentifyTemplateName to set.public String getLocationId()
Deprecated. This field has no effect.
string location_id = 7;getLocationId in interface DeidentifyContentRequestOrBuilderpublic com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 7;getLocationIdBytes in interface DeidentifyContentRequestOrBuilderpublic DeidentifyContentRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 7;value - The locationId to set.public DeidentifyContentRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 7;public DeidentifyContentRequest.Builder setLocationIdBytes(com.google.protobuf.ByteString value)
Deprecated. This field has no effect.
string location_id = 7;value - The bytes for locationId to set.public final DeidentifyContentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>public final DeidentifyContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyContentRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.