Class ColumnDataProfile

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.ColumnDataProfile
All Implemented Interfaces:
ColumnDataProfileOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ColumnDataProfile extends com.google.protobuf.GeneratedMessage implements ColumnDataProfileOrBuilder
 The profile for a scanned column within a table.
 
Protobuf type google.privacy.dlp.v2.ColumnDataProfile
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PROFILE_STATUS_FIELD_NUMBER

      public static final int PROFILE_STATUS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • PROFILE_LAST_GENERATED_FIELD_NUMBER

      public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER
      See Also:
    • TABLE_DATA_PROFILE_FIELD_NUMBER

      public static final int TABLE_DATA_PROFILE_FIELD_NUMBER
      See Also:
    • TABLE_FULL_RESOURCE_FIELD_NUMBER

      public static final int TABLE_FULL_RESOURCE_FIELD_NUMBER
      See Also:
    • DATASET_PROJECT_ID_FIELD_NUMBER

      public static final int DATASET_PROJECT_ID_FIELD_NUMBER
      See Also:
    • DATASET_LOCATION_FIELD_NUMBER

      public static final int DATASET_LOCATION_FIELD_NUMBER
      See Also:
    • DATASET_ID_FIELD_NUMBER

      public static final int DATASET_ID_FIELD_NUMBER
      See Also:
    • TABLE_ID_FIELD_NUMBER

      public static final int TABLE_ID_FIELD_NUMBER
      See Also:
    • COLUMN_FIELD_NUMBER

      public static final int COLUMN_FIELD_NUMBER
      See Also:
    • SENSITIVITY_SCORE_FIELD_NUMBER

      public static final int SENSITIVITY_SCORE_FIELD_NUMBER
      See Also:
    • DATA_RISK_LEVEL_FIELD_NUMBER

      public static final int DATA_RISK_LEVEL_FIELD_NUMBER
      See Also:
    • COLUMN_INFO_TYPE_FIELD_NUMBER

      public static final int COLUMN_INFO_TYPE_FIELD_NUMBER
      See Also:
    • OTHER_MATCHES_FIELD_NUMBER

      public static final int OTHER_MATCHES_FIELD_NUMBER
      See Also:
    • ESTIMATED_NULL_PERCENTAGE_FIELD_NUMBER

      public static final int ESTIMATED_NULL_PERCENTAGE_FIELD_NUMBER
      See Also:
    • ESTIMATED_UNIQUENESS_SCORE_FIELD_NUMBER

      public static final int ESTIMATED_UNIQUENESS_SCORE_FIELD_NUMBER
      See Also:
    • FREE_TEXT_SCORE_FIELD_NUMBER

      public static final int FREE_TEXT_SCORE_FIELD_NUMBER
      See Also:
    • COLUMN_TYPE_FIELD_NUMBER

      public static final int COLUMN_TYPE_FIELD_NUMBER
      See Also:
    • POLICY_STATE_FIELD_NUMBER

      public static final int POLICY_STATE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The name of the profile.
       
      string name = 1;
      Specified by:
      getName in interface ColumnDataProfileOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the profile.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for name.
    • 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:
      hasProfileStatus in interface ColumnDataProfileOrBuilder
      Returns:
      Whether the profileStatus field is set.
    • 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;
      Specified by:
      getProfileStatus in interface ColumnDataProfileOrBuilder
      Returns:
      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;
      Specified by:
      getProfileStatusOrBuilder in interface ColumnDataProfileOrBuilder
    • getStateValue

      public int getStateValue()
       State of a profile.
       
      .google.privacy.dlp.v2.ColumnDataProfile.State state = 18;
      Specified by:
      getStateValue in interface ColumnDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public ColumnDataProfile.State getState()
       State of a profile.
       
      .google.privacy.dlp.v2.ColumnDataProfile.State state = 18;
      Specified by:
      getState in interface ColumnDataProfileOrBuilder
      Returns:
      The state.
    • hasProfileLastGenerated

      public boolean hasProfileLastGenerated()
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 3;
      Specified by:
      hasProfileLastGenerated in interface ColumnDataProfileOrBuilder
      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:
      getProfileLastGenerated in interface ColumnDataProfileOrBuilder
      Returns:
      The profileLastGenerated.
    • getProfileLastGeneratedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder()
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 3;
      Specified by:
      getProfileLastGeneratedOrBuilder in interface ColumnDataProfileOrBuilder
    • getTableDataProfile

      public String getTableDataProfile()
       The resource name of the table data profile.
       
      string table_data_profile = 4;
      Specified by:
      getTableDataProfile in interface ColumnDataProfileOrBuilder
      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:
      getTableDataProfileBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for tableDataProfile.
    • getTableFullResource

      public String getTableFullResource()
       The resource name of the resource this column is within.
       
      string table_full_resource = 5;
      Specified by:
      getTableFullResource in interface ColumnDataProfileOrBuilder
      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:
      getTableFullResourceBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for tableFullResource.
    • getDatasetProjectId

      public String getDatasetProjectId()
       The Google Cloud project ID that owns the profiled resource.
       
      string dataset_project_id = 19;
      Specified by:
      getDatasetProjectId in interface ColumnDataProfileOrBuilder
      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:
      getDatasetProjectIdBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for datasetProjectId.
    • 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;
      Specified by:
      getDatasetLocation in interface ColumnDataProfileOrBuilder
      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:
      getDatasetLocationBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for datasetLocation.
    • getDatasetId

      public String getDatasetId()
       The BigQuery dataset ID, if the resource profiled is a BigQuery table.
       
      string dataset_id = 21;
      Specified by:
      getDatasetId in interface ColumnDataProfileOrBuilder
      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:
      getDatasetIdBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for datasetId.
    • getTableId

      public String getTableId()
       The table ID.
       
      string table_id = 22;
      Specified by:
      getTableId in interface ColumnDataProfileOrBuilder
      Returns:
      The tableId.
    • getTableIdBytes

      public com.google.protobuf.ByteString getTableIdBytes()
       The table ID.
       
      string table_id = 22;
      Specified by:
      getTableIdBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for tableId.
    • getColumn

      public String getColumn()
       The name of the column.
       
      string column = 6;
      Specified by:
      getColumn in interface ColumnDataProfileOrBuilder
      Returns:
      The column.
    • getColumnBytes

      public com.google.protobuf.ByteString getColumnBytes()
       The name of the column.
       
      string column = 6;
      Specified by:
      getColumnBytes in interface ColumnDataProfileOrBuilder
      Returns:
      The bytes for column.
    • hasSensitivityScore

      public boolean hasSensitivityScore()
       The sensitivity of this column.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7;
      Specified by:
      hasSensitivityScore in interface ColumnDataProfileOrBuilder
      Returns:
      Whether the sensitivityScore field is set.
    • getSensitivityScore

      public SensitivityScore getSensitivityScore()
       The sensitivity of this column.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7;
      Specified by:
      getSensitivityScore in interface ColumnDataProfileOrBuilder
      Returns:
      The sensitivityScore.
    • getSensitivityScoreOrBuilder

      public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()
       The sensitivity of this column.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 7;
      Specified by:
      getSensitivityScoreOrBuilder in interface ColumnDataProfileOrBuilder
    • hasDataRiskLevel

      public boolean hasDataRiskLevel()
       The data risk level for this column.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8;
      Specified by:
      hasDataRiskLevel in interface ColumnDataProfileOrBuilder
      Returns:
      Whether the dataRiskLevel field is set.
    • getDataRiskLevel

      public DataRiskLevel getDataRiskLevel()
       The data risk level for this column.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8;
      Specified by:
      getDataRiskLevel in interface ColumnDataProfileOrBuilder
      Returns:
      The dataRiskLevel.
    • getDataRiskLevelOrBuilder

      public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()
       The data risk level for this column.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 8;
      Specified by:
      getDataRiskLevelOrBuilder in interface ColumnDataProfileOrBuilder
    • 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:
      hasColumnInfoType in interface ColumnDataProfileOrBuilder
      Returns:
      Whether the columnInfoType field is set.
    • 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;
      Specified by:
      getColumnInfoType in interface ColumnDataProfileOrBuilder
      Returns:
      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;
      Specified by:
      getColumnInfoTypeOrBuilder in interface ColumnDataProfileOrBuilder
    • getOtherMatchesList

      public List<OtherInfoTypeSummary> getOtherMatchesList()
       Other types found within this column. List will be unordered.
       
      repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;
      Specified by:
      getOtherMatchesList in interface ColumnDataProfileOrBuilder
    • 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;
      Specified by:
      getOtherMatchesOrBuilderList in interface ColumnDataProfileOrBuilder
    • 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:
      getOtherMatchesCount in interface ColumnDataProfileOrBuilder
    • getOtherMatches

      public OtherInfoTypeSummary getOtherMatches(int index)
       Other types found within this column. List will be unordered.
       
      repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;
      Specified by:
      getOtherMatches in interface ColumnDataProfileOrBuilder
    • getOtherMatchesOrBuilder

      public OtherInfoTypeSummaryOrBuilder getOtherMatchesOrBuilder(int index)
       Other types found within this column. List will be unordered.
       
      repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10;
      Specified by:
      getOtherMatchesOrBuilder in interface ColumnDataProfileOrBuilder
    • getEstimatedNullPercentageValue

      public int getEstimatedNullPercentageValue()
       Approximate percentage of entries being null in the column.
       
      .google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;
      Specified by:
      getEstimatedNullPercentageValue in interface ColumnDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for estimatedNullPercentage.
    • getEstimatedNullPercentage

      public NullPercentageLevel getEstimatedNullPercentage()
       Approximate percentage of entries being null in the column.
       
      .google.privacy.dlp.v2.NullPercentageLevel estimated_null_percentage = 23;
      Specified by:
      getEstimatedNullPercentage in interface ColumnDataProfileOrBuilder
      Returns:
      The estimatedNullPercentage.
    • getEstimatedUniquenessScoreValue

      public int getEstimatedUniquenessScoreValue()
       Approximate uniqueness of the column.
       
      .google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;
      Specified by:
      getEstimatedUniquenessScoreValue in interface ColumnDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for estimatedUniquenessScore.
    • getEstimatedUniquenessScore

      public UniquenessScoreLevel getEstimatedUniquenessScore()
       Approximate uniqueness of the column.
       
      .google.privacy.dlp.v2.UniquenessScoreLevel estimated_uniqueness_score = 24;
      Specified by:
      getEstimatedUniquenessScore in interface ColumnDataProfileOrBuilder
      Returns:
      The 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;
      Specified by:
      getFreeTextScore in interface ColumnDataProfileOrBuilder
      Returns:
      The freeTextScore.
    • getColumnTypeValue

      public int getColumnTypeValue()
       The data type of a given column.
       
      .google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;
      Specified by:
      getColumnTypeValue in interface ColumnDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for columnType.
    • getColumnType

      public ColumnDataProfile.ColumnDataType getColumnType()
       The data type of a given column.
       
      .google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType column_type = 14;
      Specified by:
      getColumnType in interface ColumnDataProfileOrBuilder
      Returns:
      The columnType.
    • 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:
      getPolicyStateValue in interface ColumnDataProfileOrBuilder
      Returns:
      The enum numeric value on the wire for policyState.
    • 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;
      Specified by:
      getPolicyState in interface ColumnDataProfileOrBuilder
      Returns:
      The policyState.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ColumnDataProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDataProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDataProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDataProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDataProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDataProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ColumnDataProfile parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ColumnDataProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ColumnDataProfile parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ColumnDataProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ColumnDataProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ColumnDataProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ColumnDataProfile.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ColumnDataProfile.Builder newBuilder()
    • newBuilder

      public static ColumnDataProfile.Builder newBuilder(ColumnDataProfile prototype)
    • toBuilder

      public ColumnDataProfile.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ColumnDataProfile.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ColumnDataProfile getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ColumnDataProfile> parser()
    • getParserForType

      public com.google.protobuf.Parser<ColumnDataProfile> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ColumnDataProfile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder