Class CompletionStats.Builder (3.84.0)

public static final class CompletionStats.Builder extends 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.v1beta1.CompletionStats

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CompletionStats build()
Returns
Type Description
CompletionStats

buildPartial()

public CompletionStats buildPartial()
Returns
Type Description
CompletionStats

clear()

public CompletionStats.Builder clear()
Returns
Type Description
CompletionStats.Builder
Overrides

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
Type Description
CompletionStats.Builder

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
Type Description
CompletionStats.Builder

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
Type Description
CompletionStats.Builder

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
Type Description
CompletionStats.Builder

This builder for chaining.

getDefaultInstanceForType()

public CompletionStats getDefaultInstanceForType()
Returns
Type Description
CompletionStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
long

The failedCount.

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];

Returns
Type Description
long

The incompleteCount.

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];

Returns
Type Description
long

The successfulCount.

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];

Returns
Type Description
long

The successfulForecastPointCount.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompletionStats other)

public CompletionStats.Builder mergeFrom(CompletionStats other)
Parameter
Name Description
other CompletionStats
Returns
Type Description
CompletionStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompletionStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompletionStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompletionStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompletionStats.Builder
Overrides

setFailedCount(long value)

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];

Parameter
Name Description
value long

The failedCount to set.

Returns
Type Description
CompletionStats.Builder

This builder for chaining.

setIncompleteCount(long value)

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];

Parameter
Name Description
value long

The incompleteCount to set.

Returns
Type Description
CompletionStats.Builder

This builder for chaining.

setSuccessfulCount(long value)

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];

Parameter
Name Description
value long

The successfulCount to set.

Returns
Type Description
CompletionStats.Builder

This builder for chaining.

setSuccessfulForecastPointCount(long value)

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];

Parameter
Name Description
value long

The successfulForecastPointCount to set.

Returns
Type Description
CompletionStats.Builder

This builder for chaining.