Skip to content

Commit 13c0f51

Browse files
committed
GRPC clients version 12.0.10
1 parent 0929860 commit 13c0f51

File tree

9 files changed

+423
-7
lines changed

9 files changed

+423
-7
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.0.9
1+
12.0.10

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clarifai-nodejs-grpc",
3-
"version": "12.0.9",
3+
"version": "12.0.10",
44
"description": "The official Clarifai Node.js gRPC client",
55
"main": "src/index.js",
66
"repository": "https://github.com/Clarifai/clarifai-javascript-grpc",

proto/clarifai/api/resources.proto

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,21 @@ message UserAppIDSet {
369369
string app_id = 2;
370370
}
371371

372+
// WorkerIDSet helps to identify different types of workers.
373+
// To identify a user, set user_id field.
374+
// To identify a model from current application, set model_id and model_version_id fields.
375+
// To identify a model from another application, set user_id, app_id, model_id and model_version_id fields.
376+
// To identify a workflow from current application, set workflow_id and workflow_version_id fields.
377+
// To identify a workflow from another application, set user_id, app_id, workflow_id and workflow_version_id fields.
378+
message WorkerIDSet {
379+
string user_id = 1;
380+
string app_id = 2;
381+
string model_id = 3;
382+
string model_version_id = 4;
383+
string workflow_id = 5;
384+
string workflow_version_id = 6;
385+
}
386+
372387
// PatchAction
373388
message PatchAction {
374389
// The operation to perform on the patched metadata given a path
@@ -5760,7 +5775,7 @@ message PipelineVersionRun {
57605775
// When the pipeline run started executing (first JOB_RUNNING status)
57615776
google.protobuf.Timestamp started_at = 11;
57625777

5763-
// When the pipeline run finished executing (terminal status)
5778+
// When the pipeline run finished executing (terminal status)
57645779
google.protobuf.Timestamp ended_at = 12;
57655780

57665781
// Total cumulative run duration excluding pause time

proto/clarifai/api/resources_pb.d.ts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,41 @@ export namespace UserAppIDSet {
720720
}
721721
}
722722

723+
export class WorkerIDSet extends jspb.Message {
724+
getUserId(): string;
725+
setUserId(value: string): WorkerIDSet;
726+
getAppId(): string;
727+
setAppId(value: string): WorkerIDSet;
728+
getModelId(): string;
729+
setModelId(value: string): WorkerIDSet;
730+
getModelVersionId(): string;
731+
setModelVersionId(value: string): WorkerIDSet;
732+
getWorkflowId(): string;
733+
setWorkflowId(value: string): WorkerIDSet;
734+
getWorkflowVersionId(): string;
735+
setWorkflowVersionId(value: string): WorkerIDSet;
736+
737+
serializeBinary(): Uint8Array;
738+
toObject(includeInstance?: boolean): WorkerIDSet.AsObject;
739+
static toObject(includeInstance: boolean, msg: WorkerIDSet): WorkerIDSet.AsObject;
740+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
741+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
742+
static serializeBinaryToWriter(message: WorkerIDSet, writer: jspb.BinaryWriter): void;
743+
static deserializeBinary(bytes: Uint8Array): WorkerIDSet;
744+
static deserializeBinaryFromReader(message: WorkerIDSet, reader: jspb.BinaryReader): WorkerIDSet;
745+
}
746+
747+
export namespace WorkerIDSet {
748+
export type AsObject = {
749+
userId: string,
750+
appId: string,
751+
modelId: string,
752+
modelVersionId: string,
753+
workflowId: string,
754+
workflowVersionId: string,
755+
}
756+
}
757+
723758
export class PatchAction extends jspb.Message {
724759
getOp(): string;
725760
setOp(value: string): PatchAction;

0 commit comments

Comments
 (0)