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.GeneratedMessage.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.GeneratedMessage.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 type
google.privacy.dlp.v2.CustomInfoType-
Method Summary
Modifier and TypeMethodDescriptionaddAllDetectionRules(Iterable<? extends CustomInfoType.DetectionRule> values) Set of detection rules to apply to all findings of this CustomInfoType.addDetectionRules(int index, CustomInfoType.DetectionRule value) Set of detection rules to apply to all findings of this CustomInfoType.addDetectionRules(int index, CustomInfoType.DetectionRule.Builder builderForValue) Set of detection rules to apply to all findings of this CustomInfoType.Set of detection rules to apply to all findings of this CustomInfoType.addDetectionRules(CustomInfoType.DetectionRule.Builder builderForValue) Set of detection rules to apply to all findings of this CustomInfoType.Set of detection rules to apply to all findings of this CustomInfoType.addDetectionRulesBuilder(int index) Set of detection rules to apply to all findings of this CustomInfoType.build()clear()Set of detection rules to apply to all findings of this CustomInfoType.A list of phrases to detect as a CustomInfoType.If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.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.Likelihood to return for this CustomInfoType.Key-value pair to detect in the metadata.Regular expression based CustomInfoType.Sensitivity for this CustomInfoType.Loads an existing `StoredInfoType` resource.Message for detecting output from deidentification transformations that support reversing.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDetectionRules(int index) Set of detection rules to apply to all findings of this CustomInfoType.getDetectionRulesBuilder(int index) Set of detection rules to apply to all findings of this CustomInfoType.Set of detection rules to apply to all findings of this CustomInfoType.intSet of detection rules to apply to all findings of this CustomInfoType.Set of detection rules to apply to all findings of this CustomInfoType.getDetectionRulesOrBuilder(int index) Set of detection rules to apply to all findings of this CustomInfoType.List<? extends CustomInfoType.DetectionRuleOrBuilder>Set of detection rules to apply to all findings of this CustomInfoType.A list of phrases to detect as a CustomInfoType.A list of phrases to detect as a CustomInfoType.A list of phrases to detect as a CustomInfoType.If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.intIf set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.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 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 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.Likelihood to return for this CustomInfoType.intLikelihood to return for this CustomInfoType.Key-value pair to detect in the metadata.Key-value pair to detect in the metadata.Key-value pair to detect in the metadata.getRegex()Regular expression based CustomInfoType.Regular expression based CustomInfoType.Regular expression based CustomInfoType.Sensitivity for this CustomInfoType.Sensitivity for this CustomInfoType.Sensitivity for this CustomInfoType.Loads an existing `StoredInfoType` resource.Loads an existing `StoredInfoType` resource.Loads an existing `StoredInfoType` resource.Message for detecting output from deidentification transformations that support reversing.Message for detecting output from deidentification transformations that support reversing.Message for detecting output from deidentification transformations that support reversing.booleanA list of phrases to detect as a CustomInfoType.booleanCustomInfoType 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.booleanKey-value pair to detect in the metadata.booleanhasRegex()Regular expression based CustomInfoType.booleanSensitivity for this CustomInfoType.booleanLoads an existing `StoredInfoType` resource.booleanMessage for detecting output from deidentification transformations that support reversing.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanA list of phrases to detect as a CustomInfoType.mergeFrom(CustomInfoType other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.Key-value pair to detect in the metadata.mergeRegex(CustomInfoType.Regex value) Regular expression based CustomInfoType.Sensitivity for this CustomInfoType.mergeStoredType(StoredType value) Loads an existing `StoredInfoType` resource.Message for detecting output from deidentification transformations that support reversing.removeDetectionRules(int index) Set of detection rules to apply to all findings of this CustomInfoType.setDetectionRules(int index, CustomInfoType.DetectionRule value) Set of detection rules to apply to all findings of this CustomInfoType.setDetectionRules(int index, CustomInfoType.DetectionRule.Builder builderForValue) Set of detection rules to apply to all findings of this CustomInfoType.A list of phrases to detect as a CustomInfoType.setDictionary(CustomInfoType.Dictionary.Builder builderForValue) A list of phrases to detect as a CustomInfoType.If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.setExclusionTypeValue(int value) If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned.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.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.setLikelihood(Likelihood value) Likelihood to return for this CustomInfoType.setLikelihoodValue(int value) Likelihood to return for this CustomInfoType.Key-value pair to detect in the metadata.Key-value pair to detect in the metadata.setRegex(CustomInfoType.Regex value) Regular expression based CustomInfoType.setRegex(CustomInfoType.Regex.Builder builderForValue) Regular expression based CustomInfoType.Sensitivity for this CustomInfoType.setSensitivityScore(SensitivityScore.Builder builderForValue) Sensitivity for this CustomInfoType.setStoredType(StoredType value) Loads an existing `StoredInfoType` resource.setStoredType(StoredType.Builder builderForValue) Loads an existing `StoredInfoType` resource.Message for detecting output from deidentification transformations that support reversing.setSurrogateType(CustomInfoType.SurrogateType.Builder builderForValue) Message for detecting output from deidentification transformations that support reversing.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<CustomInfoType.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<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.GeneratedMessage.Builder<CustomInfoType.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<CustomInfoType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
- Specified by:
getTypeCasein interfaceCustomInfoTypeOrBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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
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
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; -
setDictionary
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; -
mergeDictionary
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; -
clearDictionary
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; -
getDictionaryBuilder
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; -
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
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;- Specified by:
getRegexin interfaceCustomInfoTypeOrBuilder- Returns:
- The regex.
-
setRegex
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; -
setRegex
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; -
mergeRegex
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; -
clearRegex
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; -
getRegexBuilder
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; -
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
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
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
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; -
clearSurrogateType
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; -
getSurrogateTypeBuilder
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; -
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()Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5;- Specified by:
hasStoredTypein interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the storedType field is set.
-
getStoredType
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5;- Specified by:
getStoredTypein interfaceCustomInfoTypeOrBuilder- Returns:
- The storedType.
-
setStoredType
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5; -
setStoredType
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5; -
mergeStoredType
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5; -
clearStoredType
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5; -
getStoredTypeBuilder
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5; -
getStoredTypeOrBuilder
Loads an existing `StoredInfoType` resource.
.google.privacy.dlp.v2.StoredType stored_type = 5;- Specified by:
getStoredTypeOrBuilderin interfaceCustomInfoTypeOrBuilder
-
hasMetadataKeyValueExpression
public boolean hasMetadataKeyValueExpression()Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10;- Specified by:
hasMetadataKeyValueExpressionin interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the metadataKeyValueExpression field is set.
-
getMetadataKeyValueExpression
Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10;- Specified by:
getMetadataKeyValueExpressionin interfaceCustomInfoTypeOrBuilder- Returns:
- The metadataKeyValueExpression.
-
setMetadataKeyValueExpression
public CustomInfoType.Builder setMetadataKeyValueExpression(CustomInfoType.MetadataKeyValueExpression value) Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10; -
setMetadataKeyValueExpression
public CustomInfoType.Builder setMetadataKeyValueExpression(CustomInfoType.MetadataKeyValueExpression.Builder builderForValue) Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10; -
mergeMetadataKeyValueExpression
public CustomInfoType.Builder mergeMetadataKeyValueExpression(CustomInfoType.MetadataKeyValueExpression value) Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10; -
clearMetadataKeyValueExpression
Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10; -
getMetadataKeyValueExpressionBuilder
Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10; -
getMetadataKeyValueExpressionOrBuilder
Key-value pair to detect in the metadata.
.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression metadata_key_value_expression = 10;- Specified by:
getMetadataKeyValueExpressionOrBuilderin interfaceCustomInfoTypeOrBuilder
-
getDetectionRulesList
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
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 the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesCountin interfaceCustomInfoTypeOrBuilder
-
getDetectionRules
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesin interfaceCustomInfoTypeOrBuilder
-
setDetectionRules
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
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 the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
addDetectionRules
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
addDetectionRules
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
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 the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
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 the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
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 the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
clearDetectionRules
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
removeDetectionRules
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
getDetectionRulesBuilder
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
getDetectionRulesOrBuilder
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesOrBuilderin interfaceCustomInfoTypeOrBuilder
-
getDetectionRulesOrBuilderList
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;- Specified by:
getDetectionRulesOrBuilderListin interfaceCustomInfoTypeOrBuilder
-
addDetectionRulesBuilder
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
addDetectionRulesBuilder
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; -
getDetectionRulesBuilderList
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in the order that they are specified. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
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. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Specified by:
getExclusionTypeValuein interfaceCustomInfoTypeOrBuilder- Returns:
- The enum numeric value on the wire for exclusionType.
-
setExclusionTypeValue
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
.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
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Specified by:
getExclusionTypein interfaceCustomInfoTypeOrBuilder- Returns:
- The exclusionType.
-
setExclusionType
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Parameters:
value- The exclusionType to set.- Returns:
- This builder for chaining.
-
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. Only supported for the `dictionary`, `regex`, and `stored_type` CustomInfoTypes.
.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;- Returns:
- This builder for chaining.
-
hasSensitivityScore
public boolean hasSensitivityScore()Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9;- Specified by:
hasSensitivityScorein interfaceCustomInfoTypeOrBuilder- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9;- Specified by:
getSensitivityScorein interfaceCustomInfoTypeOrBuilder- Returns:
- The sensitivityScore.
-
setSensitivityScore
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9; -
setSensitivityScore
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9; -
mergeSensitivityScore
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9; -
clearSensitivityScore
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9; -
getSensitivityScoreBuilder
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9; -
getSensitivityScoreOrBuilder
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 9;- Specified by:
getSensitivityScoreOrBuilderin interfaceCustomInfoTypeOrBuilder
-