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
|
@@ -184,6 +184,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
|
|
|
184
184
|
goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
|
|
185
185
|
goog.exportSymbol('proto.clarifai.api.ListTrendingMetricsViewsRequest', null, global);
|
|
186
186
|
goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
|
|
187
|
+
goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
|
|
187
188
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
|
|
188
189
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
|
|
189
190
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
|
|
@@ -250,6 +251,7 @@ goog.exportSymbol('proto.clarifai.api.MultiTrainingTimeEstimateResponse', null,
|
|
|
250
251
|
goog.exportSymbol('proto.clarifai.api.MultiTrendingMetricsViewResponse', null, global);
|
|
251
252
|
goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
|
|
252
253
|
goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
|
|
254
|
+
goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
|
|
253
255
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
|
|
254
256
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
|
|
255
257
|
goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
|
|
@@ -7729,7 +7731,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7729
7731
|
* @constructor
|
|
7730
7732
|
*/
|
|
7731
7733
|
proto.clarifai.api.ListDeploymentsRequest = function(opt_data) {
|
|
7732
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
7734
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListDeploymentsRequest.repeatedFields_, null);
|
|
7733
7735
|
};
|
|
7734
7736
|
goog.inherits(proto.clarifai.api.ListDeploymentsRequest, jspb.Message);
|
|
7735
7737
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -7886,6 +7888,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7886
7888
|
*/
|
|
7887
7889
|
proto.clarifai.api.MultiDeploymentResponse.displayName = 'proto.clarifai.api.MultiDeploymentResponse';
|
|
7888
7890
|
}
|
|
7891
|
+
/**
|
|
7892
|
+
* Generated by JsPbCodeGenerator.
|
|
7893
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7894
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7895
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7896
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7897
|
+
* valid.
|
|
7898
|
+
* @extends {jspb.Message}
|
|
7899
|
+
* @constructor
|
|
7900
|
+
*/
|
|
7901
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest = function(opt_data) {
|
|
7902
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7903
|
+
};
|
|
7904
|
+
goog.inherits(proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest, jspb.Message);
|
|
7905
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7906
|
+
/**
|
|
7907
|
+
* @public
|
|
7908
|
+
* @override
|
|
7909
|
+
*/
|
|
7910
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.displayName = 'proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest';
|
|
7911
|
+
}
|
|
7912
|
+
/**
|
|
7913
|
+
* Generated by JsPbCodeGenerator.
|
|
7914
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7915
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7916
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7917
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7918
|
+
* valid.
|
|
7919
|
+
* @extends {jspb.Message}
|
|
7920
|
+
* @constructor
|
|
7921
|
+
*/
|
|
7922
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse = function(opt_data) {
|
|
7923
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.repeatedFields_, null);
|
|
7924
|
+
};
|
|
7925
|
+
goog.inherits(proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse, jspb.Message);
|
|
7926
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7927
|
+
/**
|
|
7928
|
+
* @public
|
|
7929
|
+
* @override
|
|
7930
|
+
*/
|
|
7931
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
|
|
7932
|
+
}
|
|
7889
7933
|
|
|
7890
7934
|
|
|
7891
7935
|
|
|
@@ -61507,7 +61551,8 @@ proto.clarifai.api.PostWorkflowResultsRequest.toObject = function(includeInstanc
|
|
|
61507
61551
|
proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
|
|
61508
61552
|
outputConfig: (f = msg.getOutputConfig()) && proto_clarifai_api_resources_pb.OutputConfig.toObject(includeInstance, f),
|
|
61509
61553
|
favorClarifaiWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
61510
|
-
workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f)
|
|
61554
|
+
workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f),
|
|
61555
|
+
nodeRunnerSelectorsMap: (f = msg.getNodeRunnerSelectorsMap()) ? f.toObject(includeInstance, proto.clarifai.api.RunnerSelector.toObject) : []
|
|
61511
61556
|
};
|
|
61512
61557
|
|
|
61513
61558
|
if (includeInstance) {
|
|
@@ -61576,6 +61621,12 @@ proto.clarifai.api.PostWorkflowResultsRequest.deserializeBinaryFromReader = func
|
|
|
61576
61621
|
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowState.deserializeBinaryFromReader);
|
|
61577
61622
|
msg.setWorkflowState(value);
|
|
61578
61623
|
break;
|
|
61624
|
+
case 8:
|
|
61625
|
+
var value = msg.getNodeRunnerSelectorsMap();
|
|
61626
|
+
reader.readMessage(value, function(message, reader) {
|
|
61627
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader, "", new proto.clarifai.api.RunnerSelector());
|
|
61628
|
+
});
|
|
61629
|
+
break;
|
|
61579
61630
|
default:
|
|
61580
61631
|
reader.skipField();
|
|
61581
61632
|
break;
|
|
@@ -61658,6 +61709,10 @@ proto.clarifai.api.PostWorkflowResultsRequest.serializeBinaryToWriter = function
|
|
|
61658
61709
|
proto_clarifai_api_resources_pb.WorkflowState.serializeBinaryToWriter
|
|
61659
61710
|
);
|
|
61660
61711
|
}
|
|
61712
|
+
f = message.getNodeRunnerSelectorsMap(true);
|
|
61713
|
+
if (f && f.getLength() > 0) {
|
|
61714
|
+
f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.RunnerSelector.serializeBinaryToWriter);
|
|
61715
|
+
}
|
|
61661
61716
|
};
|
|
61662
61717
|
|
|
61663
61718
|
|
|
@@ -61864,6 +61919,29 @@ proto.clarifai.api.PostWorkflowResultsRequest.prototype.hasWorkflowState = funct
|
|
|
61864
61919
|
};
|
|
61865
61920
|
|
|
61866
61921
|
|
|
61922
|
+
/**
|
|
61923
|
+
* map<string, RunnerSelector> node_runner_selectors = 8;
|
|
61924
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
61925
|
+
* empty, instead returning `undefined`
|
|
61926
|
+
* @return {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>}
|
|
61927
|
+
*/
|
|
61928
|
+
proto.clarifai.api.PostWorkflowResultsRequest.prototype.getNodeRunnerSelectorsMap = function(opt_noLazyCreate) {
|
|
61929
|
+
return /** @type {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>} */ (
|
|
61930
|
+
jspb.Message.getMapField(this, 8, opt_noLazyCreate,
|
|
61931
|
+
proto.clarifai.api.RunnerSelector));
|
|
61932
|
+
};
|
|
61933
|
+
|
|
61934
|
+
|
|
61935
|
+
/**
|
|
61936
|
+
* Clears values from the map. The map will be non-null.
|
|
61937
|
+
* @return {!proto.clarifai.api.PostWorkflowResultsRequest} returns this
|
|
61938
|
+
*/
|
|
61939
|
+
proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearNodeRunnerSelectorsMap = function() {
|
|
61940
|
+
this.getNodeRunnerSelectorsMap().clear();
|
|
61941
|
+
return this;
|
|
61942
|
+
};
|
|
61943
|
+
|
|
61944
|
+
|
|
61867
61945
|
|
|
61868
61946
|
/**
|
|
61869
61947
|
* List of repeated fields within this message type.
|
|
@@ -90969,6 +91047,13 @@ proto.clarifai.api.GetDeploymentRequest.prototype.setDeploymentId = function(val
|
|
|
90969
91047
|
|
|
90970
91048
|
|
|
90971
91049
|
|
|
91050
|
+
/**
|
|
91051
|
+
* List of repeated fields within this message type.
|
|
91052
|
+
* @private {!Array<number>}
|
|
91053
|
+
* @const
|
|
91054
|
+
*/
|
|
91055
|
+
proto.clarifai.api.ListDeploymentsRequest.repeatedFields_ = [5,6];
|
|
91056
|
+
|
|
90972
91057
|
|
|
90973
91058
|
|
|
90974
91059
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -91003,7 +91088,9 @@ proto.clarifai.api.ListDeploymentsRequest.toObject = function(includeInstance, m
|
|
|
91003
91088
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
91004
91089
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
91005
91090
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
91006
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
91091
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
91092
|
+
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
91093
|
+
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
91007
91094
|
};
|
|
91008
91095
|
|
|
91009
91096
|
if (includeInstance) {
|
|
@@ -91057,6 +91144,14 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
|
|
|
91057
91144
|
var value = /** @type {number} */ (reader.readUint32());
|
|
91058
91145
|
msg.setPerPage(value);
|
|
91059
91146
|
break;
|
|
91147
|
+
case 5:
|
|
91148
|
+
var value = /** @type {string} */ (reader.readString());
|
|
91149
|
+
msg.addModelVersionIds(value);
|
|
91150
|
+
break;
|
|
91151
|
+
case 6:
|
|
91152
|
+
var value = /** @type {string} */ (reader.readString());
|
|
91153
|
+
msg.addWorkflowVersionIds(value);
|
|
91154
|
+
break;
|
|
91060
91155
|
default:
|
|
91061
91156
|
reader.skipField();
|
|
91062
91157
|
break;
|
|
@@ -91115,6 +91210,20 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function(mes
|
|
|
91115
91210
|
f
|
|
91116
91211
|
);
|
|
91117
91212
|
}
|
|
91213
|
+
f = message.getModelVersionIdsList();
|
|
91214
|
+
if (f.length > 0) {
|
|
91215
|
+
writer.writeRepeatedString(
|
|
91216
|
+
5,
|
|
91217
|
+
f
|
|
91218
|
+
);
|
|
91219
|
+
}
|
|
91220
|
+
f = message.getWorkflowVersionIdsList();
|
|
91221
|
+
if (f.length > 0) {
|
|
91222
|
+
writer.writeRepeatedString(
|
|
91223
|
+
6,
|
|
91224
|
+
f
|
|
91225
|
+
);
|
|
91226
|
+
}
|
|
91118
91227
|
};
|
|
91119
91228
|
|
|
91120
91229
|
|
|
@@ -91209,6 +91318,80 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.setPerPage = function(value)
|
|
|
91209
91318
|
};
|
|
91210
91319
|
|
|
91211
91320
|
|
|
91321
|
+
/**
|
|
91322
|
+
* repeated string model_version_ids = 5;
|
|
91323
|
+
* @return {!Array<string>}
|
|
91324
|
+
*/
|
|
91325
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getModelVersionIdsList = function() {
|
|
91326
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
91327
|
+
};
|
|
91328
|
+
|
|
91329
|
+
|
|
91330
|
+
/**
|
|
91331
|
+
* @param {!Array<string>} value
|
|
91332
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
91333
|
+
*/
|
|
91334
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setModelVersionIdsList = function(value) {
|
|
91335
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
91336
|
+
};
|
|
91337
|
+
|
|
91338
|
+
|
|
91339
|
+
/**
|
|
91340
|
+
* @param {string} value
|
|
91341
|
+
* @param {number=} opt_index
|
|
91342
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
91343
|
+
*/
|
|
91344
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.addModelVersionIds = function(value, opt_index) {
|
|
91345
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
91346
|
+
};
|
|
91347
|
+
|
|
91348
|
+
|
|
91349
|
+
/**
|
|
91350
|
+
* Clears the list making it empty but non-null.
|
|
91351
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
91352
|
+
*/
|
|
91353
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.clearModelVersionIdsList = function() {
|
|
91354
|
+
return this.setModelVersionIdsList([]);
|
|
91355
|
+
};
|
|
91356
|
+
|
|
91357
|
+
|
|
91358
|
+
/**
|
|
91359
|
+
* repeated string workflow_version_ids = 6;
|
|
91360
|
+
* @return {!Array<string>}
|
|
91361
|
+
*/
|
|
91362
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getWorkflowVersionIdsList = function() {
|
|
91363
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
91364
|
+
};
|
|
91365
|
+
|
|
91366
|
+
|
|
91367
|
+
/**
|
|
91368
|
+
* @param {!Array<string>} value
|
|
91369
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
91370
|
+
*/
|
|
91371
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setWorkflowVersionIdsList = function(value) {
|
|
91372
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
91373
|
+
};
|
|
91374
|
+
|
|
91375
|
+
|
|
91376
|
+
/**
|
|
91377
|
+
* @param {string} value
|
|
91378
|
+
* @param {number=} opt_index
|
|
91379
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
91380
|
+
*/
|
|
91381
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.addWorkflowVersionIds = function(value, opt_index) {
|
|
91382
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
91383
|
+
};
|
|
91384
|
+
|
|
91385
|
+
|
|
91386
|
+
/**
|
|
91387
|
+
* Clears the list making it empty but non-null.
|
|
91388
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
91389
|
+
*/
|
|
91390
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList = function() {
|
|
91391
|
+
return this.setWorkflowVersionIdsList([]);
|
|
91392
|
+
};
|
|
91393
|
+
|
|
91394
|
+
|
|
91212
91395
|
|
|
91213
91396
|
/**
|
|
91214
91397
|
* List of repeated fields within this message type.
|
|
@@ -92775,6 +92958,318 @@ proto.clarifai.api.MultiDeploymentResponse.prototype.clearDeploymentsList = func
|
|
|
92775
92958
|
};
|
|
92776
92959
|
|
|
92777
92960
|
|
|
92961
|
+
|
|
92962
|
+
|
|
92963
|
+
|
|
92964
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
92965
|
+
/**
|
|
92966
|
+
* Creates an object representation of this proto.
|
|
92967
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
92968
|
+
* Optional fields that are not set will be set to undefined.
|
|
92969
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
92970
|
+
* For the list of reserved names please see:
|
|
92971
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
92972
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
92973
|
+
* JSPB instance for transitional soy proto support:
|
|
92974
|
+
* http://goto/soy-param-migration
|
|
92975
|
+
* @return {!Object}
|
|
92976
|
+
*/
|
|
92977
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
92978
|
+
return proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.toObject(opt_includeInstance, this);
|
|
92979
|
+
};
|
|
92980
|
+
|
|
92981
|
+
|
|
92982
|
+
/**
|
|
92983
|
+
* Static version of the {@see toObject} method.
|
|
92984
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
92985
|
+
* the JSPB instance for transitional soy proto support:
|
|
92986
|
+
* http://goto/soy-param-migration
|
|
92987
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} msg The msg instance to transform.
|
|
92988
|
+
* @return {!Object}
|
|
92989
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92990
|
+
*/
|
|
92991
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.toObject = function(includeInstance, msg) {
|
|
92992
|
+
var f, obj = {
|
|
92993
|
+
|
|
92994
|
+
};
|
|
92995
|
+
|
|
92996
|
+
if (includeInstance) {
|
|
92997
|
+
obj.$jspbMessageInstance = msg;
|
|
92998
|
+
}
|
|
92999
|
+
return obj;
|
|
93000
|
+
};
|
|
93001
|
+
}
|
|
93002
|
+
|
|
93003
|
+
|
|
93004
|
+
/**
|
|
93005
|
+
* Deserializes binary data (in protobuf wire format).
|
|
93006
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
93007
|
+
* @return {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest}
|
|
93008
|
+
*/
|
|
93009
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinary = function(bytes) {
|
|
93010
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
93011
|
+
var msg = new proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest;
|
|
93012
|
+
return proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
93013
|
+
};
|
|
93014
|
+
|
|
93015
|
+
|
|
93016
|
+
/**
|
|
93017
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
93018
|
+
* given reader into the given message object.
|
|
93019
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} msg The message object to deserialize into.
|
|
93020
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
93021
|
+
* @return {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest}
|
|
93022
|
+
*/
|
|
93023
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
93024
|
+
while (reader.nextField()) {
|
|
93025
|
+
if (reader.isEndGroup()) {
|
|
93026
|
+
break;
|
|
93027
|
+
}
|
|
93028
|
+
var field = reader.getFieldNumber();
|
|
93029
|
+
switch (field) {
|
|
93030
|
+
default:
|
|
93031
|
+
reader.skipField();
|
|
93032
|
+
break;
|
|
93033
|
+
}
|
|
93034
|
+
}
|
|
93035
|
+
return msg;
|
|
93036
|
+
};
|
|
93037
|
+
|
|
93038
|
+
|
|
93039
|
+
/**
|
|
93040
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
93041
|
+
* @return {!Uint8Array}
|
|
93042
|
+
*/
|
|
93043
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.prototype.serializeBinary = function() {
|
|
93044
|
+
var writer = new jspb.BinaryWriter();
|
|
93045
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.serializeBinaryToWriter(this, writer);
|
|
93046
|
+
return writer.getResultBuffer();
|
|
93047
|
+
};
|
|
93048
|
+
|
|
93049
|
+
|
|
93050
|
+
/**
|
|
93051
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
93052
|
+
* format), writing to the given BinaryWriter.
|
|
93053
|
+
* @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} message
|
|
93054
|
+
* @param {!jspb.BinaryWriter} writer
|
|
93055
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
93056
|
+
*/
|
|
93057
|
+
proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
93058
|
+
var f = undefined;
|
|
93059
|
+
};
|
|
93060
|
+
|
|
93061
|
+
|
|
93062
|
+
|
|
93063
|
+
/**
|
|
93064
|
+
* List of repeated fields within this message type.
|
|
93065
|
+
* @private {!Array<number>}
|
|
93066
|
+
* @const
|
|
93067
|
+
*/
|
|
93068
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.repeatedFields_ = [2];
|
|
93069
|
+
|
|
93070
|
+
|
|
93071
|
+
|
|
93072
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
93073
|
+
/**
|
|
93074
|
+
* Creates an object representation of this proto.
|
|
93075
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
93076
|
+
* Optional fields that are not set will be set to undefined.
|
|
93077
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
93078
|
+
* For the list of reserved names please see:
|
|
93079
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
93080
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
93081
|
+
* JSPB instance for transitional soy proto support:
|
|
93082
|
+
* http://goto/soy-param-migration
|
|
93083
|
+
* @return {!Object}
|
|
93084
|
+
*/
|
|
93085
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.toObject = function(opt_includeInstance) {
|
|
93086
|
+
return proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.toObject(opt_includeInstance, this);
|
|
93087
|
+
};
|
|
93088
|
+
|
|
93089
|
+
|
|
93090
|
+
/**
|
|
93091
|
+
* Static version of the {@see toObject} method.
|
|
93092
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
93093
|
+
* the JSPB instance for transitional soy proto support:
|
|
93094
|
+
* http://goto/soy-param-migration
|
|
93095
|
+
* @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} msg The msg instance to transform.
|
|
93096
|
+
* @return {!Object}
|
|
93097
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
93098
|
+
*/
|
|
93099
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.toObject = function(includeInstance, msg) {
|
|
93100
|
+
var f, obj = {
|
|
93101
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
93102
|
+
workflowVersionEvaluationTemplatesList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationTemplatesList(),
|
|
93103
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.toObject, includeInstance)
|
|
93104
|
+
};
|
|
93105
|
+
|
|
93106
|
+
if (includeInstance) {
|
|
93107
|
+
obj.$jspbMessageInstance = msg;
|
|
93108
|
+
}
|
|
93109
|
+
return obj;
|
|
93110
|
+
};
|
|
93111
|
+
}
|
|
93112
|
+
|
|
93113
|
+
|
|
93114
|
+
/**
|
|
93115
|
+
* Deserializes binary data (in protobuf wire format).
|
|
93116
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
93117
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse}
|
|
93118
|
+
*/
|
|
93119
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinary = function(bytes) {
|
|
93120
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
93121
|
+
var msg = new proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse;
|
|
93122
|
+
return proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinaryFromReader(msg, reader);
|
|
93123
|
+
};
|
|
93124
|
+
|
|
93125
|
+
|
|
93126
|
+
/**
|
|
93127
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
93128
|
+
* given reader into the given message object.
|
|
93129
|
+
* @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} msg The message object to deserialize into.
|
|
93130
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
93131
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse}
|
|
93132
|
+
*/
|
|
93133
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
93134
|
+
while (reader.nextField()) {
|
|
93135
|
+
if (reader.isEndGroup()) {
|
|
93136
|
+
break;
|
|
93137
|
+
}
|
|
93138
|
+
var field = reader.getFieldNumber();
|
|
93139
|
+
switch (field) {
|
|
93140
|
+
case 1:
|
|
93141
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
93142
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
93143
|
+
msg.setStatus(value);
|
|
93144
|
+
break;
|
|
93145
|
+
case 2:
|
|
93146
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate;
|
|
93147
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
|
|
93148
|
+
msg.addWorkflowVersionEvaluationTemplates(value);
|
|
93149
|
+
break;
|
|
93150
|
+
default:
|
|
93151
|
+
reader.skipField();
|
|
93152
|
+
break;
|
|
93153
|
+
}
|
|
93154
|
+
}
|
|
93155
|
+
return msg;
|
|
93156
|
+
};
|
|
93157
|
+
|
|
93158
|
+
|
|
93159
|
+
/**
|
|
93160
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
93161
|
+
* @return {!Uint8Array}
|
|
93162
|
+
*/
|
|
93163
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.serializeBinary = function() {
|
|
93164
|
+
var writer = new jspb.BinaryWriter();
|
|
93165
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.serializeBinaryToWriter(this, writer);
|
|
93166
|
+
return writer.getResultBuffer();
|
|
93167
|
+
};
|
|
93168
|
+
|
|
93169
|
+
|
|
93170
|
+
/**
|
|
93171
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
93172
|
+
* format), writing to the given BinaryWriter.
|
|
93173
|
+
* @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} message
|
|
93174
|
+
* @param {!jspb.BinaryWriter} writer
|
|
93175
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
93176
|
+
*/
|
|
93177
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.serializeBinaryToWriter = function(message, writer) {
|
|
93178
|
+
var f = undefined;
|
|
93179
|
+
f = message.getStatus();
|
|
93180
|
+
if (f != null) {
|
|
93181
|
+
writer.writeMessage(
|
|
93182
|
+
1,
|
|
93183
|
+
f,
|
|
93184
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
93185
|
+
);
|
|
93186
|
+
}
|
|
93187
|
+
f = message.getWorkflowVersionEvaluationTemplatesList();
|
|
93188
|
+
if (f.length > 0) {
|
|
93189
|
+
writer.writeRepeatedMessage(
|
|
93190
|
+
2,
|
|
93191
|
+
f,
|
|
93192
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter
|
|
93193
|
+
);
|
|
93194
|
+
}
|
|
93195
|
+
};
|
|
93196
|
+
|
|
93197
|
+
|
|
93198
|
+
/**
|
|
93199
|
+
* optional status.Status status = 1;
|
|
93200
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
93201
|
+
*/
|
|
93202
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.getStatus = function() {
|
|
93203
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
93204
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
93205
|
+
};
|
|
93206
|
+
|
|
93207
|
+
|
|
93208
|
+
/**
|
|
93209
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
93210
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
93211
|
+
*/
|
|
93212
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.setStatus = function(value) {
|
|
93213
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
93214
|
+
};
|
|
93215
|
+
|
|
93216
|
+
|
|
93217
|
+
/**
|
|
93218
|
+
* Clears the message field making it undefined.
|
|
93219
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
93220
|
+
*/
|
|
93221
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearStatus = function() {
|
|
93222
|
+
return this.setStatus(undefined);
|
|
93223
|
+
};
|
|
93224
|
+
|
|
93225
|
+
|
|
93226
|
+
/**
|
|
93227
|
+
* Returns whether this field is set.
|
|
93228
|
+
* @return {boolean}
|
|
93229
|
+
*/
|
|
93230
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.hasStatus = function() {
|
|
93231
|
+
return jspb.Message.getField(this, 1) != null;
|
|
93232
|
+
};
|
|
93233
|
+
|
|
93234
|
+
|
|
93235
|
+
/**
|
|
93236
|
+
* repeated WorkflowVersionEvaluationTemplate workflow_version_evaluation_templates = 2;
|
|
93237
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>}
|
|
93238
|
+
*/
|
|
93239
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.getWorkflowVersionEvaluationTemplatesList = function() {
|
|
93240
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>} */ (
|
|
93241
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate, 2));
|
|
93242
|
+
};
|
|
93243
|
+
|
|
93244
|
+
|
|
93245
|
+
/**
|
|
93246
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>} value
|
|
93247
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
93248
|
+
*/
|
|
93249
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.setWorkflowVersionEvaluationTemplatesList = function(value) {
|
|
93250
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
93251
|
+
};
|
|
93252
|
+
|
|
93253
|
+
|
|
93254
|
+
/**
|
|
93255
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluationTemplate=} opt_value
|
|
93256
|
+
* @param {number=} opt_index
|
|
93257
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationTemplate}
|
|
93258
|
+
*/
|
|
93259
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.addWorkflowVersionEvaluationTemplates = function(opt_value, opt_index) {
|
|
93260
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluationTemplate, opt_index);
|
|
93261
|
+
};
|
|
93262
|
+
|
|
93263
|
+
|
|
93264
|
+
/**
|
|
93265
|
+
* Clears the list making it empty but non-null.
|
|
93266
|
+
* @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
|
|
93267
|
+
*/
|
|
93268
|
+
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkflowVersionEvaluationTemplatesList = function() {
|
|
93269
|
+
return this.setWorkflowVersionEvaluationTemplatesList([]);
|
|
93270
|
+
};
|
|
93271
|
+
|
|
93272
|
+
|
|
92778
93273
|
/**
|
|
92779
93274
|
* @enum {number}
|
|
92780
93275
|
*/
|
|
@@ -310,7 +310,10 @@ export enum StatusCode {
|
|
|
310
310
|
TASK_ASSIGNMENT_PENDING = 54201,
|
|
311
311
|
TASK_ASSIGNMENT_AWAITING_REVIEW = 54202,
|
|
312
312
|
TASK_ASSIGNMENT_AWAITING_CONSENSUS_REVIEW = 54203,
|
|
313
|
-
|
|
313
|
+
TASK_ASSIGNMENT_REJECTED = 54204,
|
|
314
|
+
TASK_ASSIGNMENT_REVIEW_SUCCESS = 54300,
|
|
315
|
+
TASK_ASSIGNMENT_REVIEW_PENDING = 54301,
|
|
316
|
+
TASK_ASSIGNMENT_REVIEW_DISMISSED = 54302,
|
|
314
317
|
LABEL_ORDER_PENDING = 55001,
|
|
315
318
|
LABEL_ORDER_IN_PROGRESS = 55002,
|
|
316
319
|
LABEL_ORDER_SUCCESS = 55003,
|
|
@@ -333,7 +333,10 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
333
333
|
TASK_ASSIGNMENT_PENDING: 54201,
|
|
334
334
|
TASK_ASSIGNMENT_AWAITING_REVIEW: 54202,
|
|
335
335
|
TASK_ASSIGNMENT_AWAITING_CONSENSUS_REVIEW: 54203,
|
|
336
|
-
|
|
336
|
+
TASK_ASSIGNMENT_REJECTED: 54204,
|
|
337
|
+
TASK_ASSIGNMENT_REVIEW_SUCCESS: 54300,
|
|
338
|
+
TASK_ASSIGNMENT_REVIEW_PENDING: 54301,
|
|
339
|
+
TASK_ASSIGNMENT_REVIEW_DISMISSED: 54302,
|
|
337
340
|
LABEL_ORDER_PENDING: 55001,
|
|
338
341
|
LABEL_ORDER_IN_PROGRESS: 55002,
|
|
339
342
|
LABEL_ORDER_SUCCESS: 55003,
|