public static final class CloudStorageOptions.FileSet extends GeneratedMessageV3 implements CloudStorageOptions.FileSetOrBuilder
Set of files to scan.
Protobuf type google.privacy.dlp.v2.CloudStorageOptions.FileSet
Static Fields
REGEX_FILE_SET_FIELD_NUMBER
public static final int REGEX_FILE_SET_FIELD_NUMBER
Field Value
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CloudStorageOptions.FileSet getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CloudStorageOptions.FileSet.Builder newBuilder()
Returns
newBuilder(CloudStorageOptions.FileSet prototype)
public static CloudStorageOptions.FileSet.Builder newBuilder(CloudStorageOptions.FileSet prototype)
Parameter
Returns
public static CloudStorageOptions.FileSet parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CloudStorageOptions.FileSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CloudStorageOptions.FileSet parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudStorageOptions.FileSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CloudStorageOptions.FileSet parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudStorageOptions.FileSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudStorageOptions.FileSet parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CloudStorageOptions.FileSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CloudStorageOptions.FileSet parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CloudStorageOptions.FileSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CloudStorageOptions.FileSet parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudStorageOptions.FileSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CloudStorageOptions.FileSet> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CloudStorageOptions.FileSet getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CloudStorageOptions.FileSet> getParserForType()
Returns
Overrides
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CloudStorageOptions.FileSet.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudStorageOptions.FileSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CloudStorageOptions.FileSet.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions