Class FileClusterSummary (3.57.0)

public final class FileClusterSummary extends GeneratedMessageV3 implements FileClusterSummaryOrBuilder

The file cluster summary.

Protobuf type google.privacy.dlp.v2.FileClusterSummary

Static Fields

DATA_RISK_LEVEL_FIELD_NUMBER

public static final int DATA_RISK_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

FILE_CLUSTER_TYPE_FIELD_NUMBER

public static final int FILE_CLUSTER_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FILE_EXTENSIONS_SCANNED_FIELD_NUMBER

public static final int FILE_EXTENSIONS_SCANNED_FIELD_NUMBER
Field Value
Type Description
int

FILE_EXTENSIONS_SEEN_FIELD_NUMBER

public static final int FILE_EXTENSIONS_SEEN_FIELD_NUMBER
Field Value
Type Description
int

FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER

public static final int FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER
Field Value
Type Description
int

NO_FILES_EXIST_FIELD_NUMBER

public static final int NO_FILES_EXIST_FIELD_NUMBER
Field Value
Type Description
int

SENSITIVITY_SCORE_FIELD_NUMBER

public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FileClusterSummary getDefaultInstance()
Returns
Type Description
FileClusterSummary

getDescriptor()

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

newBuilder()

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

newBuilder(FileClusterSummary prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level of this cluster. RISK_LOW if nothing has been scanned.

.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 4;

Returns
Type Description
DataRiskLevel

The dataRiskLevel.

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this cluster. RISK_LOW if nothing has been scanned.

.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 4;

Returns
Type Description
DataRiskLevelOrBuilder

getDefaultInstanceForType()

public FileClusterSummary getDefaultInstanceForType()
Returns
Type Description
FileClusterSummary

getErrors(int index)

public Error getErrors(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Error

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;

Returns
Type Description
int

getErrorsList()

public List<Error> 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;

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> 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;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getFileClusterType()

public FileClusterType getFileClusterType()

The file cluster type.

.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;

Returns
Type Description
FileClusterType

The fileClusterType.

getFileClusterTypeOrBuilder()

public FileClusterTypeOrBuilder getFileClusterTypeOrBuilder()

The file cluster type.

.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;

Returns
Type Description
FileClusterTypeOrBuilder

getFileExtensionsScanned(int index)

public FileExtensionInfo getFileExtensionsScanned(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
FileExtensionInfo

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;

Returns
Type Description
int

getFileExtensionsScannedList()

public List<FileExtensionInfo> 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;

Returns
Type Description
List<FileExtensionInfo>

getFileExtensionsScannedOrBuilder(int index)

public FileExtensionInfoOrBuilder getFileExtensionsScannedOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
FileExtensionInfoOrBuilder

getFileExtensionsScannedOrBuilderList()

public List<? extends FileExtensionInfoOrBuilder> 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;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FileExtensionInfoOrBuilder>

getFileExtensionsSeen(int index)

public FileExtensionInfo getFileExtensionsSeen(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
FileExtensionInfo

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;

Returns
Type Description
int

getFileExtensionsSeenList()

public List<FileExtensionInfo> 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;

Returns
Type Description
List<FileExtensionInfo>

getFileExtensionsSeenOrBuilder(int index)

public FileExtensionInfoOrBuilder getFileExtensionsSeenOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
FileExtensionInfoOrBuilder

getFileExtensionsSeenOrBuilderList()

public List<? extends FileExtensionInfoOrBuilder> 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;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FileExtensionInfoOrBuilder>

getFileStoreInfoTypeSummaries(int index)

public FileStoreInfoTypeSummary getFileStoreInfoTypeSummaries(int index)

InfoTypes detected in this cluster.

repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;

Parameter
Name Description
index int
Returns
Type Description
FileStoreInfoTypeSummary

getFileStoreInfoTypeSummariesCount()

public int getFileStoreInfoTypeSummariesCount()

InfoTypes detected in this cluster.

repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;

Returns
Type Description
int

getFileStoreInfoTypeSummariesList()

public List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()

InfoTypes detected in this cluster.

repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;

Returns
Type Description
List<FileStoreInfoTypeSummary>

getFileStoreInfoTypeSummariesOrBuilder(int index)

public FileStoreInfoTypeSummaryOrBuilder getFileStoreInfoTypeSummariesOrBuilder(int index)

InfoTypes detected in this cluster.

repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;

Parameter
Name Description
index int
Returns
Type Description
FileStoreInfoTypeSummaryOrBuilder

getFileStoreInfoTypeSummariesOrBuilderList()

public List<? extends FileStoreInfoTypeSummaryOrBuilder> getFileStoreInfoTypeSummariesOrBuilderList()

InfoTypes detected in this cluster.

repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FileStoreInfoTypeSummaryOrBuilder>

getNoFilesExist()

public boolean getNoFilesExist()

True if no files exist in this cluster. If the bucket 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;

Returns
Type Description
boolean

The noFilesExist.

getParserForType()

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

getSensitivityScore()

public SensitivityScore 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;

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder 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;

Returns
Type Description
SensitivityScoreOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

Whether the dataRiskLevel field is set.

hasFileClusterType()

public boolean hasFileClusterType()

The file cluster type.

.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;

Returns
Type Description
boolean

Whether the fileClusterType field is set.

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;

Returns
Type Description
boolean

Whether the sensitivityScore 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 FileClusterSummary.Builder newBuilderForType()
Returns
Type Description
FileClusterSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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