Class TableDataProfile.Builder (3.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.OtherInfoTypeSummary>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.InfoTypeSummary>
Returns
TypeDescription
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
NameDescription
valueOtherInfoTypeSummary
Returns
TypeDescription
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
NameDescription
builderForValueOtherInfoTypeSummary.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueOtherInfoTypeSummary
Returns
TypeDescription
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
NameDescription
indexint
builderForValueOtherInfoTypeSummary.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueInfoTypeSummary
Returns
TypeDescription
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
NameDescription
builderForValueInfoTypeSummary.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInfoTypeSummary
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoTypeSummary.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InfoTypeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TableDataProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TableDataProfile.Builder
Overrides

build()

public TableDataProfile build()
Returns
TypeDescription
TableDataProfile

buildPartial()

public TableDataProfile buildPartial()
Returns
TypeDescription
TableDataProfile

clear()

public TableDataProfile.Builder clear()
Returns
TypeDescription
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
TypeDescription
TableDataProfile.Builder

clearCreateTime()

public TableDataProfile.Builder clearCreateTime()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
TypeDescription
TableDataProfile.Builder

clearDataRiskLevel()

public TableDataProfile.Builder clearDataRiskLevel()

The data risk level of this table.

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

Returns
TypeDescription
TableDataProfile.Builder

clearDataSourceType()

public TableDataProfile.Builder clearDataSourceType()

The resource type that was profiled.

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

Returns
TypeDescription
TableDataProfile.Builder

clearDatasetId()

public TableDataProfile.Builder clearDatasetId()

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TableDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TableDataProfile.Builder

clearName()

public TableDataProfile.Builder clearName()

The name of the profile.

string name = 1;

Returns
TypeDescription
TableDataProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TableDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TableDataProfile.Builder

clearProfileLastGenerated()

public TableDataProfile.Builder clearProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

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

clearProjectDataProfile()

public TableDataProfile.Builder clearProjectDataProfile()

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

string project_data_profile = 2;

Returns
TypeDescription
TableDataProfile.Builder

This builder for chaining.

clearResourceLabels()

public TableDataProfile.Builder clearResourceLabels()
Returns
TypeDescription
TableDataProfile.Builder

clearResourceVisibility()

public TableDataProfile.Builder clearResourceVisibility()

How broadly a resource has been shared.

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

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

clearState()

public TableDataProfile.Builder clearState()

State of a profile.

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

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

This builder for chaining.

clone()

public TableDataProfile.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getConfigSnapshot()

public DataProfileConfigSnapshot getConfigSnapshot()

The snapshot of the configurations used to generate the profile.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DataProfileConfigSnapshotOrBuilder

getCreateTime()

public Timestamp getCreateTime()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which the table was created.

.google.protobuf.Timestamp create_time = 23;

Returns
TypeDescription
TimestampOrBuilder

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level of this table.

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

Returns
TypeDescription
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
TypeDescription
DataRiskLevel.Builder

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this table.

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

Returns
TypeDescription
DataRiskLevelOrBuilder

getDataSourceType()

public DataSourceType getDataSourceType()

The resource type that was profiled.

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

Returns
TypeDescription
DataSourceType

The dataSourceType.

getDataSourceTypeBuilder()

public DataSourceType.Builder getDataSourceTypeBuilder()

The resource type that was profiled.

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

Returns
TypeDescription
DataSourceType.Builder

getDataSourceTypeOrBuilder()

public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()

The resource type that was profiled.

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

Returns
TypeDescription
DataSourceTypeOrBuilder

getDatasetId()

public String getDatasetId()

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Returns
TypeDescription
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for datasetLocation.

getDatasetProjectId()

public String getDatasetProjectId()

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Returns
TypeDescription
String

The datasetProjectId.

getDatasetProjectIdBytes()

public ByteString getDatasetProjectIdBytes()

The Google Cloud project ID that owns the resource.

string dataset_project_id = 24;

Returns
TypeDescription
ByteString

The bytes for datasetProjectId.

getDefaultInstanceForType()

public TableDataProfile getDefaultInstanceForType()
Returns
TypeDescription
TableDataProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEncryptionStatus()

public EncryptionStatus getEncryptionStatus()

How the table is encrypted.

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

Returns
TypeDescription
EncryptionStatus

The encryptionStatus.

getEncryptionStatusValue()

public int getEncryptionStatusValue()

How the table is encrypted.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The expirationTime.

getExpirationTimeBuilder()

public Timestamp.Builder getExpirationTimeBuilder()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
TypeDescription
Builder

getExpirationTimeOrBuilder()

public TimestampOrBuilder getExpirationTimeOrBuilder()

Optional. The time when this table expires.

.google.protobuf.Timestamp expiration_time = 9;

Returns
TypeDescription
TimestampOrBuilder

getFailedColumnCount()

public long getFailedColumnCount()

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

int64 failed_column_count = 11;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The lastModifiedTime.

getLastModifiedTimeBuilder()

public Timestamp.Builder getLastModifiedTimeBuilder()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Returns
TypeDescription
Builder

getLastModifiedTimeOrBuilder()

public TimestampOrBuilder getLastModifiedTimeOrBuilder()

The time when this table was last modified

.google.protobuf.Timestamp last_modified_time = 8;

Returns
TypeDescription
TimestampOrBuilder

getMutableResourceLabels() (deprecated)

public Map<String,String> getMutableResourceLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

The name of the profile.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the profile.

string name = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The profileLastGenerated.

getProfileLastGeneratedBuilder()

public Timestamp.Builder getProfileLastGeneratedBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Returns
TypeDescription
Builder

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 16;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ProfileStatusOrBuilder

getProjectDataProfile()

public String getProjectDataProfile()

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

string project_data_profile = 2;

Returns
TypeDescription
String

The projectDataProfile.

getProjectDataProfileBytes()

public ByteString getProjectDataProfileBytes()

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

string project_data_profile = 2;

Returns
TypeDescription
ByteString

The bytes for projectDataProfile.

getResourceLabels() (deprecated)

public Map<String,String> getResourceLabels()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getResourceVisibility()

public ResourceVisibility getResourceVisibility()

How broadly a resource has been shared.

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

Returns
TypeDescription
ResourceVisibility

The resourceVisibility.

getResourceVisibilityValue()

public int getResourceVisibilityValue()

How broadly a resource has been shared.

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

Returns
TypeDescription
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
TypeDescription
long

The rowCount.

getScannedColumnCount()

public long getScannedColumnCount()

The number of columns profiled in the table.

int64 scanned_column_count = 10;

Returns
TypeDescription
long

The scannedColumnCount.

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity score of this table.

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

Returns
TypeDescription
SensitivityScore

The sensitivityScore.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

The sensitivity score of this table.

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

Returns
TypeDescription
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this table.

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

Returns
TypeDescription
SensitivityScoreOrBuilder

getState()

public TableDataProfile.State getState()

State of a profile.

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

Returns
TypeDescription
TableDataProfile.State

The state.

getStateValue()

public int getStateValue()

State of a profile.

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

Returns
TypeDescription
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
TypeDescription
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

If the resource is BigQuery, the BigQuery table ID.

string table_id = 26;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sensitivityScore field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataProfileConfigSnapshot
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueDataRiskLevel
Returns
TypeDescription
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
NameDescription
valueDataSourceType
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
TableDataProfile.Builder

mergeFrom(TableDataProfile other)

public TableDataProfile.Builder mergeFrom(TableDataProfile other)
Parameter
NameDescription
otherTableDataProfile
Returns
TypeDescription
TableDataProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TableDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TableDataProfile.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TableDataProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueProfileStatus
Returns
TypeDescription
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
NameDescription
valueSensitivityScore
Returns
TypeDescription
TableDataProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TableDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueDataProfileConfigSnapshot
Returns
TypeDescription
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
NameDescription
builderForValueDataProfileConfigSnapshot.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDataRiskLevel
Returns
TypeDescription
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
NameDescription
builderForValueDataRiskLevel.Builder
Returns
TypeDescription
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
NameDescription
valueDataSourceType
Returns
TypeDescription
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
NameDescription
builderForValueDataSourceType.Builder
Returns
TypeDescription
TableDataProfile.Builder

setDatasetId(String value)

public TableDataProfile.Builder setDatasetId(String value)

If the resource is BigQuery, the dataset ID.

string dataset_id = 25;

Parameter
NameDescription
valueString

The datasetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for datasetId to set.

Returns
TypeDescription
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
NameDescription
valueString

The datasetLocation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for datasetLocation to set.

Returns
TypeDescription
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
NameDescription
valueString

The datasetProjectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for datasetProjectId to set.

Returns
TypeDescription
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
NameDescription
valueEncryptionStatus

The encryptionStatus to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valuelong

The failedColumnCount to set.

Returns
TypeDescription
TableDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TableDataProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fullResource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fullResource to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TableDataProfile.Builder

setName(String value)

public TableDataProfile.Builder setName(String value)

The name of the profile.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
TableDataProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TableDataProfile.Builder setNameBytes(ByteString value)

The name of the profile.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
indexint
valueOtherInfoTypeSummary
Returns
TypeDescription
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
NameDescription
indexint
builderForValueOtherInfoTypeSummary.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInfoTypeSummary
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoTypeSummary.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueProfileStatus
Returns
TypeDescription
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
NameDescription
builderForValueProfileStatus.Builder
Returns
TypeDescription
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
NameDescription
valueString

The projectDataProfile to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectDataProfile to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueResourceVisibility

The resourceVisibility to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valuelong

The rowCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The scannedColumnCount to set.

Returns
TypeDescription
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
NameDescription
valueSensitivityScore
Returns
TypeDescription
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
NameDescription
builderForValueSensitivityScore.Builder
Returns
TypeDescription
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
NameDescription
valueTableDataProfile.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The tableId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableId to set.

Returns
TypeDescription
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
NameDescription
valuelong

The tableSizeBytes to set.

Returns
TypeDescription
TableDataProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TableDataProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TableDataProfile.Builder
Overrides