Package com.google.privacy.dlp.v2
Class Finding.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
com.google.privacy.dlp.v2.Finding.Builder
- All Implemented Interfaces:
FindingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Finding
public static final class Finding.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
implements FindingOrBuilder
Represents a piece of potentially sensitive content.Protobuf type
google.privacy.dlp.v2.Finding-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Timestamp when finding was detected.The unique finding id.The type of content that might have been found.Time the job started that produced this finding.The job that stored the finding.Confidence of how likely it is that the `info_type` is correct.Where the content was found.Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.The content that was found.Contains data parsed from quotes.The job that stored the finding.Job trigger name, if applicable, for this finding.booleancontainsLabels(String key) The labels associated with this `Finding`.com.google.protobuf.TimestampTimestamp when finding was detected.com.google.protobuf.Timestamp.BuilderTimestamp when finding was detected.com.google.protobuf.TimestampOrBuilderTimestamp when finding was detected.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe unique finding id.com.google.protobuf.ByteStringThe unique finding id.The type of content that might have been found.The type of content that might have been found.The type of content that might have been found.com.google.protobuf.TimestampTime the job started that produced this finding.com.google.protobuf.Timestamp.BuilderTime the job started that produced this finding.com.google.protobuf.TimestampOrBuilderTime the job started that produced this finding.The job that stored the finding.com.google.protobuf.ByteStringThe job that stored the finding.Deprecated.intThe labels associated with this `Finding`.The labels associated with this `Finding`.getLabelsOrDefault(String key, String defaultValue) The labels associated with this `Finding`.getLabelsOrThrow(String key) The labels associated with this `Finding`.Confidence of how likely it is that the `info_type` is correct.intConfidence of how likely it is that the `info_type` is correct.Where the content was found.Where the content was found.Where the content was found.Deprecated.getName()Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.com.google.protobuf.ByteStringResource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.getQuote()The content that was found.com.google.protobuf.ByteStringThe content that was found.Contains data parsed from quotes.Contains data parsed from quotes.Contains data parsed from quotes.The job that stored the finding.com.google.protobuf.ByteStringThe job that stored the finding.Job trigger name, if applicable, for this finding.com.google.protobuf.ByteStringJob trigger name, if applicable, for this finding.booleanTimestamp when finding was detected.booleanThe type of content that might have been found.booleanTime the job started that produced this finding.booleanWhere the content was found.booleanContains data parsed from quotes.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Timestamp when finding was detected.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInfoType(InfoType value) The type of content that might have been found.mergeJobCreateTime(com.google.protobuf.Timestamp value) Time the job started that produced this finding.mergeLocation(Location value) Where the content was found.mergeQuoteInfo(QuoteInfo value) Contains data parsed from quotes.putAllLabels(Map<String, String> values) The labels associated with this `Finding`.The labels associated with this `Finding`.removeLabels(String key) The labels associated with this `Finding`.setCreateTime(com.google.protobuf.Timestamp value) Timestamp when finding was detected.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when finding was detected.setFindingId(String value) The unique finding id.setFindingIdBytes(com.google.protobuf.ByteString value) The unique finding id.setInfoType(InfoType value) The type of content that might have been found.setInfoType(InfoType.Builder builderForValue) The type of content that might have been found.setJobCreateTime(com.google.protobuf.Timestamp value) Time the job started that produced this finding.setJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the job started that produced this finding.setJobName(String value) The job that stored the finding.setJobNameBytes(com.google.protobuf.ByteString value) The job that stored the finding.setLikelihood(Likelihood value) Confidence of how likely it is that the `info_type` is correct.setLikelihoodValue(int value) Confidence of how likely it is that the `info_type` is correct.setLocation(Location value) Where the content was found.setLocation(Location.Builder builderForValue) Where the content was found.Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.setNameBytes(com.google.protobuf.ByteString value) Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.The content that was found.setQuoteBytes(com.google.protobuf.ByteString value) The content that was found.setQuoteInfo(QuoteInfo value) Contains data parsed from quotes.setQuoteInfo(QuoteInfo.Builder builderForValue) Contains data parsed from quotes.setResourceName(String value) The job that stored the finding.setResourceNameBytes(com.google.protobuf.ByteString value) The job that stored the finding.setTriggerName(String value) Job trigger name, if applicable, for this finding.setTriggerNameBytes(com.google.protobuf.ByteString value) Job trigger name, if applicable, for this finding.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>- Throws:
IOException
-
getName
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Specified by:
getNamein interfaceFindingOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Specified by:
getNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for name.
-
setName
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Returns:
- This builder for chaining.
-
setNameBytes
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.string name = 14;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getQuotein interfaceFindingOrBuilder- Returns:
- The quote.
-
getQuoteBytes
public 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;- Specified by:
getQuoteBytesin interfaceFindingOrBuilder- Returns:
- The bytes for quote.
-
setQuote
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;- Parameters:
value- The quote to set.- Returns:
- This builder for chaining.
-
clearQuote
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:
- This builder for chaining.
-
setQuoteBytes
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;- Parameters:
value- The bytes for quote to set.- Returns:
- This builder for chaining.
-
hasInfoType
public 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;- Specified by:
hasInfoTypein interfaceFindingOrBuilder- Returns:
- Whether the infoType field is set.
-
getInfoType
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;- Specified by:
getInfoTypein interfaceFindingOrBuilder- Returns:
- The infoType.
-
setInfoType
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2; -
setInfoType
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2; -
mergeInfoType
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2; -
clearInfoType
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2; -
getInfoTypeBuilder
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2; -
getInfoTypeOrBuilder
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;- Specified by:
getInfoTypeOrBuilderin interfaceFindingOrBuilder
-
getLikelihoodValue
public int getLikelihoodValue()Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Specified by:
getLikelihoodValuein interfaceFindingOrBuilder- Returns:
- The enum numeric value on the wire for likelihood.
-
setLikelihoodValue
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Parameters:
value- The enum numeric value on the wire for likelihood to set.- Returns:
- This builder for chaining.
-
getLikelihood
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Specified by:
getLikelihoodin interfaceFindingOrBuilder- Returns:
- The likelihood.
-
setLikelihood
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Parameters:
value- The likelihood to set.- Returns:
- This builder for chaining.
-
clearLikelihood
Confidence of how likely it is that the `info_type` is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;- Returns:
- This builder for chaining.
-
hasLocation
public boolean hasLocation()Where the content was found.
.google.privacy.dlp.v2.Location location = 4;- Specified by:
hasLocationin interfaceFindingOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;- Specified by:
getLocationin interfaceFindingOrBuilder- Returns:
- The location.
-
setLocation
Where the content was found.
.google.privacy.dlp.v2.Location location = 4; -
setLocation
Where the content was found.
.google.privacy.dlp.v2.Location location = 4; -
mergeLocation
Where the content was found.
.google.privacy.dlp.v2.Location location = 4; -
clearLocation
Where the content was found.
.google.privacy.dlp.v2.Location location = 4; -
getLocationBuilder
Where the content was found.
.google.privacy.dlp.v2.Location location = 4; -
getLocationOrBuilder
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;- Specified by:
getLocationOrBuilderin interfaceFindingOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceFindingOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceFindingOrBuilder- Returns:
- The createTime.
-
setCreateTime
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6; -
setCreateTime
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6; -
mergeCreateTime
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6; -
clearCreateTime
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceFindingOrBuilder
-
hasQuoteInfo
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;- Specified by:
hasQuoteInfoin interfaceFindingOrBuilder- Returns:
- Whether the quoteInfo field is set.
-
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;- Specified by:
getQuoteInfoin interfaceFindingOrBuilder- Returns:
- The quoteInfo.
-
setQuoteInfo
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; -
setQuoteInfo
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; -
mergeQuoteInfo
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; -
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; -
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; -
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;- Specified by:
getQuoteInfoOrBuilderin interfaceFindingOrBuilder
-
getResourceName
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceFindingOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getTriggerName
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerNamein interfaceFindingOrBuilder- Returns:
- The triggerName.
-
getTriggerNameBytes
public com.google.protobuf.ByteString getTriggerNameBytes()Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for triggerName.
-
setTriggerName
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Parameters:
value- The triggerName to set.- Returns:
- This builder for chaining.
-
clearTriggerName
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTriggerNameBytes
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for triggerName to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:FindingOrBuilderThe 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;- Specified by:
getLabelsCountin interfaceFindingOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceFindingOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFindingOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceFindingOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceFindingOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceFindingOrBuilder
-
clearLabels
-
removeLabels
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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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; -
putAllLabels
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
public boolean hasJobCreateTime()Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;- Specified by:
hasJobCreateTimein interfaceFindingOrBuilder- Returns:
- Whether the jobCreateTime field is set.
-
getJobCreateTime
public com.google.protobuf.Timestamp getJobCreateTime()Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;- Specified by:
getJobCreateTimein interfaceFindingOrBuilder- Returns:
- The jobCreateTime.
-
setJobCreateTime
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11; -
setJobCreateTime
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11; -
mergeJobCreateTime
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11; -
clearJobCreateTime
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11; -
getJobCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getJobCreateTimeBuilder()Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11; -
getJobCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder()Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;- Specified by:
getJobCreateTimeOrBuilderin interfaceFindingOrBuilder
-
getJobName
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getJobNamein interfaceFindingOrBuilder- Returns:
- The jobName.
-
getJobNameBytes
public com.google.protobuf.ByteString getJobNameBytes()The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getJobNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for jobName.
-
setJobName
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Parameters:
value- The jobName to set.- Returns:
- This builder for chaining.
-
clearJobName
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setJobNameBytes
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for jobName to set.- Returns:
- This builder for chaining.
-
getFindingId
The unique finding id.
string finding_id = 15;- Specified by:
getFindingIdin interfaceFindingOrBuilder- Returns:
- The findingId.
-
getFindingIdBytes
public com.google.protobuf.ByteString getFindingIdBytes()The unique finding id.
string finding_id = 15;- Specified by:
getFindingIdBytesin interfaceFindingOrBuilder- Returns:
- The bytes for findingId.
-
setFindingId
The unique finding id.
string finding_id = 15;- Parameters:
value- The findingId to set.- Returns:
- This builder for chaining.
-
clearFindingId
The unique finding id.
string finding_id = 15;- Returns:
- This builder for chaining.
-
setFindingIdBytes
The unique finding id.
string finding_id = 15;- Parameters:
value- The bytes for findingId to set.- Returns:
- This builder for chaining.
-