public static final class StoredInfoTypeConfig.Builder extends GeneratedMessageV3.Builder<StoredInfoTypeConfig.Builder> implements StoredInfoTypeConfigOrBuilderConfiguration 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StoredInfoTypeConfig.BuilderImplements
StoredInfoTypeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StoredInfoTypeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| StoredInfoTypeConfig.Builder |
build()
public StoredInfoTypeConfig build()| Type | Description |
| StoredInfoTypeConfig |
buildPartial()
public StoredInfoTypeConfig buildPartial()| Type | Description |
| StoredInfoTypeConfig |
clear()
public StoredInfoTypeConfig.Builder clear()| Type | Description |
| StoredInfoTypeConfig.Builder |
clearDescription()
public StoredInfoTypeConfig.Builder clearDescription()Description of the StoredInfoType (max 256 characters).
string description = 2;
| Type | Description |
| StoredInfoTypeConfig.Builder | This builder for chaining. |
clearDictionary()
public StoredInfoTypeConfig.Builder clearDictionary()Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Type | Description |
| StoredInfoTypeConfig.Builder |
clearDisplayName()
public StoredInfoTypeConfig.Builder clearDisplayName()Display name of the StoredInfoType (max 256 characters).
string display_name = 1;
| Type | Description |
| StoredInfoTypeConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StoredInfoTypeConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| StoredInfoTypeConfig.Builder |
clearLargeCustomDictionary()
public StoredInfoTypeConfig.Builder clearLargeCustomDictionary()StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
| Type | Description |
| StoredInfoTypeConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StoredInfoTypeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| StoredInfoTypeConfig.Builder |
clearRegex()
public StoredInfoTypeConfig.Builder clearRegex()Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Type | Description |
| StoredInfoTypeConfig.Builder |
clearType()
public StoredInfoTypeConfig.Builder clearType()| Type | Description |
| StoredInfoTypeConfig.Builder |
clone()
public StoredInfoTypeConfig.Builder clone()| Type | Description |
| StoredInfoTypeConfig.Builder |
getDefaultInstanceForType()
public StoredInfoTypeConfig getDefaultInstanceForType()| Type | Description |
| StoredInfoTypeConfig |
getDescription()
public String getDescription()Description of the StoredInfoType (max 256 characters).
string description = 2;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the StoredInfoType (max 256 characters).
string description = 2;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDictionary()
public CustomInfoType.Dictionary getDictionary()Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Type | Description |
| CustomInfoType.Dictionary | The dictionary. |
getDictionaryBuilder()
public CustomInfoType.Dictionary.Builder getDictionaryBuilder()Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Type | Description |
| CustomInfoType.Dictionary.Builder |
getDictionaryOrBuilder()
public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Type | Description |
| CustomInfoType.DictionaryOrBuilder |
getDisplayName()
public String getDisplayName()Display name of the StoredInfoType (max 256 characters).
string display_name = 1;
| Type | Description |
| String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Display name of the StoredInfoType (max 256 characters).
string display_name = 1;
| 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;
| Type | Description |
| LargeCustomDictionaryConfig | The largeCustomDictionary. |
getLargeCustomDictionaryBuilder()
public LargeCustomDictionaryConfig.Builder getLargeCustomDictionaryBuilder()StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
| Type | Description |
| LargeCustomDictionaryConfig.Builder |
getLargeCustomDictionaryOrBuilder()
public LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder()StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
| Type | Description |
| LargeCustomDictionaryConfigOrBuilder |
getRegex()
public CustomInfoType.Regex getRegex()Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Type | Description |
| CustomInfoType.Regex | The regex. |
getRegexBuilder()
public CustomInfoType.Regex.Builder getRegexBuilder()Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Type | Description |
| CustomInfoType.Regex.Builder |
getRegexOrBuilder()
public CustomInfoType.RegexOrBuilder getRegexOrBuilder()Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Type | Description |
| CustomInfoType.RegexOrBuilder |
getTypeCase()
public StoredInfoTypeConfig.TypeCase getTypeCase()| Type | Description |
| StoredInfoTypeConfig.TypeCase |
hasDictionary()
public boolean hasDictionary()Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| 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;
| 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;
| Type | Description |
| boolean | Whether the regex field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeDictionary(CustomInfoType.Dictionary value)
public StoredInfoTypeConfig.Builder mergeDictionary(CustomInfoType.Dictionary value)Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Name | Description |
| value | CustomInfoType.Dictionary |
| Type | Description |
| StoredInfoTypeConfig.Builder |
mergeFrom(StoredInfoTypeConfig other)
public StoredInfoTypeConfig.Builder mergeFrom(StoredInfoTypeConfig other)| Name | Description |
| other | StoredInfoTypeConfig |
| Type | Description |
| StoredInfoTypeConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StoredInfoTypeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| StoredInfoTypeConfig.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public StoredInfoTypeConfig.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| StoredInfoTypeConfig.Builder |
mergeLargeCustomDictionary(LargeCustomDictionaryConfig value)
public StoredInfoTypeConfig.Builder mergeLargeCustomDictionary(LargeCustomDictionaryConfig value)StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
| Name | Description |
| value | LargeCustomDictionaryConfig |
| Type | Description |
| StoredInfoTypeConfig.Builder |
mergeRegex(CustomInfoType.Regex value)
public StoredInfoTypeConfig.Builder mergeRegex(CustomInfoType.Regex value)Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Name | Description |
| value | CustomInfoType.Regex |
| Type | Description |
| StoredInfoTypeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StoredInfoTypeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setDescription(String value)
public StoredInfoTypeConfig.Builder setDescription(String value)Description of the StoredInfoType (max 256 characters).
string description = 2;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| StoredInfoTypeConfig.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public StoredInfoTypeConfig.Builder setDescriptionBytes(ByteString value)Description of the StoredInfoType (max 256 characters).
string description = 2;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| StoredInfoTypeConfig.Builder | This builder for chaining. |
setDictionary(CustomInfoType.Dictionary value)
public StoredInfoTypeConfig.Builder setDictionary(CustomInfoType.Dictionary value)Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Name | Description |
| value | CustomInfoType.Dictionary |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setDictionary(CustomInfoType.Dictionary.Builder builderForValue)
public StoredInfoTypeConfig.Builder setDictionary(CustomInfoType.Dictionary.Builder builderForValue)Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
| Name | Description |
| builderForValue | CustomInfoType.Dictionary.Builder |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setDisplayName(String value)
public StoredInfoTypeConfig.Builder setDisplayName(String value)Display name of the StoredInfoType (max 256 characters).
string display_name = 1;
| Name | Description |
| value | StringThe displayName to set. |
| Type | Description |
| StoredInfoTypeConfig.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public StoredInfoTypeConfig.Builder setDisplayNameBytes(ByteString value)Display name of the StoredInfoType (max 256 characters).
string display_name = 1;
| Name | Description |
| value | ByteStringThe bytes for displayName to set. |
| Type | Description |
| StoredInfoTypeConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StoredInfoTypeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setLargeCustomDictionary(LargeCustomDictionaryConfig value)
public StoredInfoTypeConfig.Builder setLargeCustomDictionary(LargeCustomDictionaryConfig value)StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
| Name | Description |
| value | LargeCustomDictionaryConfig |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setLargeCustomDictionary(LargeCustomDictionaryConfig.Builder builderForValue)
public StoredInfoTypeConfig.Builder setLargeCustomDictionary(LargeCustomDictionaryConfig.Builder builderForValue)StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
| Name | Description |
| builderForValue | LargeCustomDictionaryConfig.Builder |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setRegex(CustomInfoType.Regex value)
public StoredInfoTypeConfig.Builder setRegex(CustomInfoType.Regex value)Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Name | Description |
| value | CustomInfoType.Regex |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setRegex(CustomInfoType.Regex.Builder builderForValue)
public StoredInfoTypeConfig.Builder setRegex(CustomInfoType.Regex.Builder builderForValue)Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
| Name | Description |
| builderForValue | CustomInfoType.Regex.Builder |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StoredInfoTypeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| StoredInfoTypeConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StoredInfoTypeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| StoredInfoTypeConfig.Builder |