Package com.google.privacy.dlp.v2
Class CustomInfoType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
- com.google.privacy.dlp.v2.CustomInfoType.Builder
-
- All Implemented Interfaces:
CustomInfoTypeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomInfoType
public static final class CustomInfoType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder> implements CustomInfoTypeOrBuilder
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
Protobuf typegoogle.privacy.dlp.v2.CustomInfoType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomInfoType.BuilderaddAllDetectionRules(Iterable<? extends CustomInfoType.DetectionRule> values)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuilderaddDetectionRules(int index, CustomInfoType.DetectionRule value)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuilderaddDetectionRules(int index, CustomInfoType.DetectionRule.Builder builderForValue)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuilderaddDetectionRules(CustomInfoType.DetectionRule value)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuilderaddDetectionRules(CustomInfoType.DetectionRule.Builder builderForValue)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.DetectionRule.BuilderaddDetectionRulesBuilder()Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.DetectionRule.BuilderaddDetectionRulesBuilder(int index)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CustomInfoTypebuild()CustomInfoTypebuildPartial()CustomInfoType.Builderclear()CustomInfoType.BuilderclearDetectionRules()Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuilderclearDictionary()A list of phrases to detect as a CustomInfoType.CustomInfoType.BuilderclearExclusionType()If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.CustomInfoType.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CustomInfoType.BuilderclearInfoType()CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.CustomInfoType.BuilderclearLikelihood()Likelihood to return for this CustomInfoType.CustomInfoType.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CustomInfoType.BuilderclearRegex()Regular expression based CustomInfoType.CustomInfoType.BuilderclearStoredType()Load an existing `StoredInfoType` resource for use in `InspectDataSource`.CustomInfoType.BuilderclearSurrogateType()Message for detecting output from deidentification transformations that support reversing.CustomInfoType.BuilderclearType()CustomInfoType.Builderclone()CustomInfoTypegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CustomInfoType.DetectionRulegetDetectionRules(int index)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.DetectionRule.BuildergetDetectionRulesBuilder(int index)Set of detection rules to apply to all findings of this CustomInfoType.List<CustomInfoType.DetectionRule.Builder>getDetectionRulesBuilderList()Set of detection rules to apply to all findings of this CustomInfoType.intgetDetectionRulesCount()Set of detection rules to apply to all findings of this CustomInfoType.List<CustomInfoType.DetectionRule>getDetectionRulesList()Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.DetectionRuleOrBuildergetDetectionRulesOrBuilder(int index)Set of detection rules to apply to all findings of this CustomInfoType.List<? extends CustomInfoType.DetectionRuleOrBuilder>getDetectionRulesOrBuilderList()Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.DictionarygetDictionary()A list of phrases to detect as a CustomInfoType.CustomInfoType.Dictionary.BuildergetDictionaryBuilder()A list of phrases to detect as a CustomInfoType.CustomInfoType.DictionaryOrBuildergetDictionaryOrBuilder()A list of phrases to detect as a CustomInfoType.CustomInfoType.ExclusionTypegetExclusionType()If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.intgetExclusionTypeValue()If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.InfoTypegetInfoType()CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.InfoType.BuildergetInfoTypeBuilder()CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.InfoTypeOrBuildergetInfoTypeOrBuilder()CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.LikelihoodgetLikelihood()Likelihood to return for this CustomInfoType.intgetLikelihoodValue()Likelihood to return for this CustomInfoType.CustomInfoType.RegexgetRegex()Regular expression based CustomInfoType.CustomInfoType.Regex.BuildergetRegexBuilder()Regular expression based CustomInfoType.CustomInfoType.RegexOrBuildergetRegexOrBuilder()Regular expression based CustomInfoType.StoredTypegetStoredType()Load an existing `StoredInfoType` resource for use in `InspectDataSource`.StoredType.BuildergetStoredTypeBuilder()Load an existing `StoredInfoType` resource for use in `InspectDataSource`.StoredTypeOrBuildergetStoredTypeOrBuilder()Load an existing `StoredInfoType` resource for use in `InspectDataSource`.CustomInfoType.SurrogateTypegetSurrogateType()Message for detecting output from deidentification transformations that support reversing.CustomInfoType.SurrogateType.BuildergetSurrogateTypeBuilder()Message for detecting output from deidentification transformations that support reversing.CustomInfoType.SurrogateTypeOrBuildergetSurrogateTypeOrBuilder()Message for detecting output from deidentification transformations that support reversing.CustomInfoType.TypeCasegetTypeCase()booleanhasDictionary()A list of phrases to detect as a CustomInfoType.booleanhasInfoType()CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.booleanhasRegex()Regular expression based CustomInfoType.booleanhasStoredType()Load an existing `StoredInfoType` resource for use in `InspectDataSource`.booleanhasSurrogateType()Message for detecting output from deidentification transformations that support reversing.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CustomInfoType.BuildermergeDictionary(CustomInfoType.Dictionary value)A list of phrases to detect as a CustomInfoType.CustomInfoType.BuildermergeFrom(CustomInfoType other)CustomInfoType.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CustomInfoType.BuildermergeFrom(com.google.protobuf.Message other)CustomInfoType.BuildermergeInfoType(InfoType value)CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.CustomInfoType.BuildermergeRegex(CustomInfoType.Regex value)Regular expression based CustomInfoType.CustomInfoType.BuildermergeStoredType(StoredType value)Load an existing `StoredInfoType` resource for use in `InspectDataSource`.CustomInfoType.BuildermergeSurrogateType(CustomInfoType.SurrogateType value)Message for detecting output from deidentification transformations that support reversing.CustomInfoType.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomInfoType.BuilderremoveDetectionRules(int index)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuildersetDetectionRules(int index, CustomInfoType.DetectionRule value)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuildersetDetectionRules(int index, CustomInfoType.DetectionRule.Builder builderForValue)Set of detection rules to apply to all findings of this CustomInfoType.CustomInfoType.BuildersetDictionary(CustomInfoType.Dictionary value)A list of phrases to detect as a CustomInfoType.CustomInfoType.BuildersetDictionary(CustomInfoType.Dictionary.Builder builderForValue)A list of phrases to detect as a CustomInfoType.CustomInfoType.BuildersetExclusionType(CustomInfoType.ExclusionType value)If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.CustomInfoType.BuildersetExclusionTypeValue(int value)If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.CustomInfoType.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CustomInfoType.BuildersetInfoType(InfoType value)CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.CustomInfoType.BuildersetInfoType(InfoType.Builder builderForValue)CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field.CustomInfoType.BuildersetLikelihood(Likelihood value)Likelihood to return for this CustomInfoType.CustomInfoType.BuildersetLikelihoodValue(int value)Likelihood to return for this CustomInfoType.CustomInfoType.BuildersetRegex(CustomInfoType.Regex value)Regular expression based CustomInfoType.CustomInfoType.BuildersetRegex(CustomInfoType.Regex.Builder builderForValue)Regular expression based CustomInfoType.CustomInfoType.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CustomInfoType.BuildersetStoredType(StoredType value)Load an existing `StoredInfoType` resource for use in `InspectDataSource`.CustomInfoType.BuildersetStoredType(StoredType.Builder builderForValue)Load an existing `StoredInfoType` resource for use in `InspectDataSource`.CustomInfoType.BuildersetSurrogateType(CustomInfoType.SurrogateType value)Message for detecting output from deidentification transformations that support reversing.CustomInfoType.BuildersetSurrogateType(CustomInfoType.SurrogateType.Builder builderForValue)Message for detecting output from deidentification transformations that support reversing.CustomInfoType.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
clear
public CustomInfoType.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.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.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
getDefaultInstanceForType
public CustomInfoType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomInfoType build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomInfoType buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomInfoType.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
setField
public CustomInfoType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
clearField
public CustomInfoType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
clearOneof
public CustomInfoType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
setRepeatedField
public CustomInfoType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
addRepeatedField
public CustomInfoType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
mergeFrom
public CustomInfoType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomInfoType.Builder>
-
mergeFrom
public CustomInfoType.Builder mergeFrom(CustomInfoType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
mergeFrom
public CustomInfoType.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<CustomInfoType.Builder>- Throws:
IOException
-
getTypeCase
public CustomInfoType.TypeCase getTypeCase()
- Specified by:
getTypeCasein interfaceCustomInfoTypeOrBuilder
-
clearType
public CustomInfoType.Builder clearType()
-
hasInfoType
public boolean hasInfoType()
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;- Specified by:
hasInfoTypein interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the infoType field is set.
-
getInfoType
public InfoType getInfoType()
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;- Specified by:
getInfoTypein interfaceCustomInfoTypeOrBuilder- Returns:
- The infoType.
-
setInfoType
public CustomInfoType.Builder setInfoType(InfoType value)
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;
-
setInfoType
public CustomInfoType.Builder setInfoType(InfoType.Builder builderForValue)
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;
-
mergeInfoType
public CustomInfoType.Builder mergeInfoType(InfoType value)
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;
-
clearInfoType
public CustomInfoType.Builder clearInfoType()
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;
-
getInfoTypeBuilder
public InfoType.Builder getInfoTypeBuilder()
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;
-
getInfoTypeOrBuilder
public InfoTypeOrBuilder getInfoTypeOrBuilder()
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
.google.privacy.dlp.v2.InfoType info_type = 1;- Specified by:
getInfoTypeOrBuilderin interfaceCustomInfoTypeOrBuilder
-
getLikelihoodValue
public int getLikelihoodValue()
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.
.google.privacy.dlp.v2.Likelihood likelihood = 6;- Specified by:
getLikelihoodValuein interfaceCustomInfoTypeOrBuilder- Returns:
- The enum numeric value on the wire for likelihood.
-
setLikelihoodValue
public CustomInfoType.Builder setLikelihoodValue(int value)
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.
.google.privacy.dlp.v2.Likelihood likelihood = 6;- Parameters:
value- The enum numeric value on the wire for likelihood to set.- Returns:
- This builder for chaining.
-
getLikelihood
public Likelihood getLikelihood()
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.
.google.privacy.dlp.v2.Likelihood likelihood = 6;- Specified by:
getLikelihoodin interfaceCustomInfoTypeOrBuilder- Returns:
- The likelihood.
-
setLikelihood
public CustomInfoType.Builder setLikelihood(Likelihood value)
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.
.google.privacy.dlp.v2.Likelihood likelihood = 6;- Parameters:
value- The likelihood to set.- Returns:
- This builder for chaining.
-
clearLikelihood
public CustomInfoType.Builder clearLikelihood()
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.
.google.privacy.dlp.v2.Likelihood likelihood = 6;- Returns:
- This builder for chaining.
-
hasDictionary
public boolean hasDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;- Specified by:
hasDictionaryin interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the dictionary field is set.
-
getDictionary
public CustomInfoType.Dictionary getDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;- Specified by:
getDictionaryin interfaceCustomInfoTypeOrBuilder- Returns:
- The dictionary.
-
setDictionary
public CustomInfoType.Builder setDictionary(CustomInfoType.Dictionary value)
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
-
setDictionary
public CustomInfoType.Builder setDictionary(CustomInfoType.Dictionary.Builder builderForValue)
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
-
mergeDictionary
public CustomInfoType.Builder mergeDictionary(CustomInfoType.Dictionary value)
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
-
clearDictionary
public CustomInfoType.Builder clearDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
-
getDictionaryBuilder
public CustomInfoType.Dictionary.Builder getDictionaryBuilder()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
-
getDictionaryOrBuilder
public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;- Specified by:
getDictionaryOrBuilderin interfaceCustomInfoTypeOrBuilder
-
hasRegex
public boolean hasRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;- Specified by:
hasRegexin interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the regex field is set.
-
getRegex
public CustomInfoType.Regex getRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;- Specified by:
getRegexin interfaceCustomInfoTypeOrBuilder- Returns:
- The regex.
-
setRegex
public CustomInfoType.Builder setRegex(CustomInfoType.Regex value)
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
-
setRegex
public CustomInfoType.Builder setRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
-
mergeRegex
public CustomInfoType.Builder mergeRegex(CustomInfoType.Regex value)
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
-
clearRegex
public CustomInfoType.Builder clearRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
-
getRegexBuilder
public CustomInfoType.Regex.Builder getRegexBuilder()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
-
getRegexOrBuilder
public CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;- Specified by:
getRegexOrBuilderin interfaceCustomInfoTypeOrBuilder
-
hasSurrogateType
public boolean hasSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;- Specified by:
hasSurrogateTypein interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the surrogateType field is set.
-
getSurrogateType
public CustomInfoType.SurrogateType getSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;- Specified by:
getSurrogateTypein interfaceCustomInfoTypeOrBuilder- Returns:
- The surrogateType.
-
setSurrogateType
public CustomInfoType.Builder setSurrogateType(CustomInfoType.SurrogateType value)
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
-
setSurrogateType
public CustomInfoType.Builder setSurrogateType(CustomInfoType.SurrogateType.Builder builderForValue)
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
-
mergeSurrogateType
public CustomInfoType.Builder mergeSurrogateType(CustomInfoType.SurrogateType value)
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
-
clearSurrogateType
public CustomInfoType.Builder clearSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
-
getSurrogateTypeBuilder
public CustomInfoType.SurrogateType.Builder getSurrogateTypeBuilder()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
-
getSurrogateTypeOrBuilder
public CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;- Specified by:
getSurrogateTypeOrBuilderin interfaceCustomInfoTypeOrBuilder
-
hasStoredType
public boolean hasStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;- Specified by:
hasStoredTypein interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the storedType field is set.
-
getStoredType
public StoredType getStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;- Specified by:
getStoredTypein interfaceCustomInfoTypeOrBuilder- Returns:
- The storedType.
-
setStoredType
public CustomInfoType.Builder setStoredType(StoredType value)
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;
-
setStoredType
public CustomInfoType.Builder setStoredType(StoredType.Builder builderForValue)
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;
-
mergeStoredType
public CustomInfoType.Builder mergeStoredType(StoredType value)
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;
-
clearStoredType
public CustomInfoType.Builder clearStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;
-
getStoredTypeBuilder
public StoredType.Builder getStoredTypeBuilder()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;
-
getStoredTypeOrBuilder
public StoredTypeOrBuilder getStoredTypeOrBuilder()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;- Specified by:
getStoredTypeOrBuilderin interfaceCustomInfoTypeOrBuilder
-
getDetectionRulesList
public List<CustomInfoType.DetectionRule> getDetectionRulesList()
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesListin interfaceCustomInfoTypeOrBuilder
-
getDetectionRulesCount
public int getDetectionRulesCount()
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesCountin interfaceCustomInfoTypeOrBuilder
-
getDetectionRules
public CustomInfoType.DetectionRule getDetectionRules(int index)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesin interfaceCustomInfoTypeOrBuilder
-
setDetectionRules
public CustomInfoType.Builder setDetectionRules(int index, CustomInfoType.DetectionRule value)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
setDetectionRules
public CustomInfoType.Builder setDetectionRules(int index, CustomInfoType.DetectionRule.Builder builderForValue)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
addDetectionRules
public CustomInfoType.Builder addDetectionRules(CustomInfoType.DetectionRule value)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
addDetectionRules
public CustomInfoType.Builder addDetectionRules(int index, CustomInfoType.DetectionRule value)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
addDetectionRules
public CustomInfoType.Builder addDetectionRules(CustomInfoType.DetectionRule.Builder builderForValue)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
addDetectionRules
public CustomInfoType.Builder addDetectionRules(int index, CustomInfoType.DetectionRule.Builder builderForValue)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
addAllDetectionRules
public CustomInfoType.Builder addAllDetectionRules(Iterable<? extends CustomInfoType.DetectionRule> values)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
clearDetectionRules
public CustomInfoType.Builder clearDetectionRules()
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
removeDetectionRules
public CustomInfoType.Builder removeDetectionRules(int index)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
getDetectionRulesBuilder
public CustomInfoType.DetectionRule.Builder getDetectionRulesBuilder(int index)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
getDetectionRulesOrBuilder
public CustomInfoType.DetectionRuleOrBuilder getDetectionRulesOrBuilder(int index)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesOrBuilderin interfaceCustomInfoTypeOrBuilder
-
getDetectionRulesOrBuilderList
public List<? extends CustomInfoType.DetectionRuleOrBuilder> getDetectionRulesOrBuilderList()
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesOrBuilderListin interfaceCustomInfoTypeOrBuilder
-
addDetectionRulesBuilder
public CustomInfoType.DetectionRule.Builder addDetectionRulesBuilder()
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
addDetectionRulesBuilder
public CustomInfoType.DetectionRule.Builder addDetectionRulesBuilder(int index)
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
getDetectionRulesBuilderList
public List<CustomInfoType.DetectionRule.Builder> getDetectionRulesBuilderList()
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
-
getExclusionTypeValue
public int getExclusionTypeValue()
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Specified by:
getExclusionTypeValuein interfaceCustomInfoTypeOrBuilder- Returns:
- The enum numeric value on the wire for exclusionType.
-
setExclusionTypeValue
public CustomInfoType.Builder setExclusionTypeValue(int value)
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Parameters:
value- The enum numeric value on the wire for exclusionType to set.- Returns:
- This builder for chaining.
-
getExclusionType
public CustomInfoType.ExclusionType getExclusionType()
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Specified by:
getExclusionTypein interfaceCustomInfoTypeOrBuilder- Returns:
- The exclusionType.
-
setExclusionType
public CustomInfoType.Builder setExclusionType(CustomInfoType.ExclusionType value)
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Parameters:
value- The exclusionType to set.- Returns:
- This builder for chaining.
-
clearExclusionType
public CustomInfoType.Builder clearExclusionType()
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomInfoType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
mergeUnknownFields
public final CustomInfoType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>
-
-