Package com.google.privacy.dlp.v2
Class ColumnDataProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnDataProfile.Builder>
com.google.privacy.dlp.v2.ColumnDataProfile.Builder
- All Implemented Interfaces:
ColumnDataProfileOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ColumnDataProfile
public static final class ColumnDataProfile.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ColumnDataProfile.Builder>
implements ColumnDataProfileOrBuilder
The profile for a scanned column within a table.Protobuf type
google.privacy.dlp.v2.ColumnDataProfile-
Method Summary
Modifier and TypeMethodDescriptionaddAllOtherMatches(Iterable<? extends OtherInfoTypeSummary> values) Other types found within this column.addOtherMatches(int index, OtherInfoTypeSummary value) Other types found within this column.addOtherMatches(int index, OtherInfoTypeSummary.Builder builderForValue) Other types found within this column.Other types found within this column.addOtherMatches(OtherInfoTypeSummary.Builder builderForValue) Other types found within this column.Other types found within this column.addOtherMatchesBuilder(int index) Other types found within this column.build()clear()The name of the column.If it's been determined this column can be identified as a single type, this will be set.The data type of a given column.The data risk level for this column.The BigQuery dataset ID, if the resource profiled is a BigQuery table.If supported, the location where the dataset's data is stored.The Google Cloud project ID that owns the profiled resource.Approximate percentage of entries being null in the column.Approximate uniqueness of the column.The likelihood that this column contains free-form text.The name of the profile.Other types found within this column.Indicates if a policy tag has been applied to the column.The last time the profile was generated.Success or error status from the most recent profile generation attempt.The sensitivity of this column.State of a profile.The resource name of the table data profile.The resource name of the resource this column is within.The table ID.The name of the column.com.google.protobuf.ByteStringThe name of the column.If it's been determined this column can be identified as a single type, this will be set.If it's been determined this column can be identified as a single type, this will be set.If it's been determined this column can be identified as a single type, this will be set.The data type of a given column.intThe data type of a given column.The data risk level for this column.The data risk level for this column.The data risk level for this column.The BigQuery dataset ID, if the resource profiled is a BigQuery table.com.google.protobuf.ByteStringThe BigQuery dataset ID, if the resource profiled is a BigQuery table.If supported, the location where the dataset's data is stored.com.google.protobuf.ByteStringIf supported, the location where the dataset's data is stored.The Google Cloud project ID that owns the profiled resource.com.google.protobuf.ByteStringThe Google Cloud project ID that owns the profiled resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorApproximate percentage of entries being null in the column.intApproximate percentage of entries being null in the column.Approximate uniqueness of the column.intApproximate uniqueness of the column.doubleThe likelihood that this column contains free-form text.getName()The name of the profile.com.google.protobuf.ByteStringThe name of the profile.getOtherMatches(int index) Other types found within this column.getOtherMatchesBuilder(int index) Other types found within this column.Other types found within this column.intOther types found within this column.Other types found within this column.getOtherMatchesOrBuilder(int index) Other types found within this column.List<? extends OtherInfoTypeSummaryOrBuilder>Other types found within this column.Indicates if a policy tag has been applied to the column.intIndicates if a policy tag has been applied to the column.com.google.protobuf.TimestampThe last time the profile was generated.com.google.protobuf.Timestamp.BuilderThe last time the profile was generated.com.google.protobuf.TimestampOrBuilderThe last time the profile was generated.Success or error status from the most recent profile generation attempt.Success or error status from the most recent profile generation attempt.Success or error status from the most recent profile generation attempt.The sensitivity of this column.The sensitivity of this column.The sensitivity of this column.getState()State of a profile.intState of a profile.The resource name of the table data profile.com.google.protobuf.ByteStringThe resource name of the table data profile.The resource name of the resource this column is within.com.google.protobuf.ByteStringThe resource name of the resource this column is within.The table ID.com.google.protobuf.ByteStringThe table ID.booleanIf it's been determined this column can be identified as a single type, this will be set.booleanThe data risk level for this column.booleanThe last time the profile was generated.booleanSuccess or error status from the most recent profile generation attempt.booleanThe sensitivity of this column.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanIf it's been determined this column can be identified as a single type, this will be set.mergeDataRiskLevel(DataRiskLevel value) The data risk level for this column.mergeFrom(ColumnDataProfile other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProfileLastGenerated(com.google.protobuf.Timestamp value) The last time the profile was generated.mergeProfileStatus(ProfileStatus value) Success or error status from the most recent profile generation attempt.The sensitivity of this column.removeOtherMatches(int index) Other types found within this column.The name of the column.setColumnBytes(com.google.protobuf.ByteString value) The name of the column.setColumnInfoType(InfoTypeSummary value) If it's been determined this column can be identified as a single type, this will be set.setColumnInfoType(InfoTypeSummary.Builder builderForValue) If it's been determined this column can be identified as a single type, this will be set.The data type of a given column.setColumnTypeValue(int value) The data type of a given column.setDataRiskLevel(DataRiskLevel value) The data risk level for this column.setDataRiskLevel(DataRiskLevel.Builder builderForValue) The data risk level for this column.setDatasetId(String value) The BigQuery dataset ID, if the resource profiled is a BigQuery table.setDatasetIdBytes(com.google.protobuf.ByteString value) The BigQuery dataset ID, if the resource profiled is a BigQuery table.setDatasetLocation(String value) If supported, the location where the dataset's data is stored.setDatasetLocationBytes(com.google.protobuf.ByteString value) If supported, the location where the dataset's data is stored.setDatasetProjectId(String value) The Google Cloud project ID that owns the profiled resource.setDatasetProjectIdBytes(com.google.protobuf.ByteString value) The Google Cloud project ID that owns the profiled resource.Approximate percentage of entries being null in the column.setEstimatedNullPercentageValue(int value) Approximate percentage of entries being null in the column.Approximate uniqueness of the column.setEstimatedUniquenessScoreValue(int value) Approximate uniqueness of the column.setFreeTextScore(double value) The likelihood that this column contains free-form text.The name of the profile.setNameBytes(com.google.protobuf.ByteString value) The name of the profile.setOtherMatches(int index, OtherInfoTypeSummary value) Other types found within this column.setOtherMatches(int index, OtherInfoTypeSummary.Builder builderForValue) Other types found within this column.Indicates if a policy tag has been applied to the column.setPolicyStateValue(int value) Indicates if a policy tag has been applied to the column.setProfileLastGenerated(com.google.protobuf.Timestamp value) The last time the profile was generated.setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue) The last time the profile was generated.setProfileStatus(ProfileStatus value) Success or error status from the most recent profile generation attempt.setProfileStatus(ProfileStatus.Builder builderForValue) Success or error status from the most recent profile generation attempt.The sensitivity of this column.setSensitivityScore(SensitivityScore.Builder builderForValue) The sensitivity of this column.setState(ColumnDataProfile.State value) State of a profile.setStateValue(int value) State of a profile.setTableDataProfile(String value) The resource name of the table data profile.setTableDataProfileBytes(com.google.protobuf.ByteString value) The resource name of the table data profile.setTableFullResource(String value) The resource name of the resource this column is within.setTableFullResourceBytes(com.google.protobuf.ByteString value) The resource name of the resource this column is within.setTableId(String value) The table ID.setTableIdBytes(com.google.protobuf.ByteString value) The table ID.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ColumnDataProfile.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ColumnDataProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ColumnDataProfile.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnDataProfile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ColumnDataProfile.Builder>
-
mergeFrom
public ColumnDataProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnDataProfile.Builder>- Throws:
IOException
-
getName
The name of the profile.
string name = 1;- Specified by:
getNamein interfaceColumnDataProfileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the profile.
string name = 1;- Specified by:
getNameBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the profile.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the profile.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the profile.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasProfileStatusin interfaceColumnDataProfileOrBuilder- Returns:
- Whether the profileStatus field is set.
-
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;- Specified by:
getProfileStatusin interfaceColumnDataProfileOrBuilder- Returns:
- The profileStatus.
-
setProfileStatus
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; -
setProfileStatus
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; -
mergeProfileStatus
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; -
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; -
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; -
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;- Specified by:
getProfileStatusOrBuilderin interfaceColumnDataProfileOrBuilder
-
getStateValue
public int getStateValue()State of a profile.
.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;- Specified by:
getStateValuein interfaceColumnDataProfileOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
State of a profile.
.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
State of a profile.
.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;- Specified by:
getStatein interfaceColumnDataProfileOrBuilder- Returns:
- The state.
-
setState
State of a profile.
.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
State of a profile.
.google.privacy.dlp.v2.ColumnDataProfile.State state = 18;- Returns:
- This builder for chaining.
-
hasProfileLastGenerated
public boolean hasProfileLastGenerated()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3;- Specified by:
hasProfileLastGeneratedin interfaceColumnDataProfileOrBuilder- Returns:
- Whether the profileLastGenerated field is set.
-
getProfileLastGenerated
public com.google.protobuf.Timestamp getProfileLastGenerated()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3;- Specified by:
getProfileLastGeneratedin interfaceColumnDataProfileOrBuilder- Returns:
- The profileLastGenerated.
-
setProfileLastGenerated
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
setProfileLastGenerated
public ColumnDataProfile.Builder setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue) The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
mergeProfileLastGenerated
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
clearProfileLastGenerated
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
getProfileLastGeneratedBuilder
public com.google.protobuf.Timestamp.Builder getProfileLastGeneratedBuilder()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
getProfileLastGeneratedOrBuilder
public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3;- Specified by:
getProfileLastGeneratedOrBuilderin interfaceColumnDataProfileOrBuilder
-
getTableDataProfile
The resource name of the table data profile.
string table_data_profile = 4;- Specified by:
getTableDataProfilein interfaceColumnDataProfileOrBuilder- Returns:
- The tableDataProfile.
-
getTableDataProfileBytes
public com.google.protobuf.ByteString getTableDataProfileBytes()The resource name of the table data profile.
string table_data_profile = 4;- Specified by:
getTableDataProfileBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for tableDataProfile.
-
setTableDataProfile
The resource name of the table data profile.
string table_data_profile = 4;- Parameters:
value- The tableDataProfile to set.- Returns:
- This builder for chaining.
-
clearTableDataProfile
The resource name of the table data profile.
string table_data_profile = 4;- Returns:
- This builder for chaining.
-
setTableDataProfileBytes
The resource name of the table data profile.
string table_data_profile = 4;- Parameters:
value- The bytes for tableDataProfile to set.- Returns:
- This builder for chaining.
-
getTableFullResource
The resource name of the resource this column is within.
string table_full_resource = 5;- Specified by:
getTableFullResourcein interfaceColumnDataProfileOrBuilder- Returns:
- The tableFullResource.
-
getTableFullResourceBytes
public com.google.protobuf.ByteString getTableFullResourceBytes()The resource name of the resource this column is within.
string table_full_resource = 5;- Specified by:
getTableFullResourceBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for tableFullResource.
-
setTableFullResource
The resource name of the resource this column is within.
string table_full_resource = 5;- Parameters:
value- The tableFullResource to set.- Returns:
- This builder for chaining.
-
clearTableFullResource
The resource name of the resource this column is within.
string table_full_resource = 5;- Returns:
- This builder for chaining.
-
setTableFullResourceBytes
The resource name of the resource this column is within.
string table_full_resource = 5;- Parameters:
value- The bytes for tableFullResource to set.- Returns:
- This builder for chaining.
-
getDatasetProjectId
The Google Cloud project ID that owns the profiled resource.
string dataset_project_id = 19;- Specified by:
getDatasetProjectIdin interfaceColumnDataProfileOrBuilder- Returns:
- The datasetProjectId.
-
getDatasetProjectIdBytes
public com.google.protobuf.ByteString getDatasetProjectIdBytes()The Google Cloud project ID that owns the profiled resource.
string dataset_project_id = 19;- Specified by:
getDatasetProjectIdBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for datasetProjectId.
-
setDatasetProjectId
The Google Cloud project ID that owns the profiled resource.
string dataset_project_id = 19;- Parameters:
value- The datasetProjectId to set.- Returns:
- This builder for chaining.
-
clearDatasetProjectId
The Google Cloud project ID that owns the profiled resource.
string dataset_project_id = 19;- Returns:
- This builder for chaining.
-
setDatasetProjectIdBytes
The Google Cloud project ID that owns the profiled resource.
string dataset_project_id = 19;- Parameters:
value- The bytes for datasetProjectId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDatasetLocationin interfaceColumnDataProfileOrBuilder- Returns:
- The datasetLocation.
-
getDatasetLocationBytes
public com.google.protobuf.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;- Specified by:
getDatasetLocationBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for datasetLocation.
-
setDatasetLocation
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;- Parameters:
value- The datasetLocation to set.- Returns:
- This builder for chaining.
-
clearDatasetLocation
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:
- This builder for chaining.
-
setDatasetLocationBytes
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;- Parameters:
value- The bytes for datasetLocation to set.- Returns:
- This builder for chaining.
-
getDatasetId
The BigQuery dataset ID, if the resource profiled is a BigQuery table.
string dataset_id = 21;- Specified by:
getDatasetIdin interfaceColumnDataProfileOrBuilder- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()The BigQuery dataset ID, if the resource profiled is a BigQuery table.
string dataset_id = 21;- Specified by:
getDatasetIdBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for datasetId.
-
setDatasetId
The BigQuery dataset ID, if the resource profiled is a BigQuery table.
string dataset_id = 21;- Parameters:
value- The datasetId to set.- Returns:
- This builder for chaining.
-
clearDatasetId
The BigQuery dataset ID, if the resource profiled is a BigQuery table.
string dataset_id = 21;- Returns:
- This builder for chaining.
-
setDatasetIdBytes
The BigQuery dataset ID, if the resource profiled is a BigQuery table.
string dataset_id = 21;- Parameters:
value- The bytes for datasetId to set.- Returns:
- This builder for chaining.
-
getTableId
The table ID.
string table_id = 22;- Specified by:
getTableIdin interfaceColumnDataProfileOrBuilder- Returns:
- The tableId.
-
getTableIdBytes
public com.google.protobuf.ByteString getTableIdBytes()The table ID.
string table_id = 22;- Specified by:
getTableIdBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for tableId.
-
setTableId
The table ID.
string table_id = 22;- Parameters:
value- The tableId to set.- Returns:
- This builder for chaining.
-
clearTableId
The table ID.
string table_id = 22;- Returns:
- This builder for chaining.
-
setTableIdBytes
The table ID.
string table_id = 22;- Parameters:
value- The bytes for tableId to set.- Returns:
- This builder for chaining.
-
getColumn
The name of the column.
string column = 6;- Specified by:
getColumnin interfaceColumnDataProfileOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()The name of the column.
string column = 6;- Specified by:
getColumnBytesin interfaceColumnDataProfileOrBuilder- Returns:
- The bytes for column.
-
setColumn
The name of the column.
string column = 6;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
The name of the column.
string column = 6;- Returns:
- This builder for chaining.
-
setColumnBytes
The name of the column.
string column = 6;- Parameters:
value- The bytes for column to set.- Returns:
- This builder for chaining.
-
hasSensitivityScore
public boolean hasSensitivityScore()The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7;- Specified by:
hasSensitivityScorein interfaceColumnDataProfileOrBuilder- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7;- Specified by:
getSensitivityScorein interfaceColumnDataProfileOrBuilder- Returns:
- The sensitivityScore.
-
setSensitivityScore
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7; -
setSensitivityScore
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7; -
mergeSensitivityScore
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7; -
clearSensitivityScore
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7; -
getSensitivityScoreBuilder
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7; -
getSensitivityScoreOrBuilder
The sensitivity of this column.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7;- Specified by:
getSensitivityScoreOrBuilderin interfaceColumnDataProfileOrBuilder
-
hasDataRiskLevel
public boolean hasDataRiskLevel()The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8;- Specified by:
hasDataRiskLevelin interfaceColumnDataProfileOrBuilder- Returns:
- Whether the dataRiskLevel field is set.
-
getDataRiskLevel
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8;- Specified by:
getDataRiskLevelin interfaceColumnDataProfileOrBuilder- Returns:
- The dataRiskLevel.
-
setDataRiskLevel
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8; -
setDataRiskLevel
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8; -
mergeDataRiskLevel
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8; -
clearDataRiskLevel
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8; -
getDataRiskLevelBuilder
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8; -
getDataRiskLevelOrBuilder
The data risk level for this column.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8;- Specified by:
getDataRiskLevelOrBuilderin interfaceColumnDataProfileOrBuilder
-
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;- Specified by:
hasColumnInfoTypein interfaceColumnDataProfileOrBuilder- Returns:
- Whether the columnInfoType field is set.
-
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;- Specified by:
getColumnInfoTypein interfaceColumnDataProfileOrBuilder- Returns:
- The columnInfoType.
-
setColumnInfoType
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; -
setColumnInfoType
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; -
mergeColumnInfoType
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; -
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; -
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; -
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;- Specified by:
getColumnInfoTypeOrBuilderin interfaceColumnDataProfileOrBuilder
-
getOtherMatchesList
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;- Specified by:
getOtherMatchesListin interfaceColumnDataProfileOrBuilder
-
getOtherMatchesCount
public int getOtherMatchesCount()Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;- Specified by:
getOtherMatchesCountin interfaceColumnDataProfileOrBuilder
-
getOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;- Specified by:
getOtherMatchesin interfaceColumnDataProfileOrBuilder
-
setOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
setOtherMatches
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; -
addOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
addOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
addOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
addOtherMatches
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; -
addAllOtherMatches
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; -
clearOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
removeOtherMatches
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
getOtherMatchesBuilder
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
getOtherMatchesOrBuilder
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;- Specified by:
getOtherMatchesOrBuilderin interfaceColumnDataProfileOrBuilder
-
getOtherMatchesOrBuilderList
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;- Specified by:
getOtherMatchesOrBuilderListin interfaceColumnDataProfileOrBuilder
-
addOtherMatchesBuilder
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
addOtherMatchesBuilder
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
getOtherMatchesBuilderList
Other types found within this column. List will be unordered.
repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; -
getEstimatedNullPercentageValue
public int getEstimatedNullPercentageValue()Approximate percentage of entries being null in the column.
.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;- Specified by:
getEstimatedNullPercentageValuein interfaceColumnDataProfileOrBuilder- Returns:
- The enum numeric value on the wire for estimatedNullPercentage.
-
setEstimatedNullPercentageValue
Approximate percentage of entries being null in the column.
.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;- Parameters:
value- The enum numeric value on the wire for estimatedNullPercentage to set.- Returns:
- This builder for chaining.
-
getEstimatedNullPercentage
Approximate percentage of entries being null in the column.
.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;- Specified by:
getEstimatedNullPercentagein interfaceColumnDataProfileOrBuilder- Returns:
- The estimatedNullPercentage.
-
setEstimatedNullPercentage
Approximate percentage of entries being null in the column.
.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;- Parameters:
value- The estimatedNullPercentage to set.- Returns:
- This builder for chaining.
-
clearEstimatedNullPercentage
Approximate percentage of entries being null in the column.
.google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;- Returns:
- This builder for chaining.
-
getEstimatedUniquenessScoreValue
public int getEstimatedUniquenessScoreValue()Approximate uniqueness of the column.
.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;- Specified by:
getEstimatedUniquenessScoreValuein interfaceColumnDataProfileOrBuilder- Returns:
- The enum numeric value on the wire for estimatedUniquenessScore.
-
setEstimatedUniquenessScoreValue
Approximate uniqueness of the column.
.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;- Parameters:
value- The enum numeric value on the wire for estimatedUniquenessScore to set.- Returns:
- This builder for chaining.
-
getEstimatedUniquenessScore
Approximate uniqueness of the column.
.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;- Specified by:
getEstimatedUniquenessScorein interfaceColumnDataProfileOrBuilder- Returns:
- The estimatedUniquenessScore.
-
setEstimatedUniquenessScore
Approximate uniqueness of the column.
.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;- Parameters:
value- The estimatedUniquenessScore to set.- Returns:
- This builder for chaining.
-
clearEstimatedUniquenessScore
Approximate uniqueness of the column.
.google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;- Returns:
- This builder for chaining.
-
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;- Specified by:
getFreeTextScorein interfaceColumnDataProfileOrBuilder- Returns:
- The freeTextScore.
-
setFreeTextScore
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;- Parameters:
value- The freeTextScore to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getColumnTypeValue
public int getColumnTypeValue()The data type of a given column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;- Specified by:
getColumnTypeValuein interfaceColumnDataProfileOrBuilder- Returns:
- The enum numeric value on the wire for columnType.
-
setColumnTypeValue
The data type of a given column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;- Parameters:
value- The enum numeric value on the wire for columnType to set.- Returns:
- This builder for chaining.
-
getColumnType
The data type of a given column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;- Specified by:
getColumnTypein interfaceColumnDataProfileOrBuilder- Returns:
- The columnType.
-
setColumnType
The data type of a given column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;- Parameters:
value- The columnType to set.- Returns:
- This builder for chaining.
-
clearColumnType
The data type of a given column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;- Returns:
- This builder for chaining.
-
getPolicyStateValue
public int getPolicyStateValue()Indicates if a policy tag has been applied to the column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;- Specified by:
getPolicyStateValuein interfaceColumnDataProfileOrBuilder- Returns:
- The enum numeric value on the wire for policyState.
-
setPolicyStateValue
Indicates if a policy tag has been applied to the column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;- Parameters:
value- The enum numeric value on the wire for policyState to set.- Returns:
- This builder for chaining.
-
getPolicyState
Indicates if a policy tag has been applied to the column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;- Specified by:
getPolicyStatein interfaceColumnDataProfileOrBuilder- Returns:
- The policyState.
-
setPolicyState
Indicates if a policy tag has been applied to the column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;- Parameters:
value- The policyState to set.- Returns:
- This builder for chaining.
-
clearPolicyState
Indicates if a policy tag has been applied to the column.
.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState policy_state = 15;- Returns:
- This builder for chaining.
-