Interface InspectContentRequestOrBuilder (3.38.0)

public interface InspectContentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInspectConfig()

public abstract InspectConfig getInspectConfig()

Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
TypeDescription
InspectConfig

The inspectConfig.

getInspectConfigOrBuilder()

public abstract InspectConfigOrBuilder getInspectConfigOrBuilder()

Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

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 = 4;

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 = 4;

Returns
TypeDescription
ByteString

The bytes for inspectTemplateName.

getItem()

public abstract ContentItem getItem()

The item to inspect.

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

Returns
TypeDescription
ContentItem

The item.

getItemOrBuilder()

public abstract ContentItemOrBuilder getItemOrBuilder()

The item to inspect.

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

Returns
TypeDescription
ContentItemOrBuilder

getLocationId()

public abstract String getLocationId()

Deprecated. This field has no effect.

string location_id = 5;

Returns
TypeDescription
String

The locationId.

getLocationIdBytes()

public abstract ByteString getLocationIdBytes()

Deprecated. This field has no effect.

string location_id = 5;

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.

hasInspectConfig()

public abstract boolean hasInspectConfig()

Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
TypeDescription
boolean

Whether the inspectConfig field is set.

hasItem()

public abstract boolean hasItem()

The item to inspect.

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

Returns
TypeDescription
boolean

Whether the item field is set.