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.v2beta2.InspectConfig
Modifier and Type | Class and Description |
---|---|
static class |
InspectConfig.Builder
Configuration description of the scanning process.
|
static class |
InspectConfig.FindingLimits
Protobuf type
google.privacy.dlp.v2beta2.InspectConfig.FindingLimits |
static interface |
InspectConfig.FindingLimitsOrBuilder |
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_INFO_TYPES_FIELD_NUMBER |
static int |
INCLUDE_QUOTE_FIELD_NUMBER |
static int |
INFO_TYPES_FIELD_NUMBER |
static int |
LIMITS_FIELD_NUMBER |
static int |
MIN_LIKELIHOOD_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CustomInfoType |
getCustomInfoTypes(int index)
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.
|
static InspectConfig |
getDefaultInstance() |
InspectConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
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.v2beta2.InspectConfig.FindingLimits limits = 3; |
InspectConfig.FindingLimitsOrBuilder |
getLimitsOrBuilder()
.google.privacy.dlp.v2beta2.InspectConfig.FindingLimits limits = 3; |
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() |
boolean |
hasLimits()
.google.privacy.dlp.v2beta2.InspectConfig.FindingLimits limits = 3; |
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int INFO_TYPES_FIELD_NUMBER
public static final int MIN_LIKELIHOOD_FIELD_NUMBER
public static final int LIMITS_FIELD_NUMBER
public static final int INCLUDE_QUOTE_FIELD_NUMBER
public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER
public static final int CUSTOM_INFO_TYPES_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta2.InfoType info_types = 1;
getInfoTypesList
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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta2.InfoType info_types = 1;
getInfoTypesOrBuilderList
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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta2.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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta2.InfoType info_types = 1;
getInfoTypes
in interface InspectConfigOrBuilder
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. Empty info_types runs all enabled detectors.
repeated .google.privacy.dlp.v2beta2.InfoType info_types = 1;
getInfoTypesOrBuilder
in interface InspectConfigOrBuilder
public int getMinLikelihoodValue()
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2beta2.Likelihood min_likelihood = 2;
getMinLikelihoodValue
in interface InspectConfigOrBuilder
public Likelihood getMinLikelihood()
Only returns findings equal or above this threshold. The default is POSSIBLE.
.google.privacy.dlp.v2beta2.Likelihood min_likelihood = 2;
getMinLikelihood
in interface InspectConfigOrBuilder
public boolean hasLimits()
.google.privacy.dlp.v2beta2.InspectConfig.FindingLimits limits = 3;
hasLimits
in interface InspectConfigOrBuilder
public InspectConfig.FindingLimits getLimits()
.google.privacy.dlp.v2beta2.InspectConfig.FindingLimits limits = 3;
getLimits
in interface InspectConfigOrBuilder
public InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder()
.google.privacy.dlp.v2beta2.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 boolean getExcludeInfoTypes()
When true, excludes type information of the findings.
bool exclude_info_types = 5;
getExcludeInfoTypes
in interface InspectConfigOrBuilder
public java.util.List<CustomInfoType> getCustomInfoTypesList()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2beta2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesList
in interface InspectConfigOrBuilder
public java.util.List<? extends CustomInfoTypeOrBuilder> getCustomInfoTypesOrBuilderList()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2beta2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesOrBuilderList
in interface InspectConfigOrBuilder
public int getCustomInfoTypesCount()
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2beta2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesCount
in interface InspectConfigOrBuilder
public CustomInfoType getCustomInfoTypes(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2beta2.CustomInfoType custom_info_types = 6;
getCustomInfoTypes
in interface InspectConfigOrBuilder
public CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index)
Custom infoTypes provided by the user.
repeated .google.privacy.dlp.v2beta2.CustomInfoType custom_info_types = 6;
getCustomInfoTypesOrBuilder
in interface InspectConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static InspectConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static InspectConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static InspectConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static InspectConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static InspectConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static InspectConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public InspectConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static InspectConfig.Builder newBuilder()
public static InspectConfig.Builder newBuilder(InspectConfig prototype)
public InspectConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected InspectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static InspectConfig getDefaultInstance()
public static Parser<InspectConfig> parser()
public Parser<InspectConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public InspectConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder