public static final class InspectConfig.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
InspectConfig.Builder |
addAllContentOptions(Iterable<? extends ContentOption> values)
Deprecated and unused.
|
InspectConfig.Builder |
addAllContentOptionsValue(Iterable<Integer> values)
Deprecated and unused.
|
InspectConfig.Builder |
addAllCustomInfoTypes(Iterable<? extends CustomInfoType> values)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
addAllInfoTypes(Iterable<? extends InfoType> values)
Restricts what info_types to look for.
|
InspectConfig.Builder |
addAllRuleSet(Iterable<? extends InspectionRuleSet> values)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
addContentOptions(ContentOption value)
Deprecated and unused.
|
InspectConfig.Builder |
addContentOptionsValue(int value)
Deprecated and unused.
|
InspectConfig.Builder |
addCustomInfoTypes(CustomInfoType.Builder builderForValue)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
addCustomInfoTypes(CustomInfoType value)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
addCustomInfoTypes(int index,
CustomInfoType.Builder builderForValue)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
addCustomInfoTypes(int index,
CustomInfoType value)
CustomInfoTypes provided by the user.
|
CustomInfoType.Builder |
addCustomInfoTypesBuilder()
CustomInfoTypes provided by the user.
|
CustomInfoType.Builder |
addCustomInfoTypesBuilder(int index)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
addInfoTypes(InfoType.Builder builderForValue)
Restricts what info_types to look for.
|
InspectConfig.Builder |
addInfoTypes(InfoType value)
Restricts what info_types to look for.
|
InspectConfig.Builder |
addInfoTypes(int index,
InfoType.Builder builderForValue)
Restricts what info_types to look for.
|
InspectConfig.Builder |
addInfoTypes(int index,
InfoType value)
Restricts what info_types to look for.
|
InfoType.Builder |
addInfoTypesBuilder()
Restricts what info_types to look for.
|
InfoType.Builder |
addInfoTypesBuilder(int index)
Restricts what info_types to look for.
|
InspectConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InspectConfig.Builder |
addRuleSet(InspectionRuleSet.Builder builderForValue)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
addRuleSet(InspectionRuleSet value)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
addRuleSet(int index,
InspectionRuleSet.Builder builderForValue)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
addRuleSet(int index,
InspectionRuleSet value)
Set of rules to apply to the findings for this InspectConfig.
|
InspectionRuleSet.Builder |
addRuleSetBuilder()
Set of rules to apply to the findings for this InspectConfig.
|
InspectionRuleSet.Builder |
addRuleSetBuilder(int index)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig |
build() |
InspectConfig |
buildPartial() |
InspectConfig.Builder |
clear() |
InspectConfig.Builder |
clearContentOptions()
Deprecated and unused.
|
InspectConfig.Builder |
clearCustomInfoTypes()
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
clearExcludeInfoTypes()
When true, excludes type information of the findings.
|
InspectConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InspectConfig.Builder |
clearIncludeQuote()
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].
|
InspectConfig.Builder |
clearInfoTypes()
Restricts what info_types to look for.
|
InspectConfig.Builder |
clearLimits()
Configuration to control the number of findings returned.
|
InspectConfig.Builder |
clearMinLikelihood()
Only returns findings equal or above this threshold.
|
InspectConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InspectConfig.Builder |
clearRuleSet()
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
clone() |
ContentOption |
getContentOptions(int index)
Deprecated and unused.
|
int |
getContentOptionsCount()
Deprecated and unused.
|
List<ContentOption> |
getContentOptionsList()
Deprecated and unused.
|
int |
getContentOptionsValue(int index)
Deprecated and unused.
|
List<Integer> |
getContentOptionsValueList()
Deprecated and unused.
|
CustomInfoType |
getCustomInfoTypes(int index)
CustomInfoTypes provided by the user.
|
CustomInfoType.Builder |
getCustomInfoTypesBuilder(int index)
CustomInfoTypes provided by the user.
|
List<CustomInfoType.Builder> |
getCustomInfoTypesBuilderList()
CustomInfoTypes provided by the user.
|
int |
getCustomInfoTypesCount()
CustomInfoTypes provided by the user.
|
List<CustomInfoType> |
getCustomInfoTypesList()
CustomInfoTypes provided by the user.
|
CustomInfoTypeOrBuilder |
getCustomInfoTypesOrBuilder(int index)
CustomInfoTypes provided by the user.
|
List<? extends CustomInfoTypeOrBuilder> |
getCustomInfoTypesOrBuilderList()
CustomInfoTypes provided by the user.
|
InspectConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getExcludeInfoTypes()
When true, excludes type information of the findings.
|
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].
|
InfoType |
getInfoTypes(int index)
Restricts what info_types to look for.
|
InfoType.Builder |
getInfoTypesBuilder(int index)
Restricts what info_types to look for.
|
List<InfoType.Builder> |
getInfoTypesBuilderList()
Restricts what info_types to look for.
|
int |
getInfoTypesCount()
Restricts what info_types to look for.
|
List<InfoType> |
getInfoTypesList()
Restricts what info_types to look for.
|
InfoTypeOrBuilder |
getInfoTypesOrBuilder(int index)
Restricts what info_types to look for.
|
List<? extends InfoTypeOrBuilder> |
getInfoTypesOrBuilderList()
Restricts what info_types to look for.
|
InspectConfig.FindingLimits |
getLimits()
Configuration to control the number of findings returned.
|
InspectConfig.FindingLimits.Builder |
getLimitsBuilder()
Configuration to control the number of findings returned.
|
InspectConfig.FindingLimitsOrBuilder |
getLimitsOrBuilder()
Configuration to control the number of findings returned.
|
Likelihood |
getMinLikelihood()
Only returns findings equal or above this threshold.
|
int |
getMinLikelihoodValue()
Only returns findings equal or above this threshold.
|
InspectionRuleSet |
getRuleSet(int index)
Set of rules to apply to the findings for this InspectConfig.
|
InspectionRuleSet.Builder |
getRuleSetBuilder(int index)
Set of rules to apply to the findings for this InspectConfig.
|
List<InspectionRuleSet.Builder> |
getRuleSetBuilderList()
Set of rules to apply to the findings for this InspectConfig.
|
int |
getRuleSetCount()
Set of rules to apply to the findings for this InspectConfig.
|
List<InspectionRuleSet> |
getRuleSetList()
Set of rules to apply to the findings for this InspectConfig.
|
InspectionRuleSetOrBuilder |
getRuleSetOrBuilder(int index)
Set of rules to apply to the findings for this InspectConfig.
|
List<? extends InspectionRuleSetOrBuilder> |
getRuleSetOrBuilderList()
Set of rules to apply to the findings for this InspectConfig.
|
boolean |
hasLimits()
Configuration to control the number of findings returned.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InspectConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InspectConfig.Builder |
mergeFrom(InspectConfig other) |
InspectConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
InspectConfig.Builder |
mergeLimits(InspectConfig.FindingLimits value)
Configuration to control the number of findings returned.
|
InspectConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InspectConfig.Builder |
removeCustomInfoTypes(int index)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
removeInfoTypes(int index)
Restricts what info_types to look for.
|
InspectConfig.Builder |
removeRuleSet(int index)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
setContentOptions(int index,
ContentOption value)
Deprecated and unused.
|
InspectConfig.Builder |
setContentOptionsValue(int index,
int value)
Deprecated and unused.
|
InspectConfig.Builder |
setCustomInfoTypes(int index,
CustomInfoType.Builder builderForValue)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
setCustomInfoTypes(int index,
CustomInfoType value)
CustomInfoTypes provided by the user.
|
InspectConfig.Builder |
setExcludeInfoTypes(boolean value)
When true, excludes type information of the findings.
|
InspectConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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][google.privacy.dlp.v2.Finding.quote].
|
InspectConfig.Builder |
setInfoTypes(int index,
InfoType.Builder builderForValue)
Restricts what info_types to look for.
|
InspectConfig.Builder |
setInfoTypes(int index,
InfoType value)
Restricts what info_types to look for.
|
InspectConfig.Builder |
setLimits(InspectConfig.FindingLimits.Builder builderForValue)
Configuration to control the number of findings returned.
|
InspectConfig.Builder |
setLimits(InspectConfig.FindingLimits value)
Configuration to control the number of findings returned.
|
InspectConfig.Builder |
setMinLikelihood(Likelihood value)
Only returns findings equal or above this threshold.
|
InspectConfig.Builder |
setMinLikelihoodValue(int value)
Only returns findings equal or above this threshold.
|
InspectConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InspectConfig.Builder |
setRuleSet(int index,
InspectionRuleSet.Builder builderForValue)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.Builder |
setRuleSet(int index,
InspectionRuleSet value)
Set of rules to apply to the findings for this InspectConfig.
|
InspectConfig.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<InspectConfig.Builder>public InspectConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.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<InspectConfig.Builder>public InspectConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InspectConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InspectConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InspectConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.Builder>public InspectConfig.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<InspectConfig.Builder>public InspectConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.Builder>public InspectConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.Builder>public InspectConfig.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<InspectConfig.Builder>public InspectConfig.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<InspectConfig.Builder>public InspectConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectConfig.Builder>public InspectConfig.Builder mergeFrom(InspectConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.Builder>public InspectConfig.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<InspectConfig.Builder>IOExceptionpublic 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;getInfoTypesList in interface InspectConfigOrBuilderpublic 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;getInfoTypesCount in interface InspectConfigOrBuilderpublic 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;getInfoTypes in interface InspectConfigOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getInfoTypesOrBuilder in interface InspectConfigOrBuilderpublic 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;getInfoTypesOrBuilderList in interface InspectConfigOrBuilderpublic 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;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;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;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;getMinLikelihoodValue in interface InspectConfigOrBuilderpublic 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;value - The enum numeric value on the wire for minLikelihood to set.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;getMinLikelihood in interface InspectConfigOrBuilderpublic 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;value - The minLikelihood to set.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;public 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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;hasLimits in interface InspectConfigOrBuilderpublic 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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;getLimits in interface InspectConfigOrBuilderpublic InspectConfig.Builder setLimits(InspectConfig.FindingLimits value)
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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;public InspectConfig.Builder setLimits(InspectConfig.FindingLimits.Builder builderForValue)
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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;public InspectConfig.Builder mergeLimits(InspectConfig.FindingLimits value)
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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;public InspectConfig.Builder clearLimits()
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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;public InspectConfig.FindingLimits.Builder getLimitsBuilder()
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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;public 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.
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;getLimitsOrBuilder in interface InspectConfigOrBuilderpublic 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;getIncludeQuote in interface InspectConfigOrBuilderpublic 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][google.privacy.dlp.v2.Finding.quote]. This is not used for data profiling.
bool include_quote = 4;value - The includeQuote to set.public InspectConfig.Builder clearIncludeQuote()
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;public boolean getExcludeInfoTypes()
When true, excludes type information of the findings. This is not used for data profiling.
bool exclude_info_types = 5;getExcludeInfoTypes in interface InspectConfigOrBuilderpublic InspectConfig.Builder setExcludeInfoTypes(boolean value)
When true, excludes type information of the findings. This is not used for data profiling.
bool exclude_info_types = 5;value - The excludeInfoTypes to set.public InspectConfig.Builder clearExcludeInfoTypes()
When true, excludes type information of the findings. This is not used for data profiling.
bool exclude_info_types = 5;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;getCustomInfoTypesList in interface InspectConfigOrBuilderpublic 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;getCustomInfoTypesCount in interface InspectConfigOrBuilderpublic 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;getCustomInfoTypes in interface InspectConfigOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getCustomInfoTypesOrBuilder in interface InspectConfigOrBuilderpublic 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;getCustomInfoTypesOrBuilderList in interface InspectConfigOrBuilderpublic 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;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;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;public List<ContentOption> getContentOptionsList()
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;getContentOptionsList in interface InspectConfigOrBuilderpublic int getContentOptionsCount()
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;getContentOptionsCount in interface InspectConfigOrBuilderpublic ContentOption getContentOptions(int index)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;getContentOptions in interface InspectConfigOrBuilderindex - The index of the element to return.public InspectConfig.Builder setContentOptions(int index, ContentOption value)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;index - The index to set the value at.value - The contentOptions to set.public InspectConfig.Builder addContentOptions(ContentOption value)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;value - The contentOptions to add.public InspectConfig.Builder addAllContentOptions(Iterable<? extends ContentOption> values)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;values - The contentOptions to add.public InspectConfig.Builder clearContentOptions()
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;public List<Integer> getContentOptionsValueList()
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;getContentOptionsValueList in interface InspectConfigOrBuilderpublic int getContentOptionsValue(int index)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;getContentOptionsValue in interface InspectConfigOrBuilderindex - The index of the value to return.public InspectConfig.Builder setContentOptionsValue(int index, int value)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;index - The index to set the value at.value - The enum numeric value on the wire for contentOptions to set.public InspectConfig.Builder addContentOptionsValue(int value)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;value - The enum numeric value on the wire for contentOptions to add.public InspectConfig.Builder addAllContentOptionsValue(Iterable<Integer> values)
Deprecated and unused.
repeated .google.privacy.dlp.v2.ContentOption content_options = 8;values - The enum numeric values on the wire for contentOptions to add.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;getRuleSetList in interface InspectConfigOrBuilderpublic 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;getRuleSetCount in interface InspectConfigOrBuilderpublic 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;getRuleSet in interface InspectConfigOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getRuleSetOrBuilder in interface InspectConfigOrBuilderpublic 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;getRuleSetOrBuilderList in interface InspectConfigOrBuilderpublic 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;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;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;public final InspectConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.Builder>public final InspectConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectConfig.Builder>Copyright © 2022 Google LLC. All rights reserved.