Package com.google.privacy.dlp.v2
Interface InspectContentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InspectContentRequest,InspectContentRequest.Builder
public interface InspectContentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InspectConfiggetInspectConfig()Configuration for the inspector.InspectConfigOrBuildergetInspectConfigOrBuilder()Configuration for the inspector.StringgetInspectTemplateName()Template to use.com.google.protobuf.ByteStringgetInspectTemplateNameBytes()Template to use.ContentItemgetItem()The item to inspect.ContentItemOrBuildergetItemOrBuilder()The item to inspect.StringgetLocationId()Deprecated.com.google.protobuf.ByteStringgetLocationIdBytes()Deprecated.StringgetParent()Parent resource name.com.google.protobuf.ByteStringgetParentBytes()Parent resource name.booleanhasInspectConfig()Configuration for the inspector.booleanhasItem()The item to inspect.-
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()
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-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/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-west3string parent = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasInspectConfig
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:
- Whether the inspectConfig field is set.
-
getInspectConfig
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:
- The inspectConfig.
-
getInspectConfigOrBuilder
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;
-
hasItem
boolean hasItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;- Returns:
- Whether the item field is set.
-
getItem
ContentItem getItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;- Returns:
- The item.
-
getItemOrBuilder
ContentItemOrBuilder getItemOrBuilder()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
-
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 = 4;- 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 = 4;- Returns:
- The bytes for inspectTemplateName.
-
getLocationId
String getLocationId()
Deprecated. This field has no effect.
string location_id = 5;- Returns:
- The locationId.
-
getLocationIdBytes
com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 5;- Returns:
- The bytes for locationId.
-
-