com.google.privacy.dlp.v2.InspectContentRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dlp-v2 Show documentation
Show all versions of proto-google-cloud-dlp-v2 Show documentation
PROTO library for proto-google-cloud-dlp-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto
// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;
public interface InspectContentRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectContentRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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-west3
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
*
* @return The parent.
*/
java.lang.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-west3
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
/**
*
*
*
* 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;
*
* @return Whether the inspectConfig field is set.
*/
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;
*
* @return The inspectConfig.
*/
com.google.privacy.dlp.v2.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;
*/
com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
/**
*
*
*
* The item to inspect.
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
*
* @return Whether the item field is set.
*/
boolean hasItem();
/**
*
*
*
* The item to inspect.
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
*
* @return The item.
*/
com.google.privacy.dlp.v2.ContentItem getItem();
/**
*
*
*
* The item to inspect.
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
*/
com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder();
/**
*
*
*
* 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;
*
* @return The inspectTemplateName.
*/
java.lang.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;
*
* @return The bytes for inspectTemplateName.
*/
com.google.protobuf.ByteString getInspectTemplateNameBytes();
/**
*
*
*
* Deprecated. This field has no effect.
*
*
* string location_id = 5;
*
* @return The locationId.
*/
java.lang.String getLocationId();
/**
*
*
*
* Deprecated. This field has no effect.
*
*
* string location_id = 5;
*
* @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}