public static final class CloudStorageOptions.FileSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder> implements CloudStorageOptions.FileSetOrBuilder
Set of files to scan.Protobuf type
google.privacy.dlp.v2.CloudStorageOptions.FileSet| Modifier and Type | Method and Description |
|---|---|
CloudStorageOptions.FileSet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudStorageOptions.FileSet |
build() |
CloudStorageOptions.FileSet |
buildPartial() |
CloudStorageOptions.FileSet.Builder |
clear() |
CloudStorageOptions.FileSet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudStorageOptions.FileSet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudStorageOptions.FileSet.Builder |
clearRegexFileSet()
The regex-filtered set of files to scan.
|
CloudStorageOptions.FileSet.Builder |
clearUrl()
The Cloud Storage url of the file(s) to scan, in the format
`gs://<bucket>/<path>`.
|
CloudStorageOptions.FileSet.Builder |
clone() |
CloudStorageOptions.FileSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CloudStorageRegexFileSet |
getRegexFileSet()
The regex-filtered set of files to scan.
|
CloudStorageRegexFileSet.Builder |
getRegexFileSetBuilder()
The regex-filtered set of files to scan.
|
CloudStorageRegexFileSetOrBuilder |
getRegexFileSetOrBuilder()
The regex-filtered set of files to scan.
|
String |
getUrl()
The Cloud Storage url of the file(s) to scan, in the format
`gs://<bucket>/<path>`.
|
com.google.protobuf.ByteString |
getUrlBytes()
The Cloud Storage url of the file(s) to scan, in the format
`gs://<bucket>/<path>`.
|
boolean |
hasRegexFileSet()
The regex-filtered set of files to scan.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudStorageOptions.FileSet.Builder |
mergeFrom(CloudStorageOptions.FileSet other) |
CloudStorageOptions.FileSet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudStorageOptions.FileSet.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudStorageOptions.FileSet.Builder |
mergeRegexFileSet(CloudStorageRegexFileSet value)
The regex-filtered set of files to scan.
|
CloudStorageOptions.FileSet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudStorageOptions.FileSet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudStorageOptions.FileSet.Builder |
setRegexFileSet(CloudStorageRegexFileSet.Builder builderForValue)
The regex-filtered set of files to scan.
|
CloudStorageOptions.FileSet.Builder |
setRegexFileSet(CloudStorageRegexFileSet value)
The regex-filtered set of files to scan.
|
CloudStorageOptions.FileSet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudStorageOptions.FileSet.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudStorageOptions.FileSet.Builder |
setUrl(String value)
The Cloud Storage url of the file(s) to scan, in the format
`gs://<bucket>/<path>`.
|
CloudStorageOptions.FileSet.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The Cloud Storage url of the file(s) to scan, in the format
`gs://<bucket>/<path>`.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudStorageOptions.FileSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudStorageOptions.FileSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudStorageOptions.FileSet.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder mergeFrom(CloudStorageOptions.FileSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public CloudStorageOptions.FileSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudStorageOptions.FileSet.Builder>IOExceptionpublic 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;getUrl in interface CloudStorageOptions.FileSetOrBuilderpublic 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;getUrlBytes in interface CloudStorageOptions.FileSetOrBuilderpublic 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;value - The url to set.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;public CloudStorageOptions.FileSet.Builder setUrlBytes(com.google.protobuf.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;value - The bytes for url to set.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;hasRegexFileSet in interface CloudStorageOptions.FileSetOrBuilderpublic 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;getRegexFileSet in interface CloudStorageOptions.FileSetOrBuilderpublic 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;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;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;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;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;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;getRegexFileSetOrBuilder in interface CloudStorageOptions.FileSetOrBuilderpublic final CloudStorageOptions.FileSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>public final CloudStorageOptions.FileSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageOptions.FileSet.Builder>Copyright © 2022 Google LLC. All rights reserved.