Package com.google.privacy.dlp.v2
Interface FileStoreDataProfileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FileStoreDataProfile,FileStoreDataProfile.Builder
@Generated
public interface FileStoreDataProfileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAttributes of the resource being profiled.booleanThe labels applied to the resource at the time the profile was generated.The snapshot of the configurations used to generate the profile.The snapshot of the configurations used to generate the profile.com.google.protobuf.TimestampThe time the file store was first created.com.google.protobuf.TimestampOrBuilderThe time the file store was first created.The data risk level of this resource.The data risk level of this resource.The resource type that was profiled.The resource type that was profiled.getDataStorageLocations(int index) For resources that have multiple storage locations, these are those regions.com.google.protobuf.ByteStringgetDataStorageLocationsBytes(int index) For resources that have multiple storage locations, these are those regions.intFor resources that have multiple storage locations, these are those regions.For resources that have multiple storage locations, these are those regions.getDomains(int index) Domains associated with the profile.intDomains associated with the profile.Domains associated with the profile.getDomainsOrBuilder(int index) Domains associated with the profile.List<? extends DomainOrBuilder>Domains associated with the profile.getFileClusterSummaries(int index) FileClusterSummary per each cluster.intFileClusterSummary per each cluster.FileClusterSummary per each cluster.getFileClusterSummariesOrBuilder(int index) FileClusterSummary per each cluster.List<? extends FileClusterSummaryOrBuilder>FileClusterSummary per each cluster.getFileStoreInfoTypeSummaries(int index) InfoTypes detected in this file store.intInfoTypes detected in this file store.InfoTypes detected in this file store.getFileStoreInfoTypeSummariesOrBuilder(int index) InfoTypes detected in this file store.List<? extends FileStoreInfoTypeSummaryOrBuilder>InfoTypes detected in this file store.booleanThe file store does not have any files.The location of the file storecom.google.protobuf.ByteStringThe location of the file storeThe file store pathcom.google.protobuf.ByteStringThe file store pathThe resource name of the resource profiled.com.google.protobuf.ByteStringThe resource name of the resource profiled.com.google.protobuf.TimestampThe time the file store was last modified.com.google.protobuf.TimestampOrBuilderThe time the file store was last modified.The location type of the file store (region, dual-region, multi-region, etc).com.google.protobuf.ByteStringThe location type of the file store (region, dual-region, multi-region, etc).getName()The name of the profile.com.google.protobuf.ByteStringThe name of the profile.com.google.protobuf.TimestampThe last time the profile was generated.com.google.protobuf.TimestampOrBuilderThe last time the profile was generated.Success or error status from the most recent profile generation attempt.Success or error status from the most recent profile generation attempt.The resource name of the project data profile for this file store.com.google.protobuf.ByteStringThe resource name of the project data profile for this file store.The Google Cloud project ID that owns the resource.com.google.protobuf.ByteStringThe Google Cloud project ID that owns the resource.getRelatedResources(int index) Resources related to this profile.intResources related to this profile.Resources related to this profile.getRelatedResourcesOrBuilder(int index) Resources related to this profile.List<? extends RelatedResourceOrBuilder>Resources related to this profile.Deprecated.intAttributes of the resource being profiled.Attributes of the resource being profiled.getResourceAttributesOrDefault(String key, Value defaultValue) Attributes of the resource being profiled.Attributes of the resource being profiled.Deprecated.intThe labels applied to the resource at the time the profile was generated.The labels applied to the resource at the time the profile was generated.getResourceLabelsOrDefault(String key, String defaultValue) The labels applied to the resource at the time the profile was generated.The labels applied to the resource at the time the profile was generated.How broadly a resource has been shared.intHow broadly a resource has been shared.The BigQuery table to which the sample findings are written.The BigQuery table to which the sample findings are written.The sensitivity score of this resource.The sensitivity score of this resource.getState()State of a profile.intState of a profile.getTags(int index) The tags attached to the resource, including any tags attached during profiling.intThe tags attached to the resource, including any tags attached during profiling.The tags attached to the resource, including any tags attached during profiling.getTagsOrBuilder(int index) The tags attached to the resource, including any tags attached during profiling.List<? extends TagOrBuilder>The tags attached to the resource, including any tags attached during profiling.booleanThe snapshot of the configurations used to generate the profile.booleanThe time the file store was first created.booleanThe data risk level of this resource.booleanThe resource type that was profiled.booleanThe time the file store was last modified.booleanThe last time the profile was generated.booleanSuccess or error status from the most recent profile generation attempt.booleanThe BigQuery table to which the sample findings are written.booleanThe sensitivity score of this resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the profile.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the profile.
string name = 1;- Returns:
- The bytes for name.
-
hasDataSourceType
boolean hasDataSourceType()The resource type that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 2;- Returns:
- Whether the dataSourceType field is set.
-
getDataSourceType
DataSourceType getDataSourceType()The resource type that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 2;- Returns:
- The dataSourceType.
-
getDataSourceTypeOrBuilder
DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()The resource type that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 2; -
getProjectDataProfile
String getProjectDataProfile()The resource name of the project data profile for this file store.
string project_data_profile = 3;- Returns:
- The projectDataProfile.
-
getProjectDataProfileBytes
com.google.protobuf.ByteString getProjectDataProfileBytes()The resource name of the project data profile for this file store.
string project_data_profile = 3;- Returns:
- The bytes for projectDataProfile.
-
getProjectId
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:
- The projectId.
-
getProjectIdBytes
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;- Returns:
- The bytes for projectId.
-
getFileStoreLocation
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:
- The fileStoreLocation.
-
getFileStoreLocationBytes
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;- Returns:
- The bytes for fileStoreLocation.
-
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:
- A list containing the dataStorageLocations.
-
getDataStorageLocationsCount
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:
- The count of dataStorageLocations.
-
getDataStorageLocations
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;- Parameters:
index- The index of the element to return.- Returns:
- The dataStorageLocations at the given index.
-
getDataStorageLocationsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dataStorageLocations at the given index.
-
getLocationType
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:
- The locationType.
-
getLocationTypeBytes
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;- Returns:
- The bytes for locationType.
-
getFileStorePath
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:
- The fileStorePath.
-
getFileStorePathBytes
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;- Returns:
- The bytes for fileStorePath.
-
getFullResource
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:
- The fullResource.
-
getFullResourceBytes
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;- Returns:
- The bytes for fullResource.
-
hasConfigSnapshot
boolean hasConfigSnapshot()The snapshot of the configurations used to generate the profile.
.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;- Returns:
- Whether the configSnapshot field is set.
-
getConfigSnapshot
DataProfileConfigSnapshot getConfigSnapshot()The snapshot of the configurations used to generate the profile.
.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;- Returns:
- The configSnapshot.
-
getConfigSnapshotOrBuilder
DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder()The snapshot of the configurations used to generate the profile.
.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; -
hasProfileStatus
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:
- Whether the profileStatus field is set.
-
getProfileStatus
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:
- The profileStatus.
-
getProfileStatusOrBuilder
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; -
getStateValue
int getStateValue()State of a profile.
.google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;- Returns:
- The enum numeric value on the wire for state.
-
getState
FileStoreDataProfile.State getState()State of a profile.
.google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;- Returns:
- The state.
-
hasProfileLastGenerated
boolean hasProfileLastGenerated()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 10;- Returns:
- Whether the profileLastGenerated field is set.
-
getProfileLastGenerated
com.google.protobuf.Timestamp getProfileLastGenerated()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 10;- Returns:
- The profileLastGenerated.
-
getProfileLastGeneratedOrBuilder
com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 10; -
getResourceVisibilityValue
int getResourceVisibilityValue()How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;- Returns:
- The enum numeric value on the wire for resourceVisibility.
-
getResourceVisibility
ResourceVisibility getResourceVisibility()How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;- Returns:
- The resourceVisibility.
-
hasSensitivityScore
boolean hasSensitivityScore()The sensitivity score of this resource.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
SensitivityScore getSensitivityScore()The sensitivity score of this resource.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;- Returns:
- The sensitivityScore.
-
getSensitivityScoreOrBuilder
SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()The sensitivity score of this resource.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12; -
hasDataRiskLevel
boolean hasDataRiskLevel()The data risk level of this resource.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;- Returns:
- Whether the dataRiskLevel field is set.
-
getDataRiskLevel
DataRiskLevel getDataRiskLevel()The data risk level of this resource.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;- Returns:
- The dataRiskLevel.
-
getDataRiskLevelOrBuilder
DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()The data risk level of this resource.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13; -
hasCreateTime
boolean hasCreateTime()The time the file store was first created.
.google.protobuf.Timestamp create_time = 14;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time the file store was first created.
.google.protobuf.Timestamp create_time = 14;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time the file store was first created.
.google.protobuf.Timestamp create_time = 14; -
hasLastModifiedTime
boolean hasLastModifiedTime()The time the file store was last modified.
.google.protobuf.Timestamp last_modified_time = 15;- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
com.google.protobuf.Timestamp getLastModifiedTime()The time the file store was last modified.
.google.protobuf.Timestamp last_modified_time = 15;- Returns:
- The lastModifiedTime.
-
getLastModifiedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()The time the file store was last modified.
.google.protobuf.Timestamp last_modified_time = 15; -
getFileClusterSummariesList
List<FileClusterSummary> getFileClusterSummariesList()FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; -
getFileClusterSummaries
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; -
getFileClusterSummariesCount
int getFileClusterSummariesCount()FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; -
getFileClusterSummariesOrBuilderList
List<? extends FileClusterSummaryOrBuilder> getFileClusterSummariesOrBuilderList()FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; -
getFileClusterSummariesOrBuilder
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; -
getResourceAttributesCount
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; -
containsResourceAttributes
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; -
getResourceAttributes
Deprecated.UsegetResourceAttributesMap()instead. -
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; -
getResourceAttributesOrDefault
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; -
getResourceAttributesOrThrow
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; -
getResourceLabelsCount
int getResourceLabelsCount()The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18; -
containsResourceLabels
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18; -
getResourceLabels
Deprecated.UsegetResourceLabelsMap()instead. -
getResourceLabelsMap
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18; -
getResourceLabelsOrDefault
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18; -
getResourceLabelsOrThrow
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18; -
getFileStoreInfoTypeSummariesList
List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; -
getFileStoreInfoTypeSummaries
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; -
getFileStoreInfoTypeSummariesCount
int getFileStoreInfoTypeSummariesCount()InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; -
getFileStoreInfoTypeSummariesOrBuilderList
List<? extends FileStoreInfoTypeSummaryOrBuilder> getFileStoreInfoTypeSummariesOrBuilderList()InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; -
getFileStoreInfoTypeSummariesOrBuilder
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; -
hasSampleFindingsTable
boolean hasSampleFindingsTable()The BigQuery table to which the sample findings are written.
.google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;- Returns:
- Whether the sampleFindingsTable field is set.
-
getSampleFindingsTable
BigQueryTable getSampleFindingsTable()The BigQuery table to which the sample findings are written.
.google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22;- Returns:
- The sampleFindingsTable.
-
getSampleFindingsTableOrBuilder
BigQueryTableOrBuilder getSampleFindingsTableOrBuilder()The BigQuery table to which the sample findings are written.
.google.privacy.dlp.v2.BigQueryTable sample_findings_table = 22; -
getFileStoreIsEmpty
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:
- The fileStoreIsEmpty.
-
getTagsList
The tags attached to the resource, including any tags attached during profiling.
repeated .google.privacy.dlp.v2.Tag tags = 25; -
getTags
The tags attached to the resource, including any tags attached during profiling.
repeated .google.privacy.dlp.v2.Tag tags = 25; -
getTagsCount
int getTagsCount()The tags attached to the resource, including any tags attached during profiling.
repeated .google.privacy.dlp.v2.Tag tags = 25; -
getTagsOrBuilderList
List<? extends TagOrBuilder> getTagsOrBuilderList()The tags attached to the resource, including any tags attached during profiling.
repeated .google.privacy.dlp.v2.Tag tags = 25; -
getTagsOrBuilder
The tags attached to the resource, including any tags attached during profiling.
repeated .google.privacy.dlp.v2.Tag tags = 25; -
getRelatedResourcesList
List<RelatedResource> getRelatedResourcesList()Resources related to this profile.
repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; -
getRelatedResources
Resources related to this profile.
repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; -
getRelatedResourcesCount
int getRelatedResourcesCount()Resources related to this profile.
repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; -
getRelatedResourcesOrBuilderList
List<? extends RelatedResourceOrBuilder> getRelatedResourcesOrBuilderList()Resources related to this profile.
repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; -
getRelatedResourcesOrBuilder
Resources related to this profile.
repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; -
getDomainsList
Domains associated with the profile.
repeated .google.privacy.dlp.v2.Domain domains = 27; -
getDomains
Domains associated with the profile.
repeated .google.privacy.dlp.v2.Domain domains = 27; -
getDomainsCount
int getDomainsCount()Domains associated with the profile.
repeated .google.privacy.dlp.v2.Domain domains = 27; -
getDomainsOrBuilderList
List<? extends DomainOrBuilder> getDomainsOrBuilderList()Domains associated with the profile.
repeated .google.privacy.dlp.v2.Domain domains = 27; -
getDomainsOrBuilder
Domains associated with the profile.
repeated .google.privacy.dlp.v2.Domain domains = 27;
-