public static final class ReidentifyContentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder> implements ReidentifyContentRequestOrBuilder
Request to re-identify an item.Protobuf type
google.privacy.dlp.v2.ReidentifyContentRequestgetAllFields, 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<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.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<ReidentifyContentRequest.Builder>public ReidentifyContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReidentifyContentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReidentifyContentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReidentifyContentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.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<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.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<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.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<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.Builder mergeFrom(ReidentifyContentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder>public ReidentifyContentRequest.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<ReidentifyContentRequest.Builder>IOExceptionpublic String getParent()
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ReidentifyContentRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.Builder setParent(String value)
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ReidentifyContentRequest.Builder clearParent()
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ReidentifyContentRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasReidentifyConfig()
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;hasReidentifyConfig in interface ReidentifyContentRequestOrBuilderpublic DeidentifyConfig getReidentifyConfig()
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;getReidentifyConfig in interface ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.Builder setReidentifyConfig(DeidentifyConfig value)
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;public ReidentifyContentRequest.Builder setReidentifyConfig(DeidentifyConfig.Builder builderForValue)
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;public ReidentifyContentRequest.Builder mergeReidentifyConfig(DeidentifyConfig value)
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;public ReidentifyContentRequest.Builder clearReidentifyConfig()
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;public DeidentifyConfig.Builder getReidentifyConfigBuilder()
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;public DeidentifyConfigOrBuilder getReidentifyConfigOrBuilder()
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - `CryptoDeterministicConfig` - `CryptoReplaceFfxFpeConfig`
.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;getReidentifyConfigOrBuilder in interface ReidentifyContentRequestOrBuilderpublic boolean hasInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;hasInspectConfig in interface ReidentifyContentRequestOrBuilderpublic InspectConfig getInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;getInspectConfig in interface ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public ReidentifyContentRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public ReidentifyContentRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public ReidentifyContentRequest.Builder clearInspectConfig()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;getInspectConfigOrBuilder in interface ReidentifyContentRequestOrBuilderpublic boolean hasItem()
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;hasItem in interface ReidentifyContentRequestOrBuilderpublic ContentItem getItem()
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;getItem in interface ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.Builder setItem(ContentItem value)
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ReidentifyContentRequest.Builder setItem(ContentItem.Builder builderForValue)
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ReidentifyContentRequest.Builder mergeItem(ContentItem value)
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ReidentifyContentRequest.Builder clearItem()
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ContentItem.Builder getItemBuilder()
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;public ContentItemOrBuilder getItemOrBuilder()
The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;getItemOrBuilder in interface ReidentifyContentRequestOrBuilderpublic 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 ReidentifyContentRequestOrBuilderpublic 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 ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.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 ReidentifyContentRequest.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 ReidentifyContentRequest.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 getReidentifyTemplateName()
Template to use. References an instance of `DeidentifyTemplate`. Any configuration directly specified in `reidentify_config` or `inspect_config` will override those set in the template. The `DeidentifyTemplate` used must include only reversible transformations. 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 reidentify_template_name = 6;getReidentifyTemplateName in interface ReidentifyContentRequestOrBuilderpublic com.google.protobuf.ByteString getReidentifyTemplateNameBytes()
Template to use. References an instance of `DeidentifyTemplate`. Any configuration directly specified in `reidentify_config` or `inspect_config` will override those set in the template. The `DeidentifyTemplate` used must include only reversible transformations. 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 reidentify_template_name = 6;getReidentifyTemplateNameBytes in interface ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.Builder setReidentifyTemplateName(String value)
Template to use. References an instance of `DeidentifyTemplate`. Any configuration directly specified in `reidentify_config` or `inspect_config` will override those set in the template. The `DeidentifyTemplate` used must include only reversible transformations. 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 reidentify_template_name = 6;value - The reidentifyTemplateName to set.public ReidentifyContentRequest.Builder clearReidentifyTemplateName()
Template to use. References an instance of `DeidentifyTemplate`. Any configuration directly specified in `reidentify_config` or `inspect_config` will override those set in the template. The `DeidentifyTemplate` used must include only reversible transformations. 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 reidentify_template_name = 6;public ReidentifyContentRequest.Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString value)
Template to use. References an instance of `DeidentifyTemplate`. Any configuration directly specified in `reidentify_config` or `inspect_config` will override those set in the template. The `DeidentifyTemplate` used must include only reversible transformations. 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 reidentify_template_name = 6;value - The bytes for reidentifyTemplateName to set.public String getLocationId()
Deprecated. This field has no effect.
string location_id = 7;getLocationId in interface ReidentifyContentRequestOrBuilderpublic com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 7;getLocationIdBytes in interface ReidentifyContentRequestOrBuilderpublic ReidentifyContentRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 7;value - The locationId to set.public ReidentifyContentRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 7;public ReidentifyContentRequest.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 ReidentifyContentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder>public final ReidentifyContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReidentifyContentRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.