public final class DataProfileFinding extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATA_PROFILE_RESOURCE_NAME_FIELD_NUMBER
public static final int DATA_PROFILE_RESOURCE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FINDING_ID_FIELD_NUMBER
public static final int FINDING_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INFOTYPE_FIELD_NUMBER
public static final int INFOTYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUOTE_FIELD_NUMBER
public static final int QUOTE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUOTE_INFO_FIELD_NUMBER
public static final int QUOTE_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_VISIBILITY_FIELD_NUMBER
public static final int RESOURCE_VISIBILITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataProfileFinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataProfileFinding.Builder newBuilder()
newBuilder(DataProfileFinding prototype)
public static DataProfileFinding.Builder newBuilder(DataProfileFinding prototype)
public static DataProfileFinding parseDelimitedFrom(InputStream input)
public static DataProfileFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataProfileFinding parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProfileFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataProfileFinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileFinding parseFrom(CodedInputStream input)
public static DataProfileFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataProfileFinding parseFrom(InputStream input)
public static DataProfileFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataProfileFinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProfileFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataProfileFinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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()
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.
|
getInfotypeOrBuilder()
public InfoTypeOrBuilder getInfotypeOrBuilder()
The type of
content
that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;
getLocation()
public DataProfileFindingLocation getLocation()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
getLocationOrBuilder()
public DataProfileFindingLocationOrBuilder getLocationOrBuilder()
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;
getParserForType()
public Parser<DataProfileFinding> getParserForType()
Overrides
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.
|
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;
getResourceVisibility()
public ResourceVisibility getResourceVisibility()
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTimestamp()
public Timestamp getTimestamp()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
Returns |
Type |
Description |
Timestamp |
The timestamp.
|
getTimestampOrBuilder()
public TimestampOrBuilder getTimestampOrBuilder()
Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataProfileFinding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataProfileFinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataProfileFinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides