Class HybridInspectStatistics.Builder

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

public static final class HybridInspectStatistics.Builder extends com.google.protobuf.GeneratedMessage.Builder<HybridInspectStatistics.Builder> implements HybridInspectStatisticsOrBuilder
 Statistics related to processing hybrid inspect requests.
 
Protobuf type google.privacy.dlp.v2.HybridInspectStatistics
  • 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<HybridInspectStatistics.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<HybridInspectStatistics.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<HybridInspectStatistics.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public HybridInspectStatistics.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<HybridInspectStatistics.Builder>
      Throws:
      IOException
    • getProcessedCount

      public long getProcessedCount()
       The number of hybrid inspection requests processed within this job.
       
      int64 processed_count = 1;
      Specified by:
      getProcessedCount in interface HybridInspectStatisticsOrBuilder
      Returns:
      The processedCount.
    • setProcessedCount

      public HybridInspectStatistics.Builder setProcessedCount(long value)
       The number of hybrid inspection requests processed within this job.
       
      int64 processed_count = 1;
      Parameters:
      value - The processedCount to set.
      Returns:
      This builder for chaining.
    • clearProcessedCount

      public HybridInspectStatistics.Builder clearProcessedCount()
       The number of hybrid inspection requests processed within this job.
       
      int64 processed_count = 1;
      Returns:
      This builder for chaining.
    • getAbortedCount

      public long getAbortedCount()
       The number of hybrid inspection requests aborted because the job ran
       out of quota or was ended before they could be processed.
       
      int64 aborted_count = 2;
      Specified by:
      getAbortedCount in interface HybridInspectStatisticsOrBuilder
      Returns:
      The abortedCount.
    • setAbortedCount

      public HybridInspectStatistics.Builder setAbortedCount(long value)
       The number of hybrid inspection requests aborted because the job ran
       out of quota or was ended before they could be processed.
       
      int64 aborted_count = 2;
      Parameters:
      value - The abortedCount to set.
      Returns:
      This builder for chaining.
    • clearAbortedCount

      public HybridInspectStatistics.Builder clearAbortedCount()
       The number of hybrid inspection requests aborted because the job ran
       out of quota or was ended before they could be processed.
       
      int64 aborted_count = 2;
      Returns:
      This builder for chaining.
    • getPendingCount

      public long getPendingCount()
       The number of hybrid requests currently being processed. Only populated
       when called via method `getDlpJob`.
       A burst of traffic may cause hybrid inspect requests to be enqueued.
       Processing will take place as quickly as possible, but resource limitations
       may impact how long a request is enqueued for.
       
      int64 pending_count = 3;
      Specified by:
      getPendingCount in interface HybridInspectStatisticsOrBuilder
      Returns:
      The pendingCount.
    • setPendingCount

      public HybridInspectStatistics.Builder setPendingCount(long value)
       The number of hybrid requests currently being processed. Only populated
       when called via method `getDlpJob`.
       A burst of traffic may cause hybrid inspect requests to be enqueued.
       Processing will take place as quickly as possible, but resource limitations
       may impact how long a request is enqueued for.
       
      int64 pending_count = 3;
      Parameters:
      value - The pendingCount to set.
      Returns:
      This builder for chaining.
    • clearPendingCount

      public HybridInspectStatistics.Builder clearPendingCount()
       The number of hybrid requests currently being processed. Only populated
       when called via method `getDlpJob`.
       A burst of traffic may cause hybrid inspect requests to be enqueued.
       Processing will take place as quickly as possible, but resource limitations
       may impact how long a request is enqueued for.
       
      int64 pending_count = 3;
      Returns:
      This builder for chaining.