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
public interface ReidentifyContentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InspectConfig
getInspectConfig()
Configuration for the inspector.InspectConfigOrBuilder
getInspectConfigOrBuilder()
Configuration for the inspector.String
getInspectTemplateName()
Template to use.com.google.protobuf.ByteString
getInspectTemplateNameBytes()
Template to use.ContentItem
getItem()
The item to re-identify.ContentItemOrBuilder
getItemOrBuilder()
The item to re-identify.String
getLocationId()
Deprecated.com.google.protobuf.ByteString
getLocationIdBytes()
Deprecated.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.DeidentifyConfig
getReidentifyConfig()
Configuration for the re-identification of the content item.DeidentifyConfigOrBuilder
getReidentifyConfigOrBuilder()
Configuration for the re-identification of the content item.String
getReidentifyTemplateName()
Template to use.com.google.protobuf.ByteString
getReidentifyTemplateNameBytes()
Template to use.boolean
hasInspectConfig()
Configuration for the inspector.boolean
hasItem()
The item to re-identify.boolean
hasReidentifyConfig()
Configuration for the re-identification of the content item.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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/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) = { ... }
- 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/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) = { ... }
- 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.
-
-