Package com.google.privacy.dlp.v2
Class StoredInfoTypeConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StoredInfoTypeConfig.Builder>
com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder
- All Implemented Interfaces:
StoredInfoTypeConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StoredInfoTypeConfig
public static final class StoredInfoTypeConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StoredInfoTypeConfig.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Description of the StoredInfoType (max 256 characters).Store dictionary-based CustomInfoType.Display name of the StoredInfoType (max 256 characters).StoredInfoType where findings are defined by a dictionary of phrases.Store regular expression-based StoredInfoType.Description of the StoredInfoType (max 256 characters).com.google.protobuf.ByteStringDescription of the StoredInfoType (max 256 characters).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorStore dictionary-based CustomInfoType.Store dictionary-based CustomInfoType.Store dictionary-based CustomInfoType.Display name of the StoredInfoType (max 256 characters).com.google.protobuf.ByteStringDisplay name of the StoredInfoType (max 256 characters).StoredInfoType where findings are defined by a dictionary of phrases.StoredInfoType where findings are defined by a dictionary of phrases.StoredInfoType where findings are defined by a dictionary of phrases.getRegex()Store regular expression-based StoredInfoType.Store regular expression-based StoredInfoType.Store regular expression-based StoredInfoType.booleanStore dictionary-based CustomInfoType.booleanStoredInfoType where findings are defined by a dictionary of phrases.booleanhasRegex()Store regular expression-based StoredInfoType.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanStore dictionary-based CustomInfoType.mergeFrom(StoredInfoTypeConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) StoredInfoType where findings are defined by a dictionary of phrases.mergeRegex(CustomInfoType.Regex value) Store regular expression-based StoredInfoType.setDescription(String value) Description of the StoredInfoType (max 256 characters).setDescriptionBytes(com.google.protobuf.ByteString value) Description of the StoredInfoType (max 256 characters).Store dictionary-based CustomInfoType.setDictionary(CustomInfoType.Dictionary.Builder builderForValue) Store dictionary-based CustomInfoType.setDisplayName(String value) Display name of the StoredInfoType (max 256 characters).setDisplayNameBytes(com.google.protobuf.ByteString value) Display name of the StoredInfoType (max 256 characters).StoredInfoType where findings are defined by a dictionary of phrases.setLargeCustomDictionary(LargeCustomDictionaryConfig.Builder builderForValue) StoredInfoType where findings are defined by a dictionary of phrases.setRegex(CustomInfoType.Regex value) Store regular expression-based StoredInfoType.setRegex(CustomInfoType.Regex.Builder builderForValue) Store regular expression-based StoredInfoType.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StoredInfoTypeConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoredInfoTypeConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoredInfoTypeConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoredInfoTypeConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoredInfoTypeConfig.Builder>
-
mergeFrom
public StoredInfoTypeConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoredInfoTypeConfig.Builder>- Throws:
IOException
-
getTypeCase
- Specified by:
getTypeCasein interfaceStoredInfoTypeConfigOrBuilder
-
clearType
-
getDisplayName
Display name of the StoredInfoType (max 256 characters).
string display_name = 1;- Specified by:
getDisplayNamein interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name of the StoredInfoType (max 256 characters).
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Display name of the StoredInfoType (max 256 characters).
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Display name of the StoredInfoType (max 256 characters).
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Display name of the StoredInfoType (max 256 characters).
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the StoredInfoType (max 256 characters).
string description = 2;- Specified by:
getDescriptionin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the StoredInfoType (max 256 characters).
string description = 2;- Specified by:
getDescriptionBytesin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the StoredInfoType (max 256 characters).
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the StoredInfoType (max 256 characters).
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the StoredInfoType (max 256 characters).
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasLargeCustomDictionary
public boolean hasLargeCustomDictionary()StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;- Specified by:
hasLargeCustomDictionaryin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- Whether the largeCustomDictionary field is set.
-
getLargeCustomDictionary
StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;- Specified by:
getLargeCustomDictionaryin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The largeCustomDictionary.
-
setLargeCustomDictionary
StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; -
setLargeCustomDictionary
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; -
mergeLargeCustomDictionary
StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; -
clearLargeCustomDictionary
StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; -
getLargeCustomDictionaryBuilder
StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; -
getLargeCustomDictionaryOrBuilder
StoredInfoType where findings are defined by a dictionary of phrases.
.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;- Specified by:
getLargeCustomDictionaryOrBuilderin interfaceStoredInfoTypeConfigOrBuilder
-
hasDictionary
public boolean hasDictionary()Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;- Specified by:
hasDictionaryin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- Whether the dictionary field is set.
-
getDictionary
Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;- Specified by:
getDictionaryin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The dictionary.
-
setDictionary
Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; -
setDictionary
public StoredInfoTypeConfig.Builder setDictionary(CustomInfoType.Dictionary.Builder builderForValue) Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; -
mergeDictionary
Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; -
clearDictionary
Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; -
getDictionaryBuilder
Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; -
getDictionaryOrBuilder
Store dictionary-based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;- Specified by:
getDictionaryOrBuilderin interfaceStoredInfoTypeConfigOrBuilder
-
hasRegex
public boolean hasRegex()Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;- Specified by:
hasRegexin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- Whether the regex field is set.
-
getRegex
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;- Specified by:
getRegexin interfaceStoredInfoTypeConfigOrBuilder- Returns:
- The regex.
-
setRegex
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; -
setRegex
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; -
mergeRegex
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; -
clearRegex
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; -
getRegexBuilder
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; -
getRegexOrBuilder
Store regular expression-based StoredInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;- Specified by:
getRegexOrBuilderin interfaceStoredInfoTypeConfigOrBuilder
-