Package com.google.privacy.dlp.v2
Interface CloudStorageOptions.FileSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudStorageOptions.FileSet,CloudStorageOptions.FileSet.Builder
- Enclosing class:
- CloudStorageOptions
public static interface CloudStorageOptions.FileSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe regex-filtered set of files to scan.The regex-filtered set of files to scan.getUrl()The Cloud Storage url of the file(s) to scan, in the format `gs://<bucket>/<path>`.com.google.protobuf.ByteStringThe Cloud Storage url of the file(s) to scan, in the format `gs://<bucket>/<path>`.booleanThe regex-filtered set of files to scan.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUrl
String getUrl()The Cloud Storage url of the file(s) to scan, in the format `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means that `gs://mybucket/` is equivalent to `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`. Exactly one of `url` or `regex_file_set` must be set.
string url = 1;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()The Cloud Storage url of the file(s) to scan, in the format `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means that `gs://mybucket/` is equivalent to `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`. Exactly one of `url` or `regex_file_set` must be set.
string url = 1;- Returns:
- The bytes for url.
-
hasRegexFileSet
boolean hasRegexFileSet()The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set.
.google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;- Returns:
- Whether the regexFileSet field is set.
-
getRegexFileSet
CloudStorageRegexFileSet getRegexFileSet()The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set.
.google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;- Returns:
- The regexFileSet.
-
getRegexFileSetOrBuilder
CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder()The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set.
.google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
-