Package com.google.privacy.dlp.v2
Interface CloudStorageRegexFileSetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudStorageRegexFileSet
,CloudStorageRegexFileSet.Builder
public interface CloudStorageRegexFileSetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBucketName()
The name of a Cloud Storage bucket.com.google.protobuf.ByteString
getBucketNameBytes()
The name of a Cloud Storage bucket.String
getExcludeRegex(int index)
A list of regular expressions matching file paths to exclude.com.google.protobuf.ByteString
getExcludeRegexBytes(int index)
A list of regular expressions matching file paths to exclude.int
getExcludeRegexCount()
A list of regular expressions matching file paths to exclude.List<String>
getExcludeRegexList()
A list of regular expressions matching file paths to exclude.String
getIncludeRegex(int index)
A list of regular expressions matching file paths to include.com.google.protobuf.ByteString
getIncludeRegexBytes(int index)
A list of regular expressions matching file paths to include.int
getIncludeRegexCount()
A list of regular expressions matching file paths to include.List<String>
getIncludeRegexList()
A list of regular expressions matching file paths to include.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBucketName
String getBucketName()
The name of a Cloud Storage bucket. Required.
string bucket_name = 1;
- Returns:
- The bucketName.
-
getBucketNameBytes
com.google.protobuf.ByteString getBucketNameBytes()
The name of a Cloud Storage bucket. Required.
string bucket_name = 1;
- Returns:
- The bytes for bucketName.
-
getIncludeRegexList
List<String> getIncludeRegexList()
A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in `exclude_regex`. Leaving this field empty will match all files by default (this is equivalent to including `.*` in the list). Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string include_regex = 2;
- Returns:
- A list containing the includeRegex.
-
getIncludeRegexCount
int getIncludeRegexCount()
A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in `exclude_regex`. Leaving this field empty will match all files by default (this is equivalent to including `.*` in the list). Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string include_regex = 2;
- Returns:
- The count of includeRegex.
-
getIncludeRegex
String getIncludeRegex(int index)
A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in `exclude_regex`. Leaving this field empty will match all files by default (this is equivalent to including `.*` in the list). Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string include_regex = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The includeRegex at the given index.
-
getIncludeRegexBytes
com.google.protobuf.ByteString getIncludeRegexBytes(int index)
A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in `exclude_regex`. Leaving this field empty will match all files by default (this is equivalent to including `.*` in the list). Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string include_regex = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the includeRegex at the given index.
-
getExcludeRegexList
List<String> getExcludeRegexList()
A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string exclude_regex = 3;
- Returns:
- A list containing the excludeRegex.
-
getExcludeRegexCount
int getExcludeRegexCount()
A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string exclude_regex = 3;
- Returns:
- The count of excludeRegex.
-
getExcludeRegex
String getExcludeRegex(int index)
A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string exclude_regex = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The excludeRegex at the given index.
-
getExcludeRegexBytes
com.google.protobuf.ByteString getExcludeRegexBytes(int index)
A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
repeated string exclude_regex = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the excludeRegex at the given index.
-
-