public static final class CloudStorageOptions.FileSet.Builder extends GeneratedMessage.Builder<CloudStorageOptions.FileSet.Builder> implements CloudStorageOptions.FileSetOrBuilderSet of files to scan.
Protobuf type google.privacy.dlp.v2.CloudStorageOptions.FileSet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudStorageOptions.FileSet.BuilderImplements
CloudStorageOptions.FileSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudStorageOptions.FileSet build()| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet |
|
buildPartial()
public CloudStorageOptions.FileSet buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet |
|
clear()
public CloudStorageOptions.FileSet.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
clearRegexFileSet()
public CloudStorageOptions.FileSet.Builder clearRegexFileSet() 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 | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
clearUrl()
public CloudStorageOptions.FileSet.Builder clearUrl() 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 | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CloudStorageOptions.FileSet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRegexFileSet()
public 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 | |
|---|---|
| Type | Description |
CloudStorageRegexFileSet |
The regexFileSet. |
getRegexFileSetBuilder()
public CloudStorageRegexFileSet.Builder getRegexFileSetBuilder() 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 | |
|---|---|
| Type | Description |
CloudStorageRegexFileSet.Builder |
|
getRegexFileSetOrBuilder()
public 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 | |
|---|---|
| Type | Description |
CloudStorageRegexFileSetOrBuilder |
|
getUrl()
public 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 | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
hasRegexFileSet()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the regexFileSet field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudStorageOptions.FileSet other)
public CloudStorageOptions.FileSet.Builder mergeFrom(CloudStorageOptions.FileSet other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudStorageOptions.FileSet |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudStorageOptions.FileSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudStorageOptions.FileSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
mergeRegexFileSet(CloudStorageRegexFileSet value)
public CloudStorageOptions.FileSet.Builder mergeRegexFileSet(CloudStorageRegexFileSet value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudStorageRegexFileSet |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
setRegexFileSet(CloudStorageRegexFileSet value)
public CloudStorageOptions.FileSet.Builder setRegexFileSet(CloudStorageRegexFileSet value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudStorageRegexFileSet |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
setRegexFileSet(CloudStorageRegexFileSet.Builder builderForValue)
public CloudStorageOptions.FileSet.Builder setRegexFileSet(CloudStorageRegexFileSet.Builder builderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CloudStorageRegexFileSet.Builder |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
|
setUrl(String value)
public CloudStorageOptions.FileSet.Builder setUrl(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public CloudStorageOptions.FileSet.Builder setUrlBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
CloudStorageOptions.FileSet.Builder |
This builder for chaining. |