Interface CloudStorageOptions.FileSetOrBuilder (3.21.0)

public static interface CloudStorageOptions.FileSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRegexFileSet()

public abstract 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
TypeDescription
CloudStorageRegexFileSet

The regexFileSet.

getRegexFileSetOrBuilder()

public abstract 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;

Returns
TypeDescription
CloudStorageRegexFileSetOrBuilder

getUrl()

public abstract 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
TypeDescription
String

The url.

getUrlBytes()

public abstract 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
TypeDescription
ByteString

The bytes for url.

hasRegexFileSet()

public abstract 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
TypeDescription
boolean

Whether the regexFileSet field is set.