public final class Finding extends GeneratedMessageV3 implements FindingOrBuilder
Represents a piece of potentially sensitive content.Protobuf type
google.privacy.dlp.v2beta2.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, unknownFields
memoizedSize
memoizedHashCode
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()
InfoType-dependent details parsed from quote.
|
QuoteInfoOrBuilder |
getQuoteInfoOrBuilder()
InfoType-dependent details parsed from quote.
|
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()
InfoType-dependent details parsed from quote.
|
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, 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 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public boolean hasInfoType()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2beta2.InfoType info_type = 2;
hasInfoType
in interface FindingOrBuilder
public InfoType getInfoType()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2beta2.InfoType info_type = 2;
getInfoType
in interface FindingOrBuilder
public InfoTypeOrBuilder getInfoTypeOrBuilder()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2beta2.InfoType info_type = 2;
getInfoTypeOrBuilder
in interface FindingOrBuilder
public int getLikelihoodValue()
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2beta2.Likelihood likelihood = 3;
getLikelihoodValue
in interface FindingOrBuilder
public Likelihood getLikelihood()
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2beta2.Likelihood likelihood = 3;
getLikelihood
in interface FindingOrBuilder
public boolean hasLocation()
Where the content was found.
.google.privacy.dlp.v2beta2.Location location = 4;
hasLocation
in interface FindingOrBuilder
public Location getLocation()
Where the content was found.
.google.privacy.dlp.v2beta2.Location location = 4;
getLocation
in interface FindingOrBuilder
public LocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2beta2.Location location = 4;
getLocationOrBuilder
in interface FindingOrBuilder
public boolean hasCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
hasCreateTime
in interface FindingOrBuilder
public Timestamp getCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
getCreateTime
in interface FindingOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
getCreateTimeOrBuilder
in interface FindingOrBuilder
public boolean hasQuoteInfo()
InfoType-dependent details parsed from quote.
.google.privacy.dlp.v2beta2.QuoteInfo quote_info = 7;
hasQuoteInfo
in interface FindingOrBuilder
public QuoteInfo getQuoteInfo()
InfoType-dependent details parsed from quote.
.google.privacy.dlp.v2beta2.QuoteInfo quote_info = 7;
getQuoteInfo
in interface FindingOrBuilder
public QuoteInfoOrBuilder getQuoteInfoOrBuilder()
InfoType-dependent details parsed from quote.
.google.privacy.dlp.v2beta2.QuoteInfo quote_info = 7;
getQuoteInfoOrBuilder
in interface FindingOrBuilder
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 Finding parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Finding parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Finding parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Finding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Finding parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Finding parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Finding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Finding.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Finding.Builder newBuilder()
public static Finding.Builder newBuilder(Finding prototype)
public Finding.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Finding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Finding getDefaultInstance()
public Parser<Finding> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Finding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder