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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Finding.Builder> implements FindingOrBuilder
Represents a piece of potentially sensitive content.
Protobuf typegoogle.privacy.dlp.v2.Finding
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Finding.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Findingbuild()FindingbuildPartial()Finding.Builderclear()Finding.BuilderclearCreateTime()Timestamp when finding was detected.Finding.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Finding.BuilderclearFindingId()The unique finding id.Finding.BuilderclearInfoType()The type of content that might have been found.Finding.BuilderclearJobCreateTime()Time the job started that produced this finding.Finding.BuilderclearJobName()The job that stored the finding.Finding.BuilderclearLabels()Finding.BuilderclearLikelihood()Confidence of how likely it is that the `info_type` is correct.Finding.BuilderclearLocation()Where the content was found.Finding.BuilderclearName()Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.Finding.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Finding.BuilderclearQuote()The content that was found.Finding.BuilderclearQuoteInfo()Contains data parsed from quotes.Finding.BuilderclearResourceName()The job that stored the finding.Finding.BuilderclearTriggerName()Job trigger name, if applicable, for this finding.Finding.Builderclone()booleancontainsLabels(String key)The labels associated with this `Finding`.com.google.protobuf.TimestampgetCreateTime()Timestamp when finding was detected.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Timestamp when finding was detected.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Timestamp when finding was detected.FindinggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFindingId()The unique finding id.com.google.protobuf.ByteStringgetFindingIdBytes()The unique finding id.InfoTypegetInfoType()The type of content that might have been found.InfoType.BuildergetInfoTypeBuilder()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.Timestamp.BuildergetJobCreateTimeBuilder()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.Location.BuildergetLocationBuilder()Where the content was found.LocationOrBuildergetLocationOrBuilder()Where the content was found.Map<String,String>getMutableLabels()Deprecated.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.QuoteInfo.BuildergetQuoteInfoBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Finding.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Timestamp when finding was detected.Finding.BuildermergeFrom(Finding other)Finding.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Finding.BuildermergeFrom(com.google.protobuf.Message other)Finding.BuildermergeInfoType(InfoType value)The type of content that might have been found.Finding.BuildermergeJobCreateTime(com.google.protobuf.Timestamp value)Time the job started that produced this finding.Finding.BuildermergeLocation(Location value)Where the content was found.Finding.BuildermergeQuoteInfo(QuoteInfo value)Contains data parsed from quotes.Finding.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Finding.BuilderputAllLabels(Map<String,String> values)The labels associated with this `Finding`.Finding.BuilderputLabels(String key, String value)The labels associated with this `Finding`.Finding.BuilderremoveLabels(String key)The labels associated with this `Finding`.Finding.BuildersetCreateTime(com.google.protobuf.Timestamp value)Timestamp when finding was detected.Finding.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Timestamp when finding was detected.Finding.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Finding.BuildersetFindingId(String value)The unique finding id.Finding.BuildersetFindingIdBytes(com.google.protobuf.ByteString value)The unique finding id.Finding.BuildersetInfoType(InfoType value)The type of content that might have been found.Finding.BuildersetInfoType(InfoType.Builder builderForValue)The type of content that might have been found.Finding.BuildersetJobCreateTime(com.google.protobuf.Timestamp value)Time the job started that produced this finding.Finding.BuildersetJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Time the job started that produced this finding.Finding.BuildersetJobName(String value)The job that stored the finding.Finding.BuildersetJobNameBytes(com.google.protobuf.ByteString value)The job that stored the finding.Finding.BuildersetLikelihood(Likelihood value)Confidence of how likely it is that the `info_type` is correct.Finding.BuildersetLikelihoodValue(int value)Confidence of how likely it is that the `info_type` is correct.Finding.BuildersetLocation(Location value)Where the content was found.Finding.BuildersetLocation(Location.Builder builderForValue)Where the content was found.Finding.BuildersetName(String value)Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.Finding.BuildersetNameBytes(com.google.protobuf.ByteString value)Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.Finding.BuildersetQuote(String value)The content that was found.Finding.BuildersetQuoteBytes(com.google.protobuf.ByteString value)The content that was found.Finding.BuildersetQuoteInfo(QuoteInfo value)Contains data parsed from quotes.Finding.BuildersetQuoteInfo(QuoteInfo.Builder builderForValue)Contains data parsed from quotes.Finding.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Finding.BuildersetResourceName(String value)The job that stored the finding.Finding.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)The job that stored the finding.Finding.BuildersetTriggerName(String value)Job trigger name, if applicable, for this finding.Finding.BuildersetTriggerNameBytes(com.google.protobuf.ByteString value)Job trigger name, if applicable, for this finding.Finding.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clear
public Finding.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Finding.Builder>
-
getDefaultInstanceForType
public Finding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Finding build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Finding buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Finding.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setField
public Finding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearField
public Finding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearOneof
public Finding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setRepeatedField
public Finding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
addRepeatedField
public Finding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(Finding other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public Finding.Builder setName(String value)
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
public Finding.Builder 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
public Finding.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public 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;- 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
public Finding.Builder setQuote(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 `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
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 `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
public Finding.Builder setQuoteBytes(com.google.protobuf.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 `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
public 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;- Specified by:
getInfoTypein interfaceFindingOrBuilder- Returns:
- The infoType.
-
setInfoType
public Finding.Builder setInfoType(InfoType value)
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;
-
setInfoType
public Finding.Builder setInfoType(InfoType.Builder builderForValue)
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;
-
mergeInfoType
public Finding.Builder mergeInfoType(InfoType value)
The type of content that might have been found. Provided if `excluded_types` is false.
.google.privacy.dlp.v2.InfoType info_type = 2;
-
clearInfoType
public Finding.Builder 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
public InfoType.Builder 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
public 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;- 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
public Finding.Builder setLikelihoodValue(int value)
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
public Likelihood 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
public Finding.Builder setLikelihood(Likelihood value)
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
public Finding.Builder 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
public Location getLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;- Specified by:
getLocationin interfaceFindingOrBuilder- Returns:
- The location.
-
setLocation
public Finding.Builder setLocation(Location value)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
-
setLocation
public Finding.Builder setLocation(Location.Builder builderForValue)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
-
mergeLocation
public Finding.Builder mergeLocation(Location value)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
-
clearLocation
public Finding.Builder clearLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
-
getLocationBuilder
public Location.Builder getLocationBuilder()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
-
getLocationOrBuilder
public LocationOrBuilder 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
public Finding.Builder setCreateTime(com.google.protobuf.Timestamp value)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
-
setCreateTime
public Finding.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
-
mergeCreateTime
public Finding.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
-
clearCreateTime
public Finding.Builder 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
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;- Specified by:
getQuoteInfoin interfaceFindingOrBuilder- Returns:
- The quoteInfo.
-
setQuoteInfo
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;
-
setQuoteInfo
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;
-
mergeQuoteInfo
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;
-
clearQuoteInfo
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;
-
getQuoteInfoBuilder
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;
-
getQuoteInfoOrBuilder
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;- Specified by:
getQuoteInfoOrBuilderin interfaceFindingOrBuilder
-
getResourceName
public String 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
public Finding.Builder setResourceName(String value)
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
public Finding.Builder clearResourceName()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public Finding.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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
public String 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
public Finding.Builder setTriggerName(String value)
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
public Finding.Builder clearTriggerName()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTriggerNameBytes
public Finding.Builder setTriggerNameBytes(com.google.protobuf.ByteString value)
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
public 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;- Specified by:
containsLabelsin interfaceFindingOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFindingOrBuilder
-
getLabelsMap
public 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;- Specified by:
getLabelsMapin interfaceFindingOrBuilder
-
getLabelsOrDefault
public 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;- Specified by:
getLabelsOrDefaultin interfaceFindingOrBuilder
-
getLabelsOrThrow
public 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;- Specified by:
getLabelsOrThrowin interfaceFindingOrBuilder
-
clearLabels
public Finding.Builder clearLabels()
-
removeLabels
public Finding.Builder removeLabels(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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Finding.Builder putLabels(String key, String value)
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
public Finding.Builder putAllLabels(Map<String,String> values)
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
public Finding.Builder setJobCreateTime(com.google.protobuf.Timestamp value)
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
-
setJobCreateTime
public Finding.Builder setJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
-
mergeJobCreateTime
public Finding.Builder mergeJobCreateTime(com.google.protobuf.Timestamp value)
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
-
clearJobCreateTime
public Finding.Builder 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
public String 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
public Finding.Builder setJobName(String value)
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
public Finding.Builder clearJobName()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setJobNameBytes
public Finding.Builder setJobNameBytes(com.google.protobuf.ByteString value)
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
public String 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
public Finding.Builder setFindingId(String value)
The unique finding id.
string finding_id = 15;- Parameters:
value- The findingId to set.- Returns:
- This builder for chaining.
-
clearFindingId
public Finding.Builder clearFindingId()
The unique finding id.
string finding_id = 15;- Returns:
- This builder for chaining.
-
setFindingIdBytes
public Finding.Builder setFindingIdBytes(com.google.protobuf.ByteString value)
The unique finding id.
string finding_id = 15;- Parameters:
value- The bytes for findingId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Finding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeUnknownFields
public final Finding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
-