Class CompletionStats.Builder (3.45.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompletionStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompletionStats.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public CompletionStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompletionStats.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompletionStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompletionStats.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompletionStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public CompletionStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompletionStats.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CompletionStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompletionStats.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompletionStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompletionStats.Builder
Overrides