Package com.google.privacy.dlp.v2
Interface FindingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Finding,Finding.Builder
public interface FindingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The labels associated with this `Finding`.com.google.protobuf.TimestampgetCreateTime()Timestamp when finding was detected.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Timestamp when finding was detected.StringgetFindingId()The unique finding id.com.google.protobuf.ByteStringgetFindingIdBytes()The unique finding id.InfoTypegetInfoType()The type of content that might have been found.InfoTypeOrBuildergetInfoTypeOrBuilder()The type of content that might have been found.com.google.protobuf.TimestampgetJobCreateTime()Time the job started that produced this finding.com.google.protobuf.TimestampOrBuildergetJobCreateTimeOrBuilder()Time the job started that produced this finding.StringgetJobName()The job that stored the finding.com.google.protobuf.ByteStringgetJobNameBytes()The job that stored the finding.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels associated with this `Finding`.Map<String,String>getLabelsMap()The labels associated with this `Finding`.StringgetLabelsOrDefault(String key, String defaultValue)The labels associated with this `Finding`.StringgetLabelsOrThrow(String key)The labels associated with this `Finding`.LikelihoodgetLikelihood()Confidence of how likely it is that the `info_type` is correct.intgetLikelihoodValue()Confidence of how likely it is that the `info_type` is correct.LocationgetLocation()Where the content was found.LocationOrBuildergetLocationOrBuilder()Where the content was found.StringgetName()Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.com.google.protobuf.ByteStringgetNameBytes()Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.StringgetQuote()The content that was found.com.google.protobuf.ByteStringgetQuoteBytes()The content that was found.QuoteInfogetQuoteInfo()Contains data parsed from quotes.QuoteInfoOrBuildergetQuoteInfoOrBuilder()Contains data parsed from quotes.StringgetResourceName()The job that stored the finding.com.google.protobuf.ByteStringgetResourceNameBytes()The job that stored the finding.StringgetTriggerName()Job trigger name, if applicable, for this finding.com.google.protobuf.ByteStringgetTriggerNameBytes()Job trigger name, if applicable, for this finding.booleanhasCreateTime()Timestamp when finding was detected.booleanhasInfoType()The type of content that might have been found.booleanhasJobCreateTime()Time the job started that produced this finding.booleanhasLocation()Where the content was found.booleanhasQuoteInfo()Contains data parsed from quotes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Returns:
- The bytes for name.
-
getQuote
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;- Returns:
- The quote.
-
getQuoteBytes
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;- Returns:
- The bytes for quote.
-
hasInfoType
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;- Returns:
- Whether the infoType field is set.
-
getInfoType
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;- Returns:
- The infoType.
-
getInfoTypeOrBuilder
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;
-
getLikelihoodValue
int getLikelihoodValue()
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Returns:
- The enum numeric value on the wire for likelihood.
-
getLikelihood
Likelihood getLikelihood()
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Returns:
- The likelihood.
-
hasLocation
boolean hasLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;- Returns:
- Whether the location field is set.
-
getLocation
Location getLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;- Returns:
- The location.
-
getLocationOrBuilder
LocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
-
hasCreateTime
boolean hasCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
-
hasQuoteInfo
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;- Returns:
- Whether the quoteInfo field is set.
-
getQuoteInfo
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;- Returns:
- The quoteInfo.
-
getQuoteInfoOrBuilder
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;
-
getResourceName
String getResourceName()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
getTriggerName
String getTriggerName()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Returns:
- The triggerName.
-
getTriggerNameBytes
com.google.protobuf.ByteString getTriggerNameBytes()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for triggerName.
-
getLabelsCount
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;
-
containsLabels
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
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;
-
getLabelsOrDefault
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;
-
getLabelsOrThrow
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;
-
hasJobCreateTime
boolean hasJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;- Returns:
- Whether the jobCreateTime field is set.
-
getJobCreateTime
com.google.protobuf.Timestamp getJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;- Returns:
- The jobCreateTime.
-
getJobCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
-
getJobName
String getJobName()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Returns:
- The jobName.
-
getJobNameBytes
com.google.protobuf.ByteString getJobNameBytes()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for jobName.
-
getFindingId
String getFindingId()
The unique finding id.
string finding_id = 15;- Returns:
- The findingId.
-
getFindingIdBytes
com.google.protobuf.ByteString getFindingIdBytes()
The unique finding id.
string finding_id = 15;- Returns:
- The bytes for findingId.
-
-