clarifai-web-grpc 10.8.6 → 10.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +580 -35
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +407 -3
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +580 -35
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +407 -3
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +105 -10
- package/proto/clarifai/api/resources_pb.js +718 -43
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +56 -0
- package/proto/clarifai/api/service_pb.js +498 -3
- package/proto/clarifai/api/status/status_code_pb.d.ts +4 -1
- package/proto/clarifai/api/status/status_code_pb.js +4 -1
|
@@ -9894,4 +9894,46 @@ proto.clarifai.api.V2PromiseClient.prototype.postAuditLogSearches =
|
|
|
9894
9894
|
return this.client_.unaryCall(this.hostname_ +
|
|
9895
9895
|
'/clarifai.api.V2/PostAuditLogSearches', request, metadata || {}, methodDescriptor_V2_PostAuditLogSearches);
|
|
9896
9896
|
};
|
|
9897
|
+
/**
|
|
9898
|
+
* @const
|
|
9899
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9900
|
+
* !proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest,
|
|
9901
|
+
* !proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>}
|
|
9902
|
+
*/
|
|
9903
|
+
const methodDescriptor_V2_ListWorkflowEvaluationTemplates = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListWorkflowEvaluationTemplates', grpc.web.MethodType.UNARY, proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest, proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse,
|
|
9904
|
+
/**
|
|
9905
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request
|
|
9906
|
+
* @return {!Uint8Array}
|
|
9907
|
+
*/
|
|
9908
|
+
function (request) {
|
|
9909
|
+
return request.serializeBinary();
|
|
9910
|
+
}, proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinary);
|
|
9911
|
+
/**
|
|
9912
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request The
|
|
9913
|
+
* request proto
|
|
9914
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9915
|
+
* call metadata
|
|
9916
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse)}
|
|
9917
|
+
* callback The callback function(error, response)
|
|
9918
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>|undefined}
|
|
9919
|
+
* The XHR Node Readable Stream
|
|
9920
|
+
*/
|
|
9921
|
+
proto.clarifai.api.V2Client.prototype.listWorkflowEvaluationTemplates =
|
|
9922
|
+
function (request, metadata, callback) {
|
|
9923
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9924
|
+
'/clarifai.api.V2/ListWorkflowEvaluationTemplates', request, metadata || {}, methodDescriptor_V2_ListWorkflowEvaluationTemplates, callback);
|
|
9925
|
+
};
|
|
9926
|
+
/**
|
|
9927
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request The
|
|
9928
|
+
* request proto
|
|
9929
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9930
|
+
* call metadata
|
|
9931
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>}
|
|
9932
|
+
* Promise that resolves to the response
|
|
9933
|
+
*/
|
|
9934
|
+
proto.clarifai.api.V2PromiseClient.prototype.listWorkflowEvaluationTemplates =
|
|
9935
|
+
function (request, metadata) {
|
|
9936
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9937
|
+
'/clarifai.api.V2/ListWorkflowEvaluationTemplates', request, metadata || {}, methodDescriptor_V2_ListWorkflowEvaluationTemplates);
|
|
9938
|
+
};
|
|
9897
9939
|
module.exports = proto.clarifai.api;
|
|
@@ -182,6 +182,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
|
|
|
182
182
|
goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
|
|
183
183
|
goog.exportSymbol('proto.clarifai.api.ListTrendingMetricsViewsRequest', null, global);
|
|
184
184
|
goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
|
|
185
|
+
goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
|
|
185
186
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
|
|
186
187
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
|
|
187
188
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
|
|
@@ -248,6 +249,7 @@ goog.exportSymbol('proto.clarifai.api.MultiTrainingTimeEstimateResponse', null,
|
|
|
248
249
|
goog.exportSymbol('proto.clarifai.api.MultiTrendingMetricsViewResponse', null, global);
|
|
249
250
|
goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
|
|
250
251
|
goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
|
|
252
|
+
goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
|
|
251
253
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
|
|
252
254
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
|
|
253
255
|
goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
|
|
@@ -7727,7 +7729,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7727
7729
|
* @constructor
|
|
7728
7730
|
*/
|
|
7729
7731
|
proto.clarifai.api.ListDeploymentsRequest = function (opt_data) {
|
|
7730
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
7732
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListDeploymentsRequest.repeatedFields_, null);
|
|
7731
7733
|
};
|
|
7732
7734
|
goog.inherits(proto.clarifai.api.ListDeploymentsRequest, jspb.Message);
|
|
7733
7735
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -7884,6 +7886,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7884
7886
|
*/
|
|
7885
7887
|
proto.clarifai.api.MultiDeploymentResponse.displayName = 'proto.clarifai.api.MultiDeploymentResponse';
|
|
7886
7888
|
}
|
|
7889
|
+
/**
|
|
7890
|
+
* Generated by JsPbCodeGenerator.
|
|
7891
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7892
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7893
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7894
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7895
|
+
* valid.
|
|
7896
|
+
* @extends {jspb.Message}
|
|
7897
|
+
* @constructor
|
|
7898
|
+
*/
|
|
7899
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest = function (opt_data) {
|
|
7900
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7901
|
+
};
|
|
7902
|
+
goog.inherits(proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest, jspb.Message);
|
|
7903
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7904
|
+
/**
|
|
7905
|
+
* @public
|
|
7906
|
+
* @override
|
|
7907
|
+
*/
|
|
7908
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.displayName = 'proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest';
|
|
7909
|
+
}
|
|
7910
|
+
/**
|
|
7911
|
+
* Generated by JsPbCodeGenerator.
|
|
7912
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7913
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7914
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7915
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7916
|
+
* valid.
|
|
7917
|
+
* @extends {jspb.Message}
|
|
7918
|
+
* @constructor
|
|
7919
|
+
*/
|
|
7920
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse = function (opt_data) {
|
|
7921
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.repeatedFields_, null);
|
|
7922
|
+
};
|
|
7923
|
+
goog.inherits(proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse, jspb.Message);
|
|
7924
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7925
|
+
/**
|
|
7926
|
+
* @public
|
|
7927
|
+
* @override
|
|
7928
|
+
*/
|
|
7929
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
|
|
7930
|
+
}
|
|
7887
7931
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7888
7932
|
/**
|
|
7889
7933
|
* Creates an object representation of this proto.
|
|
@@ -50296,7 +50340,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
50296
50340
|
inputsList: jspb.Message.toObjectList(msg.getInputsList(), proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
|
|
50297
50341
|
outputConfig: (f = msg.getOutputConfig()) && proto_clarifai_api_resources_pb.OutputConfig.toObject(includeInstance, f),
|
|
50298
50342
|
favorClarifaiWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
50299
|
-
workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f)
|
|
50343
|
+
workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f),
|
|
50344
|
+
nodeRunnerSelectorsMap: (f = msg.getNodeRunnerSelectorsMap()) ? f.toObject(includeInstance, proto.clarifai.api.RunnerSelector.toObject) : []
|
|
50300
50345
|
};
|
|
50301
50346
|
if (includeInstance) {
|
|
50302
50347
|
obj.$jspbMessageInstance = msg;
|
|
@@ -50360,6 +50405,12 @@ proto.clarifai.api.PostWorkflowResultsRequest.deserializeBinaryFromReader = func
|
|
|
50360
50405
|
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowState.deserializeBinaryFromReader);
|
|
50361
50406
|
msg.setWorkflowState(value);
|
|
50362
50407
|
break;
|
|
50408
|
+
case 8:
|
|
50409
|
+
var value = msg.getNodeRunnerSelectorsMap();
|
|
50410
|
+
reader.readMessage(value, function (message, reader) {
|
|
50411
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader, "", new proto.clarifai.api.RunnerSelector());
|
|
50412
|
+
});
|
|
50413
|
+
break;
|
|
50363
50414
|
default:
|
|
50364
50415
|
reader.skipField();
|
|
50365
50416
|
break;
|
|
@@ -50413,6 +50464,10 @@ proto.clarifai.api.PostWorkflowResultsRequest.serializeBinaryToWriter = function
|
|
|
50413
50464
|
if (f != null) {
|
|
50414
50465
|
writer.writeMessage(6, f, proto_clarifai_api_resources_pb.WorkflowState.serializeBinaryToWriter);
|
|
50415
50466
|
}
|
|
50467
|
+
f = message.getNodeRunnerSelectorsMap(true);
|
|
50468
|
+
if (f && f.getLength() > 0) {
|
|
50469
|
+
f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.RunnerSelector.serializeBinaryToWriter);
|
|
50470
|
+
}
|
|
50416
50471
|
};
|
|
50417
50472
|
/**
|
|
50418
50473
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -50569,6 +50624,23 @@ proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearWorkflowState = fun
|
|
|
50569
50624
|
proto.clarifai.api.PostWorkflowResultsRequest.prototype.hasWorkflowState = function () {
|
|
50570
50625
|
return jspb.Message.getField(this, 6) != null;
|
|
50571
50626
|
};
|
|
50627
|
+
/**
|
|
50628
|
+
* map<string, RunnerSelector> node_runner_selectors = 8;
|
|
50629
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
50630
|
+
* empty, instead returning `undefined`
|
|
50631
|
+
* @return {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>}
|
|
50632
|
+
*/
|
|
50633
|
+
proto.clarifai.api.PostWorkflowResultsRequest.prototype.getNodeRunnerSelectorsMap = function (opt_noLazyCreate) {
|
|
50634
|
+
return /** @type {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getMapField(this, 8, opt_noLazyCreate, proto.clarifai.api.RunnerSelector));
|
|
50635
|
+
};
|
|
50636
|
+
/**
|
|
50637
|
+
* Clears values from the map. The map will be non-null.
|
|
50638
|
+
* @return {!proto.clarifai.api.PostWorkflowResultsRequest} returns this
|
|
50639
|
+
*/
|
|
50640
|
+
proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearNodeRunnerSelectorsMap = function () {
|
|
50641
|
+
this.getNodeRunnerSelectorsMap().clear();
|
|
50642
|
+
return this;
|
|
50643
|
+
};
|
|
50572
50644
|
/**
|
|
50573
50645
|
* List of repeated fields within this message type.
|
|
50574
50646
|
* @private {!Array<number>}
|
|
@@ -73641,6 +73713,12 @@ proto.clarifai.api.GetDeploymentRequest.prototype.getDeploymentId = function ()
|
|
|
73641
73713
|
proto.clarifai.api.GetDeploymentRequest.prototype.setDeploymentId = function (value) {
|
|
73642
73714
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
73643
73715
|
};
|
|
73716
|
+
/**
|
|
73717
|
+
* List of repeated fields within this message type.
|
|
73718
|
+
* @private {!Array<number>}
|
|
73719
|
+
* @const
|
|
73720
|
+
*/
|
|
73721
|
+
proto.clarifai.api.ListDeploymentsRequest.repeatedFields_ = [5, 6];
|
|
73644
73722
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73645
73723
|
/**
|
|
73646
73724
|
* Creates an object representation of this proto.
|
|
@@ -73671,7 +73749,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
73671
73749
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
73672
73750
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
73673
73751
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
73674
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
73752
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
73753
|
+
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
73754
|
+
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
73675
73755
|
};
|
|
73676
73756
|
if (includeInstance) {
|
|
73677
73757
|
obj.$jspbMessageInstance = msg;
|
|
@@ -73720,6 +73800,14 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
|
|
|
73720
73800
|
var value = /** @type {number} */ (reader.readUint32());
|
|
73721
73801
|
msg.setPerPage(value);
|
|
73722
73802
|
break;
|
|
73803
|
+
case 5:
|
|
73804
|
+
var value = /** @type {string} */ (reader.readString());
|
|
73805
|
+
msg.addModelVersionIds(value);
|
|
73806
|
+
break;
|
|
73807
|
+
case 6:
|
|
73808
|
+
var value = /** @type {string} */ (reader.readString());
|
|
73809
|
+
msg.addWorkflowVersionIds(value);
|
|
73810
|
+
break;
|
|
73723
73811
|
default:
|
|
73724
73812
|
reader.skipField();
|
|
73725
73813
|
break;
|
|
@@ -73761,6 +73849,14 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function (me
|
|
|
73761
73849
|
if (f !== 0) {
|
|
73762
73850
|
writer.writeUint32(4, f);
|
|
73763
73851
|
}
|
|
73852
|
+
f = message.getModelVersionIdsList();
|
|
73853
|
+
if (f.length > 0) {
|
|
73854
|
+
writer.writeRepeatedString(5, f);
|
|
73855
|
+
}
|
|
73856
|
+
f = message.getWorkflowVersionIdsList();
|
|
73857
|
+
if (f.length > 0) {
|
|
73858
|
+
writer.writeRepeatedString(6, f);
|
|
73859
|
+
}
|
|
73764
73860
|
};
|
|
73765
73861
|
/**
|
|
73766
73862
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -73832,6 +73928,64 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.getPerPage = function () {
|
|
|
73832
73928
|
proto.clarifai.api.ListDeploymentsRequest.prototype.setPerPage = function (value) {
|
|
73833
73929
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
73834
73930
|
};
|
|
73931
|
+
/**
|
|
73932
|
+
* repeated string model_version_ids = 5;
|
|
73933
|
+
* @return {!Array<string>}
|
|
73934
|
+
*/
|
|
73935
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getModelVersionIdsList = function () {
|
|
73936
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
73937
|
+
};
|
|
73938
|
+
/**
|
|
73939
|
+
* @param {!Array<string>} value
|
|
73940
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73941
|
+
*/
|
|
73942
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setModelVersionIdsList = function (value) {
|
|
73943
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
73944
|
+
};
|
|
73945
|
+
/**
|
|
73946
|
+
* @param {string} value
|
|
73947
|
+
* @param {number=} opt_index
|
|
73948
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73949
|
+
*/
|
|
73950
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.addModelVersionIds = function (value, opt_index) {
|
|
73951
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
73952
|
+
};
|
|
73953
|
+
/**
|
|
73954
|
+
* Clears the list making it empty but non-null.
|
|
73955
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73956
|
+
*/
|
|
73957
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.clearModelVersionIdsList = function () {
|
|
73958
|
+
return this.setModelVersionIdsList([]);
|
|
73959
|
+
};
|
|
73960
|
+
/**
|
|
73961
|
+
* repeated string workflow_version_ids = 6;
|
|
73962
|
+
* @return {!Array<string>}
|
|
73963
|
+
*/
|
|
73964
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getWorkflowVersionIdsList = function () {
|
|
73965
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
73966
|
+
};
|
|
73967
|
+
/**
|
|
73968
|
+
* @param {!Array<string>} value
|
|
73969
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73970
|
+
*/
|
|
73971
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setWorkflowVersionIdsList = function (value) {
|
|
73972
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
73973
|
+
};
|
|
73974
|
+
/**
|
|
73975
|
+
* @param {string} value
|
|
73976
|
+
* @param {number=} opt_index
|
|
73977
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73978
|
+
*/
|
|
73979
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.addWorkflowVersionIds = function (value, opt_index) {
|
|
73980
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
73981
|
+
};
|
|
73982
|
+
/**
|
|
73983
|
+
* Clears the list making it empty but non-null.
|
|
73984
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73985
|
+
*/
|
|
73986
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList = function () {
|
|
73987
|
+
return this.setWorkflowVersionIdsList([]);
|
|
73988
|
+
};
|
|
73835
73989
|
/**
|
|
73836
73990
|
* List of repeated fields within this message type.
|
|
73837
73991
|
* @private {!Array<number>}
|
|
@@ -75070,6 +75224,256 @@ proto.clarifai.api.MultiDeploymentResponse.prototype.addDeployments = function (
|
|
|
75070
75224
|
proto.clarifai.api.MultiDeploymentResponse.prototype.clearDeploymentsList = function () {
|
|
75071
75225
|
return this.setDeploymentsList([]);
|
|
75072
75226
|
};
|
|
75227
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75228
|
+
/**
|
|
75229
|
+
* Creates an object representation of this proto.
|
|
75230
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75231
|
+
* Optional fields that are not set will be set to undefined.
|
|
75232
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75233
|
+
* For the list of reserved names please see:
|
|
75234
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
75235
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
75236
|
+
* JSPB instance for transitional soy proto support:
|
|
75237
|
+
* http://goto/soy-param-migration
|
|
75238
|
+
* @return {!Object}
|
|
75239
|
+
*/
|
|
75240
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.prototype.toObject = function (opt_includeInstance) {
|
|
75241
|
+
return proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.toObject(opt_includeInstance, this);
|
|
75242
|
+
};
|
|
75243
|
+
/**
|
|
75244
|
+
* Static version of the {@see toObject} method.
|
|
75245
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
75246
|
+
* the JSPB instance for transitional soy proto support:
|
|
75247
|
+
* http://goto/soy-param-migration
|
|
75248
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} msg The msg instance to transform.
|
|
75249
|
+
* @return {!Object}
|
|
75250
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75251
|
+
*/
|
|
75252
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.toObject = function (includeInstance, msg) {
|
|
75253
|
+
var f, obj = {};
|
|
75254
|
+
if (includeInstance) {
|
|
75255
|
+
obj.$jspbMessageInstance = msg;
|
|
75256
|
+
}
|
|
75257
|
+
return obj;
|
|
75258
|
+
};
|
|
75259
|
+
}
|
|
75260
|
+
/**
|
|
75261
|
+
* Deserializes binary data (in protobuf wire format).
|
|
75262
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
75263
|
+
* @return {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest}
|
|
75264
|
+
*/
|
|
75265
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinary = function (bytes) {
|
|
75266
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
75267
|
+
var msg = new proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest;
|
|
75268
|
+
return proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
75269
|
+
};
|
|
75270
|
+
/**
|
|
75271
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
75272
|
+
* given reader into the given message object.
|
|
75273
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} msg The message object to deserialize into.
|
|
75274
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
75275
|
+
* @return {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest}
|
|
75276
|
+
*/
|
|
75277
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
75278
|
+
while (reader.nextField()) {
|
|
75279
|
+
if (reader.isEndGroup()) {
|
|
75280
|
+
break;
|
|
75281
|
+
}
|
|
75282
|
+
var field = reader.getFieldNumber();
|
|
75283
|
+
switch (field) {
|
|
75284
|
+
default:
|
|
75285
|
+
reader.skipField();
|
|
75286
|
+
break;
|
|
75287
|
+
}
|
|
75288
|
+
}
|
|
75289
|
+
return msg;
|
|
75290
|
+
};
|
|
75291
|
+
/**
|
|
75292
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
75293
|
+
* @return {!Uint8Array}
|
|
75294
|
+
*/
|
|
75295
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.prototype.serializeBinary = function () {
|
|
75296
|
+
var writer = new jspb.BinaryWriter();
|
|
75297
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.serializeBinaryToWriter(this, writer);
|
|
75298
|
+
return writer.getResultBuffer();
|
|
75299
|
+
};
|
|
75300
|
+
/**
|
|
75301
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
75302
|
+
* format), writing to the given BinaryWriter.
|
|
75303
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} message
|
|
75304
|
+
* @param {!jspb.BinaryWriter} writer
|
|
75305
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75306
|
+
*/
|
|
75307
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.serializeBinaryToWriter = function (message, writer) {
|
|
75308
|
+
var f = undefined;
|
|
75309
|
+
};
|
|
75310
|
+
/**
|
|
75311
|
+
* List of repeated fields within this message type.
|
|
75312
|
+
* @private {!Array<number>}
|
|
75313
|
+
* @const
|
|
75314
|
+
*/
|
|
75315
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.repeatedFields_ = [2];
|
|
75316
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75317
|
+
/**
|
|
75318
|
+
* Creates an object representation of this proto.
|
|
75319
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75320
|
+
* Optional fields that are not set will be set to undefined.
|
|
75321
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75322
|
+
* For the list of reserved names please see:
|
|
75323
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
75324
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
75325
|
+
* JSPB instance for transitional soy proto support:
|
|
75326
|
+
* http://goto/soy-param-migration
|
|
75327
|
+
* @return {!Object}
|
|
75328
|
+
*/
|
|
75329
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.toObject = function (opt_includeInstance) {
|
|
75330
|
+
return proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.toObject(opt_includeInstance, this);
|
|
75331
|
+
};
|
|
75332
|
+
/**
|
|
75333
|
+
* Static version of the {@see toObject} method.
|
|
75334
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
75335
|
+
* the JSPB instance for transitional soy proto support:
|
|
75336
|
+
* http://goto/soy-param-migration
|
|
75337
|
+
* @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} msg The msg instance to transform.
|
|
75338
|
+
* @return {!Object}
|
|
75339
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75340
|
+
*/
|
|
75341
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.toObject = function (includeInstance, msg) {
|
|
75342
|
+
var f, obj = {
|
|
75343
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
75344
|
+
workflowVersionEvaluationTemplatesList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationTemplatesList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.toObject, includeInstance)
|
|
75345
|
+
};
|
|
75346
|
+
if (includeInstance) {
|
|
75347
|
+
obj.$jspbMessageInstance = msg;
|
|
75348
|
+
}
|
|
75349
|
+
return obj;
|
|
75350
|
+
};
|
|
75351
|
+
}
|
|
75352
|
+
/**
|
|
75353
|
+
* Deserializes binary data (in protobuf wire format).
|
|
75354
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
75355
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse}
|
|
75356
|
+
*/
|
|
75357
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinary = function (bytes) {
|
|
75358
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
75359
|
+
var msg = new proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse;
|
|
75360
|
+
return proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinaryFromReader(msg, reader);
|
|
75361
|
+
};
|
|
75362
|
+
/**
|
|
75363
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
75364
|
+
* given reader into the given message object.
|
|
75365
|
+
* @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} msg The message object to deserialize into.
|
|
75366
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
75367
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse}
|
|
75368
|
+
*/
|
|
75369
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
75370
|
+
while (reader.nextField()) {
|
|
75371
|
+
if (reader.isEndGroup()) {
|
|
75372
|
+
break;
|
|
75373
|
+
}
|
|
75374
|
+
var field = reader.getFieldNumber();
|
|
75375
|
+
switch (field) {
|
|
75376
|
+
case 1:
|
|
75377
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
75378
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
75379
|
+
msg.setStatus(value);
|
|
75380
|
+
break;
|
|
75381
|
+
case 2:
|
|
75382
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate;
|
|
75383
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
|
|
75384
|
+
msg.addWorkflowVersionEvaluationTemplates(value);
|
|
75385
|
+
break;
|
|
75386
|
+
default:
|
|
75387
|
+
reader.skipField();
|
|
75388
|
+
break;
|
|
75389
|
+
}
|
|
75390
|
+
}
|
|
75391
|
+
return msg;
|
|
75392
|
+
};
|
|
75393
|
+
/**
|
|
75394
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
75395
|
+
* @return {!Uint8Array}
|
|
75396
|
+
*/
|
|
75397
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.serializeBinary = function () {
|
|
75398
|
+
var writer = new jspb.BinaryWriter();
|
|
75399
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.serializeBinaryToWriter(this, writer);
|
|
75400
|
+
return writer.getResultBuffer();
|
|
75401
|
+
};
|
|
75402
|
+
/**
|
|
75403
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
75404
|
+
* format), writing to the given BinaryWriter.
|
|
75405
|
+
* @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} message
|
|
75406
|
+
* @param {!jspb.BinaryWriter} writer
|
|
75407
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75408
|
+
*/
|
|
75409
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.serializeBinaryToWriter = function (message, writer) {
|
|
75410
|
+
var f = undefined;
|
|
75411
|
+
f = message.getStatus();
|
|
75412
|
+
if (f != null) {
|
|
75413
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
75414
|
+
}
|
|
75415
|
+
f = message.getWorkflowVersionEvaluationTemplatesList();
|
|
75416
|
+
if (f.length > 0) {
|
|
75417
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter);
|
|
75418
|
+
}
|
|
75419
|
+
};
|
|
75420
|
+
/**
|
|
75421
|
+
* optional status.Status status = 1;
|
|
75422
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
75423
|
+
*/
|
|
75424
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.getStatus = function () {
|
|
75425
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
75426
|
+
};
|
|
75427
|
+
/**
|
|
75428
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
75429
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
75430
|
+
*/
|
|
75431
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.setStatus = function (value) {
|
|
75432
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
75433
|
+
};
|
|
75434
|
+
/**
|
|
75435
|
+
* Clears the message field making it undefined.
|
|
75436
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
75437
|
+
*/
|
|
75438
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearStatus = function () {
|
|
75439
|
+
return this.setStatus(undefined);
|
|
75440
|
+
};
|
|
75441
|
+
/**
|
|
75442
|
+
* Returns whether this field is set.
|
|
75443
|
+
* @return {boolean}
|
|
75444
|
+
*/
|
|
75445
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.hasStatus = function () {
|
|
75446
|
+
return jspb.Message.getField(this, 1) != null;
|
|
75447
|
+
};
|
|
75448
|
+
/**
|
|
75449
|
+
* repeated WorkflowVersionEvaluationTemplate workflow_version_evaluation_templates = 2;
|
|
75450
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>}
|
|
75451
|
+
*/
|
|
75452
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.getWorkflowVersionEvaluationTemplatesList = function () {
|
|
75453
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate, 2));
|
|
75454
|
+
};
|
|
75455
|
+
/**
|
|
75456
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>} value
|
|
75457
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
75458
|
+
*/
|
|
75459
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.setWorkflowVersionEvaluationTemplatesList = function (value) {
|
|
75460
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
75461
|
+
};
|
|
75462
|
+
/**
|
|
75463
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluationTemplate=} opt_value
|
|
75464
|
+
* @param {number=} opt_index
|
|
75465
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationTemplate}
|
|
75466
|
+
*/
|
|
75467
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.addWorkflowVersionEvaluationTemplates = function (opt_value, opt_index) {
|
|
75468
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluationTemplate, opt_index);
|
|
75469
|
+
};
|
|
75470
|
+
/**
|
|
75471
|
+
* Clears the list making it empty but non-null.
|
|
75472
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
75473
|
+
*/
|
|
75474
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkflowVersionEvaluationTemplatesList = function () {
|
|
75475
|
+
return this.setWorkflowVersionEvaluationTemplatesList([]);
|
|
75476
|
+
};
|
|
75073
75477
|
/**
|
|
75074
75478
|
* @enum {number}
|
|
75075
75479
|
*/
|
|
@@ -331,7 +331,10 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
331
331
|
TASK_ASSIGNMENT_PENDING: 54201,
|
|
332
332
|
TASK_ASSIGNMENT_AWAITING_REVIEW: 54202,
|
|
333
333
|
TASK_ASSIGNMENT_AWAITING_CONSENSUS_REVIEW: 54203,
|
|
334
|
-
|
|
334
|
+
TASK_ASSIGNMENT_REJECTED: 54204,
|
|
335
|
+
TASK_ASSIGNMENT_REVIEW_SUCCESS: 54300,
|
|
336
|
+
TASK_ASSIGNMENT_REVIEW_PENDING: 54301,
|
|
337
|
+
TASK_ASSIGNMENT_REVIEW_DISMISSED: 54302,
|
|
335
338
|
LABEL_ORDER_PENDING: 55001,
|
|
336
339
|
LABEL_ORDER_IN_PROGRESS: 55002,
|
|
337
340
|
LABEL_ORDER_SUCCESS: 55003,
|