Package com.google.privacy.dlp.v2
Interface InspectConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InspectConfig,InspectConfig.Builder
@Generated
public interface InspectConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetContentOptions(int index) Deprecated and unused.intDeprecated and unused.Deprecated and unused.intgetContentOptionsValue(int index) Deprecated and unused.Deprecated and unused.getCustomInfoTypes(int index) CustomInfoTypes provided by the user.intCustomInfoTypes provided by the user.CustomInfoTypes provided by the user.getCustomInfoTypesOrBuilder(int index) CustomInfoTypes provided by the user.List<? extends CustomInfoTypeOrBuilder>CustomInfoTypes provided by the user.booleanWhen true, excludes type information of the findings.booleanWhen true, a contextual quote from the data that triggered a finding is included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote].getInfoTypes(int index) Restricts what info_types to look for.intRestricts what info_types to look for.Restricts what info_types to look for.getInfoTypesOrBuilder(int index) Restricts what info_types to look for.List<? extends InfoTypeOrBuilder>Restricts what info_types to look for.Configuration to control the number of findings returned.Configuration to control the number of findings returned.Only returns findings equal to or above this threshold.getMinLikelihoodPerInfoType(int index) Minimum likelihood per infotype.intMinimum likelihood per infotype.Minimum likelihood per infotype.getMinLikelihoodPerInfoTypeOrBuilder(int index) Minimum likelihood per infotype.List<? extends InspectConfig.InfoTypeLikelihoodOrBuilder>Minimum likelihood per infotype.intOnly returns findings equal to or above this threshold.getRuleSet(int index) Set of rules to apply to the findings for this InspectConfig.intSet of rules to apply to the findings for this InspectConfig.Set of rules to apply to the findings for this InspectConfig.getRuleSetOrBuilder(int index) Set of rules to apply to the findings for this InspectConfig.List<? extends InspectionRuleSetOrBuilder>Set of rules to apply to the findings for this InspectConfig.booleanConfiguration to control the number of findings returned.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInfoTypesList
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose a default list of detectors to run, which may change over time. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypes
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose a default list of detectors to run, which may change over time. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesCount
int getInfoTypesCount()Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose a default list of detectors to run, which may change over time. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesOrBuilderList
List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose a default list of detectors to run, which may change over time. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getInfoTypesOrBuilder
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose a default list of detectors to run, which may change over time. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
repeated .google.privacy.dlp.v2.InfoType info_types = 1; -
getMinLikelihoodValue
int getMinLikelihoodValue()Only returns findings equal to or above this threshold. The default is POSSIBLE. In general, the highest likelihood setting yields the fewest findings in results and the lowest chance of a false positive. For more information, see [Match likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;- Returns:
- The enum numeric value on the wire for minLikelihood.
-
getMinLikelihood
Likelihood getMinLikelihood()Only returns findings equal to or above this threshold. The default is POSSIBLE. In general, the highest likelihood setting yields the fewest findings in results and the lowest chance of a false positive. For more information, see [Match likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;- Returns:
- The minLikelihood.
-
getMinLikelihoodPerInfoTypeList
List<InspectConfig.InfoTypeLikelihood> getMinLikelihoodPerInfoTypeList()Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood.
repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; -
getMinLikelihoodPerInfoType
Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood.
repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; -
getMinLikelihoodPerInfoTypeCount
int getMinLikelihoodPerInfoTypeCount()Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood.
repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; -
getMinLikelihoodPerInfoTypeOrBuilderList
List<? extends InspectConfig.InfoTypeLikelihoodOrBuilder> getMinLikelihoodPerInfoTypeOrBuilderList()Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood.
repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; -
getMinLikelihoodPerInfoTypeOrBuilder
Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood.
repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; -
hasLimits
boolean hasLimits()Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] requests. Otherwise, Cloud DLP returns an error. When set within an [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than these maximum values.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;- Returns:
- Whether the limits field is set.
-
getLimits
InspectConfig.FindingLimits getLimits()Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] requests. Otherwise, Cloud DLP returns an error. When set within an [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than these maximum values.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;- Returns:
- The limits.
-
getLimitsOrBuilder
InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder()Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] requests. Otherwise, Cloud DLP returns an error. When set within an [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than these maximum values.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; -
getIncludeQuote
boolean getIncludeQuote()When true, a contextual quote from the data that triggered a finding is included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for data profiling.
bool include_quote = 4;- Returns:
- The includeQuote.
-
getExcludeInfoTypes
boolean getExcludeInfoTypes()When true, excludes type information of the findings. This is not used for data profiling.
bool exclude_info_types = 5;- Returns:
- The excludeInfoTypes.
-
getCustomInfoTypesList
List<CustomInfoType> getCustomInfoTypesList()CustomInfoTypes provided by the user. See https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; -
getCustomInfoTypes
CustomInfoTypes provided by the user. See https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; -
getCustomInfoTypesCount
int getCustomInfoTypesCount()CustomInfoTypes provided by the user. See https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; -
getCustomInfoTypesOrBuilderList
List<? extends CustomInfoTypeOrBuilder> getCustomInfoTypesOrBuilderList()CustomInfoTypes provided by the user. See https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; -
getCustomInfoTypesOrBuilder
CustomInfoTypes provided by the user. See https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; -
getContentOptionsList
List<ContentOption> getContentOptionsList()Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;- Returns:
- A list containing the contentOptions.
-
getContentOptionsCount
int getContentOptionsCount()Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;- Returns:
- The count of contentOptions.
-
getContentOptions
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;- Parameters:
index- The index of the element to return.- Returns:
- The contentOptions at the given index.
-
getContentOptionsValueList
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;- Returns:
- A list containing the enum numeric values on the wire for contentOptions.
-
getContentOptionsValue
int getContentOptionsValue(int index) Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of contentOptions at the given index.
-
getRuleSetList
List<InspectionRuleSet> getRuleSetList()Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Not supported for the `metadata_key_value_expression` CustomInfoType.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10; -
getRuleSet
Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Not supported for the `metadata_key_value_expression` CustomInfoType.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10; -
getRuleSetCount
int getRuleSetCount()Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Not supported for the `metadata_key_value_expression` CustomInfoType.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10; -
getRuleSetOrBuilderList
List<? extends InspectionRuleSetOrBuilder> getRuleSetOrBuilderList()Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Not supported for the `metadata_key_value_expression` CustomInfoType.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10; -
getRuleSetOrBuilder
Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type. Not supported for the `metadata_key_value_expression` CustomInfoType.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
-