Class ProjectDataProfile.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
com.google.privacy.dlp.v2.ProjectDataProfile.Builder
All Implemented Interfaces:
ProjectDataProfileOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ProjectDataProfile

public static final class ProjectDataProfile.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder> implements ProjectDataProfileOrBuilder
 An aggregated profile for this project, based on the resources profiled
 within it.
 
Protobuf type google.privacy.dlp.v2.ProjectDataProfile
  • 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.Builder<ProjectDataProfile.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
    • getDefaultInstanceForType

      public ProjectDataProfile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProjectDataProfile build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProjectDataProfile buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ProjectDataProfile.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProjectDataProfile.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
    • mergeFrom

      public ProjectDataProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProjectDataProfile.Builder>
      Throws:
      IOException
    • getName

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

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the profile.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ProjectDataProfileOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ProjectDataProfile.Builder setName(String value)
       The resource name of the profile.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ProjectDataProfile.Builder clearName()
       The resource name of the profile.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ProjectDataProfile.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name of the profile.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getProjectId

      public String getProjectId()
       Project ID or account that was profiled.
       
      string project_id = 2;
      Specified by:
      getProjectId in interface ProjectDataProfileOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Project ID or account that was profiled.
       
      string project_id = 2;
      Specified by:
      getProjectIdBytes in interface ProjectDataProfileOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public ProjectDataProfile.Builder setProjectId(String value)
       Project ID or account that was profiled.
       
      string project_id = 2;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public ProjectDataProfile.Builder clearProjectId()
       Project ID or account that was profiled.
       
      string project_id = 2;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public ProjectDataProfile.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Project ID or account that was profiled.
       
      string project_id = 2;
      Parameters:
      value - The bytes for projectId to set.
      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:
      hasProfileLastGenerated in interface ProjectDataProfileOrBuilder
      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 ProjectDataProfileOrBuilder
      Returns:
      The profileLastGenerated.
    • setProfileLastGenerated

      public ProjectDataProfile.Builder setProfileLastGenerated(com.google.protobuf.Timestamp value)
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 3;
    • setProfileLastGenerated

      public ProjectDataProfile.Builder setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue)
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 3;
    • mergeProfileLastGenerated

      public ProjectDataProfile.Builder mergeProfileLastGenerated(com.google.protobuf.Timestamp value)
       The last time the profile was generated.
       
      .google.protobuf.Timestamp profile_last_generated = 3;
    • clearProfileLastGenerated

      public ProjectDataProfile.Builder 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:
      getProfileLastGeneratedOrBuilder in interface ProjectDataProfileOrBuilder
    • hasSensitivityScore

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

      public SensitivityScore getSensitivityScore()
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
      Specified by:
      getSensitivityScore in interface ProjectDataProfileOrBuilder
      Returns:
      The sensitivityScore.
    • setSensitivityScore

      public ProjectDataProfile.Builder setSensitivityScore(SensitivityScore value)
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
    • setSensitivityScore

      public ProjectDataProfile.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
    • mergeSensitivityScore

      public ProjectDataProfile.Builder mergeSensitivityScore(SensitivityScore value)
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
    • clearSensitivityScore

      public ProjectDataProfile.Builder clearSensitivityScore()
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
    • getSensitivityScoreBuilder

      public SensitivityScore.Builder getSensitivityScoreBuilder()
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
    • getSensitivityScoreOrBuilder

      public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()
       The sensitivity score of this project.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;
      Specified by:
      getSensitivityScoreOrBuilder in interface ProjectDataProfileOrBuilder
    • hasDataRiskLevel

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

      public DataRiskLevel getDataRiskLevel()
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
      Specified by:
      getDataRiskLevel in interface ProjectDataProfileOrBuilder
      Returns:
      The dataRiskLevel.
    • setDataRiskLevel

      public ProjectDataProfile.Builder setDataRiskLevel(DataRiskLevel value)
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
    • setDataRiskLevel

      public ProjectDataProfile.Builder setDataRiskLevel(DataRiskLevel.Builder builderForValue)
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
    • mergeDataRiskLevel

      public ProjectDataProfile.Builder mergeDataRiskLevel(DataRiskLevel value)
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
    • clearDataRiskLevel

      public ProjectDataProfile.Builder clearDataRiskLevel()
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
    • getDataRiskLevelBuilder

      public DataRiskLevel.Builder getDataRiskLevelBuilder()
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
    • getDataRiskLevelOrBuilder

      public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()
       The data risk level of this project.
       
      .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;
      Specified by:
      getDataRiskLevelOrBuilder in interface ProjectDataProfileOrBuilder
    • hasProfileStatus

      public boolean hasProfileStatus()
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
      Specified by:
      hasProfileStatus in interface ProjectDataProfileOrBuilder
      Returns:
      Whether the profileStatus field is set.
    • getProfileStatus

      public ProfileStatus getProfileStatus()
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
      Specified by:
      getProfileStatus in interface ProjectDataProfileOrBuilder
      Returns:
      The profileStatus.
    • setProfileStatus

      public ProjectDataProfile.Builder setProfileStatus(ProfileStatus value)
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
    • setProfileStatus

      public ProjectDataProfile.Builder setProfileStatus(ProfileStatus.Builder builderForValue)
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
    • mergeProfileStatus

      public ProjectDataProfile.Builder mergeProfileStatus(ProfileStatus value)
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
    • clearProfileStatus

      public ProjectDataProfile.Builder clearProfileStatus()
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
    • getProfileStatusBuilder

      public ProfileStatus.Builder getProfileStatusBuilder()
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
    • getProfileStatusOrBuilder

      public ProfileStatusOrBuilder getProfileStatusOrBuilder()
       Success or error status of the last attempt to profile the project.
       
      .google.privacy.dlp.v2.ProfileStatus profile_status = 7;
      Specified by:
      getProfileStatusOrBuilder in interface ProjectDataProfileOrBuilder
    • getTableDataProfileCount

      public long getTableDataProfileCount()
       The number of table data profiles generated for this project.
       
      int64 table_data_profile_count = 9;
      Specified by:
      getTableDataProfileCount in interface ProjectDataProfileOrBuilder
      Returns:
      The tableDataProfileCount.
    • setTableDataProfileCount

      public ProjectDataProfile.Builder setTableDataProfileCount(long value)
       The number of table data profiles generated for this project.
       
      int64 table_data_profile_count = 9;
      Parameters:
      value - The tableDataProfileCount to set.
      Returns:
      This builder for chaining.
    • clearTableDataProfileCount

      public ProjectDataProfile.Builder clearTableDataProfileCount()
       The number of table data profiles generated for this project.
       
      int64 table_data_profile_count = 9;
      Returns:
      This builder for chaining.
    • getFileStoreDataProfileCount

      public long getFileStoreDataProfileCount()
       The number of file store data profiles generated for this project.
       
      int64 file_store_data_profile_count = 10;
      Specified by:
      getFileStoreDataProfileCount in interface ProjectDataProfileOrBuilder
      Returns:
      The fileStoreDataProfileCount.
    • setFileStoreDataProfileCount

      public ProjectDataProfile.Builder setFileStoreDataProfileCount(long value)
       The number of file store data profiles generated for this project.
       
      int64 file_store_data_profile_count = 10;
      Parameters:
      value - The fileStoreDataProfileCount to set.
      Returns:
      This builder for chaining.
    • clearFileStoreDataProfileCount

      public ProjectDataProfile.Builder clearFileStoreDataProfileCount()
       The number of file store data profiles generated for this project.
       
      int64 file_store_data_profile_count = 10;
      Returns:
      This builder for chaining.