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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Finding
build()
Finding
buildPartial()
Finding.Builder
clear()
Finding.Builder
clearCreateTime()
Timestamp when finding was detected.Finding.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Finding.Builder
clearFindingId()
The unique finding id.Finding.Builder
clearInfoType()
The type of content that might have been found.Finding.Builder
clearJobCreateTime()
Time the job started that produced this finding.Finding.Builder
clearJobName()
The job that stored the finding.Finding.Builder
clearLabels()
Finding.Builder
clearLikelihood()
Confidence of how likely it is that the `info_type` is correct.Finding.Builder
clearLocation()
Where the content was found.Finding.Builder
clearName()
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.Finding.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Finding.Builder
clearQuote()
The content that was found.Finding.Builder
clearQuoteInfo()
Contains data parsed from quotes.Finding.Builder
clearResourceName()
The job that stored the finding.Finding.Builder
clearTriggerName()
Job trigger name, if applicable, for this finding.Finding.Builder
clone()
boolean
containsLabels(String key)
The labels associated with this `Finding`.com.google.protobuf.Timestamp
getCreateTime()
Timestamp when finding was detected.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Timestamp when finding was detected.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Timestamp when finding was detected.Finding
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.InfoType.Builder
getInfoTypeBuilder()
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.Timestamp.Builder
getJobCreateTimeBuilder()
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.Location.Builder
getLocationBuilder()
Where the content was found.LocationOrBuilder
getLocationOrBuilder()
Where the content was found.Map<String,String>
getMutableLabels()
Deprecated.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.QuoteInfo.Builder
getQuoteInfoBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Finding.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Timestamp when finding was detected.Finding.Builder
mergeFrom(Finding other)
Finding.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Finding.Builder
mergeFrom(com.google.protobuf.Message other)
Finding.Builder
mergeInfoType(InfoType value)
The type of content that might have been found.Finding.Builder
mergeJobCreateTime(com.google.protobuf.Timestamp value)
Time the job started that produced this finding.Finding.Builder
mergeLocation(Location value)
Where the content was found.Finding.Builder
mergeQuoteInfo(QuoteInfo value)
Contains data parsed from quotes.Finding.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Finding.Builder
putAllLabels(Map<String,String> values)
The labels associated with this `Finding`.Finding.Builder
putLabels(String key, String value)
The labels associated with this `Finding`.Finding.Builder
removeLabels(String key)
The labels associated with this `Finding`.Finding.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Timestamp when finding was detected.Finding.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp when finding was detected.Finding.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Finding.Builder
setFindingId(String value)
The unique finding id.Finding.Builder
setFindingIdBytes(com.google.protobuf.ByteString value)
The unique finding id.Finding.Builder
setInfoType(InfoType value)
The type of content that might have been found.Finding.Builder
setInfoType(InfoType.Builder builderForValue)
The type of content that might have been found.Finding.Builder
setJobCreateTime(com.google.protobuf.Timestamp value)
Time the job started that produced this finding.Finding.Builder
setJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time the job started that produced this finding.Finding.Builder
setJobName(String value)
The job that stored the finding.Finding.Builder
setJobNameBytes(com.google.protobuf.ByteString value)
The job that stored the finding.Finding.Builder
setLikelihood(Likelihood value)
Confidence of how likely it is that the `info_type` is correct.Finding.Builder
setLikelihoodValue(int value)
Confidence of how likely it is that the `info_type` is correct.Finding.Builder
setLocation(Location value)
Where the content was found.Finding.Builder
setLocation(Location.Builder builderForValue)
Where the content was found.Finding.Builder
setName(String value)
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.Finding.Builder
setNameBytes(com.google.protobuf.ByteString value)
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.Finding.Builder
setQuote(String value)
The content that was found.Finding.Builder
setQuoteBytes(com.google.protobuf.ByteString value)
The content that was found.Finding.Builder
setQuoteInfo(QuoteInfo value)
Contains data parsed from quotes.Finding.Builder
setQuoteInfo(QuoteInfo.Builder builderForValue)
Contains data parsed from quotes.Finding.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Finding.Builder
setResourceName(String value)
The job that stored the finding.Finding.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
The job that stored the finding.Finding.Builder
setTriggerName(String value)
Job trigger name, if applicable, for this finding.Finding.Builder
setTriggerNameBytes(com.google.protobuf.ByteString value)
Job trigger name, if applicable, for this finding.Finding.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clear
public Finding.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
getDefaultInstanceForType
public Finding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Finding build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Finding buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Finding.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setField
public Finding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearField
public Finding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearOneof
public Finding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setRepeatedField
public Finding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
addRepeatedField
public Finding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(Finding other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getQuote
in 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:
getQuoteBytes
in 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:
hasInfoType
in 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:
getInfoType
in 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:
getInfoTypeOrBuilder
in 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:
getLikelihoodValue
in 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:
getLikelihood
in 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:
hasLocation
in 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:
getLocation
in 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:
getLocationOrBuilder
in interfaceFindingOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasQuoteInfo
in 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:
getQuoteInfo
in 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:
getQuoteInfoOrBuilder
in interfaceFindingOrBuilder
-
getResourceName
public String getResourceName()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }
- Specified by:
getResourceName
in 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:
getResourceNameBytes
in 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:
getTriggerName
in 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:
getTriggerNameBytes
in 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:FindingOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceFindingOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
hasJobCreateTime
in 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:
getJobCreateTime
in 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:
getJobCreateTimeOrBuilder
in interfaceFindingOrBuilder
-
getJobName
public String getJobName()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }
- Specified by:
getJobName
in 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:
getJobNameBytes
in 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:
getFindingId
in interfaceFindingOrBuilder
- Returns:
- The findingId.
-
getFindingIdBytes
public com.google.protobuf.ByteString getFindingIdBytes()
The unique finding id.
string finding_id = 15;
- Specified by:
getFindingIdBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeUnknownFields
public final Finding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
-