Package com.google.privacy.dlp.v2
Interface DeidentifyContentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeidentifyContentRequest,DeidentifyContentRequest.Builder
@Generated
public interface DeidentifyContentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the de-identification of the content item.Configuration for the de-identification of the content item.Template to use.com.google.protobuf.ByteStringTemplate to use.Configuration for the inspector.Configuration for the inspector.Template to use.com.google.protobuf.ByteStringTemplate to use.getItem()The item to de-identify.The item to de-identify.Deprecated.com.google.protobuf.ByteStringDeprecated.Parent resource name.com.google.protobuf.ByteStringParent resource name.booleanConfiguration for the de-identification of the content item.booleanConfiguration for the inspector.booleanhasItem()The item to de-identify.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()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:
- The parent.
-
getParentBytes
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) = { ... }- Returns:
- The bytes for parent.
-
hasDeidentifyConfig
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;- Returns:
- Whether the deidentifyConfig field is set.
-
getDeidentifyConfig
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;- Returns:
- The deidentifyConfig.
-
getDeidentifyConfigOrBuilder
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; -
hasInspectConfig
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;- Returns:
- Whether the inspectConfig field is set.
-
getInspectConfig
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;- Returns:
- The inspectConfig.
-
getInspectConfigOrBuilder
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; -
hasItem
boolean hasItem()The item to de-identify. Will be treated as text. This value must be of type [Table][google.privacy.dlp.v2.Table] if your [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config] is a [RecordTransformations][google.privacy.dlp.v2.RecordTransformations] object.
.google.privacy.dlp.v2.ContentItem item = 4;- Returns:
- Whether the item field is set.
-
getItem
ContentItem getItem()The item to de-identify. Will be treated as text. This value must be of type [Table][google.privacy.dlp.v2.Table] if your [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config] is a [RecordTransformations][google.privacy.dlp.v2.RecordTransformations] object.
.google.privacy.dlp.v2.ContentItem item = 4;- Returns:
- The item.
-
getItemOrBuilder
ContentItemOrBuilder getItemOrBuilder()The item to de-identify. Will be treated as text. This value must be of type [Table][google.privacy.dlp.v2.Table] if your [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config] is a [RecordTransformations][google.privacy.dlp.v2.RecordTransformations] object.
.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.
-
getDeidentifyTemplateName
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;- Returns:
- The deidentifyTemplateName.
-
getDeidentifyTemplateNameBytes
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;- Returns:
- The bytes for deidentifyTemplateName.
-
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.
-