public final class InspectConfig extends GeneratedMessageV3 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.v2beta1.InspectConfig| Modifier and Type | Class and Description |
|---|---|
static class |
InspectConfig.Builder
Configuration description of the scanning process.
|
static class |
InspectConfig.InfoTypeLimit
Max findings configuration per info type, per content item or long running
operation.
|
static interface |
InspectConfig.InfoTypeLimitOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_INFO_TYPES_FIELD_NUMBER |
static int |
EXCLUDE_TYPES_FIELD_NUMBER |
static int |
INCLUDE_QUOTE_FIELD_NUMBER |
static int |
INFO_TYPE_LIMITS_FIELD_NUMBER |
static int |
INFO_TYPES_FIELD_NUMBER |
static int |
MAX_FINDINGS_FIELD_NUMBER |
static int |
MIN_LIKELIHOOD_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
CustomInfoType |
getCustomInfoTypes(int index)
Custom info types provided by the user.
|
int |
getCustomInfoTypesCount()
Custom info types provided by the user.
|
java.util.List<CustomInfoType> |
getCustomInfoTypesList()
Custom info types provided by the user.
|
CustomInfoTypeOrBuilder |
getCustomInfoTypesOrBuilder(int index)
Custom info types provided by the user.
|
java.util.List<? extends CustomInfoTypeOrBuilder> |
getCustomInfoTypesOrBuilderList()
Custom info types provided by the user.
|
static InspectConfig |
getDefaultInstance() |
InspectConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
boolean |
getExcludeTypes()
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.
|
InspectConfig.InfoTypeLimit |
getInfoTypeLimits(int index)
Configuration of findings limit given for specified info types.
|
int |
getInfoTypeLimitsCount()
Configuration of findings limit given for specified info types.
|
java.util.List<InspectConfig.InfoTypeLimit> |
getInfoTypeLimitsList()
Configuration of findings limit given for specified info types.
|
InspectConfig.InfoTypeLimitOrBuilder |
getInfoTypeLimitsOrBuilder(int index)
Configuration of findings limit given for specified info types.
|
java.util.List<? extends InspectConfig.InfoTypeLimitOrBuilder> |
getInfoTypeLimitsOrBuilderList()
Configuration of findings limit given for specified info types.
|
InfoType |
getInfoTypes(int index)
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.
|
int |
getMaxFindings()
Limits the number of findings per content item or long running operation.
|
Likelihood |
getMinLikelihood()
Only returns findings equal or above this threshold.
|
int |
getMinLikelihoodValue()
Only returns findings equal or above this threshold.
|
Parser<InspectConfig> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static InspectConfig.Builder |
newBuilder() |
static InspectConfig.Builder |
newBuilder(InspectConfig prototype) |
InspectConfig.Builder |
newBuilderForType() |
protected InspectConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static InspectConfig |
parseDelimitedFrom(java.io.InputStream input) |
static InspectConfig |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static InspectConfig |
parseFrom(byte[] data) |
static InspectConfig |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static InspectConfig |
parseFrom(java.nio.ByteBuffer data) |
static InspectConfig |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static InspectConfig |
parseFrom(ByteString data) |
static InspectConfig |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static InspectConfig |
parseFrom(CodedInputStream input) |
static InspectConfig |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static InspectConfig |
parseFrom(java.io.InputStream input) |
static InspectConfig |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<InspectConfig> |
parser() |
InspectConfig.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int INFO_TYPES_FIELD_NUMBER
public static final int MIN_LIKELIHOOD_FIELD_NUMBER
public static final int MAX_FINDINGS_FIELD_NUMBER
public static final int INCLUDE_QUOTE_FIELD_NUMBER
public static final int EXCLUDE_TYPES_FIELD_NUMBER
public static final int INFO_TYPE_LIMITS_FIELD_NUMBER
public static final int CUSTOM_INFO_TYPES_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta1.InfoType info_types = 1;getInfoTypesList in interface InspectConfigOrBuilderpublic 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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta1.InfoType info_types = 1;getInfoTypesOrBuilderList in interface InspectConfigOrBuilderpublic int getInfoTypesCount()
Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or found in documentation. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta1.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 found in documentation. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta1.InfoType info_types = 1;getInfoTypes in interface InspectConfigOrBuilderpublic 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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta1.InfoType info_types = 1;getInfoTypesOrBuilder in interface InspectConfigOrBuilderpublic int getMinLikelihoodValue()
Only returns findings equal or above this threshold.
.google.privacy.dlp.v2beta1.Likelihood min_likelihood = 2;getMinLikelihoodValue in interface InspectConfigOrBuilderpublic Likelihood getMinLikelihood()
Only returns findings equal or above this threshold.
.google.privacy.dlp.v2beta1.Likelihood min_likelihood = 2;getMinLikelihood in interface InspectConfigOrBuilderpublic int getMaxFindings()
Limits the number of findings per content item or long running operation.
int32 max_findings = 3;getMaxFindings 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.
bool include_quote = 4;getIncludeQuote in interface InspectConfigOrBuilderpublic boolean getExcludeTypes()
When true, excludes type information of the findings.
bool exclude_types = 6;getExcludeTypes in interface InspectConfigOrBuilderpublic java.util.List<InspectConfig.InfoTypeLimit> getInfoTypeLimitsList()
Configuration of findings limit given for specified info types.
repeated .google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit info_type_limits = 7;getInfoTypeLimitsList in interface InspectConfigOrBuilderpublic java.util.List<? extends InspectConfig.InfoTypeLimitOrBuilder> getInfoTypeLimitsOrBuilderList()
Configuration of findings limit given for specified info types.
repeated .google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit info_type_limits = 7;getInfoTypeLimitsOrBuilderList in interface InspectConfigOrBuilderpublic int getInfoTypeLimitsCount()
Configuration of findings limit given for specified info types.
repeated .google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit info_type_limits = 7;getInfoTypeLimitsCount in interface InspectConfigOrBuilderpublic InspectConfig.InfoTypeLimit getInfoTypeLimits(int index)
Configuration of findings limit given for specified info types.
repeated .google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit info_type_limits = 7;getInfoTypeLimits in interface InspectConfigOrBuilderpublic InspectConfig.InfoTypeLimitOrBuilder getInfoTypeLimitsOrBuilder(int index)
Configuration of findings limit given for specified info types.
repeated .google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit info_type_limits = 7;getInfoTypeLimitsOrBuilder in interface InspectConfigOrBuilderpublic java.util.List<CustomInfoType> getCustomInfoTypesList()
Custom info types provided by the user.
repeated .google.privacy.dlp.v2beta1.CustomInfoType custom_info_types = 8;getCustomInfoTypesList in interface InspectConfigOrBuilderpublic java.util.List<? extends CustomInfoTypeOrBuilder> getCustomInfoTypesOrBuilderList()
Custom info types provided by the user.
repeated .google.privacy.dlp.v2beta1.CustomInfoType custom_info_types = 8;getCustomInfoTypesOrBuilderList in interface InspectConfigOrBuilderpublic int getCustomInfoTypesCount()
Custom info types provided by the user.
repeated .google.privacy.dlp.v2beta1.CustomInfoType custom_info_types = 8;getCustomInfoTypesCount in interface InspectConfigOrBuilderpublic CustomInfoType getCustomInfoTypes(int index)
Custom info types provided by the user.
repeated .google.privacy.dlp.v2beta1.CustomInfoType custom_info_types = 8;getCustomInfoTypes in interface InspectConfigOrBuilderpublic CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index)
Custom info types provided by the user.
repeated .google.privacy.dlp.v2beta1.CustomInfoType custom_info_types = 8;getCustomInfoTypesOrBuilder in interface InspectConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static InspectConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static InspectConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static InspectConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic InspectConfig.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static InspectConfig.Builder newBuilder()
public static InspectConfig.Builder newBuilder(InspectConfig prototype)
public InspectConfig.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected InspectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static InspectConfig getDefaultInstance()
public static Parser<InspectConfig> parser()
public Parser<InspectConfig> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public InspectConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder