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, 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 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, 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 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 specific string that may be potentially sensitive info.
string quote = 1;
getQuote
in interface FindingOrBuilder
public ByteString getQuoteBytes()
The specific string that may be potentially sensitive info.
string quote = 1;
getQuoteBytes
in interface FindingOrBuilder
public boolean hasInfoType()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;
hasInfoType
in interface FindingOrBuilder
public InfoType getInfoType()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;
getInfoType
in interface FindingOrBuilder
public InfoTypeOrBuilder getInfoTypeOrBuilder()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.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.v2beta1.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.v2beta1.Likelihood likelihood = 3;
getLikelihood
in interface FindingOrBuilder
public boolean hasLocation()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;
hasLocation
in interface FindingOrBuilder
public Location getLocation()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;
getLocation
in interface FindingOrBuilder
public LocationOrBuilder getLocationOrBuilder()
Location of the info found.
.google.privacy.dlp.v2beta1.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 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