Class FileStoreRegex.Builder (3.57.0)

public static final class FileStoreRegex.Builder extends GeneratedMessageV3.Builder<FileStoreRegex.Builder> implements FileStoreRegexOrBuilder

A pattern to match against one or more file stores.

Protobuf type google.privacy.dlp.v2.FileStoreRegex

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileStoreRegex build()
Returns
Type Description
FileStoreRegex

buildPartial()

public FileStoreRegex buildPartial()
Returns
Type Description
FileStoreRegex

clear()

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

clearCloudStorageRegex()

public FileStoreRegex.Builder clearCloudStorageRegex()

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileStoreRegex.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceRegex()

public FileStoreRegex.Builder clearResourceRegex()
Returns
Type Description
FileStoreRegex.Builder

clone()

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

getCloudStorageRegex()

public CloudStorageRegex getCloudStorageRegex()

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudStorageRegex

The cloudStorageRegex.

getCloudStorageRegexBuilder()

public CloudStorageRegex.Builder getCloudStorageRegexBuilder()

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudStorageRegex.Builder

getCloudStorageRegexOrBuilder()

public CloudStorageRegexOrBuilder getCloudStorageRegexOrBuilder()

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudStorageRegexOrBuilder

getDefaultInstanceForType()

public FileStoreRegex getDefaultInstanceForType()
Returns
Type Description
FileStoreRegex

getDescriptorForType()

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

getResourceRegexCase()

public FileStoreRegex.ResourceRegexCase getResourceRegexCase()
Returns
Type Description
FileStoreRegex.ResourceRegexCase

hasCloudStorageRegex()

public boolean hasCloudStorageRegex()

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cloudStorageRegex field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudStorageRegex(CloudStorageRegex value)

public FileStoreRegex.Builder mergeCloudStorageRegex(CloudStorageRegex value)

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudStorageRegex
Returns
Type Description
FileStoreRegex.Builder

mergeFrom(FileStoreRegex other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudStorageRegex(CloudStorageRegex value)

public FileStoreRegex.Builder setCloudStorageRegex(CloudStorageRegex value)

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudStorageRegex
Returns
Type Description
FileStoreRegex.Builder

setCloudStorageRegex(CloudStorageRegex.Builder builderForValue)

public FileStoreRegex.Builder setCloudStorageRegex(CloudStorageRegex.Builder builderForValue)

Optional. Regex for Cloud Storage.

.google.privacy.dlp.v2.CloudStorageRegex cloud_storage_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CloudStorageRegex.Builder
Returns
Type Description
FileStoreRegex.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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