Class 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.GeneratedMessageV3.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.v1beta1.CompletionStats
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public CompletionStats.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>
      • setField

        public CompletionStats.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>
      • clearField

        public CompletionStats.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>
      • clearOneof

        public CompletionStats.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>
      • setRepeatedField

        public CompletionStats.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        int index,
                                                        Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>
      • addRepeatedField

        public CompletionStats.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

        public final CompletionStats.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>
      • mergeUnknownFields

        public final CompletionStats.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionStats.Builder>