UNPKG

@aneoconsultingfr/armonik.api

Version:

gRPC API to interact with ArmoniK built for the web

25 lines (23 loc) 1.18 kB
declare const protobufPackage = "armonik.api.grpc.v1.result_status"; declare enum ResultStatus { /** RESULT_STATUS_UNSPECIFIED - Result is in an unspecified state. */ RESULT_STATUS_UNSPECIFIED = 0, /** RESULT_STATUS_CREATED - Result is created and task is created, submitted or dispatched. */ RESULT_STATUS_CREATED = 1, /** RESULT_STATUS_COMPLETED - Result is completed with a completed task. */ RESULT_STATUS_COMPLETED = 2, /** RESULT_STATUS_ABORTED - Result is aborted. */ RESULT_STATUS_ABORTED = 3, /** RESULT_STATUS_DELETED - Result is completed, but data has been deleted from object storage. */ RESULT_STATUS_DELETED = 4, /** * RESULT_STATUS_NOTFOUND - NOTFOUND is encoded as 127 to make it small while still leaving enough room for future status extensions * * see https://developers.google.com/protocol-buffers/docs/proto3#enum */ RESULT_STATUS_NOTFOUND = 127, UNRECOGNIZED = -1 } declare function resultStatusFromJSON(object: any): ResultStatus; declare function resultStatusToJSON(object: ResultStatus): string; export { ResultStatus, protobufPackage, resultStatusFromJSON, resultStatusToJSON };