• 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 QuasiIdOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.QuasiId)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. Identifies the column.
31    * </pre>
32    *
33    * <code>.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
34    * </code>
35    *
36    * @return Whether the field field is set.
37    */
hasField()38   boolean hasField();
39   /**
40    *
41    *
42    * <pre>
43    * Required. Identifies the column.
44    * </pre>
45    *
46    * <code>.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
47    * </code>
48    *
49    * @return The field.
50    */
getField()51   com.google.privacy.dlp.v2.FieldId getField();
52   /**
53    *
54    *
55    * <pre>
56    * Required. Identifies the column.
57    * </pre>
58    *
59    * <code>.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
60    * </code>
61    */
getFieldOrBuilder()62   com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
63 
64   /**
65    *
66    *
67    * <pre>
68    * A column can be tagged with a InfoType to use the relevant public
69    * dataset as a statistical model of population, if available. We
70    * currently support US ZIP codes, region codes, ages and genders.
71    * To programmatically obtain the list of supported InfoTypes, use
72    * ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
73    * </pre>
74    *
75    * <code>.google.privacy.dlp.v2.InfoType info_type = 2;</code>
76    *
77    * @return Whether the infoType field is set.
78    */
hasInfoType()79   boolean hasInfoType();
80   /**
81    *
82    *
83    * <pre>
84    * A column can be tagged with a InfoType to use the relevant public
85    * dataset as a statistical model of population, if available. We
86    * currently support US ZIP codes, region codes, ages and genders.
87    * To programmatically obtain the list of supported InfoTypes, use
88    * ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
89    * </pre>
90    *
91    * <code>.google.privacy.dlp.v2.InfoType info_type = 2;</code>
92    *
93    * @return The infoType.
94    */
getInfoType()95   com.google.privacy.dlp.v2.InfoType getInfoType();
96   /**
97    *
98    *
99    * <pre>
100    * A column can be tagged with a InfoType to use the relevant public
101    * dataset as a statistical model of population, if available. We
102    * currently support US ZIP codes, region codes, ages and genders.
103    * To programmatically obtain the list of supported InfoTypes, use
104    * ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
105    * </pre>
106    *
107    * <code>.google.privacy.dlp.v2.InfoType info_type = 2;</code>
108    */
getInfoTypeOrBuilder()109   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
110 
111   /**
112    *
113    *
114    * <pre>
115    * A column can be tagged with a custom tag. In this case, the user must
116    * indicate an auxiliary table that contains statistical information on
117    * the possible values of this column (below).
118    * </pre>
119    *
120    * <code>string custom_tag = 3;</code>
121    *
122    * @return Whether the customTag field is set.
123    */
hasCustomTag()124   boolean hasCustomTag();
125   /**
126    *
127    *
128    * <pre>
129    * A column can be tagged with a custom tag. In this case, the user must
130    * indicate an auxiliary table that contains statistical information on
131    * the possible values of this column (below).
132    * </pre>
133    *
134    * <code>string custom_tag = 3;</code>
135    *
136    * @return The customTag.
137    */
getCustomTag()138   java.lang.String getCustomTag();
139   /**
140    *
141    *
142    * <pre>
143    * A column can be tagged with a custom tag. In this case, the user must
144    * indicate an auxiliary table that contains statistical information on
145    * the possible values of this column (below).
146    * </pre>
147    *
148    * <code>string custom_tag = 3;</code>
149    *
150    * @return The bytes for customTag.
151    */
getCustomTagBytes()152   com.google.protobuf.ByteString getCustomTagBytes();
153 
154   /**
155    *
156    *
157    * <pre>
158    * If no semantic tag is indicated, we infer the statistical model from
159    * the distribution of values in the input data
160    * </pre>
161    *
162    * <code>.google.protobuf.Empty inferred = 4;</code>
163    *
164    * @return Whether the inferred field is set.
165    */
hasInferred()166   boolean hasInferred();
167   /**
168    *
169    *
170    * <pre>
171    * If no semantic tag is indicated, we infer the statistical model from
172    * the distribution of values in the input data
173    * </pre>
174    *
175    * <code>.google.protobuf.Empty inferred = 4;</code>
176    *
177    * @return The inferred.
178    */
getInferred()179   com.google.protobuf.Empty getInferred();
180   /**
181    *
182    *
183    * <pre>
184    * If no semantic tag is indicated, we infer the statistical model from
185    * the distribution of values in the input data
186    * </pre>
187    *
188    * <code>.google.protobuf.Empty inferred = 4;</code>
189    */
getInferredOrBuilder()190   com.google.protobuf.EmptyOrBuilder getInferredOrBuilder();
191 
getTagCase()192   public com.google.privacy.dlp.v2.QuasiId.TagCase getTagCase();
193 }
194