# Interface FileStoreDataProfileOrBuilder (3.97.0)

3.97.0 (latest) 3.95.0 3.92.0 3.91.0 3.89.0 3.87.0 3.86.0 3.85.0 3.84.0 3.82.0 3.80.0 3.79.0 3.78.0 3.77.0 3.76.0 3.74.0 3.72.0 3.71.0 3.68.0 3.67.0 3.66.0 3.64.0 3.63.0 3.62.0 3.61.0 3.60.0 3.59.0 3.58.0 3.57.0 3.56.0 3.55.0 3.53.0 3.52.0 3.51.0 3.50.0 3.49.0 3.48.0 3.47.0 3.46.0 3.45.0 3.44.0 3.43.0 3.41.0 3.40.0 3.39.0 3.38.0 3.37.0 3.36.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.6 3.6.7 3.5.0 3.4.0 3.3.2 3.2.1 3.1.4

    public interface FileStoreDataProfileOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsResourceAttributes(String key)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### containsResourceLabels(String key)

    public abstract boolean containsResourceLabels(String key)

The labels applied to the resource at the time the profile was generated.

`map<string, string> resource_labels = 18;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getConfigSnapshot()

    public abstract DataProfileConfigSnapshot getConfigSnapshot()

The snapshot of the configurations used to generate the profile.

`.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DataProfileConfigSnapshot` | The configSnapshot. |

### getConfigSnapshotOrBuilder()

    public abstract DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder()

The snapshot of the configurations used to generate the profile.

`.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

The time the file store was first created.

`.google.protobuf.Timestamp create_time = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time the file store was first created.

`.google.protobuf.Timestamp create_time = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDataRiskLevel()

    public abstract DataRiskLevel getDataRiskLevel()

The data risk level of this resource.

`.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DataRiskLevel` | The dataRiskLevel. |

### getDataRiskLevelOrBuilder()

    public abstract DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this resource.

`.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DataRiskLevelOrBuilder` |   |

### getDataSourceType()

    public abstract DataSourceType getDataSourceType()

The resource type that was profiled.

`.google.privacy.dlp.v2.DataSourceType data_source_type = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DataSourceType` | The dataSourceType. |

### getDataSourceTypeOrBuilder()

    public abstract DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()

The resource type that was profiled.

`.google.privacy.dlp.v2.DataSourceType data_source_type = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DataSourceTypeOrBuilder` |   |

### getDataStorageLocations(int index)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The dataStorageLocations at the given index. |

### getDataStorageLocationsBytes(int index)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the dataStorageLocations at the given index. |

### getDataStorageLocationsCount()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of dataStorageLocations. |

### getDataStorageLocationsList()

    public abstract List<String> 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the dataStorageLocations. |

### getDomains(int index)

    public abstract Domain getDomains(int index)

Domains associated with the profile.

`repeated .google.privacy.dlp.v2.Domain domains = 27;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Domain` |   |

### getDomainsCount()

    public abstract int getDomainsCount()

Domains associated with the profile.

`repeated .google.privacy.dlp.v2.Domain domains = 27;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getDomainsList()

    public abstract List<Domain> getDomainsList()

Domains associated with the profile.

`repeated .google.privacy.dlp.v2.Domain domains = 27;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Domain>` |   |

### getDomainsOrBuilder(int index)

    public abstract DomainOrBuilder getDomainsOrBuilder(int index)

Domains associated with the profile.

`repeated .google.privacy.dlp.v2.Domain domains = 27;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.DomainOrBuilder` |   |

### getDomainsOrBuilderList()

    public abstract List<? extends DomainOrBuilder> getDomainsOrBuilderList()

Domains associated with the profile.

`repeated .google.privacy.dlp.v2.Domain domains = 27;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.privacy.dlp.v2.DomainOrBuilder>` |   |

### getFileClusterSummaries(int index)

    public abstract FileClusterSummary getFileClusterSummaries(int index)

FileClusterSummary per each cluster.

`repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileClusterSummary` |   |

### getFileClusterSummariesCount()

    public abstract int getFileClusterSummariesCount()

FileClusterSummary per each cluster.

`repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFileClusterSummariesList()

    public abstract List<FileClusterSummary> getFileClusterSummariesList()

FileClusterSummary per each cluster.

`repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileClusterSummary>` |   |

### getFileClusterSummariesOrBuilder(int index)

    public abstract FileClusterSummaryOrBuilder getFileClusterSummariesOrBuilder(int index)

FileClusterSummary per each cluster.

`repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileClusterSummaryOrBuilder` |   |

### getFileClusterSummariesOrBuilderList()

    public abstract List<? extends FileClusterSummaryOrBuilder> getFileClusterSummariesOrBuilderList()

FileClusterSummary per each cluster.

`repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.privacy.dlp.v2.FileClusterSummaryOrBuilder>` |   |

### getFileStoreInfoTypeSummaries(int index)

    public abstract FileStoreInfoTypeSummary getFileStoreInfoTypeSummaries(int index)

InfoTypes detected in this file store.

`
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileStoreInfoTypeSummary` |   |

### getFileStoreInfoTypeSummariesCount()

    public abstract int getFileStoreInfoTypeSummariesCount()

InfoTypes detected in this file store.

`
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFileStoreInfoTypeSummariesList()

    public abstract List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()

InfoTypes detected in this file store.

`
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileStoreInfoTypeSummary>` |   |

### getFileStoreInfoTypeSummariesOrBuilder(int index)

    public abstract FileStoreInfoTypeSummaryOrBuilder getFileStoreInfoTypeSummariesOrBuilder(int index)

InfoTypes detected in this file store.

`
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileStoreInfoTypeSummaryOrBuilder` |   |

### getFileStoreInfoTypeSummariesOrBuilderList()

    public abstract List<? extends FileStoreInfoTypeSummaryOrBuilder> getFileStoreInfoTypeSummariesOrBuilderList()

InfoTypes detected in this file store.

`
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.privacy.dlp.v2.FileStoreInfoTypeSummaryOrBuilder>` |   |

### getFileStoreIsEmpty()

    public abstract boolean getFileStoreIsEmpty()

The file store does not have any files. If the profiling operation failed,
this is false.

`bool file_store_is_empty = 23;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The fileStoreIsEmpty. |

### getFileStoreLocation()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The fileStoreLocation. |

### getFileStoreLocationBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for fileStoreLocation. |

### getFileStorePath()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The fileStorePath. |

### getFileStorePathBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for fileStorePath. |

### getFullResource()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The fullResource. |

### getFullResourceBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for fullResource. |

### getLastModifiedTime()

    public abstract Timestamp getLastModifiedTime()

The time the file store was last modified.

`.google.protobuf.Timestamp last_modified_time = 15;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The lastModifiedTime. |

### getLastModifiedTimeOrBuilder()

    public abstract TimestampOrBuilder getLastModifiedTimeOrBuilder()

The time the file store was last modified.

`.google.protobuf.Timestamp last_modified_time = 15;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getLocationType()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The locationType. |

### getLocationTypeBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for locationType. |

### getName()

    public abstract String getName()

The name of the profile.

`string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

The name of the profile.

`string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getProfileLastGenerated()

    public abstract Timestamp getProfileLastGenerated()

The last time the profile was generated.

`.google.protobuf.Timestamp profile_last_generated = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The profileLastGenerated. |

### getProfileLastGeneratedOrBuilder()

    public abstract TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

`.google.protobuf.Timestamp profile_last_generated = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getProfileStatus()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.ProfileStatus` | The profileStatus. |

### getProfileStatusOrBuilder()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.ProfileStatusOrBuilder` |   |

### getProjectDataProfile()

    public abstract String getProjectDataProfile()

The resource name of the project data profile for this file store.

`string project_data_profile = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The projectDataProfile. |

### getProjectDataProfileBytes()

    public abstract ByteString getProjectDataProfileBytes()

The resource name of the project data profile for this file store.

`string project_data_profile = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for projectDataProfile. |

### getProjectId()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The projectId. |

### getProjectIdBytes()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for projectId. |

### getRelatedResources(int index)

    public abstract RelatedResource getRelatedResources(int index)

Resources related to this profile.

`repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.RelatedResource` |   |

### getRelatedResourcesCount()

    public abstract int getRelatedResourcesCount()

Resources related to this profile.

`repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getRelatedResourcesList()

    public abstract List<RelatedResource> getRelatedResourcesList()

Resources related to this profile.

`repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.RelatedResource>` |   |

### getRelatedResourcesOrBuilder(int index)

    public abstract RelatedResourceOrBuilder getRelatedResourcesOrBuilder(int index)

Resources related to this profile.

`repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.RelatedResourceOrBuilder` |   |

### getRelatedResourcesOrBuilderList()

    public abstract List<? extends RelatedResourceOrBuilder> getRelatedResourcesOrBuilderList()

Resources related to this profile.

`repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.privacy.dlp.v2.RelatedResourceOrBuilder>` |   |

### getResourceAttributes() (deprecated)

    public abstract Map<String,Value> getResourceAttributes()

Use [#getResourceAttributesMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileStoreDataProfileOrBuilder#com_google_privacy_dlp_v2_FileStoreDataProfileOrBuilder_getResourceAttributesMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Value>` |   |

### getResourceAttributesCount()

    public abstract int getResourceAttributesCount()

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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getResourceAttributesMap()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Value>` |   |

### getResourceAttributesOrDefault(String key, Value defaultValue)

    public abstract 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;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Value` |   |

### getResourceAttributesOrThrow(String key)

    public abstract 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;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Value` |   |

### getResourceLabels() (deprecated)

    public abstract Map<String,String> getResourceLabels()

Use [#getResourceLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileStoreDataProfileOrBuilder#com_google_privacy_dlp_v2_FileStoreDataProfileOrBuilder_getResourceLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getResourceLabelsCount()

    public abstract int getResourceLabelsCount()

The labels applied to the resource at the time the profile was generated.

`map<string, string> resource_labels = 18;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getResourceLabelsMap()

    public abstract Map<String,String> getResourceLabelsMap()

The labels applied to the resource at the time the profile was generated.

`map<string, string> resource_labels = 18;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getResourceLabelsOrDefault(String key, String defaultValue)

    public abstract 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;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getResourceLabelsOrThrow(String key)

    public abstract String getResourceLabelsOrThrow(String key)

The labels applied to the resource at the time the profile was generated.

`map<string, string> resource_labels = 18;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getResourceVisibility()

    public abstract ResourceVisibility getResourceVisibility()

How broadly a resource has been shared.

`.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.ResourceVisibility` | The resourceVisibility. |

### getResourceVisibilityValue()

    public abstract int getResourceVisibilityValue()

How broadly a resource has been shared.

`.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for resourceVisibility. |

### getSampleFindingsTable()

    public abstract BigQueryTable getSampleFindingsTable()

The BigQuery table to which the sample findings are written.

`.google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.BigQueryTable` | The sampleFindingsTable. |

### getSampleFindingsTableOrBuilder()

    public abstract BigQueryTableOrBuilder getSampleFindingsTableOrBuilder()

The BigQuery table to which the sample findings are written.

`.google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.BigQueryTableOrBuilder` |   |

### getSensitivityScore()

    public abstract SensitivityScore getSensitivityScore()

The sensitivity score of this resource.

`.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.SensitivityScore` | The sensitivityScore. |

### getSensitivityScoreOrBuilder()

    public abstract SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this resource.

`.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.SensitivityScoreOrBuilder` |   |

### getState()

    public abstract FileStoreDataProfile.State getState()

State of a profile.

`.google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.FileStoreDataProfile.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

State of a profile.

`.google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### getTags(int index)

    public abstract Tag getTags(int index)

The tags attached to the resource, including any tags attached during
profiling.

`repeated .google.privacy.dlp.v2.Tag tags = 25;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Tag` |   |

### getTagsCount()

    public abstract int getTagsCount()

The tags attached to the resource, including any tags attached during
profiling.

`repeated .google.privacy.dlp.v2.Tag tags = 25;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getTagsList()

    public abstract List<Tag> getTagsList()

The tags attached to the resource, including any tags attached during
profiling.

`repeated .google.privacy.dlp.v2.Tag tags = 25;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.Tag>` |   |

### getTagsOrBuilder(int index)

    public abstract TagOrBuilder getTagsOrBuilder(int index)

The tags attached to the resource, including any tags attached during
profiling.

`repeated .google.privacy.dlp.v2.Tag tags = 25;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dlp/latest/com.google.privacy.dlp.v2.TagOrBuilder` |   |

### getTagsOrBuilderList()

    public abstract List<? extends TagOrBuilder> getTagsOrBuilderList()

The tags attached to the resource, including any tags attached during
profiling.

`repeated .google.privacy.dlp.v2.Tag tags = 25;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.privacy.dlp.v2.TagOrBuilder>` |   |

### hasConfigSnapshot()

    public abstract boolean hasConfigSnapshot()

The snapshot of the configurations used to generate the profile.

`.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the configSnapshot field is set. |

### hasCreateTime()

    public abstract boolean hasCreateTime()

The time the file store was first created.

`.google.protobuf.Timestamp create_time = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the createTime field is set. |

### hasDataRiskLevel()

    public abstract boolean hasDataRiskLevel()

The data risk level of this resource.

`.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the dataRiskLevel field is set. |

### hasDataSourceType()

    public abstract boolean hasDataSourceType()

The resource type that was profiled.

`.google.privacy.dlp.v2.DataSourceType data_source_type = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the dataSourceType field is set. |

### hasLastModifiedTime()

    public abstract boolean hasLastModifiedTime()

The time the file store was last modified.

`.google.protobuf.Timestamp last_modified_time = 15;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the lastModifiedTime field is set. |

### hasProfileLastGenerated()

    public abstract boolean hasProfileLastGenerated()

The last time the profile was generated.

`.google.protobuf.Timestamp profile_last_generated = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the profileLastGenerated field is set. |

### hasProfileStatus()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the profileStatus field is set. |

### hasSampleFindingsTable()

    public abstract boolean hasSampleFindingsTable()

The BigQuery table to which the sample findings are written.

`.google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sampleFindingsTable field is set. |

### hasSensitivityScore()

    public abstract boolean hasSensitivityScore()

The sensitivity score of this resource.

`.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sensitivityScore field is set. |