Documentation ¶
Index ¶
- Variables
- type BaseResponse
- type RedirectInfo
- func (*RedirectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RedirectInfo) GetNewResourceId() string
- func (x *RedirectInfo) GetOldResourceId() string
- func (x *RedirectInfo) GetResourceType() string
- func (x *RedirectInfo) GetUrl() string
- func (*RedirectInfo) ProtoMessage()
- func (x *RedirectInfo) ProtoReflect() protoreflect.Message
- func (x *RedirectInfo) Reset()
- func (x *RedirectInfo) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCode() StatusCode
- func (x *Status) GetDescription() string
- func (x *Status) GetDetails() string
- func (x *Status) GetDeveloperNotes() string
- func (x *Status) GetInternalDetails() string
- func (x *Status) GetPercentCompleted() uint32
- func (x *Status) GetRedirectInfo() *RedirectInfo
- func (x *Status) GetReqId() string
- func (x *Status) GetStackTrace() []string
- func (x *Status) GetTimeRemaining() uint32
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type StatusCode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StatusCode_name = map[int32]string{}/* 385 elements not displayed */ StatusCode_value = map[string]int32{}/* 385 elements not displayed */ )
Enum value maps for StatusCode.
View Source
var File_proto_clarifai_api_status_status_code_proto protoreflect.FileDescriptor
View Source
var File_proto_clarifai_api_status_status_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Base message to return when there is a internal server error that is not caught elsewhere.
func (*BaseResponse) Descriptor
deprecated
func (*BaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BaseResponse.ProtoReflect.Descriptor instead.
func (*BaseResponse) GetStatus ¶
func (x *BaseResponse) GetStatus() *Status
func (*BaseResponse) ProtoMessage ¶
func (*BaseResponse) ProtoMessage()
func (*BaseResponse) ProtoReflect ¶
func (x *BaseResponse) ProtoReflect() protoreflect.Message
func (*BaseResponse) Reset ¶
func (x *BaseResponse) Reset()
func (*BaseResponse) String ¶
func (x *BaseResponse) String() string
type RedirectInfo ¶
type RedirectInfo struct { // New location for the resource. Used to set response Location header. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Resource type ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // Old resource id OldResourceId string `protobuf:"bytes,3,opt,name=old_resource_id,json=oldResourceId,proto3" json:"old_resource_id,omitempty"` // New resource id NewResourceId string `protobuf:"bytes,4,opt,name=new_resource_id,json=newResourceId,proto3" json:"new_resource_id,omitempty"` // contains filtered or unexported fields }
func (*RedirectInfo) Descriptor
deprecated
func (*RedirectInfo) Descriptor() ([]byte, []int)
Deprecated: Use RedirectInfo.ProtoReflect.Descriptor instead.
func (*RedirectInfo) GetNewResourceId ¶
func (x *RedirectInfo) GetNewResourceId() string
func (*RedirectInfo) GetOldResourceId ¶
func (x *RedirectInfo) GetOldResourceId() string
func (*RedirectInfo) GetResourceType ¶
func (x *RedirectInfo) GetResourceType() string
func (*RedirectInfo) GetUrl ¶
func (x *RedirectInfo) GetUrl() string
func (*RedirectInfo) ProtoMessage ¶
func (*RedirectInfo) ProtoMessage()
func (*RedirectInfo) ProtoReflect ¶
func (x *RedirectInfo) ProtoReflect() protoreflect.Message
func (*RedirectInfo) Reset ¶
func (x *RedirectInfo) Reset()
func (*RedirectInfo) String ¶
func (x *RedirectInfo) String() string
type Status ¶
type Status struct { // Status code from internal codes. Code StatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=clarifai.api.status.StatusCode" json:"code,omitempty"` // A short description of the error. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // More details of the given error. // These details may be exposed to non-technical users. // For technical details, try to use developer_notes field. Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // For some environment we may return a stack trace to help debug // any issues. StackTrace []string `protobuf:"bytes,4,rep,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` // specifically for long running jobs PercentCompleted uint32 `protobuf:"varint,5,opt,name=percent_completed,json=percentCompleted,proto3" json:"percent_completed,omitempty"` // if status is pending, how much time is remaining (in seconds) TimeRemaining uint32 `protobuf:"varint,6,opt,name=time_remaining,json=timeRemaining,proto3" json:"time_remaining,omitempty"` // A request ID may be present, to help monitoring and tracking requests ReqId string `protobuf:"bytes,7,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // Internal Annotation (do not set in production, for internal Clarifai use only). InternalDetails string `protobuf:"bytes,8,opt,name=internal_details,json=internalDetails,proto3" json:"internal_details,omitempty"` // Resource location info for redirect, when resource location has been changed. RedirectInfo *RedirectInfo `protobuf:"bytes,9,opt,name=redirect_info,json=redirectInfo,proto3" json:"redirect_info,omitempty"` // Notes for developer. // These notes are rather technical details for developers how to interpret the status, // e.g. why an error occurred and how to avoid getting the error. DeveloperNotes string `protobuf:"bytes,10,opt,name=developer_notes,json=developerNotes,proto3" json:"developer_notes,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetCode ¶
func (x *Status) GetCode() StatusCode
func (*Status) GetDescription ¶
func (*Status) GetDetails ¶
func (*Status) GetDeveloperNotes ¶
func (*Status) GetInternalDetails ¶
func (*Status) GetPercentCompleted ¶
func (*Status) GetRedirectInfo ¶
func (x *Status) GetRedirectInfo() *RedirectInfo
func (*Status) GetStackTrace ¶
func (*Status) GetTimeRemaining ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StatusCode ¶
type StatusCode int32
const ( // to be revised and greatly expanded StatusCode_ZERO StatusCode = 0 // Generic StatusCode_SUCCESS StatusCode = 10000 StatusCode_MIXED_STATUS StatusCode = 10010 StatusCode_FAILURE StatusCode = 10020 StatusCode_TRY_AGAIN StatusCode = 10030 StatusCode_NOT_IMPLEMENTED StatusCode = 10040 StatusCode_MOVED StatusCode = 10050 // Resource moved. Respond with Http status 307 and add new Location header to response StatusCode_TEAPOT StatusCode = 10060 // Clarifai Connection Codes: 11xxx StatusCode_CONN_ACCOUNT_ISSUES StatusCode = 11000 // expired cc, still in trial, feature not supported in your tier // invalid auth token used. Deprecated: we should return CONN_KEY_INVALID instead now in all cases. // // Deprecated: Do not use. StatusCode_CONN_TOKEN_INVALID StatusCode = 11001 StatusCode_CONN_CREDENTIALS_INVALID StatusCode = 11002 // invalid auth credentials StatusCode_CONN_EXCEED_HOURLY_LIMIT StatusCode = 11003 // throttle hourly limit exceeded StatusCode_CONN_EXCEED_MONTHLY_LIMIT StatusCode = 11004 // throttle monthly limit exceeded StatusCode_CONN_THROTTLED StatusCode = 11005 // throttler and billing stuff StatusCode_CONN_EXCEEDS_LIMITS StatusCode = 11006 // throttler and billing stuff StatusCode_CONN_INSUFFICIENT_SCOPES StatusCode = 11007 // api key has insufficient permissions StatusCode_CONN_KEY_INVALID StatusCode = 11008 // api key is invalid StatusCode_CONN_KEY_NOT_FOUND StatusCode = 11009 // api key not found StatusCode_CONN_BAD_REQUEST_FORMAT StatusCode = 11100 // multipart form parsing, broken json, etc StatusCode_CONN_DOES_NOT_EXIST StatusCode = 11101 // when path is bad StatusCode_CONN_INVALID_REQUEST StatusCode = 11102 // something wrong with a header StatusCode_CONN_METHOD_NOT_ALLOWED StatusCode = 11103 // when a request method is not allowed StatusCode_CONN_NO_GDPR_CONSENT StatusCode = 11104 // lack GDPR consent StatusCode_CONN_INVALID_RANGE StatusCode = 11105 // when invalid range of a resource is requested StatusCode_CONN_AUTH_METHOD_DISABLED StatusCode = 11200 // authentication method is disabled // Model/Custom Training related 20xxx StatusCode_MODEL_TRAINED StatusCode = 21100 // Custom model has been already trained. StatusCode_MODEL_TRAINING StatusCode = 21101 // Custom model is currently training. StatusCode_MODEL_UNTRAINED StatusCode = 21102 // Custom model has not yet been trained. // Custom model is currently in queue for training, waiting on assets to process first. StatusCode_MODEL_QUEUED_FOR_TRAINING StatusCode = 21103 StatusCode_MODEL_UPLOADING StatusCode = 21104 StatusCode_MODEL_UPLOADING_FAILED StatusCode = 21105 StatusCode_MODEL_TRAINING_FAILED StatusCode = 21106 // generic err msg for any type of model training err. StatusCode_MODEL_BUILDING StatusCode = 21107 // For new V3 DockerInternalType models which are built images StatusCode_MODEL_BUILDING_FAILED StatusCode = 21108 // Failed to build image for model. StatusCode_MODEL_BUILD_UNEXPECTED_ERROR StatusCode = 21109 // Failed to build image for model. StatusCode_MODEL_TRAINING_NO_DATA StatusCode = 21110 // Custom model training had no data. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_NO_POSITIVES StatusCode = 21111 // Custom model training had no positive examples. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_ONE_VS_N_SINGLE_CLASS StatusCode = 21112 // Custom model training was ONE_VS_N but with a single class. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_TIMED_OUT StatusCode = 21113 // Training took longer than hard coded timeouts. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_WAITING_ERROR StatusCode = 21114 // Training got error waiting on asset pipeline to finish. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_UNKNOWN_ERROR StatusCode = 21115 // Training threw an unknown exception. // Deprecated: Do not use. StatusCode_MODEL_TRAINING_MSG_REDELIVER StatusCode = 21116 // Training message was redelivered. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_INSUFFICIENT_DATA StatusCode = 21117 // Training got error due to insufficient labelled data. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_INVALID_PARAMS StatusCode = 21118 // FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_TRAINING_INVALID_DATA_TOLERANCE_EXCEEDED StatusCode = 21119 // Training is stopped because too much data was dropped. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg StatusCode_MODEL_MODIFY_SUCCESS StatusCode = 21150 StatusCode_MODEL_MODIFY_PENDING StatusCode = 21151 StatusCode_MODEL_MODIFY_FAILED StatusCode = 21152 StatusCode_MODEL_DOES_NOT_EXIST StatusCode = 21200 StatusCode_MODEL_PERMISSION_DENIED StatusCode = 21201 StatusCode_MODEL_INVALID_ARGUMENT StatusCode = 21202 StatusCode_MODEL_INVALID_REQUEST StatusCode = 21203 StatusCode_MODEL_EVALUATED StatusCode = 21300 StatusCode_MODEL_EVALUATING StatusCode = 21301 StatusCode_MODEL_NOT_EVALUATED StatusCode = 21302 StatusCode_MODEL_QUEUED_FOR_EVALUATION StatusCode = 21303 StatusCode_MODEL_EVALUATION_TIMED_OUT StatusCode = 21310 // Evaluation took longer than hard coded timeouts. FIXME(yang): deprecate this. Use the 21317 + errStatusMsg StatusCode_MODEL_EVALUATION_WAITING_ERROR StatusCode = 21311 // Evaluation got error waiting on asset pipeline to finish.FIXME(yang): deprecate this. Use the 21317 + errStatusMsg StatusCode_MODEL_EVALUATION_UNKNOWN_ERROR StatusCode = 21312 // EVALUATION THREW AN UNKNOWN EXCEPTION. StatusCode_MODEL_PREDICTION_FAILED StatusCode = 21313 // Deprecated: Do not use. StatusCode_MODEL_EVALUATION_MSG_REDELIVER StatusCode = 21314 // Eval message was redelivered. FIXME(yang): deprecate this. Use the 21317 + errStatusMsg StatusCode_MODEL_EVALUATION_NEED_LABELS StatusCode = 21315 // Don't have enough concepts labelled to perform evaluation. FIXME(yang): deprecate this. Use the 21317 + errStatusMsg StatusCode_MODEL_EVALUATION_NEED_INPUTS StatusCode = 21316 // Don't have enough inputs per concept to perform evaluation. FIXME(yang): deprecate this. Use the 21317 + errStatusMsg StatusCode_MODEL_EVALUATION_FAILED StatusCode = 21317 // Generic err code for eval failure. StatusCode_MODEL_DEPLOYMENT_FAILED StatusCode = 21350 // Used when inference coordinator failed to deploy spire and throws an error StatusCode_MODEL_DEPLOYING StatusCode = 21351 // Used when calling the inference coordinator to deploy a spire StatusCode_MODEL_QUEUED_FOR_DEPLOYMENT StatusCode = 21352 // Used when training is completed StatusCode_MODEL_NOT_DEPLOYED StatusCode = 21353 // Used when model spire deployment is manually taken down or due to inactivity StatusCode_MODEL_REFERENCE_INVALID_ARGUMENT StatusCode = 21400 // Used when a model reference field is not set properly StatusCode_MODEL_EXAMPLE_INPUT_INVALID_ARGUMENT StatusCode = 21420 // Used when a model example input field is not set properly // Model Export status codes StatusCode_MODEL_EXPORTED StatusCode = 21500 StatusCode_MODEL_EXPORTING StatusCode = 21501 StatusCode_MODEL_EXPORTING_FAILED StatusCode = 21502 StatusCode_MODEL_EXPORT_PENDING StatusCode = 21503 StatusCode_WORKFLOW_NO_MATCHING_INPUT StatusCode = 22001 // specified model input not in workflow StatusCode_WORKFLOW_REQUIRE_TRAINED_MODEL StatusCode = 22002 // specified model must be trained StatusCode_WORKFLOW_DUPLICATE StatusCode = 22100 StatusCode_WORKFLOW_UNSUPPORTED_FORMAT StatusCode = 22101 StatusCode_WORKFLOW_DOES_NOT_EXIST StatusCode = 22102 StatusCode_WORKFLOW_PERMISSION_DENIED StatusCode = 22103 StatusCode_WORKFLOW_INVALID_ARGUMENT StatusCode = 22104 // error in the request somewhere StatusCode_WORKFLOW_INVALID_RECIPE StatusCode = 22105 StatusCode_WORKFLOW_INVALID_TEMPLATE StatusCode = 22106 StatusCode_WORKFLOW_INVALID_GRAPH StatusCode = 22107 StatusCode_WORKFLOW_INTERNAL_FAILURE StatusCode = 22108 StatusCode_WORKFLOW_INVALID_REQUEST StatusCode = 22999 // error in the request somewhere StatusCode_WORKFLOW_MODIFY_SUCCESS StatusCode = 22150 StatusCode_WORKFLOW_MODIFY_PENDING StatusCode = 22151 StatusCode_WORKFLOW_MODIFY_FAILED StatusCode = 22152 StatusCode_WORKFLOW_REINDEX_FAILED StatusCode = 22153 // Concept related 23xxx StatusCode_CONCEPT_MODIFY_SUCCESS StatusCode = 23150 StatusCode_CONCEPT_MODIFY_PENDING StatusCode = 23151 StatusCode_CONCEPT_MODIFY_FAILED StatusCode = 23152 // Annotation related 24xxx StatusCode_ANNOTATION_SUCCESS StatusCode = 24150 StatusCode_ANNOTATION_PENDING StatusCode = 24151 StatusCode_ANNOTATION_FAILED StatusCode = 24152 StatusCode_ANNOTATION_UNKNOWN_STATUS StatusCode = 24154 StatusCode_ANNOTATION_INVALID_ARGUMENT StatusCode = 24155 StatusCode_ANNOTATION_PERMISSION_DENIED StatusCode = 24156 // Annotation is awaiting review from task REVIEWERS. StatusCode_ANNOTATION_AWAITING_REVIEW StatusCode = 24157 // Annotation is awaiting consensus review from task LABELERS. StatusCode_ANNOTATION_AWAITING_CONSENSUS_REVIEW StatusCode = 24159 StatusCode_ANNOTATION_REVIEW_DENIED StatusCode = 24158 StatusCode_ANNOTATION_MODIFY_SUCCESS StatusCode = 24250 StatusCode_ANNOTATION_MODIFY_PENDING StatusCode = 24251 StatusCode_ANNOTATION_MODIFY_FAILED StatusCode = 24252 // Metadata related 249xx StatusCode_METADATA_INVALID_PATCH_ARGUMENTS StatusCode = 24900 StatusCode_METADATA_PARSING_ISSUE StatusCode = 24901 StatusCode_METADATA_MANIPULATION_ISSUE StatusCode = 24902 // Training service related 25xxx StatusCode_TRAINER_JOB_STATE_NONE StatusCode = 25000 StatusCode_TRAINER_JOB_STATE_QUEUED StatusCode = 25001 StatusCode_TRAINER_JOB_STATE_RUNNING StatusCode = 25002 StatusCode_TRAINER_JOB_STATE_COMPLETE StatusCode = 25003 StatusCode_TRAINER_JOB_STATE_ERROR StatusCode = 25004 // Data Dump related 251xx StatusCode_DATA_DUMP_SUCCESS StatusCode = 25150 StatusCode_DATA_DUMP_PENDING StatusCode = 25151 StatusCode_DATA_DUMP_FAILED StatusCode = 25152 StatusCode_DATA_DUMP_IN_PROGRESS StatusCode = 25153 // DEPRECATED: Not used anymore. Now for an empty data dump, DATA_DUMP_SUCCESS is returned. To detect an empty data dump, check if the inptus count is 0. // // Deprecated: Do not use. StatusCode_DATA_DUMP_NO_DATA StatusCode = 25154 StatusCode_DATA_DUMP_UNEXPECTED_ERROR StatusCode = 25155 StatusCode_DATA_DUMP_EXPORT_SUCCESS StatusCode = 25170 StatusCode_DATA_DUMP_EXPORT_PENDING StatusCode = 25171 StatusCode_DATA_DUMP_EXPORT_FAILED StatusCode = 25172 StatusCode_DATA_DUMP_EXPORT_IN_PROGRESS StatusCode = 25173 StatusCode_DATA_DUMP_EXPORT_UNEXPECTED_ERROR StatusCode = 25174 // Duplicate related 252xx StatusCode_APP_DUPLICATION_SUCCESS StatusCode = 25200 StatusCode_APP_DUPLICATION_FAILED StatusCode = 25201 StatusCode_APP_DUPLICATION_PENDING StatusCode = 25202 StatusCode_APP_DUPLICATION_IN_PROGRESS StatusCode = 25203 StatusCode_APP_DUPLICATION_INVALID_REQUEST StatusCode = 25204 // Module related codes 253xx StatusCode_MODULE_DOES_NOT_EXIST StatusCode = 25300 StatusCode_MODULE_PERMISSION_DENIED StatusCode = 25301 StatusCode_MODULE_INVALID_ARGUMENT StatusCode = 25302 StatusCode_MODULE_INVALID_REQUEST StatusCode = 25303 // Bulk Operation related codes 254xx StatusCode_BULK_OPERATION_SUCCESS StatusCode = 25400 StatusCode_BULK_OPERATION_FAILED StatusCode = 25401 StatusCode_BULK_OPERATION_PENDING StatusCode = 25402 StatusCode_BULK_OPERATION_IN_PROGRESS StatusCode = 25403 StatusCode_BULK_OPERATION_INVALID_REQUEST StatusCode = 25404 StatusCode_BULK_OPERATION_CANCELLED StatusCode = 25405 StatusCode_BULK_OPERATION_UNEXPECTED_ERROR StatusCode = 25406 // Runner related codes 256xx StatusCode_RUNNER_DOES_NOT_EXIST StatusCode = 25600 StatusCode_RUNNER_PERMISSION_DENIED StatusCode = 25601 StatusCode_RUNNER_INVALID_ARGUMENT StatusCode = 25602 StatusCode_RUNNER_INVALID_REQUEST StatusCode = 25603 StatusCode_RUNNER_NEEDS_RETRY StatusCode = 25604 StatusCode_RUNNER_STREAM_START StatusCode = 25605 StatusCode_RUNNER_STREAM_END StatusCode = 25606 StatusCode_RUNNER_ITEM_CANCELLED StatusCode = 25607 StatusCode_RUNNER_PROCESSING_FAILED StatusCode = 25608 // Nodepool related codes 257xx StatusCode_NODEPOOL_DOES_NOT_EXIST StatusCode = 25700 StatusCode_NODEPOOL_INVALID_ARGUMENT StatusCode = 25701 StatusCode_NODEPOOL_INVALID_REQUEST StatusCode = 25702 // ComputeCluster related codes 258xx StatusCode_COMPUTE_CLUSTER_DOES_NOT_EXIST StatusCode = 25800 StatusCode_COMPUTE_CLUSTER_INVALID_ARGUMENT StatusCode = 25801 StatusCode_COMPUTE_CLUSTER_INVALID_REQUEST StatusCode = 25802 // Deployment related codes 259xx StatusCode_DEPLOYMENT_DOES_NOT_EXIST StatusCode = 25900 StatusCode_DEPLOYMENT_INVALID_ARGUMENT StatusCode = 25901 StatusCode_DEPLOYMENT_INVALID_REQUEST StatusCode = 25902 // InstanceType related codes 260xx StatusCode_INSTANCE_TYPE_DOES_NOT_EXIST StatusCode = 26000 StatusCode_INSTANCE_TYPE_INVALID_ARGUMENT StatusCode = 26001 StatusCode_INSTANCE_TYPE_INVALID_REQUEST StatusCode = 26002 // Input:Image related 30xxx StatusCode_INPUT_DOWNLOAD_SUCCESS StatusCode = 30000 StatusCode_INPUT_DOWNLOAD_PENDING StatusCode = 30001 // when things are async, this is the default status. StatusCode_INPUT_DOWNLOAD_FAILED StatusCode = 30002 // any type of error downloading and processing StatusCode_INPUT_DOWNLOAD_IN_PROGRESS StatusCode = 30003 StatusCode_INPUT_STATUS_UPDATE_FAILED StatusCode = 30004 StatusCode_INPUT_DELETE_FAILED StatusCode = 30005 StatusCode_INPUT_DUPLICATE StatusCode = 30100 StatusCode_INPUT_UNSUPPORTED_FORMAT StatusCode = 30101 StatusCode_INPUT_DOES_NOT_EXIST StatusCode = 30102 StatusCode_INPUT_PERMISSION_DENIED StatusCode = 30103 StatusCode_INPUT_INVALID_ARGUMENT StatusCode = 30104 StatusCode_INPUT_OVER_LIMIT StatusCode = 30105 StatusCode_INPUT_INVALID_URL StatusCode = 30106 StatusCode_INPUT_MODIFY_SUCCESS StatusCode = 30200 StatusCode_INPUT_MODIFY_PENDING StatusCode = 30201 StatusCode_INPUT_MODIFY_FAILED StatusCode = 30203 StatusCode_INPUT_STORAGE_HOST_FAILED StatusCode = 30210 StatusCode_ALL_INPUT_INVALID_BYTES StatusCode = 30300 StatusCode_INPUT_CLUSTER_SUCCESS StatusCode = 30400 StatusCode_INPUT_CLUSTER_PENDING StatusCode = 30401 StatusCode_INPUT_CLUSTER_FAILED StatusCode = 30402 StatusCode_INPUT_CLUSTER_IN_PROGRESS StatusCode = 30403 StatusCode_INPUT_REINDEX_SUCCESS StatusCode = 30500 StatusCode_INPUT_REINDEX_PENDING StatusCode = 30501 StatusCode_INPUT_REINDEX_FAILED StatusCode = 30502 StatusCode_INPUT_REINDEX_IN_PROGRESS StatusCode = 30503 // Input:Video related 31xxx -- Deprecated StatusCode_INPUT_VIDEO_DOWNLOAD_SUCCESS StatusCode = 31000 StatusCode_INPUT_VIDEO_DOWNLOAD_PENDING StatusCode = 31001 StatusCode_INPUT_VIDEO_DOWNLOAD_FAILED StatusCode = 31002 StatusCode_INPUT_VIDEO_DUPLICATE StatusCode = 31100 StatusCode_INPUT_VIDEO_UNSUPPORTED_FORMAT StatusCode = 31101 StatusCode_INPUT_VIDEO_DOES_NOT_EXIST StatusCode = 31102 StatusCode_INPUT_VIDEO_PERMISSION_DENIED StatusCode = 31103 StatusCode_INPUT_VIDEO_INVALID_ARGUMENT StatusCode = 31104 StatusCode_INPUT_VIDEO_OVER_LIMIT StatusCode = 31105 StatusCode_INPUT_VIDEO_INVALID_URL StatusCode = 31106 StatusCode_INPUT_VIDEO_MODIFY_SUCCESS StatusCode = 31200 StatusCode_INPUT_VIDEO_MODIFY_PENDING StatusCode = 31201 StatusCode_INPUT_VIDEO_MODIFY_FAILED StatusCode = 31203 StatusCode_INPUT_VIDEO_STORAGE_HOST_FAILED StatusCode = 31210 StatusCode_ALL_INPUT_VIDEOS_INVALID_BYTES StatusCode = 31300 StatusCode_INPUT_VIDEO_PROCESSING_SUCCESS StatusCode = 31400 StatusCode_INPUT_VIDEO_PROCESSING_PENDING StatusCode = 31410 StatusCode_INPUT_VIDEO_PROCESSING_FAILED StatusCode = 31420 StatusCode_INPUT_VIDEO_STORAGE_INCONSISTENCY StatusCode = 31430 StatusCode_INPUT_VIDEO_STORAGE_FAILURE StatusCode = 31440 StatusCode_INPUT_VIDEO_URL_GENERATION_FAILURE StatusCode = 31450 StatusCode_INPUT_CONNECTION_FAILED StatusCode = 39996 StatusCode_REQUEST_DISABLED_FOR_MAINTENANCE StatusCode = 39997 // Deprecated: Do not use. StatusCode_INPUT_WRITES_DISABLED_FOR_MAINTENANCE StatusCode = 39998 // deprecate this one. Use REQUEST_DISABLED_FOR_MAINTENANCE StatusCode_INPUT_INVALID_REQUEST StatusCode = 39999 // API formatting issues 4000x StatusCode_PREDICT_INVALID_REQUEST StatusCode = 40001 StatusCode_SEARCH_INVALID_REQUEST StatusCode = 40002 StatusCode_CONCEPTS_INVALID_REQUEST StatusCode = 40003 StatusCode_STATS_INVALID_REQUEST StatusCode = 40004 // Other related 400xx StatusCode_DATABASE_DUPLICATE_KEY StatusCode = 40010 StatusCode_DATABASE_STATEMENT_TIMEOUT StatusCode = 40011 StatusCode_DATABASE_INVALID_ROWS_AFFECTED StatusCode = 40012 StatusCode_DATABASE_DEADLOCK_DETECTED StatusCode = 40013 StatusCode_DATABASE_FAIL_TASK StatusCode = 40014 StatusCode_DATABASE_FAIL_TO_GET_CONNECTIONS StatusCode = 40015 StatusCode_DATABASE_TOO_MANY_CLIENTS StatusCode = 40016 StatusCode_DATABASE_CONSTRAINT_VIOLATED StatusCode = 40017 StatusCode_DATABASE_CANCELED StatusCode = 40021 StatusCode_ASYNC_WORKER_MULTI_ERRORS StatusCode = 40020 StatusCode_RPC_REQUEST_QUEUE_FULL StatusCode = 40030 StatusCode_RPC_SERVER_UNAVAILABLE StatusCode = 40031 StatusCode_RPC_REQUEST_TIMEOUT StatusCode = 40032 StatusCode_RPC_MAX_MESSAGE_SIZE_EXCEEDED StatusCode = 40033 StatusCode_RPC_CANCELED StatusCode = 40035 StatusCode_RPC_UNKNOWN_METHOD StatusCode = 40036 StatusCode_REQUEST_CANCELED_BY_USER StatusCode = 40037 StatusCode_CLUSTER_INTERNAL_FAILURE StatusCode = 43040 StatusCode_EXTERNAL_CONNECTION_ERROR StatusCode = 40034 // could not connect to external services StatusCode_QUERY_INVALID_SYNTAX StatusCode = 40050 // Queue related errors 41xxx StatusCode_QUEUE_CONN_ERROR StatusCode = 41000 StatusCode_QUEUE_CLOSE_REQUEST_TIMEOUT StatusCode = 41002 StatusCode_QUEUE_CONN_CLOSED StatusCode = 41003 StatusCode_QUEUE_PUBLISH_ACK_TIMEOUT StatusCode = 41004 StatusCode_QUEUE_PUBLISH_ERROR StatusCode = 41005 StatusCode_QUEUE_SUBSCRIPTION_TIMEOUT StatusCode = 41006 StatusCode_QUEUE_SUBSCRIPTION_ERROR StatusCode = 41007 StatusCode_QUEUE_MARSHALLING_FAILED StatusCode = 41008 StatusCode_QUEUE_UNMARSHALLING_FAILED StatusCode = 41009 StatusCode_QUEUE_MAX_MSG_REDELIVERY_EXCEEDED StatusCode = 41010 StatusCode_QUEUE_ACK_FAILURE StatusCode = 41011 // SQS related errors 411xx StatusCode_SQS_OVERLIMIT StatusCode = 41100 StatusCode_SQS_INVALID_RECEIPT_HANDLE StatusCode = 41101 StatusCode_SQS_UNKNOWN StatusCode = 41102 // Search related errors 43xxxx StatusCode_SEARCH_INTERNAL_FAILURE StatusCode = 43001 StatusCode_SEARCH_PROJECTION_FAILURE StatusCode = 43002 StatusCode_SEARCH_PREDICTION_FAILURE StatusCode = 43003 StatusCode_SEARCH_BY_NOT_FULLY_INDEXED_INPUT StatusCode = 43004 StatusCode_SAVED_SEARCH_MODIFY_FAILED StatusCode = 43005 StatusCode_SEARCH_COUNTS_UNAVAILABLE StatusCode = 43006 // Workflow evaluation err code StatusCode_EVALUATION_QUEUED StatusCode = 43100 StatusCode_EVALUATION_IN_PROGRESS StatusCode = 43101 StatusCode_EVALUATION_SUCCESS StatusCode = 43102 StatusCode_EVALUATION_FAILED_TO_RETRIEVE_DATA StatusCode = 43103 StatusCode_EVALUATION_INVALID_ARGUMENT StatusCode = 43104 StatusCode_EVALUATION_FAILED StatusCode = 43105 StatusCode_EVALUATION_PENDING StatusCode = 43106 StatusCode_EVALUATION_TIMED_OUT StatusCode = 43107 StatusCode_EVALUATION_UNEXPECTED_ERROR StatusCode = 43108 StatusCode_EVALUATION_MIXED StatusCode = 43109 // Stripe 44xxx StatusCode_STRIPE_EVENT_ERROR StatusCode = 44001 // Redis/Cache 45xxx StatusCode_CACHE_MISS StatusCode = 45001 StatusCode_REDIS_SCRIPT_EXITED_WITH_FAILURE StatusCode = 45002 StatusCode_REDIS_STREAM_ERR StatusCode = 45003 StatusCode_REDIS_NO_CONSUMERS StatusCode = 45004 StatusCode_REDIS_STREAM_BACKOFF StatusCode = 45005 // Sift Science 46xxx StatusCode_SIGNUP_EVENT_ERROR StatusCode = 46001 StatusCode_SIGNUP_FLAGGED StatusCode = 46002 StatusCode_FILETYPE_UNSUPPORTED StatusCode = 46003 // Application counts related errors 470xx StatusCode_APP_COUNT_INVALID_MESSAGE StatusCode = 47001 StatusCode_APP_COUNT_UPDATE_INCREMENT_FAILED StatusCode = 47002 StatusCode_APP_COUNT_REBUILD_FAILED StatusCode = 47003 StatusCode_APP_COUNT_INTERNAL_FAILURE StatusCode = 47004 // Media processor related errors 471xx -- DEPRECATED StatusCode_MP_DOWNLOAD_ERROR StatusCode = 47101 StatusCode_MP_RESOLVE_DNS_ERROR StatusCode = 47102 StatusCode_MP_DOWNLOAD_MAX_SIZE_EXCEEDED_ERROR StatusCode = 47103 StatusCode_MP_IMAGE_DECODE_ERROR StatusCode = 47104 StatusCode_MP_INVALID_ARGUMENT StatusCode = 47105 StatusCode_MP_IMAGE_PROCESSING_ERROR StatusCode = 47106 // DataTier related error 472xx StatusCode_DATATIER_CONN_ERROR StatusCode = 47201 // User legal consent stauts related 50xxx StatusCode_USER_CONSENT_FACE StatusCode = 50001 // Workers 51xxx StatusCode_WORKER_MISSING StatusCode = 51000 StatusCode_WORKER_ACTIVE StatusCode = 51001 StatusCode_WORKER_INACTIVE StatusCode = 51002 // Collectors 52xxx StatusCode_COLLECTOR_MISSING StatusCode = 52000 StatusCode_COLLECTOR_ACTIVE StatusCode = 52001 StatusCode_COLLECTOR_INACTIVE StatusCode = 52002 StatusCode_COLLECTOR_POST_INPUT_FAILED StatusCode = 52003 // SSO 53xxx StatusCode_SSO_IDENTITY_PROVIDER_DOES_NOT_EXIST StatusCode = 53001 // Tasks 54xxx // The task was created. StatusCode_TASK_IN_PROGRESS StatusCode = 54001 // The task is completed. StatusCode_TASK_DONE StatusCode = 54002 // The task is marked as abandoned. StatusCode_TASK_WONT_DO StatusCode = 54003 // An error occurred during add-task-annotations or add-auto-annotations pipeline. StatusCode_TASK_FAILED StatusCode = 54005 // When an Auto Annotation task job has finished processing its last batch and is waiting for more dataset assets. StatusCode_TASK_IDLE StatusCode = 54006 // The task operation is in conflict with the current state of the server. StatusCode_TASK_CONFLICT StatusCode = 54100 // Certain task-related scenarios are not implemented. StatusCode_TASK_NOT_IMPLEMENTED StatusCode = 54101 // Task was not found. StatusCode_TASK_MISSING StatusCode = 54102 // Not allowed to perform a task-related action. StatusCode_TASK_PERMISSION_DENIED StatusCode = 54103 // Task Assignments 542xx StatusCode_TASK_ASSIGNMENT_SUCCESS StatusCode = 54200 StatusCode_TASK_ASSIGNMENT_PENDING StatusCode = 54201 StatusCode_TASK_ASSIGNMENT_AWAITING_REVIEW StatusCode = 54202 StatusCode_TASK_ASSIGNMENT_AWAITING_CONSENSUS_REVIEW StatusCode = 54203 StatusCode_TASK_ASSIGNMENT_REJECTED StatusCode = 54204 // Task Assignment Reviews 543xx StatusCode_TASK_ASSIGNMENT_REVIEW_SUCCESS StatusCode = 54300 StatusCode_TASK_ASSIGNMENT_REVIEW_PENDING StatusCode = 54301 StatusCode_TASK_ASSIGNMENT_REVIEW_DISMISSED StatusCode = 54302 // Label Order Related Status Code 55xxx StatusCode_LABEL_ORDER_PENDING StatusCode = 55001 StatusCode_LABEL_ORDER_IN_PROGRESS StatusCode = 55002 StatusCode_LABEL_ORDER_SUCCESS StatusCode = 55003 StatusCode_LABEL_ORDER_CANCELED StatusCode = 55004 // License Related Status Code 600xx StatusCode_LICENSE_ACTIVE StatusCode = 60000 StatusCode_LICENSE_DOES_NOT_EXIST StatusCode = 60001 StatusCode_LICENSE_NEED_UPDATE StatusCode = 60002 StatusCode_LICENSE_EXPIRED StatusCode = 60003 StatusCode_LICENSE_REVOKED StatusCode = 60004 StatusCode_LICENSE_DELETED StatusCode = 60005 // hidden state not reflected to users StatusCode_LICENSE_VOLUME_EXCEEDED StatusCode = 60006 // Password Related Status Code StatusCode_PASSWORD_VALIDATION_SUCCESS StatusCode = 61000 StatusCode_PASSWORD_VALIDATION_FAILED StatusCode = 61001 StatusCode_PASSWORDPOLICY_INVALID_ARGUMENT StatusCode = 61002 // Feature flags status code StatusCode_FEATUREFLAG_CONFIG_NOT_FOUND StatusCode = 62000 StatusCode_FEATUREFLAG_INVALID_ARGUMENT StatusCode = 62001 StatusCode_FEATUREFLAG_BLOCKED StatusCode = 62002 // Maintenance status code StatusCode_MAINTENANCE_SUCCESS StatusCode = 63000 StatusCode_MAINTENANCE_FAILED StatusCode = 63001 // Datasets 64xxx // The dataset version is pending to be processed. StatusCode_DATASET_VERSION_PENDING StatusCode = 64005 // The dataset version is currently being processed. StatusCode_DATASET_VERSION_IN_PROGRESS StatusCode = 64010 // The dataset version is ready to be used. StatusCode_DATASET_VERSION_READY StatusCode = 64015 // An error occurred during the dataset version processing. StatusCode_DATASET_VERSION_FAILURE StatusCode = 64020 // An unexpected error occurred during the dataset version processing. StatusCode_DATASET_VERSION_UNEXPECTED_ERROR StatusCode = 64025 // An alteration to dataset version would create a conflict StatusCode_DATASET_VERSION_CONFLICT StatusCode = 64030 // The dataset input was successfully added. StatusCode_DATASET_INPUT_SUCCESS StatusCode = 64100 // The dataset input is a duplicate. // Deprecated: Unused. StatusCode_DATASET_INPUT_DUPLICATE StatusCode = 64101 // The dataset version export is completed. StatusCode_DATASET_VERSION_EXPORT_SUCCESS StatusCode = 64200 // The dataset version is pending to be exported. StatusCode_DATASET_VERSION_EXPORT_PENDING StatusCode = 64201 // An error occurred during the dataset version export. StatusCode_DATASET_VERSION_EXPORT_FAILED StatusCode = 64202 // The dataset version is currently being exported. StatusCode_DATASET_VERSION_EXPORT_IN_PROGRESS StatusCode = 64203 // An unexpected error occurred during the dataset version export. StatusCode_DATASET_VERSION_EXPORT_UNEXPECTED_ERROR StatusCode = 64204 // Generic Job status codes StatusCode_JOB_QUEUED StatusCode = 64000 StatusCode_JOB_RUNNING StatusCode = 64001 StatusCode_JOB_COMPLETED StatusCode = 64002 StatusCode_JOB_FAILED StatusCode = 64003 StatusCode_JOB_CANCELLED StatusCode = 64004 StatusCode_JOB_UNEXPECTED_ERROR StatusCode = 64006 StatusCode_JOB_CONFLICT StatusCode = 64007 // auth issues StatusCode_AUTH_MISSING_IDP_ASSOC StatusCode = 65000 // TODO: Knowledge graph related 80xxx StatusCode_LIST_OBJECTS_FAILED StatusCode = 66000 StatusCode_ARCHIVE_EXTRACT_FAILED StatusCode = 67000 // Multipart uploading status codes StatusCode_UPLOAD_IN_PROGRESS StatusCode = 68000 StatusCode_UPLOAD_DONE StatusCode = 68001 StatusCode_UPLOAD_FAILED StatusCode = 68002 StatusCode_UPLOAD_UNEXPECTED_ERROR StatusCode = 68003 StatusCode_UPLOAD_EXPIRED StatusCode = 68004 StatusCode_UPLOAD_CANCELED StatusCode = 68005 StatusCode_UPLOAD_CONFLICT StatusCode = 68006 // Billing related issues: 69xxx StatusCode_BILLING_INVALID_INFO StatusCode = 69000 // Logs related issues: 70000; StatusCode_LOG_ENTRIES_INVALID_REQUEST StatusCode = 70000 // Internal issues: 98xxx StatusCode_INTERNAL_SERVER_ISSUE StatusCode = 98004 StatusCode_INTERNAL_FETCHING_ISSUE StatusCode = 98005 StatusCode_INTERNAL_DATABASE_ISSUE StatusCode = 98006 StatusCode_INTERNAL_CONTEXT_CANCELED StatusCode = 98008 StatusCode_INTERNAL_UNEXPECTED_TIMEOUT StatusCode = 98009 StatusCode_INTERNAL_UNEXPECTED_V1 StatusCode = 98010 StatusCode_INTERNAL_UNEXPECTED_PANIC StatusCode = 98011 StatusCode_INTERNAL_UNEXPECTED_SPIRE StatusCode = 98012 StatusCode_INTERNAL_REDIS_UNAVAILABLE StatusCode = 98013 StatusCode_INTERNAL_RESOURCE_EXHAUSTED StatusCode = 98014 StatusCode_INTERNAL_REDIS_UNCATEGORIZED StatusCode = 98015 StatusCode_INTERNAL_AWS_UNCATEGORIZED StatusCode = 98016 StatusCode_INTERNAL_AZURE_UNCATEGORIZED StatusCode = 98017 StatusCode_INTERNAL_VECTORDB_UNCATEGORIZED StatusCode = 98018 // Uncategorized: 99xxx: move off as soon as known StatusCode_CONN_UNCATEGORIZED StatusCode = 99001 StatusCode_MODEL_UNCATEGORIZED StatusCode = 99002 StatusCode_INPUT_UNCATEGORIZED StatusCode = 99003 StatusCode_ANNOTATION_UNCATEGORIZED StatusCode = 99004 StatusCode_BILLING_UNCATEGORIZED StatusCode = 99005 StatusCode_INTERNAL_UNCATEGORIZED StatusCode = 99009 // Deprecated: migrate off to one of the internal issues StatusCode_BAD_REQUEST StatusCode = 90400 // Deprecated: migrate off to one of the internal issues StatusCode_SERVER_ERROR StatusCode = 90500 )
func (StatusCode) Descriptor ¶
func (StatusCode) Descriptor() protoreflect.EnumDescriptor
func (StatusCode) Enum ¶
func (x StatusCode) Enum() *StatusCode
func (StatusCode) EnumDescriptor
deprecated
func (StatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusCode.Descriptor instead.
func (StatusCode) Number ¶
func (x StatusCode) Number() protoreflect.EnumNumber
func (StatusCode) String ¶
func (x StatusCode) String() string
func (StatusCode) Type ¶
func (StatusCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.