Class ColumnDataProfile.Builder (3.34.0)

public static final class ColumnDataProfile.Builder extends GeneratedMessageV3.Builder<ColumnDataProfile.Builder> implements ColumnDataProfileOrBuilder

The profile for a scanned column within a table.

Protobuf type google.privacy.dlp.v2.ColumnDataProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOtherMatches(Iterable<? extends OtherInfoTypeSummary> values)

public ColumnDataProfile.Builder addAllOtherMatches(Iterable<? extends OtherInfoTypeSummary> values)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.OtherInfoTypeSummary>
Returns
TypeDescription
ColumnDataProfile.Builder

addOtherMatches(OtherInfoTypeSummary value)

public ColumnDataProfile.Builder addOtherMatches(OtherInfoTypeSummary value)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
valueOtherInfoTypeSummary
Returns
TypeDescription
ColumnDataProfile.Builder

addOtherMatches(OtherInfoTypeSummary.Builder builderForValue)

public ColumnDataProfile.Builder addOtherMatches(OtherInfoTypeSummary.Builder builderForValue)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
builderForValueOtherInfoTypeSummary.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

addOtherMatches(int index, OtherInfoTypeSummary value)

public ColumnDataProfile.Builder addOtherMatches(int index, OtherInfoTypeSummary value)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameters
NameDescription
indexint
valueOtherInfoTypeSummary
Returns
TypeDescription
ColumnDataProfile.Builder

addOtherMatches(int index, OtherInfoTypeSummary.Builder builderForValue)

public ColumnDataProfile.Builder addOtherMatches(int index, OtherInfoTypeSummary.Builder builderForValue)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameters
NameDescription
indexint
builderForValueOtherInfoTypeSummary.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

addOtherMatchesBuilder()

public OtherInfoTypeSummary.Builder addOtherMatchesBuilder()

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Returns
TypeDescription
OtherInfoTypeSummary.Builder

addOtherMatchesBuilder(int index)

public OtherInfoTypeSummary.Builder addOtherMatchesBuilder(int index)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
OtherInfoTypeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ColumnDataProfile build()
Returns
TypeDescription
ColumnDataProfile

buildPartial()

public ColumnDataProfile buildPartial()
Returns
TypeDescription
ColumnDataProfile

clear()

public ColumnDataProfile.Builder clear()
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

clearColumn()

public ColumnDataProfile.Builder clearColumn()

The name of the column.

string column = 6;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearColumnInfoType()

public ColumnDataProfile.Builder clearColumnInfoType()

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Returns
TypeDescription
ColumnDataProfile.Builder

clearColumnType()

public ColumnDataProfile.Builder clearColumnType()

The data type of a given column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearDataRiskLevel()

public ColumnDataProfile.Builder clearDataRiskLevel()

The data risk level for this column.

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

Returns
TypeDescription
ColumnDataProfile.Builder

clearDatasetId()

public ColumnDataProfile.Builder clearDatasetId()

The BigQuery dataset ID.

string dataset_id = 21;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearDatasetLocation()

public ColumnDataProfile.Builder clearDatasetLocation()

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

string dataset_location = 20;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearDatasetProjectId()

public ColumnDataProfile.Builder clearDatasetProjectId()

The Google Cloud project ID that owns the BigQuery dataset.

string dataset_project_id = 19;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearEstimatedNullPercentage()

public ColumnDataProfile.Builder clearEstimatedNullPercentage()

Approximate percentage of entries being null in the column.

.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearEstimatedUniquenessScore()

public ColumnDataProfile.Builder clearEstimatedUniquenessScore()

Approximate uniqueness of the column.

.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ColumnDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

clearFreeTextScore()

public ColumnDataProfile.Builder clearFreeTextScore()

The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.

double free_text_score = 13;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearName()

public ColumnDataProfile.Builder clearName()

The name of the profile.

string name = 1;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

clearOtherMatches()

public ColumnDataProfile.Builder clearOtherMatches()

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Returns
TypeDescription
ColumnDataProfile.Builder

clearPolicyState()

public ColumnDataProfile.Builder clearPolicyState()

Indicates if a policy tag has been applied to the column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearProfileLastGenerated()

public ColumnDataProfile.Builder clearProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
TypeDescription
ColumnDataProfile.Builder

clearProfileStatus()

public ColumnDataProfile.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 = 17;

Returns
TypeDescription
ColumnDataProfile.Builder

clearSensitivityScore()

public ColumnDataProfile.Builder clearSensitivityScore()

The sensitivity of this column.

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

Returns
TypeDescription
ColumnDataProfile.Builder

clearState()

public ColumnDataProfile.Builder clearState()

State of a profile.

.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearTableDataProfile()

public ColumnDataProfile.Builder clearTableDataProfile()

The resource name of the table data profile.

string table_data_profile = 4;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearTableFullResource()

public ColumnDataProfile.Builder clearTableFullResource()

The resource name of the table this column is within.

string table_full_resource = 5;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clearTableId()

public ColumnDataProfile.Builder clearTableId()

The BigQuery table ID.

string table_id = 22;

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

clone()

public ColumnDataProfile.Builder clone()
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

getColumn()

public String getColumn()

The name of the column.

string column = 6;

Returns
TypeDescription
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

The name of the column.

string column = 6;

Returns
TypeDescription
ByteString

The bytes for column.

getColumnInfoType()

public InfoTypeSummary getColumnInfoType()

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Returns
TypeDescription
InfoTypeSummary

The columnInfoType.

getColumnInfoTypeBuilder()

public InfoTypeSummary.Builder getColumnInfoTypeBuilder()

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Returns
TypeDescription
InfoTypeSummary.Builder

getColumnInfoTypeOrBuilder()

public InfoTypeSummaryOrBuilder getColumnInfoTypeOrBuilder()

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Returns
TypeDescription
InfoTypeSummaryOrBuilder

getColumnType()

public ColumnDataProfile.ColumnDataType getColumnType()

The data type of a given column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;

Returns
TypeDescription
ColumnDataProfile.ColumnDataType

The columnType.

getColumnTypeValue()

public int getColumnTypeValue()

The data type of a given column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;

Returns
TypeDescription
int

The enum numeric value on the wire for columnType.

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level for this column.

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

Returns
TypeDescription
DataRiskLevel

The dataRiskLevel.

getDataRiskLevelBuilder()

public DataRiskLevel.Builder getDataRiskLevelBuilder()

The data risk level for this column.

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

Returns
TypeDescription
DataRiskLevel.Builder

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level for this column.

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

Returns
TypeDescription
DataRiskLevelOrBuilder

getDatasetId()

public String getDatasetId()

The BigQuery dataset ID.

string dataset_id = 21;

Returns
TypeDescription
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The BigQuery dataset ID.

string dataset_id = 21;

Returns
TypeDescription
ByteString

The bytes for datasetId.

getDatasetLocation()

public String getDatasetLocation()

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

string dataset_location = 20;

Returns
TypeDescription
String

The datasetLocation.

getDatasetLocationBytes()

public ByteString getDatasetLocationBytes()

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

string dataset_location = 20;

Returns
TypeDescription
ByteString

The bytes for datasetLocation.

getDatasetProjectId()

public String getDatasetProjectId()

The Google Cloud project ID that owns the BigQuery dataset.

string dataset_project_id = 19;

Returns
TypeDescription
String

The datasetProjectId.

getDatasetProjectIdBytes()

public ByteString getDatasetProjectIdBytes()

The Google Cloud project ID that owns the BigQuery dataset.

string dataset_project_id = 19;

Returns
TypeDescription
ByteString

The bytes for datasetProjectId.

getDefaultInstanceForType()

public ColumnDataProfile getDefaultInstanceForType()
Returns
TypeDescription
ColumnDataProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEstimatedNullPercentage()

public NullPercentageLevel getEstimatedNullPercentage()

Approximate percentage of entries being null in the column.

.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;

Returns
TypeDescription
NullPercentageLevel

The estimatedNullPercentage.

getEstimatedNullPercentageValue()

public int getEstimatedNullPercentageValue()

Approximate percentage of entries being null in the column.

.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;

Returns
TypeDescription
int

The enum numeric value on the wire for estimatedNullPercentage.

getEstimatedUniquenessScore()

public UniquenessScoreLevel getEstimatedUniquenessScore()

Approximate uniqueness of the column.

.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;

Returns
TypeDescription
UniquenessScoreLevel

The estimatedUniquenessScore.

getEstimatedUniquenessScoreValue()

public int getEstimatedUniquenessScoreValue()

Approximate uniqueness of the column.

.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;

Returns
TypeDescription
int

The enum numeric value on the wire for estimatedUniquenessScore.

getFreeTextScore()

public double getFreeTextScore()

The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.

double free_text_score = 13;

Returns
TypeDescription
double

The freeTextScore.

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.

getOtherMatches(int index)

public OtherInfoTypeSummary getOtherMatches(int index)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
OtherInfoTypeSummary

getOtherMatchesBuilder(int index)

public OtherInfoTypeSummary.Builder getOtherMatchesBuilder(int index)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
OtherInfoTypeSummary.Builder

getOtherMatchesBuilderList()

public List<OtherInfoTypeSummary.Builder> getOtherMatchesBuilderList()

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Returns
TypeDescription
List<Builder>

getOtherMatchesCount()

public int getOtherMatchesCount()

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Returns
TypeDescription
int

getOtherMatchesList()

public List<OtherInfoTypeSummary> getOtherMatchesList()

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Returns
TypeDescription
List<OtherInfoTypeSummary>

getOtherMatchesOrBuilder(int index)

public OtherInfoTypeSummaryOrBuilder getOtherMatchesOrBuilder(int index)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
OtherInfoTypeSummaryOrBuilder

getOtherMatchesOrBuilderList()

public List<? extends OtherInfoTypeSummaryOrBuilder> getOtherMatchesOrBuilderList()

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

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

getPolicyState()

public ColumnDataProfile.ColumnPolicyState getPolicyState()

Indicates if a policy tag has been applied to the column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;

Returns
TypeDescription
ColumnDataProfile.ColumnPolicyState

The policyState.

getPolicyStateValue()

public int getPolicyStateValue()

Indicates if a policy tag has been applied to the column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;

Returns
TypeDescription
int

The enum numeric value on the wire for policyState.

getProfileLastGenerated()

public Timestamp getProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
TypeDescription
Timestamp

The profileLastGenerated.

getProfileLastGeneratedBuilder()

public Timestamp.Builder getProfileLastGeneratedBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
TypeDescription
Builder

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

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

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

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

Returns
TypeDescription
ProfileStatusOrBuilder

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity of this column.

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

Returns
TypeDescription
SensitivityScore

The sensitivityScore.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

The sensitivity of this column.

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

Returns
TypeDescription
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity of this column.

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

Returns
TypeDescription
SensitivityScoreOrBuilder

getState()

public ColumnDataProfile.State getState()

State of a profile.

.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;

Returns
TypeDescription
ColumnDataProfile.State

The state.

getStateValue()

public int getStateValue()

State of a profile.

.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTableDataProfile()

public String getTableDataProfile()

The resource name of the table data profile.

string table_data_profile = 4;

Returns
TypeDescription
String

The tableDataProfile.

getTableDataProfileBytes()

public ByteString getTableDataProfileBytes()

The resource name of the table data profile.

string table_data_profile = 4;

Returns
TypeDescription
ByteString

The bytes for tableDataProfile.

getTableFullResource()

public String getTableFullResource()

The resource name of the table this column is within.

string table_full_resource = 5;

Returns
TypeDescription
String

The tableFullResource.

getTableFullResourceBytes()

public ByteString getTableFullResourceBytes()

The resource name of the table this column is within.

string table_full_resource = 5;

Returns
TypeDescription
ByteString

The bytes for tableFullResource.

getTableId()

public String getTableId()

The BigQuery table ID.

string table_id = 22;

Returns
TypeDescription
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

The BigQuery table ID.

string table_id = 22;

Returns
TypeDescription
ByteString

The bytes for tableId.

hasColumnInfoType()

public boolean hasColumnInfoType()

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Returns
TypeDescription
boolean

Whether the columnInfoType field is set.

hasDataRiskLevel()

public boolean hasDataRiskLevel()

The data risk level for this column.

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

Returns
TypeDescription
boolean

Whether the dataRiskLevel field is set.

hasProfileLastGenerated()

public boolean hasProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

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

Returns
TypeDescription
boolean

Whether the profileStatus field is set.

hasSensitivityScore()

public boolean hasSensitivityScore()

The sensitivity of this column.

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

Returns
TypeDescription
boolean

Whether the sensitivityScore field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeColumnInfoType(InfoTypeSummary value)

public ColumnDataProfile.Builder mergeColumnInfoType(InfoTypeSummary value)

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Parameter
NameDescription
valueInfoTypeSummary
Returns
TypeDescription
ColumnDataProfile.Builder

mergeDataRiskLevel(DataRiskLevel value)

public ColumnDataProfile.Builder mergeDataRiskLevel(DataRiskLevel value)

The data risk level for this column.

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

Parameter
NameDescription
valueDataRiskLevel
Returns
TypeDescription
ColumnDataProfile.Builder

mergeFrom(ColumnDataProfile other)

public ColumnDataProfile.Builder mergeFrom(ColumnDataProfile other)
Parameter
NameDescription
otherColumnDataProfile
Returns
TypeDescription
ColumnDataProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ColumnDataProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

mergeProfileLastGenerated(Timestamp value)

public ColumnDataProfile.Builder mergeProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ColumnDataProfile.Builder

mergeProfileStatus(ProfileStatus value)

public ColumnDataProfile.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 = 17;

Parameter
NameDescription
valueProfileStatus
Returns
TypeDescription
ColumnDataProfile.Builder

mergeSensitivityScore(SensitivityScore value)

public ColumnDataProfile.Builder mergeSensitivityScore(SensitivityScore value)

The sensitivity of this column.

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

Parameter
NameDescription
valueSensitivityScore
Returns
TypeDescription
ColumnDataProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

removeOtherMatches(int index)

public ColumnDataProfile.Builder removeOtherMatches(int index)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
ColumnDataProfile.Builder

setColumn(String value)

public ColumnDataProfile.Builder setColumn(String value)

The name of the column.

string column = 6;

Parameter
NameDescription
valueString

The column to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public ColumnDataProfile.Builder setColumnBytes(ByteString value)

The name of the column.

string column = 6;

Parameter
NameDescription
valueByteString

The bytes for column to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setColumnInfoType(InfoTypeSummary value)

public ColumnDataProfile.Builder setColumnInfoType(InfoTypeSummary value)

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Parameter
NameDescription
valueInfoTypeSummary
Returns
TypeDescription
ColumnDataProfile.Builder

setColumnInfoType(InfoTypeSummary.Builder builderForValue)

public ColumnDataProfile.Builder setColumnInfoType(InfoTypeSummary.Builder builderForValue)

If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.

.google.privacy.dlp.v2.InfoTypeSummary column_info_type = 9;

Parameter
NameDescription
builderForValueInfoTypeSummary.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

setColumnType(ColumnDataProfile.ColumnDataType value)

public ColumnDataProfile.Builder setColumnType(ColumnDataProfile.ColumnDataType value)

The data type of a given column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;

Parameter
NameDescription
valueColumnDataProfile.ColumnDataType

The columnType to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setColumnTypeValue(int value)

public ColumnDataProfile.Builder setColumnTypeValue(int value)

The data type of a given column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setDataRiskLevel(DataRiskLevel value)

public ColumnDataProfile.Builder setDataRiskLevel(DataRiskLevel value)

The data risk level for this column.

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

Parameter
NameDescription
valueDataRiskLevel
Returns
TypeDescription
ColumnDataProfile.Builder

setDataRiskLevel(DataRiskLevel.Builder builderForValue)

public ColumnDataProfile.Builder setDataRiskLevel(DataRiskLevel.Builder builderForValue)

The data risk level for this column.

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

Parameter
NameDescription
builderForValueDataRiskLevel.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

setDatasetId(String value)

public ColumnDataProfile.Builder setDatasetId(String value)

The BigQuery dataset ID.

string dataset_id = 21;

Parameter
NameDescription
valueString

The datasetId to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public ColumnDataProfile.Builder setDatasetIdBytes(ByteString value)

The BigQuery dataset ID.

string dataset_id = 21;

Parameter
NameDescription
valueByteString

The bytes for datasetId to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setDatasetLocation(String value)

public ColumnDataProfile.Builder setDatasetLocation(String value)

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

string dataset_location = 20;

Parameter
NameDescription
valueString

The datasetLocation to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setDatasetLocationBytes(ByteString value)

public ColumnDataProfile.Builder setDatasetLocationBytes(ByteString value)

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

string dataset_location = 20;

Parameter
NameDescription
valueByteString

The bytes for datasetLocation to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setDatasetProjectId(String value)

public ColumnDataProfile.Builder setDatasetProjectId(String value)

The Google Cloud project ID that owns the BigQuery dataset.

string dataset_project_id = 19;

Parameter
NameDescription
valueString

The datasetProjectId to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setDatasetProjectIdBytes(ByteString value)

public ColumnDataProfile.Builder setDatasetProjectIdBytes(ByteString value)

The Google Cloud project ID that owns the BigQuery dataset.

string dataset_project_id = 19;

Parameter
NameDescription
valueByteString

The bytes for datasetProjectId to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setEstimatedNullPercentage(NullPercentageLevel value)

public ColumnDataProfile.Builder setEstimatedNullPercentage(NullPercentageLevel value)

Approximate percentage of entries being null in the column.

.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;

Parameter
NameDescription
valueNullPercentageLevel

The estimatedNullPercentage to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setEstimatedNullPercentageValue(int value)

public ColumnDataProfile.Builder setEstimatedNullPercentageValue(int value)

Approximate percentage of entries being null in the column.

.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setEstimatedUniquenessScore(UniquenessScoreLevel value)

public ColumnDataProfile.Builder setEstimatedUniquenessScore(UniquenessScoreLevel value)

Approximate uniqueness of the column.

.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;

Parameter
NameDescription
valueUniquenessScoreLevel

The estimatedUniquenessScore to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setEstimatedUniquenessScoreValue(int value)

public ColumnDataProfile.Builder setEstimatedUniquenessScoreValue(int value)

Approximate uniqueness of the column.

.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFreeTextScore(double value)

public ColumnDataProfile.Builder setFreeTextScore(double value)

The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.

double free_text_score = 13;

Parameter
NameDescription
valuedouble

The freeTextScore to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setName(String value)

public ColumnDataProfile.Builder setName(String value)

The name of the profile.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ColumnDataProfile.Builder setNameBytes(ByteString value)

The name of the profile.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setOtherMatches(int index, OtherInfoTypeSummary value)

public ColumnDataProfile.Builder setOtherMatches(int index, OtherInfoTypeSummary value)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameters
NameDescription
indexint
valueOtherInfoTypeSummary
Returns
TypeDescription
ColumnDataProfile.Builder

setOtherMatches(int index, OtherInfoTypeSummary.Builder builderForValue)

public ColumnDataProfile.Builder setOtherMatches(int index, OtherInfoTypeSummary.Builder builderForValue)

Other types found within this column. List will be unordered.

repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;

Parameters
NameDescription
indexint
builderForValueOtherInfoTypeSummary.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

setPolicyState(ColumnDataProfile.ColumnPolicyState value)

public ColumnDataProfile.Builder setPolicyState(ColumnDataProfile.ColumnPolicyState value)

Indicates if a policy tag has been applied to the column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;

Parameter
NameDescription
valueColumnDataProfile.ColumnPolicyState

The policyState to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setPolicyStateValue(int value)

public ColumnDataProfile.Builder setPolicyStateValue(int value)

Indicates if a policy tag has been applied to the column.

.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setProfileLastGenerated(Timestamp value)

public ColumnDataProfile.Builder setProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ColumnDataProfile.Builder

setProfileLastGenerated(Timestamp.Builder builderForValue)

public ColumnDataProfile.Builder setProfileLastGenerated(Timestamp.Builder builderForValue)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ColumnDataProfile.Builder

setProfileStatus(ProfileStatus value)

public ColumnDataProfile.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 = 17;

Parameter
NameDescription
valueProfileStatus
Returns
TypeDescription
ColumnDataProfile.Builder

setProfileStatus(ProfileStatus.Builder builderForValue)

public ColumnDataProfile.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 = 17;

Parameter
NameDescription
builderForValueProfileStatus.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

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

public ColumnDataProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ColumnDataProfile.Builder
Overrides

setSensitivityScore(SensitivityScore value)

public ColumnDataProfile.Builder setSensitivityScore(SensitivityScore value)

The sensitivity of this column.

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

Parameter
NameDescription
valueSensitivityScore
Returns
TypeDescription
ColumnDataProfile.Builder

setSensitivityScore(SensitivityScore.Builder builderForValue)

public ColumnDataProfile.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)

The sensitivity of this column.

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

Parameter
NameDescription
builderForValueSensitivityScore.Builder
Returns
TypeDescription
ColumnDataProfile.Builder

setState(ColumnDataProfile.State value)

public ColumnDataProfile.Builder setState(ColumnDataProfile.State value)

State of a profile.

.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;

Parameter
NameDescription
valueColumnDataProfile.State

The state to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setStateValue(int value)

public ColumnDataProfile.Builder setStateValue(int value)

State of a profile.

.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setTableDataProfile(String value)

public ColumnDataProfile.Builder setTableDataProfile(String value)

The resource name of the table data profile.

string table_data_profile = 4;

Parameter
NameDescription
valueString

The tableDataProfile to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setTableDataProfileBytes(ByteString value)

public ColumnDataProfile.Builder setTableDataProfileBytes(ByteString value)

The resource name of the table data profile.

string table_data_profile = 4;

Parameter
NameDescription
valueByteString

The bytes for tableDataProfile to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setTableFullResource(String value)

public ColumnDataProfile.Builder setTableFullResource(String value)

The resource name of the table this column is within.

string table_full_resource = 5;

Parameter
NameDescription
valueString

The tableFullResource to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setTableFullResourceBytes(ByteString value)

public ColumnDataProfile.Builder setTableFullResourceBytes(ByteString value)

The resource name of the table this column is within.

string table_full_resource = 5;

Parameter
NameDescription
valueByteString

The bytes for tableFullResource to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setTableId(String value)

public ColumnDataProfile.Builder setTableId(String value)

The BigQuery table ID.

string table_id = 22;

Parameter
NameDescription
valueString

The tableId to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public ColumnDataProfile.Builder setTableIdBytes(ByteString value)

The BigQuery table ID.

string table_id = 22;

Parameter
NameDescription
valueByteString

The bytes for tableId to set.

Returns
TypeDescription
ColumnDataProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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