clarifai-web-grpc 12.0.6 → 12.0.8
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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +244 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +41 -2
- package/dist/esm/proto/clarifai/api/resources_pb.js +244 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +41 -2
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +38 -0
- package/proto/clarifai/api/resources_pb.js +302 -0
- package/proto/clarifai/api/service_pb.d.ts +6 -0
- package/proto/clarifai/api/service_pb.js +55 -2
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
12.0.
|
|
1
|
+
12.0.8
|
|
@@ -355,6 +355,7 @@ goog.exportSymbol('proto.clarifai.api.Visibility.Gettable', null, global);
|
|
|
355
355
|
goog.exportSymbol('proto.clarifai.api.W3C', null, global);
|
|
356
356
|
goog.exportSymbol('proto.clarifai.api.Worker', null, global);
|
|
357
357
|
goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
|
|
358
|
+
goog.exportSymbol('proto.clarifai.api.WorkerIDSet', null, global);
|
|
358
359
|
goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
|
|
359
360
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationInputResult', null, global);
|
|
360
361
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResult', null, global);
|
|
@@ -707,6 +708,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
707
708
|
*/
|
|
708
709
|
proto.clarifai.api.UserAppIDSet.displayName = 'proto.clarifai.api.UserAppIDSet';
|
|
709
710
|
}
|
|
711
|
+
/**
|
|
712
|
+
* Generated by JsPbCodeGenerator.
|
|
713
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
714
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
715
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
716
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
717
|
+
* valid.
|
|
718
|
+
* @extends {jspb.Message}
|
|
719
|
+
* @constructor
|
|
720
|
+
*/
|
|
721
|
+
proto.clarifai.api.WorkerIDSet = function (opt_data) {
|
|
722
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
723
|
+
};
|
|
724
|
+
goog.inherits(proto.clarifai.api.WorkerIDSet, jspb.Message);
|
|
725
|
+
if (goog.DEBUG && !COMPILED) {
|
|
726
|
+
/**
|
|
727
|
+
* @public
|
|
728
|
+
* @override
|
|
729
|
+
*/
|
|
730
|
+
proto.clarifai.api.WorkerIDSet.displayName = 'proto.clarifai.api.WorkerIDSet';
|
|
731
|
+
}
|
|
710
732
|
/**
|
|
711
733
|
* Generated by JsPbCodeGenerator.
|
|
712
734
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10319,6 +10341,228 @@ proto.clarifai.api.UserAppIDSet.prototype.getAppId = function () {
|
|
|
10319
10341
|
proto.clarifai.api.UserAppIDSet.prototype.setAppId = function (value) {
|
|
10320
10342
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10321
10343
|
};
|
|
10344
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10345
|
+
/**
|
|
10346
|
+
* Creates an object representation of this proto.
|
|
10347
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10348
|
+
* Optional fields that are not set will be set to undefined.
|
|
10349
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10350
|
+
* For the list of reserved names please see:
|
|
10351
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10352
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10353
|
+
* JSPB instance for transitional soy proto support:
|
|
10354
|
+
* http://goto/soy-param-migration
|
|
10355
|
+
* @return {!Object}
|
|
10356
|
+
*/
|
|
10357
|
+
proto.clarifai.api.WorkerIDSet.prototype.toObject = function (opt_includeInstance) {
|
|
10358
|
+
return proto.clarifai.api.WorkerIDSet.toObject(opt_includeInstance, this);
|
|
10359
|
+
};
|
|
10360
|
+
/**
|
|
10361
|
+
* Static version of the {@see toObject} method.
|
|
10362
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10363
|
+
* the JSPB instance for transitional soy proto support:
|
|
10364
|
+
* http://goto/soy-param-migration
|
|
10365
|
+
* @param {!proto.clarifai.api.WorkerIDSet} msg The msg instance to transform.
|
|
10366
|
+
* @return {!Object}
|
|
10367
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10368
|
+
*/
|
|
10369
|
+
proto.clarifai.api.WorkerIDSet.toObject = function (includeInstance, msg) {
|
|
10370
|
+
var f, obj = {
|
|
10371
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10372
|
+
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10373
|
+
modelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10374
|
+
modelVersionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10375
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10376
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
10377
|
+
};
|
|
10378
|
+
if (includeInstance) {
|
|
10379
|
+
obj.$jspbMessageInstance = msg;
|
|
10380
|
+
}
|
|
10381
|
+
return obj;
|
|
10382
|
+
};
|
|
10383
|
+
}
|
|
10384
|
+
/**
|
|
10385
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10386
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10387
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
10388
|
+
*/
|
|
10389
|
+
proto.clarifai.api.WorkerIDSet.deserializeBinary = function (bytes) {
|
|
10390
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10391
|
+
var msg = new proto.clarifai.api.WorkerIDSet;
|
|
10392
|
+
return proto.clarifai.api.WorkerIDSet.deserializeBinaryFromReader(msg, reader);
|
|
10393
|
+
};
|
|
10394
|
+
/**
|
|
10395
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10396
|
+
* given reader into the given message object.
|
|
10397
|
+
* @param {!proto.clarifai.api.WorkerIDSet} msg The message object to deserialize into.
|
|
10398
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10399
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
10400
|
+
*/
|
|
10401
|
+
proto.clarifai.api.WorkerIDSet.deserializeBinaryFromReader = function (msg, reader) {
|
|
10402
|
+
while (reader.nextField()) {
|
|
10403
|
+
if (reader.isEndGroup()) {
|
|
10404
|
+
break;
|
|
10405
|
+
}
|
|
10406
|
+
var field = reader.getFieldNumber();
|
|
10407
|
+
switch (field) {
|
|
10408
|
+
case 1:
|
|
10409
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10410
|
+
msg.setUserId(value);
|
|
10411
|
+
break;
|
|
10412
|
+
case 2:
|
|
10413
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10414
|
+
msg.setAppId(value);
|
|
10415
|
+
break;
|
|
10416
|
+
case 3:
|
|
10417
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10418
|
+
msg.setModelId(value);
|
|
10419
|
+
break;
|
|
10420
|
+
case 4:
|
|
10421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10422
|
+
msg.setModelVersionId(value);
|
|
10423
|
+
break;
|
|
10424
|
+
case 5:
|
|
10425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10426
|
+
msg.setWorkflowId(value);
|
|
10427
|
+
break;
|
|
10428
|
+
case 6:
|
|
10429
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10430
|
+
msg.setWorkflowVersionId(value);
|
|
10431
|
+
break;
|
|
10432
|
+
default:
|
|
10433
|
+
reader.skipField();
|
|
10434
|
+
break;
|
|
10435
|
+
}
|
|
10436
|
+
}
|
|
10437
|
+
return msg;
|
|
10438
|
+
};
|
|
10439
|
+
/**
|
|
10440
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10441
|
+
* @return {!Uint8Array}
|
|
10442
|
+
*/
|
|
10443
|
+
proto.clarifai.api.WorkerIDSet.prototype.serializeBinary = function () {
|
|
10444
|
+
var writer = new jspb.BinaryWriter();
|
|
10445
|
+
proto.clarifai.api.WorkerIDSet.serializeBinaryToWriter(this, writer);
|
|
10446
|
+
return writer.getResultBuffer();
|
|
10447
|
+
};
|
|
10448
|
+
/**
|
|
10449
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10450
|
+
* format), writing to the given BinaryWriter.
|
|
10451
|
+
* @param {!proto.clarifai.api.WorkerIDSet} message
|
|
10452
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10453
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10454
|
+
*/
|
|
10455
|
+
proto.clarifai.api.WorkerIDSet.serializeBinaryToWriter = function (message, writer) {
|
|
10456
|
+
var f = undefined;
|
|
10457
|
+
f = message.getUserId();
|
|
10458
|
+
if (f.length > 0) {
|
|
10459
|
+
writer.writeString(1, f);
|
|
10460
|
+
}
|
|
10461
|
+
f = message.getAppId();
|
|
10462
|
+
if (f.length > 0) {
|
|
10463
|
+
writer.writeString(2, f);
|
|
10464
|
+
}
|
|
10465
|
+
f = message.getModelId();
|
|
10466
|
+
if (f.length > 0) {
|
|
10467
|
+
writer.writeString(3, f);
|
|
10468
|
+
}
|
|
10469
|
+
f = message.getModelVersionId();
|
|
10470
|
+
if (f.length > 0) {
|
|
10471
|
+
writer.writeString(4, f);
|
|
10472
|
+
}
|
|
10473
|
+
f = message.getWorkflowId();
|
|
10474
|
+
if (f.length > 0) {
|
|
10475
|
+
writer.writeString(5, f);
|
|
10476
|
+
}
|
|
10477
|
+
f = message.getWorkflowVersionId();
|
|
10478
|
+
if (f.length > 0) {
|
|
10479
|
+
writer.writeString(6, f);
|
|
10480
|
+
}
|
|
10481
|
+
};
|
|
10482
|
+
/**
|
|
10483
|
+
* optional string user_id = 1;
|
|
10484
|
+
* @return {string}
|
|
10485
|
+
*/
|
|
10486
|
+
proto.clarifai.api.WorkerIDSet.prototype.getUserId = function () {
|
|
10487
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10488
|
+
};
|
|
10489
|
+
/**
|
|
10490
|
+
* @param {string} value
|
|
10491
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10492
|
+
*/
|
|
10493
|
+
proto.clarifai.api.WorkerIDSet.prototype.setUserId = function (value) {
|
|
10494
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10495
|
+
};
|
|
10496
|
+
/**
|
|
10497
|
+
* optional string app_id = 2;
|
|
10498
|
+
* @return {string}
|
|
10499
|
+
*/
|
|
10500
|
+
proto.clarifai.api.WorkerIDSet.prototype.getAppId = function () {
|
|
10501
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10502
|
+
};
|
|
10503
|
+
/**
|
|
10504
|
+
* @param {string} value
|
|
10505
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10506
|
+
*/
|
|
10507
|
+
proto.clarifai.api.WorkerIDSet.prototype.setAppId = function (value) {
|
|
10508
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10509
|
+
};
|
|
10510
|
+
/**
|
|
10511
|
+
* optional string model_id = 3;
|
|
10512
|
+
* @return {string}
|
|
10513
|
+
*/
|
|
10514
|
+
proto.clarifai.api.WorkerIDSet.prototype.getModelId = function () {
|
|
10515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10516
|
+
};
|
|
10517
|
+
/**
|
|
10518
|
+
* @param {string} value
|
|
10519
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10520
|
+
*/
|
|
10521
|
+
proto.clarifai.api.WorkerIDSet.prototype.setModelId = function (value) {
|
|
10522
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10523
|
+
};
|
|
10524
|
+
/**
|
|
10525
|
+
* optional string model_version_id = 4;
|
|
10526
|
+
* @return {string}
|
|
10527
|
+
*/
|
|
10528
|
+
proto.clarifai.api.WorkerIDSet.prototype.getModelVersionId = function () {
|
|
10529
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10530
|
+
};
|
|
10531
|
+
/**
|
|
10532
|
+
* @param {string} value
|
|
10533
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10534
|
+
*/
|
|
10535
|
+
proto.clarifai.api.WorkerIDSet.prototype.setModelVersionId = function (value) {
|
|
10536
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
10537
|
+
};
|
|
10538
|
+
/**
|
|
10539
|
+
* optional string workflow_id = 5;
|
|
10540
|
+
* @return {string}
|
|
10541
|
+
*/
|
|
10542
|
+
proto.clarifai.api.WorkerIDSet.prototype.getWorkflowId = function () {
|
|
10543
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
10544
|
+
};
|
|
10545
|
+
/**
|
|
10546
|
+
* @param {string} value
|
|
10547
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10548
|
+
*/
|
|
10549
|
+
proto.clarifai.api.WorkerIDSet.prototype.setWorkflowId = function (value) {
|
|
10550
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
10551
|
+
};
|
|
10552
|
+
/**
|
|
10553
|
+
* optional string workflow_version_id = 6;
|
|
10554
|
+
* @return {string}
|
|
10555
|
+
*/
|
|
10556
|
+
proto.clarifai.api.WorkerIDSet.prototype.getWorkflowVersionId = function () {
|
|
10557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
10558
|
+
};
|
|
10559
|
+
/**
|
|
10560
|
+
* @param {string} value
|
|
10561
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10562
|
+
*/
|
|
10563
|
+
proto.clarifai.api.WorkerIDSet.prototype.setWorkflowVersionId = function (value) {
|
|
10564
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
10565
|
+
};
|
|
10322
10566
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10323
10567
|
/**
|
|
10324
10568
|
* Creates an object representation of this proto.
|
|
@@ -57999,7 +57999,7 @@ proto.clarifai.api.GetTaskRequest.prototype.clearAdditionalFieldsList = function
|
|
|
57999
57999
|
* @private {!Array<number>}
|
|
58000
58000
|
* @const
|
|
58001
58001
|
*/
|
|
58002
|
-
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4, 5, 8, 7, 9, 11];
|
|
58002
|
+
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4, 5, 8, 7, 9, 11, 12];
|
|
58003
58003
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58004
58004
|
/**
|
|
58005
58005
|
* Creates an object representation of this proto.
|
|
@@ -58037,7 +58037,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
58037
58037
|
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
58038
58038
|
idsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
58039
58039
|
inputSourceType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
58040
|
-
inputSourceIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
|
|
58040
|
+
inputSourceIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
58041
|
+
workerIdsList: jspb.Message.toObjectList(msg.getWorkerIdsList(), proto_clarifai_api_resources_pb.WorkerIDSet.toObject, includeInstance)
|
|
58041
58042
|
};
|
|
58042
58043
|
if (includeInstance) {
|
|
58043
58044
|
obj.$jspbMessageInstance = msg;
|
|
@@ -58114,6 +58115,11 @@ proto.clarifai.api.ListTasksRequest.deserializeBinaryFromReader = function (msg,
|
|
|
58114
58115
|
var value = /** @type {string} */ (reader.readString());
|
|
58115
58116
|
msg.addInputSourceIds(value);
|
|
58116
58117
|
break;
|
|
58118
|
+
case 12:
|
|
58119
|
+
var value = new proto_clarifai_api_resources_pb.WorkerIDSet;
|
|
58120
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkerIDSet.deserializeBinaryFromReader);
|
|
58121
|
+
msg.addWorkerIds(value);
|
|
58122
|
+
break;
|
|
58117
58123
|
default:
|
|
58118
58124
|
reader.skipField();
|
|
58119
58125
|
break;
|
|
@@ -58183,6 +58189,10 @@ proto.clarifai.api.ListTasksRequest.serializeBinaryToWriter = function (message,
|
|
|
58183
58189
|
if (f.length > 0) {
|
|
58184
58190
|
writer.writeRepeatedString(11, f);
|
|
58185
58191
|
}
|
|
58192
|
+
f = message.getWorkerIdsList();
|
|
58193
|
+
if (f.length > 0) {
|
|
58194
|
+
writer.writeRepeatedMessage(12, f, proto_clarifai_api_resources_pb.WorkerIDSet.serializeBinaryToWriter);
|
|
58195
|
+
}
|
|
58186
58196
|
};
|
|
58187
58197
|
/**
|
|
58188
58198
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -58442,6 +58452,35 @@ proto.clarifai.api.ListTasksRequest.prototype.addInputSourceIds = function (valu
|
|
|
58442
58452
|
proto.clarifai.api.ListTasksRequest.prototype.clearInputSourceIdsList = function () {
|
|
58443
58453
|
return this.setInputSourceIdsList([]);
|
|
58444
58454
|
};
|
|
58455
|
+
/**
|
|
58456
|
+
* repeated WorkerIDSet worker_ids = 12;
|
|
58457
|
+
* @return {!Array<!proto.clarifai.api.WorkerIDSet>}
|
|
58458
|
+
*/
|
|
58459
|
+
proto.clarifai.api.ListTasksRequest.prototype.getWorkerIdsList = function () {
|
|
58460
|
+
return /** @type{!Array<!proto.clarifai.api.WorkerIDSet>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkerIDSet, 12));
|
|
58461
|
+
};
|
|
58462
|
+
/**
|
|
58463
|
+
* @param {!Array<!proto.clarifai.api.WorkerIDSet>} value
|
|
58464
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
58465
|
+
*/
|
|
58466
|
+
proto.clarifai.api.ListTasksRequest.prototype.setWorkerIdsList = function (value) {
|
|
58467
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
58468
|
+
};
|
|
58469
|
+
/**
|
|
58470
|
+
* @param {!proto.clarifai.api.WorkerIDSet=} opt_value
|
|
58471
|
+
* @param {number=} opt_index
|
|
58472
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
58473
|
+
*/
|
|
58474
|
+
proto.clarifai.api.ListTasksRequest.prototype.addWorkerIds = function (opt_value, opt_index) {
|
|
58475
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.clarifai.api.WorkerIDSet, opt_index);
|
|
58476
|
+
};
|
|
58477
|
+
/**
|
|
58478
|
+
* Clears the list making it empty but non-null.
|
|
58479
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
58480
|
+
*/
|
|
58481
|
+
proto.clarifai.api.ListTasksRequest.prototype.clearWorkerIdsList = function () {
|
|
58482
|
+
return this.setWorkerIdsList([]);
|
|
58483
|
+
};
|
|
58445
58484
|
/**
|
|
58446
58485
|
* List of repeated fields within this message type.
|
|
58447
58486
|
* @private {!Array<number>}
|
|
@@ -355,6 +355,7 @@ goog.exportSymbol('proto.clarifai.api.Visibility.Gettable', null, global);
|
|
|
355
355
|
goog.exportSymbol('proto.clarifai.api.W3C', null, global);
|
|
356
356
|
goog.exportSymbol('proto.clarifai.api.Worker', null, global);
|
|
357
357
|
goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
|
|
358
|
+
goog.exportSymbol('proto.clarifai.api.WorkerIDSet', null, global);
|
|
358
359
|
goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
|
|
359
360
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationInputResult', null, global);
|
|
360
361
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResult', null, global);
|
|
@@ -707,6 +708,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
707
708
|
*/
|
|
708
709
|
proto.clarifai.api.UserAppIDSet.displayName = 'proto.clarifai.api.UserAppIDSet';
|
|
709
710
|
}
|
|
711
|
+
/**
|
|
712
|
+
* Generated by JsPbCodeGenerator.
|
|
713
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
714
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
715
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
716
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
717
|
+
* valid.
|
|
718
|
+
* @extends {jspb.Message}
|
|
719
|
+
* @constructor
|
|
720
|
+
*/
|
|
721
|
+
proto.clarifai.api.WorkerIDSet = function (opt_data) {
|
|
722
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
723
|
+
};
|
|
724
|
+
goog.inherits(proto.clarifai.api.WorkerIDSet, jspb.Message);
|
|
725
|
+
if (goog.DEBUG && !COMPILED) {
|
|
726
|
+
/**
|
|
727
|
+
* @public
|
|
728
|
+
* @override
|
|
729
|
+
*/
|
|
730
|
+
proto.clarifai.api.WorkerIDSet.displayName = 'proto.clarifai.api.WorkerIDSet';
|
|
731
|
+
}
|
|
710
732
|
/**
|
|
711
733
|
* Generated by JsPbCodeGenerator.
|
|
712
734
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10319,6 +10341,228 @@ proto.clarifai.api.UserAppIDSet.prototype.getAppId = function () {
|
|
|
10319
10341
|
proto.clarifai.api.UserAppIDSet.prototype.setAppId = function (value) {
|
|
10320
10342
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10321
10343
|
};
|
|
10344
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10345
|
+
/**
|
|
10346
|
+
* Creates an object representation of this proto.
|
|
10347
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10348
|
+
* Optional fields that are not set will be set to undefined.
|
|
10349
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10350
|
+
* For the list of reserved names please see:
|
|
10351
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10352
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10353
|
+
* JSPB instance for transitional soy proto support:
|
|
10354
|
+
* http://goto/soy-param-migration
|
|
10355
|
+
* @return {!Object}
|
|
10356
|
+
*/
|
|
10357
|
+
proto.clarifai.api.WorkerIDSet.prototype.toObject = function (opt_includeInstance) {
|
|
10358
|
+
return proto.clarifai.api.WorkerIDSet.toObject(opt_includeInstance, this);
|
|
10359
|
+
};
|
|
10360
|
+
/**
|
|
10361
|
+
* Static version of the {@see toObject} method.
|
|
10362
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10363
|
+
* the JSPB instance for transitional soy proto support:
|
|
10364
|
+
* http://goto/soy-param-migration
|
|
10365
|
+
* @param {!proto.clarifai.api.WorkerIDSet} msg The msg instance to transform.
|
|
10366
|
+
* @return {!Object}
|
|
10367
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10368
|
+
*/
|
|
10369
|
+
proto.clarifai.api.WorkerIDSet.toObject = function (includeInstance, msg) {
|
|
10370
|
+
var f, obj = {
|
|
10371
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10372
|
+
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10373
|
+
modelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10374
|
+
modelVersionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10375
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10376
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
10377
|
+
};
|
|
10378
|
+
if (includeInstance) {
|
|
10379
|
+
obj.$jspbMessageInstance = msg;
|
|
10380
|
+
}
|
|
10381
|
+
return obj;
|
|
10382
|
+
};
|
|
10383
|
+
}
|
|
10384
|
+
/**
|
|
10385
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10386
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10387
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
10388
|
+
*/
|
|
10389
|
+
proto.clarifai.api.WorkerIDSet.deserializeBinary = function (bytes) {
|
|
10390
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10391
|
+
var msg = new proto.clarifai.api.WorkerIDSet;
|
|
10392
|
+
return proto.clarifai.api.WorkerIDSet.deserializeBinaryFromReader(msg, reader);
|
|
10393
|
+
};
|
|
10394
|
+
/**
|
|
10395
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10396
|
+
* given reader into the given message object.
|
|
10397
|
+
* @param {!proto.clarifai.api.WorkerIDSet} msg The message object to deserialize into.
|
|
10398
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10399
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
10400
|
+
*/
|
|
10401
|
+
proto.clarifai.api.WorkerIDSet.deserializeBinaryFromReader = function (msg, reader) {
|
|
10402
|
+
while (reader.nextField()) {
|
|
10403
|
+
if (reader.isEndGroup()) {
|
|
10404
|
+
break;
|
|
10405
|
+
}
|
|
10406
|
+
var field = reader.getFieldNumber();
|
|
10407
|
+
switch (field) {
|
|
10408
|
+
case 1:
|
|
10409
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10410
|
+
msg.setUserId(value);
|
|
10411
|
+
break;
|
|
10412
|
+
case 2:
|
|
10413
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10414
|
+
msg.setAppId(value);
|
|
10415
|
+
break;
|
|
10416
|
+
case 3:
|
|
10417
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10418
|
+
msg.setModelId(value);
|
|
10419
|
+
break;
|
|
10420
|
+
case 4:
|
|
10421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10422
|
+
msg.setModelVersionId(value);
|
|
10423
|
+
break;
|
|
10424
|
+
case 5:
|
|
10425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10426
|
+
msg.setWorkflowId(value);
|
|
10427
|
+
break;
|
|
10428
|
+
case 6:
|
|
10429
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10430
|
+
msg.setWorkflowVersionId(value);
|
|
10431
|
+
break;
|
|
10432
|
+
default:
|
|
10433
|
+
reader.skipField();
|
|
10434
|
+
break;
|
|
10435
|
+
}
|
|
10436
|
+
}
|
|
10437
|
+
return msg;
|
|
10438
|
+
};
|
|
10439
|
+
/**
|
|
10440
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10441
|
+
* @return {!Uint8Array}
|
|
10442
|
+
*/
|
|
10443
|
+
proto.clarifai.api.WorkerIDSet.prototype.serializeBinary = function () {
|
|
10444
|
+
var writer = new jspb.BinaryWriter();
|
|
10445
|
+
proto.clarifai.api.WorkerIDSet.serializeBinaryToWriter(this, writer);
|
|
10446
|
+
return writer.getResultBuffer();
|
|
10447
|
+
};
|
|
10448
|
+
/**
|
|
10449
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10450
|
+
* format), writing to the given BinaryWriter.
|
|
10451
|
+
* @param {!proto.clarifai.api.WorkerIDSet} message
|
|
10452
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10453
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10454
|
+
*/
|
|
10455
|
+
proto.clarifai.api.WorkerIDSet.serializeBinaryToWriter = function (message, writer) {
|
|
10456
|
+
var f = undefined;
|
|
10457
|
+
f = message.getUserId();
|
|
10458
|
+
if (f.length > 0) {
|
|
10459
|
+
writer.writeString(1, f);
|
|
10460
|
+
}
|
|
10461
|
+
f = message.getAppId();
|
|
10462
|
+
if (f.length > 0) {
|
|
10463
|
+
writer.writeString(2, f);
|
|
10464
|
+
}
|
|
10465
|
+
f = message.getModelId();
|
|
10466
|
+
if (f.length > 0) {
|
|
10467
|
+
writer.writeString(3, f);
|
|
10468
|
+
}
|
|
10469
|
+
f = message.getModelVersionId();
|
|
10470
|
+
if (f.length > 0) {
|
|
10471
|
+
writer.writeString(4, f);
|
|
10472
|
+
}
|
|
10473
|
+
f = message.getWorkflowId();
|
|
10474
|
+
if (f.length > 0) {
|
|
10475
|
+
writer.writeString(5, f);
|
|
10476
|
+
}
|
|
10477
|
+
f = message.getWorkflowVersionId();
|
|
10478
|
+
if (f.length > 0) {
|
|
10479
|
+
writer.writeString(6, f);
|
|
10480
|
+
}
|
|
10481
|
+
};
|
|
10482
|
+
/**
|
|
10483
|
+
* optional string user_id = 1;
|
|
10484
|
+
* @return {string}
|
|
10485
|
+
*/
|
|
10486
|
+
proto.clarifai.api.WorkerIDSet.prototype.getUserId = function () {
|
|
10487
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10488
|
+
};
|
|
10489
|
+
/**
|
|
10490
|
+
* @param {string} value
|
|
10491
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10492
|
+
*/
|
|
10493
|
+
proto.clarifai.api.WorkerIDSet.prototype.setUserId = function (value) {
|
|
10494
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10495
|
+
};
|
|
10496
|
+
/**
|
|
10497
|
+
* optional string app_id = 2;
|
|
10498
|
+
* @return {string}
|
|
10499
|
+
*/
|
|
10500
|
+
proto.clarifai.api.WorkerIDSet.prototype.getAppId = function () {
|
|
10501
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10502
|
+
};
|
|
10503
|
+
/**
|
|
10504
|
+
* @param {string} value
|
|
10505
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10506
|
+
*/
|
|
10507
|
+
proto.clarifai.api.WorkerIDSet.prototype.setAppId = function (value) {
|
|
10508
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10509
|
+
};
|
|
10510
|
+
/**
|
|
10511
|
+
* optional string model_id = 3;
|
|
10512
|
+
* @return {string}
|
|
10513
|
+
*/
|
|
10514
|
+
proto.clarifai.api.WorkerIDSet.prototype.getModelId = function () {
|
|
10515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10516
|
+
};
|
|
10517
|
+
/**
|
|
10518
|
+
* @param {string} value
|
|
10519
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10520
|
+
*/
|
|
10521
|
+
proto.clarifai.api.WorkerIDSet.prototype.setModelId = function (value) {
|
|
10522
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10523
|
+
};
|
|
10524
|
+
/**
|
|
10525
|
+
* optional string model_version_id = 4;
|
|
10526
|
+
* @return {string}
|
|
10527
|
+
*/
|
|
10528
|
+
proto.clarifai.api.WorkerIDSet.prototype.getModelVersionId = function () {
|
|
10529
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10530
|
+
};
|
|
10531
|
+
/**
|
|
10532
|
+
* @param {string} value
|
|
10533
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10534
|
+
*/
|
|
10535
|
+
proto.clarifai.api.WorkerIDSet.prototype.setModelVersionId = function (value) {
|
|
10536
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
10537
|
+
};
|
|
10538
|
+
/**
|
|
10539
|
+
* optional string workflow_id = 5;
|
|
10540
|
+
* @return {string}
|
|
10541
|
+
*/
|
|
10542
|
+
proto.clarifai.api.WorkerIDSet.prototype.getWorkflowId = function () {
|
|
10543
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
10544
|
+
};
|
|
10545
|
+
/**
|
|
10546
|
+
* @param {string} value
|
|
10547
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10548
|
+
*/
|
|
10549
|
+
proto.clarifai.api.WorkerIDSet.prototype.setWorkflowId = function (value) {
|
|
10550
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
10551
|
+
};
|
|
10552
|
+
/**
|
|
10553
|
+
* optional string workflow_version_id = 6;
|
|
10554
|
+
* @return {string}
|
|
10555
|
+
*/
|
|
10556
|
+
proto.clarifai.api.WorkerIDSet.prototype.getWorkflowVersionId = function () {
|
|
10557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
10558
|
+
};
|
|
10559
|
+
/**
|
|
10560
|
+
* @param {string} value
|
|
10561
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
10562
|
+
*/
|
|
10563
|
+
proto.clarifai.api.WorkerIDSet.prototype.setWorkflowVersionId = function (value) {
|
|
10564
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
10565
|
+
};
|
|
10322
10566
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10323
10567
|
/**
|
|
10324
10568
|
* Creates an object representation of this proto.
|
|
@@ -57999,7 +57999,7 @@ proto.clarifai.api.GetTaskRequest.prototype.clearAdditionalFieldsList = function
|
|
|
57999
57999
|
* @private {!Array<number>}
|
|
58000
58000
|
* @const
|
|
58001
58001
|
*/
|
|
58002
|
-
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4, 5, 8, 7, 9, 11];
|
|
58002
|
+
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4, 5, 8, 7, 9, 11, 12];
|
|
58003
58003
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58004
58004
|
/**
|
|
58005
58005
|
* Creates an object representation of this proto.
|
|
@@ -58037,7 +58037,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
58037
58037
|
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
58038
58038
|
idsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
58039
58039
|
inputSourceType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
58040
|
-
inputSourceIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
|
|
58040
|
+
inputSourceIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
58041
|
+
workerIdsList: jspb.Message.toObjectList(msg.getWorkerIdsList(), proto_clarifai_api_resources_pb.WorkerIDSet.toObject, includeInstance)
|
|
58041
58042
|
};
|
|
58042
58043
|
if (includeInstance) {
|
|
58043
58044
|
obj.$jspbMessageInstance = msg;
|
|
@@ -58114,6 +58115,11 @@ proto.clarifai.api.ListTasksRequest.deserializeBinaryFromReader = function (msg,
|
|
|
58114
58115
|
var value = /** @type {string} */ (reader.readString());
|
|
58115
58116
|
msg.addInputSourceIds(value);
|
|
58116
58117
|
break;
|
|
58118
|
+
case 12:
|
|
58119
|
+
var value = new proto_clarifai_api_resources_pb.WorkerIDSet;
|
|
58120
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkerIDSet.deserializeBinaryFromReader);
|
|
58121
|
+
msg.addWorkerIds(value);
|
|
58122
|
+
break;
|
|
58117
58123
|
default:
|
|
58118
58124
|
reader.skipField();
|
|
58119
58125
|
break;
|
|
@@ -58183,6 +58189,10 @@ proto.clarifai.api.ListTasksRequest.serializeBinaryToWriter = function (message,
|
|
|
58183
58189
|
if (f.length > 0) {
|
|
58184
58190
|
writer.writeRepeatedString(11, f);
|
|
58185
58191
|
}
|
|
58192
|
+
f = message.getWorkerIdsList();
|
|
58193
|
+
if (f.length > 0) {
|
|
58194
|
+
writer.writeRepeatedMessage(12, f, proto_clarifai_api_resources_pb.WorkerIDSet.serializeBinaryToWriter);
|
|
58195
|
+
}
|
|
58186
58196
|
};
|
|
58187
58197
|
/**
|
|
58188
58198
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -58442,6 +58452,35 @@ proto.clarifai.api.ListTasksRequest.prototype.addInputSourceIds = function (valu
|
|
|
58442
58452
|
proto.clarifai.api.ListTasksRequest.prototype.clearInputSourceIdsList = function () {
|
|
58443
58453
|
return this.setInputSourceIdsList([]);
|
|
58444
58454
|
};
|
|
58455
|
+
/**
|
|
58456
|
+
* repeated WorkerIDSet worker_ids = 12;
|
|
58457
|
+
* @return {!Array<!proto.clarifai.api.WorkerIDSet>}
|
|
58458
|
+
*/
|
|
58459
|
+
proto.clarifai.api.ListTasksRequest.prototype.getWorkerIdsList = function () {
|
|
58460
|
+
return /** @type{!Array<!proto.clarifai.api.WorkerIDSet>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkerIDSet, 12));
|
|
58461
|
+
};
|
|
58462
|
+
/**
|
|
58463
|
+
* @param {!Array<!proto.clarifai.api.WorkerIDSet>} value
|
|
58464
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
58465
|
+
*/
|
|
58466
|
+
proto.clarifai.api.ListTasksRequest.prototype.setWorkerIdsList = function (value) {
|
|
58467
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
58468
|
+
};
|
|
58469
|
+
/**
|
|
58470
|
+
* @param {!proto.clarifai.api.WorkerIDSet=} opt_value
|
|
58471
|
+
* @param {number=} opt_index
|
|
58472
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
58473
|
+
*/
|
|
58474
|
+
proto.clarifai.api.ListTasksRequest.prototype.addWorkerIds = function (opt_value, opt_index) {
|
|
58475
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.clarifai.api.WorkerIDSet, opt_index);
|
|
58476
|
+
};
|
|
58477
|
+
/**
|
|
58478
|
+
* Clears the list making it empty but non-null.
|
|
58479
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
58480
|
+
*/
|
|
58481
|
+
proto.clarifai.api.ListTasksRequest.prototype.clearWorkerIdsList = function () {
|
|
58482
|
+
return this.setWorkerIdsList([]);
|
|
58483
|
+
};
|
|
58445
58484
|
/**
|
|
58446
58485
|
* List of repeated fields within this message type.
|
|
58447
58486
|
* @private {!Array<number>}
|
package/package.json
CHANGED
|
@@ -728,6 +728,44 @@ export namespace UserAppIDSet {
|
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
+
export class WorkerIDSet extends jspb.Message {
|
|
732
|
+
getUserId(): string;
|
|
733
|
+
setUserId(value: string): WorkerIDSet;
|
|
734
|
+
|
|
735
|
+
getAppId(): string;
|
|
736
|
+
setAppId(value: string): WorkerIDSet;
|
|
737
|
+
|
|
738
|
+
getModelId(): string;
|
|
739
|
+
setModelId(value: string): WorkerIDSet;
|
|
740
|
+
|
|
741
|
+
getModelVersionId(): string;
|
|
742
|
+
setModelVersionId(value: string): WorkerIDSet;
|
|
743
|
+
|
|
744
|
+
getWorkflowId(): string;
|
|
745
|
+
setWorkflowId(value: string): WorkerIDSet;
|
|
746
|
+
|
|
747
|
+
getWorkflowVersionId(): string;
|
|
748
|
+
setWorkflowVersionId(value: string): WorkerIDSet;
|
|
749
|
+
|
|
750
|
+
serializeBinary(): Uint8Array;
|
|
751
|
+
toObject(includeInstance?: boolean): WorkerIDSet.AsObject;
|
|
752
|
+
static toObject(includeInstance: boolean, msg: WorkerIDSet): WorkerIDSet.AsObject;
|
|
753
|
+
static serializeBinaryToWriter(message: WorkerIDSet, writer: jspb.BinaryWriter): void;
|
|
754
|
+
static deserializeBinary(bytes: Uint8Array): WorkerIDSet;
|
|
755
|
+
static deserializeBinaryFromReader(message: WorkerIDSet, reader: jspb.BinaryReader): WorkerIDSet;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
export namespace WorkerIDSet {
|
|
759
|
+
export type AsObject = {
|
|
760
|
+
userId: string,
|
|
761
|
+
appId: string,
|
|
762
|
+
modelId: string,
|
|
763
|
+
modelVersionId: string,
|
|
764
|
+
workflowId: string,
|
|
765
|
+
workflowVersionId: string,
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
731
769
|
export class PatchAction extends jspb.Message {
|
|
732
770
|
getOp(): string;
|
|
733
771
|
setOp(value: string): PatchAction;
|
|
@@ -357,6 +357,7 @@ goog.exportSymbol('proto.clarifai.api.Visibility.Gettable', null, global);
|
|
|
357
357
|
goog.exportSymbol('proto.clarifai.api.W3C', null, global);
|
|
358
358
|
goog.exportSymbol('proto.clarifai.api.Worker', null, global);
|
|
359
359
|
goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
|
|
360
|
+
goog.exportSymbol('proto.clarifai.api.WorkerIDSet', null, global);
|
|
360
361
|
goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
|
|
361
362
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationInputResult', null, global);
|
|
362
363
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResult', null, global);
|
|
@@ -709,6 +710,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
709
710
|
*/
|
|
710
711
|
proto.clarifai.api.UserAppIDSet.displayName = 'proto.clarifai.api.UserAppIDSet';
|
|
711
712
|
}
|
|
713
|
+
/**
|
|
714
|
+
* Generated by JsPbCodeGenerator.
|
|
715
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
716
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
717
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
718
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
719
|
+
* valid.
|
|
720
|
+
* @extends {jspb.Message}
|
|
721
|
+
* @constructor
|
|
722
|
+
*/
|
|
723
|
+
proto.clarifai.api.WorkerIDSet = function(opt_data) {
|
|
724
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
725
|
+
};
|
|
726
|
+
goog.inherits(proto.clarifai.api.WorkerIDSet, jspb.Message);
|
|
727
|
+
if (goog.DEBUG && !COMPILED) {
|
|
728
|
+
/**
|
|
729
|
+
* @public
|
|
730
|
+
* @override
|
|
731
|
+
*/
|
|
732
|
+
proto.clarifai.api.WorkerIDSet.displayName = 'proto.clarifai.api.WorkerIDSet';
|
|
733
|
+
}
|
|
712
734
|
/**
|
|
713
735
|
* Generated by JsPbCodeGenerator.
|
|
714
736
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11522,6 +11544,286 @@ proto.clarifai.api.UserAppIDSet.prototype.setAppId = function(value) {
|
|
|
11522
11544
|
|
|
11523
11545
|
|
|
11524
11546
|
|
|
11547
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11548
|
+
/**
|
|
11549
|
+
* Creates an object representation of this proto.
|
|
11550
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11551
|
+
* Optional fields that are not set will be set to undefined.
|
|
11552
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11553
|
+
* For the list of reserved names please see:
|
|
11554
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11555
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11556
|
+
* JSPB instance for transitional soy proto support:
|
|
11557
|
+
* http://goto/soy-param-migration
|
|
11558
|
+
* @return {!Object}
|
|
11559
|
+
*/
|
|
11560
|
+
proto.clarifai.api.WorkerIDSet.prototype.toObject = function(opt_includeInstance) {
|
|
11561
|
+
return proto.clarifai.api.WorkerIDSet.toObject(opt_includeInstance, this);
|
|
11562
|
+
};
|
|
11563
|
+
|
|
11564
|
+
|
|
11565
|
+
/**
|
|
11566
|
+
* Static version of the {@see toObject} method.
|
|
11567
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11568
|
+
* the JSPB instance for transitional soy proto support:
|
|
11569
|
+
* http://goto/soy-param-migration
|
|
11570
|
+
* @param {!proto.clarifai.api.WorkerIDSet} msg The msg instance to transform.
|
|
11571
|
+
* @return {!Object}
|
|
11572
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11573
|
+
*/
|
|
11574
|
+
proto.clarifai.api.WorkerIDSet.toObject = function(includeInstance, msg) {
|
|
11575
|
+
var f, obj = {
|
|
11576
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11577
|
+
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11578
|
+
modelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11579
|
+
modelVersionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11580
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11581
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
11582
|
+
};
|
|
11583
|
+
|
|
11584
|
+
if (includeInstance) {
|
|
11585
|
+
obj.$jspbMessageInstance = msg;
|
|
11586
|
+
}
|
|
11587
|
+
return obj;
|
|
11588
|
+
};
|
|
11589
|
+
}
|
|
11590
|
+
|
|
11591
|
+
|
|
11592
|
+
/**
|
|
11593
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11594
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11595
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
11596
|
+
*/
|
|
11597
|
+
proto.clarifai.api.WorkerIDSet.deserializeBinary = function(bytes) {
|
|
11598
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11599
|
+
var msg = new proto.clarifai.api.WorkerIDSet;
|
|
11600
|
+
return proto.clarifai.api.WorkerIDSet.deserializeBinaryFromReader(msg, reader);
|
|
11601
|
+
};
|
|
11602
|
+
|
|
11603
|
+
|
|
11604
|
+
/**
|
|
11605
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11606
|
+
* given reader into the given message object.
|
|
11607
|
+
* @param {!proto.clarifai.api.WorkerIDSet} msg The message object to deserialize into.
|
|
11608
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11609
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
11610
|
+
*/
|
|
11611
|
+
proto.clarifai.api.WorkerIDSet.deserializeBinaryFromReader = function(msg, reader) {
|
|
11612
|
+
while (reader.nextField()) {
|
|
11613
|
+
if (reader.isEndGroup()) {
|
|
11614
|
+
break;
|
|
11615
|
+
}
|
|
11616
|
+
var field = reader.getFieldNumber();
|
|
11617
|
+
switch (field) {
|
|
11618
|
+
case 1:
|
|
11619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11620
|
+
msg.setUserId(value);
|
|
11621
|
+
break;
|
|
11622
|
+
case 2:
|
|
11623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11624
|
+
msg.setAppId(value);
|
|
11625
|
+
break;
|
|
11626
|
+
case 3:
|
|
11627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11628
|
+
msg.setModelId(value);
|
|
11629
|
+
break;
|
|
11630
|
+
case 4:
|
|
11631
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11632
|
+
msg.setModelVersionId(value);
|
|
11633
|
+
break;
|
|
11634
|
+
case 5:
|
|
11635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11636
|
+
msg.setWorkflowId(value);
|
|
11637
|
+
break;
|
|
11638
|
+
case 6:
|
|
11639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11640
|
+
msg.setWorkflowVersionId(value);
|
|
11641
|
+
break;
|
|
11642
|
+
default:
|
|
11643
|
+
reader.skipField();
|
|
11644
|
+
break;
|
|
11645
|
+
}
|
|
11646
|
+
}
|
|
11647
|
+
return msg;
|
|
11648
|
+
};
|
|
11649
|
+
|
|
11650
|
+
|
|
11651
|
+
/**
|
|
11652
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11653
|
+
* @return {!Uint8Array}
|
|
11654
|
+
*/
|
|
11655
|
+
proto.clarifai.api.WorkerIDSet.prototype.serializeBinary = function() {
|
|
11656
|
+
var writer = new jspb.BinaryWriter();
|
|
11657
|
+
proto.clarifai.api.WorkerIDSet.serializeBinaryToWriter(this, writer);
|
|
11658
|
+
return writer.getResultBuffer();
|
|
11659
|
+
};
|
|
11660
|
+
|
|
11661
|
+
|
|
11662
|
+
/**
|
|
11663
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11664
|
+
* format), writing to the given BinaryWriter.
|
|
11665
|
+
* @param {!proto.clarifai.api.WorkerIDSet} message
|
|
11666
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11667
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11668
|
+
*/
|
|
11669
|
+
proto.clarifai.api.WorkerIDSet.serializeBinaryToWriter = function(message, writer) {
|
|
11670
|
+
var f = undefined;
|
|
11671
|
+
f = message.getUserId();
|
|
11672
|
+
if (f.length > 0) {
|
|
11673
|
+
writer.writeString(
|
|
11674
|
+
1,
|
|
11675
|
+
f
|
|
11676
|
+
);
|
|
11677
|
+
}
|
|
11678
|
+
f = message.getAppId();
|
|
11679
|
+
if (f.length > 0) {
|
|
11680
|
+
writer.writeString(
|
|
11681
|
+
2,
|
|
11682
|
+
f
|
|
11683
|
+
);
|
|
11684
|
+
}
|
|
11685
|
+
f = message.getModelId();
|
|
11686
|
+
if (f.length > 0) {
|
|
11687
|
+
writer.writeString(
|
|
11688
|
+
3,
|
|
11689
|
+
f
|
|
11690
|
+
);
|
|
11691
|
+
}
|
|
11692
|
+
f = message.getModelVersionId();
|
|
11693
|
+
if (f.length > 0) {
|
|
11694
|
+
writer.writeString(
|
|
11695
|
+
4,
|
|
11696
|
+
f
|
|
11697
|
+
);
|
|
11698
|
+
}
|
|
11699
|
+
f = message.getWorkflowId();
|
|
11700
|
+
if (f.length > 0) {
|
|
11701
|
+
writer.writeString(
|
|
11702
|
+
5,
|
|
11703
|
+
f
|
|
11704
|
+
);
|
|
11705
|
+
}
|
|
11706
|
+
f = message.getWorkflowVersionId();
|
|
11707
|
+
if (f.length > 0) {
|
|
11708
|
+
writer.writeString(
|
|
11709
|
+
6,
|
|
11710
|
+
f
|
|
11711
|
+
);
|
|
11712
|
+
}
|
|
11713
|
+
};
|
|
11714
|
+
|
|
11715
|
+
|
|
11716
|
+
/**
|
|
11717
|
+
* optional string user_id = 1;
|
|
11718
|
+
* @return {string}
|
|
11719
|
+
*/
|
|
11720
|
+
proto.clarifai.api.WorkerIDSet.prototype.getUserId = function() {
|
|
11721
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11722
|
+
};
|
|
11723
|
+
|
|
11724
|
+
|
|
11725
|
+
/**
|
|
11726
|
+
* @param {string} value
|
|
11727
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
11728
|
+
*/
|
|
11729
|
+
proto.clarifai.api.WorkerIDSet.prototype.setUserId = function(value) {
|
|
11730
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11731
|
+
};
|
|
11732
|
+
|
|
11733
|
+
|
|
11734
|
+
/**
|
|
11735
|
+
* optional string app_id = 2;
|
|
11736
|
+
* @return {string}
|
|
11737
|
+
*/
|
|
11738
|
+
proto.clarifai.api.WorkerIDSet.prototype.getAppId = function() {
|
|
11739
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11740
|
+
};
|
|
11741
|
+
|
|
11742
|
+
|
|
11743
|
+
/**
|
|
11744
|
+
* @param {string} value
|
|
11745
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
11746
|
+
*/
|
|
11747
|
+
proto.clarifai.api.WorkerIDSet.prototype.setAppId = function(value) {
|
|
11748
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11749
|
+
};
|
|
11750
|
+
|
|
11751
|
+
|
|
11752
|
+
/**
|
|
11753
|
+
* optional string model_id = 3;
|
|
11754
|
+
* @return {string}
|
|
11755
|
+
*/
|
|
11756
|
+
proto.clarifai.api.WorkerIDSet.prototype.getModelId = function() {
|
|
11757
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11758
|
+
};
|
|
11759
|
+
|
|
11760
|
+
|
|
11761
|
+
/**
|
|
11762
|
+
* @param {string} value
|
|
11763
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
11764
|
+
*/
|
|
11765
|
+
proto.clarifai.api.WorkerIDSet.prototype.setModelId = function(value) {
|
|
11766
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11767
|
+
};
|
|
11768
|
+
|
|
11769
|
+
|
|
11770
|
+
/**
|
|
11771
|
+
* optional string model_version_id = 4;
|
|
11772
|
+
* @return {string}
|
|
11773
|
+
*/
|
|
11774
|
+
proto.clarifai.api.WorkerIDSet.prototype.getModelVersionId = function() {
|
|
11775
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11776
|
+
};
|
|
11777
|
+
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* @param {string} value
|
|
11781
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
11782
|
+
*/
|
|
11783
|
+
proto.clarifai.api.WorkerIDSet.prototype.setModelVersionId = function(value) {
|
|
11784
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11785
|
+
};
|
|
11786
|
+
|
|
11787
|
+
|
|
11788
|
+
/**
|
|
11789
|
+
* optional string workflow_id = 5;
|
|
11790
|
+
* @return {string}
|
|
11791
|
+
*/
|
|
11792
|
+
proto.clarifai.api.WorkerIDSet.prototype.getWorkflowId = function() {
|
|
11793
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11794
|
+
};
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
/**
|
|
11798
|
+
* @param {string} value
|
|
11799
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
11800
|
+
*/
|
|
11801
|
+
proto.clarifai.api.WorkerIDSet.prototype.setWorkflowId = function(value) {
|
|
11802
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11803
|
+
};
|
|
11804
|
+
|
|
11805
|
+
|
|
11806
|
+
/**
|
|
11807
|
+
* optional string workflow_version_id = 6;
|
|
11808
|
+
* @return {string}
|
|
11809
|
+
*/
|
|
11810
|
+
proto.clarifai.api.WorkerIDSet.prototype.getWorkflowVersionId = function() {
|
|
11811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11812
|
+
};
|
|
11813
|
+
|
|
11814
|
+
|
|
11815
|
+
/**
|
|
11816
|
+
* @param {string} value
|
|
11817
|
+
* @return {!proto.clarifai.api.WorkerIDSet} returns this
|
|
11818
|
+
*/
|
|
11819
|
+
proto.clarifai.api.WorkerIDSet.prototype.setWorkflowVersionId = function(value) {
|
|
11820
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
11821
|
+
};
|
|
11822
|
+
|
|
11823
|
+
|
|
11824
|
+
|
|
11825
|
+
|
|
11826
|
+
|
|
11525
11827
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11526
11828
|
/**
|
|
11527
11829
|
* Creates an object representation of this proto.
|
|
@@ -7816,6 +7816,11 @@ export class ListTasksRequest extends jspb.Message {
|
|
|
7816
7816
|
clearInputSourceIdsList(): ListTasksRequest;
|
|
7817
7817
|
addInputSourceIds(value: string, index?: number): ListTasksRequest;
|
|
7818
7818
|
|
|
7819
|
+
getWorkerIdsList(): Array<proto_clarifai_api_resources_pb.WorkerIDSet>;
|
|
7820
|
+
setWorkerIdsList(value: Array<proto_clarifai_api_resources_pb.WorkerIDSet>): ListTasksRequest;
|
|
7821
|
+
clearWorkerIdsList(): ListTasksRequest;
|
|
7822
|
+
addWorkerIds(value?: proto_clarifai_api_resources_pb.WorkerIDSet, index?: number): proto_clarifai_api_resources_pb.WorkerIDSet;
|
|
7823
|
+
|
|
7819
7824
|
serializeBinary(): Uint8Array;
|
|
7820
7825
|
toObject(includeInstance?: boolean): ListTasksRequest.AsObject;
|
|
7821
7826
|
static toObject(includeInstance: boolean, msg: ListTasksRequest): ListTasksRequest.AsObject;
|
|
@@ -7837,6 +7842,7 @@ export namespace ListTasksRequest {
|
|
|
7837
7842
|
idsList: Array<string>,
|
|
7838
7843
|
inputSourceType: proto_clarifai_api_resources_pb.TaskInputSource.TaskInputSourceType,
|
|
7839
7844
|
inputSourceIdsList: Array<string>,
|
|
7845
|
+
workerIdsList: Array<proto_clarifai_api_resources_pb.WorkerIDSet.AsObject>,
|
|
7840
7846
|
}
|
|
7841
7847
|
}
|
|
7842
7848
|
|
|
@@ -70802,7 +70802,7 @@ proto.clarifai.api.GetTaskRequest.prototype.clearAdditionalFieldsList = function
|
|
|
70802
70802
|
* @private {!Array<number>}
|
|
70803
70803
|
* @const
|
|
70804
70804
|
*/
|
|
70805
|
-
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4,5,8,7,9,11];
|
|
70805
|
+
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4,5,8,7,9,11,12];
|
|
70806
70806
|
|
|
70807
70807
|
|
|
70808
70808
|
|
|
@@ -70845,7 +70845,9 @@ proto.clarifai.api.ListTasksRequest.toObject = function(includeInstance, msg) {
|
|
|
70845
70845
|
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
70846
70846
|
idsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
70847
70847
|
inputSourceType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
70848
|
-
inputSourceIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
|
|
70848
|
+
inputSourceIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
70849
|
+
workerIdsList: jspb.Message.toObjectList(msg.getWorkerIdsList(),
|
|
70850
|
+
proto_clarifai_api_resources_pb.WorkerIDSet.toObject, includeInstance)
|
|
70849
70851
|
};
|
|
70850
70852
|
|
|
70851
70853
|
if (includeInstance) {
|
|
@@ -70927,6 +70929,11 @@ proto.clarifai.api.ListTasksRequest.deserializeBinaryFromReader = function(msg,
|
|
|
70927
70929
|
var value = /** @type {string} */ (reader.readString());
|
|
70928
70930
|
msg.addInputSourceIds(value);
|
|
70929
70931
|
break;
|
|
70932
|
+
case 12:
|
|
70933
|
+
var value = new proto_clarifai_api_resources_pb.WorkerIDSet;
|
|
70934
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkerIDSet.deserializeBinaryFromReader);
|
|
70935
|
+
msg.addWorkerIds(value);
|
|
70936
|
+
break;
|
|
70930
70937
|
default:
|
|
70931
70938
|
reader.skipField();
|
|
70932
70939
|
break;
|
|
@@ -71034,6 +71041,14 @@ proto.clarifai.api.ListTasksRequest.serializeBinaryToWriter = function(message,
|
|
|
71034
71041
|
f
|
|
71035
71042
|
);
|
|
71036
71043
|
}
|
|
71044
|
+
f = message.getWorkerIdsList();
|
|
71045
|
+
if (f.length > 0) {
|
|
71046
|
+
writer.writeRepeatedMessage(
|
|
71047
|
+
12,
|
|
71048
|
+
f,
|
|
71049
|
+
proto_clarifai_api_resources_pb.WorkerIDSet.serializeBinaryToWriter
|
|
71050
|
+
);
|
|
71051
|
+
}
|
|
71037
71052
|
};
|
|
71038
71053
|
|
|
71039
71054
|
|
|
@@ -71368,6 +71383,44 @@ proto.clarifai.api.ListTasksRequest.prototype.clearInputSourceIdsList = function
|
|
|
71368
71383
|
};
|
|
71369
71384
|
|
|
71370
71385
|
|
|
71386
|
+
/**
|
|
71387
|
+
* repeated WorkerIDSet worker_ids = 12;
|
|
71388
|
+
* @return {!Array<!proto.clarifai.api.WorkerIDSet>}
|
|
71389
|
+
*/
|
|
71390
|
+
proto.clarifai.api.ListTasksRequest.prototype.getWorkerIdsList = function() {
|
|
71391
|
+
return /** @type{!Array<!proto.clarifai.api.WorkerIDSet>} */ (
|
|
71392
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkerIDSet, 12));
|
|
71393
|
+
};
|
|
71394
|
+
|
|
71395
|
+
|
|
71396
|
+
/**
|
|
71397
|
+
* @param {!Array<!proto.clarifai.api.WorkerIDSet>} value
|
|
71398
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
71399
|
+
*/
|
|
71400
|
+
proto.clarifai.api.ListTasksRequest.prototype.setWorkerIdsList = function(value) {
|
|
71401
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
71402
|
+
};
|
|
71403
|
+
|
|
71404
|
+
|
|
71405
|
+
/**
|
|
71406
|
+
* @param {!proto.clarifai.api.WorkerIDSet=} opt_value
|
|
71407
|
+
* @param {number=} opt_index
|
|
71408
|
+
* @return {!proto.clarifai.api.WorkerIDSet}
|
|
71409
|
+
*/
|
|
71410
|
+
proto.clarifai.api.ListTasksRequest.prototype.addWorkerIds = function(opt_value, opt_index) {
|
|
71411
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.clarifai.api.WorkerIDSet, opt_index);
|
|
71412
|
+
};
|
|
71413
|
+
|
|
71414
|
+
|
|
71415
|
+
/**
|
|
71416
|
+
* Clears the list making it empty but non-null.
|
|
71417
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
71418
|
+
*/
|
|
71419
|
+
proto.clarifai.api.ListTasksRequest.prototype.clearWorkerIdsList = function() {
|
|
71420
|
+
return this.setWorkerIdsList([]);
|
|
71421
|
+
};
|
|
71422
|
+
|
|
71423
|
+
|
|
71371
71424
|
|
|
71372
71425
|
/**
|
|
71373
71426
|
* List of repeated fields within this message type.
|