• 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/storage.proto
18 
19 package com.google.privacy.dlp.v2;
20 
21 public interface CloudStorageRegexFileSetOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageRegexFileSet)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The name of a Cloud Storage bucket. Required.
31    * </pre>
32    *
33    * <code>string bucket_name = 1;</code>
34    *
35    * @return The bucketName.
36    */
getBucketName()37   java.lang.String getBucketName();
38   /**
39    *
40    *
41    * <pre>
42    * The name of a Cloud Storage bucket. Required.
43    * </pre>
44    *
45    * <code>string bucket_name = 1;</code>
46    *
47    * @return The bytes for bucketName.
48    */
getBucketNameBytes()49   com.google.protobuf.ByteString getBucketNameBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * A list of regular expressions matching file paths to include. All files in
56    * the bucket that match at least one of these regular expressions will be
57    * included in the set of files, except for those that also match an item in
58    * `exclude_regex`. Leaving this field empty will match all files by default
59    * (this is equivalent to including `.*` in the list).
60    * Regular expressions use RE2
61    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
62    * under the google/re2 repository on GitHub.
63    * </pre>
64    *
65    * <code>repeated string include_regex = 2;</code>
66    *
67    * @return A list containing the includeRegex.
68    */
getIncludeRegexList()69   java.util.List<java.lang.String> getIncludeRegexList();
70   /**
71    *
72    *
73    * <pre>
74    * A list of regular expressions matching file paths to include. All files in
75    * the bucket that match at least one of these regular expressions will be
76    * included in the set of files, except for those that also match an item in
77    * `exclude_regex`. Leaving this field empty will match all files by default
78    * (this is equivalent to including `.*` in the list).
79    * Regular expressions use RE2
80    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
81    * under the google/re2 repository on GitHub.
82    * </pre>
83    *
84    * <code>repeated string include_regex = 2;</code>
85    *
86    * @return The count of includeRegex.
87    */
getIncludeRegexCount()88   int getIncludeRegexCount();
89   /**
90    *
91    *
92    * <pre>
93    * A list of regular expressions matching file paths to include. All files in
94    * the bucket that match at least one of these regular expressions will be
95    * included in the set of files, except for those that also match an item in
96    * `exclude_regex`. Leaving this field empty will match all files by default
97    * (this is equivalent to including `.*` in the list).
98    * Regular expressions use RE2
99    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
100    * under the google/re2 repository on GitHub.
101    * </pre>
102    *
103    * <code>repeated string include_regex = 2;</code>
104    *
105    * @param index The index of the element to return.
106    * @return The includeRegex at the given index.
107    */
getIncludeRegex(int index)108   java.lang.String getIncludeRegex(int index);
109   /**
110    *
111    *
112    * <pre>
113    * A list of regular expressions matching file paths to include. All files in
114    * the bucket that match at least one of these regular expressions will be
115    * included in the set of files, except for those that also match an item in
116    * `exclude_regex`. Leaving this field empty will match all files by default
117    * (this is equivalent to including `.*` in the list).
118    * Regular expressions use RE2
119    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
120    * under the google/re2 repository on GitHub.
121    * </pre>
122    *
123    * <code>repeated string include_regex = 2;</code>
124    *
125    * @param index The index of the value to return.
126    * @return The bytes of the includeRegex at the given index.
127    */
getIncludeRegexBytes(int index)128   com.google.protobuf.ByteString getIncludeRegexBytes(int index);
129 
130   /**
131    *
132    *
133    * <pre>
134    * A list of regular expressions matching file paths to exclude. All files in
135    * the bucket that match at least one of these regular expressions will be
136    * excluded from the scan.
137    * Regular expressions use RE2
138    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
139    * under the google/re2 repository on GitHub.
140    * </pre>
141    *
142    * <code>repeated string exclude_regex = 3;</code>
143    *
144    * @return A list containing the excludeRegex.
145    */
getExcludeRegexList()146   java.util.List<java.lang.String> getExcludeRegexList();
147   /**
148    *
149    *
150    * <pre>
151    * A list of regular expressions matching file paths to exclude. All files in
152    * the bucket that match at least one of these regular expressions will be
153    * excluded from the scan.
154    * Regular expressions use RE2
155    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
156    * under the google/re2 repository on GitHub.
157    * </pre>
158    *
159    * <code>repeated string exclude_regex = 3;</code>
160    *
161    * @return The count of excludeRegex.
162    */
getExcludeRegexCount()163   int getExcludeRegexCount();
164   /**
165    *
166    *
167    * <pre>
168    * A list of regular expressions matching file paths to exclude. All files in
169    * the bucket that match at least one of these regular expressions will be
170    * excluded from the scan.
171    * Regular expressions use RE2
172    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
173    * under the google/re2 repository on GitHub.
174    * </pre>
175    *
176    * <code>repeated string exclude_regex = 3;</code>
177    *
178    * @param index The index of the element to return.
179    * @return The excludeRegex at the given index.
180    */
getExcludeRegex(int index)181   java.lang.String getExcludeRegex(int index);
182   /**
183    *
184    *
185    * <pre>
186    * A list of regular expressions matching file paths to exclude. All files in
187    * the bucket that match at least one of these regular expressions will be
188    * excluded from the scan.
189    * Regular expressions use RE2
190    * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
191    * under the google/re2 repository on GitHub.
192    * </pre>
193    *
194    * <code>repeated string exclude_regex = 3;</code>
195    *
196    * @param index The index of the value to return.
197    * @return The bytes of the excludeRegex at the given index.
198    */
getExcludeRegexBytes(int index)199   com.google.protobuf.ByteString getExcludeRegexBytes(int index);
200 }
201