public interface FindingOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with this `Finding`.
|
com.google.protobuf.Timestamp |
getCreateTime()
Timestamp when finding was detected.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Timestamp when finding was detected.
|
String |
getFindingId()
The unique finding id.
|
com.google.protobuf.ByteString |
getFindingIdBytes()
The unique finding id.
|
InfoType |
getInfoType()
The type of content that might have been found.
|
InfoTypeOrBuilder |
getInfoTypeOrBuilder()
The type of content that might have been found.
|
com.google.protobuf.Timestamp |
getJobCreateTime()
Time the job started that produced this finding.
|
com.google.protobuf.TimestampOrBuilder |
getJobCreateTimeOrBuilder()
Time the job started that produced this finding.
|
String |
getJobName()
The job that stored the finding.
|
com.google.protobuf.ByteString |
getJobNameBytes()
The job that stored the finding.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with this `Finding`.
|
Map<String,String> |
getLabelsMap()
The labels associated with this `Finding`.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with this `Finding`.
|
String |
getLabelsOrThrow(String key)
The labels associated with this `Finding`.
|
Likelihood |
getLikelihood()
Confidence of how likely it is that the `info_type` is correct.
|
int |
getLikelihoodValue()
Confidence 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.
|
String |
getName()
Resource name in format
projects/{project}/locations/{location}/findings/{finding} Populated only
when viewing persisted findings.
|
com.google.protobuf.ByteString |
getNameBytes()
Resource name in format
projects/{project}/locations/{location}/findings/{finding} Populated only
when viewing persisted findings.
|
String |
getQuote()
The content that was found.
|
com.google.protobuf.ByteString |
getQuoteBytes()
The content that was found.
|
QuoteInfo |
getQuoteInfo()
Contains data parsed from quotes.
|
QuoteInfoOrBuilder |
getQuoteInfoOrBuilder()
Contains data parsed from quotes.
|
String |
getResourceName()
The job that stored the finding.
|
com.google.protobuf.ByteString |
getResourceNameBytes()
The job that stored the finding.
|
String |
getTriggerName()
Job trigger name, if applicable, for this finding.
|
com.google.protobuf.ByteString |
getTriggerNameBytes()
Job trigger name, if applicable, for this finding.
|
boolean |
hasCreateTime()
Timestamp when finding was detected.
|
boolean |
hasInfoType()
The type of content that might have been found.
|
boolean |
hasJobCreateTime()
Time the job started that produced this finding.
|
boolean |
hasLocation()
Where the content was found.
|
boolean |
hasQuoteInfo()
Contains data parsed from quotes.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Resource name in format
projects/{project}/locations/{location}/findings/{finding} Populated only
when viewing persisted findings.
string name = 14;com.google.protobuf.ByteString getNameBytes()
Resource name in format
projects/{project}/locations/{location}/findings/{finding} Populated only
when viewing persisted findings.
string name = 14;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 `include_quote` is true 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;com.google.protobuf.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 `include_quote` is true 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;boolean hasInfoType()
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;InfoType getInfoType()
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;InfoTypeOrBuilder getInfoTypeOrBuilder()
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;int getLikelihoodValue()
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;Likelihood getLikelihood()
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;boolean hasLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;Location getLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;LocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;boolean hasCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;com.google.protobuf.Timestamp getCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;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;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;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;String getResourceName()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getResourceNameBytes()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }String getTriggerName()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getTriggerNameBytes()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }int getLabelsCount()
The labels associated with this `Finding`. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 10;boolean containsLabels(String key)
The labels associated with this `Finding`. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 10;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
The labels associated with this `Finding`. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 10;String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this `Finding`. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 10;String getLabelsOrThrow(String key)
The labels associated with this `Finding`. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 10;boolean hasJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;com.google.protobuf.Timestamp getJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;String getJobName()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getJobNameBytes()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }String getFindingId()
The unique finding id.
string finding_id = 15;com.google.protobuf.ByteString getFindingIdBytes()
The unique finding id.
string finding_id = 15;Copyright © 2022 Google LLC. All rights reserved.