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 type
google.privacy.dlp.v2.CustomInfoType| Modifier and Type | Method and Description |
|---|---|
CustomInfoType.Builder |
addAllDetectionRules(Iterable<? extends CustomInfoType.DetectionRule> values)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
addDetectionRules(CustomInfoType.DetectionRule.Builder builderForValue)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
addDetectionRules(CustomInfoType.DetectionRule value)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
addDetectionRules(int index,
CustomInfoType.DetectionRule.Builder builderForValue)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
addDetectionRules(int index,
CustomInfoType.DetectionRule value)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.DetectionRule.Builder |
addDetectionRulesBuilder()
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.DetectionRule.Builder |
addDetectionRulesBuilder(int index)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CustomInfoType |
build() |
CustomInfoType |
buildPartial() |
CustomInfoType.Builder |
clear() |
CustomInfoType.Builder |
clearDetectionRules()
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
clearDictionary()
A list of phrases to detect as a CustomInfoType.
|
CustomInfoType.Builder |
clearExclusionType()
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
to be returned.
|
CustomInfoType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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.
|
CustomInfoType.Builder |
clearLikelihood()
Likelihood to return for this CustomInfoType.
|
CustomInfoType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CustomInfoType.Builder |
clearRegex()
Regular expression based CustomInfoType.
|
CustomInfoType.Builder |
clearStoredType()
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
CustomInfoType.Builder |
clearSurrogateType()
Message for detecting output from deidentification transformations that
support reversing.
|
CustomInfoType.Builder |
clearType() |
CustomInfoType.Builder |
clone() |
CustomInfoType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CustomInfoType.DetectionRule |
getDetectionRules(int index)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.DetectionRule.Builder |
getDetectionRulesBuilder(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.
|
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.Dictionary.Builder |
getDictionaryBuilder()
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.
|
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.
|
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.Regex.Builder |
getRegexBuilder()
Regular expression based CustomInfoType.
|
CustomInfoType.RegexOrBuilder |
getRegexOrBuilder()
Regular expression based CustomInfoType.
|
StoredType |
getStoredType()
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
StoredType.Builder |
getStoredTypeBuilder()
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.SurrogateType.Builder |
getSurrogateTypeBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CustomInfoType.Builder |
mergeDictionary(CustomInfoType.Dictionary value)
A list of phrases to detect as a CustomInfoType.
|
CustomInfoType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomInfoType.Builder |
mergeFrom(CustomInfoType other) |
CustomInfoType.Builder |
mergeFrom(com.google.protobuf.Message other) |
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.
|
CustomInfoType.Builder |
mergeRegex(CustomInfoType.Regex value)
Regular expression based CustomInfoType.
|
CustomInfoType.Builder |
mergeStoredType(StoredType value)
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
CustomInfoType.Builder |
mergeSurrogateType(CustomInfoType.SurrogateType value)
Message for detecting output from deidentification transformations that
support reversing.
|
CustomInfoType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CustomInfoType.Builder |
removeDetectionRules(int index)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
setDetectionRules(int index,
CustomInfoType.DetectionRule.Builder builderForValue)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
setDetectionRules(int index,
CustomInfoType.DetectionRule value)
Set of detection rules to apply to all findings of this CustomInfoType.
|
CustomInfoType.Builder |
setDictionary(CustomInfoType.Dictionary.Builder builderForValue)
A list of phrases to detect as a CustomInfoType.
|
CustomInfoType.Builder |
setDictionary(CustomInfoType.Dictionary value)
A list of phrases to detect as a CustomInfoType.
|
CustomInfoType.Builder |
setExclusionType(CustomInfoType.ExclusionType value)
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
to be returned.
|
CustomInfoType.Builder |
setExclusionTypeValue(int value)
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
to be returned.
|
CustomInfoType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
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.
|
CustomInfoType.Builder |
setLikelihood(Likelihood value)
Likelihood to return for this CustomInfoType.
|
CustomInfoType.Builder |
setLikelihoodValue(int value)
Likelihood to return for this CustomInfoType.
|
CustomInfoType.Builder |
setRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression based CustomInfoType.
|
CustomInfoType.Builder |
setRegex(CustomInfoType.Regex value)
Regular expression based CustomInfoType.
|
CustomInfoType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CustomInfoType.Builder |
setStoredType(StoredType.Builder builderForValue)
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
CustomInfoType.Builder |
setStoredType(StoredType value)
Load an existing `StoredInfoType` resource for use in
`InspectDataSource`.
|
CustomInfoType.Builder |
setSurrogateType(CustomInfoType.SurrogateType.Builder builderForValue)
Message for detecting output from deidentification transformations that
support reversing.
|
CustomInfoType.Builder |
setSurrogateType(CustomInfoType.SurrogateType value)
Message for detecting output from deidentification transformations that
support reversing.
|
CustomInfoType.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomInfoType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomInfoType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomInfoType.Builder>public CustomInfoType.Builder mergeFrom(CustomInfoType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public CustomInfoType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomInfoType.Builder>IOExceptionpublic CustomInfoType.TypeCase getTypeCase()
getTypeCase in interface CustomInfoTypeOrBuilderpublic CustomInfoType.Builder clearType()
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;hasInfoType in interface CustomInfoTypeOrBuilderpublic 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;getInfoType in interface CustomInfoTypeOrBuilderpublic 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;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;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;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;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;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;getInfoTypeOrBuilder in interface CustomInfoTypeOrBuilderpublic 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;getLikelihoodValue in interface CustomInfoTypeOrBuilderpublic 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;value - The enum numeric value on the wire for likelihood to set.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;getLikelihood in interface CustomInfoTypeOrBuilderpublic 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;value - The likelihood to set.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;public boolean hasDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;hasDictionary in interface CustomInfoTypeOrBuilderpublic CustomInfoType.Dictionary getDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;getDictionary in interface CustomInfoTypeOrBuilderpublic CustomInfoType.Builder setDictionary(CustomInfoType.Dictionary value)
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;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;public CustomInfoType.Builder mergeDictionary(CustomInfoType.Dictionary value)
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;public CustomInfoType.Builder clearDictionary()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;public CustomInfoType.Dictionary.Builder getDictionaryBuilder()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
A list of phrases to detect as a CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;getDictionaryOrBuilder in interface CustomInfoTypeOrBuilderpublic boolean hasRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;hasRegex in interface CustomInfoTypeOrBuilderpublic CustomInfoType.Regex getRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;getRegex in interface CustomInfoTypeOrBuilderpublic CustomInfoType.Builder setRegex(CustomInfoType.Regex value)
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;public CustomInfoType.Builder setRegex(CustomInfoType.Regex.Builder builderForValue)
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;public CustomInfoType.Builder mergeRegex(CustomInfoType.Regex value)
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;public CustomInfoType.Builder clearRegex()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;public CustomInfoType.Regex.Builder getRegexBuilder()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;public CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression based CustomInfoType.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;getRegexOrBuilder in interface CustomInfoTypeOrBuilderpublic boolean hasSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;hasSurrogateType in interface CustomInfoTypeOrBuilderpublic CustomInfoType.SurrogateType getSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;getSurrogateType in interface CustomInfoTypeOrBuilderpublic 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;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;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;public CustomInfoType.Builder clearSurrogateType()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;public CustomInfoType.SurrogateType.Builder getSurrogateTypeBuilder()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;public CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder()
Message for detecting output from deidentification transformations that support reversing.
.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;getSurrogateTypeOrBuilder in interface CustomInfoTypeOrBuilderpublic boolean hasStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;hasStoredType in interface CustomInfoTypeOrBuilderpublic StoredType getStoredType()
Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
.google.privacy.dlp.v2.StoredType stored_type = 5;getStoredType in interface CustomInfoTypeOrBuilderpublic 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;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;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;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;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;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;getStoredTypeOrBuilder in interface CustomInfoTypeOrBuilderpublic 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;
getDetectionRulesList in interface CustomInfoTypeOrBuilderpublic 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;
getDetectionRulesCount in interface CustomInfoTypeOrBuilderpublic 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;
getDetectionRules in interface CustomInfoTypeOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getDetectionRulesOrBuilder in interface CustomInfoTypeOrBuilderpublic 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;
getDetectionRulesOrBuilderList in interface CustomInfoTypeOrBuilderpublic 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;
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;
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;
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;getExclusionTypeValue in interface CustomInfoTypeOrBuilderpublic 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;value - The enum numeric value on the wire for exclusionType to set.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;getExclusionType in interface CustomInfoTypeOrBuilderpublic 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;value - The exclusionType to set.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;public final CustomInfoType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>public final CustomInfoType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomInfoType.Builder>Copyright © 2022 Google LLC. All rights reserved.