clarifai-web-grpc 10.3.0 → 10.3.2

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.
@@ -345,7 +345,9 @@ goog.exportSymbol('proto.clarifai.api.ReviewApproveConfig', null, global);
345
345
  goog.exportSymbol('proto.clarifai.api.ReviewRejectConfig', null, global);
346
346
  goog.exportSymbol('proto.clarifai.api.ReviewRequestChangesConfig', null, global);
347
347
  goog.exportSymbol('proto.clarifai.api.RunnerItem', null, global);
348
+ goog.exportSymbol('proto.clarifai.api.RunnerItem.RequestCase', null, global);
348
349
  goog.exportSymbol('proto.clarifai.api.RunnerItemOutput', null, global);
350
+ goog.exportSymbol('proto.clarifai.api.RunnerItemOutput.ResponseCase', null, global);
349
351
  goog.exportSymbol('proto.clarifai.api.SingleAnnotationFilterResponse', null, global);
350
352
  goog.exportSymbol('proto.clarifai.api.SingleAnnotationResponse', null, global);
351
353
  goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, global);
@@ -2245,7 +2247,7 @@ if (goog.DEBUG && !COMPILED) {
2245
2247
  * @constructor
2246
2248
  */
2247
2249
  proto.clarifai.api.ListDatasetVersionsRequest = function(opt_data) {
2248
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2250
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListDatasetVersionsRequest.repeatedFields_, null);
2249
2251
  };
2250
2252
  goog.inherits(proto.clarifai.api.ListDatasetVersionsRequest, jspb.Message);
2251
2253
  if (goog.DEBUG && !COMPILED) {
@@ -7306,7 +7308,7 @@ if (goog.DEBUG && !COMPILED) {
7306
7308
  * @constructor
7307
7309
  */
7308
7310
  proto.clarifai.api.RunnerItem = function(opt_data) {
7309
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7311
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.RunnerItem.oneofGroups_);
7310
7312
  };
7311
7313
  goog.inherits(proto.clarifai.api.RunnerItem, jspb.Message);
7312
7314
  if (goog.DEBUG && !COMPILED) {
@@ -7327,7 +7329,7 @@ if (goog.DEBUG && !COMPILED) {
7327
7329
  * @constructor
7328
7330
  */
7329
7331
  proto.clarifai.api.RunnerItemOutput = function(opt_data) {
7330
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7332
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.RunnerItemOutput.oneofGroups_);
7331
7333
  };
7332
7334
  goog.inherits(proto.clarifai.api.RunnerItemOutput, jspb.Message);
7333
7335
  if (goog.DEBUG && !COMPILED) {
@@ -7777,7 +7779,7 @@ proto.clarifai.api.GetAnnotationRequest.prototype.setInputId = function(value) {
7777
7779
  * @private {!Array<number>}
7778
7780
  * @const
7779
7781
  */
7780
- proto.clarifai.api.ListAnnotationsRequest.repeatedFields_ = [2,3,9,10,5];
7782
+ proto.clarifai.api.ListAnnotationsRequest.repeatedFields_ = [2,3,9,10,13,5];
7781
7783
 
7782
7784
 
7783
7785
 
@@ -7815,6 +7817,7 @@ proto.clarifai.api.ListAnnotationsRequest.toObject = function(includeInstance, m
7815
7817
  inputIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
7816
7818
  userIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
7817
7819
  modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
7820
+ workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
7818
7821
  statusesList: jspb.Message.toObjectList(msg.getStatusesList(),
7819
7822
  proto_clarifai_api_status_status_pb.Status.toObject, includeInstance),
7820
7823
  listAllAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
@@ -7879,6 +7882,10 @@ proto.clarifai.api.ListAnnotationsRequest.deserializeBinaryFromReader = function
7879
7882
  var value = /** @type {string} */ (reader.readString());
7880
7883
  msg.addModelVersionIds(value);
7881
7884
  break;
7885
+ case 13:
7886
+ var value = /** @type {string} */ (reader.readString());
7887
+ msg.addWorkflowVersionIds(value);
7888
+ break;
7882
7889
  case 5:
7883
7890
  var value = new proto_clarifai_api_status_status_pb.Status;
7884
7891
  reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
@@ -7969,6 +7976,13 @@ proto.clarifai.api.ListAnnotationsRequest.serializeBinaryToWriter = function(mes
7969
7976
  f
7970
7977
  );
7971
7978
  }
7979
+ f = message.getWorkflowVersionIdsList();
7980
+ if (f.length > 0) {
7981
+ writer.writeRepeatedString(
7982
+ 13,
7983
+ f
7984
+ );
7985
+ }
7972
7986
  f = message.getStatusesList();
7973
7987
  if (f.length > 0) {
7974
7988
  writer.writeRepeatedMessage(
@@ -8200,6 +8214,43 @@ proto.clarifai.api.ListAnnotationsRequest.prototype.clearModelVersionIdsList = f
8200
8214
  };
8201
8215
 
8202
8216
 
8217
+ /**
8218
+ * repeated string workflow_version_ids = 13;
8219
+ * @return {!Array<string>}
8220
+ */
8221
+ proto.clarifai.api.ListAnnotationsRequest.prototype.getWorkflowVersionIdsList = function() {
8222
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
8223
+ };
8224
+
8225
+
8226
+ /**
8227
+ * @param {!Array<string>} value
8228
+ * @return {!proto.clarifai.api.ListAnnotationsRequest} returns this
8229
+ */
8230
+ proto.clarifai.api.ListAnnotationsRequest.prototype.setWorkflowVersionIdsList = function(value) {
8231
+ return jspb.Message.setField(this, 13, value || []);
8232
+ };
8233
+
8234
+
8235
+ /**
8236
+ * @param {string} value
8237
+ * @param {number=} opt_index
8238
+ * @return {!proto.clarifai.api.ListAnnotationsRequest} returns this
8239
+ */
8240
+ proto.clarifai.api.ListAnnotationsRequest.prototype.addWorkflowVersionIds = function(value, opt_index) {
8241
+ return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
8242
+ };
8243
+
8244
+
8245
+ /**
8246
+ * Clears the list making it empty but non-null.
8247
+ * @return {!proto.clarifai.api.ListAnnotationsRequest} returns this
8248
+ */
8249
+ proto.clarifai.api.ListAnnotationsRequest.prototype.clearWorkflowVersionIdsList = function() {
8250
+ return this.setWorkflowVersionIdsList([]);
8251
+ };
8252
+
8253
+
8203
8254
  /**
8204
8255
  * repeated status.Status statuses = 5;
8205
8256
  * @return {!Array<!proto.clarifai.api.status.Status>}
@@ -28389,6 +28440,13 @@ proto.clarifai.api.SingleDatasetInputResponse.prototype.hasDatasetInput = functi
28389
28440
 
28390
28441
 
28391
28442
 
28443
+ /**
28444
+ * List of repeated fields within this message type.
28445
+ * @private {!Array<number>}
28446
+ * @const
28447
+ */
28448
+ proto.clarifai.api.ListDatasetVersionsRequest.repeatedFields_ = [5];
28449
+
28392
28450
 
28393
28451
 
28394
28452
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -28423,7 +28481,8 @@ proto.clarifai.api.ListDatasetVersionsRequest.toObject = function(includeInstanc
28423
28481
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
28424
28482
  datasetId: jspb.Message.getFieldWithDefault(msg, 2, ""),
28425
28483
  page: jspb.Message.getFieldWithDefault(msg, 3, 0),
28426
- perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
28484
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
28485
+ requestOriginsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
28427
28486
  };
28428
28487
 
28429
28488
  if (includeInstance) {
@@ -28477,6 +28536,12 @@ proto.clarifai.api.ListDatasetVersionsRequest.deserializeBinaryFromReader = func
28477
28536
  var value = /** @type {number} */ (reader.readUint32());
28478
28537
  msg.setPerPage(value);
28479
28538
  break;
28539
+ case 5:
28540
+ var values = /** @type {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
28541
+ for (var i = 0; i < values.length; i++) {
28542
+ msg.addRequestOrigins(values[i]);
28543
+ }
28544
+ break;
28480
28545
  default:
28481
28546
  reader.skipField();
28482
28547
  break;
@@ -28535,6 +28600,13 @@ proto.clarifai.api.ListDatasetVersionsRequest.serializeBinaryToWriter = function
28535
28600
  f
28536
28601
  );
28537
28602
  }
28603
+ f = message.getRequestOriginsList();
28604
+ if (f.length > 0) {
28605
+ writer.writePackedEnum(
28606
+ 5,
28607
+ f
28608
+ );
28609
+ }
28538
28610
  };
28539
28611
 
28540
28612
 
@@ -28629,6 +28701,43 @@ proto.clarifai.api.ListDatasetVersionsRequest.prototype.setPerPage = function(va
28629
28701
  };
28630
28702
 
28631
28703
 
28704
+ /**
28705
+ * repeated DatasetVersionRequestOrigin request_origins = 5;
28706
+ * @return {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>}
28707
+ */
28708
+ proto.clarifai.api.ListDatasetVersionsRequest.prototype.getRequestOriginsList = function() {
28709
+ return /** @type {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>} */ (jspb.Message.getRepeatedField(this, 5));
28710
+ };
28711
+
28712
+
28713
+ /**
28714
+ * @param {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>} value
28715
+ * @return {!proto.clarifai.api.ListDatasetVersionsRequest} returns this
28716
+ */
28717
+ proto.clarifai.api.ListDatasetVersionsRequest.prototype.setRequestOriginsList = function(value) {
28718
+ return jspb.Message.setField(this, 5, value || []);
28719
+ };
28720
+
28721
+
28722
+ /**
28723
+ * @param {!proto.clarifai.api.DatasetVersionRequestOrigin} value
28724
+ * @param {number=} opt_index
28725
+ * @return {!proto.clarifai.api.ListDatasetVersionsRequest} returns this
28726
+ */
28727
+ proto.clarifai.api.ListDatasetVersionsRequest.prototype.addRequestOrigins = function(value, opt_index) {
28728
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
28729
+ };
28730
+
28731
+
28732
+ /**
28733
+ * Clears the list making it empty but non-null.
28734
+ * @return {!proto.clarifai.api.ListDatasetVersionsRequest} returns this
28735
+ */
28736
+ proto.clarifai.api.ListDatasetVersionsRequest.prototype.clearRequestOriginsList = function() {
28737
+ return this.setRequestOriginsList([]);
28738
+ };
28739
+
28740
+
28632
28741
 
28633
28742
 
28634
28743
 
@@ -66384,7 +66493,7 @@ proto.clarifai.api.SingleTaskResponse.prototype.hasTask = function() {
66384
66493
  * @private {!Array<number>}
66385
66494
  * @const
66386
66495
  */
66387
- proto.clarifai.api.GetTaskCountRequest.repeatedFields_ = [3];
66496
+ proto.clarifai.api.GetTaskCountRequest.repeatedFields_ = [3,4,5];
66388
66497
 
66389
66498
 
66390
66499
 
@@ -66419,7 +66528,9 @@ proto.clarifai.api.GetTaskCountRequest.toObject = function(includeInstance, msg)
66419
66528
  var f, obj = {
66420
66529
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
66421
66530
  taskId: jspb.Message.getFieldWithDefault(msg, 2, ""),
66422
- userIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
66531
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
66532
+ modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
66533
+ workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
66423
66534
  };
66424
66535
 
66425
66536
  if (includeInstance) {
@@ -66469,6 +66580,14 @@ proto.clarifai.api.GetTaskCountRequest.deserializeBinaryFromReader = function(ms
66469
66580
  var value = /** @type {string} */ (reader.readString());
66470
66581
  msg.addUserIds(value);
66471
66582
  break;
66583
+ case 4:
66584
+ var value = /** @type {string} */ (reader.readString());
66585
+ msg.addModelVersionIds(value);
66586
+ break;
66587
+ case 5:
66588
+ var value = /** @type {string} */ (reader.readString());
66589
+ msg.addWorkflowVersionIds(value);
66590
+ break;
66472
66591
  default:
66473
66592
  reader.skipField();
66474
66593
  break;
@@ -66520,6 +66639,20 @@ proto.clarifai.api.GetTaskCountRequest.serializeBinaryToWriter = function(messag
66520
66639
  f
66521
66640
  );
66522
66641
  }
66642
+ f = message.getModelVersionIdsList();
66643
+ if (f.length > 0) {
66644
+ writer.writeRepeatedString(
66645
+ 4,
66646
+ f
66647
+ );
66648
+ }
66649
+ f = message.getWorkflowVersionIdsList();
66650
+ if (f.length > 0) {
66651
+ writer.writeRepeatedString(
66652
+ 5,
66653
+ f
66654
+ );
66655
+ }
66523
66656
  };
66524
66657
 
66525
66658
 
@@ -66615,6 +66748,80 @@ proto.clarifai.api.GetTaskCountRequest.prototype.clearUserIdsList = function() {
66615
66748
  };
66616
66749
 
66617
66750
 
66751
+ /**
66752
+ * repeated string model_version_ids = 4;
66753
+ * @return {!Array<string>}
66754
+ */
66755
+ proto.clarifai.api.GetTaskCountRequest.prototype.getModelVersionIdsList = function() {
66756
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
66757
+ };
66758
+
66759
+
66760
+ /**
66761
+ * @param {!Array<string>} value
66762
+ * @return {!proto.clarifai.api.GetTaskCountRequest} returns this
66763
+ */
66764
+ proto.clarifai.api.GetTaskCountRequest.prototype.setModelVersionIdsList = function(value) {
66765
+ return jspb.Message.setField(this, 4, value || []);
66766
+ };
66767
+
66768
+
66769
+ /**
66770
+ * @param {string} value
66771
+ * @param {number=} opt_index
66772
+ * @return {!proto.clarifai.api.GetTaskCountRequest} returns this
66773
+ */
66774
+ proto.clarifai.api.GetTaskCountRequest.prototype.addModelVersionIds = function(value, opt_index) {
66775
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
66776
+ };
66777
+
66778
+
66779
+ /**
66780
+ * Clears the list making it empty but non-null.
66781
+ * @return {!proto.clarifai.api.GetTaskCountRequest} returns this
66782
+ */
66783
+ proto.clarifai.api.GetTaskCountRequest.prototype.clearModelVersionIdsList = function() {
66784
+ return this.setModelVersionIdsList([]);
66785
+ };
66786
+
66787
+
66788
+ /**
66789
+ * repeated string workflow_version_ids = 5;
66790
+ * @return {!Array<string>}
66791
+ */
66792
+ proto.clarifai.api.GetTaskCountRequest.prototype.getWorkflowVersionIdsList = function() {
66793
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
66794
+ };
66795
+
66796
+
66797
+ /**
66798
+ * @param {!Array<string>} value
66799
+ * @return {!proto.clarifai.api.GetTaskCountRequest} returns this
66800
+ */
66801
+ proto.clarifai.api.GetTaskCountRequest.prototype.setWorkflowVersionIdsList = function(value) {
66802
+ return jspb.Message.setField(this, 5, value || []);
66803
+ };
66804
+
66805
+
66806
+ /**
66807
+ * @param {string} value
66808
+ * @param {number=} opt_index
66809
+ * @return {!proto.clarifai.api.GetTaskCountRequest} returns this
66810
+ */
66811
+ proto.clarifai.api.GetTaskCountRequest.prototype.addWorkflowVersionIds = function(value, opt_index) {
66812
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
66813
+ };
66814
+
66815
+
66816
+ /**
66817
+ * Clears the list making it empty but non-null.
66818
+ * @return {!proto.clarifai.api.GetTaskCountRequest} returns this
66819
+ */
66820
+ proto.clarifai.api.GetTaskCountRequest.prototype.clearWorkflowVersionIdsList = function() {
66821
+ return this.setWorkflowVersionIdsList([]);
66822
+ };
66823
+
66824
+
66618
66825
 
66619
66826
  /**
66620
66827
  * List of repeated fields within this message type.
@@ -85220,9 +85427,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInsta
85220
85427
  var f, obj = {
85221
85428
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
85222
85429
  runnerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
85223
- itemId: jspb.Message.getFieldWithDefault(msg, 3, ""),
85430
+ runnerItemId: jspb.Message.getFieldWithDefault(msg, 3, ""),
85224
85431
  runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(),
85225
- proto.clarifai.api.RunnerItemOutput.toObject, includeInstance)
85432
+ proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
85433
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
85226
85434
  };
85227
85435
 
85228
85436
  if (includeInstance) {
@@ -85270,13 +85478,18 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
85270
85478
  break;
85271
85479
  case 3:
85272
85480
  var value = /** @type {string} */ (reader.readString());
85273
- msg.setItemId(value);
85481
+ msg.setRunnerItemId(value);
85274
85482
  break;
85275
85483
  case 4:
85276
85484
  var value = new proto.clarifai.api.RunnerItemOutput;
85277
85485
  reader.readMessage(value,proto.clarifai.api.RunnerItemOutput.deserializeBinaryFromReader);
85278
85486
  msg.addRunnerItemOutputs(value);
85279
85487
  break;
85488
+ case 5:
85489
+ var value = new proto_clarifai_api_status_status_pb.Status;
85490
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
85491
+ msg.setStatus(value);
85492
+ break;
85280
85493
  default:
85281
85494
  reader.skipField();
85282
85495
  break;
@@ -85321,7 +85534,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
85321
85534
  f
85322
85535
  );
85323
85536
  }
85324
- f = message.getItemId();
85537
+ f = message.getRunnerItemId();
85325
85538
  if (f.length > 0) {
85326
85539
  writer.writeString(
85327
85540
  3,
@@ -85336,6 +85549,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
85336
85549
  proto.clarifai.api.RunnerItemOutput.serializeBinaryToWriter
85337
85550
  );
85338
85551
  }
85552
+ f = message.getStatus();
85553
+ if (f != null) {
85554
+ writer.writeMessage(
85555
+ 5,
85556
+ f,
85557
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
85558
+ );
85559
+ }
85339
85560
  };
85340
85561
 
85341
85562
 
@@ -85395,10 +85616,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerId = function
85395
85616
 
85396
85617
 
85397
85618
  /**
85398
- * optional string item_id = 3;
85619
+ * optional string runner_item_id = 3;
85399
85620
  * @return {string}
85400
85621
  */
85401
- proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getItemId = function() {
85622
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = function() {
85402
85623
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
85403
85624
  };
85404
85625
 
@@ -85407,7 +85628,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getItemId = function()
85407
85628
  * @param {string} value
85408
85629
  * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
85409
85630
  */
85410
- proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setItemId = function(value) {
85631
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemId = function(value) {
85411
85632
  return jspb.Message.setProto3StringField(this, 3, value);
85412
85633
  };
85413
85634
 
@@ -85450,6 +85671,43 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearRunnerItemOutputs
85450
85671
  };
85451
85672
 
85452
85673
 
85674
+ /**
85675
+ * optional status.Status status = 5;
85676
+ * @return {?proto.clarifai.api.status.Status}
85677
+ */
85678
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function() {
85679
+ return /** @type{?proto.clarifai.api.status.Status} */ (
85680
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 5));
85681
+ };
85682
+
85683
+
85684
+ /**
85685
+ * @param {?proto.clarifai.api.status.Status|undefined} value
85686
+ * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
85687
+ */
85688
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setStatus = function(value) {
85689
+ return jspb.Message.setWrapperField(this, 5, value);
85690
+ };
85691
+
85692
+
85693
+ /**
85694
+ * Clears the message field making it undefined.
85695
+ * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
85696
+ */
85697
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function() {
85698
+ return this.setStatus(undefined);
85699
+ };
85700
+
85701
+
85702
+ /**
85703
+ * Returns whether this field is set.
85704
+ * @return {boolean}
85705
+ */
85706
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function() {
85707
+ return jspb.Message.getField(this, 5) != null;
85708
+ };
85709
+
85710
+
85453
85711
 
85454
85712
  /**
85455
85713
  * List of repeated fields within this message type.
@@ -85490,7 +85748,7 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.toObject = function(opt_inc
85490
85748
  proto.clarifai.api.MultiRunnerItemResponse.toObject = function(includeInstance, msg) {
85491
85749
  var f, obj = {
85492
85750
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
85493
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
85751
+ runnerItemsList: jspb.Message.toObjectList(msg.getRunnerItemsList(),
85494
85752
  proto.clarifai.api.RunnerItem.toObject, includeInstance)
85495
85753
  };
85496
85754
 
@@ -85536,7 +85794,7 @@ proto.clarifai.api.MultiRunnerItemResponse.deserializeBinaryFromReader = functio
85536
85794
  case 2:
85537
85795
  var value = new proto.clarifai.api.RunnerItem;
85538
85796
  reader.readMessage(value,proto.clarifai.api.RunnerItem.deserializeBinaryFromReader);
85539
- msg.addItems(value);
85797
+ msg.addRunnerItems(value);
85540
85798
  break;
85541
85799
  default:
85542
85800
  reader.skipField();
@@ -85575,7 +85833,7 @@ proto.clarifai.api.MultiRunnerItemResponse.serializeBinaryToWriter = function(me
85575
85833
  proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
85576
85834
  );
85577
85835
  }
85578
- f = message.getItemsList();
85836
+ f = message.getRunnerItemsList();
85579
85837
  if (f.length > 0) {
85580
85838
  writer.writeRepeatedMessage(
85581
85839
  2,
@@ -85624,10 +85882,10 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.hasStatus = function() {
85624
85882
 
85625
85883
 
85626
85884
  /**
85627
- * repeated RunnerItem items = 2;
85885
+ * repeated RunnerItem runner_items = 2;
85628
85886
  * @return {!Array<!proto.clarifai.api.RunnerItem>}
85629
85887
  */
85630
- proto.clarifai.api.MultiRunnerItemResponse.prototype.getItemsList = function() {
85888
+ proto.clarifai.api.MultiRunnerItemResponse.prototype.getRunnerItemsList = function() {
85631
85889
  return /** @type{!Array<!proto.clarifai.api.RunnerItem>} */ (
85632
85890
  jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItem, 2));
85633
85891
  };
@@ -85637,7 +85895,7 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.getItemsList = function() {
85637
85895
  * @param {!Array<!proto.clarifai.api.RunnerItem>} value
85638
85896
  * @return {!proto.clarifai.api.MultiRunnerItemResponse} returns this
85639
85897
  */
85640
- proto.clarifai.api.MultiRunnerItemResponse.prototype.setItemsList = function(value) {
85898
+ proto.clarifai.api.MultiRunnerItemResponse.prototype.setRunnerItemsList = function(value) {
85641
85899
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
85642
85900
  };
85643
85901
 
@@ -85647,7 +85905,7 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.setItemsList = function(val
85647
85905
  * @param {number=} opt_index
85648
85906
  * @return {!proto.clarifai.api.RunnerItem}
85649
85907
  */
85650
- proto.clarifai.api.MultiRunnerItemResponse.prototype.addItems = function(opt_value, opt_index) {
85908
+ proto.clarifai.api.MultiRunnerItemResponse.prototype.addRunnerItems = function(opt_value, opt_index) {
85651
85909
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.RunnerItem, opt_index);
85652
85910
  };
85653
85911
 
@@ -85656,12 +85914,37 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.addItems = function(opt_val
85656
85914
  * Clears the list making it empty but non-null.
85657
85915
  * @return {!proto.clarifai.api.MultiRunnerItemResponse} returns this
85658
85916
  */
85659
- proto.clarifai.api.MultiRunnerItemResponse.prototype.clearItemsList = function() {
85660
- return this.setItemsList([]);
85917
+ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = function() {
85918
+ return this.setRunnerItemsList([]);
85661
85919
  };
85662
85920
 
85663
85921
 
85664
85922
 
85923
+ /**
85924
+ * Oneof group definitions for this message. Each group defines the field
85925
+ * numbers belonging to that group. When of these fields' value is set, all
85926
+ * other fields in the group are cleared. During deserialization, if multiple
85927
+ * fields are encountered for a group, only the last value seen will be kept.
85928
+ * @private {!Array<!Array<number>>}
85929
+ * @const
85930
+ */
85931
+ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4]];
85932
+
85933
+ /**
85934
+ * @enum {number}
85935
+ */
85936
+ proto.clarifai.api.RunnerItem.RequestCase = {
85937
+ REQUEST_NOT_SET: 0,
85938
+ POST_MODEL_OUTPUTS_REQUEST: 4
85939
+ };
85940
+
85941
+ /**
85942
+ * @return {proto.clarifai.api.RunnerItem.RequestCase}
85943
+ */
85944
+ proto.clarifai.api.RunnerItem.prototype.getRequestCase = function() {
85945
+ return /** @type {proto.clarifai.api.RunnerItem.RequestCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.RunnerItem.oneofGroups_[0]));
85946
+ };
85947
+
85665
85948
 
85666
85949
 
85667
85950
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -85695,6 +85978,7 @@ proto.clarifai.api.RunnerItem.toObject = function(includeInstance, msg) {
85695
85978
  var f, obj = {
85696
85979
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
85697
85980
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
85981
+ processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
85698
85982
  postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f)
85699
85983
  };
85700
85984
 
@@ -85741,6 +86025,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function(msg, reader
85741
86025
  msg.setDescription(value);
85742
86026
  break;
85743
86027
  case 3:
86028
+ var value = new proto_clarifai_api_resources_pb.ProcessingInfo;
86029
+ reader.readMessage(value,proto_clarifai_api_resources_pb.ProcessingInfo.deserializeBinaryFromReader);
86030
+ msg.setProcessingInfo(value);
86031
+ break;
86032
+ case 4:
85744
86033
  var value = new proto.clarifai.api.PostModelOutputsRequest;
85745
86034
  reader.readMessage(value,proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
85746
86035
  msg.setPostModelOutputsRequest(value);
@@ -85788,11 +86077,19 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function(message, writer
85788
86077
  f
85789
86078
  );
85790
86079
  }
85791
- f = message.getPostModelOutputsRequest();
86080
+ f = message.getProcessingInfo();
85792
86081
  if (f != null) {
85793
86082
  writer.writeMessage(
85794
86083
  3,
85795
86084
  f,
86085
+ proto_clarifai_api_resources_pb.ProcessingInfo.serializeBinaryToWriter
86086
+ );
86087
+ }
86088
+ f = message.getPostModelOutputsRequest();
86089
+ if (f != null) {
86090
+ writer.writeMessage(
86091
+ 4,
86092
+ f,
85796
86093
  proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter
85797
86094
  );
85798
86095
  }
@@ -85836,12 +86133,49 @@ proto.clarifai.api.RunnerItem.prototype.setDescription = function(value) {
85836
86133
 
85837
86134
 
85838
86135
  /**
85839
- * optional PostModelOutputsRequest post_model_outputs_request = 3;
86136
+ * optional ProcessingInfo processing_info = 3;
86137
+ * @return {?proto.clarifai.api.ProcessingInfo}
86138
+ */
86139
+ proto.clarifai.api.RunnerItem.prototype.getProcessingInfo = function() {
86140
+ return /** @type{?proto.clarifai.api.ProcessingInfo} */ (
86141
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.ProcessingInfo, 3));
86142
+ };
86143
+
86144
+
86145
+ /**
86146
+ * @param {?proto.clarifai.api.ProcessingInfo|undefined} value
86147
+ * @return {!proto.clarifai.api.RunnerItem} returns this
86148
+ */
86149
+ proto.clarifai.api.RunnerItem.prototype.setProcessingInfo = function(value) {
86150
+ return jspb.Message.setWrapperField(this, 3, value);
86151
+ };
86152
+
86153
+
86154
+ /**
86155
+ * Clears the message field making it undefined.
86156
+ * @return {!proto.clarifai.api.RunnerItem} returns this
86157
+ */
86158
+ proto.clarifai.api.RunnerItem.prototype.clearProcessingInfo = function() {
86159
+ return this.setProcessingInfo(undefined);
86160
+ };
86161
+
86162
+
86163
+ /**
86164
+ * Returns whether this field is set.
86165
+ * @return {boolean}
86166
+ */
86167
+ proto.clarifai.api.RunnerItem.prototype.hasProcessingInfo = function() {
86168
+ return jspb.Message.getField(this, 3) != null;
86169
+ };
86170
+
86171
+
86172
+ /**
86173
+ * optional PostModelOutputsRequest post_model_outputs_request = 4;
85840
86174
  * @return {?proto.clarifai.api.PostModelOutputsRequest}
85841
86175
  */
85842
86176
  proto.clarifai.api.RunnerItem.prototype.getPostModelOutputsRequest = function() {
85843
86177
  return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (
85844
- jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 3));
86178
+ jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 4));
85845
86179
  };
85846
86180
 
85847
86181
 
@@ -85850,7 +86184,7 @@ proto.clarifai.api.RunnerItem.prototype.getPostModelOutputsRequest = function()
85850
86184
  * @return {!proto.clarifai.api.RunnerItem} returns this
85851
86185
  */
85852
86186
  proto.clarifai.api.RunnerItem.prototype.setPostModelOutputsRequest = function(value) {
85853
- return jspb.Message.setWrapperField(this, 3, value);
86187
+ return jspb.Message.setOneofWrapperField(this, 4, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
85854
86188
  };
85855
86189
 
85856
86190
 
@@ -85868,11 +86202,36 @@ proto.clarifai.api.RunnerItem.prototype.clearPostModelOutputsRequest = function(
85868
86202
  * @return {boolean}
85869
86203
  */
85870
86204
  proto.clarifai.api.RunnerItem.prototype.hasPostModelOutputsRequest = function() {
85871
- return jspb.Message.getField(this, 3) != null;
86205
+ return jspb.Message.getField(this, 4) != null;
85872
86206
  };
85873
86207
 
85874
86208
 
85875
86209
 
86210
+ /**
86211
+ * Oneof group definitions for this message. Each group defines the field
86212
+ * numbers belonging to that group. When of these fields' value is set, all
86213
+ * other fields in the group are cleared. During deserialization, if multiple
86214
+ * fields are encountered for a group, only the last value seen will be kept.
86215
+ * @private {!Array<!Array<number>>}
86216
+ * @const
86217
+ */
86218
+ proto.clarifai.api.RunnerItemOutput.oneofGroups_ = [[1]];
86219
+
86220
+ /**
86221
+ * @enum {number}
86222
+ */
86223
+ proto.clarifai.api.RunnerItemOutput.ResponseCase = {
86224
+ RESPONSE_NOT_SET: 0,
86225
+ MULTI_OUTPUT_RESPONSE: 1
86226
+ };
86227
+
86228
+ /**
86229
+ * @return {proto.clarifai.api.RunnerItemOutput.ResponseCase}
86230
+ */
86231
+ proto.clarifai.api.RunnerItemOutput.prototype.getResponseCase = function() {
86232
+ return /** @type {proto.clarifai.api.RunnerItemOutput.ResponseCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.RunnerItemOutput.oneofGroups_[0]));
86233
+ };
86234
+
85876
86235
 
85877
86236
 
85878
86237
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -86001,7 +86360,7 @@ proto.clarifai.api.RunnerItemOutput.prototype.getMultiOutputResponse = function(
86001
86360
  * @return {!proto.clarifai.api.RunnerItemOutput} returns this
86002
86361
  */
86003
86362
  proto.clarifai.api.RunnerItemOutput.prototype.setMultiOutputResponse = function(value) {
86004
- return jspb.Message.setWrapperField(this, 1, value);
86363
+ return jspb.Message.setOneofWrapperField(this, 1, proto.clarifai.api.RunnerItemOutput.oneofGroups_[0], value);
86005
86364
  };
86006
86365
 
86007
86366