- 3.57.0 (latest)
- 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()
Type | Description |
Descriptor |
Methods
addAllContentOptions(Iterable<? extends ContentOption> values)
public InspectConfig.Builder addAllContentOptions(Iterable<? extends ContentOption> values)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.ContentOption> The contentOptions to add. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
addAllContentOptionsValue(Iterable<Integer> values)
public InspectConfig.Builder addAllContentOptionsValue(Iterable<Integer> values)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for contentOptions to add. |
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/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.CustomInfoType> |
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InfoType> |
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;
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InspectionRuleSet> |
Type | Description |
InspectConfig.Builder |
addContentOptions(ContentOption value)
public InspectConfig.Builder addContentOptions(ContentOption value)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
value | ContentOption The contentOptions to add. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
addContentOptionsValue(int value)
public InspectConfig.Builder addContentOptionsValue(int value)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
value | int The enum numeric value on the wire for contentOptions to add. |
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/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
value | CustomInfoType |
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/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
builderForValue | CustomInfoType.Builder |
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/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
value | CustomInfoType |
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/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
builderForValue | CustomInfoType.Builder |
Type | Description |
InspectConfig.Builder |
addCustomInfoTypesBuilder()
public CustomInfoType.Builder addCustomInfoTypesBuilder()
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Type | Description |
CustomInfoType.Builder |
addCustomInfoTypesBuilder(int index)
public CustomInfoType.Builder addCustomInfoTypesBuilder(int index)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
value | InfoType |
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
builderForValue | InfoType.Builder |
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
value | InfoType |
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
builderForValue | InfoType.Builder |
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
Type | Description |
InfoType.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | InspectionRuleSet |
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;
Name | Description |
builderForValue | InspectionRuleSet.Builder |
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;
Name | Description |
index | int |
value | InspectionRuleSet |
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;
Name | Description |
index | int |
builderForValue | InspectionRuleSet.Builder |
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;
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;
Name | Description |
index | int |
Type | Description |
InspectionRuleSet.Builder |
build()
public InspectConfig build()
Type | Description |
InspectConfig |
buildPartial()
public InspectConfig buildPartial()
Type | Description |
InspectConfig |
clear()
public InspectConfig.Builder clear()
Type | Description |
InspectConfig.Builder |
clearContentOptions()
public InspectConfig.Builder clearContentOptions()
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Type | Description |
InspectConfig.Builder | This builder for chaining. |
clearCustomInfoTypes()
public InspectConfig.Builder clearCustomInfoTypes()
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Type | Description |
InspectConfig.Builder |
clearExcludeInfoTypes()
public InspectConfig.Builder clearExcludeInfoTypes()
When true, excludes type information of the findings.
bool exclude_info_types = 5;
Type | Description |
InspectConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InspectConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InspectConfig.Builder |
clearIncludeQuote()
public InspectConfig.Builder clearIncludeQuote()
When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.
bool include_quote = 4;
Type | Description |
InspectConfig.Builder | This builder for chaining. |
clearInfoTypes()
public InspectConfig.Builder clearInfoTypes()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Type | Description |
InspectConfig.Builder |
clearLimits()
public InspectConfig.Builder clearLimits()
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Type | Description |
InspectConfig.Builder |
clearMinLikelihood()
public InspectConfig.Builder clearMinLikelihood()
Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Type | Description |
InspectConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InspectConfig.Builder |
clearRuleSet()
public InspectConfig.Builder clearRuleSet()
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;
Type | Description |
InspectConfig.Builder |
clone()
public InspectConfig.Builder clone()
Type | Description |
InspectConfig.Builder |
getContentOptions(int index)
public ContentOption getContentOptions(int index)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
index | int The index of the element to return. |
Type | Description |
ContentOption | The contentOptions at the given index. |
getContentOptionsCount()
public int getContentOptionsCount()
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Type | Description |
int | The count of contentOptions. |
getContentOptionsList()
public List<ContentOption> getContentOptionsList()
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Type | Description |
List<ContentOption> | A list containing the contentOptions. |
getContentOptionsValue(int index)
public int getContentOptionsValue(int index)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of contentOptions at the given index. |
getContentOptionsValueList()
public List<Integer> getContentOptionsValueList()
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for contentOptions. |
getCustomInfoTypes(int index)
public CustomInfoType getCustomInfoTypes(int index)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
Type | Description |
CustomInfoType |
getCustomInfoTypesBuilder(int index)
public CustomInfoType.Builder getCustomInfoTypesBuilder(int index)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
Type | Description |
CustomInfoType.Builder |
getCustomInfoTypesBuilderList()
public List<CustomInfoType.Builder> getCustomInfoTypesBuilderList()
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Type | Description |
List<Builder> |
getCustomInfoTypesCount()
public int getCustomInfoTypesCount()
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Type | Description |
int |
getCustomInfoTypesList()
public List<CustomInfoType> getCustomInfoTypesList()
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Type | Description |
List<CustomInfoType> |
getCustomInfoTypesOrBuilder(int index)
public CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
Type | Description |
CustomInfoTypeOrBuilder |
getCustomInfoTypesOrBuilderList()
public List<? extends CustomInfoTypeOrBuilder> getCustomInfoTypesOrBuilderList()
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Type | Description |
List<? extends com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> |
getDefaultInstanceForType()
public InspectConfig getDefaultInstanceForType()
Type | Description |
InspectConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExcludeInfoTypes()
public boolean getExcludeInfoTypes()
When true, excludes type information of the findings.
bool exclude_info_types = 5;
Type | Description |
boolean | The excludeInfoTypes. |
getIncludeQuote()
public boolean getIncludeQuote()
When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.
bool include_quote = 4;
Type | Description |
boolean | The includeQuote. |
getInfoTypes(int index)
public InfoType getInfoTypes(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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
Type | Description |
InfoType |
getInfoTypesBuilder(int index)
public InfoType.Builder getInfoTypesBuilder(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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
Type | Description |
InfoType.Builder |
getInfoTypesBuilderList()
public List<InfoType.Builder> getInfoTypesBuilderList()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Type | Description |
List<Builder> |
getInfoTypesCount()
public 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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Type | Description |
int |
getInfoTypesList()
public List<InfoType> 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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Type | Description |
List<InfoType> |
getInfoTypesOrBuilder(int index)
public InfoTypeOrBuilder getInfoTypesOrBuilder(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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
Type | Description |
InfoTypeOrBuilder |
getInfoTypesOrBuilderList()
public 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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Type | Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> |
getLimits()
public InspectConfig.FindingLimits getLimits()
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Type | Description |
InspectConfig.FindingLimits | The limits. |
getLimitsBuilder()
public InspectConfig.FindingLimits.Builder getLimitsBuilder()
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Type | Description |
InspectConfig.FindingLimits.Builder |
getLimitsOrBuilder()
public InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder()
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Type | Description |
InspectConfig.FindingLimitsOrBuilder |
getMinLikelihood()
public Likelihood getMinLikelihood()
Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Type | Description |
Likelihood | The minLikelihood. |
getMinLikelihoodValue()
public int getMinLikelihoodValue()
Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Type | Description |
int | The enum numeric value on the wire for minLikelihood. |
getRuleSet(int index)
public InspectionRuleSet getRuleSet(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;
Name | Description |
index | int |
Type | Description |
InspectionRuleSet |
getRuleSetBuilder(int index)
public InspectionRuleSet.Builder getRuleSetBuilder(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;
Name | Description |
index | int |
Type | Description |
InspectionRuleSet.Builder |
getRuleSetBuilderList()
public List<InspectionRuleSet.Builder> getRuleSetBuilderList()
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;
Type | Description |
List<Builder> |
getRuleSetCount()
public 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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Type | Description |
int |
getRuleSetList()
public 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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Type | Description |
List<InspectionRuleSet> |
getRuleSetOrBuilder(int index)
public InspectionRuleSetOrBuilder getRuleSetOrBuilder(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;
Name | Description |
index | int |
Type | Description |
InspectionRuleSetOrBuilder |
getRuleSetOrBuilderList()
public 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.
repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
Type | Description |
List<? extends com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> |
hasLimits()
public boolean hasLimits()
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Type | Description |
boolean | Whether the limits field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InspectConfig other)
public InspectConfig.Builder mergeFrom(InspectConfig other)
Name | Description |
other | InspectConfig |
Type | Description |
InspectConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InspectConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InspectConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InspectConfig.Builder |
mergeLimits(InspectConfig.FindingLimits value)
public InspectConfig.Builder mergeLimits(InspectConfig.FindingLimits value)
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Name | Description |
value | InspectConfig.FindingLimits |
Type | Description |
InspectConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InspectConfig.Builder |
removeCustomInfoTypes(int index)
public InspectConfig.Builder removeCustomInfoTypes(int index)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
Type | Description |
InspectConfig.Builder |
removeInfoTypes(int index)
public InspectConfig.Builder removeInfoTypes(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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
Type | Description |
InspectConfig.Builder |
removeRuleSet(int index)
public InspectConfig.Builder removeRuleSet(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;
Name | Description |
index | int |
Type | Description |
InspectConfig.Builder |
setContentOptions(int index, ContentOption value)
public InspectConfig.Builder setContentOptions(int index, ContentOption value)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
index | int The index to set the value at. |
value | ContentOption The contentOptions to set. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
setContentOptionsValue(int index, int value)
public InspectConfig.Builder setContentOptionsValue(int index, int value)
List of options defining data content to scan. If empty, text, images, and other content will be included.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
Name | Description |
index | int The index of the value to return. |
value | int |
Type | Description |
InspectConfig.Builder | The enum numeric value on the wire of contentOptions at the given index. |
setCustomInfoTypes(int index, CustomInfoType value)
public InspectConfig.Builder setCustomInfoTypes(int index, CustomInfoType value)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
value | CustomInfoType |
Type | Description |
InspectConfig.Builder |
setCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
public InspectConfig.Builder setCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
Name | Description |
index | int |
builderForValue | CustomInfoType.Builder |
Type | Description |
InspectConfig.Builder |
setExcludeInfoTypes(boolean value)
public InspectConfig.Builder setExcludeInfoTypes(boolean value)
When true, excludes type information of the findings.
bool exclude_info_types = 5;
Name | Description |
value | boolean The excludeInfoTypes to set. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InspectConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InspectConfig.Builder |
setIncludeQuote(boolean value)
public InspectConfig.Builder setIncludeQuote(boolean value)
When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.
bool include_quote = 4;
Name | Description |
value | boolean The includeQuote to set. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
setInfoTypes(int index, InfoType value)
public InspectConfig.Builder setInfoTypes(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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
value | InfoType |
Type | Description |
InspectConfig.Builder |
setInfoTypes(int index, InfoType.Builder builderForValue)
public InspectConfig.Builder setInfoTypes(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/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. 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;
Name | Description |
index | int |
builderForValue | InfoType.Builder |
Type | Description |
InspectConfig.Builder |
setLimits(InspectConfig.FindingLimits value)
public InspectConfig.Builder setLimits(InspectConfig.FindingLimits value)
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Name | Description |
value | InspectConfig.FindingLimits |
Type | Description |
InspectConfig.Builder |
setLimits(InspectConfig.FindingLimits.Builder builderForValue)
public InspectConfig.Builder setLimits(InspectConfig.FindingLimits.Builder builderForValue)
Configuration to control the number of findings returned.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
Name | Description |
builderForValue | InspectConfig.FindingLimits.Builder |
Type | Description |
InspectConfig.Builder |
setMinLikelihood(Likelihood value)
public InspectConfig.Builder setMinLikelihood(Likelihood value)
Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Name | Description |
value | Likelihood The minLikelihood to set. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
setMinLikelihoodValue(int value)
public InspectConfig.Builder setMinLikelihoodValue(int value)
Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
Name | Description |
value | int The enum numeric value on the wire for minLikelihood to set. |
Type | Description |
InspectConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InspectConfig.Builder |
setRuleSet(int index, InspectionRuleSet value)
public InspectConfig.Builder setRuleSet(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;
Name | Description |
index | int |
value | InspectionRuleSet |
Type | Description |
InspectConfig.Builder |
setRuleSet(int index, InspectionRuleSet.Builder builderForValue)
public InspectConfig.Builder setRuleSet(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;
Name | Description |
index | int |
builderForValue | InspectionRuleSet.Builder |
Type | Description |
InspectConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InspectConfig.Builder |