Class CompletionStats.Builder (3.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompletionStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompletionStats.Builder
Overrides

build()

public CompletionStats build()
Returns
TypeDescription
CompletionStats

buildPartial()

public CompletionStats buildPartial()
Returns
TypeDescription
CompletionStats

clear()

public CompletionStats.Builder clear()
Returns
TypeDescription
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
TypeDescription
CompletionStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CompletionStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CompletionStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompletionStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompletionStats.Builder

This builder for chaining.

clone()

public CompletionStats.Builder clone()
Returns
TypeDescription
CompletionStats.Builder
Overrides

getDefaultInstanceForType()

public CompletionStats getDefaultInstanceForType()
Returns
TypeDescription
CompletionStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
long

The successfulForecastPointCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompletionStats other)

public CompletionStats.Builder mergeFrom(CompletionStats other)
Parameter
NameDescription
otherCompletionStats
Returns
TypeDescription
CompletionStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompletionStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompletionStats.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompletionStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompletionStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompletionStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The failedCount to set.

Returns
TypeDescription
CompletionStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CompletionStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The incompleteCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The successfulCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The successfulForecastPointCount to set.

Returns
TypeDescription
CompletionStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompletionStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompletionStats.Builder
Overrides