Class StoredInfoTypeConfig (3.58.0)

public final class StoredInfoTypeConfig extends GeneratedMessageV3 implements StoredInfoTypeConfigOrBuilder

Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes.

Protobuf type google.privacy.dlp.v2.StoredInfoTypeConfig

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DICTIONARY_FIELD_NUMBER

public static final int DICTIONARY_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER

public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER
Field Value
Type Description
int

REGEX_FIELD_NUMBER

public static final int REGEX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoredInfoTypeConfig getDefaultInstance()
Returns
Type Description
StoredInfoTypeConfig

getDescriptor()

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

newBuilder()

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

newBuilder(StoredInfoTypeConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StoredInfoTypeConfig getDefaultInstanceForType()
Returns
Type Description
StoredInfoTypeConfig

getDescription()

public String getDescription()

Description of the StoredInfoType (max 256 characters).

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the StoredInfoType (max 256 characters).

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDictionary()

public CustomInfoType.Dictionary getDictionary()

Store dictionary-based CustomInfoType.

.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;

Returns
Type Description
CustomInfoType.Dictionary

The dictionary.

getDictionaryOrBuilder()

public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()

Store dictionary-based CustomInfoType.

.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;

Returns
Type Description
CustomInfoType.DictionaryOrBuilder

getDisplayName()

public String getDisplayName()

Display name of the StoredInfoType (max 256 characters).

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the StoredInfoType (max 256 characters).

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getLargeCustomDictionary()

public LargeCustomDictionaryConfig getLargeCustomDictionary()

StoredInfoType where findings are defined by a dictionary of phrases.

.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;

Returns
Type Description
LargeCustomDictionaryConfig

The largeCustomDictionary.

getLargeCustomDictionaryOrBuilder()

public LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder()

StoredInfoType where findings are defined by a dictionary of phrases.

.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;

Returns
Type Description
LargeCustomDictionaryConfigOrBuilder

getParserForType()

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

getRegex()

public CustomInfoType.Regex getRegex()

Store regular expression-based StoredInfoType.

.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;

Returns
Type Description
CustomInfoType.Regex

The regex.

getRegexOrBuilder()

public CustomInfoType.RegexOrBuilder getRegexOrBuilder()

Store regular expression-based StoredInfoType.

.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;

Returns
Type Description
CustomInfoType.RegexOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeCase()

public StoredInfoTypeConfig.TypeCase getTypeCase()
Returns
Type Description
StoredInfoTypeConfig.TypeCase

hasDictionary()

public boolean hasDictionary()

Store dictionary-based CustomInfoType.

.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;

Returns
Type Description
boolean

Whether the dictionary field is set.

hasLargeCustomDictionary()

public boolean hasLargeCustomDictionary()

StoredInfoType where findings are defined by a dictionary of phrases.

.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;

Returns
Type Description
boolean

Whether the largeCustomDictionary field is set.

hasRegex()

public boolean hasRegex()

Store regular expression-based StoredInfoType.

.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;

Returns
Type Description
boolean

Whether the regex field is set.

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 StoredInfoTypeConfig.Builder newBuilderForType()
Returns
Type Description
StoredInfoTypeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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