Class CompletionStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder>
com.google.cloud.aiplatform.v1.CompletionStats.Builder
All Implemented Interfaces:
CompletionStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CompletionStats

public static final class CompletionStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder> implements CompletionStatsOrBuilder
 Success and error statistics of processing multiple entities
 (for example, DataItems or structured data rows) in batch.
 
Protobuf type google.cloud.aiplatform.v1.CompletionStats
  • 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<CompletionStats.Builder>
    • clear

      public CompletionStats.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<CompletionStats.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<CompletionStats.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CompletionStats.Builder mergeFrom(CompletionStats other)
    • isInitialized

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

      public CompletionStats.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<CompletionStats.Builder>
      Throws:
      IOException
    • getSuccessfulCount

      public long getSuccessfulCount()
       Output only. The number of entities that had been processed successfully.
       
      int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuccessfulCount in interface CompletionStatsOrBuilder
      Returns:
      The successfulCount.
    • setSuccessfulCount

      public CompletionStats.Builder setSuccessfulCount(long value)
       Output only. The number of entities that had been processed successfully.
       
      int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The successfulCount to set.
      Returns:
      This builder for chaining.
    • clearSuccessfulCount

      public CompletionStats.Builder clearSuccessfulCount()
       Output only. The number of entities that had been processed successfully.
       
      int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getFailedCount

      public long getFailedCount()
       Output only. The number of entities for which any error was encountered.
       
      int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFailedCount in interface CompletionStatsOrBuilder
      Returns:
      The failedCount.
    • setFailedCount

      public CompletionStats.Builder setFailedCount(long value)
       Output only. The number of entities for which any error was encountered.
       
      int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The failedCount to set.
      Returns:
      This builder for chaining.
    • clearFailedCount

      public CompletionStats.Builder clearFailedCount()
       Output only. The number of entities for which any error was encountered.
       
      int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getIncompleteCount

      public long getIncompleteCount()
       Output only. In cases when enough errors are encountered a job, pipeline,
       or operation may be failed as a whole. Below is the number of entities for
       which the processing had not been finished (either in successful or failed
       state). Set to -1 if the number is unknown (for example, the operation
       failed before the total entity number could be collected).
       
      int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIncompleteCount in interface CompletionStatsOrBuilder
      Returns:
      The incompleteCount.
    • setIncompleteCount

      public CompletionStats.Builder setIncompleteCount(long value)
       Output only. In cases when enough errors are encountered a job, pipeline,
       or operation may be failed as a whole. Below is the number of entities for
       which the processing had not been finished (either in successful or failed
       state). Set to -1 if the number is unknown (for example, the operation
       failed before the total entity number could be collected).
       
      int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The incompleteCount to set.
      Returns:
      This builder for chaining.
    • clearIncompleteCount

      public CompletionStats.Builder clearIncompleteCount()
       Output only. In cases when enough errors are encountered a job, pipeline,
       or operation may be failed as a whole. Below is the number of entities for
       which the processing had not been finished (either in successful or failed
       state). Set to -1 if the number is unknown (for example, the operation
       failed before the total entity number could be collected).
       
      int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSuccessfulForecastPointCount

      public long getSuccessfulForecastPointCount()
       Output only. The number of the successful forecast points that are
       generated by the forecasting model. This is ONLY used by the forecasting
       batch prediction.
       
      int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuccessfulForecastPointCount in interface CompletionStatsOrBuilder
      Returns:
      The successfulForecastPointCount.
    • setSuccessfulForecastPointCount

      public CompletionStats.Builder setSuccessfulForecastPointCount(long value)
       Output only. The number of the successful forecast points that are
       generated by the forecasting model. This is ONLY used by the forecasting
       batch prediction.
       
      int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The successfulForecastPointCount to set.
      Returns:
      This builder for chaining.
    • clearSuccessfulForecastPointCount

      public CompletionStats.Builder clearSuccessfulForecastPointCount()
       Output only. The number of the successful forecast points that are
       generated by the forecasting model. This is ONLY used by the forecasting
       batch prediction.
       
      int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.