Package com.google.cloud.aiplatform.v1
Class CompletionStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder>
com.google.cloud.aiplatform.v1.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.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.v1.CompletionStats-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.longOutput only.longOutput only.longOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CompletionStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFailedCount(long value) Output only.setIncompleteCount(long value) Output only.setSuccessfulCount(long value) Output only.setSuccessfulForecastPointCount(long value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompletionStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompletionStats.Builder>
-
mergeFrom
public CompletionStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getSuccessfulCountin interfaceCompletionStatsOrBuilder- Returns:
- The successfulCount.
-
setSuccessfulCount
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
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:
getFailedCountin interfaceCompletionStatsOrBuilder- Returns:
- The failedCount.
-
setFailedCount
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
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:
getIncompleteCountin interfaceCompletionStatsOrBuilder- Returns:
- The incompleteCount.
-
setIncompleteCount
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
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:
getSuccessfulForecastPointCountin interfaceCompletionStatsOrBuilder- Returns:
- The successfulForecastPointCount.
-
setSuccessfulForecastPointCount
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
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.
-