public final class Finding extends GeneratedMessageV3 implements FindingOrBuilder
Represents a piece of potentially sensitive content.Protobuf type
google.privacy.dlp.v2.Finding| Modifier and Type | Class and Description |
|---|---|
static class |
Finding.Builder
Represents a piece of potentially sensitive content.
|
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 |
static int |
QUOTE_INFO_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 type of content that might have been found.
|
InfoTypeOrBuilder |
getInfoTypeOrBuilder()
The type of content that might have been found.
|
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()
Where the content was found.
|
LocationOrBuilder |
getLocationOrBuilder()
Where the content was found.
|
Parser<Finding> |
getParserForType() |
java.lang.String |
getQuote()
The content that was found.
|
ByteString |
getQuoteBytes()
The content that was found.
|
QuoteInfo |
getQuoteInfo()
Contains data parsed from quotes.
|
QuoteInfoOrBuilder |
getQuoteInfoOrBuilder()
Contains data parsed from quotes.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Timestamp when finding was detected.
|
int |
hashCode() |
boolean |
hasInfoType()
The type of content that might have been found.
|
boolean |
hasLocation()
Where the content was found.
|
boolean |
hasQuoteInfo()
Contains data parsed from quotes.
|
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 static final int QUOTE_INFO_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 content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if requested by the `InspectConfig` and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;getQuote in interface FindingOrBuilderpublic ByteString getQuoteBytes()
The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if requested by the `InspectConfig` and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;getQuoteBytes in interface FindingOrBuilderpublic boolean hasInfoType()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;hasInfoType in interface FindingOrBuilderpublic InfoType getInfoType()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;getInfoType in interface FindingOrBuilderpublic InfoTypeOrBuilder getInfoTypeOrBuilder()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.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.v2.Likelihood likelihood = 3;getLikelihoodValue in interface FindingOrBuilderpublic Likelihood getLikelihood()
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;getLikelihood in interface FindingOrBuilderpublic boolean hasLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;hasLocation in interface FindingOrBuilderpublic Location getLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;getLocation in interface FindingOrBuilderpublic LocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2.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 boolean hasQuoteInfo()
Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 7;hasQuoteInfo in interface FindingOrBuilderpublic QuoteInfo getQuoteInfo()
Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 7;getQuoteInfo in interface FindingOrBuilderpublic QuoteInfoOrBuilder getQuoteInfoOrBuilder()
Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 7;getQuoteInfoOrBuilder 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