Package com.google.privacy.dlp.v2
Class DataProfileFinding
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DataProfileFinding
- All Implemented Interfaces:
DataProfileFindingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataProfileFinding
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails about a piece of potentially sensitive information that was detected when the data resource was profiled.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanResource name of the data profile associated with the finding.com.google.protobuf.ByteStringResource name of the data profile associated with the finding.The type of the resource that was profiled.The type of the resource that was profiled.static DataProfileFindingstatic final com.google.protobuf.Descriptors.DescriptorA unique identifier for the finding.com.google.protobuf.ByteStringA unique identifier for the finding.The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the resource profiled for this finding.com.google.protobuf.ByteStringThe [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the resource profiled for this finding.The [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found.The [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found.Where the content was found.Where the content was found.com.google.protobuf.Parser<DataProfileFinding>getQuote()The content that was found.com.google.protobuf.ByteStringThe content that was found.Contains data parsed from quotes.Contains data parsed from quotes.How broadly a resource has been shared.intHow broadly a resource has been shared.intcom.google.protobuf.TimestampTimestamp when the finding was detected.com.google.protobuf.TimestampOrBuilderTimestamp when the finding was detected.booleanThe type of the resource that was profiled.inthashCode()booleanThe [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found.booleanWhere the content was found.booleanContains data parsed from quotes.booleanTimestamp when the finding was detected.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataProfileFinding.Builderstatic DataProfileFinding.BuildernewBuilder(DataProfileFinding prototype) protected DataProfileFinding.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataProfileFindingparseDelimitedFrom(InputStream input) static DataProfileFindingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileFindingparseFrom(byte[] data) static DataProfileFindingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileFindingparseFrom(com.google.protobuf.ByteString data) static DataProfileFindingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileFindingparseFrom(com.google.protobuf.CodedInputStream input) static DataProfileFindingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileFindingparseFrom(InputStream input) static DataProfileFindingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileFindingparseFrom(ByteBuffer data) static DataProfileFindingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataProfileFinding>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
QUOTE_FIELD_NUMBER
public static final int QUOTE_FIELD_NUMBER- See Also:
-
INFOTYPE_FIELD_NUMBER
public static final int INFOTYPE_FIELD_NUMBER- See Also:
-
QUOTE_INFO_FIELD_NUMBER
public static final int QUOTE_INFO_FIELD_NUMBER- See Also:
-
DATA_PROFILE_RESOURCE_NAME_FIELD_NUMBER
public static final int DATA_PROFILE_RESOURCE_NAME_FIELD_NUMBER- See Also:
-
FINDING_ID_FIELD_NUMBER
public static final int FINDING_ID_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
RESOURCE_VISIBILITY_FIELD_NUMBER
public static final int RESOURCE_VISIBILITY_FIELD_NUMBER- See Also:
-
FULL_RESOURCE_NAME_FIELD_NUMBER
public static final int FULL_RESOURCE_NAME_FIELD_NUMBER- See Also:
-
DATA_SOURCE_TYPE_FIELD_NUMBER
public static final int DATA_SOURCE_TYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
getQuotein interfaceDataProfileFindingOrBuilder- 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. If the finding exceeds 4096 bytes in length, the quote may be omitted.
string quote = 1;- Specified by:
getQuoteBytesin interfaceDataProfileFindingOrBuilder- Returns:
- The bytes for quote.
-
hasInfotype
public boolean hasInfotype()The [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;- Specified by:
hasInfotypein interfaceDataProfileFindingOrBuilder- Returns:
- Whether the infotype field is set.
-
getInfotype
The [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;- Specified by:
getInfotypein interfaceDataProfileFindingOrBuilder- Returns:
- The infotype.
-
getInfotypeOrBuilder
The [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found.
.google.privacy.dlp.v2.InfoType infotype = 2;- Specified by:
getInfotypeOrBuilderin interfaceDataProfileFindingOrBuilder
-
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;- Specified by:
hasQuoteInfoin interfaceDataProfileFindingOrBuilder- Returns:
- Whether the quoteInfo field is set.
-
getQuoteInfo
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;- Specified by:
getQuoteInfoin interfaceDataProfileFindingOrBuilder- Returns:
- The quoteInfo.
-
getQuoteInfoOrBuilder
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
.google.privacy.dlp.v2.QuoteInfo quote_info = 3;- Specified by:
getQuoteInfoOrBuilderin interfaceDataProfileFindingOrBuilder
-
getDataProfileResourceName
Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;- Specified by:
getDataProfileResourceNamein interfaceDataProfileFindingOrBuilder- Returns:
- The dataProfileResourceName.
-
getDataProfileResourceNameBytes
public com.google.protobuf.ByteString getDataProfileResourceNameBytes()Resource name of the data profile associated with the finding.
string data_profile_resource_name = 4;- Specified by:
getDataProfileResourceNameBytesin interfaceDataProfileFindingOrBuilder- Returns:
- The bytes for dataProfileResourceName.
-
getFindingId
A unique identifier for the finding.
string finding_id = 5;- Specified by:
getFindingIdin interfaceDataProfileFindingOrBuilder- Returns:
- The findingId.
-
getFindingIdBytes
public com.google.protobuf.ByteString getFindingIdBytes()A unique identifier for the finding.
string finding_id = 5;- Specified by:
getFindingIdBytesin interfaceDataProfileFindingOrBuilder- Returns:
- The bytes for findingId.
-
hasTimestamp
public boolean hasTimestamp()Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;- Specified by:
hasTimestampin interfaceDataProfileFindingOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;- Specified by:
getTimestampin interfaceDataProfileFindingOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Timestamp when the finding was detected.
.google.protobuf.Timestamp timestamp = 6;- Specified by:
getTimestampOrBuilderin interfaceDataProfileFindingOrBuilder
-
hasLocation
public boolean hasLocation()Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;- Specified by:
hasLocationin interfaceDataProfileFindingOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;- Specified by:
getLocationin interfaceDataProfileFindingOrBuilder- Returns:
- The location.
-
getLocationOrBuilder
Where the content was found.
.google.privacy.dlp.v2.DataProfileFindingLocation location = 7;- Specified by:
getLocationOrBuilderin interfaceDataProfileFindingOrBuilder
-
getResourceVisibilityValue
public int getResourceVisibilityValue()How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;- Specified by:
getResourceVisibilityValuein interfaceDataProfileFindingOrBuilder- Returns:
- The enum numeric value on the wire for resourceVisibility.
-
getResourceVisibility
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 8;- Specified by:
getResourceVisibilityin interfaceDataProfileFindingOrBuilder- Returns:
- The resourceVisibility.
-
getFullResourceName
The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the resource profiled for this finding.
string full_resource_name = 9;- Specified by:
getFullResourceNamein interfaceDataProfileFindingOrBuilder- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
public com.google.protobuf.ByteString getFullResourceNameBytes()The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the resource profiled for this finding.
string full_resource_name = 9;- Specified by:
getFullResourceNameBytesin interfaceDataProfileFindingOrBuilder- Returns:
- The bytes for fullResourceName.
-
hasDataSourceType
public boolean hasDataSourceType()The type of the resource that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 10;- Specified by:
hasDataSourceTypein interfaceDataProfileFindingOrBuilder- Returns:
- Whether the dataSourceType field is set.
-
getDataSourceType
The type of the resource that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 10;- Specified by:
getDataSourceTypein interfaceDataProfileFindingOrBuilder- Returns:
- The dataSourceType.
-
getDataSourceTypeOrBuilder
The type of the resource that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 10;- Specified by:
getDataSourceTypeOrBuilderin interfaceDataProfileFindingOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataProfileFinding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileFinding parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileFinding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileFinding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileFinding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileFinding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataProfileFinding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataProfileFinding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataProfileFinding parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataProfileFinding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataProfileFinding.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-