Class FileClusterSummary.Builder (3.57.0)

public static final class FileClusterSummary.Builder extends GeneratedMessageV3.Builder<FileClusterSummary.Builder> implements FileClusterSummaryOrBuilder

The file cluster summary.

Protobuf type google.privacy.dlp.v2.FileClusterSummary

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Error> values)

public FileClusterSummary.Builder addAllErrors(Iterable<? extends Error> values)

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
values Iterable<? extends com.google.privacy.dlp.v2.Error>
Returns
Type Description
FileClusterSummary.Builder

addAllFileExtensionsScanned(Iterable<? extends FileExtensionInfo> values)

public FileClusterSummary.Builder addAllFileExtensionsScanned(Iterable<? extends FileExtensionInfo> values)

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
values Iterable<? extends com.google.privacy.dlp.v2.FileExtensionInfo>
Returns
Type Description
FileClusterSummary.Builder

addAllFileExtensionsSeen(Iterable<? extends FileExtensionInfo> values)

public FileClusterSummary.Builder addAllFileExtensionsSeen(Iterable<? extends FileExtensionInfo> values)

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
values Iterable<? extends com.google.privacy.dlp.v2.FileExtensionInfo>
Returns
Type Description
FileClusterSummary.Builder

addAllFileStoreInfoTypeSummaries(Iterable<? extends FileStoreInfoTypeSummary> values)

public FileClusterSummary.Builder addAllFileStoreInfoTypeSummaries(Iterable<? extends FileStoreInfoTypeSummary> values)

InfoTypes detected in this cluster.

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

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FileStoreInfoTypeSummary>
Returns
Type Description
FileClusterSummary.Builder

addErrors(Error value)

public FileClusterSummary.Builder addErrors(Error value)

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
value Error
Returns
Type Description
FileClusterSummary.Builder

addErrors(Error.Builder builderForValue)

public FileClusterSummary.Builder addErrors(Error.Builder builderForValue)

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
builderForValue Error.Builder
Returns
Type Description
FileClusterSummary.Builder

addErrors(int index, Error value)

public FileClusterSummary.Builder addErrors(int index, Error value)

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;

Parameters
Name Description
index int
value Error
Returns
Type Description
FileClusterSummary.Builder

addErrors(int index, Error.Builder builderForValue)

public FileClusterSummary.Builder addErrors(int index, Error.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
FileClusterSummary.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

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
Error.Builder

addErrorsBuilder(int index)

public Error.Builder addErrorsBuilder(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.Builder

addFileExtensionsScanned(FileExtensionInfo value)

public FileClusterSummary.Builder addFileExtensionsScanned(FileExtensionInfo value)

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
value FileExtensionInfo
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsScanned(FileExtensionInfo.Builder builderForValue)

public FileClusterSummary.Builder addFileExtensionsScanned(FileExtensionInfo.Builder builderForValue)

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
builderForValue FileExtensionInfo.Builder
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsScanned(int index, FileExtensionInfo value)

public FileClusterSummary.Builder addFileExtensionsScanned(int index, FileExtensionInfo value)

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;

Parameters
Name Description
index int
value FileExtensionInfo
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsScanned(int index, FileExtensionInfo.Builder builderForValue)

public FileClusterSummary.Builder addFileExtensionsScanned(int index, FileExtensionInfo.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FileExtensionInfo.Builder
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsScannedBuilder()

public FileExtensionInfo.Builder addFileExtensionsScannedBuilder()

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
FileExtensionInfo.Builder

addFileExtensionsScannedBuilder(int index)

public FileExtensionInfo.Builder addFileExtensionsScannedBuilder(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.Builder

addFileExtensionsSeen(FileExtensionInfo value)

public FileClusterSummary.Builder addFileExtensionsSeen(FileExtensionInfo value)

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
value FileExtensionInfo
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsSeen(FileExtensionInfo.Builder builderForValue)

public FileClusterSummary.Builder addFileExtensionsSeen(FileExtensionInfo.Builder builderForValue)

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
builderForValue FileExtensionInfo.Builder
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsSeen(int index, FileExtensionInfo value)

public FileClusterSummary.Builder addFileExtensionsSeen(int index, FileExtensionInfo value)

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;

Parameters
Name Description
index int
value FileExtensionInfo
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsSeen(int index, FileExtensionInfo.Builder builderForValue)

public FileClusterSummary.Builder addFileExtensionsSeen(int index, FileExtensionInfo.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FileExtensionInfo.Builder
Returns
Type Description
FileClusterSummary.Builder

addFileExtensionsSeenBuilder()

public FileExtensionInfo.Builder addFileExtensionsSeenBuilder()

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
FileExtensionInfo.Builder

addFileExtensionsSeenBuilder(int index)

public FileExtensionInfo.Builder addFileExtensionsSeenBuilder(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.Builder

addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary value)

public FileClusterSummary.Builder addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary value)

InfoTypes detected in this cluster.

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

Parameter
Name Description
value FileStoreInfoTypeSummary
Returns
Type Description
FileClusterSummary.Builder

addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary.Builder builderForValue)

public FileClusterSummary.Builder addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary.Builder builderForValue)

InfoTypes detected in this cluster.

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

Parameter
Name Description
builderForValue FileStoreInfoTypeSummary.Builder
Returns
Type Description
FileClusterSummary.Builder

addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

public FileClusterSummary.Builder addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

InfoTypes detected in this cluster.

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

Parameters
Name Description
index int
value FileStoreInfoTypeSummary
Returns
Type Description
FileClusterSummary.Builder

addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

public FileClusterSummary.Builder addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

InfoTypes detected in this cluster.

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

Parameters
Name Description
index int
builderForValue FileStoreInfoTypeSummary.Builder
Returns
Type Description
FileClusterSummary.Builder

addFileStoreInfoTypeSummariesBuilder()

public FileStoreInfoTypeSummary.Builder addFileStoreInfoTypeSummariesBuilder()

InfoTypes detected in this cluster.

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

Returns
Type Description
FileStoreInfoTypeSummary.Builder

addFileStoreInfoTypeSummariesBuilder(int index)

public FileStoreInfoTypeSummary.Builder addFileStoreInfoTypeSummariesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FileClusterSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileClusterSummary.Builder
Overrides

build()

public FileClusterSummary build()
Returns
Type Description
FileClusterSummary

buildPartial()

public FileClusterSummary buildPartial()
Returns
Type Description
FileClusterSummary

clear()

public FileClusterSummary.Builder clear()
Returns
Type Description
FileClusterSummary.Builder
Overrides

clearDataRiskLevel()

public FileClusterSummary.Builder clearDataRiskLevel()

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
FileClusterSummary.Builder

clearErrors()

public FileClusterSummary.Builder clearErrors()

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
FileClusterSummary.Builder

clearField(Descriptors.FieldDescriptor field)

public FileClusterSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FileClusterSummary.Builder
Overrides

clearFileClusterType()

public FileClusterSummary.Builder clearFileClusterType()

The file cluster type.

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

Returns
Type Description
FileClusterSummary.Builder

clearFileExtensionsScanned()

public FileClusterSummary.Builder clearFileExtensionsScanned()

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
FileClusterSummary.Builder

clearFileExtensionsSeen()

public FileClusterSummary.Builder clearFileExtensionsSeen()

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
FileClusterSummary.Builder

clearFileStoreInfoTypeSummaries()

public FileClusterSummary.Builder clearFileStoreInfoTypeSummaries()

InfoTypes detected in this cluster.

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

Returns
Type Description
FileClusterSummary.Builder

clearNoFilesExist()

public FileClusterSummary.Builder clearNoFilesExist()

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
FileClusterSummary.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FileClusterSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FileClusterSummary.Builder
Overrides

clearSensitivityScore()

public FileClusterSummary.Builder clearSensitivityScore()

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
FileClusterSummary.Builder

clone()

public FileClusterSummary.Builder clone()
Returns
Type Description
FileClusterSummary.Builder
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.

getDataRiskLevelBuilder()

public DataRiskLevel.Builder getDataRiskLevelBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getErrorsBuilder(int index)

public Error.Builder getErrorsBuilder(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.Builder

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

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<Builder>

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.

getFileClusterTypeBuilder()

public FileClusterType.Builder getFileClusterTypeBuilder()

The file cluster type.

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

Returns
Type Description
FileClusterType.Builder

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

getFileExtensionsScannedBuilder(int index)

public FileExtensionInfo.Builder getFileExtensionsScannedBuilder(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.Builder

getFileExtensionsScannedBuilderList()

public List<FileExtensionInfo.Builder> getFileExtensionsScannedBuilderList()

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<Builder>

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

getFileExtensionsSeenBuilder(int index)

public FileExtensionInfo.Builder getFileExtensionsSeenBuilder(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.Builder

getFileExtensionsSeenBuilderList()

public List<FileExtensionInfo.Builder> getFileExtensionsSeenBuilderList()

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<Builder>

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

getFileStoreInfoTypeSummariesBuilder(int index)

public FileStoreInfoTypeSummary.Builder getFileStoreInfoTypeSummariesBuilder(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.Builder

getFileStoreInfoTypeSummariesBuilderList()

public List<FileStoreInfoTypeSummary.Builder> getFileStoreInfoTypeSummariesBuilderList()

InfoTypes detected in this cluster.

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

Returns
Type Description
List<Builder>

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.

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.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataRiskLevel(DataRiskLevel value)

public FileClusterSummary.Builder mergeDataRiskLevel(DataRiskLevel value)

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

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
FileClusterSummary.Builder

mergeFileClusterType(FileClusterType value)

public FileClusterSummary.Builder mergeFileClusterType(FileClusterType value)

The file cluster type.

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

Parameter
Name Description
value FileClusterType
Returns
Type Description
FileClusterSummary.Builder

mergeFrom(FileClusterSummary other)

public FileClusterSummary.Builder mergeFrom(FileClusterSummary other)
Parameter
Name Description
other FileClusterSummary
Returns
Type Description
FileClusterSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FileClusterSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileClusterSummary.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FileClusterSummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FileClusterSummary.Builder
Overrides

mergeSensitivityScore(SensitivityScore value)

public FileClusterSummary.Builder mergeSensitivityScore(SensitivityScore value)

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;

Parameter
Name Description
value SensitivityScore
Returns
Type Description
FileClusterSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FileClusterSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileClusterSummary.Builder
Overrides

removeErrors(int index)

public FileClusterSummary.Builder removeErrors(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
FileClusterSummary.Builder

removeFileExtensionsScanned(int index)

public FileClusterSummary.Builder removeFileExtensionsScanned(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
FileClusterSummary.Builder

removeFileExtensionsSeen(int index)

public FileClusterSummary.Builder removeFileExtensionsSeen(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
FileClusterSummary.Builder

removeFileStoreInfoTypeSummaries(int index)

public FileClusterSummary.Builder removeFileStoreInfoTypeSummaries(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
FileClusterSummary.Builder

setDataRiskLevel(DataRiskLevel value)

public FileClusterSummary.Builder setDataRiskLevel(DataRiskLevel value)

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

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
FileClusterSummary.Builder

setDataRiskLevel(DataRiskLevel.Builder builderForValue)

public FileClusterSummary.Builder setDataRiskLevel(DataRiskLevel.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue DataRiskLevel.Builder
Returns
Type Description
FileClusterSummary.Builder

setErrors(int index, Error value)

public FileClusterSummary.Builder setErrors(int index, Error value)

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;

Parameters
Name Description
index int
value Error
Returns
Type Description
FileClusterSummary.Builder

setErrors(int index, Error.Builder builderForValue)

public FileClusterSummary.Builder setErrors(int index, Error.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
FileClusterSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FileClusterSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileClusterSummary.Builder
Overrides

setFileClusterType(FileClusterType value)

public FileClusterSummary.Builder setFileClusterType(FileClusterType value)

The file cluster type.

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

Parameter
Name Description
value FileClusterType
Returns
Type Description
FileClusterSummary.Builder

setFileClusterType(FileClusterType.Builder builderForValue)

public FileClusterSummary.Builder setFileClusterType(FileClusterType.Builder builderForValue)

The file cluster type.

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

Parameter
Name Description
builderForValue FileClusterType.Builder
Returns
Type Description
FileClusterSummary.Builder

setFileExtensionsScanned(int index, FileExtensionInfo value)

public FileClusterSummary.Builder setFileExtensionsScanned(int index, FileExtensionInfo value)

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;

Parameters
Name Description
index int
value FileExtensionInfo
Returns
Type Description
FileClusterSummary.Builder

setFileExtensionsScanned(int index, FileExtensionInfo.Builder builderForValue)

public FileClusterSummary.Builder setFileExtensionsScanned(int index, FileExtensionInfo.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FileExtensionInfo.Builder
Returns
Type Description
FileClusterSummary.Builder

setFileExtensionsSeen(int index, FileExtensionInfo value)

public FileClusterSummary.Builder setFileExtensionsSeen(int index, FileExtensionInfo value)

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;

Parameters
Name Description
index int
value FileExtensionInfo
Returns
Type Description
FileClusterSummary.Builder

setFileExtensionsSeen(int index, FileExtensionInfo.Builder builderForValue)

public FileClusterSummary.Builder setFileExtensionsSeen(int index, FileExtensionInfo.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FileExtensionInfo.Builder
Returns
Type Description
FileClusterSummary.Builder

setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

public FileClusterSummary.Builder setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

InfoTypes detected in this cluster.

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

Parameters
Name Description
index int
value FileStoreInfoTypeSummary
Returns
Type Description
FileClusterSummary.Builder

setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

public FileClusterSummary.Builder setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

InfoTypes detected in this cluster.

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

Parameters
Name Description
index int
builderForValue FileStoreInfoTypeSummary.Builder
Returns
Type Description
FileClusterSummary.Builder

setNoFilesExist(boolean value)

public FileClusterSummary.Builder setNoFilesExist(boolean value)

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;

Parameter
Name Description
value boolean

The noFilesExist to set.

Returns
Type Description
FileClusterSummary.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FileClusterSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FileClusterSummary.Builder
Overrides

setSensitivityScore(SensitivityScore value)

public FileClusterSummary.Builder setSensitivityScore(SensitivityScore value)

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;

Parameter
Name Description
value SensitivityScore
Returns
Type Description
FileClusterSummary.Builder

setSensitivityScore(SensitivityScore.Builder builderForValue)

public FileClusterSummary.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)

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;

Parameter
Name Description
builderForValue SensitivityScore.Builder
Returns
Type Description
FileClusterSummary.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FileClusterSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileClusterSummary.Builder
Overrides