Class InspectDataSourceDetails.Result.Builder

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

public static final class InspectDataSourceDetails.Result.Builder extends com.google.protobuf.GeneratedMessage.Builder<InspectDataSourceDetails.Result.Builder> implements InspectDataSourceDetails.ResultOrBuilder
 All Result fields are updated while the job is processing.
 
Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.Result
  • 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<InspectDataSourceDetails.Result.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<InspectDataSourceDetails.Result.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<InspectDataSourceDetails.Result.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public InspectDataSourceDetails.Result.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<InspectDataSourceDetails.Result.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<InspectDataSourceDetails.Result.Builder>
    • mergeFrom

      public InspectDataSourceDetails.Result.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<InspectDataSourceDetails.Result.Builder>
      Throws:
      IOException
    • getProcessedBytes

      public long getProcessedBytes()
       Total size in bytes that were processed.
       
      int64 processed_bytes = 1;
      Specified by:
      getProcessedBytes in interface InspectDataSourceDetails.ResultOrBuilder
      Returns:
      The processedBytes.
    • setProcessedBytes

      public InspectDataSourceDetails.Result.Builder setProcessedBytes(long value)
       Total size in bytes that were processed.
       
      int64 processed_bytes = 1;
      Parameters:
      value - The processedBytes to set.
      Returns:
      This builder for chaining.
    • clearProcessedBytes

      public InspectDataSourceDetails.Result.Builder clearProcessedBytes()
       Total size in bytes that were processed.
       
      int64 processed_bytes = 1;
      Returns:
      This builder for chaining.
    • getTotalEstimatedBytes

      public long getTotalEstimatedBytes()
       Estimate of the number of bytes to process.
       
      int64 total_estimated_bytes = 2;
      Specified by:
      getTotalEstimatedBytes in interface InspectDataSourceDetails.ResultOrBuilder
      Returns:
      The totalEstimatedBytes.
    • setTotalEstimatedBytes

      public InspectDataSourceDetails.Result.Builder setTotalEstimatedBytes(long value)
       Estimate of the number of bytes to process.
       
      int64 total_estimated_bytes = 2;
      Parameters:
      value - The totalEstimatedBytes to set.
      Returns:
      This builder for chaining.
    • clearTotalEstimatedBytes

      public InspectDataSourceDetails.Result.Builder clearTotalEstimatedBytes()
       Estimate of the number of bytes to process.
       
      int64 total_estimated_bytes = 2;
      Returns:
      This builder for chaining.
    • getInfoTypeStatsList

      public List<InfoTypeStats> getInfoTypeStatsList()
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      Specified by:
      getInfoTypeStatsList in interface InspectDataSourceDetails.ResultOrBuilder
    • getInfoTypeStatsCount

      public int getInfoTypeStatsCount()
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      Specified by:
      getInfoTypeStatsCount in interface InspectDataSourceDetails.ResultOrBuilder
    • getInfoTypeStats

      public InfoTypeStats getInfoTypeStats(int index)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      Specified by:
      getInfoTypeStats in interface InspectDataSourceDetails.ResultOrBuilder
    • setInfoTypeStats

      public InspectDataSourceDetails.Result.Builder setInfoTypeStats(int index, InfoTypeStats value)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • setInfoTypeStats

      public InspectDataSourceDetails.Result.Builder setInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • addInfoTypeStats

      public InspectDataSourceDetails.Result.Builder addInfoTypeStats(InfoTypeStats value)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • addInfoTypeStats

      public InspectDataSourceDetails.Result.Builder addInfoTypeStats(int index, InfoTypeStats value)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • addInfoTypeStats

      public InspectDataSourceDetails.Result.Builder addInfoTypeStats(InfoTypeStats.Builder builderForValue)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • addInfoTypeStats

      public InspectDataSourceDetails.Result.Builder addInfoTypeStats(int index, InfoTypeStats.Builder builderForValue)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • addAllInfoTypeStats

      public InspectDataSourceDetails.Result.Builder addAllInfoTypeStats(Iterable<? extends InfoTypeStats> values)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • clearInfoTypeStats

      public InspectDataSourceDetails.Result.Builder clearInfoTypeStats()
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • removeInfoTypeStats

      public InspectDataSourceDetails.Result.Builder removeInfoTypeStats(int index)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • getInfoTypeStatsBuilder

      public InfoTypeStats.Builder getInfoTypeStatsBuilder(int index)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • getInfoTypeStatsOrBuilder

      public InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      Specified by:
      getInfoTypeStatsOrBuilder in interface InspectDataSourceDetails.ResultOrBuilder
    • getInfoTypeStatsOrBuilderList

      public List<? extends InfoTypeStatsOrBuilder> getInfoTypeStatsOrBuilderList()
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      Specified by:
      getInfoTypeStatsOrBuilderList in interface InspectDataSourceDetails.ResultOrBuilder
    • addInfoTypeStatsBuilder

      public InfoTypeStats.Builder addInfoTypeStatsBuilder()
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • addInfoTypeStatsBuilder

      public InfoTypeStats.Builder addInfoTypeStatsBuilder(int index)
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • getInfoTypeStatsBuilderList

      public List<InfoTypeStats.Builder> getInfoTypeStatsBuilderList()
       Statistics of how many instances of each info type were found during
       inspect job.
       
      repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
    • getNumRowsProcessed

      public long getNumRowsProcessed()
       Number of rows scanned after sampling and time filtering (applicable for
       row based stores such as BigQuery).
       
      int64 num_rows_processed = 5;
      Specified by:
      getNumRowsProcessed in interface InspectDataSourceDetails.ResultOrBuilder
      Returns:
      The numRowsProcessed.
    • setNumRowsProcessed

      public InspectDataSourceDetails.Result.Builder setNumRowsProcessed(long value)
       Number of rows scanned after sampling and time filtering (applicable for
       row based stores such as BigQuery).
       
      int64 num_rows_processed = 5;
      Parameters:
      value - The numRowsProcessed to set.
      Returns:
      This builder for chaining.
    • clearNumRowsProcessed

      public InspectDataSourceDetails.Result.Builder clearNumRowsProcessed()
       Number of rows scanned after sampling and time filtering (applicable for
       row based stores such as BigQuery).
       
      int64 num_rows_processed = 5;
      Returns:
      This builder for chaining.
    • hasHybridStats

      public boolean hasHybridStats()
       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
      Specified by:
      hasHybridStats in interface InspectDataSourceDetails.ResultOrBuilder
      Returns:
      Whether the hybridStats field is set.
    • getHybridStats

      public HybridInspectStatistics getHybridStats()
       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
      Specified by:
      getHybridStats in interface InspectDataSourceDetails.ResultOrBuilder
      Returns:
      The hybridStats.
    • setHybridStats

       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
    • setHybridStats

       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
    • mergeHybridStats

       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
    • clearHybridStats

      public InspectDataSourceDetails.Result.Builder clearHybridStats()
       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
    • getHybridStatsBuilder

      public HybridInspectStatistics.Builder getHybridStatsBuilder()
       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
    • getHybridStatsOrBuilder

      public HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder()
       Statistics related to the processing of hybrid inspect.
       
      .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7;
      Specified by:
      getHybridStatsOrBuilder in interface InspectDataSourceDetails.ResultOrBuilder