Skip to content

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: 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
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 13, 2022
1 parent 306ada0 commit ba4bde4
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.

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 ba4bde4

Please sign in to comment.