clarifai-web-grpc 11.1.0 → 11.1.1

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.
@@ -310,6 +310,7 @@ goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
310
310
  goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
311
311
  goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
312
312
  goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
313
+ goog.exportSymbol('proto.clarifai.api.PostComputePlaneMetricsRequest', null, global);
313
314
  goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
314
315
  goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
315
316
  goog.exportSymbol('proto.clarifai.api.PostConceptsRequest', null, global);
@@ -328,6 +329,7 @@ goog.exportSymbol('proto.clarifai.api.PostInstalledModuleVersionsRequest', null,
328
329
  goog.exportSymbol('proto.clarifai.api.PostKeysRequest', null, global);
329
330
  goog.exportSymbol('proto.clarifai.api.PostKnowledgeGraphsRequest', null, global);
330
331
  goog.exportSymbol('proto.clarifai.api.PostLabelOrdersRequest', null, global);
332
+ goog.exportSymbol('proto.clarifai.api.PostLogEntriesRequest', null, global);
331
333
  goog.exportSymbol('proto.clarifai.api.PostModelOutputsRequest', null, global);
332
334
  goog.exportSymbol('proto.clarifai.api.PostModelVersionEvaluationsRequest', null, global);
333
335
  goog.exportSymbol('proto.clarifai.api.PostModelVersionMetricsRequest', null, global);
@@ -413,6 +415,7 @@ goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
413
415
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
414
416
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
415
417
  goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
418
+ goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
416
419
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
417
420
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
418
421
  /**
@@ -2515,6 +2518,48 @@ if (goog.DEBUG && !COMPILED) {
2515
2518
  */
2516
2519
  proto.clarifai.api.ListModelInputsRequest.displayName = 'proto.clarifai.api.ListModelInputsRequest';
2517
2520
  }
2521
+ /**
2522
+ * Generated by JsPbCodeGenerator.
2523
+ * @param {Array=} opt_data Optional initial data array, typically from a
2524
+ * server response, or constructed directly in Javascript. The array is used
2525
+ * in place and becomes part of the constructed object. It is not cloned.
2526
+ * If no data is provided, the constructed object will be empty, but still
2527
+ * valid.
2528
+ * @extends {jspb.Message}
2529
+ * @constructor
2530
+ */
2531
+ proto.clarifai.api.PostComputePlaneMetricsRequest = function(opt_data) {
2532
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostComputePlaneMetricsRequest.repeatedFields_, null);
2533
+ };
2534
+ goog.inherits(proto.clarifai.api.PostComputePlaneMetricsRequest, jspb.Message);
2535
+ if (goog.DEBUG && !COMPILED) {
2536
+ /**
2537
+ * @public
2538
+ * @override
2539
+ */
2540
+ proto.clarifai.api.PostComputePlaneMetricsRequest.displayName = 'proto.clarifai.api.PostComputePlaneMetricsRequest';
2541
+ }
2542
+ /**
2543
+ * Generated by JsPbCodeGenerator.
2544
+ * @param {Array=} opt_data Optional initial data array, typically from a
2545
+ * server response, or constructed directly in Javascript. The array is used
2546
+ * in place and becomes part of the constructed object. It is not cloned.
2547
+ * If no data is provided, the constructed object will be empty, but still
2548
+ * valid.
2549
+ * @extends {jspb.Message}
2550
+ * @constructor
2551
+ */
2552
+ proto.clarifai.api.PostLogEntriesRequest = function(opt_data) {
2553
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostLogEntriesRequest.repeatedFields_, null);
2554
+ };
2555
+ goog.inherits(proto.clarifai.api.PostLogEntriesRequest, jspb.Message);
2556
+ if (goog.DEBUG && !COMPILED) {
2557
+ /**
2558
+ * @public
2559
+ * @override
2560
+ */
2561
+ proto.clarifai.api.PostLogEntriesRequest.displayName = 'proto.clarifai.api.PostLogEntriesRequest';
2562
+ }
2518
2563
  /**
2519
2564
  * Generated by JsPbCodeGenerator.
2520
2565
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2536,6 +2581,27 @@ if (goog.DEBUG && !COMPILED) {
2536
2581
  */
2537
2582
  proto.clarifai.api.ListLogEntriesRequest.displayName = 'proto.clarifai.api.ListLogEntriesRequest';
2538
2583
  }
2584
+ /**
2585
+ * Generated by JsPbCodeGenerator.
2586
+ * @param {Array=} opt_data Optional initial data array, typically from a
2587
+ * server response, or constructed directly in Javascript. The array is used
2588
+ * in place and becomes part of the constructed object. It is not cloned.
2589
+ * If no data is provided, the constructed object will be empty, but still
2590
+ * valid.
2591
+ * @extends {jspb.Message}
2592
+ * @constructor
2593
+ */
2594
+ proto.clarifai.api.StreamLogEntriesRequest = function(opt_data) {
2595
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2596
+ };
2597
+ goog.inherits(proto.clarifai.api.StreamLogEntriesRequest, jspb.Message);
2598
+ if (goog.DEBUG && !COMPILED) {
2599
+ /**
2600
+ * @public
2601
+ * @override
2602
+ */
2603
+ proto.clarifai.api.StreamLogEntriesRequest.displayName = 'proto.clarifai.api.StreamLogEntriesRequest';
2604
+ }
2539
2605
  /**
2540
2606
  * Generated by JsPbCodeGenerator.
2541
2607
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -32376,6 +32442,326 @@ proto.clarifai.api.ListModelInputsRequest.prototype.setPerPage = function(value)
32376
32442
 
32377
32443
 
32378
32444
 
32445
+ /**
32446
+ * List of repeated fields within this message type.
32447
+ * @private {!Array<number>}
32448
+ * @const
32449
+ */
32450
+ proto.clarifai.api.PostComputePlaneMetricsRequest.repeatedFields_ = [1];
32451
+
32452
+
32453
+
32454
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32455
+ /**
32456
+ * Creates an object representation of this proto.
32457
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32458
+ * Optional fields that are not set will be set to undefined.
32459
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32460
+ * For the list of reserved names please see:
32461
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32462
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32463
+ * JSPB instance for transitional soy proto support:
32464
+ * http://goto/soy-param-migration
32465
+ * @return {!Object}
32466
+ */
32467
+ proto.clarifai.api.PostComputePlaneMetricsRequest.prototype.toObject = function(opt_includeInstance) {
32468
+ return proto.clarifai.api.PostComputePlaneMetricsRequest.toObject(opt_includeInstance, this);
32469
+ };
32470
+
32471
+
32472
+ /**
32473
+ * Static version of the {@see toObject} method.
32474
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32475
+ * the JSPB instance for transitional soy proto support:
32476
+ * http://goto/soy-param-migration
32477
+ * @param {!proto.clarifai.api.PostComputePlaneMetricsRequest} msg The msg instance to transform.
32478
+ * @return {!Object}
32479
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32480
+ */
32481
+ proto.clarifai.api.PostComputePlaneMetricsRequest.toObject = function(includeInstance, msg) {
32482
+ var f, obj = {
32483
+ computePlaneMetricsList: jspb.Message.toObjectList(msg.getComputePlaneMetricsList(),
32484
+ proto_clarifai_api_resources_pb.ComputePlaneMetrics.toObject, includeInstance)
32485
+ };
32486
+
32487
+ if (includeInstance) {
32488
+ obj.$jspbMessageInstance = msg;
32489
+ }
32490
+ return obj;
32491
+ };
32492
+ }
32493
+
32494
+
32495
+ /**
32496
+ * Deserializes binary data (in protobuf wire format).
32497
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32498
+ * @return {!proto.clarifai.api.PostComputePlaneMetricsRequest}
32499
+ */
32500
+ proto.clarifai.api.PostComputePlaneMetricsRequest.deserializeBinary = function(bytes) {
32501
+ var reader = new jspb.BinaryReader(bytes);
32502
+ var msg = new proto.clarifai.api.PostComputePlaneMetricsRequest;
32503
+ return proto.clarifai.api.PostComputePlaneMetricsRequest.deserializeBinaryFromReader(msg, reader);
32504
+ };
32505
+
32506
+
32507
+ /**
32508
+ * Deserializes binary data (in protobuf wire format) from the
32509
+ * given reader into the given message object.
32510
+ * @param {!proto.clarifai.api.PostComputePlaneMetricsRequest} msg The message object to deserialize into.
32511
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32512
+ * @return {!proto.clarifai.api.PostComputePlaneMetricsRequest}
32513
+ */
32514
+ proto.clarifai.api.PostComputePlaneMetricsRequest.deserializeBinaryFromReader = function(msg, reader) {
32515
+ while (reader.nextField()) {
32516
+ if (reader.isEndGroup()) {
32517
+ break;
32518
+ }
32519
+ var field = reader.getFieldNumber();
32520
+ switch (field) {
32521
+ case 1:
32522
+ var value = new proto_clarifai_api_resources_pb.ComputePlaneMetrics;
32523
+ reader.readMessage(value,proto_clarifai_api_resources_pb.ComputePlaneMetrics.deserializeBinaryFromReader);
32524
+ msg.addComputePlaneMetrics(value);
32525
+ break;
32526
+ default:
32527
+ reader.skipField();
32528
+ break;
32529
+ }
32530
+ }
32531
+ return msg;
32532
+ };
32533
+
32534
+
32535
+ /**
32536
+ * Serializes the message to binary data (in protobuf wire format).
32537
+ * @return {!Uint8Array}
32538
+ */
32539
+ proto.clarifai.api.PostComputePlaneMetricsRequest.prototype.serializeBinary = function() {
32540
+ var writer = new jspb.BinaryWriter();
32541
+ proto.clarifai.api.PostComputePlaneMetricsRequest.serializeBinaryToWriter(this, writer);
32542
+ return writer.getResultBuffer();
32543
+ };
32544
+
32545
+
32546
+ /**
32547
+ * Serializes the given message to binary data (in protobuf wire
32548
+ * format), writing to the given BinaryWriter.
32549
+ * @param {!proto.clarifai.api.PostComputePlaneMetricsRequest} message
32550
+ * @param {!jspb.BinaryWriter} writer
32551
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32552
+ */
32553
+ proto.clarifai.api.PostComputePlaneMetricsRequest.serializeBinaryToWriter = function(message, writer) {
32554
+ var f = undefined;
32555
+ f = message.getComputePlaneMetricsList();
32556
+ if (f.length > 0) {
32557
+ writer.writeRepeatedMessage(
32558
+ 1,
32559
+ f,
32560
+ proto_clarifai_api_resources_pb.ComputePlaneMetrics.serializeBinaryToWriter
32561
+ );
32562
+ }
32563
+ };
32564
+
32565
+
32566
+ /**
32567
+ * repeated ComputePlaneMetrics compute_plane_metrics = 1;
32568
+ * @return {!Array<!proto.clarifai.api.ComputePlaneMetrics>}
32569
+ */
32570
+ proto.clarifai.api.PostComputePlaneMetricsRequest.prototype.getComputePlaneMetricsList = function() {
32571
+ return /** @type{!Array<!proto.clarifai.api.ComputePlaneMetrics>} */ (
32572
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputePlaneMetrics, 1));
32573
+ };
32574
+
32575
+
32576
+ /**
32577
+ * @param {!Array<!proto.clarifai.api.ComputePlaneMetrics>} value
32578
+ * @return {!proto.clarifai.api.PostComputePlaneMetricsRequest} returns this
32579
+ */
32580
+ proto.clarifai.api.PostComputePlaneMetricsRequest.prototype.setComputePlaneMetricsList = function(value) {
32581
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
32582
+ };
32583
+
32584
+
32585
+ /**
32586
+ * @param {!proto.clarifai.api.ComputePlaneMetrics=} opt_value
32587
+ * @param {number=} opt_index
32588
+ * @return {!proto.clarifai.api.ComputePlaneMetrics}
32589
+ */
32590
+ proto.clarifai.api.PostComputePlaneMetricsRequest.prototype.addComputePlaneMetrics = function(opt_value, opt_index) {
32591
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.ComputePlaneMetrics, opt_index);
32592
+ };
32593
+
32594
+
32595
+ /**
32596
+ * Clears the list making it empty but non-null.
32597
+ * @return {!proto.clarifai.api.PostComputePlaneMetricsRequest} returns this
32598
+ */
32599
+ proto.clarifai.api.PostComputePlaneMetricsRequest.prototype.clearComputePlaneMetricsList = function() {
32600
+ return this.setComputePlaneMetricsList([]);
32601
+ };
32602
+
32603
+
32604
+
32605
+ /**
32606
+ * List of repeated fields within this message type.
32607
+ * @private {!Array<number>}
32608
+ * @const
32609
+ */
32610
+ proto.clarifai.api.PostLogEntriesRequest.repeatedFields_ = [1];
32611
+
32612
+
32613
+
32614
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32615
+ /**
32616
+ * Creates an object representation of this proto.
32617
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32618
+ * Optional fields that are not set will be set to undefined.
32619
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32620
+ * For the list of reserved names please see:
32621
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32622
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32623
+ * JSPB instance for transitional soy proto support:
32624
+ * http://goto/soy-param-migration
32625
+ * @return {!Object}
32626
+ */
32627
+ proto.clarifai.api.PostLogEntriesRequest.prototype.toObject = function(opt_includeInstance) {
32628
+ return proto.clarifai.api.PostLogEntriesRequest.toObject(opt_includeInstance, this);
32629
+ };
32630
+
32631
+
32632
+ /**
32633
+ * Static version of the {@see toObject} method.
32634
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32635
+ * the JSPB instance for transitional soy proto support:
32636
+ * http://goto/soy-param-migration
32637
+ * @param {!proto.clarifai.api.PostLogEntriesRequest} msg The msg instance to transform.
32638
+ * @return {!Object}
32639
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32640
+ */
32641
+ proto.clarifai.api.PostLogEntriesRequest.toObject = function(includeInstance, msg) {
32642
+ var f, obj = {
32643
+ logEntriesList: jspb.Message.toObjectList(msg.getLogEntriesList(),
32644
+ proto_clarifai_api_resources_pb.LogEntry.toObject, includeInstance)
32645
+ };
32646
+
32647
+ if (includeInstance) {
32648
+ obj.$jspbMessageInstance = msg;
32649
+ }
32650
+ return obj;
32651
+ };
32652
+ }
32653
+
32654
+
32655
+ /**
32656
+ * Deserializes binary data (in protobuf wire format).
32657
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32658
+ * @return {!proto.clarifai.api.PostLogEntriesRequest}
32659
+ */
32660
+ proto.clarifai.api.PostLogEntriesRequest.deserializeBinary = function(bytes) {
32661
+ var reader = new jspb.BinaryReader(bytes);
32662
+ var msg = new proto.clarifai.api.PostLogEntriesRequest;
32663
+ return proto.clarifai.api.PostLogEntriesRequest.deserializeBinaryFromReader(msg, reader);
32664
+ };
32665
+
32666
+
32667
+ /**
32668
+ * Deserializes binary data (in protobuf wire format) from the
32669
+ * given reader into the given message object.
32670
+ * @param {!proto.clarifai.api.PostLogEntriesRequest} msg The message object to deserialize into.
32671
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32672
+ * @return {!proto.clarifai.api.PostLogEntriesRequest}
32673
+ */
32674
+ proto.clarifai.api.PostLogEntriesRequest.deserializeBinaryFromReader = function(msg, reader) {
32675
+ while (reader.nextField()) {
32676
+ if (reader.isEndGroup()) {
32677
+ break;
32678
+ }
32679
+ var field = reader.getFieldNumber();
32680
+ switch (field) {
32681
+ case 1:
32682
+ var value = new proto_clarifai_api_resources_pb.LogEntry;
32683
+ reader.readMessage(value,proto_clarifai_api_resources_pb.LogEntry.deserializeBinaryFromReader);
32684
+ msg.addLogEntries(value);
32685
+ break;
32686
+ default:
32687
+ reader.skipField();
32688
+ break;
32689
+ }
32690
+ }
32691
+ return msg;
32692
+ };
32693
+
32694
+
32695
+ /**
32696
+ * Serializes the message to binary data (in protobuf wire format).
32697
+ * @return {!Uint8Array}
32698
+ */
32699
+ proto.clarifai.api.PostLogEntriesRequest.prototype.serializeBinary = function() {
32700
+ var writer = new jspb.BinaryWriter();
32701
+ proto.clarifai.api.PostLogEntriesRequest.serializeBinaryToWriter(this, writer);
32702
+ return writer.getResultBuffer();
32703
+ };
32704
+
32705
+
32706
+ /**
32707
+ * Serializes the given message to binary data (in protobuf wire
32708
+ * format), writing to the given BinaryWriter.
32709
+ * @param {!proto.clarifai.api.PostLogEntriesRequest} message
32710
+ * @param {!jspb.BinaryWriter} writer
32711
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32712
+ */
32713
+ proto.clarifai.api.PostLogEntriesRequest.serializeBinaryToWriter = function(message, writer) {
32714
+ var f = undefined;
32715
+ f = message.getLogEntriesList();
32716
+ if (f.length > 0) {
32717
+ writer.writeRepeatedMessage(
32718
+ 1,
32719
+ f,
32720
+ proto_clarifai_api_resources_pb.LogEntry.serializeBinaryToWriter
32721
+ );
32722
+ }
32723
+ };
32724
+
32725
+
32726
+ /**
32727
+ * repeated LogEntry log_entries = 1;
32728
+ * @return {!Array<!proto.clarifai.api.LogEntry>}
32729
+ */
32730
+ proto.clarifai.api.PostLogEntriesRequest.prototype.getLogEntriesList = function() {
32731
+ return /** @type{!Array<!proto.clarifai.api.LogEntry>} */ (
32732
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.LogEntry, 1));
32733
+ };
32734
+
32735
+
32736
+ /**
32737
+ * @param {!Array<!proto.clarifai.api.LogEntry>} value
32738
+ * @return {!proto.clarifai.api.PostLogEntriesRequest} returns this
32739
+ */
32740
+ proto.clarifai.api.PostLogEntriesRequest.prototype.setLogEntriesList = function(value) {
32741
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
32742
+ };
32743
+
32744
+
32745
+ /**
32746
+ * @param {!proto.clarifai.api.LogEntry=} opt_value
32747
+ * @param {number=} opt_index
32748
+ * @return {!proto.clarifai.api.LogEntry}
32749
+ */
32750
+ proto.clarifai.api.PostLogEntriesRequest.prototype.addLogEntries = function(opt_value, opt_index) {
32751
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.LogEntry, opt_index);
32752
+ };
32753
+
32754
+
32755
+ /**
32756
+ * Clears the list making it empty but non-null.
32757
+ * @return {!proto.clarifai.api.PostLogEntriesRequest} returns this
32758
+ */
32759
+ proto.clarifai.api.PostLogEntriesRequest.prototype.clearLogEntriesList = function() {
32760
+ return this.setLogEntriesList([]);
32761
+ };
32762
+
32763
+
32764
+
32379
32765
 
32380
32766
 
32381
32767
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -32799,6 +33185,367 @@ proto.clarifai.api.ListLogEntriesRequest.prototype.setRunnerId = function(value)
32799
33185
 
32800
33186
 
32801
33187
 
33188
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33189
+ /**
33190
+ * Creates an object representation of this proto.
33191
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33192
+ * Optional fields that are not set will be set to undefined.
33193
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33194
+ * For the list of reserved names please see:
33195
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33196
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33197
+ * JSPB instance for transitional soy proto support:
33198
+ * http://goto/soy-param-migration
33199
+ * @return {!Object}
33200
+ */
33201
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.toObject = function(opt_includeInstance) {
33202
+ return proto.clarifai.api.StreamLogEntriesRequest.toObject(opt_includeInstance, this);
33203
+ };
33204
+
33205
+
33206
+ /**
33207
+ * Static version of the {@see toObject} method.
33208
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33209
+ * the JSPB instance for transitional soy proto support:
33210
+ * http://goto/soy-param-migration
33211
+ * @param {!proto.clarifai.api.StreamLogEntriesRequest} msg The msg instance to transform.
33212
+ * @return {!Object}
33213
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33214
+ */
33215
+ proto.clarifai.api.StreamLogEntriesRequest.toObject = function(includeInstance, msg) {
33216
+ var f, obj = {
33217
+ logType: jspb.Message.getFieldWithDefault(msg, 1, ""),
33218
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
33219
+ modelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
33220
+ modelVersionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
33221
+ workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
33222
+ computeClusterId: jspb.Message.getFieldWithDefault(msg, 6, ""),
33223
+ nodepoolId: jspb.Message.getFieldWithDefault(msg, 7, ""),
33224
+ runnerId: jspb.Message.getFieldWithDefault(msg, 8, "")
33225
+ };
33226
+
33227
+ if (includeInstance) {
33228
+ obj.$jspbMessageInstance = msg;
33229
+ }
33230
+ return obj;
33231
+ };
33232
+ }
33233
+
33234
+
33235
+ /**
33236
+ * Deserializes binary data (in protobuf wire format).
33237
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33238
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest}
33239
+ */
33240
+ proto.clarifai.api.StreamLogEntriesRequest.deserializeBinary = function(bytes) {
33241
+ var reader = new jspb.BinaryReader(bytes);
33242
+ var msg = new proto.clarifai.api.StreamLogEntriesRequest;
33243
+ return proto.clarifai.api.StreamLogEntriesRequest.deserializeBinaryFromReader(msg, reader);
33244
+ };
33245
+
33246
+
33247
+ /**
33248
+ * Deserializes binary data (in protobuf wire format) from the
33249
+ * given reader into the given message object.
33250
+ * @param {!proto.clarifai.api.StreamLogEntriesRequest} msg The message object to deserialize into.
33251
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33252
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest}
33253
+ */
33254
+ proto.clarifai.api.StreamLogEntriesRequest.deserializeBinaryFromReader = function(msg, reader) {
33255
+ while (reader.nextField()) {
33256
+ if (reader.isEndGroup()) {
33257
+ break;
33258
+ }
33259
+ var field = reader.getFieldNumber();
33260
+ switch (field) {
33261
+ case 1:
33262
+ var value = /** @type {string} */ (reader.readString());
33263
+ msg.setLogType(value);
33264
+ break;
33265
+ case 2:
33266
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
33267
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
33268
+ msg.setUserAppId(value);
33269
+ break;
33270
+ case 3:
33271
+ var value = /** @type {string} */ (reader.readString());
33272
+ msg.setModelId(value);
33273
+ break;
33274
+ case 4:
33275
+ var value = /** @type {string} */ (reader.readString());
33276
+ msg.setModelVersionId(value);
33277
+ break;
33278
+ case 5:
33279
+ var value = /** @type {string} */ (reader.readString());
33280
+ msg.setWorkflowId(value);
33281
+ break;
33282
+ case 6:
33283
+ var value = /** @type {string} */ (reader.readString());
33284
+ msg.setComputeClusterId(value);
33285
+ break;
33286
+ case 7:
33287
+ var value = /** @type {string} */ (reader.readString());
33288
+ msg.setNodepoolId(value);
33289
+ break;
33290
+ case 8:
33291
+ var value = /** @type {string} */ (reader.readString());
33292
+ msg.setRunnerId(value);
33293
+ break;
33294
+ default:
33295
+ reader.skipField();
33296
+ break;
33297
+ }
33298
+ }
33299
+ return msg;
33300
+ };
33301
+
33302
+
33303
+ /**
33304
+ * Serializes the message to binary data (in protobuf wire format).
33305
+ * @return {!Uint8Array}
33306
+ */
33307
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.serializeBinary = function() {
33308
+ var writer = new jspb.BinaryWriter();
33309
+ proto.clarifai.api.StreamLogEntriesRequest.serializeBinaryToWriter(this, writer);
33310
+ return writer.getResultBuffer();
33311
+ };
33312
+
33313
+
33314
+ /**
33315
+ * Serializes the given message to binary data (in protobuf wire
33316
+ * format), writing to the given BinaryWriter.
33317
+ * @param {!proto.clarifai.api.StreamLogEntriesRequest} message
33318
+ * @param {!jspb.BinaryWriter} writer
33319
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33320
+ */
33321
+ proto.clarifai.api.StreamLogEntriesRequest.serializeBinaryToWriter = function(message, writer) {
33322
+ var f = undefined;
33323
+ f = message.getLogType();
33324
+ if (f.length > 0) {
33325
+ writer.writeString(
33326
+ 1,
33327
+ f
33328
+ );
33329
+ }
33330
+ f = message.getUserAppId();
33331
+ if (f != null) {
33332
+ writer.writeMessage(
33333
+ 2,
33334
+ f,
33335
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
33336
+ );
33337
+ }
33338
+ f = message.getModelId();
33339
+ if (f.length > 0) {
33340
+ writer.writeString(
33341
+ 3,
33342
+ f
33343
+ );
33344
+ }
33345
+ f = message.getModelVersionId();
33346
+ if (f.length > 0) {
33347
+ writer.writeString(
33348
+ 4,
33349
+ f
33350
+ );
33351
+ }
33352
+ f = message.getWorkflowId();
33353
+ if (f.length > 0) {
33354
+ writer.writeString(
33355
+ 5,
33356
+ f
33357
+ );
33358
+ }
33359
+ f = message.getComputeClusterId();
33360
+ if (f.length > 0) {
33361
+ writer.writeString(
33362
+ 6,
33363
+ f
33364
+ );
33365
+ }
33366
+ f = message.getNodepoolId();
33367
+ if (f.length > 0) {
33368
+ writer.writeString(
33369
+ 7,
33370
+ f
33371
+ );
33372
+ }
33373
+ f = message.getRunnerId();
33374
+ if (f.length > 0) {
33375
+ writer.writeString(
33376
+ 8,
33377
+ f
33378
+ );
33379
+ }
33380
+ };
33381
+
33382
+
33383
+ /**
33384
+ * optional string log_type = 1;
33385
+ * @return {string}
33386
+ */
33387
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getLogType = function() {
33388
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
33389
+ };
33390
+
33391
+
33392
+ /**
33393
+ * @param {string} value
33394
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33395
+ */
33396
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setLogType = function(value) {
33397
+ return jspb.Message.setProto3StringField(this, 1, value);
33398
+ };
33399
+
33400
+
33401
+ /**
33402
+ * optional UserAppIDSet user_app_id = 2;
33403
+ * @return {?proto.clarifai.api.UserAppIDSet}
33404
+ */
33405
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getUserAppId = function() {
33406
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
33407
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 2));
33408
+ };
33409
+
33410
+
33411
+ /**
33412
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
33413
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33414
+ */
33415
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setUserAppId = function(value) {
33416
+ return jspb.Message.setWrapperField(this, 2, value);
33417
+ };
33418
+
33419
+
33420
+ /**
33421
+ * Clears the message field making it undefined.
33422
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33423
+ */
33424
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.clearUserAppId = function() {
33425
+ return this.setUserAppId(undefined);
33426
+ };
33427
+
33428
+
33429
+ /**
33430
+ * Returns whether this field is set.
33431
+ * @return {boolean}
33432
+ */
33433
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.hasUserAppId = function() {
33434
+ return jspb.Message.getField(this, 2) != null;
33435
+ };
33436
+
33437
+
33438
+ /**
33439
+ * optional string model_id = 3;
33440
+ * @return {string}
33441
+ */
33442
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getModelId = function() {
33443
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
33444
+ };
33445
+
33446
+
33447
+ /**
33448
+ * @param {string} value
33449
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33450
+ */
33451
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setModelId = function(value) {
33452
+ return jspb.Message.setProto3StringField(this, 3, value);
33453
+ };
33454
+
33455
+
33456
+ /**
33457
+ * optional string model_version_id = 4;
33458
+ * @return {string}
33459
+ */
33460
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getModelVersionId = function() {
33461
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
33462
+ };
33463
+
33464
+
33465
+ /**
33466
+ * @param {string} value
33467
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33468
+ */
33469
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setModelVersionId = function(value) {
33470
+ return jspb.Message.setProto3StringField(this, 4, value);
33471
+ };
33472
+
33473
+
33474
+ /**
33475
+ * optional string workflow_id = 5;
33476
+ * @return {string}
33477
+ */
33478
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getWorkflowId = function() {
33479
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
33480
+ };
33481
+
33482
+
33483
+ /**
33484
+ * @param {string} value
33485
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33486
+ */
33487
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setWorkflowId = function(value) {
33488
+ return jspb.Message.setProto3StringField(this, 5, value);
33489
+ };
33490
+
33491
+
33492
+ /**
33493
+ * optional string compute_cluster_id = 6;
33494
+ * @return {string}
33495
+ */
33496
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getComputeClusterId = function() {
33497
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
33498
+ };
33499
+
33500
+
33501
+ /**
33502
+ * @param {string} value
33503
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33504
+ */
33505
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setComputeClusterId = function(value) {
33506
+ return jspb.Message.setProto3StringField(this, 6, value);
33507
+ };
33508
+
33509
+
33510
+ /**
33511
+ * optional string nodepool_id = 7;
33512
+ * @return {string}
33513
+ */
33514
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getNodepoolId = function() {
33515
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
33516
+ };
33517
+
33518
+
33519
+ /**
33520
+ * @param {string} value
33521
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33522
+ */
33523
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setNodepoolId = function(value) {
33524
+ return jspb.Message.setProto3StringField(this, 7, value);
33525
+ };
33526
+
33527
+
33528
+ /**
33529
+ * optional string runner_id = 8;
33530
+ * @return {string}
33531
+ */
33532
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getRunnerId = function() {
33533
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
33534
+ };
33535
+
33536
+
33537
+ /**
33538
+ * @param {string} value
33539
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33540
+ */
33541
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setRunnerId = function(value) {
33542
+ return jspb.Message.setProto3StringField(this, 8, value);
33543
+ };
33544
+
33545
+
33546
+
33547
+
33548
+
32802
33549
  if (jspb.Message.GENERATE_TO_OBJECT) {
32803
33550
  /**
32804
33551
  * Creates an object representation of this proto.