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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Finding.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Finding build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Finding buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Finding.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Finding.Builder>
public Finding.Builder mergeFrom(Finding other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Finding.Builder>
java.io.IOException
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 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 FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public int getLikelihoodValue()
Estimate of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;
getLikelihoodValue
in interface FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public Location getLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
getLocation
in interface FindingOrBuilder
public 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 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 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 FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public 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 FindingOrBuilder
public final Finding.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Finding.Builder>
public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Finding.Builder>