clarifai-web-grpc 11.10.10 → 12.0.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.
@@ -41,6 +41,8 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
41
41
  goog.object.extend(proto, google_protobuf_struct_pb);
42
42
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
43
43
  goog.object.extend(proto, google_protobuf_timestamp_pb);
44
+ goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest', null, global);
45
+ goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo', null, global);
44
46
  goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
45
47
  goog.exportSymbol('proto.clarifai.api.CancelInputsAddJobRequest', null, global);
46
48
  goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null, global);
@@ -199,6 +201,7 @@ goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, glob
199
201
  goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
200
202
  goog.exportSymbol('proto.clarifai.api.ListPipelineStepVersionsRequest', null, global);
201
203
  goog.exportSymbol('proto.clarifai.api.ListPipelineStepsRequest', null, global);
204
+ goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest', null, global);
202
205
  goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunsRequest', null, global);
203
206
  goog.exportSymbol('proto.clarifai.api.ListPipelineVersionsRequest', null, global);
204
207
  goog.exportSymbol('proto.clarifai.api.ListPipelinesRequest', null, global);
@@ -275,6 +278,7 @@ goog.exportSymbol('proto.clarifai.api.MultiPipelineStepResponse', null, global);
275
278
  goog.exportSymbol('proto.clarifai.api.MultiPipelineStepVersionResponse', null, global);
276
279
  goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionResponse', null, global);
277
280
  goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunResponse', null, global);
281
+ goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse', null, global);
278
282
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
279
283
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
280
284
  goog.exportSymbol('proto.clarifai.api.MultiRunnerResponse', null, global);
@@ -480,6 +484,7 @@ goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
480
484
  goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
481
485
  goog.exportSymbol('proto.clarifai.api.SingleSecretResponse', null, global);
482
486
  goog.exportSymbol('proto.clarifai.api.SingleStatusCodeResponse', null, global);
487
+ goog.exportSymbol('proto.clarifai.api.SingleStreamAnnotationResponse', null, global);
483
488
  goog.exportSymbol('proto.clarifai.api.SingleTaskCountResponse', null, global);
484
489
  goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
485
490
  goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
@@ -487,9 +492,10 @@ goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
487
492
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
488
493
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
489
494
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
495
+ goog.exportSymbol('proto.clarifai.api.StreamAnnotationsRequest', null, global);
490
496
  goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
497
+ goog.exportSymbol('proto.clarifai.api.StreamLivestreamAnnotationsRequest', null, global);
491
498
  goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
492
- goog.exportSymbol('proto.clarifai.api.StreamTrackAnnotationsSearchesRequest', null, global);
493
499
  goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
494
500
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
495
501
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
@@ -587,16 +593,37 @@ if (goog.DEBUG && !COMPILED) {
587
593
  * @extends {jspb.Message}
588
594
  * @constructor
589
595
  */
590
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest = function(opt_data) {
591
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
596
+ proto.clarifai.api.StreamAnnotationsRequest = function(opt_data) {
597
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_, null);
592
598
  };
593
- goog.inherits(proto.clarifai.api.StreamTrackAnnotationsSearchesRequest, jspb.Message);
599
+ goog.inherits(proto.clarifai.api.StreamAnnotationsRequest, jspb.Message);
594
600
  if (goog.DEBUG && !COMPILED) {
595
601
  /**
596
602
  * @public
597
603
  * @override
598
604
  */
599
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.displayName = 'proto.clarifai.api.StreamTrackAnnotationsSearchesRequest';
605
+ proto.clarifai.api.StreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamAnnotationsRequest';
606
+ }
607
+ /**
608
+ * Generated by JsPbCodeGenerator.
609
+ * @param {Array=} opt_data Optional initial data array, typically from a
610
+ * server response, or constructed directly in Javascript. The array is used
611
+ * in place and becomes part of the constructed object. It is not cloned.
612
+ * If no data is provided, the constructed object will be empty, but still
613
+ * valid.
614
+ * @extends {jspb.Message}
615
+ * @constructor
616
+ */
617
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest = function(opt_data) {
618
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
619
+ };
620
+ goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
621
+ if (goog.DEBUG && !COMPILED) {
622
+ /**
623
+ * @public
624
+ * @override
625
+ */
626
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamLivestreamAnnotationsRequest';
600
627
  }
601
628
  /**
602
629
  * Generated by JsPbCodeGenerator.
@@ -850,6 +877,27 @@ if (goog.DEBUG && !COMPILED) {
850
877
  */
851
878
  proto.clarifai.api.SingleAnnotationResponse.displayName = 'proto.clarifai.api.SingleAnnotationResponse';
852
879
  }
880
+ /**
881
+ * Generated by JsPbCodeGenerator.
882
+ * @param {Array=} opt_data Optional initial data array, typically from a
883
+ * server response, or constructed directly in Javascript. The array is used
884
+ * in place and becomes part of the constructed object. It is not cloned.
885
+ * If no data is provided, the constructed object will be empty, but still
886
+ * valid.
887
+ * @extends {jspb.Message}
888
+ * @constructor
889
+ */
890
+ proto.clarifai.api.SingleStreamAnnotationResponse = function(opt_data) {
891
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
892
+ };
893
+ goog.inherits(proto.clarifai.api.SingleStreamAnnotationResponse, jspb.Message);
894
+ if (goog.DEBUG && !COMPILED) {
895
+ /**
896
+ * @public
897
+ * @override
898
+ */
899
+ proto.clarifai.api.SingleStreamAnnotationResponse.displayName = 'proto.clarifai.api.SingleStreamAnnotationResponse';
900
+ }
853
901
  /**
854
902
  * Generated by JsPbCodeGenerator.
855
903
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7507,6 +7555,48 @@ if (goog.DEBUG && !COMPILED) {
7507
7555
  */
7508
7556
  proto.clarifai.api.RunnerItem.displayName = 'proto.clarifai.api.RunnerItem';
7509
7557
  }
7558
+ /**
7559
+ * Generated by JsPbCodeGenerator.
7560
+ * @param {Array=} opt_data Optional initial data array, typically from a
7561
+ * server response, or constructed directly in Javascript. The array is used
7562
+ * in place and becomes part of the constructed object. It is not cloned.
7563
+ * If no data is provided, the constructed object will be empty, but still
7564
+ * valid.
7565
+ * @extends {jspb.Message}
7566
+ * @constructor
7567
+ */
7568
+ proto.clarifai.api.AutoAnnotationRequest = function(opt_data) {
7569
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7570
+ };
7571
+ goog.inherits(proto.clarifai.api.AutoAnnotationRequest, jspb.Message);
7572
+ if (goog.DEBUG && !COMPILED) {
7573
+ /**
7574
+ * @public
7575
+ * @override
7576
+ */
7577
+ proto.clarifai.api.AutoAnnotationRequest.displayName = 'proto.clarifai.api.AutoAnnotationRequest';
7578
+ }
7579
+ /**
7580
+ * Generated by JsPbCodeGenerator.
7581
+ * @param {Array=} opt_data Optional initial data array, typically from a
7582
+ * server response, or constructed directly in Javascript. The array is used
7583
+ * in place and becomes part of the constructed object. It is not cloned.
7584
+ * If no data is provided, the constructed object will be empty, but still
7585
+ * valid.
7586
+ * @extends {jspb.Message}
7587
+ * @constructor
7588
+ */
7589
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo = function(opt_data) {
7590
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7591
+ };
7592
+ goog.inherits(proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo, jspb.Message);
7593
+ if (goog.DEBUG && !COMPILED) {
7594
+ /**
7595
+ * @public
7596
+ * @override
7597
+ */
7598
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.displayName = 'proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo';
7599
+ }
7510
7600
  /**
7511
7601
  * Generated by JsPbCodeGenerator.
7512
7602
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8851,6 +8941,48 @@ if (goog.DEBUG && !COMPILED) {
8851
8941
  */
8852
8942
  proto.clarifai.api.MultiPipelineVersionRunResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunResponse';
8853
8943
  }
8944
+ /**
8945
+ * Generated by JsPbCodeGenerator.
8946
+ * @param {Array=} opt_data Optional initial data array, typically from a
8947
+ * server response, or constructed directly in Javascript. The array is used
8948
+ * in place and becomes part of the constructed object. It is not cloned.
8949
+ * If no data is provided, the constructed object will be empty, but still
8950
+ * valid.
8951
+ * @extends {jspb.Message}
8952
+ * @constructor
8953
+ */
8954
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest = function(opt_data) {
8955
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_, null);
8956
+ };
8957
+ goog.inherits(proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest, jspb.Message);
8958
+ if (goog.DEBUG && !COMPILED) {
8959
+ /**
8960
+ * @public
8961
+ * @override
8962
+ */
8963
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.displayName = 'proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest';
8964
+ }
8965
+ /**
8966
+ * Generated by JsPbCodeGenerator.
8967
+ * @param {Array=} opt_data Optional initial data array, typically from a
8968
+ * server response, or constructed directly in Javascript. The array is used
8969
+ * in place and becomes part of the constructed object. It is not cloned.
8970
+ * If no data is provided, the constructed object will be empty, but still
8971
+ * valid.
8972
+ * @extends {jspb.Message}
8973
+ * @constructor
8974
+ */
8975
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse = function(opt_data) {
8976
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_, null);
8977
+ };
8978
+ goog.inherits(proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse, jspb.Message);
8979
+ if (goog.DEBUG && !COMPILED) {
8980
+ /**
8981
+ * @public
8982
+ * @override
8983
+ */
8984
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse';
8985
+ }
8854
8986
  /**
8855
8987
  * Generated by JsPbCodeGenerator.
8856
8988
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11060,6 +11192,13 @@ proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasWorker = fun
11060
11192
 
11061
11193
 
11062
11194
 
11195
+ /**
11196
+ * List of repeated fields within this message type.
11197
+ * @private {!Array<number>}
11198
+ * @const
11199
+ */
11200
+ proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_ = [3];
11201
+
11063
11202
 
11064
11203
 
11065
11204
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -11075,8 +11214,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
11075
11214
  * http://goto/soy-param-migration
11076
11215
  * @return {!Object}
11077
11216
  */
11078
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.toObject = function(opt_includeInstance) {
11079
- return proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject(opt_includeInstance, this);
11217
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
11218
+ return proto.clarifai.api.StreamAnnotationsRequest.toObject(opt_includeInstance, this);
11080
11219
  };
11081
11220
 
11082
11221
 
@@ -11085,15 +11224,15 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.toObject = fu
11085
11224
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11086
11225
  * the JSPB instance for transitional soy proto support:
11087
11226
  * http://goto/soy-param-migration
11088
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} msg The msg instance to transform.
11227
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The msg instance to transform.
11089
11228
  * @return {!Object}
11090
11229
  * @suppress {unusedLocalVariables} f is only used for nested messages
11091
11230
  */
11092
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject = function(includeInstance, msg) {
11231
+ proto.clarifai.api.StreamAnnotationsRequest.toObject = function(includeInstance, msg) {
11093
11232
  var f, obj = {
11094
11233
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11095
11234
  inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11096
- trackId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11235
+ trackIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
11097
11236
  frameNumberStart: jspb.Message.getFieldWithDefault(msg, 4, 0),
11098
11237
  frameTimeStart: jspb.Message.getFieldWithDefault(msg, 5, 0),
11099
11238
  annotationType: jspb.Message.getFieldWithDefault(msg, 6, 0),
@@ -11113,23 +11252,23 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject = function(inc
11113
11252
  /**
11114
11253
  * Deserializes binary data (in protobuf wire format).
11115
11254
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
11116
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest}
11255
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest}
11117
11256
  */
11118
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinary = function(bytes) {
11257
+ proto.clarifai.api.StreamAnnotationsRequest.deserializeBinary = function(bytes) {
11119
11258
  var reader = new jspb.BinaryReader(bytes);
11120
- var msg = new proto.clarifai.api.StreamTrackAnnotationsSearchesRequest;
11121
- return proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromReader(msg, reader);
11259
+ var msg = new proto.clarifai.api.StreamAnnotationsRequest;
11260
+ return proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
11122
11261
  };
11123
11262
 
11124
11263
 
11125
11264
  /**
11126
11265
  * Deserializes binary data (in protobuf wire format) from the
11127
11266
  * given reader into the given message object.
11128
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} msg The message object to deserialize into.
11267
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The message object to deserialize into.
11129
11268
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11130
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest}
11269
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest}
11131
11270
  */
11132
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromReader = function(msg, reader) {
11271
+ proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
11133
11272
  while (reader.nextField()) {
11134
11273
  if (reader.isEndGroup()) {
11135
11274
  break;
@@ -11147,7 +11286,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
11147
11286
  break;
11148
11287
  case 3:
11149
11288
  var value = /** @type {string} */ (reader.readString());
11150
- msg.setTrackId(value);
11289
+ msg.addTrackIds(value);
11151
11290
  break;
11152
11291
  case 4:
11153
11292
  var value = /** @type {number} */ (reader.readUint32());
@@ -11187,9 +11326,9 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
11187
11326
  * Serializes the message to binary data (in protobuf wire format).
11188
11327
  * @return {!Uint8Array}
11189
11328
  */
11190
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.serializeBinary = function() {
11329
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.serializeBinary = function() {
11191
11330
  var writer = new jspb.BinaryWriter();
11192
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter(this, writer);
11331
+ proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
11193
11332
  return writer.getResultBuffer();
11194
11333
  };
11195
11334
 
@@ -11197,11 +11336,11 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.serializeBina
11197
11336
  /**
11198
11337
  * Serializes the given message to binary data (in protobuf wire
11199
11338
  * format), writing to the given BinaryWriter.
11200
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} message
11339
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} message
11201
11340
  * @param {!jspb.BinaryWriter} writer
11202
11341
  * @suppress {unusedLocalVariables} f is only used for nested messages
11203
11342
  */
11204
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter = function(message, writer) {
11343
+ proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
11205
11344
  var f = undefined;
11206
11345
  f = message.getUserAppId();
11207
11346
  if (f != null) {
@@ -11218,9 +11357,9 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
11218
11357
  f
11219
11358
  );
11220
11359
  }
11221
- f = message.getTrackId();
11360
+ f = message.getTrackIdsList();
11222
11361
  if (f.length > 0) {
11223
- writer.writeString(
11362
+ writer.writeRepeatedString(
11224
11363
  3,
11225
11364
  f
11226
11365
  );
@@ -11275,7 +11414,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
11275
11414
  * optional UserAppIDSet user_app_id = 1;
11276
11415
  * @return {?proto.clarifai.api.UserAppIDSet}
11277
11416
  */
11278
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getUserAppId = function() {
11417
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getUserAppId = function() {
11279
11418
  return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
11280
11419
  jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
11281
11420
  };
@@ -11283,18 +11422,18 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getUserAppId
11283
11422
 
11284
11423
  /**
11285
11424
  * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
11286
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11425
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11287
11426
  */
11288
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setUserAppId = function(value) {
11427
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setUserAppId = function(value) {
11289
11428
  return jspb.Message.setWrapperField(this, 1, value);
11290
11429
  };
11291
11430
 
11292
11431
 
11293
11432
  /**
11294
11433
  * Clears the message field making it undefined.
11295
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11434
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11296
11435
  */
11297
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearUserAppId = function() {
11436
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearUserAppId = function() {
11298
11437
  return this.setUserAppId(undefined);
11299
11438
  };
11300
11439
 
@@ -11303,7 +11442,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearUserAppI
11303
11442
  * Returns whether this field is set.
11304
11443
  * @return {boolean}
11305
11444
  */
11306
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasUserAppId = function() {
11445
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasUserAppId = function() {
11307
11446
  return jspb.Message.getField(this, 1) != null;
11308
11447
  };
11309
11448
 
@@ -11312,35 +11451,54 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasUserAppId
11312
11451
  * optional string input_id = 2;
11313
11452
  * @return {string}
11314
11453
  */
11315
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getInputId = function() {
11454
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getInputId = function() {
11316
11455
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11317
11456
  };
11318
11457
 
11319
11458
 
11320
11459
  /**
11321
11460
  * @param {string} value
11322
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11461
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11323
11462
  */
11324
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setInputId = function(value) {
11463
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setInputId = function(value) {
11325
11464
  return jspb.Message.setProto3StringField(this, 2, value);
11326
11465
  };
11327
11466
 
11328
11467
 
11329
11468
  /**
11330
- * optional string track_id = 3;
11331
- * @return {string}
11469
+ * repeated string track_ids = 3;
11470
+ * @return {!Array<string>}
11332
11471
  */
11333
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getTrackId = function() {
11334
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11472
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11473
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
11474
+ };
11475
+
11476
+
11477
+ /**
11478
+ * @param {!Array<string>} value
11479
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11480
+ */
11481
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11482
+ return jspb.Message.setField(this, 3, value || []);
11335
11483
  };
11336
11484
 
11337
11485
 
11338
11486
  /**
11339
11487
  * @param {string} value
11340
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11488
+ * @param {number=} opt_index
11489
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11341
11490
  */
11342
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setTrackId = function(value) {
11343
- return jspb.Message.setProto3StringField(this, 3, value);
11491
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11492
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
11493
+ };
11494
+
11495
+
11496
+ /**
11497
+ * Clears the list making it empty but non-null.
11498
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11499
+ */
11500
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11501
+ return this.setTrackIdsList([]);
11344
11502
  };
11345
11503
 
11346
11504
 
@@ -11348,16 +11506,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setTrackId =
11348
11506
  * optional uint32 frame_number_start = 4;
11349
11507
  * @return {number}
11350
11508
  */
11351
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getFrameNumberStart = function() {
11509
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameNumberStart = function() {
11352
11510
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
11353
11511
  };
11354
11512
 
11355
11513
 
11356
11514
  /**
11357
11515
  * @param {number} value
11358
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11516
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11359
11517
  */
11360
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameNumberStart = function(value) {
11518
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameNumberStart = function(value) {
11361
11519
  return jspb.Message.setProto3IntField(this, 4, value);
11362
11520
  };
11363
11521
 
@@ -11366,16 +11524,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameNumbe
11366
11524
  * optional uint32 frame_time_start = 5;
11367
11525
  * @return {number}
11368
11526
  */
11369
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getFrameTimeStart = function() {
11527
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameTimeStart = function() {
11370
11528
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11371
11529
  };
11372
11530
 
11373
11531
 
11374
11532
  /**
11375
11533
  * @param {number} value
11376
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11534
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11377
11535
  */
11378
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameTimeStart = function(value) {
11536
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameTimeStart = function(value) {
11379
11537
  return jspb.Message.setProto3IntField(this, 5, value);
11380
11538
  };
11381
11539
 
@@ -11384,16 +11542,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameTimeS
11384
11542
  * optional AnnotationDataType annotation_type = 6;
11385
11543
  * @return {!proto.clarifai.api.AnnotationDataType}
11386
11544
  */
11387
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getAnnotationType = function() {
11545
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getAnnotationType = function() {
11388
11546
  return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
11389
11547
  };
11390
11548
 
11391
11549
 
11392
11550
  /**
11393
11551
  * @param {!proto.clarifai.api.AnnotationDataType} value
11394
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11552
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11395
11553
  */
11396
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setAnnotationType = function(value) {
11554
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11397
11555
  return jspb.Message.setProto3EnumField(this, 6, value);
11398
11556
  };
11399
11557
 
@@ -11402,16 +11560,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setAnnotation
11402
11560
  * optional uint32 max_frames = 7;
11403
11561
  * @return {number}
11404
11562
  */
11405
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getMaxFrames = function() {
11563
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxFrames = function() {
11406
11564
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
11407
11565
  };
11408
11566
 
11409
11567
 
11410
11568
  /**
11411
11569
  * @param {number} value
11412
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11570
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11413
11571
  */
11414
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxFrames = function(value) {
11572
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxFrames = function(value) {
11415
11573
  return jspb.Message.setProto3IntField(this, 7, value);
11416
11574
  };
11417
11575
 
@@ -11420,16 +11578,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxFrames
11420
11578
  * optional uint32 max_duration = 8;
11421
11579
  * @return {number}
11422
11580
  */
11423
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getMaxDuration = function() {
11581
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxDuration = function() {
11424
11582
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
11425
11583
  };
11426
11584
 
11427
11585
 
11428
11586
  /**
11429
11587
  * @param {number} value
11430
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11588
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11431
11589
  */
11432
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxDuration = function(value) {
11590
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxDuration = function(value) {
11433
11591
  return jspb.Message.setProto3IntField(this, 8, value);
11434
11592
  };
11435
11593
 
@@ -11438,7 +11596,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxDuratio
11438
11596
  * optional Worker worker = 9;
11439
11597
  * @return {?proto.clarifai.api.Worker}
11440
11598
  */
11441
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getWorker = function() {
11599
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getWorker = function() {
11442
11600
  return /** @type{?proto.clarifai.api.Worker} */ (
11443
11601
  jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Worker, 9));
11444
11602
  };
@@ -11446,18 +11604,18 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getWorker = f
11446
11604
 
11447
11605
  /**
11448
11606
  * @param {?proto.clarifai.api.Worker|undefined} value
11449
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11607
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11450
11608
  */
11451
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setWorker = function(value) {
11609
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setWorker = function(value) {
11452
11610
  return jspb.Message.setWrapperField(this, 9, value);
11453
11611
  };
11454
11612
 
11455
11613
 
11456
11614
  /**
11457
11615
  * Clears the message field making it undefined.
11458
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11616
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11459
11617
  */
11460
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearWorker = function() {
11618
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearWorker = function() {
11461
11619
  return this.setWorker(undefined);
11462
11620
  };
11463
11621
 
@@ -11466,12 +11624,309 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearWorker =
11466
11624
  * Returns whether this field is set.
11467
11625
  * @return {boolean}
11468
11626
  */
11469
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasWorker = function() {
11627
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function() {
11470
11628
  return jspb.Message.getField(this, 9) != null;
11471
11629
  };
11472
11630
 
11473
11631
 
11474
11632
 
11633
+ /**
11634
+ * List of repeated fields within this message type.
11635
+ * @private {!Array<number>}
11636
+ * @const
11637
+ */
11638
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
11639
+
11640
+
11641
+
11642
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11643
+ /**
11644
+ * Creates an object representation of this proto.
11645
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11646
+ * Optional fields that are not set will be set to undefined.
11647
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11648
+ * For the list of reserved names please see:
11649
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11650
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11651
+ * JSPB instance for transitional soy proto support:
11652
+ * http://goto/soy-param-migration
11653
+ * @return {!Object}
11654
+ */
11655
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
11656
+ return proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject(opt_includeInstance, this);
11657
+ };
11658
+
11659
+
11660
+ /**
11661
+ * Static version of the {@see toObject} method.
11662
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11663
+ * the JSPB instance for transitional soy proto support:
11664
+ * http://goto/soy-param-migration
11665
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The msg instance to transform.
11666
+ * @return {!Object}
11667
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11668
+ */
11669
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function(includeInstance, msg) {
11670
+ var f, obj = {
11671
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11672
+ inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11673
+ taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11674
+ trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
11675
+ annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
11676
+ };
11677
+
11678
+ if (includeInstance) {
11679
+ obj.$jspbMessageInstance = msg;
11680
+ }
11681
+ return obj;
11682
+ };
11683
+ }
11684
+
11685
+
11686
+ /**
11687
+ * Deserializes binary data (in protobuf wire format).
11688
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11689
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
11690
+ */
11691
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinary = function(bytes) {
11692
+ var reader = new jspb.BinaryReader(bytes);
11693
+ var msg = new proto.clarifai.api.StreamLivestreamAnnotationsRequest;
11694
+ return proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
11695
+ };
11696
+
11697
+
11698
+ /**
11699
+ * Deserializes binary data (in protobuf wire format) from the
11700
+ * given reader into the given message object.
11701
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The message object to deserialize into.
11702
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11703
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
11704
+ */
11705
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
11706
+ while (reader.nextField()) {
11707
+ if (reader.isEndGroup()) {
11708
+ break;
11709
+ }
11710
+ var field = reader.getFieldNumber();
11711
+ switch (field) {
11712
+ case 1:
11713
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
11714
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
11715
+ msg.setUserAppId(value);
11716
+ break;
11717
+ case 2:
11718
+ var value = /** @type {string} */ (reader.readString());
11719
+ msg.setInputId(value);
11720
+ break;
11721
+ case 3:
11722
+ var value = /** @type {string} */ (reader.readString());
11723
+ msg.setTaskId(value);
11724
+ break;
11725
+ case 4:
11726
+ var value = /** @type {string} */ (reader.readString());
11727
+ msg.addTrackIds(value);
11728
+ break;
11729
+ case 5:
11730
+ var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
11731
+ msg.setAnnotationType(value);
11732
+ break;
11733
+ default:
11734
+ reader.skipField();
11735
+ break;
11736
+ }
11737
+ }
11738
+ return msg;
11739
+ };
11740
+
11741
+
11742
+ /**
11743
+ * Serializes the message to binary data (in protobuf wire format).
11744
+ * @return {!Uint8Array}
11745
+ */
11746
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.serializeBinary = function() {
11747
+ var writer = new jspb.BinaryWriter();
11748
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
11749
+ return writer.getResultBuffer();
11750
+ };
11751
+
11752
+
11753
+ /**
11754
+ * Serializes the given message to binary data (in protobuf wire
11755
+ * format), writing to the given BinaryWriter.
11756
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} message
11757
+ * @param {!jspb.BinaryWriter} writer
11758
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11759
+ */
11760
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
11761
+ var f = undefined;
11762
+ f = message.getUserAppId();
11763
+ if (f != null) {
11764
+ writer.writeMessage(
11765
+ 1,
11766
+ f,
11767
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
11768
+ );
11769
+ }
11770
+ f = message.getInputId();
11771
+ if (f.length > 0) {
11772
+ writer.writeString(
11773
+ 2,
11774
+ f
11775
+ );
11776
+ }
11777
+ f = message.getTaskId();
11778
+ if (f.length > 0) {
11779
+ writer.writeString(
11780
+ 3,
11781
+ f
11782
+ );
11783
+ }
11784
+ f = message.getTrackIdsList();
11785
+ if (f.length > 0) {
11786
+ writer.writeRepeatedString(
11787
+ 4,
11788
+ f
11789
+ );
11790
+ }
11791
+ f = message.getAnnotationType();
11792
+ if (f !== 0.0) {
11793
+ writer.writeEnum(
11794
+ 5,
11795
+ f
11796
+ );
11797
+ }
11798
+ };
11799
+
11800
+
11801
+ /**
11802
+ * optional UserAppIDSet user_app_id = 1;
11803
+ * @return {?proto.clarifai.api.UserAppIDSet}
11804
+ */
11805
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getUserAppId = function() {
11806
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
11807
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
11808
+ };
11809
+
11810
+
11811
+ /**
11812
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
11813
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11814
+ */
11815
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setUserAppId = function(value) {
11816
+ return jspb.Message.setWrapperField(this, 1, value);
11817
+ };
11818
+
11819
+
11820
+ /**
11821
+ * Clears the message field making it undefined.
11822
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11823
+ */
11824
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearUserAppId = function() {
11825
+ return this.setUserAppId(undefined);
11826
+ };
11827
+
11828
+
11829
+ /**
11830
+ * Returns whether this field is set.
11831
+ * @return {boolean}
11832
+ */
11833
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.hasUserAppId = function() {
11834
+ return jspb.Message.getField(this, 1) != null;
11835
+ };
11836
+
11837
+
11838
+ /**
11839
+ * optional string input_id = 2;
11840
+ * @return {string}
11841
+ */
11842
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getInputId = function() {
11843
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11844
+ };
11845
+
11846
+
11847
+ /**
11848
+ * @param {string} value
11849
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11850
+ */
11851
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = function(value) {
11852
+ return jspb.Message.setProto3StringField(this, 2, value);
11853
+ };
11854
+
11855
+
11856
+ /**
11857
+ * optional string task_id = 3;
11858
+ * @return {string}
11859
+ */
11860
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function() {
11861
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11862
+ };
11863
+
11864
+
11865
+ /**
11866
+ * @param {string} value
11867
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11868
+ */
11869
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function(value) {
11870
+ return jspb.Message.setProto3StringField(this, 3, value);
11871
+ };
11872
+
11873
+
11874
+ /**
11875
+ * repeated string track_ids = 4;
11876
+ * @return {!Array<string>}
11877
+ */
11878
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11879
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
11880
+ };
11881
+
11882
+
11883
+ /**
11884
+ * @param {!Array<string>} value
11885
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11886
+ */
11887
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11888
+ return jspb.Message.setField(this, 4, value || []);
11889
+ };
11890
+
11891
+
11892
+ /**
11893
+ * @param {string} value
11894
+ * @param {number=} opt_index
11895
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11896
+ */
11897
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11898
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11899
+ };
11900
+
11901
+
11902
+ /**
11903
+ * Clears the list making it empty but non-null.
11904
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11905
+ */
11906
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11907
+ return this.setTrackIdsList([]);
11908
+ };
11909
+
11910
+
11911
+ /**
11912
+ * optional AnnotationDataType annotation_type = 5;
11913
+ * @return {!proto.clarifai.api.AnnotationDataType}
11914
+ */
11915
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function() {
11916
+ return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11917
+ };
11918
+
11919
+
11920
+ /**
11921
+ * @param {!proto.clarifai.api.AnnotationDataType} value
11922
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11923
+ */
11924
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11925
+ return jspb.Message.setProto3EnumField(this, 5, value);
11926
+ };
11927
+
11928
+
11929
+
11475
11930
  /**
11476
11931
  * List of repeated fields within this message type.
11477
11932
  * @private {!Array<number>}
@@ -14465,6 +14920,238 @@ proto.clarifai.api.SingleAnnotationResponse.prototype.hasAnnotation = function()
14465
14920
 
14466
14921
 
14467
14922
 
14923
+
14924
+
14925
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14926
+ /**
14927
+ * Creates an object representation of this proto.
14928
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14929
+ * Optional fields that are not set will be set to undefined.
14930
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14931
+ * For the list of reserved names please see:
14932
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14933
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14934
+ * JSPB instance for transitional soy proto support:
14935
+ * http://goto/soy-param-migration
14936
+ * @return {!Object}
14937
+ */
14938
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.toObject = function(opt_includeInstance) {
14939
+ return proto.clarifai.api.SingleStreamAnnotationResponse.toObject(opt_includeInstance, this);
14940
+ };
14941
+
14942
+
14943
+ /**
14944
+ * Static version of the {@see toObject} method.
14945
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14946
+ * the JSPB instance for transitional soy proto support:
14947
+ * http://goto/soy-param-migration
14948
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The msg instance to transform.
14949
+ * @return {!Object}
14950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14951
+ */
14952
+ proto.clarifai.api.SingleStreamAnnotationResponse.toObject = function(includeInstance, msg) {
14953
+ var f, obj = {
14954
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
14955
+ annotation: (f = msg.getAnnotation()) && proto_clarifai_api_resources_pb.Annotation.toObject(includeInstance, f),
14956
+ frameFullyProcessed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
14957
+ };
14958
+
14959
+ if (includeInstance) {
14960
+ obj.$jspbMessageInstance = msg;
14961
+ }
14962
+ return obj;
14963
+ };
14964
+ }
14965
+
14966
+
14967
+ /**
14968
+ * Deserializes binary data (in protobuf wire format).
14969
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14970
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
14971
+ */
14972
+ proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinary = function(bytes) {
14973
+ var reader = new jspb.BinaryReader(bytes);
14974
+ var msg = new proto.clarifai.api.SingleStreamAnnotationResponse;
14975
+ return proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader(msg, reader);
14976
+ };
14977
+
14978
+
14979
+ /**
14980
+ * Deserializes binary data (in protobuf wire format) from the
14981
+ * given reader into the given message object.
14982
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The message object to deserialize into.
14983
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14984
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
14985
+ */
14986
+ proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader = function(msg, reader) {
14987
+ while (reader.nextField()) {
14988
+ if (reader.isEndGroup()) {
14989
+ break;
14990
+ }
14991
+ var field = reader.getFieldNumber();
14992
+ switch (field) {
14993
+ case 1:
14994
+ var value = new proto_clarifai_api_status_status_pb.Status;
14995
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
14996
+ msg.setStatus(value);
14997
+ break;
14998
+ case 2:
14999
+ var value = new proto_clarifai_api_resources_pb.Annotation;
15000
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Annotation.deserializeBinaryFromReader);
15001
+ msg.setAnnotation(value);
15002
+ break;
15003
+ case 3:
15004
+ var value = /** @type {boolean} */ (reader.readBool());
15005
+ msg.setFrameFullyProcessed(value);
15006
+ break;
15007
+ default:
15008
+ reader.skipField();
15009
+ break;
15010
+ }
15011
+ }
15012
+ return msg;
15013
+ };
15014
+
15015
+
15016
+ /**
15017
+ * Serializes the message to binary data (in protobuf wire format).
15018
+ * @return {!Uint8Array}
15019
+ */
15020
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.serializeBinary = function() {
15021
+ var writer = new jspb.BinaryWriter();
15022
+ proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter(this, writer);
15023
+ return writer.getResultBuffer();
15024
+ };
15025
+
15026
+
15027
+ /**
15028
+ * Serializes the given message to binary data (in protobuf wire
15029
+ * format), writing to the given BinaryWriter.
15030
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} message
15031
+ * @param {!jspb.BinaryWriter} writer
15032
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15033
+ */
15034
+ proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter = function(message, writer) {
15035
+ var f = undefined;
15036
+ f = message.getStatus();
15037
+ if (f != null) {
15038
+ writer.writeMessage(
15039
+ 1,
15040
+ f,
15041
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
15042
+ );
15043
+ }
15044
+ f = message.getAnnotation();
15045
+ if (f != null) {
15046
+ writer.writeMessage(
15047
+ 2,
15048
+ f,
15049
+ proto_clarifai_api_resources_pb.Annotation.serializeBinaryToWriter
15050
+ );
15051
+ }
15052
+ f = message.getFrameFullyProcessed();
15053
+ if (f) {
15054
+ writer.writeBool(
15055
+ 3,
15056
+ f
15057
+ );
15058
+ }
15059
+ };
15060
+
15061
+
15062
+ /**
15063
+ * optional status.Status status = 1;
15064
+ * @return {?proto.clarifai.api.status.Status}
15065
+ */
15066
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getStatus = function() {
15067
+ return /** @type{?proto.clarifai.api.status.Status} */ (
15068
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
15069
+ };
15070
+
15071
+
15072
+ /**
15073
+ * @param {?proto.clarifai.api.status.Status|undefined} value
15074
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15075
+ */
15076
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setStatus = function(value) {
15077
+ return jspb.Message.setWrapperField(this, 1, value);
15078
+ };
15079
+
15080
+
15081
+ /**
15082
+ * Clears the message field making it undefined.
15083
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15084
+ */
15085
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearStatus = function() {
15086
+ return this.setStatus(undefined);
15087
+ };
15088
+
15089
+
15090
+ /**
15091
+ * Returns whether this field is set.
15092
+ * @return {boolean}
15093
+ */
15094
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasStatus = function() {
15095
+ return jspb.Message.getField(this, 1) != null;
15096
+ };
15097
+
15098
+
15099
+ /**
15100
+ * optional Annotation annotation = 2;
15101
+ * @return {?proto.clarifai.api.Annotation}
15102
+ */
15103
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getAnnotation = function() {
15104
+ return /** @type{?proto.clarifai.api.Annotation} */ (
15105
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Annotation, 2));
15106
+ };
15107
+
15108
+
15109
+ /**
15110
+ * @param {?proto.clarifai.api.Annotation|undefined} value
15111
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15112
+ */
15113
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setAnnotation = function(value) {
15114
+ return jspb.Message.setWrapperField(this, 2, value);
15115
+ };
15116
+
15117
+
15118
+ /**
15119
+ * Clears the message field making it undefined.
15120
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15121
+ */
15122
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearAnnotation = function() {
15123
+ return this.setAnnotation(undefined);
15124
+ };
15125
+
15126
+
15127
+ /**
15128
+ * Returns whether this field is set.
15129
+ * @return {boolean}
15130
+ */
15131
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasAnnotation = function() {
15132
+ return jspb.Message.getField(this, 2) != null;
15133
+ };
15134
+
15135
+
15136
+ /**
15137
+ * optional bool frame_fully_processed = 3;
15138
+ * @return {boolean}
15139
+ */
15140
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getFrameFullyProcessed = function() {
15141
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
15142
+ };
15143
+
15144
+
15145
+ /**
15146
+ * @param {boolean} value
15147
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15148
+ */
15149
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setFrameFullyProcessed = function(value) {
15150
+ return jspb.Message.setProto3BooleanField(this, 3, value);
15151
+ };
15152
+
15153
+
15154
+
14468
15155
  /**
14469
15156
  * List of repeated fields within this message type.
14470
15157
  * @private {!Array<number>}
@@ -41540,7 +42227,8 @@ proto.clarifai.api.GetResourceCountsResponse.toObject = function(includeInstance
41540
42227
  models: jspb.Message.getFieldWithDefault(msg, 3, 0),
41541
42228
  workflows: jspb.Message.getFieldWithDefault(msg, 4, 0),
41542
42229
  modules: jspb.Message.getFieldWithDefault(msg, 5, 0),
41543
- inputs: jspb.Message.getFieldWithDefault(msg, 6, 0)
42230
+ inputs: jspb.Message.getFieldWithDefault(msg, 6, 0),
42231
+ pipelines: jspb.Message.getFieldWithDefault(msg, 7, 0)
41544
42232
  };
41545
42233
 
41546
42234
  if (includeInstance) {
@@ -41602,6 +42290,10 @@ proto.clarifai.api.GetResourceCountsResponse.deserializeBinaryFromReader = funct
41602
42290
  var value = /** @type {number} */ (reader.readInt64());
41603
42291
  msg.setInputs(value);
41604
42292
  break;
42293
+ case 7:
42294
+ var value = /** @type {number} */ (reader.readInt64());
42295
+ msg.setPipelines(value);
42296
+ break;
41605
42297
  default:
41606
42298
  reader.skipField();
41607
42299
  break;
@@ -41674,6 +42366,13 @@ proto.clarifai.api.GetResourceCountsResponse.serializeBinaryToWriter = function(
41674
42366
  f
41675
42367
  );
41676
42368
  }
42369
+ f = message.getPipelines();
42370
+ if (f !== 0) {
42371
+ writer.writeInt64(
42372
+ 7,
42373
+ f
42374
+ );
42375
+ }
41677
42376
  };
41678
42377
 
41679
42378
 
@@ -41804,6 +42503,24 @@ proto.clarifai.api.GetResourceCountsResponse.prototype.setInputs = function(valu
41804
42503
  };
41805
42504
 
41806
42505
 
42506
+ /**
42507
+ * optional int64 pipelines = 7;
42508
+ * @return {number}
42509
+ */
42510
+ proto.clarifai.api.GetResourceCountsResponse.prototype.getPipelines = function() {
42511
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
42512
+ };
42513
+
42514
+
42515
+ /**
42516
+ * @param {number} value
42517
+ * @return {!proto.clarifai.api.GetResourceCountsResponse} returns this
42518
+ */
42519
+ proto.clarifai.api.GetResourceCountsResponse.prototype.setPipelines = function(value) {
42520
+ return jspb.Message.setProto3IntField(this, 7, value);
42521
+ };
42522
+
42523
+
41807
42524
 
41808
42525
  /**
41809
42526
  * List of repeated fields within this message type.
@@ -91979,7 +92696,7 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
91979
92696
  * @private {!Array<!Array<number>>}
91980
92697
  * @const
91981
92698
  */
91982
- proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5]];
92699
+ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5,6]];
91983
92700
 
91984
92701
  /**
91985
92702
  * @enum {number}
@@ -91987,7 +92704,8 @@ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5]];
91987
92704
  proto.clarifai.api.RunnerItem.RequestCase = {
91988
92705
  REQUEST_NOT_SET: 0,
91989
92706
  POST_MODEL_OUTPUTS_REQUEST: 4,
91990
- SYNC_STATE_REQUEST: 5
92707
+ SYNC_STATE_REQUEST: 5,
92708
+ AUTO_ANNOTATION_REQUEST: 6
91991
92709
  };
91992
92710
 
91993
92711
  /**
@@ -92032,7 +92750,8 @@ proto.clarifai.api.RunnerItem.toObject = function(includeInstance, msg) {
92032
92750
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
92033
92751
  processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
92034
92752
  postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
92035
- syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
92753
+ syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f),
92754
+ autoAnnotationRequest: (f = msg.getAutoAnnotationRequest()) && proto.clarifai.api.AutoAnnotationRequest.toObject(includeInstance, f)
92036
92755
  };
92037
92756
 
92038
92757
  if (includeInstance) {
@@ -92092,6 +92811,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function(msg, reader
92092
92811
  reader.readMessage(value,proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
92093
92812
  msg.setSyncStateRequest(value);
92094
92813
  break;
92814
+ case 6:
92815
+ var value = new proto.clarifai.api.AutoAnnotationRequest;
92816
+ reader.readMessage(value,proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader);
92817
+ msg.setAutoAnnotationRequest(value);
92818
+ break;
92095
92819
  default:
92096
92820
  reader.skipField();
92097
92821
  break;
@@ -92159,6 +92883,14 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function(message, writer
92159
92883
  proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter
92160
92884
  );
92161
92885
  }
92886
+ f = message.getAutoAnnotationRequest();
92887
+ if (f != null) {
92888
+ writer.writeMessage(
92889
+ 6,
92890
+ f,
92891
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter
92892
+ );
92893
+ }
92162
92894
  };
92163
92895
 
92164
92896
 
@@ -92309,6 +93041,456 @@ proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function() {
92309
93041
  };
92310
93042
 
92311
93043
 
93044
+ /**
93045
+ * optional AutoAnnotationRequest auto_annotation_request = 6;
93046
+ * @return {?proto.clarifai.api.AutoAnnotationRequest}
93047
+ */
93048
+ proto.clarifai.api.RunnerItem.prototype.getAutoAnnotationRequest = function() {
93049
+ return /** @type{?proto.clarifai.api.AutoAnnotationRequest} */ (
93050
+ jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest, 6));
93051
+ };
93052
+
93053
+
93054
+ /**
93055
+ * @param {?proto.clarifai.api.AutoAnnotationRequest|undefined} value
93056
+ * @return {!proto.clarifai.api.RunnerItem} returns this
93057
+ */
93058
+ proto.clarifai.api.RunnerItem.prototype.setAutoAnnotationRequest = function(value) {
93059
+ return jspb.Message.setOneofWrapperField(this, 6, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
93060
+ };
93061
+
93062
+
93063
+ /**
93064
+ * Clears the message field making it undefined.
93065
+ * @return {!proto.clarifai.api.RunnerItem} returns this
93066
+ */
93067
+ proto.clarifai.api.RunnerItem.prototype.clearAutoAnnotationRequest = function() {
93068
+ return this.setAutoAnnotationRequest(undefined);
93069
+ };
93070
+
93071
+
93072
+ /**
93073
+ * Returns whether this field is set.
93074
+ * @return {boolean}
93075
+ */
93076
+ proto.clarifai.api.RunnerItem.prototype.hasAutoAnnotationRequest = function() {
93077
+ return jspb.Message.getField(this, 6) != null;
93078
+ };
93079
+
93080
+
93081
+
93082
+
93083
+
93084
+ if (jspb.Message.GENERATE_TO_OBJECT) {
93085
+ /**
93086
+ * Creates an object representation of this proto.
93087
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
93088
+ * Optional fields that are not set will be set to undefined.
93089
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
93090
+ * For the list of reserved names please see:
93091
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
93092
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
93093
+ * JSPB instance for transitional soy proto support:
93094
+ * http://goto/soy-param-migration
93095
+ * @return {!Object}
93096
+ */
93097
+ proto.clarifai.api.AutoAnnotationRequest.prototype.toObject = function(opt_includeInstance) {
93098
+ return proto.clarifai.api.AutoAnnotationRequest.toObject(opt_includeInstance, this);
93099
+ };
93100
+
93101
+
93102
+ /**
93103
+ * Static version of the {@see toObject} method.
93104
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
93105
+ * the JSPB instance for transitional soy proto support:
93106
+ * http://goto/soy-param-migration
93107
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} msg The msg instance to transform.
93108
+ * @return {!Object}
93109
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93110
+ */
93111
+ proto.clarifai.api.AutoAnnotationRequest.toObject = function(includeInstance, msg) {
93112
+ var f, obj = {
93113
+ postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
93114
+ postAnnotationsInfo: (f = msg.getPostAnnotationsInfo()) && proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(includeInstance, f)
93115
+ };
93116
+
93117
+ if (includeInstance) {
93118
+ obj.$jspbMessageInstance = msg;
93119
+ }
93120
+ return obj;
93121
+ };
93122
+ }
93123
+
93124
+
93125
+ /**
93126
+ * Deserializes binary data (in protobuf wire format).
93127
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
93128
+ * @return {!proto.clarifai.api.AutoAnnotationRequest}
93129
+ */
93130
+ proto.clarifai.api.AutoAnnotationRequest.deserializeBinary = function(bytes) {
93131
+ var reader = new jspb.BinaryReader(bytes);
93132
+ var msg = new proto.clarifai.api.AutoAnnotationRequest;
93133
+ return proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader(msg, reader);
93134
+ };
93135
+
93136
+
93137
+ /**
93138
+ * Deserializes binary data (in protobuf wire format) from the
93139
+ * given reader into the given message object.
93140
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} msg The message object to deserialize into.
93141
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
93142
+ * @return {!proto.clarifai.api.AutoAnnotationRequest}
93143
+ */
93144
+ proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader = function(msg, reader) {
93145
+ while (reader.nextField()) {
93146
+ if (reader.isEndGroup()) {
93147
+ break;
93148
+ }
93149
+ var field = reader.getFieldNumber();
93150
+ switch (field) {
93151
+ case 1:
93152
+ var value = new proto.clarifai.api.PostModelOutputsRequest;
93153
+ reader.readMessage(value,proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
93154
+ msg.setPostModelOutputsRequest(value);
93155
+ break;
93156
+ case 2:
93157
+ var value = new proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo;
93158
+ reader.readMessage(value,proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader);
93159
+ msg.setPostAnnotationsInfo(value);
93160
+ break;
93161
+ default:
93162
+ reader.skipField();
93163
+ break;
93164
+ }
93165
+ }
93166
+ return msg;
93167
+ };
93168
+
93169
+
93170
+ /**
93171
+ * Serializes the message to binary data (in protobuf wire format).
93172
+ * @return {!Uint8Array}
93173
+ */
93174
+ proto.clarifai.api.AutoAnnotationRequest.prototype.serializeBinary = function() {
93175
+ var writer = new jspb.BinaryWriter();
93176
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter(this, writer);
93177
+ return writer.getResultBuffer();
93178
+ };
93179
+
93180
+
93181
+ /**
93182
+ * Serializes the given message to binary data (in protobuf wire
93183
+ * format), writing to the given BinaryWriter.
93184
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} message
93185
+ * @param {!jspb.BinaryWriter} writer
93186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93187
+ */
93188
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter = function(message, writer) {
93189
+ var f = undefined;
93190
+ f = message.getPostModelOutputsRequest();
93191
+ if (f != null) {
93192
+ writer.writeMessage(
93193
+ 1,
93194
+ f,
93195
+ proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter
93196
+ );
93197
+ }
93198
+ f = message.getPostAnnotationsInfo();
93199
+ if (f != null) {
93200
+ writer.writeMessage(
93201
+ 2,
93202
+ f,
93203
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter
93204
+ );
93205
+ }
93206
+ };
93207
+
93208
+
93209
+
93210
+
93211
+
93212
+ if (jspb.Message.GENERATE_TO_OBJECT) {
93213
+ /**
93214
+ * Creates an object representation of this proto.
93215
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
93216
+ * Optional fields that are not set will be set to undefined.
93217
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
93218
+ * For the list of reserved names please see:
93219
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
93220
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
93221
+ * JSPB instance for transitional soy proto support:
93222
+ * http://goto/soy-param-migration
93223
+ * @return {!Object}
93224
+ */
93225
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.toObject = function(opt_includeInstance) {
93226
+ return proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(opt_includeInstance, this);
93227
+ };
93228
+
93229
+
93230
+ /**
93231
+ * Static version of the {@see toObject} method.
93232
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
93233
+ * the JSPB instance for transitional soy proto support:
93234
+ * http://goto/soy-param-migration
93235
+ * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} msg The msg instance to transform.
93236
+ * @return {!Object}
93237
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93238
+ */
93239
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject = function(includeInstance, msg) {
93240
+ var f, obj = {
93241
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
93242
+ authorizationValue: jspb.Message.getFieldWithDefault(msg, 2, ""),
93243
+ taskId: jspb.Message.getFieldWithDefault(msg, 3, "")
93244
+ };
93245
+
93246
+ if (includeInstance) {
93247
+ obj.$jspbMessageInstance = msg;
93248
+ }
93249
+ return obj;
93250
+ };
93251
+ }
93252
+
93253
+
93254
+ /**
93255
+ * Deserializes binary data (in protobuf wire format).
93256
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
93257
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
93258
+ */
93259
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinary = function(bytes) {
93260
+ var reader = new jspb.BinaryReader(bytes);
93261
+ var msg = new proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo;
93262
+ return proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader(msg, reader);
93263
+ };
93264
+
93265
+
93266
+ /**
93267
+ * Deserializes binary data (in protobuf wire format) from the
93268
+ * given reader into the given message object.
93269
+ * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} msg The message object to deserialize into.
93270
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
93271
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
93272
+ */
93273
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader = function(msg, reader) {
93274
+ while (reader.nextField()) {
93275
+ if (reader.isEndGroup()) {
93276
+ break;
93277
+ }
93278
+ var field = reader.getFieldNumber();
93279
+ switch (field) {
93280
+ case 1:
93281
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
93282
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
93283
+ msg.setUserAppId(value);
93284
+ break;
93285
+ case 2:
93286
+ var value = /** @type {string} */ (reader.readString());
93287
+ msg.setAuthorizationValue(value);
93288
+ break;
93289
+ case 3:
93290
+ var value = /** @type {string} */ (reader.readString());
93291
+ msg.setTaskId(value);
93292
+ break;
93293
+ default:
93294
+ reader.skipField();
93295
+ break;
93296
+ }
93297
+ }
93298
+ return msg;
93299
+ };
93300
+
93301
+
93302
+ /**
93303
+ * Serializes the message to binary data (in protobuf wire format).
93304
+ * @return {!Uint8Array}
93305
+ */
93306
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.serializeBinary = function() {
93307
+ var writer = new jspb.BinaryWriter();
93308
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter(this, writer);
93309
+ return writer.getResultBuffer();
93310
+ };
93311
+
93312
+
93313
+ /**
93314
+ * Serializes the given message to binary data (in protobuf wire
93315
+ * format), writing to the given BinaryWriter.
93316
+ * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} message
93317
+ * @param {!jspb.BinaryWriter} writer
93318
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93319
+ */
93320
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter = function(message, writer) {
93321
+ var f = undefined;
93322
+ f = message.getUserAppId();
93323
+ if (f != null) {
93324
+ writer.writeMessage(
93325
+ 1,
93326
+ f,
93327
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
93328
+ );
93329
+ }
93330
+ f = message.getAuthorizationValue();
93331
+ if (f.length > 0) {
93332
+ writer.writeString(
93333
+ 2,
93334
+ f
93335
+ );
93336
+ }
93337
+ f = message.getTaskId();
93338
+ if (f.length > 0) {
93339
+ writer.writeString(
93340
+ 3,
93341
+ f
93342
+ );
93343
+ }
93344
+ };
93345
+
93346
+
93347
+ /**
93348
+ * optional UserAppIDSet user_app_id = 1;
93349
+ * @return {?proto.clarifai.api.UserAppIDSet}
93350
+ */
93351
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getUserAppId = function() {
93352
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
93353
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
93354
+ };
93355
+
93356
+
93357
+ /**
93358
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
93359
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93360
+ */
93361
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setUserAppId = function(value) {
93362
+ return jspb.Message.setWrapperField(this, 1, value);
93363
+ };
93364
+
93365
+
93366
+ /**
93367
+ * Clears the message field making it undefined.
93368
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93369
+ */
93370
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.clearUserAppId = function() {
93371
+ return this.setUserAppId(undefined);
93372
+ };
93373
+
93374
+
93375
+ /**
93376
+ * Returns whether this field is set.
93377
+ * @return {boolean}
93378
+ */
93379
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.hasUserAppId = function() {
93380
+ return jspb.Message.getField(this, 1) != null;
93381
+ };
93382
+
93383
+
93384
+ /**
93385
+ * optional string authorization_value = 2;
93386
+ * @return {string}
93387
+ */
93388
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getAuthorizationValue = function() {
93389
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
93390
+ };
93391
+
93392
+
93393
+ /**
93394
+ * @param {string} value
93395
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93396
+ */
93397
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setAuthorizationValue = function(value) {
93398
+ return jspb.Message.setProto3StringField(this, 2, value);
93399
+ };
93400
+
93401
+
93402
+ /**
93403
+ * optional string task_id = 3;
93404
+ * @return {string}
93405
+ */
93406
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getTaskId = function() {
93407
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
93408
+ };
93409
+
93410
+
93411
+ /**
93412
+ * @param {string} value
93413
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93414
+ */
93415
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setTaskId = function(value) {
93416
+ return jspb.Message.setProto3StringField(this, 3, value);
93417
+ };
93418
+
93419
+
93420
+ /**
93421
+ * optional PostModelOutputsRequest post_model_outputs_request = 1;
93422
+ * @return {?proto.clarifai.api.PostModelOutputsRequest}
93423
+ */
93424
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getPostModelOutputsRequest = function() {
93425
+ return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (
93426
+ jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 1));
93427
+ };
93428
+
93429
+
93430
+ /**
93431
+ * @param {?proto.clarifai.api.PostModelOutputsRequest|undefined} value
93432
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93433
+ */
93434
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setPostModelOutputsRequest = function(value) {
93435
+ return jspb.Message.setWrapperField(this, 1, value);
93436
+ };
93437
+
93438
+
93439
+ /**
93440
+ * Clears the message field making it undefined.
93441
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93442
+ */
93443
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostModelOutputsRequest = function() {
93444
+ return this.setPostModelOutputsRequest(undefined);
93445
+ };
93446
+
93447
+
93448
+ /**
93449
+ * Returns whether this field is set.
93450
+ * @return {boolean}
93451
+ */
93452
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostModelOutputsRequest = function() {
93453
+ return jspb.Message.getField(this, 1) != null;
93454
+ };
93455
+
93456
+
93457
+ /**
93458
+ * optional PostAnnotationsInfo post_annotations_info = 2;
93459
+ * @return {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
93460
+ */
93461
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getPostAnnotationsInfo = function() {
93462
+ return /** @type{?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} */ (
93463
+ jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo, 2));
93464
+ };
93465
+
93466
+
93467
+ /**
93468
+ * @param {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo|undefined} value
93469
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93470
+ */
93471
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setPostAnnotationsInfo = function(value) {
93472
+ return jspb.Message.setWrapperField(this, 2, value);
93473
+ };
93474
+
93475
+
93476
+ /**
93477
+ * Clears the message field making it undefined.
93478
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93479
+ */
93480
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostAnnotationsInfo = function() {
93481
+ return this.setPostAnnotationsInfo(undefined);
93482
+ };
93483
+
93484
+
93485
+ /**
93486
+ * Returns whether this field is set.
93487
+ * @return {boolean}
93488
+ */
93489
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostAnnotationsInfo = function() {
93490
+ return jspb.Message.getField(this, 2) != null;
93491
+ };
93492
+
93493
+
92312
93494
 
92313
93495
  /**
92314
93496
  * Oneof group definitions for this message. Each group defines the field
@@ -93647,7 +94829,7 @@ proto.clarifai.api.ListCloudRegionsRequest.prototype.hasCloudProvider = function
93647
94829
  * @private {!Array<number>}
93648
94830
  * @const
93649
94831
  */
93650
- proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2];
94832
+ proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2,3];
93651
94833
 
93652
94834
 
93653
94835
 
@@ -93681,7 +94863,9 @@ proto.clarifai.api.MultiCloudRegionResponse.prototype.toObject = function(opt_in
93681
94863
  proto.clarifai.api.MultiCloudRegionResponse.toObject = function(includeInstance, msg) {
93682
94864
  var f, obj = {
93683
94865
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
93684
- regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
94866
+ regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
94867
+ cloudRegionsList: jspb.Message.toObjectList(msg.getCloudRegionsList(),
94868
+ proto_clarifai_api_resources_pb.CloudRegion.toObject, includeInstance)
93685
94869
  };
93686
94870
 
93687
94871
  if (includeInstance) {
@@ -93727,6 +94911,11 @@ proto.clarifai.api.MultiCloudRegionResponse.deserializeBinaryFromReader = functi
93727
94911
  var value = /** @type {string} */ (reader.readString());
93728
94912
  msg.addRegions(value);
93729
94913
  break;
94914
+ case 3:
94915
+ var value = new proto_clarifai_api_resources_pb.CloudRegion;
94916
+ reader.readMessage(value,proto_clarifai_api_resources_pb.CloudRegion.deserializeBinaryFromReader);
94917
+ msg.addCloudRegions(value);
94918
+ break;
93730
94919
  default:
93731
94920
  reader.skipField();
93732
94921
  break;
@@ -93771,6 +94960,14 @@ proto.clarifai.api.MultiCloudRegionResponse.serializeBinaryToWriter = function(m
93771
94960
  f
93772
94961
  );
93773
94962
  }
94963
+ f = message.getCloudRegionsList();
94964
+ if (f.length > 0) {
94965
+ writer.writeRepeatedMessage(
94966
+ 3,
94967
+ f,
94968
+ proto_clarifai_api_resources_pb.CloudRegion.serializeBinaryToWriter
94969
+ );
94970
+ }
93774
94971
  };
93775
94972
 
93776
94973
 
@@ -93848,6 +95045,44 @@ proto.clarifai.api.MultiCloudRegionResponse.prototype.clearRegionsList = functio
93848
95045
  };
93849
95046
 
93850
95047
 
95048
+ /**
95049
+ * repeated CloudRegion cloud_regions = 3;
95050
+ * @return {!Array<!proto.clarifai.api.CloudRegion>}
95051
+ */
95052
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.getCloudRegionsList = function() {
95053
+ return /** @type{!Array<!proto.clarifai.api.CloudRegion>} */ (
95054
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.CloudRegion, 3));
95055
+ };
95056
+
95057
+
95058
+ /**
95059
+ * @param {!Array<!proto.clarifai.api.CloudRegion>} value
95060
+ * @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
95061
+ */
95062
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.setCloudRegionsList = function(value) {
95063
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
95064
+ };
95065
+
95066
+
95067
+ /**
95068
+ * @param {!proto.clarifai.api.CloudRegion=} opt_value
95069
+ * @param {number=} opt_index
95070
+ * @return {!proto.clarifai.api.CloudRegion}
95071
+ */
95072
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.addCloudRegions = function(opt_value, opt_index) {
95073
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.CloudRegion, opt_index);
95074
+ };
95075
+
95076
+
95077
+ /**
95078
+ * Clears the list making it empty but non-null.
95079
+ * @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
95080
+ */
95081
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.clearCloudRegionsList = function() {
95082
+ return this.setCloudRegionsList([]);
95083
+ };
95084
+
95085
+
93851
95086
 
93852
95087
 
93853
95088
 
@@ -106831,6 +108066,576 @@ proto.clarifai.api.MultiPipelineVersionRunResponse.prototype.clearPipelineVersio
106831
108066
 
106832
108067
 
106833
108068
 
108069
+ /**
108070
+ * List of repeated fields within this message type.
108071
+ * @private {!Array<number>}
108072
+ * @const
108073
+ */
108074
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_ = [5];
108075
+
108076
+
108077
+
108078
+ if (jspb.Message.GENERATE_TO_OBJECT) {
108079
+ /**
108080
+ * Creates an object representation of this proto.
108081
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
108082
+ * Optional fields that are not set will be set to undefined.
108083
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
108084
+ * For the list of reserved names please see:
108085
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
108086
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
108087
+ * JSPB instance for transitional soy proto support:
108088
+ * http://goto/soy-param-migration
108089
+ * @return {!Object}
108090
+ */
108091
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.toObject = function(opt_includeInstance) {
108092
+ return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject(opt_includeInstance, this);
108093
+ };
108094
+
108095
+
108096
+ /**
108097
+ * Static version of the {@see toObject} method.
108098
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
108099
+ * the JSPB instance for transitional soy proto support:
108100
+ * http://goto/soy-param-migration
108101
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The msg instance to transform.
108102
+ * @return {!Object}
108103
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108104
+ */
108105
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject = function(includeInstance, msg) {
108106
+ var f, obj = {
108107
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
108108
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 2, ""),
108109
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
108110
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 4, ""),
108111
+ statusCodesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
108112
+ page: jspb.Message.getFieldWithDefault(msg, 6, 0),
108113
+ perPage: jspb.Message.getFieldWithDefault(msg, 7, 0)
108114
+ };
108115
+
108116
+ if (includeInstance) {
108117
+ obj.$jspbMessageInstance = msg;
108118
+ }
108119
+ return obj;
108120
+ };
108121
+ }
108122
+
108123
+
108124
+ /**
108125
+ * Deserializes binary data (in protobuf wire format).
108126
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
108127
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
108128
+ */
108129
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinary = function(bytes) {
108130
+ var reader = new jspb.BinaryReader(bytes);
108131
+ var msg = new proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest;
108132
+ return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader(msg, reader);
108133
+ };
108134
+
108135
+
108136
+ /**
108137
+ * Deserializes binary data (in protobuf wire format) from the
108138
+ * given reader into the given message object.
108139
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The message object to deserialize into.
108140
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
108141
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
108142
+ */
108143
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader = function(msg, reader) {
108144
+ while (reader.nextField()) {
108145
+ if (reader.isEndGroup()) {
108146
+ break;
108147
+ }
108148
+ var field = reader.getFieldNumber();
108149
+ switch (field) {
108150
+ case 1:
108151
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
108152
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
108153
+ msg.setUserAppId(value);
108154
+ break;
108155
+ case 2:
108156
+ var value = /** @type {string} */ (reader.readString());
108157
+ msg.setPipelineId(value);
108158
+ break;
108159
+ case 3:
108160
+ var value = /** @type {string} */ (reader.readString());
108161
+ msg.setPipelineVersionId(value);
108162
+ break;
108163
+ case 4:
108164
+ var value = /** @type {string} */ (reader.readString());
108165
+ msg.setPipelineVersionRunId(value);
108166
+ break;
108167
+ case 5:
108168
+ var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
108169
+ for (var i = 0; i < values.length; i++) {
108170
+ msg.addStatusCodes(values[i]);
108171
+ }
108172
+ break;
108173
+ case 6:
108174
+ var value = /** @type {number} */ (reader.readUint32());
108175
+ msg.setPage(value);
108176
+ break;
108177
+ case 7:
108178
+ var value = /** @type {number} */ (reader.readUint32());
108179
+ msg.setPerPage(value);
108180
+ break;
108181
+ default:
108182
+ reader.skipField();
108183
+ break;
108184
+ }
108185
+ }
108186
+ return msg;
108187
+ };
108188
+
108189
+
108190
+ /**
108191
+ * Serializes the message to binary data (in protobuf wire format).
108192
+ * @return {!Uint8Array}
108193
+ */
108194
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.serializeBinary = function() {
108195
+ var writer = new jspb.BinaryWriter();
108196
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter(this, writer);
108197
+ return writer.getResultBuffer();
108198
+ };
108199
+
108200
+
108201
+ /**
108202
+ * Serializes the given message to binary data (in protobuf wire
108203
+ * format), writing to the given BinaryWriter.
108204
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} message
108205
+ * @param {!jspb.BinaryWriter} writer
108206
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108207
+ */
108208
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter = function(message, writer) {
108209
+ var f = undefined;
108210
+ f = message.getUserAppId();
108211
+ if (f != null) {
108212
+ writer.writeMessage(
108213
+ 1,
108214
+ f,
108215
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
108216
+ );
108217
+ }
108218
+ f = message.getPipelineId();
108219
+ if (f.length > 0) {
108220
+ writer.writeString(
108221
+ 2,
108222
+ f
108223
+ );
108224
+ }
108225
+ f = message.getPipelineVersionId();
108226
+ if (f.length > 0) {
108227
+ writer.writeString(
108228
+ 3,
108229
+ f
108230
+ );
108231
+ }
108232
+ f = message.getPipelineVersionRunId();
108233
+ if (f.length > 0) {
108234
+ writer.writeString(
108235
+ 4,
108236
+ f
108237
+ );
108238
+ }
108239
+ f = message.getStatusCodesList();
108240
+ if (f.length > 0) {
108241
+ writer.writePackedEnum(
108242
+ 5,
108243
+ f
108244
+ );
108245
+ }
108246
+ f = message.getPage();
108247
+ if (f !== 0) {
108248
+ writer.writeUint32(
108249
+ 6,
108250
+ f
108251
+ );
108252
+ }
108253
+ f = message.getPerPage();
108254
+ if (f !== 0) {
108255
+ writer.writeUint32(
108256
+ 7,
108257
+ f
108258
+ );
108259
+ }
108260
+ };
108261
+
108262
+
108263
+ /**
108264
+ * optional UserAppIDSet user_app_id = 1;
108265
+ * @return {?proto.clarifai.api.UserAppIDSet}
108266
+ */
108267
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getUserAppId = function() {
108268
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
108269
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
108270
+ };
108271
+
108272
+
108273
+ /**
108274
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
108275
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108276
+ */
108277
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setUserAppId = function(value) {
108278
+ return jspb.Message.setWrapperField(this, 1, value);
108279
+ };
108280
+
108281
+
108282
+ /**
108283
+ * Clears the message field making it undefined.
108284
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108285
+ */
108286
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearUserAppId = function() {
108287
+ return this.setUserAppId(undefined);
108288
+ };
108289
+
108290
+
108291
+ /**
108292
+ * Returns whether this field is set.
108293
+ * @return {boolean}
108294
+ */
108295
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.hasUserAppId = function() {
108296
+ return jspb.Message.getField(this, 1) != null;
108297
+ };
108298
+
108299
+
108300
+ /**
108301
+ * optional string pipeline_id = 2;
108302
+ * @return {string}
108303
+ */
108304
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineId = function() {
108305
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
108306
+ };
108307
+
108308
+
108309
+ /**
108310
+ * @param {string} value
108311
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108312
+ */
108313
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineId = function(value) {
108314
+ return jspb.Message.setProto3StringField(this, 2, value);
108315
+ };
108316
+
108317
+
108318
+ /**
108319
+ * optional string pipeline_version_id = 3;
108320
+ * @return {string}
108321
+ */
108322
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionId = function() {
108323
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
108324
+ };
108325
+
108326
+
108327
+ /**
108328
+ * @param {string} value
108329
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108330
+ */
108331
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionId = function(value) {
108332
+ return jspb.Message.setProto3StringField(this, 3, value);
108333
+ };
108334
+
108335
+
108336
+ /**
108337
+ * optional string pipeline_version_run_id = 4;
108338
+ * @return {string}
108339
+ */
108340
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionRunId = function() {
108341
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
108342
+ };
108343
+
108344
+
108345
+ /**
108346
+ * @param {string} value
108347
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108348
+ */
108349
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionRunId = function(value) {
108350
+ return jspb.Message.setProto3StringField(this, 4, value);
108351
+ };
108352
+
108353
+
108354
+ /**
108355
+ * repeated status.StatusCode status_codes = 5;
108356
+ * @return {!Array<!proto.clarifai.api.status.StatusCode>}
108357
+ */
108358
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getStatusCodesList = function() {
108359
+ return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 5));
108360
+ };
108361
+
108362
+
108363
+ /**
108364
+ * @param {!Array<!proto.clarifai.api.status.StatusCode>} value
108365
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108366
+ */
108367
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setStatusCodesList = function(value) {
108368
+ return jspb.Message.setField(this, 5, value || []);
108369
+ };
108370
+
108371
+
108372
+ /**
108373
+ * @param {!proto.clarifai.api.status.StatusCode} value
108374
+ * @param {number=} opt_index
108375
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108376
+ */
108377
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.addStatusCodes = function(value, opt_index) {
108378
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
108379
+ };
108380
+
108381
+
108382
+ /**
108383
+ * Clears the list making it empty but non-null.
108384
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108385
+ */
108386
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearStatusCodesList = function() {
108387
+ return this.setStatusCodesList([]);
108388
+ };
108389
+
108390
+
108391
+ /**
108392
+ * optional uint32 page = 6;
108393
+ * @return {number}
108394
+ */
108395
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPage = function() {
108396
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
108397
+ };
108398
+
108399
+
108400
+ /**
108401
+ * @param {number} value
108402
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108403
+ */
108404
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPage = function(value) {
108405
+ return jspb.Message.setProto3IntField(this, 6, value);
108406
+ };
108407
+
108408
+
108409
+ /**
108410
+ * optional uint32 per_page = 7;
108411
+ * @return {number}
108412
+ */
108413
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPerPage = function() {
108414
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
108415
+ };
108416
+
108417
+
108418
+ /**
108419
+ * @param {number} value
108420
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108421
+ */
108422
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPerPage = function(value) {
108423
+ return jspb.Message.setProto3IntField(this, 7, value);
108424
+ };
108425
+
108426
+
108427
+
108428
+ /**
108429
+ * List of repeated fields within this message type.
108430
+ * @private {!Array<number>}
108431
+ * @const
108432
+ */
108433
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_ = [2];
108434
+
108435
+
108436
+
108437
+ if (jspb.Message.GENERATE_TO_OBJECT) {
108438
+ /**
108439
+ * Creates an object representation of this proto.
108440
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
108441
+ * Optional fields that are not set will be set to undefined.
108442
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
108443
+ * For the list of reserved names please see:
108444
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
108445
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
108446
+ * JSPB instance for transitional soy proto support:
108447
+ * http://goto/soy-param-migration
108448
+ * @return {!Object}
108449
+ */
108450
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.toObject = function(opt_includeInstance) {
108451
+ return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject(opt_includeInstance, this);
108452
+ };
108453
+
108454
+
108455
+ /**
108456
+ * Static version of the {@see toObject} method.
108457
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
108458
+ * the JSPB instance for transitional soy proto support:
108459
+ * http://goto/soy-param-migration
108460
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The msg instance to transform.
108461
+ * @return {!Object}
108462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108463
+ */
108464
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject = function(includeInstance, msg) {
108465
+ var f, obj = {
108466
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
108467
+ pipelineVersionRunStatusLogsList: jspb.Message.toObjectList(msg.getPipelineVersionRunStatusLogsList(),
108468
+ proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.toObject, includeInstance)
108469
+ };
108470
+
108471
+ if (includeInstance) {
108472
+ obj.$jspbMessageInstance = msg;
108473
+ }
108474
+ return obj;
108475
+ };
108476
+ }
108477
+
108478
+
108479
+ /**
108480
+ * Deserializes binary data (in protobuf wire format).
108481
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
108482
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
108483
+ */
108484
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinary = function(bytes) {
108485
+ var reader = new jspb.BinaryReader(bytes);
108486
+ var msg = new proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse;
108487
+ return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader(msg, reader);
108488
+ };
108489
+
108490
+
108491
+ /**
108492
+ * Deserializes binary data (in protobuf wire format) from the
108493
+ * given reader into the given message object.
108494
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The message object to deserialize into.
108495
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
108496
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
108497
+ */
108498
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader = function(msg, reader) {
108499
+ while (reader.nextField()) {
108500
+ if (reader.isEndGroup()) {
108501
+ break;
108502
+ }
108503
+ var field = reader.getFieldNumber();
108504
+ switch (field) {
108505
+ case 1:
108506
+ var value = new proto_clarifai_api_status_status_pb.Status;
108507
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
108508
+ msg.setStatus(value);
108509
+ break;
108510
+ case 2:
108511
+ var value = new proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog;
108512
+ reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.deserializeBinaryFromReader);
108513
+ msg.addPipelineVersionRunStatusLogs(value);
108514
+ break;
108515
+ default:
108516
+ reader.skipField();
108517
+ break;
108518
+ }
108519
+ }
108520
+ return msg;
108521
+ };
108522
+
108523
+
108524
+ /**
108525
+ * Serializes the message to binary data (in protobuf wire format).
108526
+ * @return {!Uint8Array}
108527
+ */
108528
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.serializeBinary = function() {
108529
+ var writer = new jspb.BinaryWriter();
108530
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter(this, writer);
108531
+ return writer.getResultBuffer();
108532
+ };
108533
+
108534
+
108535
+ /**
108536
+ * Serializes the given message to binary data (in protobuf wire
108537
+ * format), writing to the given BinaryWriter.
108538
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} message
108539
+ * @param {!jspb.BinaryWriter} writer
108540
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108541
+ */
108542
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter = function(message, writer) {
108543
+ var f = undefined;
108544
+ f = message.getStatus();
108545
+ if (f != null) {
108546
+ writer.writeMessage(
108547
+ 1,
108548
+ f,
108549
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
108550
+ );
108551
+ }
108552
+ f = message.getPipelineVersionRunStatusLogsList();
108553
+ if (f.length > 0) {
108554
+ writer.writeRepeatedMessage(
108555
+ 2,
108556
+ f,
108557
+ proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.serializeBinaryToWriter
108558
+ );
108559
+ }
108560
+ };
108561
+
108562
+
108563
+ /**
108564
+ * optional status.Status status = 1;
108565
+ * @return {?proto.clarifai.api.status.Status}
108566
+ */
108567
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getStatus = function() {
108568
+ return /** @type{?proto.clarifai.api.status.Status} */ (
108569
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
108570
+ };
108571
+
108572
+
108573
+ /**
108574
+ * @param {?proto.clarifai.api.status.Status|undefined} value
108575
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108576
+ */
108577
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setStatus = function(value) {
108578
+ return jspb.Message.setWrapperField(this, 1, value);
108579
+ };
108580
+
108581
+
108582
+ /**
108583
+ * Clears the message field making it undefined.
108584
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108585
+ */
108586
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearStatus = function() {
108587
+ return this.setStatus(undefined);
108588
+ };
108589
+
108590
+
108591
+ /**
108592
+ * Returns whether this field is set.
108593
+ * @return {boolean}
108594
+ */
108595
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.hasStatus = function() {
108596
+ return jspb.Message.getField(this, 1) != null;
108597
+ };
108598
+
108599
+
108600
+ /**
108601
+ * repeated PipelineVersionRunStatusLog pipeline_version_run_status_logs = 2;
108602
+ * @return {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>}
108603
+ */
108604
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getPipelineVersionRunStatusLogsList = function() {
108605
+ return /** @type{!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} */ (
108606
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog, 2));
108607
+ };
108608
+
108609
+
108610
+ /**
108611
+ * @param {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} value
108612
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108613
+ */
108614
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setPipelineVersionRunStatusLogsList = function(value) {
108615
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
108616
+ };
108617
+
108618
+
108619
+ /**
108620
+ * @param {!proto.clarifai.api.PipelineVersionRunStatusLog=} opt_value
108621
+ * @param {number=} opt_index
108622
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
108623
+ */
108624
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.addPipelineVersionRunStatusLogs = function(opt_value, opt_index) {
108625
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineVersionRunStatusLog, opt_index);
108626
+ };
108627
+
108628
+
108629
+ /**
108630
+ * Clears the list making it empty but non-null.
108631
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108632
+ */
108633
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearPipelineVersionRunStatusLogsList = function() {
108634
+ return this.setPipelineVersionRunStatusLogsList([]);
108635
+ };
108636
+
108637
+
108638
+
106834
108639
  /**
106835
108640
  * List of repeated fields within this message type.
106836
108641
  * @private {!Array<number>}