Interface DeidentifyContentRequestOrBuilder (3.10.0)

public interface DeidentifyContentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeidentifyConfig()

public abstract 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
TypeDescription
DeidentifyConfig

The deidentifyConfig.

getDeidentifyConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
DeidentifyConfigOrBuilder

getDeidentifyTemplateName()

public abstract 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
TypeDescription
String

The deidentifyTemplateName.

getDeidentifyTemplateNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for deidentifyTemplateName.

getInspectConfig()

public abstract 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
TypeDescription
InspectConfig

The inspectConfig.

getInspectConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
InspectConfigOrBuilder

getInspectTemplateName()

public abstract 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
TypeDescription
String

The inspectTemplateName.

getInspectTemplateNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for inspectTemplateName.

getItem()

public abstract ContentItem getItem()

The item to de-identify. Will be treated as text.

.google.privacy.dlp.v2.ContentItem item = 4;

Returns
TypeDescription
ContentItem

The item.

getItemOrBuilder()

public abstract ContentItemOrBuilder getItemOrBuilder()

The item to de-identify. Will be treated as text.

.google.privacy.dlp.v2.ContentItem item = 4;

Returns
TypeDescription
ContentItemOrBuilder

getLocationId()

public abstract String getLocationId()

Deprecated. This field has no effect.

string location_id = 7;

Returns
TypeDescription
String

The locationId.

getLocationIdBytes()

public abstract ByteString getLocationIdBytes()

Deprecated. This field has no effect.

string location_id = 7;

Returns
TypeDescription
ByteString

The bytes for locationId.

getParent()

public abstract String getParent()

Parent resource name. The format of this value varies depending on whether you have specified a processing 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) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Parent resource name. The format of this value varies depending on whether you have specified a processing 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasDeidentifyConfig()

public abstract 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
TypeDescription
boolean

Whether the deidentifyConfig field is set.

hasInspectConfig()

public abstract 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
TypeDescription
boolean

Whether the inspectConfig field is set.

hasItem()

public abstract boolean hasItem()

The item to de-identify. Will be treated as text.

.google.privacy.dlp.v2.ContentItem item = 4;

Returns
TypeDescription
boolean

Whether the item field is set.