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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasFileClusterType

      public boolean hasFileClusterType()
       The file cluster type.
       
      .google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;
      Specified by:
      hasFileClusterType in interface FileClusterSummaryOrBuilder
      Returns:
      Whether the fileClusterType field is set.
    • getFileClusterType

      public FileClusterType getFileClusterType()
       The file cluster type.
       
      .google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;
      Specified by:
      getFileClusterType in interface FileClusterSummaryOrBuilder
      Returns:
      The fileClusterType.
    • getFileClusterTypeOrBuilder

      public FileClusterTypeOrBuilder getFileClusterTypeOrBuilder()
       The file cluster type.
       
      .google.privacy.dlp.v2.FileClusterType file_cluster_type = 1;
      Specified by:
      getFileClusterTypeOrBuilder in interface FileClusterSummaryOrBuilder
    • getFileStoreInfoTypeSummariesList

      public List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()
       InfoTypes detected in this cluster.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;
      Specified by:
      getFileStoreInfoTypeSummariesList in interface FileClusterSummaryOrBuilder
    • 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:
      getFileStoreInfoTypeSummariesOrBuilderList in interface FileClusterSummaryOrBuilder
    • getFileStoreInfoTypeSummariesCount

      public int getFileStoreInfoTypeSummariesCount()
       InfoTypes detected in this cluster.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;
      Specified by:
      getFileStoreInfoTypeSummariesCount in interface FileClusterSummaryOrBuilder
    • getFileStoreInfoTypeSummaries

      public FileStoreInfoTypeSummary getFileStoreInfoTypeSummaries(int index)
       InfoTypes detected in this cluster.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;
      Specified by:
      getFileStoreInfoTypeSummaries in interface FileClusterSummaryOrBuilder
    • getFileStoreInfoTypeSummariesOrBuilder

      public FileStoreInfoTypeSummaryOrBuilder getFileStoreInfoTypeSummariesOrBuilder(int index)
       InfoTypes detected in this cluster.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2;
      Specified by:
      getFileStoreInfoTypeSummariesOrBuilder in interface FileClusterSummaryOrBuilder
    • 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:
      hasSensitivityScore in interface FileClusterSummaryOrBuilder
      Returns:
      Whether the sensitivityScore field is set.
    • 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;
      Specified by:
      getSensitivityScore in interface FileClusterSummaryOrBuilder
      Returns:
      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;
      Specified by:
      getSensitivityScoreOrBuilder in interface FileClusterSummaryOrBuilder
    • 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:
      hasDataRiskLevel in interface FileClusterSummaryOrBuilder
      Returns:
      Whether the dataRiskLevel field is set.
    • 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;
      Specified by:
      getDataRiskLevel in interface FileClusterSummaryOrBuilder
      Returns:
      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;
      Specified by:
      getDataRiskLevelOrBuilder in interface FileClusterSummaryOrBuilder
    • 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;
      Specified by:
      getErrorsList in interface FileClusterSummaryOrBuilder
    • 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;
      Specified by:
      getErrorsOrBuilderList in interface FileClusterSummaryOrBuilder
    • 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:
      getErrorsCount in interface FileClusterSummaryOrBuilder
    • getErrors

      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;
      Specified by:
      getErrors in interface FileClusterSummaryOrBuilder
    • getErrorsOrBuilder

      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;
      Specified by:
      getErrorsOrBuilder in interface FileClusterSummaryOrBuilder
    • 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;
      Specified by:
      getFileExtensionsScannedList in interface FileClusterSummaryOrBuilder
    • 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;
      Specified by:
      getFileExtensionsScannedOrBuilderList in interface FileClusterSummaryOrBuilder
    • 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:
      getFileExtensionsScannedCount in interface FileClusterSummaryOrBuilder
    • getFileExtensionsScanned

      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;
      Specified by:
      getFileExtensionsScanned in interface FileClusterSummaryOrBuilder
    • getFileExtensionsScannedOrBuilder

      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;
      Specified by:
      getFileExtensionsScannedOrBuilder in interface FileClusterSummaryOrBuilder
    • 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;
      Specified by:
      getFileExtensionsSeenList in interface FileClusterSummaryOrBuilder
    • 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;
      Specified by:
      getFileExtensionsSeenOrBuilderList in interface FileClusterSummaryOrBuilder
    • 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:
      getFileExtensionsSeenCount in interface FileClusterSummaryOrBuilder
    • getFileExtensionsSeen

      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;
      Specified by:
      getFileExtensionsSeen in interface FileClusterSummaryOrBuilder
    • getFileExtensionsSeenOrBuilder

      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;
      Specified by:
      getFileExtensionsSeenOrBuilder in interface FileClusterSummaryOrBuilder
    • 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:
      getNoFilesExist in interface FileClusterSummaryOrBuilder
      Returns:
      The noFilesExist.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static FileClusterSummary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileClusterSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FileClusterSummary parseDelimitedFrom(InputStream input) throws IOException
      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

      public FileClusterSummary.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FileClusterSummary.Builder newBuilder()
    • newBuilder

      public static FileClusterSummary.Builder newBuilder(FileClusterSummary prototype)
    • toBuilder

      public FileClusterSummary.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FileClusterSummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FileClusterSummary getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FileClusterSummary> parser()
    • getParserForType

      public com.google.protobuf.Parser<FileClusterSummary> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FileClusterSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder