public static final class Finding.Builder extends GeneratedMessageV3.Builder<Finding.Builder> implements FindingOrBuilder
Represents a piece of potentially sensitive content.Protobuf type
google.privacy.dlp.v2.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 type of content that might have been found.
|
Finding.Builder |
clearLikelihood()
Estimate of how likely it is that the `info_type` is correct.
|
Finding.Builder |
clearLocation()
Where the content was found.
|
Finding.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Finding.Builder |
clearQuote()
The content that was found.
|
Finding.Builder |
clearQuoteInfo()
Contains data parsed from quotes.
|
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 type of content that might have been found.
|
InfoType.Builder |
getInfoTypeBuilder()
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.
|
Location.Builder |
getLocationBuilder()
Where the content was found.
|
LocationOrBuilder |
getLocationOrBuilder()
Where the content was found.
|
java.lang.String |
getQuote()
The content that was found.
|
ByteString |
getQuoteBytes()
The content that was found.
|
QuoteInfo |
getQuoteInfo()
Contains data parsed from quotes.
|
QuoteInfo.Builder |
getQuoteInfoBuilder()
Contains data parsed from quotes.
|
QuoteInfoOrBuilder |
getQuoteInfoOrBuilder()
Contains data parsed from quotes.
|
boolean |
hasCreateTime()
Timestamp when finding was detected.
|
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() |
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 type of content that might have been found.
|
Finding.Builder |
mergeLocation(Location value)
Where the content was found.
|
Finding.Builder |
mergeQuoteInfo(QuoteInfo value)
Contains data parsed from quotes.
|
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 type of content that might have been found.
|
Finding.Builder |
setInfoType(InfoType value)
The type of content that might have been found.
|
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)
Where the content was found.
|
Finding.Builder |
setLocation(Location value)
Where the content was found.
|
Finding.Builder |
setQuote(java.lang.String value)
The content that was found.
|
Finding.Builder |
setQuoteBytes(ByteString value)
The content that was found.
|
Finding.Builder |
setQuoteInfo(QuoteInfo.Builder builderForValue)
Contains data parsed from quotes.
|
Finding.Builder |
setQuoteInfo(QuoteInfo value)
Contains data parsed from quotes.
|
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 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 Finding.Builder setQuote(java.lang.String value)
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;public Finding.Builder clearQuote()
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;public Finding.Builder setQuoteBytes(ByteString value)
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;public 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 Finding.Builder setInfoType(InfoType value)
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;public Finding.Builder setInfoType(InfoType.Builder builderForValue)
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;public Finding.Builder mergeInfoType(InfoType value)
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;public Finding.Builder clearInfoType()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;public InfoType.Builder getInfoTypeBuilder()
The type of content that might have been found. Provided if requested by the `InspectConfig`.
.google.privacy.dlp.v2.InfoType info_type = 2;public 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 Finding.Builder setLikelihoodValue(int value)
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;public 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 Finding.Builder setLikelihood(Likelihood value)
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;public Finding.Builder clearLikelihood()
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;public 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 Finding.Builder setLocation(Location value)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;public Finding.Builder setLocation(Location.Builder builderForValue)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;public Finding.Builder mergeLocation(Location value)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;public Finding.Builder clearLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;public Location.Builder getLocationBuilder()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;public 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 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 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 Finding.Builder setQuoteInfo(QuoteInfo value)
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;public Finding.Builder setQuoteInfo(QuoteInfo.Builder builderForValue)
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;public Finding.Builder mergeQuoteInfo(QuoteInfo value)
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;public Finding.Builder clearQuoteInfo()
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;public QuoteInfo.Builder getQuoteInfoBuilder()
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;public 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 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>