Class FileStoreCollection.Builder (3.57.0)

public static final class FileStoreCollection.Builder extends GeneratedMessageV3.Builder<FileStoreCollection.Builder> implements FileStoreCollectionOrBuilder

Match file stores (e.g. buckets) using regex filters.

Protobuf type google.privacy.dlp.v2.FileStoreCollection

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FileStoreCollection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileStoreCollection.Builder
Overrides

build()

public FileStoreCollection build()
Returns
Type Description
FileStoreCollection

buildPartial()

public FileStoreCollection buildPartial()
Returns
Type Description
FileStoreCollection

clear()

public FileStoreCollection.Builder clear()
Returns
Type Description
FileStoreCollection.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FileStoreCollection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FileStoreCollection.Builder
Overrides

clearIncludeRegexes()

public FileStoreCollection.Builder clearIncludeRegexes()

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreCollection.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FileStoreCollection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FileStoreCollection.Builder
Overrides

clearPattern()

public FileStoreCollection.Builder clearPattern()
Returns
Type Description
FileStoreCollection.Builder

clone()

public FileStoreCollection.Builder clone()
Returns
Type Description
FileStoreCollection.Builder
Overrides

getDefaultInstanceForType()

public FileStoreCollection getDefaultInstanceForType()
Returns
Type Description
FileStoreCollection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncludeRegexes()

public FileStoreRegexes getIncludeRegexes()

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreRegexes

The includeRegexes.

getIncludeRegexesBuilder()

public FileStoreRegexes.Builder getIncludeRegexesBuilder()

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreRegexes.Builder

getIncludeRegexesOrBuilder()

public FileStoreRegexesOrBuilder getIncludeRegexesOrBuilder()

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreRegexesOrBuilder

getPatternCase()

public FileStoreCollection.PatternCase getPatternCase()
Returns
Type Description
FileStoreCollection.PatternCase

hasIncludeRegexes()

public boolean hasIncludeRegexes()

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the includeRegexes field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FileStoreCollection other)

public FileStoreCollection.Builder mergeFrom(FileStoreCollection other)
Parameter
Name Description
other FileStoreCollection
Returns
Type Description
FileStoreCollection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FileStoreCollection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreCollection.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FileStoreCollection.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FileStoreCollection.Builder
Overrides

mergeIncludeRegexes(FileStoreRegexes value)

public FileStoreCollection.Builder mergeIncludeRegexes(FileStoreRegexes value)

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FileStoreRegexes
Returns
Type Description
FileStoreCollection.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FileStoreCollection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileStoreCollection.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FileStoreCollection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileStoreCollection.Builder
Overrides

setIncludeRegexes(FileStoreRegexes value)

public FileStoreCollection.Builder setIncludeRegexes(FileStoreRegexes value)

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FileStoreRegexes
Returns
Type Description
FileStoreCollection.Builder

setIncludeRegexes(FileStoreRegexes.Builder builderForValue)

public FileStoreCollection.Builder setIncludeRegexes(FileStoreRegexes.Builder builderForValue)

Optional. A collection of regular expressions to match a file store against.

.google.privacy.dlp.v2.FileStoreRegexes include_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue FileStoreRegexes.Builder
Returns
Type Description
FileStoreCollection.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FileStoreCollection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FileStoreCollection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FileStoreCollection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileStoreCollection.Builder
Overrides