-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: InfoType categories were added to built-in infoTypes (#922)
* feat: InfoType categories were added to built-in infoTypes PiperOrigin-RevId: 460542545 Source-Link: googleapis/googleapis@898fcea Source-Link: https://github.com/googleapis/googleapis-gen/commit/e97b0c9527bb7172a3f8f3bc411de83468fd6a77 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTk3YjBjOTUyN2JiNzE3MmEzZjhmM2JjNDExZGU4MzQ2OGZkNmE3NyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
306ada0
commit ba4bde4
Showing
10 changed files
with
4,854 additions
and
1,235 deletions.
There are no files selected for viewing
330 changes: 205 additions & 125 deletions
330
...dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
Large diffs are not rendered by default.
Oops, something went wrong.
2,230 changes: 1,136 additions & 1,094 deletions
2,230
java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
Large diffs are not rendered by default.
Oops, something went wrong.
2,610 changes: 2,610 additions & 0 deletions
2,610
...p/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java
Large diffs are not rendered by default.
Oops, something went wrong.
141 changes: 141 additions & 0 deletions
141
...oogle-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
/* | ||
* Copyright 2020 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 | ||
|
||
package com.google.privacy.dlp.v2; | ||
|
||
public interface InfoTypeCategoryOrBuilder | ||
extends | ||
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeCategory) | ||
com.google.protobuf.MessageOrBuilder { | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* The region or country that issued the ID or document represented by the | ||
* infoType. | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;</code> | ||
* | ||
* @return Whether the locationCategory field is set. | ||
*/ | ||
boolean hasLocationCategory(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The region or country that issued the ID or document represented by the | ||
* infoType. | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;</code> | ||
* | ||
* @return The enum numeric value on the wire for locationCategory. | ||
*/ | ||
int getLocationCategoryValue(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The region or country that issued the ID or document represented by the | ||
* infoType. | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1;</code> | ||
* | ||
* @return The locationCategory. | ||
*/ | ||
com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* The group of relevant businesses where this infoType is commonly used | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;</code> | ||
* | ||
* @return Whether the industryCategory field is set. | ||
*/ | ||
boolean hasIndustryCategory(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The group of relevant businesses where this infoType is commonly used | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;</code> | ||
* | ||
* @return The enum numeric value on the wire for industryCategory. | ||
*/ | ||
int getIndustryCategoryValue(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The group of relevant businesses where this infoType is commonly used | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2;</code> | ||
* | ||
* @return The industryCategory. | ||
*/ | ||
com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory(); | ||
|
||
/** | ||
* | ||
* | ||
* <pre> | ||
* The class of identifiers where this infoType belongs | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;</code> | ||
* | ||
* @return Whether the typeCategory field is set. | ||
*/ | ||
boolean hasTypeCategory(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The class of identifiers where this infoType belongs | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;</code> | ||
* | ||
* @return The enum numeric value on the wire for typeCategory. | ||
*/ | ||
int getTypeCategoryValue(); | ||
/** | ||
* | ||
* | ||
* <pre> | ||
* The class of identifiers where this infoType belongs | ||
* </pre> | ||
* | ||
* <code>.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3;</code> | ||
* | ||
* @return The typeCategory. | ||
*/ | ||
com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory(); | ||
|
||
public com.google.privacy.dlp.v2.InfoTypeCategory.CategoryCase getCategoryCase(); | ||
} |
Oops, something went wrong.