Package com.google.privacy.dlp.v2
Interface ReidentifyContentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReidentifyContentRequest,ReidentifyContentRequest.Builder
@Generated
public interface ReidentifyContentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the inspector.Configuration for the inspector.Template to use.com.google.protobuf.ByteStringTemplate to use.getItem()The item to re-identify.The item to re-identify.Deprecated.com.google.protobuf.ByteStringDeprecated.Required.com.google.protobuf.ByteStringRequired.Configuration for the re-identification of the content item.Configuration for the re-identification of the content item.Template to use.com.google.protobuf.ByteStringTemplate to use.booleanConfiguration for the inspector.booleanhasItem()The item to re-identify.booleanConfiguration for the re-identification of the content item.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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/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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
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/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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasReidentifyConfig
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;- Returns:
- Whether the reidentifyConfig field is set.
-
getReidentifyConfig
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;- Returns:
- The reidentifyConfig.
-
getReidentifyConfigOrBuilder
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; -
hasInspectConfig
boolean hasInspectConfig()Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;- Returns:
- Whether the inspectConfig field is set.
-
getInspectConfig
InspectConfig getInspectConfig()Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3;- Returns:
- The inspectConfig.
-
getInspectConfigOrBuilder
InspectConfigOrBuilder getInspectConfigOrBuilder()Configuration for the inspector.
.google.privacy.dlp.v2.InspectConfig inspect_config = 3; -
hasItem
boolean hasItem()The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;- Returns:
- Whether the item field is set.
-
getItem
ContentItem getItem()The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4;- Returns:
- The item.
-
getItemOrBuilder
ContentItemOrBuilder getItemOrBuilder()The item to re-identify. Will be treated as text.
.google.privacy.dlp.v2.ContentItem item = 4; -
getInspectTemplateName
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;- Returns:
- The inspectTemplateName.
-
getInspectTemplateNameBytes
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;- Returns:
- The bytes for inspectTemplateName.
-
getReidentifyTemplateName
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;- Returns:
- The reidentifyTemplateName.
-
getReidentifyTemplateNameBytes
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;- Returns:
- The bytes for reidentifyTemplateName.
-
getLocationId
String getLocationId()Deprecated. This field has no effect.
string location_id = 7;- Returns:
- The locationId.
-
getLocationIdBytes
com.google.protobuf.ByteString getLocationIdBytes()Deprecated. This field has no effect.
string location_id = 7;- Returns:
- The bytes for locationId.
-