public final class FileClusterSummary extends GeneratedMessageV3 implements FileClusterSummaryOrBuilder
The file cluster summary.
Protobuf type google.privacy.dlp.v2.FileClusterSummary
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FileClusterSummary.Builder newBuilder()
newBuilder(FileClusterSummary prototype)
public static FileClusterSummary.Builder newBuilder(FileClusterSummary prototype)
public static FileClusterSummary parseDelimitedFrom(InputStream input)
public static FileClusterSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FileClusterSummary parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileClusterSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FileClusterSummary parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileClusterSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileClusterSummary parseFrom(CodedInputStream input)
public static FileClusterSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileClusterSummary parseFrom(InputStream input)
public static FileClusterSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FileClusterSummary parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileClusterSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FileClusterSummary> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
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;
getDefaultInstanceForType()
public FileClusterSummary getDefaultInstanceForType()
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;
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
|
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;
getFileClusterTypeOrBuilder()
public FileClusterTypeOrBuilder getFileClusterTypeOrBuilder()
The file cluster type.
.google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;
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
|
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;
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
|
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
|
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;
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
|
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
|
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;
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
|
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()
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;
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;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FileClusterSummary.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileClusterSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FileClusterSummary.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides