• 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 FixedSizeBucketingConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FixedSizeBucketingConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. Lower bound value of buckets. All values less than `lower_bound` are
31    * grouped together into a single bucket; for example if `lower_bound` = 10,
32    * then all values less than 10 are replaced with the value "-10".
33    * </pre>
34    *
35    * <code>.google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];
36    * </code>
37    *
38    * @return Whether the lowerBound field is set.
39    */
hasLowerBound()40   boolean hasLowerBound();
41   /**
42    *
43    *
44    * <pre>
45    * Required. Lower bound value of buckets. All values less than `lower_bound` are
46    * grouped together into a single bucket; for example if `lower_bound` = 10,
47    * then all values less than 10 are replaced with the value "-10".
48    * </pre>
49    *
50    * <code>.google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];
51    * </code>
52    *
53    * @return The lowerBound.
54    */
getLowerBound()55   com.google.privacy.dlp.v2.Value getLowerBound();
56   /**
57    *
58    *
59    * <pre>
60    * Required. Lower bound value of buckets. All values less than `lower_bound` are
61    * grouped together into a single bucket; for example if `lower_bound` = 10,
62    * then all values less than 10 are replaced with the value "-10".
63    * </pre>
64    *
65    * <code>.google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED];
66    * </code>
67    */
getLowerBoundOrBuilder()68   com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder();
69 
70   /**
71    *
72    *
73    * <pre>
74    * Required. Upper bound value of buckets. All values greater than upper_bound are
75    * grouped together into a single bucket; for example if `upper_bound` = 89,
76    * then all values greater than 89 are replaced with the value "89+".
77    * </pre>
78    *
79    * <code>.google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];
80    * </code>
81    *
82    * @return Whether the upperBound field is set.
83    */
hasUpperBound()84   boolean hasUpperBound();
85   /**
86    *
87    *
88    * <pre>
89    * Required. Upper bound value of buckets. All values greater than upper_bound are
90    * grouped together into a single bucket; for example if `upper_bound` = 89,
91    * then all values greater than 89 are replaced with the value "89+".
92    * </pre>
93    *
94    * <code>.google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];
95    * </code>
96    *
97    * @return The upperBound.
98    */
getUpperBound()99   com.google.privacy.dlp.v2.Value getUpperBound();
100   /**
101    *
102    *
103    * <pre>
104    * Required. Upper bound value of buckets. All values greater than upper_bound are
105    * grouped together into a single bucket; for example if `upper_bound` = 89,
106    * then all values greater than 89 are replaced with the value "89+".
107    * </pre>
108    *
109    * <code>.google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED];
110    * </code>
111    */
getUpperBoundOrBuilder()112   com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder();
113 
114   /**
115    *
116    *
117    * <pre>
118    * Required. Size of each bucket (except for minimum and maximum buckets). So if
119    * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
120    * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
121    * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
122    * </pre>
123    *
124    * <code>double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED];</code>
125    *
126    * @return The bucketSize.
127    */
getBucketSize()128   double getBucketSize();
129 }
130