Class DataProfileFinding (3.66.0)

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

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()
Returns
Type Description
DataProfileFinding

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataProfileFinding.Builder newBuilder()
Returns
Type Description
DataProfileFinding.Builder

newBuilder(DataProfileFinding prototype)

public static DataProfileFinding.Builder newBuilder(DataProfileFinding prototype)
Parameter
Name Description
prototype DataProfileFinding
Returns
Type Description
DataProfileFinding.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileFinding parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProfileFinding parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileFinding parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileFinding parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProfileFinding parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProfileFinding parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileFinding
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProfileFinding> parser()
Returns
Type Description
Parser<DataProfileFinding>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
DataProfileFinding

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;

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.

getLocationOrBuilder()

public DataProfileFindingLocationOrBuilder getLocationOrBuilder()

Where the content was found.

.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;

Returns
Type Description
DataProfileFindingLocationOrBuilder

getParserForType()

public Parser<DataProfileFinding> getParserForType()
Returns
Type Description
Parser<DataProfileFinding>
Overrides

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.

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.

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;

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataProfileFinding.Builder newBuilderForType()
Returns
Type Description
DataProfileFinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileFinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProfileFinding.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataProfileFinding.Builder toBuilder()
Returns
Type Description
DataProfileFinding.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException