• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/privacy/dlp/v2/dlp.proto
18 
19 package com.google.privacy.dlp.v2;
20 
21 public interface InspectionRuleOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectionRule)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Hotword-based detection rule.
31    * </pre>
32    *
33    * <code>.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;</code>
34    *
35    * @return Whether the hotwordRule field is set.
36    */
hasHotwordRule()37   boolean hasHotwordRule();
38   /**
39    *
40    *
41    * <pre>
42    * Hotword-based detection rule.
43    * </pre>
44    *
45    * <code>.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;</code>
46    *
47    * @return The hotwordRule.
48    */
getHotwordRule()49   com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule();
50   /**
51    *
52    *
53    * <pre>
54    * Hotword-based detection rule.
55    * </pre>
56    *
57    * <code>.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;</code>
58    */
59   com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
getHotwordRuleOrBuilder()60       getHotwordRuleOrBuilder();
61 
62   /**
63    *
64    *
65    * <pre>
66    * Exclusion rule.
67    * </pre>
68    *
69    * <code>.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;</code>
70    *
71    * @return Whether the exclusionRule field is set.
72    */
hasExclusionRule()73   boolean hasExclusionRule();
74   /**
75    *
76    *
77    * <pre>
78    * Exclusion rule.
79    * </pre>
80    *
81    * <code>.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;</code>
82    *
83    * @return The exclusionRule.
84    */
getExclusionRule()85   com.google.privacy.dlp.v2.ExclusionRule getExclusionRule();
86   /**
87    *
88    *
89    * <pre>
90    * Exclusion rule.
91    * </pre>
92    *
93    * <code>.google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;</code>
94    */
getExclusionRuleOrBuilder()95   com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilder();
96 
getTypeCase()97   public com.google.privacy.dlp.v2.InspectionRule.TypeCase getTypeCase();
98 }
99