Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
feat: InfoType categories were added to built-in infoTypes (#922)
Browse files Browse the repository at this point in the history
* feat: InfoType categories were added to built-in infoTypes

PiperOrigin-RevId: 460542545

Source-Link: googleapis/googleapis@898fcea

Source-Link: googleapis/googleapis-gen@e97b0c9
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
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jul 13, 2022
1 parent 6a6a873 commit 5a3af6c
Show file tree
Hide file tree
Showing 10 changed files with 4,854 additions and 1,235 deletions.

Large diffs are not rendered by default.

2,230 changes: 1,136 additions & 1,094 deletions proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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();
}
Loading

0 comments on commit 5a3af6c

Please sign in to comment.