Class TableDataProfile.Builder (3.47.0)

public static final class TableDataProfile.Builder extends GeneratedMessageV3.Builder<TableDataProfile.Builder> implements TableDataProfileOrBuilder

The profile for a scanned table.

Protobuf type google.privacy.dlp.v2.TableDataProfile

Static Methods

getDescriptor()

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

Methods

addAllOtherInfoTypes(Iterable<? extends OtherInfoTypeSummary> values)

public TableDataProfile.Builder addAllOtherInfoTypes(Iterable<? extends OtherInfoTypeSummary> values)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

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

addAllPredictedInfoTypes(Iterable<? extends InfoTypeSummary> values)

public TableDataProfile.Builder addAllPredictedInfoTypes(Iterable<? extends InfoTypeSummary> values)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

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

addOtherInfoTypes(OtherInfoTypeSummary value)

public TableDataProfile.Builder addOtherInfoTypes(OtherInfoTypeSummary value)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
value OtherInfoTypeSummary
Returns
Type Description
TableDataProfile.Builder

addOtherInfoTypes(OtherInfoTypeSummary.Builder builderForValue)

public TableDataProfile.Builder addOtherInfoTypes(OtherInfoTypeSummary.Builder builderForValue)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
builderForValue OtherInfoTypeSummary.Builder
Returns
Type Description
TableDataProfile.Builder

addOtherInfoTypes(int index, OtherInfoTypeSummary value)

public TableDataProfile.Builder addOtherInfoTypes(int index, OtherInfoTypeSummary value)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameters
Name Description
index int
value OtherInfoTypeSummary
Returns
Type Description
TableDataProfile.Builder

addOtherInfoTypes(int index, OtherInfoTypeSummary.Builder builderForValue)

public TableDataProfile.Builder addOtherInfoTypes(int index, OtherInfoTypeSummary.Builder builderForValue)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameters
Name Description
index int
builderForValue OtherInfoTypeSummary.Builder
Returns
Type Description
TableDataProfile.Builder

addOtherInfoTypesBuilder()

public OtherInfoTypeSummary.Builder addOtherInfoTypesBuilder()

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Returns
Type Description
OtherInfoTypeSummary.Builder

addOtherInfoTypesBuilder(int index)

public OtherInfoTypeSummary.Builder addOtherInfoTypesBuilder(int index)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
index int
Returns
Type Description
OtherInfoTypeSummary.Builder

addPredictedInfoTypes(InfoTypeSummary value)

public TableDataProfile.Builder addPredictedInfoTypes(InfoTypeSummary value)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
value InfoTypeSummary
Returns
Type Description
TableDataProfile.Builder

addPredictedInfoTypes(InfoTypeSummary.Builder builderForValue)

public TableDataProfile.Builder addPredictedInfoTypes(InfoTypeSummary.Builder builderForValue)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
builderForValue InfoTypeSummary.Builder
Returns
Type Description
TableDataProfile.Builder

addPredictedInfoTypes(int index, InfoTypeSummary value)

public TableDataProfile.Builder addPredictedInfoTypes(int index, InfoTypeSummary value)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameters
Name Description
index int
value InfoTypeSummary
Returns
Type Description
TableDataProfile.Builder

addPredictedInfoTypes(int index, InfoTypeSummary.Builder builderForValue)

public TableDataProfile.Builder addPredictedInfoTypes(int index, InfoTypeSummary.Builder builderForValue)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameters
Name Description
index int
builderForValue InfoTypeSummary.Builder
Returns
Type Description
TableDataProfile.Builder

addPredictedInfoTypesBuilder()

public InfoTypeSummary.Builder addPredictedInfoTypesBuilder()

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Returns
Type Description
InfoTypeSummary.Builder

addPredictedInfoTypesBuilder(int index)

public InfoTypeSummary.Builder addPredictedInfoTypesBuilder(int index)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableDataProfile build()
Returns
Type Description
TableDataProfile

buildPartial()

public TableDataProfile buildPartial()
Returns
Type Description
TableDataProfile

clear()

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

clearConfigSnapshot()

public TableDataProfile.Builder clearConfigSnapshot()

The snapshot of the configurations used to generate the profile.

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

Returns
Type Description
TableDataProfile.Builder

clearCreateTime()

public TableDataProfile.Builder clearCreateTime()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
Type Description
TableDataProfile.Builder

clearDataRiskLevel()

public TableDataProfile.Builder clearDataRiskLevel()

The data risk level of this table.

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

Returns
Type Description
TableDataProfile.Builder

clearDataSourceType()

public TableDataProfile.Builder clearDataSourceType()

The resource type that was profiled.

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

Returns
Type Description
TableDataProfile.Builder

clearDatasetId()

public TableDataProfile.Builder clearDatasetId()

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearDatasetLocation()

public TableDataProfile.Builder clearDatasetLocation()

If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string dataset_location = 29;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearDatasetProjectId()

public TableDataProfile.Builder clearDatasetProjectId()

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearEncryptionStatus()

public TableDataProfile.Builder clearEncryptionStatus()

How the table is encrypted.

.google.privacy.dlp.v2.EncryptionStatus encryption_status = 14;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearExpirationTime()

public TableDataProfile.Builder clearExpirationTime()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
Type Description
TableDataProfile.Builder

clearFailedColumnCount()

public TableDataProfile.Builder clearFailedColumnCount()

The number of columns skipped in the table because of an error.

int64 failed_column_count = 11;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFullResource()

public TableDataProfile.Builder clearFullResource()

The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name

string full_resource = 3;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearLastModifiedTime()

public TableDataProfile.Builder clearLastModifiedTime()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Returns
Type Description
TableDataProfile.Builder

clearName()

public TableDataProfile.Builder clearName()

The name of the profile.

string name = 1;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOtherInfoTypes()

public TableDataProfile.Builder clearOtherInfoTypes()

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Returns
Type Description
TableDataProfile.Builder

clearPredictedInfoTypes()

public TableDataProfile.Builder clearPredictedInfoTypes()

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Returns
Type Description
TableDataProfile.Builder

clearProfileLastGenerated()

public TableDataProfile.Builder clearProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Returns
Type Description
TableDataProfile.Builder

clearProfileStatus()

public TableDataProfile.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 = 21;

Returns
Type Description
TableDataProfile.Builder

clearProjectDataProfile()

public TableDataProfile.Builder clearProjectDataProfile()

The resource name to the project data profile for this table.

string project_data_profile = 2;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearResourceLabels()

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

clearResourceVisibility()

public TableDataProfile.Builder clearResourceVisibility()

How broadly a resource has been shared.

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

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearRowCount()

public TableDataProfile.Builder clearRowCount()

Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.

int64 row_count = 13;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearScannedColumnCount()

public TableDataProfile.Builder clearScannedColumnCount()

The number of columns profiled in the table.

int64 scanned_column_count = 10;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearSensitivityScore()

public TableDataProfile.Builder clearSensitivityScore()

The sensitivity score of this table.

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

Returns
Type Description
TableDataProfile.Builder

clearState()

public TableDataProfile.Builder clearState()

State of a profile.

.google.privacy.dlp.v2.TableDataProfile.State state = 22;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearTableId()

public TableDataProfile.Builder clearTableId()

If the resource is BigQuery, the BigQuery table ID.

string table_id = 26;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clearTableSizeBytes()

public TableDataProfile.Builder clearTableSizeBytes()

The size of the table when the profile was generated.

int64 table_size_bytes = 12;

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

clone()

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

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 = 17;

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 at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
Type Description
TimestampOrBuilder

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level of this table.

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

Returns
Type Description
DataRiskLevel

The dataRiskLevel.

getDataRiskLevelBuilder()

public DataRiskLevel.Builder getDataRiskLevelBuilder()

The data risk level of this table.

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

Returns
Type Description
DataRiskLevel.Builder

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this table.

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

Returns
Type Description
DataRiskLevelOrBuilder

getDataSourceType()

public DataSourceType getDataSourceType()

The resource type that was profiled.

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

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 = 36;

Returns
Type Description
DataSourceType.Builder

getDataSourceTypeOrBuilder()

public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()

The resource type that was profiled.

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

Returns
Type Description
DataSourceTypeOrBuilder

getDatasetId()

public String getDatasetId()

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Returns
Type Description
ByteString

The bytes for datasetId.

getDatasetLocation()

public String getDatasetLocation()

If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string dataset_location = 29;

Returns
Type Description
String

The datasetLocation.

getDatasetLocationBytes()

public ByteString getDatasetLocationBytes()

If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string dataset_location = 29;

Returns
Type Description
ByteString

The bytes for datasetLocation.

getDatasetProjectId()

public String getDatasetProjectId()

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Returns
Type Description
String

The datasetProjectId.

getDatasetProjectIdBytes()

public ByteString getDatasetProjectIdBytes()

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Returns
Type Description
ByteString

The bytes for datasetProjectId.

getDefaultInstanceForType()

public TableDataProfile getDefaultInstanceForType()
Returns
Type Description
TableDataProfile

getDescriptorForType()

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

getEncryptionStatus()

public EncryptionStatus getEncryptionStatus()

How the table is encrypted.

.google.privacy.dlp.v2.EncryptionStatus encryption_status = 14;

Returns
Type Description
EncryptionStatus

The encryptionStatus.

getEncryptionStatusValue()

public int getEncryptionStatusValue()

How the table is encrypted.

.google.privacy.dlp.v2.EncryptionStatus encryption_status = 14;

Returns
Type Description
int

The enum numeric value on the wire for encryptionStatus.

getExpirationTime()

public Timestamp getExpirationTime()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
Type Description
Timestamp

The expirationTime.

getExpirationTimeBuilder()

public Timestamp.Builder getExpirationTimeBuilder()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
Type Description
Builder

getExpirationTimeOrBuilder()

public TimestampOrBuilder getExpirationTimeOrBuilder()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
Type Description
TimestampOrBuilder

getFailedColumnCount()

public long getFailedColumnCount()

The number of columns skipped in the table because of an error.

int64 failed_column_count = 11;

Returns
Type Description
long

The failedColumnCount.

getFullResource()

public String getFullResource()

The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name

string full_resource = 3;

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

string full_resource = 3;

Returns
Type Description
ByteString

The bytes for fullResource.

getLastModifiedTime()

public Timestamp getLastModifiedTime()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Returns
Type Description
Timestamp

The lastModifiedTime.

getLastModifiedTimeBuilder()

public Timestamp.Builder getLastModifiedTimeBuilder()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Returns
Type Description
Builder

getLastModifiedTimeOrBuilder()

public TimestampOrBuilder getLastModifiedTimeOrBuilder()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Returns
Type Description
TimestampOrBuilder

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.

getOtherInfoTypes(int index)

public OtherInfoTypeSummary getOtherInfoTypes(int index)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
index int
Returns
Type Description
OtherInfoTypeSummary

getOtherInfoTypesBuilder(int index)

public OtherInfoTypeSummary.Builder getOtherInfoTypesBuilder(int index)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
index int
Returns
Type Description
OtherInfoTypeSummary.Builder

getOtherInfoTypesBuilderList()

public List<OtherInfoTypeSummary.Builder> getOtherInfoTypesBuilderList()

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Returns
Type Description
List<Builder>

getOtherInfoTypesCount()

public int getOtherInfoTypesCount()

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Returns
Type Description
int

getOtherInfoTypesList()

public List<OtherInfoTypeSummary> getOtherInfoTypesList()

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Returns
Type Description
List<OtherInfoTypeSummary>

getOtherInfoTypesOrBuilder(int index)

public OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder(int index)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
index int
Returns
Type Description
OtherInfoTypeSummaryOrBuilder

getOtherInfoTypesOrBuilderList()

public List<? extends OtherInfoTypeSummaryOrBuilder> getOtherInfoTypesOrBuilderList()

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

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

getPredictedInfoTypes(int index)

public InfoTypeSummary getPredictedInfoTypes(int index)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeSummary

getPredictedInfoTypesBuilder(int index)

public InfoTypeSummary.Builder getPredictedInfoTypesBuilder(int index)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeSummary.Builder

getPredictedInfoTypesBuilderList()

public List<InfoTypeSummary.Builder> getPredictedInfoTypesBuilderList()

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Returns
Type Description
List<Builder>

getPredictedInfoTypesCount()

public int getPredictedInfoTypesCount()

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Returns
Type Description
int

getPredictedInfoTypesList()

public List<InfoTypeSummary> getPredictedInfoTypesList()

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Returns
Type Description
List<InfoTypeSummary>

getPredictedInfoTypesOrBuilder(int index)

public InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder(int index)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeSummaryOrBuilder

getPredictedInfoTypesOrBuilderList()

public List<? extends InfoTypeSummaryOrBuilder> getPredictedInfoTypesOrBuilderList()

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

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

getProfileLastGenerated()

public Timestamp getProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Returns
Type Description
Timestamp

The profileLastGenerated.

getProfileLastGeneratedBuilder()

public Timestamp.Builder getProfileLastGeneratedBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Returns
Type Description
Builder

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

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 = 21;

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 = 21;

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 = 21;

Returns
Type Description
ProfileStatusOrBuilder

getProjectDataProfile()

public String getProjectDataProfile()

The resource name to the project data profile for this table.

string project_data_profile = 2;

Returns
Type Description
String

The projectDataProfile.

getProjectDataProfileBytes()

public ByteString getProjectDataProfileBytes()

The resource name to the project data profile for this table.

string project_data_profile = 2;

Returns
Type Description
ByteString

The bytes for projectDataProfile.

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 = 17;

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 = 17;

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 = 17;

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 = 17;

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 = 15;

Returns
Type Description
ResourceVisibility

The resourceVisibility.

getResourceVisibilityValue()

public int getResourceVisibilityValue()

How broadly a resource has been shared.

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

Returns
Type Description
int

The enum numeric value on the wire for resourceVisibility.

getRowCount()

public long getRowCount()

Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.

int64 row_count = 13;

Returns
Type Description
long

The rowCount.

getScannedColumnCount()

public long getScannedColumnCount()

The number of columns profiled in the table.

int64 scanned_column_count = 10;

Returns
Type Description
long

The scannedColumnCount.

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity score of this table.

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

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

The sensitivity score of this table.

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

Returns
Type Description
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this table.

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

Returns
Type Description
SensitivityScoreOrBuilder

getState()

public TableDataProfile.State getState()

State of a profile.

.google.privacy.dlp.v2.TableDataProfile.State state = 22;

Returns
Type Description
TableDataProfile.State

The state.

getStateValue()

public int getStateValue()

State of a profile.

.google.privacy.dlp.v2.TableDataProfile.State state = 22;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTableId()

public String getTableId()

If the resource is BigQuery, the BigQuery table ID.

string table_id = 26;

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

If the resource is BigQuery, the BigQuery table ID.

string table_id = 26;

Returns
Type Description
ByteString

The bytes for tableId.

getTableSizeBytes()

public long getTableSizeBytes()

The size of the table when the profile was generated.

int64 table_size_bytes = 12;

Returns
Type Description
long

The tableSizeBytes.

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 at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDataRiskLevel()

public boolean hasDataRiskLevel()

The data risk level of this table.

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

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 = 36;

Returns
Type Description
boolean

Whether the dataSourceType field is set.

hasExpirationTime()

public boolean hasExpirationTime()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
Type Description
boolean

Whether the expirationTime field is set.

hasLastModifiedTime()

public boolean hasLastModifiedTime()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

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 = 16;

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 = 21;

Returns
Type Description
boolean

Whether the profileStatus field is set.

hasSensitivityScore()

public boolean hasSensitivityScore()

The sensitivity score of this table.

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

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

mergeCreateTime(Timestamp value)

public TableDataProfile.Builder mergeCreateTime(Timestamp value)

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

mergeDataRiskLevel(DataRiskLevel value)

public TableDataProfile.Builder mergeDataRiskLevel(DataRiskLevel value)

The data risk level of this table.

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
TableDataProfile.Builder

mergeDataSourceType(DataSourceType value)

public TableDataProfile.Builder mergeDataSourceType(DataSourceType value)

The resource type that was profiled.

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

Parameter
Name Description
value DataSourceType
Returns
Type Description
TableDataProfile.Builder

mergeExpirationTime(Timestamp value)

public TableDataProfile.Builder mergeExpirationTime(Timestamp value)

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

mergeFrom(TableDataProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastModifiedTime(Timestamp value)

public TableDataProfile.Builder mergeLastModifiedTime(Timestamp value)

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

mergeProfileLastGenerated(Timestamp value)

public TableDataProfile.Builder mergeProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

mergeProfileStatus(ProfileStatus value)

public TableDataProfile.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 = 21;

Parameter
Name Description
value ProfileStatus
Returns
Type Description
TableDataProfile.Builder

mergeSensitivityScore(SensitivityScore value)

public TableDataProfile.Builder mergeSensitivityScore(SensitivityScore value)

The sensitivity score of this table.

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

Parameter
Name Description
value SensitivityScore
Returns
Type Description
TableDataProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllResourceLabels(Map<String,String> values)

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

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

map<string, string> resource_labels = 17;

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

putResourceLabels(String key, String value)

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

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

map<string, string> resource_labels = 17;

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

removeOtherInfoTypes(int index)

public TableDataProfile.Builder removeOtherInfoTypes(int index)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameter
Name Description
index int
Returns
Type Description
TableDataProfile.Builder

removePredictedInfoTypes(int index)

public TableDataProfile.Builder removePredictedInfoTypes(int index)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameter
Name Description
index int
Returns
Type Description
TableDataProfile.Builder

removeResourceLabels(String key)

public TableDataProfile.Builder removeResourceLabels(String key)

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

map<string, string> resource_labels = 17;

Parameter
Name Description
key String
Returns
Type Description
TableDataProfile.Builder

setConfigSnapshot(DataProfileConfigSnapshot value)

public TableDataProfile.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
TableDataProfile.Builder

setConfigSnapshot(DataProfileConfigSnapshot.Builder builderForValue)

public TableDataProfile.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
TableDataProfile.Builder

setCreateTime(Timestamp value)

public TableDataProfile.Builder setCreateTime(Timestamp value)

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

setCreateTime(Timestamp.Builder builderForValue)

public TableDataProfile.Builder setCreateTime(Timestamp.Builder builderForValue)

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TableDataProfile.Builder

setDataRiskLevel(DataRiskLevel value)

public TableDataProfile.Builder setDataRiskLevel(DataRiskLevel value)

The data risk level of this table.

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
TableDataProfile.Builder

setDataRiskLevel(DataRiskLevel.Builder builderForValue)

public TableDataProfile.Builder setDataRiskLevel(DataRiskLevel.Builder builderForValue)

The data risk level of this table.

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

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

setDataSourceType(DataSourceType value)

public TableDataProfile.Builder setDataSourceType(DataSourceType value)

The resource type that was profiled.

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

Parameter
Name Description
value DataSourceType
Returns
Type Description
TableDataProfile.Builder

setDataSourceType(DataSourceType.Builder builderForValue)

public TableDataProfile.Builder setDataSourceType(DataSourceType.Builder builderForValue)

The resource type that was profiled.

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

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

setDatasetId(String value)

public TableDataProfile.Builder setDatasetId(String value)

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public TableDataProfile.Builder setDatasetIdBytes(ByteString value)

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setDatasetLocation(String value)

public TableDataProfile.Builder setDatasetLocation(String value)

If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string dataset_location = 29;

Parameter
Name Description
value String

The datasetLocation to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setDatasetLocationBytes(ByteString value)

public TableDataProfile.Builder setDatasetLocationBytes(ByteString value)

If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string dataset_location = 29;

Parameter
Name Description
value ByteString

The bytes for datasetLocation to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setDatasetProjectId(String value)

public TableDataProfile.Builder setDatasetProjectId(String value)

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Parameter
Name Description
value String

The datasetProjectId to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setDatasetProjectIdBytes(ByteString value)

public TableDataProfile.Builder setDatasetProjectIdBytes(ByteString value)

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Parameter
Name Description
value ByteString

The bytes for datasetProjectId to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setEncryptionStatus(EncryptionStatus value)

public TableDataProfile.Builder setEncryptionStatus(EncryptionStatus value)

How the table is encrypted.

.google.privacy.dlp.v2.EncryptionStatus encryption_status = 14;

Parameter
Name Description
value EncryptionStatus

The encryptionStatus to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setEncryptionStatusValue(int value)

public TableDataProfile.Builder setEncryptionStatusValue(int value)

How the table is encrypted.

.google.privacy.dlp.v2.EncryptionStatus encryption_status = 14;

Parameter
Name Description
value int

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

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setExpirationTime(Timestamp value)

public TableDataProfile.Builder setExpirationTime(Timestamp value)

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

setExpirationTime(Timestamp.Builder builderForValue)

public TableDataProfile.Builder setExpirationTime(Timestamp.Builder builderForValue)

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TableDataProfile.Builder

setFailedColumnCount(long value)

public TableDataProfile.Builder setFailedColumnCount(long value)

The number of columns skipped in the table because of an error.

int64 failed_column_count = 11;

Parameter
Name Description
value long

The failedColumnCount to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullResource(String value)

public TableDataProfile.Builder setFullResource(String value)

The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name

string full_resource = 3;

Parameter
Name Description
value String

The fullResource to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setFullResourceBytes(ByteString value)

public TableDataProfile.Builder setFullResourceBytes(ByteString value)

The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name

string full_resource = 3;

Parameter
Name Description
value ByteString

The bytes for fullResource to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setLastModifiedTime(Timestamp value)

public TableDataProfile.Builder setLastModifiedTime(Timestamp value)

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

setLastModifiedTime(Timestamp.Builder builderForValue)

public TableDataProfile.Builder setLastModifiedTime(Timestamp.Builder builderForValue)

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TableDataProfile.Builder

setName(String value)

public TableDataProfile.Builder setName(String value)

The name of the profile.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TableDataProfile.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
TableDataProfile.Builder

This builder for chaining.

setOtherInfoTypes(int index, OtherInfoTypeSummary value)

public TableDataProfile.Builder setOtherInfoTypes(int index, OtherInfoTypeSummary value)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameters
Name Description
index int
value OtherInfoTypeSummary
Returns
Type Description
TableDataProfile.Builder

setOtherInfoTypes(int index, OtherInfoTypeSummary.Builder builderForValue)

public TableDataProfile.Builder setOtherInfoTypes(int index, OtherInfoTypeSummary.Builder builderForValue)

Other infoTypes found in this table's data.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28;

Parameters
Name Description
index int
builderForValue OtherInfoTypeSummary.Builder
Returns
Type Description
TableDataProfile.Builder

setPredictedInfoTypes(int index, InfoTypeSummary value)

public TableDataProfile.Builder setPredictedInfoTypes(int index, InfoTypeSummary value)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameters
Name Description
index int
value InfoTypeSummary
Returns
Type Description
TableDataProfile.Builder

setPredictedInfoTypes(int index, InfoTypeSummary.Builder builderForValue)

public TableDataProfile.Builder setPredictedInfoTypes(int index, InfoTypeSummary.Builder builderForValue)

The infoTypes predicted from this table's data.

repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27;

Parameters
Name Description
index int
builderForValue InfoTypeSummary.Builder
Returns
Type Description
TableDataProfile.Builder

setProfileLastGenerated(Timestamp value)

public TableDataProfile.Builder setProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Parameter
Name Description
value Timestamp
Returns
Type Description
TableDataProfile.Builder

setProfileLastGenerated(Timestamp.Builder builderForValue)

public TableDataProfile.Builder setProfileLastGenerated(Timestamp.Builder builderForValue)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TableDataProfile.Builder

setProfileStatus(ProfileStatus value)

public TableDataProfile.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 = 21;

Parameter
Name Description
value ProfileStatus
Returns
Type Description
TableDataProfile.Builder

setProfileStatus(ProfileStatus.Builder builderForValue)

public TableDataProfile.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 = 21;

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

setProjectDataProfile(String value)

public TableDataProfile.Builder setProjectDataProfile(String value)

The resource name to the project data profile for this table.

string project_data_profile = 2;

Parameter
Name Description
value String

The projectDataProfile to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setProjectDataProfileBytes(ByteString value)

public TableDataProfile.Builder setProjectDataProfileBytes(ByteString value)

The resource name to the project data profile for this table.

string project_data_profile = 2;

Parameter
Name Description
value ByteString

The bytes for projectDataProfile to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

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

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

setResourceVisibility(ResourceVisibility value)

public TableDataProfile.Builder setResourceVisibility(ResourceVisibility value)

How broadly a resource has been shared.

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

Parameter
Name Description
value ResourceVisibility

The resourceVisibility to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setResourceVisibilityValue(int value)

public TableDataProfile.Builder setResourceVisibilityValue(int value)

How broadly a resource has been shared.

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

Parameter
Name Description
value int

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

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setRowCount(long value)

public TableDataProfile.Builder setRowCount(long value)

Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.

int64 row_count = 13;

Parameter
Name Description
value long

The rowCount to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setScannedColumnCount(long value)

public TableDataProfile.Builder setScannedColumnCount(long value)

The number of columns profiled in the table.

int64 scanned_column_count = 10;

Parameter
Name Description
value long

The scannedColumnCount to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setSensitivityScore(SensitivityScore value)

public TableDataProfile.Builder setSensitivityScore(SensitivityScore value)

The sensitivity score of this table.

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

Parameter
Name Description
value SensitivityScore
Returns
Type Description
TableDataProfile.Builder

setSensitivityScore(SensitivityScore.Builder builderForValue)

public TableDataProfile.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)

The sensitivity score of this table.

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

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

setState(TableDataProfile.State value)

public TableDataProfile.Builder setState(TableDataProfile.State value)

State of a profile.

.google.privacy.dlp.v2.TableDataProfile.State state = 22;

Parameter
Name Description
value TableDataProfile.State

The state to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setStateValue(int value)

public TableDataProfile.Builder setStateValue(int value)

State of a profile.

.google.privacy.dlp.v2.TableDataProfile.State state = 22;

Parameter
Name Description
value int

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

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setTableId(String value)

public TableDataProfile.Builder setTableId(String value)

If the resource is BigQuery, the BigQuery table ID.

string table_id = 26;

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public TableDataProfile.Builder setTableIdBytes(ByteString value)

If the resource is BigQuery, the BigQuery table ID.

string table_id = 26;

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setTableSizeBytes(long value)

public TableDataProfile.Builder setTableSizeBytes(long value)

The size of the table when the profile was generated.

int64 table_size_bytes = 12;

Parameter
Name Description
value long

The tableSizeBytes to set.

Returns
Type Description
TableDataProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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