public final class Finding extends GeneratedMessageV3 implements FindingOrBuilder
Container structure describing a single finding within a string or image.Protobuf type
google.privacy.dlp.v2beta1.Finding| Modifier and Type | Class and Description |
|---|---|
static class |
Finding.Builder
Container structure describing a single finding within a string or image.
|
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 |
CREATE_TIME_FIELD_NUMBER |
static int |
INFO_TYPE_FIELD_NUMBER |
static int |
LIKELIHOOD_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
QUOTE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Timestamp |
getCreateTime()
Timestamp when finding was detected.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Timestamp when finding was detected.
|
static Finding |
getDefaultInstance() |
Finding |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
InfoType |
getInfoType()
The specific type of info the string might be.
|
InfoTypeOrBuilder |
getInfoTypeOrBuilder()
The specific type of info the string might be.
|
Likelihood |
getLikelihood()
Estimate of how likely it is that the info_type is correct.
|
int |
getLikelihoodValue()
Estimate of how likely it is that the info_type is correct.
|
Location |
getLocation()
Location of the info found.
|
LocationOrBuilder |
getLocationOrBuilder()
Location of the info found.
|
Parser<Finding> |
getParserForType() |
java.lang.String |
getQuote()
The specific string that may be potentially sensitive info.
|
ByteString |
getQuoteBytes()
The specific string that may be potentially sensitive info.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Timestamp when finding was detected.
|
int |
hashCode() |
boolean |
hasInfoType()
The specific type of info the string might be.
|
boolean |
hasLocation()
Location of the info found.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Finding.Builder |
newBuilder() |
static Finding.Builder |
newBuilder(Finding prototype) |
Finding.Builder |
newBuilderForType() |
protected Finding.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Finding |
parseDelimitedFrom(java.io.InputStream input) |
static Finding |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(byte[] data) |
static Finding |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(java.nio.ByteBuffer data) |
static Finding |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(ByteString data) |
static Finding |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(CodedInputStream input) |
static Finding |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Finding |
parseFrom(java.io.InputStream input) |
static Finding |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Finding> |
parser() |
Finding.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 QUOTE_FIELD_NUMBER
public static final int INFO_TYPE_FIELD_NUMBER
public static final int LIKELIHOOD_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int CREATE_TIME_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.lang.String getQuote()
The specific string that may be potentially sensitive info.
string quote = 1;getQuote in interface FindingOrBuilderpublic ByteString getQuoteBytes()
The specific string that may be potentially sensitive info.
string quote = 1;getQuoteBytes in interface FindingOrBuilderpublic boolean hasInfoType()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;hasInfoType in interface FindingOrBuilderpublic InfoType getInfoType()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;getInfoType in interface FindingOrBuilderpublic InfoTypeOrBuilder getInfoTypeOrBuilder()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;getInfoTypeOrBuilder in interface FindingOrBuilderpublic int getLikelihoodValue()
Estimate of how likely it is that the info_type is correct.
.google.privacy.dlp.v2beta1.Likelihood likelihood = 3;getLikelihoodValue in interface FindingOrBuilderpublic Likelihood getLikelihood()
Estimate of how likely it is that the info_type is correct.
.google.privacy.dlp.v2beta1.Likelihood likelihood = 3;getLikelihood in interface FindingOrBuilderpublic boolean hasLocation()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;hasLocation in interface FindingOrBuilderpublic Location getLocation()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;getLocation in interface FindingOrBuilderpublic LocationOrBuilder getLocationOrBuilder()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;getLocationOrBuilder in interface FindingOrBuilderpublic boolean hasCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;hasCreateTime in interface FindingOrBuilderpublic Timestamp getCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;getCreateTime in interface FindingOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;getCreateTimeOrBuilder in interface FindingOrBuilderpublic 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 Finding parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Finding parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Finding parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Finding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Finding parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Finding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Finding parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Finding parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Finding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Finding parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Finding parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Finding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Finding.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Finding.Builder newBuilder()
public static Finding.Builder newBuilder(Finding prototype)
public Finding.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Finding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Finding getDefaultInstance()
public Parser<Finding> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Finding getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder