public static final class Finding.Builder extends GeneratedMessageV3.Builder<Finding.Builder> implements FindingOrBuilder
Container structure describing a single finding within a string or image.Protobuf type
google.privacy.dlp.v2beta1.Finding| Modifier and Type | Method and Description |
|---|---|
Finding.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Finding |
build() |
Finding |
buildPartial() |
Finding.Builder |
clear() |
Finding.Builder |
clearCreateTime()
Timestamp when finding was detected.
|
Finding.Builder |
clearField(Descriptors.FieldDescriptor field) |
Finding.Builder |
clearInfoType()
The specific type of info the string might be.
|
Finding.Builder |
clearLikelihood()
Estimate of how likely it is that the info_type is correct.
|
Finding.Builder |
clearLocation()
Location of the info found.
|
Finding.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Finding.Builder |
clearQuote()
The specific string that may be potentially sensitive info.
|
Finding.Builder |
clone() |
Timestamp |
getCreateTime()
Timestamp when finding was detected.
|
Timestamp.Builder |
getCreateTimeBuilder()
Timestamp when finding was detected.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Timestamp when finding was detected.
|
Finding |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
InfoType |
getInfoType()
The specific type of info the string might be.
|
InfoType.Builder |
getInfoTypeBuilder()
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.
|
Location.Builder |
getLocationBuilder()
Location of the info found.
|
LocationOrBuilder |
getLocationOrBuilder()
Location of the info found.
|
java.lang.String |
getQuote()
The specific string that may be potentially sensitive info.
|
ByteString |
getQuoteBytes()
The specific string that may be potentially sensitive info.
|
boolean |
hasCreateTime()
Timestamp when finding was detected.
|
boolean |
hasInfoType()
The specific type of info the string might be.
|
boolean |
hasLocation()
Location of the info found.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Finding.Builder |
mergeCreateTime(Timestamp value)
Timestamp when finding was detected.
|
Finding.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Finding.Builder |
mergeFrom(Finding other) |
Finding.Builder |
mergeFrom(Message other) |
Finding.Builder |
mergeInfoType(InfoType value)
The specific type of info the string might be.
|
Finding.Builder |
mergeLocation(Location value)
Location of the info found.
|
Finding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Finding.Builder |
setCreateTime(Timestamp.Builder builderForValue)
Timestamp when finding was detected.
|
Finding.Builder |
setCreateTime(Timestamp value)
Timestamp when finding was detected.
|
Finding.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Finding.Builder |
setInfoType(InfoType.Builder builderForValue)
The specific type of info the string might be.
|
Finding.Builder |
setInfoType(InfoType value)
The specific type of info the string might be.
|
Finding.Builder |
setLikelihood(Likelihood value)
Estimate of how likely it is that the info_type is correct.
|
Finding.Builder |
setLikelihoodValue(int value)
Estimate of how likely it is that the info_type is correct.
|
Finding.Builder |
setLocation(Location.Builder builderForValue)
Location of the info found.
|
Finding.Builder |
setLocation(Location value)
Location of the info found.
|
Finding.Builder |
setQuote(java.lang.String value)
The specific string that may be potentially sensitive info.
|
Finding.Builder |
setQuoteBytes(ByteString value)
The specific string that may be potentially sensitive info.
|
Finding.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Finding.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Finding.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Finding.Builder>public Finding getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Finding build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Finding buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Finding.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Finding.Builder>public Finding.Builder mergeFrom(Finding other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Finding.Builder>public Finding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Finding.Builder>java.io.IOExceptionpublic 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 Finding.Builder setQuote(java.lang.String value)
The specific string that may be potentially sensitive info.
string quote = 1;public Finding.Builder clearQuote()
The specific string that may be potentially sensitive info.
string quote = 1;public Finding.Builder setQuoteBytes(ByteString value)
The specific string that may be potentially sensitive info.
string quote = 1;public 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 Finding.Builder setInfoType(InfoType value)
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;public Finding.Builder setInfoType(InfoType.Builder builderForValue)
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;public Finding.Builder mergeInfoType(InfoType value)
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;public Finding.Builder clearInfoType()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;public InfoType.Builder getInfoTypeBuilder()
The specific type of info the string might be.
.google.privacy.dlp.v2beta1.InfoType info_type = 2;public 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 Finding.Builder setLikelihoodValue(int value)
Estimate of how likely it is that the info_type is correct.
.google.privacy.dlp.v2beta1.Likelihood likelihood = 3;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 FindingOrBuilderpublic Finding.Builder setLikelihood(Likelihood value)
Estimate of how likely it is that the info_type is correct.
.google.privacy.dlp.v2beta1.Likelihood likelihood = 3;public Finding.Builder clearLikelihood()
Estimate of how likely it is that the info_type is correct.
.google.privacy.dlp.v2beta1.Likelihood likelihood = 3;public 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 Finding.Builder setLocation(Location value)
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;public Finding.Builder setLocation(Location.Builder builderForValue)
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;public Finding.Builder mergeLocation(Location value)
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;public Finding.Builder clearLocation()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;public Location.Builder getLocationBuilder()
Location of the info found.
.google.privacy.dlp.v2beta1.Location location = 4;public 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 Finding.Builder setCreateTime(Timestamp value)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;public Finding.Builder setCreateTime(Timestamp.Builder builderForValue)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;public Finding.Builder mergeCreateTime(Timestamp value)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;public Finding.Builder clearCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;public Timestamp.Builder getCreateTimeBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;getCreateTimeOrBuilder in interface FindingOrBuilderpublic final Finding.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Finding.Builder>public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Finding.Builder>