- 3.79.0 (latest)
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class InspectConfig.Builder extends GeneratedMessageV3.Builder<InspectConfig.Builder> implements InspectConfigOrBuilder
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
Protobuf type google.privacy.dlp.v2.InspectConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InspectConfig.BuilderImplements
InspectConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllContentOptions(Iterable<? extends ContentOption> values)
public InspectConfig.Builder addAllContentOptions(Iterable<? extends ContentOption> values)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.ContentOption> The contentOptions to add. |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
This builder for chaining. |
addAllContentOptionsValue(Iterable<Integer> values)
public InspectConfig.Builder addAllContentOptionsValue(Iterable<Integer> values)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for contentOptions to add. |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
This builder for chaining. |
addAllCustomInfoTypes(Iterable<? extends CustomInfoType> values)
public InspectConfig.Builder addAllCustomInfoTypes(Iterable<? extends CustomInfoType> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.CustomInfoType> |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addAllInfoTypes(Iterable<? extends InfoType> values)
public InspectConfig.Builder addAllInfoTypes(Iterable<? extends InfoType> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.InfoType> |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addAllMinLikelihoodPerInfoType(Iterable<? extends InspectConfig.InfoTypeLikelihood> values)
public InspectConfig.Builder addAllMinLikelihoodPerInfoType(Iterable<? extends InspectConfig.InfoTypeLikelihood> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood> |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addAllRuleSet(Iterable<? extends InspectionRuleSet> values)
public InspectConfig.Builder addAllRuleSet(Iterable<? extends InspectionRuleSet> values)
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.InspectionRuleSet> |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addContentOptions(ContentOption value)
public InspectConfig.Builder addContentOptions(ContentOption value)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Parameter | |
---|---|
Name | Description |
value |
ContentOption The contentOptions to add. |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
This builder for chaining. |
addContentOptionsValue(int value)
public InspectConfig.Builder addContentOptionsValue(int value)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for contentOptions to add. |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
This builder for chaining. |
addCustomInfoTypes(CustomInfoType value)
public InspectConfig.Builder addCustomInfoTypes(CustomInfoType value)
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;
Parameter | |
---|---|
Name | Description |
value |
CustomInfoType |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addCustomInfoTypes(CustomInfoType.Builder builderForValue)
public InspectConfig.Builder addCustomInfoTypes(CustomInfoType.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
CustomInfoType.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addCustomInfoTypes(int index, CustomInfoType value)
public InspectConfig.Builder addCustomInfoTypes(int index, CustomInfoType value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
CustomInfoType |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
public InspectConfig.Builder addCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
CustomInfoType.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addCustomInfoTypesBuilder()
public CustomInfoType.Builder addCustomInfoTypesBuilder()
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;
Returns | |
---|---|
Type | Description |
CustomInfoType.Builder |
addCustomInfoTypesBuilder(int index)
public CustomInfoType.Builder addCustomInfoTypesBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CustomInfoType.Builder |
addInfoTypes(InfoType value)
public InspectConfig.Builder addInfoTypes(InfoType value)
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;
Parameter | |
---|---|
Name | Description |
value |
InfoType |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addInfoTypes(InfoType.Builder builderForValue)
public InspectConfig.Builder addInfoTypes(InfoType.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
InfoType.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addInfoTypes(int index, InfoType value)
public InspectConfig.Builder addInfoTypes(int index, InfoType value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InfoType |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addInfoTypes(int index, InfoType.Builder builderForValue)
public InspectConfig.Builder addInfoTypes(int index, InfoType.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InfoType.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addInfoTypesBuilder()
public InfoType.Builder addInfoTypesBuilder()
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;
Returns | |
---|---|
Type | Description |
InfoType.Builder |
addInfoTypesBuilder(int index)
public InfoType.Builder addInfoTypesBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InfoType.Builder |
addMinLikelihoodPerInfoType(InspectConfig.InfoTypeLikelihood value)
public InspectConfig.Builder addMinLikelihoodPerInfoType(InspectConfig.InfoTypeLikelihood value)
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;
Parameter | |
---|---|
Name | Description |
value |
InspectConfig.InfoTypeLikelihood |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addMinLikelihoodPerInfoType(InspectConfig.InfoTypeLikelihood.Builder builderForValue)
public InspectConfig.Builder addMinLikelihoodPerInfoType(InspectConfig.InfoTypeLikelihood.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
InspectConfig.InfoTypeLikelihood.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood value)
public InspectConfig.Builder addMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InspectConfig.InfoTypeLikelihood |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood.Builder builderForValue)
public InspectConfig.Builder addMinLikelihoodPerInfoType(int index, InspectConfig.InfoTypeLikelihood.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InspectConfig.InfoTypeLikelihood.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addMinLikelihoodPerInfoTypeBuilder()
public InspectConfig.InfoTypeLikelihood.Builder addMinLikelihoodPerInfoTypeBuilder()
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;
Returns | |
---|---|
Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
addMinLikelihoodPerInfoTypeBuilder(int index)
public InspectConfig.InfoTypeLikelihood.Builder addMinLikelihoodPerInfoTypeBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InspectConfig.InfoTypeLikelihood.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addRuleSet(InspectionRuleSet value)
public InspectConfig.Builder addRuleSet(InspectionRuleSet value)
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Parameter | |
---|---|
Name | Description |
value |
InspectionRuleSet |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addRuleSet(InspectionRuleSet.Builder builderForValue)
public InspectConfig.Builder addRuleSet(InspectionRuleSet.Builder builderForValue)
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
InspectionRuleSet.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addRuleSet(int index, InspectionRuleSet value)
public InspectConfig.Builder addRuleSet(int index, InspectionRuleSet value)
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InspectionRuleSet |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addRuleSet(int index, InspectionRuleSet.Builder builderForValue)
public InspectConfig.Builder addRuleSet(int index, InspectionRuleSet.Builder builderForValue)
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InspectionRuleSet.Builder |
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
addRuleSetBuilder()
public InspectionRuleSet.Builder addRuleSetBuilder()
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Returns | |
---|---|
Type | Description |
InspectionRuleSet.Builder |
addRuleSetBuilder(int index)
public InspectionRuleSet.Builder addRuleSetBuilder(int index)
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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InspectionRuleSet.Builder |
build()
public InspectConfig build()
Returns | |
---|---|
Type | Description |
InspectConfig |
buildPartial()
public InspectConfig buildPartial()
Returns | |
---|---|
Type | Description |
InspectConfig |
clear()
public InspectConfig.Builder clear()
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
clearContentOptions()
public InspectConfig.Builder clearContentOptions()
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Returns | |
---|---|
Type | Description |
|