- 3.66.0 (latest)
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 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 DataProfileFinding.Builder extends GeneratedMessageV3.Builder<DataProfileFinding.Builder> implements DataProfileFindingOrBuilder
Details about a piece of potentially sensitive information that was detected when the data resource was profiled.
Protobuf type google.privacy.dlp.v2.DataProfileFinding
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataProfileFinding.BuilderImplements
DataProfileFindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfileFinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
build()
public DataProfileFinding build()
Returns | |
---|---|
Type | Description |
DataProfileFinding |
buildPartial()
public DataProfileFinding buildPartial()
Returns | |
---|---|
Type | Description |
DataProfileFinding |
clear()
public DataProfileFinding.Builder clear()
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clearDataProfileResourceName()
public DataProfileFinding.Builder clearDataProfileResourceName()
Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataProfileFinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clearFindingId()
public DataProfileFinding.Builder clearFindingId()
A unique identifier for the finding.
string finding_id = 5;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
clearInfotype()
public DataProfileFinding.Builder clearInfotype()
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clearLocation()
public DataProfileFinding.Builder clearLocation()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfileFinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clearQuote()
public DataProfileFinding.Builder clearQuote()
The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
clearQuoteInfo()
public DataProfileFinding.Builder clearQuoteInfo()
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clearResourceVisibility()
public DataProfileFinding.Builder clearResourceVisibility()
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
clearTimestamp()
public DataProfileFinding.Builder clearTimestamp()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
clone()
public DataProfileFinding.Builder clone()
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
getDataProfileResourceName()
public String getDataProfileResourceName()
Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;
Returns | |
---|---|
Type | Description |
String |
The dataProfileResourceName. |
getDataProfileResourceNameBytes()
public ByteString getDataProfileResourceNameBytes()
Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dataProfileResourceName. |
getDefaultInstanceForType()
public DataProfileFinding getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataProfileFinding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFindingId()
public String getFindingId()
A unique identifier for the finding.
string finding_id = 5;
Returns | |
---|---|
Type | Description |
String |
The findingId. |
getFindingIdBytes()
public ByteString getFindingIdBytes()
A unique identifier for the finding.
string finding_id = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for findingId. |
getInfotype()
public InfoType getInfotype()
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Returns | |
---|---|
Type | Description |
InfoType |
The infotype. |
getInfotypeBuilder()
public InfoType.Builder getInfotypeBuilder()
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Returns | |
---|---|
Type | Description |
InfoType.Builder |
getInfotypeOrBuilder()
public InfoTypeOrBuilder getInfotypeOrBuilder()
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Returns | |
---|---|
Type | Description |
InfoTypeOrBuilder |
getLocation()
public DataProfileFindingLocation getLocation()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Returns | |
---|---|
Type | Description |
DataProfileFindingLocation |
The location. |
getLocationBuilder()
public DataProfileFindingLocation.Builder getLocationBuilder()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Returns | |
---|---|
Type | Description |
DataProfileFindingLocation.Builder |
getLocationOrBuilder()
public DataProfileFindingLocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Returns | |
---|---|
Type | Description |
DataProfileFindingLocationOrBuilder |
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. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;
Returns | |
---|---|
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. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for quote. |
getQuoteInfo()
public QuoteInfo getQuoteInfo()
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Returns | |
---|---|
Type | Description |
QuoteInfo |
The quoteInfo. |
getQuoteInfoBuilder()
public QuoteInfo.Builder getQuoteInfoBuilder()
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Returns | |
---|---|
Type | Description |
QuoteInfo.Builder |
getQuoteInfoOrBuilder()
public QuoteInfoOrBuilder getQuoteInfoOrBuilder()
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Returns | |
---|---|
Type | Description |
QuoteInfoOrBuilder |
getResourceVisibility()
public ResourceVisibility getResourceVisibility()
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;
Returns | |
---|---|
Type | Description |
ResourceVisibility |
The resourceVisibility. |
getResourceVisibilityValue()
public int getResourceVisibilityValue()
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for resourceVisibility. |
getTimestamp()
public Timestamp getTimestamp()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The timestamp. |
getTimestampBuilder()
public Timestamp.Builder getTimestampBuilder()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Returns | |
---|---|
Type | Description |
Builder |
getTimestampOrBuilder()
public TimestampOrBuilder getTimestampOrBuilder()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasInfotype()
public boolean hasInfotype()
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the infotype field is set. |
hasLocation()
public boolean hasLocation()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the location field is set. |
hasQuoteInfo()
public boolean hasQuoteInfo()
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the quoteInfo field is set. |
hasTimestamp()
public boolean hasTimestamp()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the timestamp field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataProfileFinding other)
public DataProfileFinding.Builder mergeFrom(DataProfileFinding other)
Parameter | |
---|---|
Name | Description |
other |
DataProfileFinding |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataProfileFinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataProfileFinding.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
mergeInfotype(InfoType value)
public DataProfileFinding.Builder mergeInfotype(InfoType value)
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Parameter | |
---|---|
Name | Description |
value |
InfoType |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
mergeLocation(DataProfileFindingLocation value)
public DataProfileFinding.Builder mergeLocation(DataProfileFindingLocation value)
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Parameter | |
---|---|
Name | Description |
value |
DataProfileFindingLocation |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
mergeQuoteInfo(QuoteInfo value)
public DataProfileFinding.Builder mergeQuoteInfo(QuoteInfo value)
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Parameter | |
---|---|
Name | Description |
value |
QuoteInfo |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
mergeTimestamp(Timestamp value)
public DataProfileFinding.Builder mergeTimestamp(Timestamp value)
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileFinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setDataProfileResourceName(String value)
public DataProfileFinding.Builder setDataProfileResourceName(String value)
Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;
Parameter | |
---|---|
Name | Description |
value |
String The dataProfileResourceName to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setDataProfileResourceNameBytes(ByteString value)
public DataProfileFinding.Builder setDataProfileResourceNameBytes(ByteString value)
Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for dataProfileResourceName to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfileFinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setFindingId(String value)
public DataProfileFinding.Builder setFindingId(String value)
A unique identifier for the finding.
string finding_id = 5;
Parameter | |
---|---|
Name | Description |
value |
String The findingId to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setFindingIdBytes(ByteString value)
public DataProfileFinding.Builder setFindingIdBytes(ByteString value)
A unique identifier for the finding.
string finding_id = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for findingId to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setInfotype(InfoType value)
public DataProfileFinding.Builder setInfotype(InfoType value)
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Parameter | |
---|---|
Name | Description |
value |
InfoType |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setInfotype(InfoType.Builder builderForValue)
public DataProfileFinding.Builder setInfotype(InfoType.Builder builderForValue)
The type of content that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
InfoType.Builder |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setLocation(DataProfileFindingLocation value)
public DataProfileFinding.Builder setLocation(DataProfileFindingLocation value)
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Parameter | |
---|---|
Name | Description |
value |
DataProfileFindingLocation |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setLocation(DataProfileFindingLocation.Builder builderForValue)
public DataProfileFinding.Builder setLocation(DataProfileFindingLocation.Builder builderForValue)
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
DataProfileFindingLocation.Builder |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setQuote(String value)
public DataProfileFinding.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. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;
Parameter | |
---|---|
Name | Description |
value |
String The quote to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setQuoteBytes(ByteString value)
public DataProfileFinding.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. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for quote to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setQuoteInfo(QuoteInfo value)
public DataProfileFinding.Builder setQuoteInfo(QuoteInfo value)
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Parameter | |
---|---|
Name | Description |
value |
QuoteInfo |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setQuoteInfo(QuoteInfo.Builder builderForValue)
public DataProfileFinding.Builder setQuoteInfo(QuoteInfo.Builder builderForValue)
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
QuoteInfo.Builder |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfileFinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setResourceVisibility(ResourceVisibility value)
public DataProfileFinding.Builder setResourceVisibility(ResourceVisibility value)
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;
Parameter | |
---|---|
Name | Description |
value |
ResourceVisibility The resourceVisibility to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setResourceVisibilityValue(int value)
public DataProfileFinding.Builder setResourceVisibilityValue(int value)
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for resourceVisibility to set. |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
This builder for chaining. |
setTimestamp(Timestamp value)
public DataProfileFinding.Builder setTimestamp(Timestamp value)
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setTimestamp(Timestamp.Builder builderForValue)
public DataProfileFinding.Builder setTimestamp(Timestamp.Builder builderForValue)
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileFinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataProfileFinding.Builder |