- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class Finding.Builder extends GeneratedMessageV3.Builder<Finding.Builder> implements FindingOrBuilder
Represents a piece of potentially sensitive content.
Protobuf type google.privacy.dlp.v2.Finding
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Finding.BuilderImplements
FindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Finding.Builder |
build()
public Finding build()
Type | Description |
Finding |
buildPartial()
public Finding buildPartial()
Type | Description |
Finding |
clear()
public Finding.Builder clear()
Type | Description |
Finding.Builder |
clearCreateTime()
public Finding.Builder clearCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
Finding.Builder |
clearField(Descriptors.FieldDescriptor field)
public Finding.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Finding.Builder |
clearFindingId()
public Finding.Builder clearFindingId()
The unique finding id.
string finding_id = 15;
Type | Description |
Finding.Builder | This builder for chaining. |
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;
Type | Description |
Finding.Builder |
clearJobCreateTime()
public Finding.Builder clearJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Type | Description |
Finding.Builder |
clearJobName()
public Finding.Builder clearJobName()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }
Type | Description |
Finding.Builder | This builder for chaining. |
clearLabels()
public Finding.Builder clearLabels()
Type | Description |
Finding.Builder |
clearLikelihood()
public Finding.Builder clearLikelihood()
Confidence of how likely it is that the info_type
is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;
Type | Description |
Finding.Builder | This builder for chaining. |
clearLocation()
public Finding.Builder clearLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Type | Description |
Finding.Builder |
clearName()
public Finding.Builder clearName()
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
string name = 14;
Type | Description |
Finding.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Finding.Builder |
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;
Type | Description |
Finding.Builder | This builder for chaining. |
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;
Type | Description |
Finding.Builder |
clearResourceName()
public Finding.Builder clearResourceName()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }
Type | Description |
Finding.Builder | 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) = { ... }
Type | Description |
Finding.Builder | This builder for chaining. |
clone()
public Finding.Builder clone()
Type | Description |
Finding.Builder |
containsLabels(String key)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Finding getDefaultInstanceForType()
Type | Description |
Finding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFindingId()
public String getFindingId()
The unique finding id.
string finding_id = 15;
Type | Description |
String | The findingId. |
getFindingIdBytes()
public ByteString getFindingIdBytes()
The unique finding id.
string finding_id = 15;
Type | Description |
ByteString | The bytes for findingId. |
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;
Type | Description |
InfoType | The infoType. |
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;
Type | Description |
InfoType.Builder |
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;
Type | Description |
InfoTypeOrBuilder |
getJobCreateTime()
public Timestamp getJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Type | Description |
Timestamp | The jobCreateTime. |
getJobCreateTimeBuilder()
public Timestamp.Builder getJobCreateTimeBuilder()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Type | Description |
Builder |
getJobCreateTimeOrBuilder()
public TimestampOrBuilder getJobCreateTimeOrBuilder()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Type | Description |
TimestampOrBuilder |
getJobName()
public String getJobName()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The jobName. |
getJobNameBytes()
public ByteString getJobNameBytes()
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for jobName. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
The labels associated with this Finding
.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: a-z?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Type | Description |
int |
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Name | Description |
key | String |
Type | Description |
String |
getLikelihood()
public Likelihood getLikelihood()
Confidence of how likely it is that the info_type
is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;
Type | Description |
Likelihood | The likelihood. |
getLikelihoodValue()
public int getLikelihoodValue()
Confidence of how likely it is that the info_type
is correct.
.google.privacy.dlp.v2.Likelihood likelihood = 3;
Type | Description |
int | The enum numeric value on the wire for likelihood. |
getLocation()
public Location getLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Type | Description |
Location | The location. |
getLocationBuilder()
public Location.Builder getLocationBuilder()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Type | Description |
Location.Builder |
getLocationOrBuilder()
public LocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Type | Description |
LocationOrBuilder |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
string name = 14;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
string name = 14;
Type | Description |
ByteString | The bytes for name. |
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;
Type | Description |
String | The quote. |
getQuoteBytes()
public 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;
Type | Description |
ByteString | The bytes for quote. |
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;
Type | Description |
QuoteInfo | The quoteInfo. |
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;
Type | Description |
QuoteInfo.Builder |
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;
Type | Description |
QuoteInfoOrBuilder |
getResourceName()
public String getResourceName()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes()
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for resourceName. |
getTriggerName()
public String getTriggerName()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The triggerName. |
getTriggerNameBytes()
public ByteString getTriggerNameBytes()
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for triggerName. |
hasCreateTime()
public boolean hasCreateTime()
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Type | Description |
boolean | Whether the createTime field is set. |
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;
Type | Description |
boolean | Whether the infoType field is set. |
hasJobCreateTime()
public boolean hasJobCreateTime()
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Type | Description |
boolean | Whether the jobCreateTime field is set. |
hasLocation()
public boolean hasLocation()
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Type | Description |
boolean | Whether the location field is set. |
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;
Type | Description |
boolean | Whether the quoteInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Finding.Builder mergeCreateTime(Timestamp value)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
Finding.Builder |
mergeFrom(Finding other)
public Finding.Builder mergeFrom(Finding other)
Name | Description |
other | Finding |
Type | Description |
Finding.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Finding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Finding.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Finding.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Finding.Builder |
mergeInfoType(InfoType value)
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;
Name | Description |
value | InfoType |
Type | Description |
Finding.Builder |
mergeJobCreateTime(Timestamp value)
public Finding.Builder mergeJobCreateTime(Timestamp value)
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Name | Description |
value | Timestamp |
Type | Description |
Finding.Builder |
mergeLocation(Location value)
public Finding.Builder mergeLocation(Location value)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Name | Description |
value | Location |
Type | Description |
Finding.Builder |
mergeQuoteInfo(QuoteInfo value)
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;
Name | Description |
value | QuoteInfo |
Type | Description |
Finding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Finding.Builder |
putAllLabels(Map<String,String> values)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Name | Description |
values | Map<String,String> |
Type | Description |
Finding.Builder |
putLabels(String key, String value)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Name | Description |
key | String |
value | String |
Type | Description |
Finding.Builder |
removeLabels(String key)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 10;
Name | Description |
key | String |
Type | Description |
Finding.Builder |
setCreateTime(Timestamp value)
public Finding.Builder setCreateTime(Timestamp value)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
Finding.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Finding.Builder setCreateTime(Timestamp.Builder builderForValue)
Timestamp when finding was detected.
.google.protobuf.Timestamp create_time = 6;
Name | Description |
builderForValue | Builder |
Type | Description |
Finding.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Finding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Finding.Builder |
setFindingId(String value)
public Finding.Builder setFindingId(String value)
The unique finding id.
string finding_id = 15;
Name | Description |
value | String The findingId to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setFindingIdBytes(ByteString value)
public Finding.Builder setFindingIdBytes(ByteString value)
The unique finding id.
string finding_id = 15;
Name | Description |
value | ByteString The bytes for findingId to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setInfoType(InfoType value)
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;
Name | Description |
value | InfoType |
Type | Description |
Finding.Builder |
setInfoType(InfoType.Builder builderForValue)
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;
Name | Description |
builderForValue | InfoType.Builder |
Type | Description |
Finding.Builder |
setJobCreateTime(Timestamp value)
public Finding.Builder setJobCreateTime(Timestamp value)
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Name | Description |
value | Timestamp |
Type | Description |
Finding.Builder |
setJobCreateTime(Timestamp.Builder builderForValue)
public Finding.Builder setJobCreateTime(Timestamp.Builder builderForValue)
Time the job started that produced this finding.
.google.protobuf.Timestamp job_create_time = 11;
Name | Description |
builderForValue | Builder |
Type | Description |
Finding.Builder |
setJobName(String value)
public Finding.Builder setJobName(String value)
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The jobName to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setJobNameBytes(ByteString value)
public Finding.Builder setJobNameBytes(ByteString value)
The job that stored the finding.
string job_name = 13 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for jobName to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setLikelihood(Likelihood value)
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;
Name | Description |
value | Likelihood The likelihood to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setLikelihoodValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for likelihood to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setLocation(Location value)
public Finding.Builder setLocation(Location value)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Name | Description |
value | Location |
Type | Description |
Finding.Builder |
setLocation(Location.Builder builderForValue)
public Finding.Builder setLocation(Location.Builder builderForValue)
Where the content was found.
.google.privacy.dlp.v2.Location location = 4;
Name | Description |
builderForValue | Location.Builder |
Type | Description |
Finding.Builder |
setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Finding.Builder setNameBytes(ByteString value)
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
string name = 14;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setQuote(String value)
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;
Name | Description |
value | String The quote to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setQuoteBytes(ByteString value)
public Finding.Builder setQuoteBytes(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;
Name | Description |
value | ByteString The bytes for quote to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setQuoteInfo(QuoteInfo value)
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;
Name | Description |
value | QuoteInfo |
Type | Description |
Finding.Builder |
setQuoteInfo(QuoteInfo.Builder builderForValue)
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;
Name | Description |
builderForValue | QuoteInfo.Builder |
Type | Description |
Finding.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Finding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Finding.Builder |
setResourceName(String value)
public Finding.Builder setResourceName(String value)
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The resourceName to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setResourceNameBytes(ByteString value)
public Finding.Builder setResourceNameBytes(ByteString value)
The job that stored the finding.
string resource_name = 8 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for resourceName to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setTriggerName(String value)
public Finding.Builder setTriggerName(String value)
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The triggerName to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setTriggerNameBytes(ByteString value)
public Finding.Builder setTriggerNameBytes(ByteString value)
Job trigger name, if applicable, for this finding.
string trigger_name = 9 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for triggerName to set. |
Type | Description |
Finding.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Finding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Finding.Builder |