Class StoredInfoTypeConfig (3.10.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/dlp/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
TypeDescription
int

DICTIONARY_FIELD_NUMBER

public static final int DICTIONARY_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER

public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER
Field Value
TypeDescription
int

REGEX_FIELD_NUMBER

public static final int REGEX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StoredInfoTypeConfig getDefaultInstance()
Returns
TypeDescription
StoredInfoTypeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StoredInfoTypeConfig.Builder newBuilder()
Returns
TypeDescription
StoredInfoTypeConfig.Builder

newBuilder(StoredInfoTypeConfig prototype)

public static StoredInfoTypeConfig.Builder newBuilder(StoredInfoTypeConfig prototype)
Parameter
NameDescription
prototypeStoredInfoTypeConfig
Returns
TypeDescription
StoredInfoTypeConfig.Builder

parseDelimitedFrom(InputStream input)

public static StoredInfoTypeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StoredInfoTypeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredInfoTypeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredInfoTypeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StoredInfoTypeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StoredInfoTypeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StoredInfoTypeConfig> parser()
Returns
TypeDescription
Parser<StoredInfoTypeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StoredInfoTypeConfig getDefaultInstanceForType()
Returns
TypeDescription
StoredInfoTypeConfig

getDescription()

public String getDescription()

Description of the StoredInfoType (max 256 characters).

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the StoredInfoType (max 256 characters).

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDictionary()

public CustomInfoType.Dictionary getDictionary()

Store dictionary-based CustomInfoType.

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

Returns
TypeDescription
CustomInfoType.Dictionary

The dictionary.

getDictionaryOrBuilder()

public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()

Store dictionary-based CustomInfoType.

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

Returns
TypeDescription
CustomInfoType.DictionaryOrBuilder

getDisplayName()

public String getDisplayName()

Display name of the StoredInfoType (max 256 characters).

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name of the StoredInfoType (max 256 characters).

string display_name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
LargeCustomDictionaryConfigOrBuilder

getParserForType()

public Parser<StoredInfoTypeConfig> getParserForType()
Returns
TypeDescription
Parser<StoredInfoTypeConfig>
Overrides

getRegex()

public CustomInfoType.Regex getRegex()

Store regular expression-based StoredInfoType.

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

Returns
TypeDescription
CustomInfoType.Regex

The regex.

getRegexOrBuilder()

public CustomInfoType.RegexOrBuilder getRegexOrBuilder()

Store regular expression-based StoredInfoType.

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

Returns
TypeDescription
CustomInfoType.RegexOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCase()

public StoredInfoTypeConfig.TypeCase getTypeCase()
Returns
TypeDescription
StoredInfoTypeConfig.TypeCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDictionary()

public boolean hasDictionary()

Store dictionary-based CustomInfoType.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the regex field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StoredInfoTypeConfig.Builder newBuilderForType()
Returns
TypeDescription
StoredInfoTypeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredInfoTypeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StoredInfoTypeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StoredInfoTypeConfig.Builder toBuilder()
Returns
TypeDescription
StoredInfoTypeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException