Class FileStoreDataProfile.Builder (3.59.0)

public static final class FileStoreDataProfile.Builder extends GeneratedMessageV3.Builder<FileStoreDataProfile.Builder> 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDataStorageLocations(Iterable<String> values)

public FileStoreDataProfile.Builder addAllDataStorageLocations(Iterable<String> values)

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
values Iterable<String>

The dataStorageLocations to add.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

addAllFileClusterSummaries(Iterable<? extends FileClusterSummary> values)

public FileStoreDataProfile.Builder addAllFileClusterSummaries(Iterable<? extends FileClusterSummary> values)

FileClusterSummary per each cluster.

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

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FileClusterSummary>
Returns
Type Description
FileStoreDataProfile.Builder

addAllFileStoreInfoTypeSummaries(Iterable<? extends FileStoreInfoTypeSummary> values)

public FileStoreDataProfile.Builder addAllFileStoreInfoTypeSummaries(Iterable<? extends FileStoreInfoTypeSummary> values)

InfoTypes detected in this file store.

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

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FileStoreInfoTypeSummary>
Returns
Type Description
FileStoreDataProfile.Builder

addDataStorageLocations(String value)

public FileStoreDataProfile.Builder addDataStorageLocations(String value)

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
value String

The dataStorageLocations to add.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

addDataStorageLocationsBytes(ByteString value)

public FileStoreDataProfile.Builder addDataStorageLocationsBytes(ByteString value)

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
value ByteString

The bytes of the dataStorageLocations to add.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

addFileClusterSummaries(FileClusterSummary value)

public FileStoreDataProfile.Builder addFileClusterSummaries(FileClusterSummary value)

FileClusterSummary per each cluster.

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

Parameter
Name Description
value FileClusterSummary
Returns
Type Description
FileStoreDataProfile.Builder

addFileClusterSummaries(FileClusterSummary.Builder builderForValue)

public FileStoreDataProfile.Builder addFileClusterSummaries(FileClusterSummary.Builder builderForValue)

FileClusterSummary per each cluster.

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

Parameter
Name Description
builderForValue FileClusterSummary.Builder
Returns
Type Description
FileStoreDataProfile.Builder

addFileClusterSummaries(int index, FileClusterSummary value)

public FileStoreDataProfile.Builder addFileClusterSummaries(int index, FileClusterSummary value)

FileClusterSummary per each cluster.

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

Parameters
Name Description
index int
value FileClusterSummary
Returns
Type Description
FileStoreDataProfile.Builder

addFileClusterSummaries(int index, FileClusterSummary.Builder builderForValue)

public FileStoreDataProfile.Builder addFileClusterSummaries(int index, FileClusterSummary.Builder builderForValue)

FileClusterSummary per each cluster.

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

Parameters
Name Description
index int
builderForValue FileClusterSummary.Builder
Returns
Type Description
FileStoreDataProfile.Builder

addFileClusterSummariesBuilder()

public FileClusterSummary.Builder addFileClusterSummariesBuilder()

FileClusterSummary per each cluster.

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

Returns
Type Description
FileClusterSummary.Builder

addFileClusterSummariesBuilder(int index)

public FileClusterSummary.Builder addFileClusterSummariesBuilder(int index)

FileClusterSummary per each cluster.

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

Parameter
Name Description
index int
Returns
Type Description
FileClusterSummary.Builder

addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary value)

public FileStoreDataProfile.Builder addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary value)

InfoTypes detected in this file store.

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

Parameter
Name Description
value FileStoreInfoTypeSummary
Returns
Type Description
FileStoreDataProfile.Builder

addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary.Builder builderForValue)

public FileStoreDataProfile.Builder addFileStoreInfoTypeSummaries(FileStoreInfoTypeSummary.Builder builderForValue)

InfoTypes detected in this file store.

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

Parameter
Name Description
builderForValue FileStoreInfoTypeSummary.Builder
Returns
Type Description
FileStoreDataProfile.Builder

addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

public FileStoreDataProfile.Builder addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

InfoTypes detected in this file store.

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

Parameters
Name Description
index int
value FileStoreInfoTypeSummary
Returns
Type Description
FileStoreDataProfile.Builder

addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

public FileStoreDataProfile.Builder addFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

InfoTypes detected in this file store.

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

Parameters
Name Description
index int
builderForValue FileStoreInfoTypeSummary.Builder
Returns
Type Description
FileStoreDataProfile.Builder

addFileStoreInfoTypeSummariesBuilder()

public FileStoreInfoTypeSummary.Builder addFileStoreInfoTypeSummariesBuilder()

InfoTypes detected in this file store.

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

Returns
Type Description
FileStoreInfoTypeSummary.Builder

addFileStoreInfoTypeSummariesBuilder(int index)

public FileStoreInfoTypeSummary.Builder addFileStoreInfoTypeSummariesBuilder(int index)

InfoTypes detected in this file store.

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

Parameter
Name Description
index int
Returns
Type Description
FileStoreInfoTypeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FileStoreDataProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

build()

public FileStoreDataProfile build()
Returns
Type Description
FileStoreDataProfile

buildPartial()

public FileStoreDataProfile buildPartial()
Returns
Type Description
FileStoreDataProfile

clear()

public FileStoreDataProfile.Builder clear()
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

clearConfigSnapshot()

public FileStoreDataProfile.Builder clearConfigSnapshot()

The snapshot of the configurations used to generate the profile.

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

Returns
Type Description
FileStoreDataProfile.Builder

clearCreateTime()

public FileStoreDataProfile.Builder clearCreateTime()

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
FileStoreDataProfile.Builder

clearDataRiskLevel()

public FileStoreDataProfile.Builder clearDataRiskLevel()

The data risk level of this resource.

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

Returns
Type Description
FileStoreDataProfile.Builder

clearDataSourceType()

public FileStoreDataProfile.Builder clearDataSourceType()

The resource type that was profiled.

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

Returns
Type Description
FileStoreDataProfile.Builder

clearDataStorageLocations()

public FileStoreDataProfile.Builder clearDataStorageLocations()

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
FileStoreDataProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FileStoreDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

clearFileClusterSummaries()

public FileStoreDataProfile.Builder clearFileClusterSummaries()

FileClusterSummary per each cluster.

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

Returns
Type Description
FileStoreDataProfile.Builder

clearFileStoreInfoTypeSummaries()

public FileStoreDataProfile.Builder clearFileStoreInfoTypeSummaries()

InfoTypes detected in this file store.

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

Returns
Type Description
FileStoreDataProfile.Builder

clearFileStoreIsEmpty()

public FileStoreDataProfile.Builder clearFileStoreIsEmpty()

The file store does not have any files.

bool file_store_is_empty = 23;

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearFileStoreLocation()

public FileStoreDataProfile.Builder clearFileStoreLocation()
Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearFileStorePath()

public FileStoreDataProfile.Builder clearFileStorePath()

The file store path.

  • Cloud Storage: gs://{bucket}
  • Amazon S3: s3://{bucket}

string file_store_path = 6;

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearFullResource()

public FileStoreDataProfile.Builder clearFullResource()

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
FileStoreDataProfile.Builder

This builder for chaining.

clearLastModifiedTime()

public FileStoreDataProfile.Builder clearLastModifiedTime()

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Returns
Type Description
FileStoreDataProfile.Builder

clearLocationType()

public FileStoreDataProfile.Builder clearLocationType()

The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

string location_type = 20;

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearName()

public FileStoreDataProfile.Builder clearName()

The name of the profile.

string name = 1;

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FileStoreDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

clearProfileLastGenerated()

public FileStoreDataProfile.Builder clearProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Returns
Type Description
FileStoreDataProfile.Builder

clearProfileStatus()

public FileStoreDataProfile.Builder clearProfileStatus()

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
FileStoreDataProfile.Builder

clearProjectDataProfile()

public FileStoreDataProfile.Builder clearProjectDataProfile()

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

string project_data_profile = 3;

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearProjectId()

public FileStoreDataProfile.Builder clearProjectId()

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
FileStoreDataProfile.Builder

This builder for chaining.

clearResourceAttributes()

public FileStoreDataProfile.Builder clearResourceAttributes()
Returns
Type Description
FileStoreDataProfile.Builder

clearResourceLabels()

public FileStoreDataProfile.Builder clearResourceLabels()
Returns
Type Description
FileStoreDataProfile.Builder

clearResourceVisibility()

public FileStoreDataProfile.Builder clearResourceVisibility()

How broadly a resource has been shared.

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

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clearSensitivityScore()

public FileStoreDataProfile.Builder clearSensitivityScore()

The sensitivity score of this resource.

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

Returns
Type Description
FileStoreDataProfile.Builder

clearState()

public FileStoreDataProfile.Builder clearState()

State of a profile.

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

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

clone()

public FileStoreDataProfile.Builder clone()
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

containsResourceAttributes(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsResourceLabels(String key)

public 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 String
Returns
Type Description
boolean

getConfigSnapshot()

public DataProfileConfigSnapshot getConfigSnapshot()

The snapshot of the configurations used to generate the profile.

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

Returns
Type Description
DataProfileConfigSnapshot

The configSnapshot.

getConfigSnapshotBuilder()

public DataProfileConfigSnapshot.Builder getConfigSnapshotBuilder()

The snapshot of the configurations used to generate the profile.

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

Returns
Type Description
DataProfileConfigSnapshot.Builder

getConfigSnapshotOrBuilder()

public DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder()

The snapshot of the configurations used to generate the profile.

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

Returns
Type Description
DataProfileConfigSnapshotOrBuilder

getCreateTime()

public Timestamp getCreateTime()

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
TimestampOrBuilder

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level of this resource.

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

Returns
Type Description
DataRiskLevel

The dataRiskLevel.

getDataRiskLevelBuilder()

public DataRiskLevel.Builder getDataRiskLevelBuilder()

The data risk level of this resource.

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

Returns
Type Description
DataRiskLevel.Builder

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this resource.

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

Returns
Type Description
DataRiskLevelOrBuilder

getDataSourceType()

public DataSourceType getDataSourceType()

The resource type that was profiled.

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

Returns
Type Description
DataSourceType

The dataSourceType.

getDataSourceTypeBuilder()

public DataSourceType.Builder getDataSourceTypeBuilder()

The resource type that was profiled.

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

Returns
Type Description
DataSourceType.Builder

getDataSourceTypeOrBuilder()

public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()

The resource type that was profiled.

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

Returns
Type Description
DataSourceTypeOrBuilder

getDataStorageLocations(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataStorageLocations at the given index.

getDataStorageLocationsBytes(int index)

public 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataStorageLocations at the given index.

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;

Returns
Type Description
int

The count of dataStorageLocations.

getDataStorageLocationsList()

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

Returns
Type Description
ProtocolStringList

A list containing the dataStorageLocations.

getDefaultInstanceForType()

public FileStoreDataProfile getDefaultInstanceForType()
Returns
Type Description
FileStoreDataProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFileClusterSummaries(int index)

public FileClusterSummary getFileClusterSummaries(int index)

FileClusterSummary per each cluster.

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

Parameter
Name Description
index int
Returns
Type Description
FileClusterSummary

getFileClusterSummariesBuilder(int index)

public FileClusterSummary.Builder getFileClusterSummariesBuilder(int index)

FileClusterSummary per each cluster.

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

Parameter
Name Description
index int
Returns
Type Description
FileClusterSummary.Builder

getFileClusterSummariesBuilderList()

public List<FileClusterSummary.Builder> getFileClusterSummariesBuilderList()

FileClusterSummary per each cluster.

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

Returns
Type Description
List<Builder>

getFileClusterSummariesCount()

public int getFileClusterSummariesCount()

FileClusterSummary per each cluster.

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

Returns
Type Description
int

getFileClusterSummariesList()

public List<FileClusterSummary> getFileClusterSummariesList()

FileClusterSummary per each cluster.

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

Returns
Type Description
List<FileClusterSummary>

getFileClusterSummariesOrBuilder(int index)

public FileClusterSummaryOrBuilder getFileClusterSummariesOrBuilder(int index)

FileClusterSummary per each cluster.

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

Parameter
Name Description
index int
Returns
Type Description
FileClusterSummaryOrBuilder

getFileClusterSummariesOrBuilderList()

public List<? extends FileClusterSummaryOrBuilder> getFileClusterSummariesOrBuilderList()

FileClusterSummary per each cluster.

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

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FileClusterSummaryOrBuilder>

getFileStoreInfoTypeSummaries(int index)

public 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 int
Returns
Type Description
FileStoreInfoTypeSummary

getFileStoreInfoTypeSummariesBuilder(int index)

public FileStoreInfoTypeSummary.Builder getFileStoreInfoTypeSummariesBuilder(int index)

InfoTypes detected in this file store.

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

Parameter
Name Description
index int
Returns
Type Description
FileStoreInfoTypeSummary.Builder

getFileStoreInfoTypeSummariesBuilderList()

public List<FileStoreInfoTypeSummary.Builder> getFileStoreInfoTypeSummariesBuilderList()

InfoTypes detected in this file store.

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

Returns
Type Description
List<Builder>

getFileStoreInfoTypeSummariesCount()

public int getFileStoreInfoTypeSummariesCount()

InfoTypes detected in this file store.

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

Returns
Type Description
int

getFileStoreInfoTypeSummariesList()

public List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()

InfoTypes detected in this file store.

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

Returns
Type Description
List<FileStoreInfoTypeSummary>

getFileStoreInfoTypeSummariesOrBuilder(int index)

public 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 int
Returns
Type Description
FileStoreInfoTypeSummaryOrBuilder

getFileStoreInfoTypeSummariesOrBuilderList()

public 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
List<? extends com.google.privacy.dlp.v2.FileStoreInfoTypeSummaryOrBuilder>

getFileStoreIsEmpty()

public boolean getFileStoreIsEmpty()

The file store does not have any files.

bool file_store_is_empty = 23;

Returns
Type Description
boolean

The fileStoreIsEmpty.

getFileStoreLocation()

public String getFileStoreLocation()
Returns
Type Description
String

The fileStoreLocation.

getFileStoreLocationBytes()

public ByteString getFileStoreLocationBytes()
Returns
Type Description
ByteString

The bytes for fileStoreLocation.

getFileStorePath()

public String getFileStorePath()

The file store path.

  • Cloud Storage: gs://{bucket}
  • Amazon S3: s3://{bucket}

string file_store_path = 6;

Returns
Type Description
String

The fileStorePath.

getFileStorePathBytes()

public ByteString getFileStorePathBytes()

The file store path.

  • Cloud Storage: gs://{bucket}
  • Amazon S3: s3://{bucket}

string file_store_path = 6;

Returns
Type Description
ByteString

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;

Returns
Type Description
String

The fullResource.

getFullResourceBytes()

public 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
ByteString

The bytes for fullResource.

getLastModifiedTime()

public Timestamp getLastModifiedTime()

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Returns
Type Description
Timestamp

The lastModifiedTime.

getLastModifiedTimeBuilder()

public Timestamp.Builder getLastModifiedTimeBuilder()

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Returns
Type Description
Builder

getLastModifiedTimeOrBuilder()

public TimestampOrBuilder getLastModifiedTimeOrBuilder()

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Returns
Type Description
TimestampOrBuilder

getLocationType()

public String getLocationType()

The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

string location_type = 20;

Returns
Type Description
String

The locationType.

getLocationTypeBytes()

public ByteString getLocationTypeBytes()

The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

string location_type = 20;

Returns
Type Description
ByteString

The bytes for locationType.

getMutableResourceAttributes() (deprecated)

public Map<String,Value> getMutableResourceAttributes()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Value>

getMutableResourceLabels() (deprecated)

public Map<String,String> getMutableResourceLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

The name of the profile.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the profile.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getProfileLastGenerated()

public Timestamp getProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Returns
Type Description
Timestamp

The profileLastGenerated.

getProfileLastGeneratedBuilder()

public Timestamp.Builder getProfileLastGeneratedBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Returns
Type Description
Builder

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Returns
Type Description
TimestampOrBuilder

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;

Returns
Type Description
ProfileStatus

The profileStatus.

getProfileStatusBuilder()

public ProfileStatus.Builder getProfileStatusBuilder()

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
ProfileStatus.Builder

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;

Returns
Type Description
ProfileStatusOrBuilder

getProjectDataProfile()

public String getProjectDataProfile()

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

string project_data_profile = 3;

Returns
Type Description
String

The projectDataProfile.

getProjectDataProfileBytes()

public ByteString getProjectDataProfileBytes()

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

string project_data_profile = 3;

Returns
Type Description
ByteString

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;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public 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
ByteString

The bytes for projectId.

getResourceAttributes() (deprecated)

public Map<String,Value> getResourceAttributes()
Returns
Type Description
Map<String,Value>

getResourceAttributesCount()

public 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
int

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;

Returns
Type Description
Map<String,Value>

getResourceAttributesOrDefault(String key, Value defaultValue)

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;

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getResourceAttributesOrThrow(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
Value

getResourceLabels() (deprecated)

public Map<String,String> getResourceLabels()
Returns
Type Description
Map<String,String>

getResourceLabelsCount()

public int getResourceLabelsCount()

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

map<string, string> resource_labels = 18;

Returns
Type Description
int

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;

Returns
Type Description
Map<String,String>

getResourceLabelsOrDefault(String key, String defaultValue)

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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getResourceLabelsOrThrow(String key)

public 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 String
Returns
Type Description
String

getResourceVisibility()

public ResourceVisibility getResourceVisibility()

How broadly a resource has been shared.

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

Returns
Type Description
ResourceVisibility

The resourceVisibility.

getResourceVisibilityValue()

public int getResourceVisibilityValue()

How broadly a resource has been shared.

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

Returns
Type Description
int

The enum numeric value on the wire for resourceVisibility.

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity score of this resource.

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

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

The sensitivity score of this resource.

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

Returns
Type Description
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this resource.

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

Returns
Type Description
SensitivityScoreOrBuilder

getState()

public FileStoreDataProfile.State getState()

State of a profile.

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

Returns
Type Description
FileStoreDataProfile.State

The state.

getStateValue()

public int getStateValue()

State of a profile.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

hasConfigSnapshot()

public boolean hasConfigSnapshot()

The snapshot of the configurations used to generate the profile.

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

Returns
Type Description
boolean

Whether the configSnapshot field is set.

hasCreateTime()

public boolean hasCreateTime()

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDataRiskLevel()

public boolean hasDataRiskLevel()

The data risk level of this resource.

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

Returns
Type Description
boolean

Whether the dataRiskLevel field is set.

hasDataSourceType()

public boolean hasDataSourceType()

The resource type that was profiled.

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

Returns
Type Description
boolean

Whether the dataSourceType field is set.

hasLastModifiedTime()

public boolean hasLastModifiedTime()

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Returns
Type Description
boolean

Whether the lastModifiedTime field is set.

hasProfileLastGenerated()

public boolean hasProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Returns
Type Description
boolean

Whether the profileLastGenerated field is set.

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;

Returns
Type Description
boolean

Whether the profileStatus field is set.

hasSensitivityScore()

public boolean hasSensitivityScore()

The sensitivity score of this resource.

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

Returns
Type Description
boolean

Whether the sensitivityScore field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfigSnapshot(DataProfileConfigSnapshot value)

public FileStoreDataProfile.Builder mergeConfigSnapshot(DataProfileConfigSnapshot value)

The snapshot of the configurations used to generate the profile.

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

Parameter
Name Description
value DataProfileConfigSnapshot
Returns
Type Description
FileStoreDataProfile.Builder

mergeCreateTime(Timestamp value)

public FileStoreDataProfile.Builder mergeCreateTime(Timestamp value)

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Parameter
Name Description
value Timestamp
Returns
Type Description
FileStoreDataProfile.Builder

mergeDataRiskLevel(DataRiskLevel value)

public FileStoreDataProfile.Builder mergeDataRiskLevel(DataRiskLevel value)

The data risk level of this resource.

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
FileStoreDataProfile.Builder

mergeDataSourceType(DataSourceType value)

public FileStoreDataProfile.Builder mergeDataSourceType(DataSourceType value)

The resource type that was profiled.

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

Parameter
Name Description
value DataSourceType
Returns
Type Description
FileStoreDataProfile.Builder

mergeFrom(FileStoreDataProfile other)

public FileStoreDataProfile.Builder mergeFrom(FileStoreDataProfile other)
Parameter
Name Description
other FileStoreDataProfile
Returns
Type Description
FileStoreDataProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FileStoreDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileStoreDataProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FileStoreDataProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

mergeLastModifiedTime(Timestamp value)

public FileStoreDataProfile.Builder mergeLastModifiedTime(Timestamp value)

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Parameter
Name Description
value Timestamp
Returns
Type Description
FileStoreDataProfile.Builder

mergeProfileLastGenerated(Timestamp value)

public FileStoreDataProfile.Builder mergeProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
FileStoreDataProfile.Builder

mergeProfileStatus(ProfileStatus value)

public FileStoreDataProfile.Builder mergeProfileStatus(ProfileStatus value)

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;

Parameter
Name Description
value ProfileStatus
Returns
Type Description
FileStoreDataProfile.Builder

mergeSensitivityScore(SensitivityScore value)

public FileStoreDataProfile.Builder mergeSensitivityScore(SensitivityScore value)

The sensitivity score of this resource.

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

Parameter
Name Description
value SensitivityScore
Returns
Type Description
FileStoreDataProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FileStoreDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

putAllResourceAttributes(Map<String,Value> values)

public FileStoreDataProfile.Builder putAllResourceAttributes(Map<String,Value> values)

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
values Map<String,Value>
Returns
Type Description
FileStoreDataProfile.Builder

putAllResourceLabels(Map<String,String> values)

public FileStoreDataProfile.Builder putAllResourceLabels(Map<String,String> values)

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

map<string, string> resource_labels = 18;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
FileStoreDataProfile.Builder

putResourceAttributes(String key, Value value)

public FileStoreDataProfile.Builder putResourceAttributes(String key, Value value)

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 String
value Value
Returns
Type Description
FileStoreDataProfile.Builder

putResourceAttributesBuilderIfAbsent(String key)

public Value.Builder putResourceAttributesBuilderIfAbsent(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 String
Returns
Type Description
Value.Builder

putResourceLabels(String key, String value)

public FileStoreDataProfile.Builder putResourceLabels(String key, String value)

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

map<string, string> resource_labels = 18;

Parameters
Name Description
key String
value String
Returns
Type Description
FileStoreDataProfile.Builder

removeFileClusterSummaries(int index)

public FileStoreDataProfile.Builder removeFileClusterSummaries(int index)

FileClusterSummary per each cluster.

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

Parameter
Name Description
index int
Returns
Type Description
FileStoreDataProfile.Builder

removeFileStoreInfoTypeSummaries(int index)

public FileStoreDataProfile.Builder removeFileStoreInfoTypeSummaries(int index)

InfoTypes detected in this file store.

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

Parameter
Name Description
index int
Returns
Type Description
FileStoreDataProfile.Builder

removeResourceAttributes(String key)

public FileStoreDataProfile.Builder removeResourceAttributes(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 String
Returns
Type Description
FileStoreDataProfile.Builder

removeResourceLabels(String key)

public FileStoreDataProfile.Builder removeResourceLabels(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 String
Returns
Type Description
FileStoreDataProfile.Builder

setConfigSnapshot(DataProfileConfigSnapshot value)

public FileStoreDataProfile.Builder setConfigSnapshot(DataProfileConfigSnapshot value)

The snapshot of the configurations used to generate the profile.

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

Parameter
Name Description
value DataProfileConfigSnapshot
Returns
Type Description
FileStoreDataProfile.Builder

setConfigSnapshot(DataProfileConfigSnapshot.Builder builderForValue)

public FileStoreDataProfile.Builder setConfigSnapshot(DataProfileConfigSnapshot.Builder builderForValue)

The snapshot of the configurations used to generate the profile.

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

Parameter
Name Description
builderForValue DataProfileConfigSnapshot.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setCreateTime(Timestamp value)

public FileStoreDataProfile.Builder setCreateTime(Timestamp value)

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Parameter
Name Description
value Timestamp
Returns
Type Description
FileStoreDataProfile.Builder

setCreateTime(Timestamp.Builder builderForValue)

public FileStoreDataProfile.Builder setCreateTime(Timestamp.Builder builderForValue)

The time the file store was first created.

.google.protobuf.Timestamp create_time = 14;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FileStoreDataProfile.Builder

setDataRiskLevel(DataRiskLevel value)

public FileStoreDataProfile.Builder setDataRiskLevel(DataRiskLevel value)

The data risk level of this resource.

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
FileStoreDataProfile.Builder

setDataRiskLevel(DataRiskLevel.Builder builderForValue)

public FileStoreDataProfile.Builder setDataRiskLevel(DataRiskLevel.Builder builderForValue)

The data risk level of this resource.

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

Parameter
Name Description
builderForValue DataRiskLevel.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setDataSourceType(DataSourceType value)

public FileStoreDataProfile.Builder setDataSourceType(DataSourceType value)

The resource type that was profiled.

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

Parameter
Name Description
value DataSourceType
Returns
Type Description
FileStoreDataProfile.Builder

setDataSourceType(DataSourceType.Builder builderForValue)

public FileStoreDataProfile.Builder setDataSourceType(DataSourceType.Builder builderForValue)

The resource type that was profiled.

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

Parameter
Name Description
builderForValue DataSourceType.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setDataStorageLocations(int index, String value)

public FileStoreDataProfile.Builder setDataStorageLocations(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The dataStorageLocations to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FileStoreDataProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

setFileClusterSummaries(int index, FileClusterSummary value)

public FileStoreDataProfile.Builder setFileClusterSummaries(int index, FileClusterSummary value)

FileClusterSummary per each cluster.

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

Parameters
Name Description
index int
value FileClusterSummary
Returns
Type Description
FileStoreDataProfile.Builder

setFileClusterSummaries(int index, FileClusterSummary.Builder builderForValue)

public FileStoreDataProfile.Builder setFileClusterSummaries(int index, FileClusterSummary.Builder builderForValue)

FileClusterSummary per each cluster.

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

Parameters
Name Description
index int
builderForValue FileClusterSummary.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

public FileStoreDataProfile.Builder setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary value)

InfoTypes detected in this file store.

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

Parameters
Name Description
index int
value FileStoreInfoTypeSummary
Returns
Type Description
FileStoreDataProfile.Builder

setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

public FileStoreDataProfile.Builder setFileStoreInfoTypeSummaries(int index, FileStoreInfoTypeSummary.Builder builderForValue)

InfoTypes detected in this file store.

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

Parameters
Name Description
index int
builderForValue FileStoreInfoTypeSummary.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setFileStoreIsEmpty(boolean value)

public FileStoreDataProfile.Builder setFileStoreIsEmpty(boolean value)

The file store does not have any files.

bool file_store_is_empty = 23;

Parameter
Name Description
value boolean

The fileStoreIsEmpty to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setFileStoreLocation(String value)

public FileStoreDataProfile.Builder setFileStoreLocation(String value)
Parameter
Name Description
value String

The fileStoreLocation to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setFileStoreLocationBytes(ByteString value)

public FileStoreDataProfile.Builder setFileStoreLocationBytes(ByteString value)
Parameter
Name Description
value ByteString

The bytes for fileStoreLocation to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setFileStorePath(String value)

public FileStoreDataProfile.Builder setFileStorePath(String value)

The file store path.

  • Cloud Storage: gs://{bucket}
  • Amazon S3: s3://{bucket}

string file_store_path = 6;

Parameter
Name Description
value String

The fileStorePath to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setFileStorePathBytes(ByteString value)

public FileStoreDataProfile.Builder setFileStorePathBytes(ByteString value)

The file store path.

  • Cloud Storage: gs://{bucket}
  • Amazon S3: s3://{bucket}

string file_store_path = 6;

Parameter
Name Description
value ByteString

The bytes for fileStorePath to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setFullResource(String value)

public FileStoreDataProfile.Builder setFullResource(String value)

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;

Parameter
Name Description
value String

The fullResource to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setFullResourceBytes(ByteString value)

public FileStoreDataProfile.Builder setFullResourceBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for fullResource to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setLastModifiedTime(Timestamp value)

public FileStoreDataProfile.Builder setLastModifiedTime(Timestamp value)

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Parameter
Name Description
value Timestamp
Returns
Type Description
FileStoreDataProfile.Builder

setLastModifiedTime(Timestamp.Builder builderForValue)

public FileStoreDataProfile.Builder setLastModifiedTime(Timestamp.Builder builderForValue)

The time the file store was last modified.

.google.protobuf.Timestamp last_modified_time = 15;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FileStoreDataProfile.Builder

setLocationType(String value)

public FileStoreDataProfile.Builder setLocationType(String value)

The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

string location_type = 20;

Parameter
Name Description
value String

The locationType to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setLocationTypeBytes(ByteString value)

public FileStoreDataProfile.Builder setLocationTypeBytes(ByteString value)

The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

string location_type = 20;

Parameter
Name Description
value ByteString

The bytes for locationType to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setName(String value)

public FileStoreDataProfile.Builder setName(String value)

The name of the profile.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FileStoreDataProfile.Builder setNameBytes(ByteString value)

The name of the profile.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setProfileLastGenerated(Timestamp value)

public FileStoreDataProfile.Builder setProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
FileStoreDataProfile.Builder

setProfileLastGenerated(Timestamp.Builder builderForValue)

public FileStoreDataProfile.Builder setProfileLastGenerated(Timestamp.Builder builderForValue)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FileStoreDataProfile.Builder

setProfileStatus(ProfileStatus value)

public FileStoreDataProfile.Builder setProfileStatus(ProfileStatus value)

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;

Parameter
Name Description
value ProfileStatus
Returns
Type Description
FileStoreDataProfile.Builder

setProfileStatus(ProfileStatus.Builder builderForValue)

public FileStoreDataProfile.Builder setProfileStatus(ProfileStatus.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ProfileStatus.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setProjectDataProfile(String value)

public FileStoreDataProfile.Builder setProjectDataProfile(String value)

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

string project_data_profile = 3;

Parameter
Name Description
value String

The projectDataProfile to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setProjectDataProfileBytes(ByteString value)

public FileStoreDataProfile.Builder setProjectDataProfileBytes(ByteString value)

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

string project_data_profile = 3;

Parameter
Name Description
value ByteString

The bytes for projectDataProfile to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setProjectId(String value)

public FileStoreDataProfile.Builder setProjectId(String value)

The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.

string project_id = 4;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public FileStoreDataProfile.Builder setProjectIdBytes(ByteString value)

The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.

string project_id = 4;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FileStoreDataProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FileStoreDataProfile.Builder
Overrides

setResourceVisibility(ResourceVisibility value)

public FileStoreDataProfile.Builder setResourceVisibility(ResourceVisibility value)

How broadly a resource has been shared.

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

Parameter
Name Description
value ResourceVisibility

The resourceVisibility to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setResourceVisibilityValue(int value)

public FileStoreDataProfile.Builder setResourceVisibilityValue(int value)

How broadly a resource has been shared.

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

Parameter
Name Description
value int

The enum numeric value on the wire for resourceVisibility to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setSensitivityScore(SensitivityScore value)

public FileStoreDataProfile.Builder setSensitivityScore(SensitivityScore value)

The sensitivity score of this resource.

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

Parameter
Name Description
value SensitivityScore
Returns
Type Description
FileStoreDataProfile.Builder

setSensitivityScore(SensitivityScore.Builder builderForValue)

public FileStoreDataProfile.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)

The sensitivity score of this resource.

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

Parameter
Name Description
builderForValue SensitivityScore.Builder
Returns
Type Description
FileStoreDataProfile.Builder

setState(FileStoreDataProfile.State value)

public FileStoreDataProfile.Builder setState(FileStoreDataProfile.State value)

State of a profile.

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

Parameter
Name Description
value FileStoreDataProfile.State

The state to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setStateValue(int value)

public FileStoreDataProfile.Builder setStateValue(int value)

State of a profile.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
FileStoreDataProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FileStoreDataProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileStoreDataProfile.Builder
Overrides