Class FileStoreDataProfile

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.FileStoreDataProfile
All Implemented Interfaces:
FileStoreDataProfileOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FileStoreDataProfile extends com.google.protobuf.GeneratedMessage implements FileStoreDataProfileOrBuilder
 The profile for a file store.

 * Cloud Storage: maps 1:1 with a bucket.
 * Amazon S3: maps 1:1 with a bucket.
 
Protobuf type google.privacy.dlp.v2.FileStoreDataProfile
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DATA_SOURCE_TYPE_FIELD_NUMBER

      public static final int DATA_SOURCE_TYPE_FIELD_NUMBER
      See Also:
    • PROJECT_DATA_PROFILE_FIELD_NUMBER

      public static final int PROJECT_DATA_PROFILE_FIELD_NUMBER
      See Also:
    • PROJECT_ID_FIELD_NUMBER

      public static final int PROJECT_ID_FIELD_NUMBER
      See Also:
    • FILE_STORE_LOCATION_FIELD_NUMBER

      public static final int FILE_STORE_LOCATION_FIELD_NUMBER
      See Also:
    • DATA_STORAGE_LOCATIONS_FIELD_NUMBER

      public static final int DATA_STORAGE_LOCATIONS_FIELD_NUMBER
      See Also:
    • LOCATION_TYPE_FIELD_NUMBER

      public static final int LOCATION_TYPE_FIELD_NUMBER
      See Also:
    • FILE_STORE_PATH_FIELD_NUMBER

      public static final int FILE_STORE_PATH_FIELD_NUMBER
      See Also:
    • FULL_RESOURCE_FIELD_NUMBER

      public static final int FULL_RESOURCE_FIELD_NUMBER
      See Also:
    • CONFIG_SNAPSHOT_FIELD_NUMBER

      public static final int CONFIG_SNAPSHOT_FIELD_NUMBER
      See Also:
    • PROFILE_STATUS_FIELD_NUMBER

      public static final int PROFILE_STATUS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • PROFILE_LAST_GENERATED_FIELD_NUMBER

      public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER
      See Also:
    • RESOURCE_VISIBILITY_FIELD_NUMBER

      public static final int RESOURCE_VISIBILITY_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:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • LAST_MODIFIED_TIME_FIELD_NUMBER

      public static final int LAST_MODIFIED_TIME_FIELD_NUMBER
      See Also:
    • FILE_CLUSTER_SUMMARIES_FIELD_NUMBER

      public static final int FILE_CLUSTER_SUMMARIES_FIELD_NUMBER
      See Also:
    • RESOURCE_ATTRIBUTES_FIELD_NUMBER

      public static final int RESOURCE_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • RESOURCE_LABELS_FIELD_NUMBER

      public static final int RESOURCE_LABELS_FIELD_NUMBER
      See Also:
    • FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER

      public static final int FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER
      See Also:
    • SAMPLE_FINDINGS_TABLE_FIELD_NUMBER

      public static final int SAMPLE_FINDINGS_TABLE_FIELD_NUMBER
      See Also:
    • FILE_STORE_IS_EMPTY_FIELD_NUMBER

      public static final int FILE_STORE_IS_EMPTY_FIELD_NUMBER
      See Also:
    • TAGS_FIELD_NUMBER

      public static final int TAGS_FIELD_NUMBER
      See Also:
    • DOMAINS_FIELD_NUMBER

      public static final int DOMAINS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The name of the profile.
       
      string name = 1;
      Specified by:
      getName in interface FileStoreDataProfileOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the profile.
       
      string name = 1;
      Specified by:
      getNameBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for name.
    • hasDataSourceType

      public boolean hasDataSourceType()
       The resource type that was profiled.
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 2;
      Specified by:
      hasDataSourceType in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the dataSourceType field is set.
    • getDataSourceType

      public DataSourceType getDataSourceType()
       The resource type that was profiled.
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 2;
      Specified by:
      getDataSourceType in interface FileStoreDataProfileOrBuilder
      Returns:
      The dataSourceType.
    • getDataSourceTypeOrBuilder

      public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()
       The resource type that was profiled.
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 2;
      Specified by:
      getDataSourceTypeOrBuilder in interface FileStoreDataProfileOrBuilder
    • getProjectDataProfile

      public String getProjectDataProfile()
       The resource name of the project data profile for this file store.
       
      string project_data_profile = 3;
      Specified by:
      getProjectDataProfile in interface FileStoreDataProfileOrBuilder
      Returns:
      The projectDataProfile.
    • getProjectDataProfileBytes

      public com.google.protobuf.ByteString getProjectDataProfileBytes()
       The resource name of the project data profile for this file store.
       
      string project_data_profile = 3;
      Specified by:
      getProjectDataProfileBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for projectDataProfile.
    • getProjectId

      public String getProjectId()
       The Google Cloud project ID that owns the resource.
       For Amazon S3 buckets, this is the AWS Account Id.
       
      string project_id = 4;
      Specified by:
      getProjectId in interface FileStoreDataProfileOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The Google Cloud project ID that owns the resource.
       For Amazon S3 buckets, this is the AWS Account Id.
       
      string project_id = 4;
      Specified by:
      getProjectIdBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for projectId.
    • getFileStoreLocation

      public String getFileStoreLocation()
       The location of the file store.
      
       * Cloud Storage:
       https://cloud.google.com/storage/docs/locations#available-locations
       * Amazon S3:
       https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints
       
      string file_store_location = 5;
      Specified by:
      getFileStoreLocation in interface FileStoreDataProfileOrBuilder
      Returns:
      The fileStoreLocation.
    • getFileStoreLocationBytes

      public com.google.protobuf.ByteString getFileStoreLocationBytes()
       The location of the file store.
      
       * Cloud Storage:
       https://cloud.google.com/storage/docs/locations#available-locations
       * Amazon S3:
       https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints
       
      string file_store_location = 5;
      Specified by:
      getFileStoreLocationBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for fileStoreLocation.
    • getDataStorageLocationsList

      public com.google.protobuf.ProtocolStringList getDataStorageLocationsList()
       For resources that have multiple storage locations, these are those
       regions. For Cloud Storage this is the list of regions chosen for
       dual-region storage. `file_store_location` will normally be the
       corresponding multi-region for the list of individual locations. The first
       region is always picked as the processing and storage location for the data
       profile.
       
      repeated string data_storage_locations = 19;
      Specified by:
      getDataStorageLocationsList in interface FileStoreDataProfileOrBuilder
      Returns:
      A list containing the dataStorageLocations.
    • getDataStorageLocationsCount

      public int getDataStorageLocationsCount()
       For resources that have multiple storage locations, these are those
       regions. For Cloud Storage this is the list of regions chosen for
       dual-region storage. `file_store_location` will normally be the
       corresponding multi-region for the list of individual locations. The first
       region is always picked as the processing and storage location for the data
       profile.
       
      repeated string data_storage_locations = 19;
      Specified by:
      getDataStorageLocationsCount in interface FileStoreDataProfileOrBuilder
      Returns:
      The count of dataStorageLocations.
    • getDataStorageLocations

      public String getDataStorageLocations(int index)
       For resources that have multiple storage locations, these are those
       regions. For Cloud Storage this is the list of regions chosen for
       dual-region storage. `file_store_location` will normally be the
       corresponding multi-region for the list of individual locations. The first
       region is always picked as the processing and storage location for the data
       profile.
       
      repeated string data_storage_locations = 19;
      Specified by:
      getDataStorageLocations in interface FileStoreDataProfileOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dataStorageLocations at the given index.
    • getDataStorageLocationsBytes

      public com.google.protobuf.ByteString getDataStorageLocationsBytes(int index)
       For resources that have multiple storage locations, these are those
       regions. For Cloud Storage this is the list of regions chosen for
       dual-region storage. `file_store_location` will normally be the
       corresponding multi-region for the list of individual locations. The first
       region is always picked as the processing and storage location for the data
       profile.
       
      repeated string data_storage_locations = 19;
      Specified by:
      getDataStorageLocationsBytes in interface FileStoreDataProfileOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dataStorageLocations at the given index.
    • getLocationType

      public String getLocationType()
       The location type of the file store (region, dual-region, multi-region,
       etc). If dual-region, expect data_storage_locations to be populated.
       
      string location_type = 20;
      Specified by:
      getLocationType in interface FileStoreDataProfileOrBuilder
      Returns:
      The locationType.
    • getLocationTypeBytes

      public com.google.protobuf.ByteString getLocationTypeBytes()
       The location type of the file store (region, dual-region, multi-region,
       etc). If dual-region, expect data_storage_locations to be populated.
       
      string location_type = 20;
      Specified by:
      getLocationTypeBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for locationType.
    • getFileStorePath

      public String getFileStorePath()
       The file store path.
      
       * Cloud Storage: `gs://{bucket}`
       * Amazon S3: `s3://{bucket}`
       * Vertex AI dataset:
       `projects/{project_number}/locations/{location}/datasets/{dataset_id}`
       
      string file_store_path = 6;
      Specified by:
      getFileStorePath in interface FileStoreDataProfileOrBuilder
      Returns:
      The fileStorePath.
    • getFileStorePathBytes

      public com.google.protobuf.ByteString getFileStorePathBytes()
       The file store path.
      
       * Cloud Storage: `gs://{bucket}`
       * Amazon S3: `s3://{bucket}`
       * Vertex AI dataset:
       `projects/{project_number}/locations/{location}/datasets/{dataset_id}`
       
      string file_store_path = 6;
      Specified by:
      getFileStorePathBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for fileStorePath.
    • getFullResource

      public String getFullResource()
       The resource name of the resource profiled.
       https://cloud.google.com/apis/design/resource_names#full_resource_name
      
       Example format of an S3 bucket full resource name:
       `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}`
       
      string full_resource = 24;
      Specified by:
      getFullResource in interface FileStoreDataProfileOrBuilder
      Returns:
      The fullResource.
    • getFullResourceBytes

      public com.google.protobuf.ByteString getFullResourceBytes()
       The resource name of the resource profiled.
       https://cloud.google.com/apis/design/resource_names#full_resource_name
      
       Example format of an S3 bucket full resource name:
       `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}`
       
      string full_resource = 24;
      Specified by:
      getFullResourceBytes in interface FileStoreDataProfileOrBuilder
      Returns:
      The bytes for fullResource.
    • hasConfigSnapshot

      public boolean hasConfigSnapshot()
       The snapshot of the configurations used to generate the profile.
       
      .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;
      Specified by:
      hasConfigSnapshot in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the configSnapshot field is set.
    • getConfigSnapshot

      public DataProfileConfigSnapshot getConfigSnapshot()
       The snapshot of the configurations used to generate the profile.
       
      .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;
      Specified by:
      getConfigSnapshot in interface FileStoreDataProfileOrBuilder
      Returns:
      The configSnapshot.
    • getConfigSnapshotOrBuilder

      public DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder()
       The snapshot of the configurations used to generate the profile.
       
      .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;
      Specified by:
      getConfigSnapshotOrBuilder in interface FileStoreDataProfileOrBuilder
    • hasProfileStatus

      public boolean hasProfileStatus()
       Success or error status from the most recent profile generation attempt.
       May be empty if the profile is still being generated.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 8;
      Specified by:
      hasProfileStatus in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the profileStatus field is set.
    • getProfileStatus

      public ProfileStatus getProfileStatus()
       Success or error status from the most recent profile generation attempt.
       May be empty if the profile is still being generated.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 8;
      Specified by:
      getProfileStatus in interface FileStoreDataProfileOrBuilder
      Returns:
      The profileStatus.
    • getProfileStatusOrBuilder

      public ProfileStatusOrBuilder getProfileStatusOrBuilder()
       Success or error status from the most recent profile generation attempt.
       May be empty if the profile is still being generated.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 8;
      Specified by:
      getProfileStatusOrBuilder in interface FileStoreDataProfileOrBuilder
    • getStateValue

      public int getStateValue()
       State of a profile.
       
      .google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;
      Specified by:
      getStateValue in interface FileStoreDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public FileStoreDataProfile.State getState()
       State of a profile.
       
      .google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;
      Specified by:
      getState in interface FileStoreDataProfileOrBuilder
      Returns:
      The state.
    • hasProfileLastGenerated

      public boolean hasProfileLastGenerated()
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 10;
      Specified by:
      hasProfileLastGenerated in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the profileLastGenerated field is set.
    • getProfileLastGenerated

      public com.google.protobuf.Timestamp getProfileLastGenerated()
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 10;
      Specified by:
      getProfileLastGenerated in interface FileStoreDataProfileOrBuilder
      Returns:
      The profileLastGenerated.
    • getProfileLastGeneratedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder()
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 10;
      Specified by:
      getProfileLastGeneratedOrBuilder in interface FileStoreDataProfileOrBuilder
    • getResourceVisibilityValue

      public int getResourceVisibilityValue()
       How broadly a resource has been shared.
       
      .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;
      Specified by:
      getResourceVisibilityValue in interface FileStoreDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for resourceVisibility.
    • getResourceVisibility

      public ResourceVisibility getResourceVisibility()
       How broadly a resource has been shared.
       
      .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;
      Specified by:
      getResourceVisibility in interface FileStoreDataProfileOrBuilder
      Returns:
      The resourceVisibility.
    • hasSensitivityScore

      public boolean hasSensitivityScore()
       The sensitivity score of this resource.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;
      Specified by:
      hasSensitivityScore in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the sensitivityScore field is set.
    • getSensitivityScore

      public SensitivityScore getSensitivityScore()
       The sensitivity score of this resource.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;
      Specified by:
      getSensitivityScore in interface FileStoreDataProfileOrBuilder
      Returns:
      The sensitivityScore.
    • getSensitivityScoreOrBuilder

      public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()
       The sensitivity score of this resource.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;
      Specified by:
      getSensitivityScoreOrBuilder in interface FileStoreDataProfileOrBuilder
    • hasDataRiskLevel

      public boolean hasDataRiskLevel()
       The data risk level of this resource.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;
      Specified by:
      hasDataRiskLevel in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the dataRiskLevel field is set.
    • getDataRiskLevel

      public DataRiskLevel getDataRiskLevel()
       The data risk level of this resource.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;
      Specified by:
      getDataRiskLevel in interface FileStoreDataProfileOrBuilder
      Returns:
      The dataRiskLevel.
    • getDataRiskLevelOrBuilder

      public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()
       The data risk level of this resource.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;
      Specified by:
      getDataRiskLevelOrBuilder in interface FileStoreDataProfileOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       The time the file store was first created.
       
      .google.protobuf.Timestamp create_time = 14;
      Specified by:
      hasCreateTime in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       The time the file store was first created.
       
      .google.protobuf.Timestamp create_time = 14;
      Specified by:
      getCreateTime in interface FileStoreDataProfileOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time the file store was first created.
       
      .google.protobuf.Timestamp create_time = 14;
      Specified by:
      getCreateTimeOrBuilder in interface FileStoreDataProfileOrBuilder
    • hasLastModifiedTime

      public boolean hasLastModifiedTime()
       The time the file store was last modified.
       
      .google.protobuf.Timestamp last_modified_time = 15;
      Specified by:
      hasLastModifiedTime in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the lastModifiedTime field is set.
    • getLastModifiedTime

      public com.google.protobuf.Timestamp getLastModifiedTime()
       The time the file store was last modified.
       
      .google.protobuf.Timestamp last_modified_time = 15;
      Specified by:
      getLastModifiedTime in interface FileStoreDataProfileOrBuilder
      Returns:
      The lastModifiedTime.
    • getLastModifiedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
       The time the file store was last modified.
       
      .google.protobuf.Timestamp last_modified_time = 15;
      Specified by:
      getLastModifiedTimeOrBuilder in interface FileStoreDataProfileOrBuilder
    • getFileClusterSummariesList

      public List<FileClusterSummary> getFileClusterSummariesList()
       FileClusterSummary per each cluster.
       
      repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
      Specified by:
      getFileClusterSummariesList in interface FileStoreDataProfileOrBuilder
    • getFileClusterSummariesOrBuilderList

      public List<? extends FileClusterSummaryOrBuilder> getFileClusterSummariesOrBuilderList()
       FileClusterSummary per each cluster.
       
      repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
      Specified by:
      getFileClusterSummariesOrBuilderList in interface FileStoreDataProfileOrBuilder
    • getFileClusterSummariesCount

      public int getFileClusterSummariesCount()
       FileClusterSummary per each cluster.
       
      repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
      Specified by:
      getFileClusterSummariesCount in interface FileStoreDataProfileOrBuilder
    • getFileClusterSummaries

      public FileClusterSummary getFileClusterSummaries(int index)
       FileClusterSummary per each cluster.
       
      repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
      Specified by:
      getFileClusterSummaries in interface FileStoreDataProfileOrBuilder
    • getFileClusterSummariesOrBuilder

      public FileClusterSummaryOrBuilder getFileClusterSummariesOrBuilder(int index)
       FileClusterSummary per each cluster.
       
      repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
      Specified by:
      getFileClusterSummariesOrBuilder in interface FileStoreDataProfileOrBuilder
    • getResourceAttributesCount

      public int getResourceAttributesCount()
      Description copied from interface: FileStoreDataProfileOrBuilder
       Attributes of the resource being profiled.
       Currently used attributes:
      
       * customer_managed_encryption: boolean
       - true: the resource is encrypted with a customer-managed key.
       - false: the resource is encrypted with a provider-managed key.
       
      map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
      Specified by:
      getResourceAttributesCount in interface FileStoreDataProfileOrBuilder
    • containsResourceAttributes

      public boolean containsResourceAttributes(String key)
       Attributes of the resource being profiled.
       Currently used attributes:
      
       * customer_managed_encryption: boolean
       - true: the resource is encrypted with a customer-managed key.
       - false: the resource is encrypted with a provider-managed key.
       
      map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
      Specified by:
      containsResourceAttributes in interface FileStoreDataProfileOrBuilder
    • getResourceAttributes

      @Deprecated public Map<String,Value> getResourceAttributes()
      Deprecated.
      Specified by:
      getResourceAttributes in interface FileStoreDataProfileOrBuilder
    • getResourceAttributesMap

      public Map<String,Value> getResourceAttributesMap()
       Attributes of the resource being profiled.
       Currently used attributes:
      
       * customer_managed_encryption: boolean
       - true: the resource is encrypted with a customer-managed key.
       - false: the resource is encrypted with a provider-managed key.
       
      map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
      Specified by:
      getResourceAttributesMap in interface FileStoreDataProfileOrBuilder
    • getResourceAttributesOrDefault

      public Value getResourceAttributesOrDefault(String key, Value defaultValue)
       Attributes of the resource being profiled.
       Currently used attributes:
      
       * customer_managed_encryption: boolean
       - true: the resource is encrypted with a customer-managed key.
       - false: the resource is encrypted with a provider-managed key.
       
      map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
      Specified by:
      getResourceAttributesOrDefault in interface FileStoreDataProfileOrBuilder
    • getResourceAttributesOrThrow

      public Value getResourceAttributesOrThrow(String key)
       Attributes of the resource being profiled.
       Currently used attributes:
      
       * customer_managed_encryption: boolean
       - true: the resource is encrypted with a customer-managed key.
       - false: the resource is encrypted with a provider-managed key.
       
      map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
      Specified by:
      getResourceAttributesOrThrow in interface FileStoreDataProfileOrBuilder
    • getResourceLabelsCount

      public int getResourceLabelsCount()
      Description copied from interface: FileStoreDataProfileOrBuilder
       The labels applied to the resource at the time the profile was generated.
       
      map<string, string> resource_labels = 18;
      Specified by:
      getResourceLabelsCount in interface FileStoreDataProfileOrBuilder
    • containsResourceLabels

      public boolean containsResourceLabels(String key)
       The labels applied to the resource at the time the profile was generated.
       
      map<string, string> resource_labels = 18;
      Specified by:
      containsResourceLabels in interface FileStoreDataProfileOrBuilder
    • getResourceLabels

      @Deprecated public Map<String,String> getResourceLabels()
      Deprecated.
      Specified by:
      getResourceLabels in interface FileStoreDataProfileOrBuilder
    • getResourceLabelsMap

      public Map<String,String> getResourceLabelsMap()
       The labels applied to the resource at the time the profile was generated.
       
      map<string, string> resource_labels = 18;
      Specified by:
      getResourceLabelsMap in interface FileStoreDataProfileOrBuilder
    • getResourceLabelsOrDefault

      public String getResourceLabelsOrDefault(String key, String defaultValue)
       The labels applied to the resource at the time the profile was generated.
       
      map<string, string> resource_labels = 18;
      Specified by:
      getResourceLabelsOrDefault in interface FileStoreDataProfileOrBuilder
    • getResourceLabelsOrThrow

      public String getResourceLabelsOrThrow(String key)
       The labels applied to the resource at the time the profile was generated.
       
      map<string, string> resource_labels = 18;
      Specified by:
      getResourceLabelsOrThrow in interface FileStoreDataProfileOrBuilder
    • getFileStoreInfoTypeSummariesList

      public List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()
       InfoTypes detected in this file store.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
      Specified by:
      getFileStoreInfoTypeSummariesList in interface FileStoreDataProfileOrBuilder
    • getFileStoreInfoTypeSummariesOrBuilderList

      public List<? extends FileStoreInfoTypeSummaryOrBuilder> getFileStoreInfoTypeSummariesOrBuilderList()
       InfoTypes detected in this file store.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
      Specified by:
      getFileStoreInfoTypeSummariesOrBuilderList in interface FileStoreDataProfileOrBuilder
    • getFileStoreInfoTypeSummariesCount

      public int getFileStoreInfoTypeSummariesCount()
       InfoTypes detected in this file store.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
      Specified by:
      getFileStoreInfoTypeSummariesCount in interface FileStoreDataProfileOrBuilder
    • getFileStoreInfoTypeSummaries

      public FileStoreInfoTypeSummary getFileStoreInfoTypeSummaries(int index)
       InfoTypes detected in this file store.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
      Specified by:
      getFileStoreInfoTypeSummaries in interface FileStoreDataProfileOrBuilder
    • getFileStoreInfoTypeSummariesOrBuilder

      public FileStoreInfoTypeSummaryOrBuilder getFileStoreInfoTypeSummariesOrBuilder(int index)
       InfoTypes detected in this file store.
       
      repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
      Specified by:
      getFileStoreInfoTypeSummariesOrBuilder in interface FileStoreDataProfileOrBuilder
    • hasSampleFindingsTable

      public boolean hasSampleFindingsTable()
       The BigQuery table to which the sample findings are written.
       
      .google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;
      Specified by:
      hasSampleFindingsTable in interface FileStoreDataProfileOrBuilder
      Returns:
      Whether the sampleFindingsTable field is set.
    • getSampleFindingsTable

      public BigQueryTable getSampleFindingsTable()
       The BigQuery table to which the sample findings are written.
       
      .google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;
      Specified by:
      getSampleFindingsTable in interface FileStoreDataProfileOrBuilder
      Returns:
      The sampleFindingsTable.
    • getSampleFindingsTableOrBuilder

      public BigQueryTableOrBuilder getSampleFindingsTableOrBuilder()
       The BigQuery table to which the sample findings are written.
       
      .google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;
      Specified by:
      getSampleFindingsTableOrBuilder in interface FileStoreDataProfileOrBuilder
    • getFileStoreIsEmpty

      public boolean getFileStoreIsEmpty()
       The file store does not have any files. If the profiling operation failed,
       this is false.
       
      bool file_store_is_empty = 23;
      Specified by:
      getFileStoreIsEmpty in interface FileStoreDataProfileOrBuilder
      Returns:
      The fileStoreIsEmpty.
    • getTagsList

      public List<Tag> getTagsList()
       The tags attached to the resource, including any tags attached during
       profiling.
       
      repeated .google.privacy.dlp.v2.Tag tags = 25;
      Specified by:
      getTagsList in interface FileStoreDataProfileOrBuilder
    • getTagsOrBuilderList

      public List<? extends TagOrBuilder> getTagsOrBuilderList()
       The tags attached to the resource, including any tags attached during
       profiling.
       
      repeated .google.privacy.dlp.v2.Tag tags = 25;
      Specified by:
      getTagsOrBuilderList in interface FileStoreDataProfileOrBuilder
    • getTagsCount

      public int getTagsCount()
       The tags attached to the resource, including any tags attached during
       profiling.
       
      repeated .google.privacy.dlp.v2.Tag tags = 25;
      Specified by:
      getTagsCount in interface FileStoreDataProfileOrBuilder
    • getTags

      public Tag getTags(int index)
       The tags attached to the resource, including any tags attached during
       profiling.
       
      repeated .google.privacy.dlp.v2.Tag tags = 25;
      Specified by:
      getTags in interface FileStoreDataProfileOrBuilder
    • getTagsOrBuilder

      public TagOrBuilder getTagsOrBuilder(int index)
       The tags attached to the resource, including any tags attached during
       profiling.
       
      repeated .google.privacy.dlp.v2.Tag tags = 25;
      Specified by:
      getTagsOrBuilder in interface FileStoreDataProfileOrBuilder
    • getRelatedResourcesList

      public List<RelatedResource> getRelatedResourcesList()
       Resources related to this profile.
       
      repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;
      Specified by:
      getRelatedResourcesList in interface FileStoreDataProfileOrBuilder
    • getRelatedResourcesOrBuilderList

      public List<? extends RelatedResourceOrBuilder> getRelatedResourcesOrBuilderList()
       Resources related to this profile.
       
      repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;
      Specified by:
      getRelatedResourcesOrBuilderList in interface FileStoreDataProfileOrBuilder
    • getRelatedResourcesCount

      public int getRelatedResourcesCount()
       Resources related to this profile.
       
      repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;
      Specified by:
      getRelatedResourcesCount in interface FileStoreDataProfileOrBuilder
    • getRelatedResources

      public RelatedResource getRelatedResources(int index)
       Resources related to this profile.
       
      repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;
      Specified by:
      getRelatedResources in interface FileStoreDataProfileOrBuilder
    • getRelatedResourcesOrBuilder

      public RelatedResourceOrBuilder getRelatedResourcesOrBuilder(int index)
       Resources related to this profile.
       
      repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;
      Specified by:
      getRelatedResourcesOrBuilder in interface FileStoreDataProfileOrBuilder
    • getDomainsList

      public List<Domain> getDomainsList()
       Domains associated with the profile.
       
      repeated .google.privacy.dlp.v2.Domain domains = 27;
      Specified by:
      getDomainsList in interface FileStoreDataProfileOrBuilder
    • getDomainsOrBuilderList

      public List<? extends DomainOrBuilder> getDomainsOrBuilderList()
       Domains associated with the profile.
       
      repeated .google.privacy.dlp.v2.Domain domains = 27;
      Specified by:
      getDomainsOrBuilderList in interface FileStoreDataProfileOrBuilder
    • getDomainsCount

      public int getDomainsCount()
       Domains associated with the profile.
       
      repeated .google.privacy.dlp.v2.Domain domains = 27;
      Specified by:
      getDomainsCount in interface FileStoreDataProfileOrBuilder
    • getDomains

      public Domain getDomains(int index)
       Domains associated with the profile.
       
      repeated .google.privacy.dlp.v2.Domain domains = 27;
      Specified by:
      getDomains in interface FileStoreDataProfileOrBuilder
    • getDomainsOrBuilder

      public DomainOrBuilder getDomainsOrBuilder(int index)
       Domains associated with the profile.
       
      repeated .google.privacy.dlp.v2.Domain domains = 27;
      Specified by:
      getDomainsOrBuilder in interface FileStoreDataProfileOrBuilder
    • 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 FileStoreDataProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileStoreDataProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileStoreDataProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileStoreDataProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileStoreDataProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileStoreDataProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static FileStoreDataProfile parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static FileStoreDataProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileStoreDataProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static FileStoreDataProfile.Builder newBuilder()
    • newBuilder

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

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

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

      public static FileStoreDataProfile getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FileStoreDataProfile> 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 FileStoreDataProfile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder