Class ColumnDataProfile.Builder (3.47.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
Type Description
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
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.OtherInfoTypeSummary>
Returns
Type Description
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
Name Description
value OtherInfoTypeSummary
Returns
Type Description
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
Name Description
builderForValue OtherInfoTypeSummary.Builder
Returns
Type Description
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
Name Description
index int
value OtherInfoTypeSummary
Returns
Type Description
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
Name Description
index int
builderForValue OtherInfoTypeSummary.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
OtherInfoTypeSummary.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ColumnDataProfile build()
Returns
Type Description
ColumnDataProfile

buildPartial()

public ColumnDataProfile buildPartial()
Returns
Type Description
ColumnDataProfile

clear()

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

clearColumn()

public ColumnDataProfile.Builder clearColumn()

The name of the column.

string column = 6;

Returns
Type Description
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
Type Description
ColumnDataProfile.Builder

clearColumnType()

public ColumnDataProfile.Builder clearColumnType()

The data type of a given column.

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

Returns
Type Description
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
Type Description
ColumnDataProfile.Builder

clearDatasetId()

public ColumnDataProfile.Builder clearDatasetId()

The BigQuery dataset ID.

string dataset_id = 21;

Returns
Type Description
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
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clearDatasetProjectId()

public ColumnDataProfile.Builder clearDatasetProjectId()

The Google Cloud project ID that owns the profiled resource.

string dataset_project_id = 19;

Returns
Type Description
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
Type Description
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
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ColumnDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clearName()

public ColumnDataProfile.Builder clearName()

The name of the profile.

string name = 1;

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ColumnDataProfile.Builder

clearSensitivityScore()

public ColumnDataProfile.Builder clearSensitivityScore()

The sensitivity of this column.

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

Returns
Type Description
ColumnDataProfile.Builder

clearState()

public ColumnDataProfile.Builder clearState()

State of a profile.

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

Returns
Type Description
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
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clearTableFullResource()

public ColumnDataProfile.Builder clearTableFullResource()

The resource name of the resource this column is within.

string table_full_resource = 5;

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clearTableId()

public ColumnDataProfile.Builder clearTableId()

The BigQuery table ID.

string table_id = 22;

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

clone()

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

getColumn()

public String getColumn()

The name of the column.

string column = 6;

Returns
Type Description
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

The name of the column.

string column = 6;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
InfoTypeSummaryOrBuilder

getColumnType()

public ColumnDataProfile.ColumnDataType getColumnType()

The data type of a given column.

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

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

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level for this column.

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

Returns
Type Description
DataRiskLevelOrBuilder

getDatasetId()

public String getDatasetId()

The BigQuery dataset ID.

string dataset_id = 21;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The BigQuery dataset ID.

string dataset_id = 21;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for datasetLocation.

getDatasetProjectId()

public String getDatasetProjectId()

The Google Cloud project ID that owns the profiled resource.

string dataset_project_id = 19;

Returns
Type Description
String

The datasetProjectId.

getDatasetProjectIdBytes()

public ByteString getDatasetProjectIdBytes()

The Google Cloud project ID that owns the profiled resource.

string dataset_project_id = 19;

Returns
Type Description
ByteString

The bytes for datasetProjectId.

getDefaultInstanceForType()

public ColumnDataProfile getDefaultInstanceForType()
Returns
Type Description
ColumnDataProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
UniquenessScoreLevel

The estimatedUniquenessScore.

getEstimatedUniquenessScoreValue()

public int getEstimatedUniquenessScoreValue()

Approximate uniqueness of the column.

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

Returns
Type Description
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
Type Description
double

The freeTextScore.

getName()

public String getName()

The name of the profile.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the profile.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

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

The profileLastGenerated.

getProfileLastGeneratedBuilder()

public Timestamp.Builder getProfileLastGeneratedBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
Builder

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
TimestampOrBuilder

getProfileStatus()

public ProfileStatus getProfileStatus()

Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.

.google.privacy.dlp.v2.ProfileStatus profile_status = 17;

Returns
Type Description
ProfileStatus

The profileStatus.

getProfileStatusBuilder()

public ProfileStatus.Builder getProfileStatusBuilder()

Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.

.google.privacy.dlp.v2.ProfileStatus profile_status = 17;

Returns
Type Description
ProfileStatus.Builder

getProfileStatusOrBuilder()

public ProfileStatusOrBuilder getProfileStatusOrBuilder()

Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.

.google.privacy.dlp.v2.ProfileStatus profile_status = 17;

Returns
Type Description
ProfileStatusOrBuilder

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity of this column.

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

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

The sensitivity of this column.

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

Returns
Type Description
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity of this column.

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

Returns
Type Description
SensitivityScoreOrBuilder

getState()

public ColumnDataProfile.State getState()

State of a profile.

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

Returns
Type Description
ColumnDataProfile.State

The state.

getStateValue()

public int getStateValue()

State of a profile.

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

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

The tableDataProfile.

getTableDataProfileBytes()

public ByteString getTableDataProfileBytes()

The resource name of the table data profile.

string table_data_profile = 4;

Returns
Type Description
ByteString

The bytes for tableDataProfile.

getTableFullResource()

public String getTableFullResource()

The resource name of the resource this column is within.

string table_full_resource = 5;

Returns
Type Description
String

The tableFullResource.

getTableFullResourceBytes()

public ByteString getTableFullResourceBytes()

The resource name of the resource this column is within.

string table_full_resource = 5;

Returns
Type Description
ByteString

The bytes for tableFullResource.

getTableId()

public String getTableId()

The BigQuery table ID.

string table_id = 22;

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

The BigQuery table ID.

string table_id = 22;

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

Whether the profileLastGenerated field is set.

hasProfileStatus()

public boolean hasProfileStatus()

Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.

.google.privacy.dlp.v2.ProfileStatus profile_status = 17;

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

Whether the sensitivityScore field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value InfoTypeSummary
Returns
Type Description
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
Name Description
value DataRiskLevel
Returns
Type Description
ColumnDataProfile.Builder

mergeFrom(ColumnDataProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ColumnDataProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value ProfileStatus
Returns
Type Description
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
Name Description
value SensitivityScore
Returns
Type Description
ColumnDataProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ColumnDataProfile.Builder

setColumn(String value)

public ColumnDataProfile.Builder setColumn(String value)

The name of the column.

string column = 6;

Parameter
Name Description
value String

The column to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public ColumnDataProfile.Builder setColumnBytes(ByteString value)

The name of the column.

string column = 6;

Parameter
Name Description
value ByteString

The bytes for column to set.

Returns
Type Description
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
Name Description
value InfoTypeSummary
Returns
Type Description
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
Name Description
builderForValue InfoTypeSummary.Builder
Returns
Type Description
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
Name Description
value ColumnDataProfile.ColumnDataType

The columnType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value DataRiskLevel
Returns
Type Description
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
Name Description
builderForValue DataRiskLevel.Builder
Returns
Type Description
ColumnDataProfile.Builder

setDatasetId(String value)

public ColumnDataProfile.Builder setDatasetId(String value)

The BigQuery dataset ID.

string dataset_id = 21;

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public ColumnDataProfile.Builder setDatasetIdBytes(ByteString value)

The BigQuery dataset ID.

string dataset_id = 21;

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

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

The datasetLocation to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for datasetLocation to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setDatasetProjectId(String value)

public ColumnDataProfile.Builder setDatasetProjectId(String value)

The Google Cloud project ID that owns the profiled resource.

string dataset_project_id = 19;

Parameter
Name Description
value String

The datasetProjectId to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setDatasetProjectIdBytes(ByteString value)

public ColumnDataProfile.Builder setDatasetProjectIdBytes(ByteString value)

The Google Cloud project ID that owns the profiled resource.

string dataset_project_id = 19;

Parameter
Name Description
value ByteString

The bytes for datasetProjectId to set.

Returns
Type Description
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
Name Description
value NullPercentageLevel

The estimatedNullPercentage to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value UniquenessScoreLevel

The estimatedUniquenessScore to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ColumnDataProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value double

The freeTextScore to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setName(String value)

public ColumnDataProfile.Builder setName(String value)

The name of the profile.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ColumnDataProfile.Builder setNameBytes(ByteString value)

The name of the profile.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
index int
value OtherInfoTypeSummary
Returns
Type Description
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
Name Description
index int
builderForValue OtherInfoTypeSummary.Builder
Returns
Type Description
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
Name Description
value ColumnDataProfile.ColumnPolicyState

The policyState to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value ProfileStatus
Returns
Type Description
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
Name Description
builderForValue ProfileStatus.Builder
Returns
Type Description
ColumnDataProfile.Builder

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

public ColumnDataProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value SensitivityScore
Returns
Type Description
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
Name Description
builderForValue SensitivityScore.Builder
Returns
Type Description
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
Name Description
value ColumnDataProfile.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

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

The tableDataProfile to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for tableDataProfile to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setTableFullResource(String value)

public ColumnDataProfile.Builder setTableFullResource(String value)

The resource name of the resource this column is within.

string table_full_resource = 5;

Parameter
Name Description
value String

The tableFullResource to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setTableFullResourceBytes(ByteString value)

public ColumnDataProfile.Builder setTableFullResourceBytes(ByteString value)

The resource name of the resource this column is within.

string table_full_resource = 5;

Parameter
Name Description
value ByteString

The bytes for tableFullResource to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setTableId(String value)

public ColumnDataProfile.Builder setTableId(String value)

The BigQuery table ID.

string table_id = 22;

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public ColumnDataProfile.Builder setTableIdBytes(ByteString value)

The BigQuery table ID.

string table_id = 22;

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
ColumnDataProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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