public interface CustomInfoTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
CustomInfoType.DetectionRule |
getDetectionRules(int index)
Set of detection rules to apply to all findings of this CustomInfoType.
|
int |
getDetectionRulesCount()
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.DetectionRuleOrBuilder |
getDetectionRulesOrBuilder(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.Dictionary |
getDictionary()
A list of phrases to detect as a CustomInfoType.
|
CustomInfoType.DictionaryOrBuilder |
getDictionaryOrBuilder()
A list of phrases to detect as a CustomInfoType.
|
CustomInfoType.ExclusionType |
getExclusionType()
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
to be returned.
|
int |
getExclusionTypeValue()
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
to be returned.
|
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.
|
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.
|
Likelihood |
getLikelihood()
Likelihood to return for this CustomInfoType.
|
int |
getLikelihoodValue()
Likelihood to return for this CustomInfoType.
|
CustomInfoType.Regex |
getRegex()
Regular expression based CustomInfoType.
|
CustomInfoType.RegexOrBuilder |
getRegexOrBuilder()
Regular expression based CustomInfoType.
|
StoredType |
getStoredType()
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
StoredTypeOrBuilder |
getStoredTypeOrBuilder()
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
CustomInfoType.SurrogateType |
getSurrogateType()
Message for detecting output from deidentification transformations that
support reversing.
|
CustomInfoType.SurrogateTypeOrBuilder |
getSurrogateTypeOrBuilder()
Message for detecting output from deidentification transformations that
support reversing.
|
CustomInfoType.TypeCase |
getTypeCase() |
boolean |
hasDictionary()
A list of phrases to detect as a CustomInfoType.
|
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.
|
boolean |
hasRegex()
Regular expression based CustomInfoType.
|
boolean |
hasStoredType()
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
boolean |
hasSurrogateType()
Message for detecting output from deidentification transformations that
support reversing.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;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;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;boolean hasDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;CustomInfoType.Dictionary getDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;boolean hasRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;CustomInfoType.Regex getRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;boolean hasSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;CustomInfoType.SurrogateType getSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;boolean hasStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;StoredType getStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;StoredTypeOrBuilder getStoredTypeOrBuilder()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;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;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;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;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;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;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;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;CustomInfoType.TypeCase getTypeCase()
Copyright © 2022 Google LLC. All rights reserved.