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
Modifier and Type | Method and Description |
---|---|
InspectConfig.Builder |
addAllContentOptions(java.lang.Iterable<? extends ContentOption> values)
List of options defining data content to scan.
|
InspectConfig.Builder |
addAllContentOptionsValue(java.lang.Iterable<java.lang.Integer> values)
List of options defining data content to scan.
|
InspectConfig.Builder |
addAllCustomInfoTypes(java.lang.Iterable<? extends CustomInfoType> values)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
addAllInfoTypes(java.lang.Iterable<? extends InfoType> values)
Restricts what info_types to look for.
|
InspectConfig.Builder |
addContentOptions(ContentOption value)
List of options defining data content to scan.
|
InspectConfig.Builder |
addContentOptionsValue(int value)
List of options defining data content to scan.
|
InspectConfig.Builder |
addCustomInfoTypes(CustomInfoType.Builder builderForValue)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
addCustomInfoTypes(CustomInfoType value)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
addCustomInfoTypes(int index,
CustomInfoType.Builder builderForValue)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
addCustomInfoTypes(int index,
CustomInfoType value)
Custom infoTypes provided by the user.
|
CustomInfoType.Builder |
addCustomInfoTypesBuilder()
Custom infoTypes provided by the user.
|
CustomInfoType.Builder |
addCustomInfoTypesBuilder(int index)
Custom infoTypes 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(Descriptors.FieldDescriptor field,
java.lang.Object value) |
InspectConfig |
build() |
InspectConfig |
buildPartial() |
InspectConfig.Builder |
clear() |
InspectConfig.Builder |
clearContentOptions()
List of options defining data content to scan.
|
InspectConfig.Builder |
clearCustomInfoTypes()
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
clearExcludeInfoTypes()
When true, excludes type information of the findings.
|
InspectConfig.Builder |
clearField(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.
|
InspectConfig.Builder |
clearInfoTypes()
Restricts what info_types to look for.
|
InspectConfig.Builder |
clearLimits()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
InspectConfig.Builder |
clearMinLikelihood()
Only returns findings equal or above this threshold.
|
InspectConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
InspectConfig.Builder |
clone() |
ContentOption |
getContentOptions(int index)
List of options defining data content to scan.
|
int |
getContentOptionsCount()
List of options defining data content to scan.
|
java.util.List<ContentOption> |
getContentOptionsList()
List of options defining data content to scan.
|
int |
getContentOptionsValue(int index)
List of options defining data content to scan.
|
java.util.List<java.lang.Integer> |
getContentOptionsValueList()
List of options defining data content to scan.
|
CustomInfoType |
getCustomInfoTypes(int index)
Custom infoTypes provided by the user.
|
CustomInfoType.Builder |
getCustomInfoTypesBuilder(int index)
Custom infoTypes provided by the user.
|
java.util.List<CustomInfoType.Builder> |
getCustomInfoTypesBuilderList()
Custom infoTypes provided by the user.
|
int |
getCustomInfoTypesCount()
Custom infoTypes provided by the user.
|
java.util.List<CustomInfoType> |
getCustomInfoTypesList()
Custom infoTypes provided by the user.
|
CustomInfoTypeOrBuilder |
getCustomInfoTypesOrBuilder(int index)
Custom infoTypes provided by the user.
|
java.util.List<? extends CustomInfoTypeOrBuilder> |
getCustomInfoTypesOrBuilderList()
Custom infoTypes provided by the user.
|
InspectConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
InfoType |
getInfoTypes(int index)
Restricts what info_types to look for.
|
InfoType.Builder |
getInfoTypesBuilder(int index)
Restricts what info_types to look for.
|
java.util.List<InfoType.Builder> |
getInfoTypesBuilderList()
Restricts what info_types to look for.
|
int |
getInfoTypesCount()
Restricts what info_types to look for.
|
java.util.List<InfoType> |
getInfoTypesList()
Restricts what info_types to look for.
|
InfoTypeOrBuilder |
getInfoTypesOrBuilder(int index)
Restricts what info_types to look for.
|
java.util.List<? extends InfoTypeOrBuilder> |
getInfoTypesOrBuilderList()
Restricts what info_types to look for.
|
InspectConfig.FindingLimits |
getLimits()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
InspectConfig.FindingLimits.Builder |
getLimitsBuilder()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
InspectConfig.FindingLimitsOrBuilder |
getLimitsOrBuilder()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
Likelihood |
getMinLikelihood()
Only returns findings equal or above this threshold.
|
int |
getMinLikelihoodValue()
Only returns findings equal or above this threshold.
|
boolean |
hasLimits()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InspectConfig.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
InspectConfig.Builder |
mergeFrom(InspectConfig other) |
InspectConfig.Builder |
mergeFrom(Message other) |
InspectConfig.Builder |
mergeLimits(InspectConfig.FindingLimits value)
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
InspectConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
InspectConfig.Builder |
removeCustomInfoTypes(int index)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
removeInfoTypes(int index)
Restricts what info_types to look for.
|
InspectConfig.Builder |
setContentOptions(int index,
ContentOption value)
List of options defining data content to scan.
|
InspectConfig.Builder |
setContentOptionsValue(int index,
int value)
List of options defining data content to scan.
|
InspectConfig.Builder |
setCustomInfoTypes(int index,
CustomInfoType.Builder builderForValue)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
setCustomInfoTypes(int index,
CustomInfoType value)
Custom infoTypes provided by the user.
|
InspectConfig.Builder |
setExcludeInfoTypes(boolean value)
When true, excludes type information of the findings.
|
InspectConfig.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.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.
|
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)
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
InspectConfig.Builder |
setLimits(InspectConfig.FindingLimits value)
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; |
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(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
InspectConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public InspectConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public InspectConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public InspectConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<InspectConfig.Builder>
public InspectConfig.Builder mergeFrom(InspectConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public InspectConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<InspectConfig.Builder>
java.io.IOException
public java.util.List<InfoType> getInfoTypesList()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesList
in interface InspectConfigOrBuilder
public int getInfoTypesCount()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesCount
in interface InspectConfigOrBuilder
public InfoType getInfoTypes(int index)
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypes
in interface InspectConfigOrBuilder
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 found in documentation.
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 found in documentation.
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 found in documentation.
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 found in documentation.
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 found in documentation.
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 found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
public InspectConfig.Builder addAllInfoTypes(java.lang.Iterable<? extends InfoType> values)
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
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 found in documentation.
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 found in documentation.
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 found in documentation.
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 found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesOrBuilder
in interface InspectConfigOrBuilder
public java.util.List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
getInfoTypesOrBuilderList
in interface InspectConfigOrBuilder
public InfoType.Builder addInfoTypesBuilder()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
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 found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
public java.util.List<InfoType.Builder> getInfoTypesBuilderList()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
public int getMinLikelihoodValue()
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
getMinLikelihoodValue
in interface InspectConfigOrBuilder
public InspectConfig.Builder setMinLikelihoodValue(int value)
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
public Likelihood getMinLikelihood()
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
getMinLikelihood
in interface InspectConfigOrBuilder
public InspectConfig.Builder setMinLikelihood(Likelihood value)
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
public InspectConfig.Builder clearMinLikelihood()
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2.Likelihood min_likelihood = 2;
public boolean hasLimits()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
hasLimits
in interface InspectConfigOrBuilder
public InspectConfig.FindingLimits getLimits()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
getLimits
in interface InspectConfigOrBuilder
public InspectConfig.Builder setLimits(InspectConfig.FindingLimits value)
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
public InspectConfig.Builder setLimits(InspectConfig.FindingLimits.Builder builderForValue)
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
public InspectConfig.Builder mergeLimits(InspectConfig.FindingLimits value)
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
public InspectConfig.Builder clearLimits()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
public InspectConfig.FindingLimits.Builder getLimitsBuilder()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
public InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder()
.google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
getLimitsOrBuilder
in interface InspectConfigOrBuilder
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;
getIncludeQuote
in interface InspectConfigOrBuilder
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;
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;
public boolean getExcludeInfoTypes()
When true, excludes type information of the findings.
bool exclude_info_types = 5;
getExcludeInfoTypes
in interface InspectConfigOrBuilder
public InspectConfig.Builder setExcludeInfoTypes(boolean value)
When true, excludes type information of the findings.
bool exclude_info_types = 5;
public InspectConfig.Builder clearExcludeInfoTypes()
When true, excludes type information of the findings.
bool exclude_info_types = 5;
public java.util.List<CustomInfoType> getCustomInfoTypesList()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesList
in interface InspectConfigOrBuilder
public int getCustomInfoTypesCount()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesCount
in interface InspectConfigOrBuilder
public CustomInfoType getCustomInfoTypes(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
getCustomInfoTypes
in interface InspectConfigOrBuilder
public InspectConfig.Builder setCustomInfoTypes(int index, CustomInfoType value)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder setCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder addCustomInfoTypes(CustomInfoType value)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder addCustomInfoTypes(int index, CustomInfoType value)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder addCustomInfoTypes(CustomInfoType.Builder builderForValue)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder addCustomInfoTypes(int index, CustomInfoType.Builder builderForValue)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder addAllCustomInfoTypes(java.lang.Iterable<? extends CustomInfoType> values)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder clearCustomInfoTypes()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public InspectConfig.Builder removeCustomInfoTypes(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public CustomInfoType.Builder getCustomInfoTypesBuilder(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesOrBuilder
in interface InspectConfigOrBuilder
public java.util.List<? extends CustomInfoTypeOrBuilder> getCustomInfoTypesOrBuilderList()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesOrBuilderList
in interface InspectConfigOrBuilder
public CustomInfoType.Builder addCustomInfoTypesBuilder()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public CustomInfoType.Builder addCustomInfoTypesBuilder(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public java.util.List<CustomInfoType.Builder> getCustomInfoTypesBuilderList()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
public java.util.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;
getContentOptionsList
in interface InspectConfigOrBuilder
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;
getContentOptionsCount
in interface InspectConfigOrBuilder
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;
getContentOptions
in interface InspectConfigOrBuilder
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;
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;
public InspectConfig.Builder addAllContentOptions(java.lang.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;
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;
public java.util.List<java.lang.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;
getContentOptionsValueList
in interface InspectConfigOrBuilder
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;
getContentOptionsValue
in interface InspectConfigOrBuilder
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;
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;
public InspectConfig.Builder addAllContentOptionsValue(java.lang.Iterable<java.lang.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;
public final InspectConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<InspectConfig.Builder>
public final InspectConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<InspectConfig.Builder>