Class FileStoreRegexes (3.56.0)

public final class FileStoreRegexes extends GeneratedMessageV3 implements FileStoreRegexesOrBuilder

A collection of regular expressions to determine what file store to match against.

Protobuf type google.privacy.dlp.v2.FileStoreRegexes

Static Fields

PATTERNS_FIELD_NUMBER

public static final int PATTERNS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FileStoreRegexes getDefaultInstance()
Returns
Type Description
FileStoreRegexes

getDescriptor()

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

newBuilder()

public static FileStoreRegexes.Builder newBuilder()
Returns
Type Description
FileStoreRegexes.Builder

newBuilder(FileStoreRegexes prototype)

public static FileStoreRegexes.Builder newBuilder(FileStoreRegexes prototype)
Parameter
Name Description
prototype FileStoreRegexes
Returns
Type Description
FileStoreRegexes.Builder

parseDelimitedFrom(InputStream input)

public static FileStoreRegexes parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileStoreRegexes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FileStoreRegexes parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FileStoreRegexes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FileStoreRegexes parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FileStoreRegexes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FileStoreRegexes parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FileStoreRegexes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FileStoreRegexes parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileStoreRegexes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FileStoreRegexes parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FileStoreRegexes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreRegexes
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FileStoreRegexes> parser()
Returns
Type Description
Parser<FileStoreRegexes>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FileStoreRegexes getDefaultInstanceForType()
Returns
Type Description
FileStoreRegexes

getParserForType()

public Parser<FileStoreRegexes> getParserForType()
Returns
Type Description
Parser<FileStoreRegexes>
Overrides

getPatterns(int index)

public FileStoreRegex getPatterns(int index)

Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegex

getPatternsCount()

public int getPatternsCount()

Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPatternsList()

public List<FileStoreRegex> getPatternsList()

Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<FileStoreRegex>

getPatternsOrBuilder(int index)

public FileStoreRegexOrBuilder getPatternsOrBuilder(int index)

Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegexOrBuilder

getPatternsOrBuilderList()

public List<? extends FileStoreRegexOrBuilder> getPatternsOrBuilderList()

Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FileStoreRegexOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FileStoreRegexes.Builder newBuilderForType()
Returns
Type Description
FileStoreRegexes.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FileStoreRegexes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FileStoreRegexes.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FileStoreRegexes.Builder toBuilder()
Returns
Type Description
FileStoreRegexes.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException