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.v1.CompletionStats
Methods
public CompletionStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CompletionStats build()
Returns
public CompletionStats buildPartial()
Returns
public CompletionStats.Builder clear()
Returns
Overrides
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
public CompletionStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public CompletionStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CompletionStats.Builder clone()
Returns
Overrides
public CompletionStats getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CompletionStats.Builder mergeFrom(CompletionStats other)
Parameter
Returns
public CompletionStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CompletionStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CompletionStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public CompletionStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
public CompletionStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
public final CompletionStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides