Class ColumnDataProfile (3.58.0)

public final class ColumnDataProfile extends GeneratedMessageV3 implements ColumnDataProfileOrBuilder

The profile for a scanned column within a table.

Protobuf type google.privacy.dlp.v2.ColumnDataProfile

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
Type Description
int

COLUMN_INFO_TYPE_FIELD_NUMBER

public static final int COLUMN_INFO_TYPE_FIELD_NUMBER
Field Value
Type Description
int

COLUMN_TYPE_FIELD_NUMBER

public static final int COLUMN_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DATASET_ID_FIELD_NUMBER

public static final int DATASET_ID_FIELD_NUMBER
Field Value
Type Description
int

DATASET_LOCATION_FIELD_NUMBER

public static final int DATASET_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

DATASET_PROJECT_ID_FIELD_NUMBER

public static final int DATASET_PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

DATA_RISK_LEVEL_FIELD_NUMBER

public static final int DATA_RISK_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

ESTIMATED_NULL_PERCENTAGE_FIELD_NUMBER

public static final int ESTIMATED_NULL_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

ESTIMATED_UNIQUENESS_SCORE_FIELD_NUMBER

public static final int ESTIMATED_UNIQUENESS_SCORE_FIELD_NUMBER
Field Value
Type Description
int

FREE_TEXT_SCORE_FIELD_NUMBER

public static final int FREE_TEXT_SCORE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OTHER_MATCHES_FIELD_NUMBER

public static final int OTHER_MATCHES_FIELD_NUMBER
Field Value
Type Description
int

POLICY_STATE_FIELD_NUMBER

public static final int POLICY_STATE_FIELD_NUMBER
Field Value
Type Description
int

PROFILE_LAST_GENERATED_FIELD_NUMBER

public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER
Field Value
Type Description
int

PROFILE_STATUS_FIELD_NUMBER

public static final int PROFILE_STATUS_FIELD_NUMBER
Field Value
Type Description
int

SENSITIVITY_SCORE_FIELD_NUMBER

public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_DATA_PROFILE_FIELD_NUMBER

public static final int TABLE_DATA_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_FULL_RESOURCE_FIELD_NUMBER

public static final int TABLE_FULL_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_ID_FIELD_NUMBER

public static final int TABLE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ColumnDataProfile getDefaultInstance()
Returns
Type Description
ColumnDataProfile

getDescriptor()

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

newBuilder()

public static ColumnDataProfile.Builder newBuilder()
Returns
Type Description
ColumnDataProfile.Builder

newBuilder(ColumnDataProfile prototype)

public static ColumnDataProfile.Builder newBuilder(ColumnDataProfile prototype)
Parameter
Name Description
prototype ColumnDataProfile
Returns
Type Description
ColumnDataProfile.Builder

parseDelimitedFrom(InputStream input)

public static ColumnDataProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDataProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ColumnDataProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnDataProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnDataProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnDataProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnDataProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDataProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ColumnDataProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnDataProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ColumnDataProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnDataProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnDataProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ColumnDataProfile> parser()
Returns
Type Description
Parser<ColumnDataProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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, if the resource profiled is a BigQuery table.

string dataset_id = 21;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The BigQuery dataset ID, if the resource profiled is a BigQuery table.

string dataset_id = 21;

Returns
Type Description
ByteString

The bytes for datasetId.

getDatasetLocation()

public String getDatasetLocation()

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

string dataset_location = 20;

Returns
Type Description
String

The datasetLocation.

getDatasetLocationBytes()

public ByteString getDatasetLocationBytes()

If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported BigQuery 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

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

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>

getParserForType()

public Parser<ColumnDataProfile> getParserForType()
Returns
Type Description
Parser<ColumnDataProfile>
Overrides

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.

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.

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.

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity of this column.

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

Returns
Type Description
SensitivityScoreOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 table ID.

string table_id = 22;

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

The 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ColumnDataProfile.Builder newBuilderForType()
Returns
Type Description
ColumnDataProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnDataProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ColumnDataProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ColumnDataProfile.Builder toBuilder()
Returns
Type Description
ColumnDataProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException