Package com.google.privacy.dlp.v2
Class FileClusterSummary
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.FileClusterSummary
- All Implemented Interfaces:
FileClusterSummaryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class FileClusterSummary
extends com.google.protobuf.GeneratedMessage
implements FileClusterSummaryOrBuilder
The file cluster summary.Protobuf type
google.privacy.dlp.v2.FileClusterSummary- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe file cluster summary.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 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 TypeMethodDescriptionbooleanThe data risk level of this cluster.The data risk level of this cluster.static FileClusterSummarystatic final com.google.protobuf.Descriptors.DescriptorgetErrors(int index) A list of errors detected while scanning this cluster.intA list of errors detected while scanning this cluster.A list of errors detected while scanning this cluster.getErrorsOrBuilder(int index) A list of errors detected while scanning this cluster.List<? extends ErrorOrBuilder>A list of errors detected while scanning this cluster.The file cluster type.The file cluster type.getFileExtensionsScanned(int index) A sample of file types scanned in this cluster.intA sample of file types scanned in this cluster.A sample of file types scanned in this cluster.getFileExtensionsScannedOrBuilder(int index) A sample of file types scanned in this cluster.List<? extends FileExtensionInfoOrBuilder>A sample of file types scanned in this cluster.getFileExtensionsSeen(int index) A sample of file types seen in this cluster.intA sample of file types seen in this cluster.A sample of file types seen in this cluster.getFileExtensionsSeenOrBuilder(int index) A sample of file types seen in this cluster.List<? extends FileExtensionInfoOrBuilder>A sample of file types seen in this cluster.getFileStoreInfoTypeSummaries(int index) InfoTypes detected in this cluster.intInfoTypes detected in this cluster.InfoTypes detected in this cluster.getFileStoreInfoTypeSummariesOrBuilder(int index) InfoTypes detected in this cluster.List<? extends FileStoreInfoTypeSummaryOrBuilder>InfoTypes detected in this cluster.booleanTrue if no files exist in this cluster.com.google.protobuf.Parser<FileClusterSummary>The sensitivity score of this cluster.The sensitivity score of this cluster.intbooleanThe data risk level of this cluster.booleanThe file cluster type.inthashCode()booleanThe sensitivity score of this cluster.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic FileClusterSummary.Builderstatic FileClusterSummary.BuildernewBuilder(FileClusterSummary prototype) protected FileClusterSummary.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static FileClusterSummaryparseDelimitedFrom(InputStream input) static FileClusterSummaryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileClusterSummaryparseFrom(byte[] data) static FileClusterSummaryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileClusterSummaryparseFrom(com.google.protobuf.ByteString data) static FileClusterSummaryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileClusterSummaryparseFrom(com.google.protobuf.CodedInputStream input) static FileClusterSummaryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileClusterSummaryparseFrom(InputStream input) static FileClusterSummaryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileClusterSummaryparseFrom(ByteBuffer data) static FileClusterSummaryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FileClusterSummary>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
-
FILE_CLUSTER_TYPE_FIELD_NUMBER
public static final int FILE_CLUSTER_TYPE_FIELD_NUMBER- See Also:
-
FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER
public static final int FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER- See Also:
-
SENSITIVITY_SCORE_FIELD_NUMBER
public static final int SENSITIVITY_SCORE_FIELD_NUMBER- See Also:
-
DATA_RISK_LEVEL_FIELD_NUMBER
public static final int DATA_RISK_LEVEL_FIELD_NUMBER- See Also:
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER- See Also:
-
FILE_EXTENSIONS_SCANNED_FIELD_NUMBER
public static final int FILE_EXTENSIONS_SCANNED_FIELD_NUMBER- See Also:
-
FILE_EXTENSIONS_SEEN_FIELD_NUMBER
public static final int FILE_EXTENSIONS_SEEN_FIELD_NUMBER- See Also:
-
NO_FILES_EXIST_FIELD_NUMBER
public static final int NO_FILES_EXIST_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
-
hasFileClusterType
public boolean hasFileClusterType()The file cluster type.
.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;- Specified by:
hasFileClusterTypein interfaceFileClusterSummaryOrBuilder- Returns:
- Whether the fileClusterType field is set.
-
getFileClusterType
The file cluster type.
.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;- Specified by:
getFileClusterTypein interfaceFileClusterSummaryOrBuilder- Returns:
- The fileClusterType.
-
getFileClusterTypeOrBuilder
The file cluster type.
.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;- Specified by:
getFileClusterTypeOrBuilderin interfaceFileClusterSummaryOrBuilder
-
getFileStoreInfoTypeSummariesList
InfoTypes detected in this cluster.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;- Specified by:
getFileStoreInfoTypeSummariesListin interfaceFileClusterSummaryOrBuilder
-
getFileStoreInfoTypeSummariesOrBuilderList
public List<? extends FileStoreInfoTypeSummaryOrBuilder> getFileStoreInfoTypeSummariesOrBuilderList()InfoTypes detected in this cluster.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;- Specified by:
getFileStoreInfoTypeSummariesOrBuilderListin interfaceFileClusterSummaryOrBuilder
-
getFileStoreInfoTypeSummariesCount
public int getFileStoreInfoTypeSummariesCount()InfoTypes detected in this cluster.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;- Specified by:
getFileStoreInfoTypeSummariesCountin interfaceFileClusterSummaryOrBuilder
-
getFileStoreInfoTypeSummaries
InfoTypes detected in this cluster.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;- Specified by:
getFileStoreInfoTypeSummariesin interfaceFileClusterSummaryOrBuilder
-
getFileStoreInfoTypeSummariesOrBuilder
InfoTypes detected in this cluster.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;- Specified by:
getFileStoreInfoTypeSummariesOrBuilderin interfaceFileClusterSummaryOrBuilder
-
hasSensitivityScore
public boolean hasSensitivityScore()The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;- Specified by:
hasSensitivityScorein interfaceFileClusterSummaryOrBuilder- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;- Specified by:
getSensitivityScorein interfaceFileClusterSummaryOrBuilder- Returns:
- The sensitivityScore.
-
getSensitivityScoreOrBuilder
The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;- Specified by:
getSensitivityScoreOrBuilderin interfaceFileClusterSummaryOrBuilder
-
hasDataRiskLevel
public boolean hasDataRiskLevel()The data risk level of this cluster. RISK_LOW if nothing has been scanned.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 4;- Specified by:
hasDataRiskLevelin interfaceFileClusterSummaryOrBuilder- Returns:
- Whether the dataRiskLevel field is set.
-
getDataRiskLevel
The data risk level of this cluster. RISK_LOW if nothing has been scanned.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 4;- Specified by:
getDataRiskLevelin interfaceFileClusterSummaryOrBuilder- Returns:
- The dataRiskLevel.
-
getDataRiskLevelOrBuilder
The data risk level of this cluster. RISK_LOW if nothing has been scanned.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 4;- Specified by:
getDataRiskLevelOrBuilderin interfaceFileClusterSummaryOrBuilder
-
getErrorsList
A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.
repeated .google.privacy.dlp.v2.Error errors = 6;- Specified by:
getErrorsListin interfaceFileClusterSummaryOrBuilder
-
getErrorsOrBuilderList
A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.
repeated .google.privacy.dlp.v2.Error errors = 6;- Specified by:
getErrorsOrBuilderListin interfaceFileClusterSummaryOrBuilder
-
getErrorsCount
public int getErrorsCount()A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.
repeated .google.privacy.dlp.v2.Error errors = 6;- Specified by:
getErrorsCountin interfaceFileClusterSummaryOrBuilder
-
getErrors
A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.
repeated .google.privacy.dlp.v2.Error errors = 6;- Specified by:
getErrorsin interfaceFileClusterSummaryOrBuilder
-
getErrorsOrBuilder
A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.
repeated .google.privacy.dlp.v2.Error errors = 6;- Specified by:
getErrorsOrBuilderin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsScannedList
A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7;- Specified by:
getFileExtensionsScannedListin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsScannedOrBuilderList
A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7;- Specified by:
getFileExtensionsScannedOrBuilderListin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsScannedCount
public int getFileExtensionsScannedCount()A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7;- Specified by:
getFileExtensionsScannedCountin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsScanned
A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7;- Specified by:
getFileExtensionsScannedin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsScannedOrBuilder
A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7;- Specified by:
getFileExtensionsScannedOrBuilderin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsSeenList
A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8;- Specified by:
getFileExtensionsSeenListin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsSeenOrBuilderList
A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8;- Specified by:
getFileExtensionsSeenOrBuilderListin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsSeenCount
public int getFileExtensionsSeenCount()A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8;- Specified by:
getFileExtensionsSeenCountin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsSeen
A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8;- Specified by:
getFileExtensionsSeenin interfaceFileClusterSummaryOrBuilder
-
getFileExtensionsSeenOrBuilder
A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content.
repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8;- Specified by:
getFileExtensionsSeenOrBuilderin interfaceFileClusterSummaryOrBuilder
-
getNoFilesExist
public boolean getNoFilesExist()True if no files exist in this cluster. If the file store had more files than could be listed, this will be false even if no files for this cluster were seen and file_extensions_seen is empty.
bool no_files_exist = 9;- Specified by:
getNoFilesExistin interfaceFileClusterSummaryOrBuilder- Returns:
- The noFilesExist.
-
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 FileClusterSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileClusterSummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileClusterSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileClusterSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileClusterSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileClusterSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FileClusterSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FileClusterSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FileClusterSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FileClusterSummary 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 FileClusterSummary.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
-