clarifai-web-grpc 11.11.0 → 12.0.3

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,7 @@ 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);
44
45
  goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
45
46
  goog.exportSymbol('proto.clarifai.api.CancelInputsAddJobRequest', null, global);
46
47
  goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null, global);
@@ -199,6 +200,7 @@ goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, glob
199
200
  goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
200
201
  goog.exportSymbol('proto.clarifai.api.ListPipelineStepVersionsRequest', null, global);
201
202
  goog.exportSymbol('proto.clarifai.api.ListPipelineStepsRequest', null, global);
203
+ goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest', null, global);
202
204
  goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunsRequest', null, global);
203
205
  goog.exportSymbol('proto.clarifai.api.ListPipelineVersionsRequest', null, global);
204
206
  goog.exportSymbol('proto.clarifai.api.ListPipelinesRequest', null, global);
@@ -275,6 +277,7 @@ goog.exportSymbol('proto.clarifai.api.MultiPipelineStepResponse', null, global);
275
277
  goog.exportSymbol('proto.clarifai.api.MultiPipelineStepVersionResponse', null, global);
276
278
  goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionResponse', null, global);
277
279
  goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunResponse', null, global);
280
+ goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse', null, global);
278
281
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
279
282
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
280
283
  goog.exportSymbol('proto.clarifai.api.MultiRunnerResponse', null, global);
@@ -480,6 +483,7 @@ goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
480
483
  goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
481
484
  goog.exportSymbol('proto.clarifai.api.SingleSecretResponse', null, global);
482
485
  goog.exportSymbol('proto.clarifai.api.SingleStatusCodeResponse', null, global);
486
+ goog.exportSymbol('proto.clarifai.api.SingleStreamAnnotationResponse', null, global);
483
487
  goog.exportSymbol('proto.clarifai.api.SingleTaskCountResponse', null, global);
484
488
  goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
485
489
  goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
@@ -487,9 +491,10 @@ goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
487
491
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
488
492
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
489
493
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
494
+ goog.exportSymbol('proto.clarifai.api.StreamAnnotationsRequest', null, global);
490
495
  goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
496
+ goog.exportSymbol('proto.clarifai.api.StreamLivestreamAnnotationsRequest', null, global);
491
497
  goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
492
- goog.exportSymbol('proto.clarifai.api.StreamTrackAnnotationsSearchesRequest', null, global);
493
498
  goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
494
499
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
495
500
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
@@ -587,16 +592,37 @@ if (goog.DEBUG && !COMPILED) {
587
592
  * @extends {jspb.Message}
588
593
  * @constructor
589
594
  */
590
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest = function(opt_data) {
591
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
595
+ proto.clarifai.api.StreamAnnotationsRequest = function(opt_data) {
596
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_, null);
597
+ };
598
+ goog.inherits(proto.clarifai.api.StreamAnnotationsRequest, jspb.Message);
599
+ if (goog.DEBUG && !COMPILED) {
600
+ /**
601
+ * @public
602
+ * @override
603
+ */
604
+ proto.clarifai.api.StreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamAnnotationsRequest';
605
+ }
606
+ /**
607
+ * Generated by JsPbCodeGenerator.
608
+ * @param {Array=} opt_data Optional initial data array, typically from a
609
+ * server response, or constructed directly in Javascript. The array is used
610
+ * in place and becomes part of the constructed object. It is not cloned.
611
+ * If no data is provided, the constructed object will be empty, but still
612
+ * valid.
613
+ * @extends {jspb.Message}
614
+ * @constructor
615
+ */
616
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest = function(opt_data) {
617
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
592
618
  };
593
- goog.inherits(proto.clarifai.api.StreamTrackAnnotationsSearchesRequest, jspb.Message);
619
+ goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
594
620
  if (goog.DEBUG && !COMPILED) {
595
621
  /**
596
622
  * @public
597
623
  * @override
598
624
  */
599
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.displayName = 'proto.clarifai.api.StreamTrackAnnotationsSearchesRequest';
625
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamLivestreamAnnotationsRequest';
600
626
  }
601
627
  /**
602
628
  * Generated by JsPbCodeGenerator.
@@ -850,6 +876,27 @@ if (goog.DEBUG && !COMPILED) {
850
876
  */
851
877
  proto.clarifai.api.SingleAnnotationResponse.displayName = 'proto.clarifai.api.SingleAnnotationResponse';
852
878
  }
879
+ /**
880
+ * Generated by JsPbCodeGenerator.
881
+ * @param {Array=} opt_data Optional initial data array, typically from a
882
+ * server response, or constructed directly in Javascript. The array is used
883
+ * in place and becomes part of the constructed object. It is not cloned.
884
+ * If no data is provided, the constructed object will be empty, but still
885
+ * valid.
886
+ * @extends {jspb.Message}
887
+ * @constructor
888
+ */
889
+ proto.clarifai.api.SingleStreamAnnotationResponse = function(opt_data) {
890
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
891
+ };
892
+ goog.inherits(proto.clarifai.api.SingleStreamAnnotationResponse, jspb.Message);
893
+ if (goog.DEBUG && !COMPILED) {
894
+ /**
895
+ * @public
896
+ * @override
897
+ */
898
+ proto.clarifai.api.SingleStreamAnnotationResponse.displayName = 'proto.clarifai.api.SingleStreamAnnotationResponse';
899
+ }
853
900
  /**
854
901
  * Generated by JsPbCodeGenerator.
855
902
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7507,6 +7554,27 @@ if (goog.DEBUG && !COMPILED) {
7507
7554
  */
7508
7555
  proto.clarifai.api.RunnerItem.displayName = 'proto.clarifai.api.RunnerItem';
7509
7556
  }
7557
+ /**
7558
+ * Generated by JsPbCodeGenerator.
7559
+ * @param {Array=} opt_data Optional initial data array, typically from a
7560
+ * server response, or constructed directly in Javascript. The array is used
7561
+ * in place and becomes part of the constructed object. It is not cloned.
7562
+ * If no data is provided, the constructed object will be empty, but still
7563
+ * valid.
7564
+ * @extends {jspb.Message}
7565
+ * @constructor
7566
+ */
7567
+ proto.clarifai.api.AutoAnnotationRequest = function(opt_data) {
7568
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7569
+ };
7570
+ goog.inherits(proto.clarifai.api.AutoAnnotationRequest, jspb.Message);
7571
+ if (goog.DEBUG && !COMPILED) {
7572
+ /**
7573
+ * @public
7574
+ * @override
7575
+ */
7576
+ proto.clarifai.api.AutoAnnotationRequest.displayName = 'proto.clarifai.api.AutoAnnotationRequest';
7577
+ }
7510
7578
  /**
7511
7579
  * Generated by JsPbCodeGenerator.
7512
7580
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8851,6 +8919,48 @@ if (goog.DEBUG && !COMPILED) {
8851
8919
  */
8852
8920
  proto.clarifai.api.MultiPipelineVersionRunResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunResponse';
8853
8921
  }
8922
+ /**
8923
+ * Generated by JsPbCodeGenerator.
8924
+ * @param {Array=} opt_data Optional initial data array, typically from a
8925
+ * server response, or constructed directly in Javascript. The array is used
8926
+ * in place and becomes part of the constructed object. It is not cloned.
8927
+ * If no data is provided, the constructed object will be empty, but still
8928
+ * valid.
8929
+ * @extends {jspb.Message}
8930
+ * @constructor
8931
+ */
8932
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest = function(opt_data) {
8933
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_, null);
8934
+ };
8935
+ goog.inherits(proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest, jspb.Message);
8936
+ if (goog.DEBUG && !COMPILED) {
8937
+ /**
8938
+ * @public
8939
+ * @override
8940
+ */
8941
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.displayName = 'proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest';
8942
+ }
8943
+ /**
8944
+ * Generated by JsPbCodeGenerator.
8945
+ * @param {Array=} opt_data Optional initial data array, typically from a
8946
+ * server response, or constructed directly in Javascript. The array is used
8947
+ * in place and becomes part of the constructed object. It is not cloned.
8948
+ * If no data is provided, the constructed object will be empty, but still
8949
+ * valid.
8950
+ * @extends {jspb.Message}
8951
+ * @constructor
8952
+ */
8953
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse = function(opt_data) {
8954
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_, null);
8955
+ };
8956
+ goog.inherits(proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse, jspb.Message);
8957
+ if (goog.DEBUG && !COMPILED) {
8958
+ /**
8959
+ * @public
8960
+ * @override
8961
+ */
8962
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse';
8963
+ }
8854
8964
  /**
8855
8965
  * Generated by JsPbCodeGenerator.
8856
8966
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11060,6 +11170,13 @@ proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasWorker = fun
11060
11170
 
11061
11171
 
11062
11172
 
11173
+ /**
11174
+ * List of repeated fields within this message type.
11175
+ * @private {!Array<number>}
11176
+ * @const
11177
+ */
11178
+ proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_ = [3];
11179
+
11063
11180
 
11064
11181
 
11065
11182
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -11075,8 +11192,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
11075
11192
  * http://goto/soy-param-migration
11076
11193
  * @return {!Object}
11077
11194
  */
11078
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.toObject = function(opt_includeInstance) {
11079
- return proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject(opt_includeInstance, this);
11195
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
11196
+ return proto.clarifai.api.StreamAnnotationsRequest.toObject(opt_includeInstance, this);
11080
11197
  };
11081
11198
 
11082
11199
 
@@ -11085,15 +11202,15 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.toObject = fu
11085
11202
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11086
11203
  * the JSPB instance for transitional soy proto support:
11087
11204
  * http://goto/soy-param-migration
11088
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} msg The msg instance to transform.
11205
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The msg instance to transform.
11089
11206
  * @return {!Object}
11090
11207
  * @suppress {unusedLocalVariables} f is only used for nested messages
11091
11208
  */
11092
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject = function(includeInstance, msg) {
11209
+ proto.clarifai.api.StreamAnnotationsRequest.toObject = function(includeInstance, msg) {
11093
11210
  var f, obj = {
11094
11211
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11095
11212
  inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11096
- trackId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11213
+ trackIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
11097
11214
  frameNumberStart: jspb.Message.getFieldWithDefault(msg, 4, 0),
11098
11215
  frameTimeStart: jspb.Message.getFieldWithDefault(msg, 5, 0),
11099
11216
  annotationType: jspb.Message.getFieldWithDefault(msg, 6, 0),
@@ -11113,23 +11230,23 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject = function(inc
11113
11230
  /**
11114
11231
  * Deserializes binary data (in protobuf wire format).
11115
11232
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
11116
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest}
11233
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest}
11117
11234
  */
11118
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinary = function(bytes) {
11235
+ proto.clarifai.api.StreamAnnotationsRequest.deserializeBinary = function(bytes) {
11119
11236
  var reader = new jspb.BinaryReader(bytes);
11120
- var msg = new proto.clarifai.api.StreamTrackAnnotationsSearchesRequest;
11121
- return proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromReader(msg, reader);
11237
+ var msg = new proto.clarifai.api.StreamAnnotationsRequest;
11238
+ return proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
11122
11239
  };
11123
11240
 
11124
11241
 
11125
11242
  /**
11126
11243
  * Deserializes binary data (in protobuf wire format) from the
11127
11244
  * given reader into the given message object.
11128
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} msg The message object to deserialize into.
11245
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The message object to deserialize into.
11129
11246
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11130
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest}
11247
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest}
11131
11248
  */
11132
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromReader = function(msg, reader) {
11249
+ proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
11133
11250
  while (reader.nextField()) {
11134
11251
  if (reader.isEndGroup()) {
11135
11252
  break;
@@ -11147,7 +11264,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
11147
11264
  break;
11148
11265
  case 3:
11149
11266
  var value = /** @type {string} */ (reader.readString());
11150
- msg.setTrackId(value);
11267
+ msg.addTrackIds(value);
11151
11268
  break;
11152
11269
  case 4:
11153
11270
  var value = /** @type {number} */ (reader.readUint32());
@@ -11187,9 +11304,9 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
11187
11304
  * Serializes the message to binary data (in protobuf wire format).
11188
11305
  * @return {!Uint8Array}
11189
11306
  */
11190
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.serializeBinary = function() {
11307
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.serializeBinary = function() {
11191
11308
  var writer = new jspb.BinaryWriter();
11192
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter(this, writer);
11309
+ proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
11193
11310
  return writer.getResultBuffer();
11194
11311
  };
11195
11312
 
@@ -11197,11 +11314,11 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.serializeBina
11197
11314
  /**
11198
11315
  * Serializes the given message to binary data (in protobuf wire
11199
11316
  * format), writing to the given BinaryWriter.
11200
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} message
11317
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} message
11201
11318
  * @param {!jspb.BinaryWriter} writer
11202
11319
  * @suppress {unusedLocalVariables} f is only used for nested messages
11203
11320
  */
11204
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter = function(message, writer) {
11321
+ proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
11205
11322
  var f = undefined;
11206
11323
  f = message.getUserAppId();
11207
11324
  if (f != null) {
@@ -11218,9 +11335,9 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
11218
11335
  f
11219
11336
  );
11220
11337
  }
11221
- f = message.getTrackId();
11338
+ f = message.getTrackIdsList();
11222
11339
  if (f.length > 0) {
11223
- writer.writeString(
11340
+ writer.writeRepeatedString(
11224
11341
  3,
11225
11342
  f
11226
11343
  );
@@ -11275,7 +11392,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
11275
11392
  * optional UserAppIDSet user_app_id = 1;
11276
11393
  * @return {?proto.clarifai.api.UserAppIDSet}
11277
11394
  */
11278
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getUserAppId = function() {
11395
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getUserAppId = function() {
11279
11396
  return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
11280
11397
  jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
11281
11398
  };
@@ -11283,18 +11400,18 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getUserAppId
11283
11400
 
11284
11401
  /**
11285
11402
  * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
11286
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11403
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11287
11404
  */
11288
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setUserAppId = function(value) {
11405
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setUserAppId = function(value) {
11289
11406
  return jspb.Message.setWrapperField(this, 1, value);
11290
11407
  };
11291
11408
 
11292
11409
 
11293
11410
  /**
11294
11411
  * Clears the message field making it undefined.
11295
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11412
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11296
11413
  */
11297
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearUserAppId = function() {
11414
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearUserAppId = function() {
11298
11415
  return this.setUserAppId(undefined);
11299
11416
  };
11300
11417
 
@@ -11303,7 +11420,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearUserAppI
11303
11420
  * Returns whether this field is set.
11304
11421
  * @return {boolean}
11305
11422
  */
11306
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasUserAppId = function() {
11423
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasUserAppId = function() {
11307
11424
  return jspb.Message.getField(this, 1) != null;
11308
11425
  };
11309
11426
 
@@ -11312,35 +11429,54 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasUserAppId
11312
11429
  * optional string input_id = 2;
11313
11430
  * @return {string}
11314
11431
  */
11315
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getInputId = function() {
11432
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getInputId = function() {
11316
11433
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11317
11434
  };
11318
11435
 
11319
11436
 
11320
11437
  /**
11321
11438
  * @param {string} value
11322
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11439
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11323
11440
  */
11324
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setInputId = function(value) {
11441
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setInputId = function(value) {
11325
11442
  return jspb.Message.setProto3StringField(this, 2, value);
11326
11443
  };
11327
11444
 
11328
11445
 
11329
11446
  /**
11330
- * optional string track_id = 3;
11331
- * @return {string}
11447
+ * repeated string track_ids = 3;
11448
+ * @return {!Array<string>}
11332
11449
  */
11333
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getTrackId = function() {
11334
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11450
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11451
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
11452
+ };
11453
+
11454
+
11455
+ /**
11456
+ * @param {!Array<string>} value
11457
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11458
+ */
11459
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11460
+ return jspb.Message.setField(this, 3, value || []);
11335
11461
  };
11336
11462
 
11337
11463
 
11338
11464
  /**
11339
11465
  * @param {string} value
11340
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11466
+ * @param {number=} opt_index
11467
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11341
11468
  */
11342
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setTrackId = function(value) {
11343
- return jspb.Message.setProto3StringField(this, 3, value);
11469
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11470
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
11471
+ };
11472
+
11473
+
11474
+ /**
11475
+ * Clears the list making it empty but non-null.
11476
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11477
+ */
11478
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11479
+ return this.setTrackIdsList([]);
11344
11480
  };
11345
11481
 
11346
11482
 
@@ -11348,16 +11484,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setTrackId =
11348
11484
  * optional uint32 frame_number_start = 4;
11349
11485
  * @return {number}
11350
11486
  */
11351
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getFrameNumberStart = function() {
11487
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameNumberStart = function() {
11352
11488
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
11353
11489
  };
11354
11490
 
11355
11491
 
11356
11492
  /**
11357
11493
  * @param {number} value
11358
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11494
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11359
11495
  */
11360
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameNumberStart = function(value) {
11496
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameNumberStart = function(value) {
11361
11497
  return jspb.Message.setProto3IntField(this, 4, value);
11362
11498
  };
11363
11499
 
@@ -11366,16 +11502,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameNumbe
11366
11502
  * optional uint32 frame_time_start = 5;
11367
11503
  * @return {number}
11368
11504
  */
11369
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getFrameTimeStart = function() {
11505
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameTimeStart = function() {
11370
11506
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11371
11507
  };
11372
11508
 
11373
11509
 
11374
11510
  /**
11375
11511
  * @param {number} value
11376
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11512
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11377
11513
  */
11378
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameTimeStart = function(value) {
11514
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameTimeStart = function(value) {
11379
11515
  return jspb.Message.setProto3IntField(this, 5, value);
11380
11516
  };
11381
11517
 
@@ -11384,16 +11520,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameTimeS
11384
11520
  * optional AnnotationDataType annotation_type = 6;
11385
11521
  * @return {!proto.clarifai.api.AnnotationDataType}
11386
11522
  */
11387
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getAnnotationType = function() {
11523
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getAnnotationType = function() {
11388
11524
  return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
11389
11525
  };
11390
11526
 
11391
11527
 
11392
11528
  /**
11393
11529
  * @param {!proto.clarifai.api.AnnotationDataType} value
11394
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11530
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11395
11531
  */
11396
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setAnnotationType = function(value) {
11532
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11397
11533
  return jspb.Message.setProto3EnumField(this, 6, value);
11398
11534
  };
11399
11535
 
@@ -11402,16 +11538,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setAnnotation
11402
11538
  * optional uint32 max_frames = 7;
11403
11539
  * @return {number}
11404
11540
  */
11405
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getMaxFrames = function() {
11541
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxFrames = function() {
11406
11542
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
11407
11543
  };
11408
11544
 
11409
11545
 
11410
11546
  /**
11411
11547
  * @param {number} value
11412
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11548
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11413
11549
  */
11414
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxFrames = function(value) {
11550
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxFrames = function(value) {
11415
11551
  return jspb.Message.setProto3IntField(this, 7, value);
11416
11552
  };
11417
11553
 
@@ -11420,16 +11556,16 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxFrames
11420
11556
  * optional uint32 max_duration = 8;
11421
11557
  * @return {number}
11422
11558
  */
11423
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getMaxDuration = function() {
11559
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxDuration = function() {
11424
11560
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
11425
11561
  };
11426
11562
 
11427
11563
 
11428
11564
  /**
11429
11565
  * @param {number} value
11430
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11566
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11431
11567
  */
11432
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxDuration = function(value) {
11568
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxDuration = function(value) {
11433
11569
  return jspb.Message.setProto3IntField(this, 8, value);
11434
11570
  };
11435
11571
 
@@ -11438,7 +11574,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxDuratio
11438
11574
  * optional Worker worker = 9;
11439
11575
  * @return {?proto.clarifai.api.Worker}
11440
11576
  */
11441
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getWorker = function() {
11577
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getWorker = function() {
11442
11578
  return /** @type{?proto.clarifai.api.Worker} */ (
11443
11579
  jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Worker, 9));
11444
11580
  };
@@ -11446,18 +11582,18 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getWorker = f
11446
11582
 
11447
11583
  /**
11448
11584
  * @param {?proto.clarifai.api.Worker|undefined} value
11449
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11585
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11450
11586
  */
11451
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setWorker = function(value) {
11587
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setWorker = function(value) {
11452
11588
  return jspb.Message.setWrapperField(this, 9, value);
11453
11589
  };
11454
11590
 
11455
11591
 
11456
11592
  /**
11457
11593
  * Clears the message field making it undefined.
11458
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11594
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11459
11595
  */
11460
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearWorker = function() {
11596
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearWorker = function() {
11461
11597
  return this.setWorker(undefined);
11462
11598
  };
11463
11599
 
@@ -11466,12 +11602,309 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearWorker =
11466
11602
  * Returns whether this field is set.
11467
11603
  * @return {boolean}
11468
11604
  */
11469
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasWorker = function() {
11605
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function() {
11470
11606
  return jspb.Message.getField(this, 9) != null;
11471
11607
  };
11472
11608
 
11473
11609
 
11474
11610
 
11611
+ /**
11612
+ * List of repeated fields within this message type.
11613
+ * @private {!Array<number>}
11614
+ * @const
11615
+ */
11616
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
11617
+
11618
+
11619
+
11620
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11621
+ /**
11622
+ * Creates an object representation of this proto.
11623
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11624
+ * Optional fields that are not set will be set to undefined.
11625
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11626
+ * For the list of reserved names please see:
11627
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11628
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11629
+ * JSPB instance for transitional soy proto support:
11630
+ * http://goto/soy-param-migration
11631
+ * @return {!Object}
11632
+ */
11633
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
11634
+ return proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject(opt_includeInstance, this);
11635
+ };
11636
+
11637
+
11638
+ /**
11639
+ * Static version of the {@see toObject} method.
11640
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11641
+ * the JSPB instance for transitional soy proto support:
11642
+ * http://goto/soy-param-migration
11643
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The msg instance to transform.
11644
+ * @return {!Object}
11645
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11646
+ */
11647
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function(includeInstance, msg) {
11648
+ var f, obj = {
11649
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11650
+ inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11651
+ taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11652
+ trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
11653
+ annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
11654
+ };
11655
+
11656
+ if (includeInstance) {
11657
+ obj.$jspbMessageInstance = msg;
11658
+ }
11659
+ return obj;
11660
+ };
11661
+ }
11662
+
11663
+
11664
+ /**
11665
+ * Deserializes binary data (in protobuf wire format).
11666
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11667
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
11668
+ */
11669
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinary = function(bytes) {
11670
+ var reader = new jspb.BinaryReader(bytes);
11671
+ var msg = new proto.clarifai.api.StreamLivestreamAnnotationsRequest;
11672
+ return proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
11673
+ };
11674
+
11675
+
11676
+ /**
11677
+ * Deserializes binary data (in protobuf wire format) from the
11678
+ * given reader into the given message object.
11679
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The message object to deserialize into.
11680
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11681
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
11682
+ */
11683
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
11684
+ while (reader.nextField()) {
11685
+ if (reader.isEndGroup()) {
11686
+ break;
11687
+ }
11688
+ var field = reader.getFieldNumber();
11689
+ switch (field) {
11690
+ case 1:
11691
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
11692
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
11693
+ msg.setUserAppId(value);
11694
+ break;
11695
+ case 2:
11696
+ var value = /** @type {string} */ (reader.readString());
11697
+ msg.setInputId(value);
11698
+ break;
11699
+ case 3:
11700
+ var value = /** @type {string} */ (reader.readString());
11701
+ msg.setTaskId(value);
11702
+ break;
11703
+ case 4:
11704
+ var value = /** @type {string} */ (reader.readString());
11705
+ msg.addTrackIds(value);
11706
+ break;
11707
+ case 5:
11708
+ var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
11709
+ msg.setAnnotationType(value);
11710
+ break;
11711
+ default:
11712
+ reader.skipField();
11713
+ break;
11714
+ }
11715
+ }
11716
+ return msg;
11717
+ };
11718
+
11719
+
11720
+ /**
11721
+ * Serializes the message to binary data (in protobuf wire format).
11722
+ * @return {!Uint8Array}
11723
+ */
11724
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.serializeBinary = function() {
11725
+ var writer = new jspb.BinaryWriter();
11726
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
11727
+ return writer.getResultBuffer();
11728
+ };
11729
+
11730
+
11731
+ /**
11732
+ * Serializes the given message to binary data (in protobuf wire
11733
+ * format), writing to the given BinaryWriter.
11734
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} message
11735
+ * @param {!jspb.BinaryWriter} writer
11736
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11737
+ */
11738
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
11739
+ var f = undefined;
11740
+ f = message.getUserAppId();
11741
+ if (f != null) {
11742
+ writer.writeMessage(
11743
+ 1,
11744
+ f,
11745
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
11746
+ );
11747
+ }
11748
+ f = message.getInputId();
11749
+ if (f.length > 0) {
11750
+ writer.writeString(
11751
+ 2,
11752
+ f
11753
+ );
11754
+ }
11755
+ f = message.getTaskId();
11756
+ if (f.length > 0) {
11757
+ writer.writeString(
11758
+ 3,
11759
+ f
11760
+ );
11761
+ }
11762
+ f = message.getTrackIdsList();
11763
+ if (f.length > 0) {
11764
+ writer.writeRepeatedString(
11765
+ 4,
11766
+ f
11767
+ );
11768
+ }
11769
+ f = message.getAnnotationType();
11770
+ if (f !== 0.0) {
11771
+ writer.writeEnum(
11772
+ 5,
11773
+ f
11774
+ );
11775
+ }
11776
+ };
11777
+
11778
+
11779
+ /**
11780
+ * optional UserAppIDSet user_app_id = 1;
11781
+ * @return {?proto.clarifai.api.UserAppIDSet}
11782
+ */
11783
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getUserAppId = function() {
11784
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
11785
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
11786
+ };
11787
+
11788
+
11789
+ /**
11790
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
11791
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11792
+ */
11793
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setUserAppId = function(value) {
11794
+ return jspb.Message.setWrapperField(this, 1, value);
11795
+ };
11796
+
11797
+
11798
+ /**
11799
+ * Clears the message field making it undefined.
11800
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11801
+ */
11802
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearUserAppId = function() {
11803
+ return this.setUserAppId(undefined);
11804
+ };
11805
+
11806
+
11807
+ /**
11808
+ * Returns whether this field is set.
11809
+ * @return {boolean}
11810
+ */
11811
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.hasUserAppId = function() {
11812
+ return jspb.Message.getField(this, 1) != null;
11813
+ };
11814
+
11815
+
11816
+ /**
11817
+ * optional string input_id = 2;
11818
+ * @return {string}
11819
+ */
11820
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getInputId = function() {
11821
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11822
+ };
11823
+
11824
+
11825
+ /**
11826
+ * @param {string} value
11827
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11828
+ */
11829
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = function(value) {
11830
+ return jspb.Message.setProto3StringField(this, 2, value);
11831
+ };
11832
+
11833
+
11834
+ /**
11835
+ * optional string task_id = 3;
11836
+ * @return {string}
11837
+ */
11838
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function() {
11839
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11840
+ };
11841
+
11842
+
11843
+ /**
11844
+ * @param {string} value
11845
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11846
+ */
11847
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function(value) {
11848
+ return jspb.Message.setProto3StringField(this, 3, value);
11849
+ };
11850
+
11851
+
11852
+ /**
11853
+ * repeated string track_ids = 4;
11854
+ * @return {!Array<string>}
11855
+ */
11856
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11857
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
11858
+ };
11859
+
11860
+
11861
+ /**
11862
+ * @param {!Array<string>} value
11863
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11864
+ */
11865
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11866
+ return jspb.Message.setField(this, 4, value || []);
11867
+ };
11868
+
11869
+
11870
+ /**
11871
+ * @param {string} value
11872
+ * @param {number=} opt_index
11873
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11874
+ */
11875
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11876
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11877
+ };
11878
+
11879
+
11880
+ /**
11881
+ * Clears the list making it empty but non-null.
11882
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11883
+ */
11884
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11885
+ return this.setTrackIdsList([]);
11886
+ };
11887
+
11888
+
11889
+ /**
11890
+ * optional AnnotationDataType annotation_type = 5;
11891
+ * @return {!proto.clarifai.api.AnnotationDataType}
11892
+ */
11893
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function() {
11894
+ return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11895
+ };
11896
+
11897
+
11898
+ /**
11899
+ * @param {!proto.clarifai.api.AnnotationDataType} value
11900
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11901
+ */
11902
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11903
+ return jspb.Message.setProto3EnumField(this, 5, value);
11904
+ };
11905
+
11906
+
11907
+
11475
11908
  /**
11476
11909
  * List of repeated fields within this message type.
11477
11910
  * @private {!Array<number>}
@@ -14465,6 +14898,238 @@ proto.clarifai.api.SingleAnnotationResponse.prototype.hasAnnotation = function()
14465
14898
 
14466
14899
 
14467
14900
 
14901
+
14902
+
14903
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14904
+ /**
14905
+ * Creates an object representation of this proto.
14906
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14907
+ * Optional fields that are not set will be set to undefined.
14908
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14909
+ * For the list of reserved names please see:
14910
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14911
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14912
+ * JSPB instance for transitional soy proto support:
14913
+ * http://goto/soy-param-migration
14914
+ * @return {!Object}
14915
+ */
14916
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.toObject = function(opt_includeInstance) {
14917
+ return proto.clarifai.api.SingleStreamAnnotationResponse.toObject(opt_includeInstance, this);
14918
+ };
14919
+
14920
+
14921
+ /**
14922
+ * Static version of the {@see toObject} method.
14923
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14924
+ * the JSPB instance for transitional soy proto support:
14925
+ * http://goto/soy-param-migration
14926
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The msg instance to transform.
14927
+ * @return {!Object}
14928
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14929
+ */
14930
+ proto.clarifai.api.SingleStreamAnnotationResponse.toObject = function(includeInstance, msg) {
14931
+ var f, obj = {
14932
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
14933
+ annotation: (f = msg.getAnnotation()) && proto_clarifai_api_resources_pb.Annotation.toObject(includeInstance, f),
14934
+ frameFullyProcessed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
14935
+ };
14936
+
14937
+ if (includeInstance) {
14938
+ obj.$jspbMessageInstance = msg;
14939
+ }
14940
+ return obj;
14941
+ };
14942
+ }
14943
+
14944
+
14945
+ /**
14946
+ * Deserializes binary data (in protobuf wire format).
14947
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14948
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
14949
+ */
14950
+ proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinary = function(bytes) {
14951
+ var reader = new jspb.BinaryReader(bytes);
14952
+ var msg = new proto.clarifai.api.SingleStreamAnnotationResponse;
14953
+ return proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader(msg, reader);
14954
+ };
14955
+
14956
+
14957
+ /**
14958
+ * Deserializes binary data (in protobuf wire format) from the
14959
+ * given reader into the given message object.
14960
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The message object to deserialize into.
14961
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14962
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
14963
+ */
14964
+ proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader = function(msg, reader) {
14965
+ while (reader.nextField()) {
14966
+ if (reader.isEndGroup()) {
14967
+ break;
14968
+ }
14969
+ var field = reader.getFieldNumber();
14970
+ switch (field) {
14971
+ case 1:
14972
+ var value = new proto_clarifai_api_status_status_pb.Status;
14973
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
14974
+ msg.setStatus(value);
14975
+ break;
14976
+ case 2:
14977
+ var value = new proto_clarifai_api_resources_pb.Annotation;
14978
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Annotation.deserializeBinaryFromReader);
14979
+ msg.setAnnotation(value);
14980
+ break;
14981
+ case 3:
14982
+ var value = /** @type {boolean} */ (reader.readBool());
14983
+ msg.setFrameFullyProcessed(value);
14984
+ break;
14985
+ default:
14986
+ reader.skipField();
14987
+ break;
14988
+ }
14989
+ }
14990
+ return msg;
14991
+ };
14992
+
14993
+
14994
+ /**
14995
+ * Serializes the message to binary data (in protobuf wire format).
14996
+ * @return {!Uint8Array}
14997
+ */
14998
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.serializeBinary = function() {
14999
+ var writer = new jspb.BinaryWriter();
15000
+ proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter(this, writer);
15001
+ return writer.getResultBuffer();
15002
+ };
15003
+
15004
+
15005
+ /**
15006
+ * Serializes the given message to binary data (in protobuf wire
15007
+ * format), writing to the given BinaryWriter.
15008
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} message
15009
+ * @param {!jspb.BinaryWriter} writer
15010
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15011
+ */
15012
+ proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter = function(message, writer) {
15013
+ var f = undefined;
15014
+ f = message.getStatus();
15015
+ if (f != null) {
15016
+ writer.writeMessage(
15017
+ 1,
15018
+ f,
15019
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
15020
+ );
15021
+ }
15022
+ f = message.getAnnotation();
15023
+ if (f != null) {
15024
+ writer.writeMessage(
15025
+ 2,
15026
+ f,
15027
+ proto_clarifai_api_resources_pb.Annotation.serializeBinaryToWriter
15028
+ );
15029
+ }
15030
+ f = message.getFrameFullyProcessed();
15031
+ if (f) {
15032
+ writer.writeBool(
15033
+ 3,
15034
+ f
15035
+ );
15036
+ }
15037
+ };
15038
+
15039
+
15040
+ /**
15041
+ * optional status.Status status = 1;
15042
+ * @return {?proto.clarifai.api.status.Status}
15043
+ */
15044
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getStatus = function() {
15045
+ return /** @type{?proto.clarifai.api.status.Status} */ (
15046
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
15047
+ };
15048
+
15049
+
15050
+ /**
15051
+ * @param {?proto.clarifai.api.status.Status|undefined} value
15052
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15053
+ */
15054
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setStatus = function(value) {
15055
+ return jspb.Message.setWrapperField(this, 1, value);
15056
+ };
15057
+
15058
+
15059
+ /**
15060
+ * Clears the message field making it undefined.
15061
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15062
+ */
15063
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearStatus = function() {
15064
+ return this.setStatus(undefined);
15065
+ };
15066
+
15067
+
15068
+ /**
15069
+ * Returns whether this field is set.
15070
+ * @return {boolean}
15071
+ */
15072
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasStatus = function() {
15073
+ return jspb.Message.getField(this, 1) != null;
15074
+ };
15075
+
15076
+
15077
+ /**
15078
+ * optional Annotation annotation = 2;
15079
+ * @return {?proto.clarifai.api.Annotation}
15080
+ */
15081
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getAnnotation = function() {
15082
+ return /** @type{?proto.clarifai.api.Annotation} */ (
15083
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Annotation, 2));
15084
+ };
15085
+
15086
+
15087
+ /**
15088
+ * @param {?proto.clarifai.api.Annotation|undefined} value
15089
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15090
+ */
15091
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setAnnotation = function(value) {
15092
+ return jspb.Message.setWrapperField(this, 2, value);
15093
+ };
15094
+
15095
+
15096
+ /**
15097
+ * Clears the message field making it undefined.
15098
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15099
+ */
15100
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearAnnotation = function() {
15101
+ return this.setAnnotation(undefined);
15102
+ };
15103
+
15104
+
15105
+ /**
15106
+ * Returns whether this field is set.
15107
+ * @return {boolean}
15108
+ */
15109
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasAnnotation = function() {
15110
+ return jspb.Message.getField(this, 2) != null;
15111
+ };
15112
+
15113
+
15114
+ /**
15115
+ * optional bool frame_fully_processed = 3;
15116
+ * @return {boolean}
15117
+ */
15118
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getFrameFullyProcessed = function() {
15119
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
15120
+ };
15121
+
15122
+
15123
+ /**
15124
+ * @param {boolean} value
15125
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
15126
+ */
15127
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setFrameFullyProcessed = function(value) {
15128
+ return jspb.Message.setProto3BooleanField(this, 3, value);
15129
+ };
15130
+
15131
+
15132
+
14468
15133
  /**
14469
15134
  * List of repeated fields within this message type.
14470
15135
  * @private {!Array<number>}
@@ -41540,7 +42205,8 @@ proto.clarifai.api.GetResourceCountsResponse.toObject = function(includeInstance
41540
42205
  models: jspb.Message.getFieldWithDefault(msg, 3, 0),
41541
42206
  workflows: jspb.Message.getFieldWithDefault(msg, 4, 0),
41542
42207
  modules: jspb.Message.getFieldWithDefault(msg, 5, 0),
41543
- inputs: jspb.Message.getFieldWithDefault(msg, 6, 0)
42208
+ inputs: jspb.Message.getFieldWithDefault(msg, 6, 0),
42209
+ pipelines: jspb.Message.getFieldWithDefault(msg, 7, 0)
41544
42210
  };
41545
42211
 
41546
42212
  if (includeInstance) {
@@ -41602,6 +42268,10 @@ proto.clarifai.api.GetResourceCountsResponse.deserializeBinaryFromReader = funct
41602
42268
  var value = /** @type {number} */ (reader.readInt64());
41603
42269
  msg.setInputs(value);
41604
42270
  break;
42271
+ case 7:
42272
+ var value = /** @type {number} */ (reader.readInt64());
42273
+ msg.setPipelines(value);
42274
+ break;
41605
42275
  default:
41606
42276
  reader.skipField();
41607
42277
  break;
@@ -41674,6 +42344,13 @@ proto.clarifai.api.GetResourceCountsResponse.serializeBinaryToWriter = function(
41674
42344
  f
41675
42345
  );
41676
42346
  }
42347
+ f = message.getPipelines();
42348
+ if (f !== 0) {
42349
+ writer.writeInt64(
42350
+ 7,
42351
+ f
42352
+ );
42353
+ }
41677
42354
  };
41678
42355
 
41679
42356
 
@@ -41804,6 +42481,24 @@ proto.clarifai.api.GetResourceCountsResponse.prototype.setInputs = function(valu
41804
42481
  };
41805
42482
 
41806
42483
 
42484
+ /**
42485
+ * optional int64 pipelines = 7;
42486
+ * @return {number}
42487
+ */
42488
+ proto.clarifai.api.GetResourceCountsResponse.prototype.getPipelines = function() {
42489
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
42490
+ };
42491
+
42492
+
42493
+ /**
42494
+ * @param {number} value
42495
+ * @return {!proto.clarifai.api.GetResourceCountsResponse} returns this
42496
+ */
42497
+ proto.clarifai.api.GetResourceCountsResponse.prototype.setPipelines = function(value) {
42498
+ return jspb.Message.setProto3IntField(this, 7, value);
42499
+ };
42500
+
42501
+
41807
42502
 
41808
42503
  /**
41809
42504
  * List of repeated fields within this message type.
@@ -91979,7 +92674,7 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
91979
92674
  * @private {!Array<!Array<number>>}
91980
92675
  * @const
91981
92676
  */
91982
- proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5]];
92677
+ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5,6]];
91983
92678
 
91984
92679
  /**
91985
92680
  * @enum {number}
@@ -91987,7 +92682,8 @@ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5]];
91987
92682
  proto.clarifai.api.RunnerItem.RequestCase = {
91988
92683
  REQUEST_NOT_SET: 0,
91989
92684
  POST_MODEL_OUTPUTS_REQUEST: 4,
91990
- SYNC_STATE_REQUEST: 5
92685
+ SYNC_STATE_REQUEST: 5,
92686
+ AUTO_ANNOTATION_REQUEST: 6
91991
92687
  };
91992
92688
 
91993
92689
  /**
@@ -92032,7 +92728,8 @@ proto.clarifai.api.RunnerItem.toObject = function(includeInstance, msg) {
92032
92728
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
92033
92729
  processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
92034
92730
  postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
92035
- syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
92731
+ syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f),
92732
+ autoAnnotationRequest: (f = msg.getAutoAnnotationRequest()) && proto.clarifai.api.AutoAnnotationRequest.toObject(includeInstance, f)
92036
92733
  };
92037
92734
 
92038
92735
  if (includeInstance) {
@@ -92092,6 +92789,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function(msg, reader
92092
92789
  reader.readMessage(value,proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
92093
92790
  msg.setSyncStateRequest(value);
92094
92791
  break;
92792
+ case 6:
92793
+ var value = new proto.clarifai.api.AutoAnnotationRequest;
92794
+ reader.readMessage(value,proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader);
92795
+ msg.setAutoAnnotationRequest(value);
92796
+ break;
92095
92797
  default:
92096
92798
  reader.skipField();
92097
92799
  break;
@@ -92159,6 +92861,14 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function(message, writer
92159
92861
  proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter
92160
92862
  );
92161
92863
  }
92864
+ f = message.getAutoAnnotationRequest();
92865
+ if (f != null) {
92866
+ writer.writeMessage(
92867
+ 6,
92868
+ f,
92869
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter
92870
+ );
92871
+ }
92162
92872
  };
92163
92873
 
92164
92874
 
@@ -92309,6 +93019,275 @@ proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function() {
92309
93019
  };
92310
93020
 
92311
93021
 
93022
+ /**
93023
+ * optional AutoAnnotationRequest auto_annotation_request = 6;
93024
+ * @return {?proto.clarifai.api.AutoAnnotationRequest}
93025
+ */
93026
+ proto.clarifai.api.RunnerItem.prototype.getAutoAnnotationRequest = function() {
93027
+ return /** @type{?proto.clarifai.api.AutoAnnotationRequest} */ (
93028
+ jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest, 6));
93029
+ };
93030
+
93031
+
93032
+ /**
93033
+ * @param {?proto.clarifai.api.AutoAnnotationRequest|undefined} value
93034
+ * @return {!proto.clarifai.api.RunnerItem} returns this
93035
+ */
93036
+ proto.clarifai.api.RunnerItem.prototype.setAutoAnnotationRequest = function(value) {
93037
+ return jspb.Message.setOneofWrapperField(this, 6, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
93038
+ };
93039
+
93040
+
93041
+ /**
93042
+ * Clears the message field making it undefined.
93043
+ * @return {!proto.clarifai.api.RunnerItem} returns this
93044
+ */
93045
+ proto.clarifai.api.RunnerItem.prototype.clearAutoAnnotationRequest = function() {
93046
+ return this.setAutoAnnotationRequest(undefined);
93047
+ };
93048
+
93049
+
93050
+ /**
93051
+ * Returns whether this field is set.
93052
+ * @return {boolean}
93053
+ */
93054
+ proto.clarifai.api.RunnerItem.prototype.hasAutoAnnotationRequest = function() {
93055
+ return jspb.Message.getField(this, 6) != null;
93056
+ };
93057
+
93058
+
93059
+
93060
+
93061
+
93062
+ if (jspb.Message.GENERATE_TO_OBJECT) {
93063
+ /**
93064
+ * Creates an object representation of this proto.
93065
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
93066
+ * Optional fields that are not set will be set to undefined.
93067
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
93068
+ * For the list of reserved names please see:
93069
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
93070
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
93071
+ * JSPB instance for transitional soy proto support:
93072
+ * http://goto/soy-param-migration
93073
+ * @return {!Object}
93074
+ */
93075
+ proto.clarifai.api.AutoAnnotationRequest.prototype.toObject = function(opt_includeInstance) {
93076
+ return proto.clarifai.api.AutoAnnotationRequest.toObject(opt_includeInstance, this);
93077
+ };
93078
+
93079
+
93080
+ /**
93081
+ * Static version of the {@see toObject} method.
93082
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
93083
+ * the JSPB instance for transitional soy proto support:
93084
+ * http://goto/soy-param-migration
93085
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} msg The msg instance to transform.
93086
+ * @return {!Object}
93087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93088
+ */
93089
+ proto.clarifai.api.AutoAnnotationRequest.toObject = function(includeInstance, msg) {
93090
+ var f, obj = {
93091
+ postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
93092
+ task: (f = msg.getTask()) && proto_clarifai_api_resources_pb.Task.toObject(includeInstance, f),
93093
+ authorizationValue: jspb.Message.getFieldWithDefault(msg, 3, "")
93094
+ };
93095
+
93096
+ if (includeInstance) {
93097
+ obj.$jspbMessageInstance = msg;
93098
+ }
93099
+ return obj;
93100
+ };
93101
+ }
93102
+
93103
+
93104
+ /**
93105
+ * Deserializes binary data (in protobuf wire format).
93106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
93107
+ * @return {!proto.clarifai.api.AutoAnnotationRequest}
93108
+ */
93109
+ proto.clarifai.api.AutoAnnotationRequest.deserializeBinary = function(bytes) {
93110
+ var reader = new jspb.BinaryReader(bytes);
93111
+ var msg = new proto.clarifai.api.AutoAnnotationRequest;
93112
+ return proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader(msg, reader);
93113
+ };
93114
+
93115
+
93116
+ /**
93117
+ * Deserializes binary data (in protobuf wire format) from the
93118
+ * given reader into the given message object.
93119
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} msg The message object to deserialize into.
93120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
93121
+ * @return {!proto.clarifai.api.AutoAnnotationRequest}
93122
+ */
93123
+ proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader = function(msg, reader) {
93124
+ while (reader.nextField()) {
93125
+ if (reader.isEndGroup()) {
93126
+ break;
93127
+ }
93128
+ var field = reader.getFieldNumber();
93129
+ switch (field) {
93130
+ case 1:
93131
+ var value = new proto.clarifai.api.PostModelOutputsRequest;
93132
+ reader.readMessage(value,proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
93133
+ msg.setPostModelOutputsRequest(value);
93134
+ break;
93135
+ case 2:
93136
+ var value = new proto_clarifai_api_resources_pb.Task;
93137
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Task.deserializeBinaryFromReader);
93138
+ msg.setTask(value);
93139
+ break;
93140
+ case 3:
93141
+ var value = /** @type {string} */ (reader.readString());
93142
+ msg.setAuthorizationValue(value);
93143
+ break;
93144
+ default:
93145
+ reader.skipField();
93146
+ break;
93147
+ }
93148
+ }
93149
+ return msg;
93150
+ };
93151
+
93152
+
93153
+ /**
93154
+ * Serializes the message to binary data (in protobuf wire format).
93155
+ * @return {!Uint8Array}
93156
+ */
93157
+ proto.clarifai.api.AutoAnnotationRequest.prototype.serializeBinary = function() {
93158
+ var writer = new jspb.BinaryWriter();
93159
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter(this, writer);
93160
+ return writer.getResultBuffer();
93161
+ };
93162
+
93163
+
93164
+ /**
93165
+ * Serializes the given message to binary data (in protobuf wire
93166
+ * format), writing to the given BinaryWriter.
93167
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} message
93168
+ * @param {!jspb.BinaryWriter} writer
93169
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93170
+ */
93171
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter = function(message, writer) {
93172
+ var f = undefined;
93173
+ f = message.getPostModelOutputsRequest();
93174
+ if (f != null) {
93175
+ writer.writeMessage(
93176
+ 1,
93177
+ f,
93178
+ proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter
93179
+ );
93180
+ }
93181
+ f = message.getTask();
93182
+ if (f != null) {
93183
+ writer.writeMessage(
93184
+ 2,
93185
+ f,
93186
+ proto_clarifai_api_resources_pb.Task.serializeBinaryToWriter
93187
+ );
93188
+ }
93189
+ f = message.getAuthorizationValue();
93190
+ if (f.length > 0) {
93191
+ writer.writeString(
93192
+ 3,
93193
+ f
93194
+ );
93195
+ }
93196
+ };
93197
+
93198
+
93199
+ /**
93200
+ * optional PostModelOutputsRequest post_model_outputs_request = 1;
93201
+ * @return {?proto.clarifai.api.PostModelOutputsRequest}
93202
+ */
93203
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getPostModelOutputsRequest = function() {
93204
+ return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (
93205
+ jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 1));
93206
+ };
93207
+
93208
+
93209
+ /**
93210
+ * @param {?proto.clarifai.api.PostModelOutputsRequest|undefined} value
93211
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93212
+ */
93213
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setPostModelOutputsRequest = function(value) {
93214
+ return jspb.Message.setWrapperField(this, 1, value);
93215
+ };
93216
+
93217
+
93218
+ /**
93219
+ * Clears the message field making it undefined.
93220
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93221
+ */
93222
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostModelOutputsRequest = function() {
93223
+ return this.setPostModelOutputsRequest(undefined);
93224
+ };
93225
+
93226
+
93227
+ /**
93228
+ * Returns whether this field is set.
93229
+ * @return {boolean}
93230
+ */
93231
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostModelOutputsRequest = function() {
93232
+ return jspb.Message.getField(this, 1) != null;
93233
+ };
93234
+
93235
+
93236
+ /**
93237
+ * optional Task task = 2;
93238
+ * @return {?proto.clarifai.api.Task}
93239
+ */
93240
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getTask = function() {
93241
+ return /** @type{?proto.clarifai.api.Task} */ (
93242
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Task, 2));
93243
+ };
93244
+
93245
+
93246
+ /**
93247
+ * @param {?proto.clarifai.api.Task|undefined} value
93248
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93249
+ */
93250
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setTask = function(value) {
93251
+ return jspb.Message.setWrapperField(this, 2, value);
93252
+ };
93253
+
93254
+
93255
+ /**
93256
+ * Clears the message field making it undefined.
93257
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93258
+ */
93259
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearTask = function() {
93260
+ return this.setTask(undefined);
93261
+ };
93262
+
93263
+
93264
+ /**
93265
+ * Returns whether this field is set.
93266
+ * @return {boolean}
93267
+ */
93268
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasTask = function() {
93269
+ return jspb.Message.getField(this, 2) != null;
93270
+ };
93271
+
93272
+
93273
+ /**
93274
+ * optional string authorization_value = 3;
93275
+ * @return {string}
93276
+ */
93277
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getAuthorizationValue = function() {
93278
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
93279
+ };
93280
+
93281
+
93282
+ /**
93283
+ * @param {string} value
93284
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93285
+ */
93286
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setAuthorizationValue = function(value) {
93287
+ return jspb.Message.setProto3StringField(this, 3, value);
93288
+ };
93289
+
93290
+
92312
93291
 
92313
93292
  /**
92314
93293
  * Oneof group definitions for this message. Each group defines the field
@@ -93647,7 +94626,7 @@ proto.clarifai.api.ListCloudRegionsRequest.prototype.hasCloudProvider = function
93647
94626
  * @private {!Array<number>}
93648
94627
  * @const
93649
94628
  */
93650
- proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2];
94629
+ proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2,3];
93651
94630
 
93652
94631
 
93653
94632
 
@@ -93681,7 +94660,9 @@ proto.clarifai.api.MultiCloudRegionResponse.prototype.toObject = function(opt_in
93681
94660
  proto.clarifai.api.MultiCloudRegionResponse.toObject = function(includeInstance, msg) {
93682
94661
  var f, obj = {
93683
94662
  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
94663
+ regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
94664
+ cloudRegionsList: jspb.Message.toObjectList(msg.getCloudRegionsList(),
94665
+ proto_clarifai_api_resources_pb.CloudRegion.toObject, includeInstance)
93685
94666
  };
93686
94667
 
93687
94668
  if (includeInstance) {
@@ -93727,6 +94708,11 @@ proto.clarifai.api.MultiCloudRegionResponse.deserializeBinaryFromReader = functi
93727
94708
  var value = /** @type {string} */ (reader.readString());
93728
94709
  msg.addRegions(value);
93729
94710
  break;
94711
+ case 3:
94712
+ var value = new proto_clarifai_api_resources_pb.CloudRegion;
94713
+ reader.readMessage(value,proto_clarifai_api_resources_pb.CloudRegion.deserializeBinaryFromReader);
94714
+ msg.addCloudRegions(value);
94715
+ break;
93730
94716
  default:
93731
94717
  reader.skipField();
93732
94718
  break;
@@ -93771,6 +94757,14 @@ proto.clarifai.api.MultiCloudRegionResponse.serializeBinaryToWriter = function(m
93771
94757
  f
93772
94758
  );
93773
94759
  }
94760
+ f = message.getCloudRegionsList();
94761
+ if (f.length > 0) {
94762
+ writer.writeRepeatedMessage(
94763
+ 3,
94764
+ f,
94765
+ proto_clarifai_api_resources_pb.CloudRegion.serializeBinaryToWriter
94766
+ );
94767
+ }
93774
94768
  };
93775
94769
 
93776
94770
 
@@ -93848,6 +94842,44 @@ proto.clarifai.api.MultiCloudRegionResponse.prototype.clearRegionsList = functio
93848
94842
  };
93849
94843
 
93850
94844
 
94845
+ /**
94846
+ * repeated CloudRegion cloud_regions = 3;
94847
+ * @return {!Array<!proto.clarifai.api.CloudRegion>}
94848
+ */
94849
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.getCloudRegionsList = function() {
94850
+ return /** @type{!Array<!proto.clarifai.api.CloudRegion>} */ (
94851
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.CloudRegion, 3));
94852
+ };
94853
+
94854
+
94855
+ /**
94856
+ * @param {!Array<!proto.clarifai.api.CloudRegion>} value
94857
+ * @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
94858
+ */
94859
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.setCloudRegionsList = function(value) {
94860
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
94861
+ };
94862
+
94863
+
94864
+ /**
94865
+ * @param {!proto.clarifai.api.CloudRegion=} opt_value
94866
+ * @param {number=} opt_index
94867
+ * @return {!proto.clarifai.api.CloudRegion}
94868
+ */
94869
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.addCloudRegions = function(opt_value, opt_index) {
94870
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.CloudRegion, opt_index);
94871
+ };
94872
+
94873
+
94874
+ /**
94875
+ * Clears the list making it empty but non-null.
94876
+ * @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
94877
+ */
94878
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.clearCloudRegionsList = function() {
94879
+ return this.setCloudRegionsList([]);
94880
+ };
94881
+
94882
+
93851
94883
 
93852
94884
 
93853
94885
 
@@ -106831,6 +107863,576 @@ proto.clarifai.api.MultiPipelineVersionRunResponse.prototype.clearPipelineVersio
106831
107863
 
106832
107864
 
106833
107865
 
107866
+ /**
107867
+ * List of repeated fields within this message type.
107868
+ * @private {!Array<number>}
107869
+ * @const
107870
+ */
107871
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_ = [5];
107872
+
107873
+
107874
+
107875
+ if (jspb.Message.GENERATE_TO_OBJECT) {
107876
+ /**
107877
+ * Creates an object representation of this proto.
107878
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
107879
+ * Optional fields that are not set will be set to undefined.
107880
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
107881
+ * For the list of reserved names please see:
107882
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
107883
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
107884
+ * JSPB instance for transitional soy proto support:
107885
+ * http://goto/soy-param-migration
107886
+ * @return {!Object}
107887
+ */
107888
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.toObject = function(opt_includeInstance) {
107889
+ return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject(opt_includeInstance, this);
107890
+ };
107891
+
107892
+
107893
+ /**
107894
+ * Static version of the {@see toObject} method.
107895
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
107896
+ * the JSPB instance for transitional soy proto support:
107897
+ * http://goto/soy-param-migration
107898
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The msg instance to transform.
107899
+ * @return {!Object}
107900
+ * @suppress {unusedLocalVariables} f is only used for nested messages
107901
+ */
107902
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject = function(includeInstance, msg) {
107903
+ var f, obj = {
107904
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
107905
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 2, ""),
107906
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
107907
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 4, ""),
107908
+ statusCodesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
107909
+ page: jspb.Message.getFieldWithDefault(msg, 6, 0),
107910
+ perPage: jspb.Message.getFieldWithDefault(msg, 7, 0)
107911
+ };
107912
+
107913
+ if (includeInstance) {
107914
+ obj.$jspbMessageInstance = msg;
107915
+ }
107916
+ return obj;
107917
+ };
107918
+ }
107919
+
107920
+
107921
+ /**
107922
+ * Deserializes binary data (in protobuf wire format).
107923
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
107924
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
107925
+ */
107926
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinary = function(bytes) {
107927
+ var reader = new jspb.BinaryReader(bytes);
107928
+ var msg = new proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest;
107929
+ return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader(msg, reader);
107930
+ };
107931
+
107932
+
107933
+ /**
107934
+ * Deserializes binary data (in protobuf wire format) from the
107935
+ * given reader into the given message object.
107936
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The message object to deserialize into.
107937
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
107938
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
107939
+ */
107940
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader = function(msg, reader) {
107941
+ while (reader.nextField()) {
107942
+ if (reader.isEndGroup()) {
107943
+ break;
107944
+ }
107945
+ var field = reader.getFieldNumber();
107946
+ switch (field) {
107947
+ case 1:
107948
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
107949
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
107950
+ msg.setUserAppId(value);
107951
+ break;
107952
+ case 2:
107953
+ var value = /** @type {string} */ (reader.readString());
107954
+ msg.setPipelineId(value);
107955
+ break;
107956
+ case 3:
107957
+ var value = /** @type {string} */ (reader.readString());
107958
+ msg.setPipelineVersionId(value);
107959
+ break;
107960
+ case 4:
107961
+ var value = /** @type {string} */ (reader.readString());
107962
+ msg.setPipelineVersionRunId(value);
107963
+ break;
107964
+ case 5:
107965
+ var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
107966
+ for (var i = 0; i < values.length; i++) {
107967
+ msg.addStatusCodes(values[i]);
107968
+ }
107969
+ break;
107970
+ case 6:
107971
+ var value = /** @type {number} */ (reader.readUint32());
107972
+ msg.setPage(value);
107973
+ break;
107974
+ case 7:
107975
+ var value = /** @type {number} */ (reader.readUint32());
107976
+ msg.setPerPage(value);
107977
+ break;
107978
+ default:
107979
+ reader.skipField();
107980
+ break;
107981
+ }
107982
+ }
107983
+ return msg;
107984
+ };
107985
+
107986
+
107987
+ /**
107988
+ * Serializes the message to binary data (in protobuf wire format).
107989
+ * @return {!Uint8Array}
107990
+ */
107991
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.serializeBinary = function() {
107992
+ var writer = new jspb.BinaryWriter();
107993
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter(this, writer);
107994
+ return writer.getResultBuffer();
107995
+ };
107996
+
107997
+
107998
+ /**
107999
+ * Serializes the given message to binary data (in protobuf wire
108000
+ * format), writing to the given BinaryWriter.
108001
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} message
108002
+ * @param {!jspb.BinaryWriter} writer
108003
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108004
+ */
108005
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter = function(message, writer) {
108006
+ var f = undefined;
108007
+ f = message.getUserAppId();
108008
+ if (f != null) {
108009
+ writer.writeMessage(
108010
+ 1,
108011
+ f,
108012
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
108013
+ );
108014
+ }
108015
+ f = message.getPipelineId();
108016
+ if (f.length > 0) {
108017
+ writer.writeString(
108018
+ 2,
108019
+ f
108020
+ );
108021
+ }
108022
+ f = message.getPipelineVersionId();
108023
+ if (f.length > 0) {
108024
+ writer.writeString(
108025
+ 3,
108026
+ f
108027
+ );
108028
+ }
108029
+ f = message.getPipelineVersionRunId();
108030
+ if (f.length > 0) {
108031
+ writer.writeString(
108032
+ 4,
108033
+ f
108034
+ );
108035
+ }
108036
+ f = message.getStatusCodesList();
108037
+ if (f.length > 0) {
108038
+ writer.writePackedEnum(
108039
+ 5,
108040
+ f
108041
+ );
108042
+ }
108043
+ f = message.getPage();
108044
+ if (f !== 0) {
108045
+ writer.writeUint32(
108046
+ 6,
108047
+ f
108048
+ );
108049
+ }
108050
+ f = message.getPerPage();
108051
+ if (f !== 0) {
108052
+ writer.writeUint32(
108053
+ 7,
108054
+ f
108055
+ );
108056
+ }
108057
+ };
108058
+
108059
+
108060
+ /**
108061
+ * optional UserAppIDSet user_app_id = 1;
108062
+ * @return {?proto.clarifai.api.UserAppIDSet}
108063
+ */
108064
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getUserAppId = function() {
108065
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
108066
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
108067
+ };
108068
+
108069
+
108070
+ /**
108071
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
108072
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108073
+ */
108074
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setUserAppId = function(value) {
108075
+ return jspb.Message.setWrapperField(this, 1, value);
108076
+ };
108077
+
108078
+
108079
+ /**
108080
+ * Clears the message field making it undefined.
108081
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108082
+ */
108083
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearUserAppId = function() {
108084
+ return this.setUserAppId(undefined);
108085
+ };
108086
+
108087
+
108088
+ /**
108089
+ * Returns whether this field is set.
108090
+ * @return {boolean}
108091
+ */
108092
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.hasUserAppId = function() {
108093
+ return jspb.Message.getField(this, 1) != null;
108094
+ };
108095
+
108096
+
108097
+ /**
108098
+ * optional string pipeline_id = 2;
108099
+ * @return {string}
108100
+ */
108101
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineId = function() {
108102
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
108103
+ };
108104
+
108105
+
108106
+ /**
108107
+ * @param {string} value
108108
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108109
+ */
108110
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineId = function(value) {
108111
+ return jspb.Message.setProto3StringField(this, 2, value);
108112
+ };
108113
+
108114
+
108115
+ /**
108116
+ * optional string pipeline_version_id = 3;
108117
+ * @return {string}
108118
+ */
108119
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionId = function() {
108120
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
108121
+ };
108122
+
108123
+
108124
+ /**
108125
+ * @param {string} value
108126
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108127
+ */
108128
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionId = function(value) {
108129
+ return jspb.Message.setProto3StringField(this, 3, value);
108130
+ };
108131
+
108132
+
108133
+ /**
108134
+ * optional string pipeline_version_run_id = 4;
108135
+ * @return {string}
108136
+ */
108137
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionRunId = function() {
108138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
108139
+ };
108140
+
108141
+
108142
+ /**
108143
+ * @param {string} value
108144
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108145
+ */
108146
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionRunId = function(value) {
108147
+ return jspb.Message.setProto3StringField(this, 4, value);
108148
+ };
108149
+
108150
+
108151
+ /**
108152
+ * repeated status.StatusCode status_codes = 5;
108153
+ * @return {!Array<!proto.clarifai.api.status.StatusCode>}
108154
+ */
108155
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getStatusCodesList = function() {
108156
+ return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 5));
108157
+ };
108158
+
108159
+
108160
+ /**
108161
+ * @param {!Array<!proto.clarifai.api.status.StatusCode>} value
108162
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108163
+ */
108164
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setStatusCodesList = function(value) {
108165
+ return jspb.Message.setField(this, 5, value || []);
108166
+ };
108167
+
108168
+
108169
+ /**
108170
+ * @param {!proto.clarifai.api.status.StatusCode} value
108171
+ * @param {number=} opt_index
108172
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108173
+ */
108174
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.addStatusCodes = function(value, opt_index) {
108175
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
108176
+ };
108177
+
108178
+
108179
+ /**
108180
+ * Clears the list making it empty but non-null.
108181
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108182
+ */
108183
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearStatusCodesList = function() {
108184
+ return this.setStatusCodesList([]);
108185
+ };
108186
+
108187
+
108188
+ /**
108189
+ * optional uint32 page = 6;
108190
+ * @return {number}
108191
+ */
108192
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPage = function() {
108193
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
108194
+ };
108195
+
108196
+
108197
+ /**
108198
+ * @param {number} value
108199
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108200
+ */
108201
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPage = function(value) {
108202
+ return jspb.Message.setProto3IntField(this, 6, value);
108203
+ };
108204
+
108205
+
108206
+ /**
108207
+ * optional uint32 per_page = 7;
108208
+ * @return {number}
108209
+ */
108210
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPerPage = function() {
108211
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
108212
+ };
108213
+
108214
+
108215
+ /**
108216
+ * @param {number} value
108217
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
108218
+ */
108219
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPerPage = function(value) {
108220
+ return jspb.Message.setProto3IntField(this, 7, value);
108221
+ };
108222
+
108223
+
108224
+
108225
+ /**
108226
+ * List of repeated fields within this message type.
108227
+ * @private {!Array<number>}
108228
+ * @const
108229
+ */
108230
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_ = [2];
108231
+
108232
+
108233
+
108234
+ if (jspb.Message.GENERATE_TO_OBJECT) {
108235
+ /**
108236
+ * Creates an object representation of this proto.
108237
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
108238
+ * Optional fields that are not set will be set to undefined.
108239
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
108240
+ * For the list of reserved names please see:
108241
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
108242
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
108243
+ * JSPB instance for transitional soy proto support:
108244
+ * http://goto/soy-param-migration
108245
+ * @return {!Object}
108246
+ */
108247
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.toObject = function(opt_includeInstance) {
108248
+ return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject(opt_includeInstance, this);
108249
+ };
108250
+
108251
+
108252
+ /**
108253
+ * Static version of the {@see toObject} method.
108254
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
108255
+ * the JSPB instance for transitional soy proto support:
108256
+ * http://goto/soy-param-migration
108257
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The msg instance to transform.
108258
+ * @return {!Object}
108259
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108260
+ */
108261
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject = function(includeInstance, msg) {
108262
+ var f, obj = {
108263
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
108264
+ pipelineVersionRunStatusLogsList: jspb.Message.toObjectList(msg.getPipelineVersionRunStatusLogsList(),
108265
+ proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.toObject, includeInstance)
108266
+ };
108267
+
108268
+ if (includeInstance) {
108269
+ obj.$jspbMessageInstance = msg;
108270
+ }
108271
+ return obj;
108272
+ };
108273
+ }
108274
+
108275
+
108276
+ /**
108277
+ * Deserializes binary data (in protobuf wire format).
108278
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
108279
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
108280
+ */
108281
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinary = function(bytes) {
108282
+ var reader = new jspb.BinaryReader(bytes);
108283
+ var msg = new proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse;
108284
+ return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader(msg, reader);
108285
+ };
108286
+
108287
+
108288
+ /**
108289
+ * Deserializes binary data (in protobuf wire format) from the
108290
+ * given reader into the given message object.
108291
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The message object to deserialize into.
108292
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
108293
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
108294
+ */
108295
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader = function(msg, reader) {
108296
+ while (reader.nextField()) {
108297
+ if (reader.isEndGroup()) {
108298
+ break;
108299
+ }
108300
+ var field = reader.getFieldNumber();
108301
+ switch (field) {
108302
+ case 1:
108303
+ var value = new proto_clarifai_api_status_status_pb.Status;
108304
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
108305
+ msg.setStatus(value);
108306
+ break;
108307
+ case 2:
108308
+ var value = new proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog;
108309
+ reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.deserializeBinaryFromReader);
108310
+ msg.addPipelineVersionRunStatusLogs(value);
108311
+ break;
108312
+ default:
108313
+ reader.skipField();
108314
+ break;
108315
+ }
108316
+ }
108317
+ return msg;
108318
+ };
108319
+
108320
+
108321
+ /**
108322
+ * Serializes the message to binary data (in protobuf wire format).
108323
+ * @return {!Uint8Array}
108324
+ */
108325
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.serializeBinary = function() {
108326
+ var writer = new jspb.BinaryWriter();
108327
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter(this, writer);
108328
+ return writer.getResultBuffer();
108329
+ };
108330
+
108331
+
108332
+ /**
108333
+ * Serializes the given message to binary data (in protobuf wire
108334
+ * format), writing to the given BinaryWriter.
108335
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} message
108336
+ * @param {!jspb.BinaryWriter} writer
108337
+ * @suppress {unusedLocalVariables} f is only used for nested messages
108338
+ */
108339
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter = function(message, writer) {
108340
+ var f = undefined;
108341
+ f = message.getStatus();
108342
+ if (f != null) {
108343
+ writer.writeMessage(
108344
+ 1,
108345
+ f,
108346
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
108347
+ );
108348
+ }
108349
+ f = message.getPipelineVersionRunStatusLogsList();
108350
+ if (f.length > 0) {
108351
+ writer.writeRepeatedMessage(
108352
+ 2,
108353
+ f,
108354
+ proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.serializeBinaryToWriter
108355
+ );
108356
+ }
108357
+ };
108358
+
108359
+
108360
+ /**
108361
+ * optional status.Status status = 1;
108362
+ * @return {?proto.clarifai.api.status.Status}
108363
+ */
108364
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getStatus = function() {
108365
+ return /** @type{?proto.clarifai.api.status.Status} */ (
108366
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
108367
+ };
108368
+
108369
+
108370
+ /**
108371
+ * @param {?proto.clarifai.api.status.Status|undefined} value
108372
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108373
+ */
108374
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setStatus = function(value) {
108375
+ return jspb.Message.setWrapperField(this, 1, value);
108376
+ };
108377
+
108378
+
108379
+ /**
108380
+ * Clears the message field making it undefined.
108381
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108382
+ */
108383
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearStatus = function() {
108384
+ return this.setStatus(undefined);
108385
+ };
108386
+
108387
+
108388
+ /**
108389
+ * Returns whether this field is set.
108390
+ * @return {boolean}
108391
+ */
108392
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.hasStatus = function() {
108393
+ return jspb.Message.getField(this, 1) != null;
108394
+ };
108395
+
108396
+
108397
+ /**
108398
+ * repeated PipelineVersionRunStatusLog pipeline_version_run_status_logs = 2;
108399
+ * @return {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>}
108400
+ */
108401
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getPipelineVersionRunStatusLogsList = function() {
108402
+ return /** @type{!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} */ (
108403
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog, 2));
108404
+ };
108405
+
108406
+
108407
+ /**
108408
+ * @param {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} value
108409
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108410
+ */
108411
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setPipelineVersionRunStatusLogsList = function(value) {
108412
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
108413
+ };
108414
+
108415
+
108416
+ /**
108417
+ * @param {!proto.clarifai.api.PipelineVersionRunStatusLog=} opt_value
108418
+ * @param {number=} opt_index
108419
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
108420
+ */
108421
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.addPipelineVersionRunStatusLogs = function(opt_value, opt_index) {
108422
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineVersionRunStatusLog, opt_index);
108423
+ };
108424
+
108425
+
108426
+ /**
108427
+ * Clears the list making it empty but non-null.
108428
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
108429
+ */
108430
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearPipelineVersionRunStatusLogsList = function() {
108431
+ return this.setPipelineVersionRunStatusLogsList([]);
108432
+ };
108433
+
108434
+
108435
+
106834
108436
  /**
106835
108437
  * List of repeated fields within this message type.
106836
108438
  * @private {!Array<number>}