@ondewo/nlu-client-typescript 6.13.0 → 7.0.0

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.
Files changed (36) hide show
  1. package/README.md +0 -0
  2. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +48 -0
  3. package/api/ondewo/nlu/agent_grpc_web_pb.js +244 -0
  4. package/api/ondewo/nlu/agent_pb.d.ts +196 -15
  5. package/api/ondewo/nlu/agent_pb.js +1627 -0
  6. package/api/ondewo/nlu/aiservices_pb.d.ts +0 -50
  7. package/api/ondewo/nlu/ccai_project_pb.d.ts +6 -93
  8. package/api/ondewo/nlu/ccai_project_pb.js +24 -132
  9. package/api/ondewo/nlu/common_pb.d.ts +140 -0
  10. package/api/ondewo/nlu/common_pb.js +1151 -9
  11. package/api/ondewo/nlu/context_pb.d.ts +8 -1
  12. package/api/ondewo/nlu/context_pb.js +22 -4
  13. package/api/ondewo/nlu/llm_evaluation_pb.d.ts +40 -5
  14. package/api/ondewo/nlu/llm_evaluation_pb.js +110 -20
  15. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -0
  16. package/api/ondewo/nlu/operations_grpc_web_pb.js +241 -0
  17. package/api/ondewo/nlu/operations_pb.d.ts +429 -10
  18. package/api/ondewo/nlu/operations_pb.js +3413 -0
  19. package/api/ondewo/nlu/project_role_pb.d.ts +0 -10
  20. package/api/ondewo/nlu/rag_pb.d.ts +191 -520
  21. package/api/ondewo/nlu/rag_pb.js +1246 -1058
  22. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +120 -0
  23. package/api/ondewo/nlu/session_grpc_web_pb.js +610 -0
  24. package/api/ondewo/nlu/session_pb.d.ts +818 -118
  25. package/api/ondewo/nlu/session_pb.js +6396 -3
  26. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +59 -13
  27. package/api/ondewo/nlu/user_grpc_web_pb.js +300 -61
  28. package/api/ondewo/nlu/user_pb.d.ts +0 -87
  29. package/api/ondewo/nlu/user_pb.js +0 -436
  30. package/auth/offlineTokenProvider.d.ts +195 -0
  31. package/auth/offlineTokenProvider.js +372 -0
  32. package/package.json +11 -8
  33. package/public-api.d.ts +31 -31
  34. package/public-api.js +28 -28
  35. package/api/google/logging/v2/log_entry_pb.d.ts +0 -172
  36. package/api/google/logging/v2/log_entry_pb.js +0 -1333
@@ -55,8 +55,11 @@ goog.exportSymbol('proto.ondewo.nlu.AgentView', null, global);
55
55
  goog.exportSymbol('proto.ondewo.nlu.AgentWithOwner', null, global);
56
56
  goog.exportSymbol('proto.ondewo.nlu.BuildCacheRequest', null, global);
57
57
  goog.exportSymbol('proto.ondewo.nlu.CreateAgentRequest', null, global);
58
+ goog.exportSymbol('proto.ondewo.nlu.CreateProjectTechnicalUserRequest', null, global);
59
+ goog.exportSymbol('proto.ondewo.nlu.CreateProjectTechnicalUserResponse', null, global);
58
60
  goog.exportSymbol('proto.ondewo.nlu.CustomPlatformInfo', null, global);
59
61
  goog.exportSymbol('proto.ondewo.nlu.DeleteAgentRequest', null, global);
62
+ goog.exportSymbol('proto.ondewo.nlu.DeleteProjectTechnicalUserRequest', null, global);
60
63
  goog.exportSymbol('proto.ondewo.nlu.DeleteResourcesRequest', null, global);
61
64
  goog.exportSymbol('proto.ondewo.nlu.ExportAgentRequest', null, global);
62
65
  goog.exportSymbol('proto.ondewo.nlu.ExportAgentResponse', null, global);
@@ -106,6 +109,8 @@ goog.exportSymbol('proto.ondewo.nlu.ListAgentsRequest', null, global);
106
109
  goog.exportSymbol('proto.ondewo.nlu.ListAgentsResponse', null, global);
107
110
  goog.exportSymbol('proto.ondewo.nlu.ListProjectPermissionsRequest', null, global);
108
111
  goog.exportSymbol('proto.ondewo.nlu.ListProjectPermissionsResponse', null, global);
112
+ goog.exportSymbol('proto.ondewo.nlu.ListProjectTechnicalUsersRequest', null, global);
113
+ goog.exportSymbol('proto.ondewo.nlu.ListProjectTechnicalUsersResponse', null, global);
109
114
  goog.exportSymbol('proto.ondewo.nlu.ListUsersInProjectRequest', null, global);
110
115
  goog.exportSymbol('proto.ondewo.nlu.ListUsersInProjectResponse', null, global);
111
116
  goog.exportSymbol('proto.ondewo.nlu.LlmTelemetryTimeSeriesBucket', null, global);
@@ -115,6 +120,7 @@ goog.exportSymbol('proto.ondewo.nlu.ModelStatus.StatusName', null, global);
115
120
  goog.exportSymbol('proto.ondewo.nlu.OptimizeRankingMatchRequest', null, global);
116
121
  goog.exportSymbol('proto.ondewo.nlu.OptimizeRankingMatchResponse', null, global);
117
122
  goog.exportSymbol('proto.ondewo.nlu.PlatformMapping', null, global);
123
+ goog.exportSymbol('proto.ondewo.nlu.ProjectTechnicalUser', null, global);
118
124
  goog.exportSymbol('proto.ondewo.nlu.RankingMatchOptimizationConfig', null, global);
119
125
  goog.exportSymbol('proto.ondewo.nlu.ReindexAgentRequest', null, global);
120
126
  goog.exportSymbol('proto.ondewo.nlu.RemoveUserFromProjectRequest', null, global);
@@ -122,6 +128,8 @@ goog.exportSymbol('proto.ondewo.nlu.ReportFormat', null, global);
122
128
  goog.exportSymbol('proto.ondewo.nlu.ReportType', null, global);
123
129
  goog.exportSymbol('proto.ondewo.nlu.RestoreAgentRequest', null, global);
124
130
  goog.exportSymbol('proto.ondewo.nlu.RestoreAgentRequest.AgentCase', null, global);
131
+ goog.exportSymbol('proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest', null, global);
132
+ goog.exportSymbol('proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse', null, global);
125
133
  goog.exportSymbol('proto.ondewo.nlu.SessionsReportType', null, global);
126
134
  goog.exportSymbol('proto.ondewo.nlu.SetAgentStatusRequest', null, global);
127
135
  goog.exportSymbol('proto.ondewo.nlu.SetResourcesRequest', null, global);
@@ -1619,6 +1627,174 @@ if (goog.DEBUG && !COMPILED) {
1619
1627
  */
1620
1628
  proto.ondewo.nlu.ReindexAgentRequest.displayName = 'proto.ondewo.nlu.ReindexAgentRequest';
1621
1629
  }
1630
+ /**
1631
+ * Generated by JsPbCodeGenerator.
1632
+ * @param {Array=} opt_data Optional initial data array, typically from a
1633
+ * server response, or constructed directly in Javascript. The array is used
1634
+ * in place and becomes part of the constructed object. It is not cloned.
1635
+ * If no data is provided, the constructed object will be empty, but still
1636
+ * valid.
1637
+ * @extends {jspb.Message}
1638
+ * @constructor
1639
+ */
1640
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest = function(opt_data) {
1641
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1642
+ };
1643
+ goog.inherits(proto.ondewo.nlu.CreateProjectTechnicalUserRequest, jspb.Message);
1644
+ if (goog.DEBUG && !COMPILED) {
1645
+ /**
1646
+ * @public
1647
+ * @override
1648
+ */
1649
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.displayName = 'proto.ondewo.nlu.CreateProjectTechnicalUserRequest';
1650
+ }
1651
+ /**
1652
+ * Generated by JsPbCodeGenerator.
1653
+ * @param {Array=} opt_data Optional initial data array, typically from a
1654
+ * server response, or constructed directly in Javascript. The array is used
1655
+ * in place and becomes part of the constructed object. It is not cloned.
1656
+ * If no data is provided, the constructed object will be empty, but still
1657
+ * valid.
1658
+ * @extends {jspb.Message}
1659
+ * @constructor
1660
+ */
1661
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse = function(opt_data) {
1662
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1663
+ };
1664
+ goog.inherits(proto.ondewo.nlu.CreateProjectTechnicalUserResponse, jspb.Message);
1665
+ if (goog.DEBUG && !COMPILED) {
1666
+ /**
1667
+ * @public
1668
+ * @override
1669
+ */
1670
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.displayName = 'proto.ondewo.nlu.CreateProjectTechnicalUserResponse';
1671
+ }
1672
+ /**
1673
+ * Generated by JsPbCodeGenerator.
1674
+ * @param {Array=} opt_data Optional initial data array, typically from a
1675
+ * server response, or constructed directly in Javascript. The array is used
1676
+ * in place and becomes part of the constructed object. It is not cloned.
1677
+ * If no data is provided, the constructed object will be empty, but still
1678
+ * valid.
1679
+ * @extends {jspb.Message}
1680
+ * @constructor
1681
+ */
1682
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest = function(opt_data) {
1683
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1684
+ };
1685
+ goog.inherits(proto.ondewo.nlu.ListProjectTechnicalUsersRequest, jspb.Message);
1686
+ if (goog.DEBUG && !COMPILED) {
1687
+ /**
1688
+ * @public
1689
+ * @override
1690
+ */
1691
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.displayName = 'proto.ondewo.nlu.ListProjectTechnicalUsersRequest';
1692
+ }
1693
+ /**
1694
+ * Generated by JsPbCodeGenerator.
1695
+ * @param {Array=} opt_data Optional initial data array, typically from a
1696
+ * server response, or constructed directly in Javascript. The array is used
1697
+ * in place and becomes part of the constructed object. It is not cloned.
1698
+ * If no data is provided, the constructed object will be empty, but still
1699
+ * valid.
1700
+ * @extends {jspb.Message}
1701
+ * @constructor
1702
+ */
1703
+ proto.ondewo.nlu.ProjectTechnicalUser = function(opt_data) {
1704
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1705
+ };
1706
+ goog.inherits(proto.ondewo.nlu.ProjectTechnicalUser, jspb.Message);
1707
+ if (goog.DEBUG && !COMPILED) {
1708
+ /**
1709
+ * @public
1710
+ * @override
1711
+ */
1712
+ proto.ondewo.nlu.ProjectTechnicalUser.displayName = 'proto.ondewo.nlu.ProjectTechnicalUser';
1713
+ }
1714
+ /**
1715
+ * Generated by JsPbCodeGenerator.
1716
+ * @param {Array=} opt_data Optional initial data array, typically from a
1717
+ * server response, or constructed directly in Javascript. The array is used
1718
+ * in place and becomes part of the constructed object. It is not cloned.
1719
+ * If no data is provided, the constructed object will be empty, but still
1720
+ * valid.
1721
+ * @extends {jspb.Message}
1722
+ * @constructor
1723
+ */
1724
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse = function(opt_data) {
1725
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListProjectTechnicalUsersResponse.repeatedFields_, null);
1726
+ };
1727
+ goog.inherits(proto.ondewo.nlu.ListProjectTechnicalUsersResponse, jspb.Message);
1728
+ if (goog.DEBUG && !COMPILED) {
1729
+ /**
1730
+ * @public
1731
+ * @override
1732
+ */
1733
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.displayName = 'proto.ondewo.nlu.ListProjectTechnicalUsersResponse';
1734
+ }
1735
+ /**
1736
+ * Generated by JsPbCodeGenerator.
1737
+ * @param {Array=} opt_data Optional initial data array, typically from a
1738
+ * server response, or constructed directly in Javascript. The array is used
1739
+ * in place and becomes part of the constructed object. It is not cloned.
1740
+ * If no data is provided, the constructed object will be empty, but still
1741
+ * valid.
1742
+ * @extends {jspb.Message}
1743
+ * @constructor
1744
+ */
1745
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest = function(opt_data) {
1746
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1747
+ };
1748
+ goog.inherits(proto.ondewo.nlu.DeleteProjectTechnicalUserRequest, jspb.Message);
1749
+ if (goog.DEBUG && !COMPILED) {
1750
+ /**
1751
+ * @public
1752
+ * @override
1753
+ */
1754
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.displayName = 'proto.ondewo.nlu.DeleteProjectTechnicalUserRequest';
1755
+ }
1756
+ /**
1757
+ * Generated by JsPbCodeGenerator.
1758
+ * @param {Array=} opt_data Optional initial data array, typically from a
1759
+ * server response, or constructed directly in Javascript. The array is used
1760
+ * in place and becomes part of the constructed object. It is not cloned.
1761
+ * If no data is provided, the constructed object will be empty, but still
1762
+ * valid.
1763
+ * @extends {jspb.Message}
1764
+ * @constructor
1765
+ */
1766
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest = function(opt_data) {
1767
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1768
+ };
1769
+ goog.inherits(proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest, jspb.Message);
1770
+ if (goog.DEBUG && !COMPILED) {
1771
+ /**
1772
+ * @public
1773
+ * @override
1774
+ */
1775
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.displayName = 'proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest';
1776
+ }
1777
+ /**
1778
+ * Generated by JsPbCodeGenerator.
1779
+ * @param {Array=} opt_data Optional initial data array, typically from a
1780
+ * server response, or constructed directly in Javascript. The array is used
1781
+ * in place and becomes part of the constructed object. It is not cloned.
1782
+ * If no data is provided, the constructed object will be empty, but still
1783
+ * valid.
1784
+ * @extends {jspb.Message}
1785
+ * @constructor
1786
+ */
1787
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse = function(opt_data) {
1788
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1789
+ };
1790
+ goog.inherits(proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse, jspb.Message);
1791
+ if (goog.DEBUG && !COMPILED) {
1792
+ /**
1793
+ * @public
1794
+ * @override
1795
+ */
1796
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.displayName = 'proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse';
1797
+ }
1622
1798
 
1623
1799
  /**
1624
1800
  * List of repeated fields within this message type.
@@ -22102,6 +22278,1457 @@ proto.ondewo.nlu.ReindexAgentRequest.prototype.clearIndexTypesList = function()
22102
22278
  };
22103
22279
 
22104
22280
 
22281
+
22282
+
22283
+
22284
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22285
+ /**
22286
+ * Creates an object representation of this proto.
22287
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22288
+ * Optional fields that are not set will be set to undefined.
22289
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22290
+ * For the list of reserved names please see:
22291
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22292
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22293
+ * JSPB instance for transitional soy proto support:
22294
+ * http://goto/soy-param-migration
22295
+ * @return {!Object}
22296
+ */
22297
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.prototype.toObject = function(opt_includeInstance) {
22298
+ return proto.ondewo.nlu.CreateProjectTechnicalUserRequest.toObject(opt_includeInstance, this);
22299
+ };
22300
+
22301
+
22302
+ /**
22303
+ * Static version of the {@see toObject} method.
22304
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22305
+ * the JSPB instance for transitional soy proto support:
22306
+ * http://goto/soy-param-migration
22307
+ * @param {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest} msg The msg instance to transform.
22308
+ * @return {!Object}
22309
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22310
+ */
22311
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.toObject = function(includeInstance, msg) {
22312
+ var f, obj = {
22313
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
22314
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
22315
+ };
22316
+
22317
+ if (includeInstance) {
22318
+ obj.$jspbMessageInstance = msg;
22319
+ }
22320
+ return obj;
22321
+ };
22322
+ }
22323
+
22324
+
22325
+ /**
22326
+ * Deserializes binary data (in protobuf wire format).
22327
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22328
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest}
22329
+ */
22330
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.deserializeBinary = function(bytes) {
22331
+ var reader = new jspb.BinaryReader(bytes);
22332
+ var msg = new proto.ondewo.nlu.CreateProjectTechnicalUserRequest;
22333
+ return proto.ondewo.nlu.CreateProjectTechnicalUserRequest.deserializeBinaryFromReader(msg, reader);
22334
+ };
22335
+
22336
+
22337
+ /**
22338
+ * Deserializes binary data (in protobuf wire format) from the
22339
+ * given reader into the given message object.
22340
+ * @param {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest} msg The message object to deserialize into.
22341
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22342
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest}
22343
+ */
22344
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.deserializeBinaryFromReader = function(msg, reader) {
22345
+ while (reader.nextField()) {
22346
+ if (reader.isEndGroup()) {
22347
+ break;
22348
+ }
22349
+ var field = reader.getFieldNumber();
22350
+ switch (field) {
22351
+ case 1:
22352
+ var value = /** @type {string} */ (reader.readString());
22353
+ msg.setParent(value);
22354
+ break;
22355
+ case 2:
22356
+ var value = /** @type {string} */ (reader.readString());
22357
+ msg.setName(value);
22358
+ break;
22359
+ default:
22360
+ reader.skipField();
22361
+ break;
22362
+ }
22363
+ }
22364
+ return msg;
22365
+ };
22366
+
22367
+
22368
+ /**
22369
+ * Serializes the message to binary data (in protobuf wire format).
22370
+ * @return {!Uint8Array}
22371
+ */
22372
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.prototype.serializeBinary = function() {
22373
+ var writer = new jspb.BinaryWriter();
22374
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.serializeBinaryToWriter(this, writer);
22375
+ return writer.getResultBuffer();
22376
+ };
22377
+
22378
+
22379
+ /**
22380
+ * Serializes the given message to binary data (in protobuf wire
22381
+ * format), writing to the given BinaryWriter.
22382
+ * @param {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest} message
22383
+ * @param {!jspb.BinaryWriter} writer
22384
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22385
+ */
22386
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.serializeBinaryToWriter = function(message, writer) {
22387
+ var f = undefined;
22388
+ f = message.getParent();
22389
+ if (f.length > 0) {
22390
+ writer.writeString(
22391
+ 1,
22392
+ f
22393
+ );
22394
+ }
22395
+ f = message.getName();
22396
+ if (f.length > 0) {
22397
+ writer.writeString(
22398
+ 2,
22399
+ f
22400
+ );
22401
+ }
22402
+ };
22403
+
22404
+
22405
+ /**
22406
+ * optional string parent = 1;
22407
+ * @return {string}
22408
+ */
22409
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.prototype.getParent = function() {
22410
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22411
+ };
22412
+
22413
+
22414
+ /**
22415
+ * @param {string} value
22416
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest} returns this
22417
+ */
22418
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.prototype.setParent = function(value) {
22419
+ return jspb.Message.setProto3StringField(this, 1, value);
22420
+ };
22421
+
22422
+
22423
+ /**
22424
+ * optional string name = 2;
22425
+ * @return {string}
22426
+ */
22427
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.prototype.getName = function() {
22428
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22429
+ };
22430
+
22431
+
22432
+ /**
22433
+ * @param {string} value
22434
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserRequest} returns this
22435
+ */
22436
+ proto.ondewo.nlu.CreateProjectTechnicalUserRequest.prototype.setName = function(value) {
22437
+ return jspb.Message.setProto3StringField(this, 2, value);
22438
+ };
22439
+
22440
+
22441
+
22442
+
22443
+
22444
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22445
+ /**
22446
+ * Creates an object representation of this proto.
22447
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22448
+ * Optional fields that are not set will be set to undefined.
22449
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22450
+ * For the list of reserved names please see:
22451
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22452
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22453
+ * JSPB instance for transitional soy proto support:
22454
+ * http://goto/soy-param-migration
22455
+ * @return {!Object}
22456
+ */
22457
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.toObject = function(opt_includeInstance) {
22458
+ return proto.ondewo.nlu.CreateProjectTechnicalUserResponse.toObject(opt_includeInstance, this);
22459
+ };
22460
+
22461
+
22462
+ /**
22463
+ * Static version of the {@see toObject} method.
22464
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22465
+ * the JSPB instance for transitional soy proto support:
22466
+ * http://goto/soy-param-migration
22467
+ * @param {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse} msg The msg instance to transform.
22468
+ * @return {!Object}
22469
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22470
+ */
22471
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.toObject = function(includeInstance, msg) {
22472
+ var f, obj = {
22473
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
22474
+ username: jspb.Message.getFieldWithDefault(msg, 2, ""),
22475
+ password: jspb.Message.getFieldWithDefault(msg, 3, "")
22476
+ };
22477
+
22478
+ if (includeInstance) {
22479
+ obj.$jspbMessageInstance = msg;
22480
+ }
22481
+ return obj;
22482
+ };
22483
+ }
22484
+
22485
+
22486
+ /**
22487
+ * Deserializes binary data (in protobuf wire format).
22488
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22489
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse}
22490
+ */
22491
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.deserializeBinary = function(bytes) {
22492
+ var reader = new jspb.BinaryReader(bytes);
22493
+ var msg = new proto.ondewo.nlu.CreateProjectTechnicalUserResponse;
22494
+ return proto.ondewo.nlu.CreateProjectTechnicalUserResponse.deserializeBinaryFromReader(msg, reader);
22495
+ };
22496
+
22497
+
22498
+ /**
22499
+ * Deserializes binary data (in protobuf wire format) from the
22500
+ * given reader into the given message object.
22501
+ * @param {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse} msg The message object to deserialize into.
22502
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22503
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse}
22504
+ */
22505
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.deserializeBinaryFromReader = function(msg, reader) {
22506
+ while (reader.nextField()) {
22507
+ if (reader.isEndGroup()) {
22508
+ break;
22509
+ }
22510
+ var field = reader.getFieldNumber();
22511
+ switch (field) {
22512
+ case 1:
22513
+ var value = /** @type {string} */ (reader.readString());
22514
+ msg.setUserId(value);
22515
+ break;
22516
+ case 2:
22517
+ var value = /** @type {string} */ (reader.readString());
22518
+ msg.setUsername(value);
22519
+ break;
22520
+ case 3:
22521
+ var value = /** @type {string} */ (reader.readString());
22522
+ msg.setPassword(value);
22523
+ break;
22524
+ default:
22525
+ reader.skipField();
22526
+ break;
22527
+ }
22528
+ }
22529
+ return msg;
22530
+ };
22531
+
22532
+
22533
+ /**
22534
+ * Serializes the message to binary data (in protobuf wire format).
22535
+ * @return {!Uint8Array}
22536
+ */
22537
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.serializeBinary = function() {
22538
+ var writer = new jspb.BinaryWriter();
22539
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.serializeBinaryToWriter(this, writer);
22540
+ return writer.getResultBuffer();
22541
+ };
22542
+
22543
+
22544
+ /**
22545
+ * Serializes the given message to binary data (in protobuf wire
22546
+ * format), writing to the given BinaryWriter.
22547
+ * @param {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse} message
22548
+ * @param {!jspb.BinaryWriter} writer
22549
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22550
+ */
22551
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.serializeBinaryToWriter = function(message, writer) {
22552
+ var f = undefined;
22553
+ f = message.getUserId();
22554
+ if (f.length > 0) {
22555
+ writer.writeString(
22556
+ 1,
22557
+ f
22558
+ );
22559
+ }
22560
+ f = message.getUsername();
22561
+ if (f.length > 0) {
22562
+ writer.writeString(
22563
+ 2,
22564
+ f
22565
+ );
22566
+ }
22567
+ f = message.getPassword();
22568
+ if (f.length > 0) {
22569
+ writer.writeString(
22570
+ 3,
22571
+ f
22572
+ );
22573
+ }
22574
+ };
22575
+
22576
+
22577
+ /**
22578
+ * optional string user_id = 1;
22579
+ * @return {string}
22580
+ */
22581
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.getUserId = function() {
22582
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22583
+ };
22584
+
22585
+
22586
+ /**
22587
+ * @param {string} value
22588
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse} returns this
22589
+ */
22590
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.setUserId = function(value) {
22591
+ return jspb.Message.setProto3StringField(this, 1, value);
22592
+ };
22593
+
22594
+
22595
+ /**
22596
+ * optional string username = 2;
22597
+ * @return {string}
22598
+ */
22599
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.getUsername = function() {
22600
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22601
+ };
22602
+
22603
+
22604
+ /**
22605
+ * @param {string} value
22606
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse} returns this
22607
+ */
22608
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.setUsername = function(value) {
22609
+ return jspb.Message.setProto3StringField(this, 2, value);
22610
+ };
22611
+
22612
+
22613
+ /**
22614
+ * optional string password = 3;
22615
+ * @return {string}
22616
+ */
22617
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.getPassword = function() {
22618
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
22619
+ };
22620
+
22621
+
22622
+ /**
22623
+ * @param {string} value
22624
+ * @return {!proto.ondewo.nlu.CreateProjectTechnicalUserResponse} returns this
22625
+ */
22626
+ proto.ondewo.nlu.CreateProjectTechnicalUserResponse.prototype.setPassword = function(value) {
22627
+ return jspb.Message.setProto3StringField(this, 3, value);
22628
+ };
22629
+
22630
+
22631
+
22632
+
22633
+
22634
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22635
+ /**
22636
+ * Creates an object representation of this proto.
22637
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22638
+ * Optional fields that are not set will be set to undefined.
22639
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22640
+ * For the list of reserved names please see:
22641
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22642
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22643
+ * JSPB instance for transitional soy proto support:
22644
+ * http://goto/soy-param-migration
22645
+ * @return {!Object}
22646
+ */
22647
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.prototype.toObject = function(opt_includeInstance) {
22648
+ return proto.ondewo.nlu.ListProjectTechnicalUsersRequest.toObject(opt_includeInstance, this);
22649
+ };
22650
+
22651
+
22652
+ /**
22653
+ * Static version of the {@see toObject} method.
22654
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22655
+ * the JSPB instance for transitional soy proto support:
22656
+ * http://goto/soy-param-migration
22657
+ * @param {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest} msg The msg instance to transform.
22658
+ * @return {!Object}
22659
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22660
+ */
22661
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.toObject = function(includeInstance, msg) {
22662
+ var f, obj = {
22663
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
22664
+ pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
22665
+ };
22666
+
22667
+ if (includeInstance) {
22668
+ obj.$jspbMessageInstance = msg;
22669
+ }
22670
+ return obj;
22671
+ };
22672
+ }
22673
+
22674
+
22675
+ /**
22676
+ * Deserializes binary data (in protobuf wire format).
22677
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22678
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest}
22679
+ */
22680
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.deserializeBinary = function(bytes) {
22681
+ var reader = new jspb.BinaryReader(bytes);
22682
+ var msg = new proto.ondewo.nlu.ListProjectTechnicalUsersRequest;
22683
+ return proto.ondewo.nlu.ListProjectTechnicalUsersRequest.deserializeBinaryFromReader(msg, reader);
22684
+ };
22685
+
22686
+
22687
+ /**
22688
+ * Deserializes binary data (in protobuf wire format) from the
22689
+ * given reader into the given message object.
22690
+ * @param {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest} msg The message object to deserialize into.
22691
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22692
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest}
22693
+ */
22694
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.deserializeBinaryFromReader = function(msg, reader) {
22695
+ while (reader.nextField()) {
22696
+ if (reader.isEndGroup()) {
22697
+ break;
22698
+ }
22699
+ var field = reader.getFieldNumber();
22700
+ switch (field) {
22701
+ case 1:
22702
+ var value = /** @type {string} */ (reader.readString());
22703
+ msg.setParent(value);
22704
+ break;
22705
+ case 2:
22706
+ var value = /** @type {string} */ (reader.readString());
22707
+ msg.setPageToken(value);
22708
+ break;
22709
+ default:
22710
+ reader.skipField();
22711
+ break;
22712
+ }
22713
+ }
22714
+ return msg;
22715
+ };
22716
+
22717
+
22718
+ /**
22719
+ * Serializes the message to binary data (in protobuf wire format).
22720
+ * @return {!Uint8Array}
22721
+ */
22722
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.prototype.serializeBinary = function() {
22723
+ var writer = new jspb.BinaryWriter();
22724
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.serializeBinaryToWriter(this, writer);
22725
+ return writer.getResultBuffer();
22726
+ };
22727
+
22728
+
22729
+ /**
22730
+ * Serializes the given message to binary data (in protobuf wire
22731
+ * format), writing to the given BinaryWriter.
22732
+ * @param {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest} message
22733
+ * @param {!jspb.BinaryWriter} writer
22734
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22735
+ */
22736
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.serializeBinaryToWriter = function(message, writer) {
22737
+ var f = undefined;
22738
+ f = message.getParent();
22739
+ if (f.length > 0) {
22740
+ writer.writeString(
22741
+ 1,
22742
+ f
22743
+ );
22744
+ }
22745
+ f = message.getPageToken();
22746
+ if (f.length > 0) {
22747
+ writer.writeString(
22748
+ 2,
22749
+ f
22750
+ );
22751
+ }
22752
+ };
22753
+
22754
+
22755
+ /**
22756
+ * optional string parent = 1;
22757
+ * @return {string}
22758
+ */
22759
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.prototype.getParent = function() {
22760
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22761
+ };
22762
+
22763
+
22764
+ /**
22765
+ * @param {string} value
22766
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest} returns this
22767
+ */
22768
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.prototype.setParent = function(value) {
22769
+ return jspb.Message.setProto3StringField(this, 1, value);
22770
+ };
22771
+
22772
+
22773
+ /**
22774
+ * optional string page_token = 2;
22775
+ * @return {string}
22776
+ */
22777
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.prototype.getPageToken = function() {
22778
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22779
+ };
22780
+
22781
+
22782
+ /**
22783
+ * @param {string} value
22784
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersRequest} returns this
22785
+ */
22786
+ proto.ondewo.nlu.ListProjectTechnicalUsersRequest.prototype.setPageToken = function(value) {
22787
+ return jspb.Message.setProto3StringField(this, 2, value);
22788
+ };
22789
+
22790
+
22791
+
22792
+
22793
+
22794
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22795
+ /**
22796
+ * Creates an object representation of this proto.
22797
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22798
+ * Optional fields that are not set will be set to undefined.
22799
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22800
+ * For the list of reserved names please see:
22801
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22802
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22803
+ * JSPB instance for transitional soy proto support:
22804
+ * http://goto/soy-param-migration
22805
+ * @return {!Object}
22806
+ */
22807
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.toObject = function(opt_includeInstance) {
22808
+ return proto.ondewo.nlu.ProjectTechnicalUser.toObject(opt_includeInstance, this);
22809
+ };
22810
+
22811
+
22812
+ /**
22813
+ * Static version of the {@see toObject} method.
22814
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22815
+ * the JSPB instance for transitional soy proto support:
22816
+ * http://goto/soy-param-migration
22817
+ * @param {!proto.ondewo.nlu.ProjectTechnicalUser} msg The msg instance to transform.
22818
+ * @return {!Object}
22819
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22820
+ */
22821
+ proto.ondewo.nlu.ProjectTechnicalUser.toObject = function(includeInstance, msg) {
22822
+ var f, obj = {
22823
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
22824
+ username: jspb.Message.getFieldWithDefault(msg, 2, ""),
22825
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
22826
+ createdBy: jspb.Message.getFieldWithDefault(msg, 4, "")
22827
+ };
22828
+
22829
+ if (includeInstance) {
22830
+ obj.$jspbMessageInstance = msg;
22831
+ }
22832
+ return obj;
22833
+ };
22834
+ }
22835
+
22836
+
22837
+ /**
22838
+ * Deserializes binary data (in protobuf wire format).
22839
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22840
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser}
22841
+ */
22842
+ proto.ondewo.nlu.ProjectTechnicalUser.deserializeBinary = function(bytes) {
22843
+ var reader = new jspb.BinaryReader(bytes);
22844
+ var msg = new proto.ondewo.nlu.ProjectTechnicalUser;
22845
+ return proto.ondewo.nlu.ProjectTechnicalUser.deserializeBinaryFromReader(msg, reader);
22846
+ };
22847
+
22848
+
22849
+ /**
22850
+ * Deserializes binary data (in protobuf wire format) from the
22851
+ * given reader into the given message object.
22852
+ * @param {!proto.ondewo.nlu.ProjectTechnicalUser} msg The message object to deserialize into.
22853
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22854
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser}
22855
+ */
22856
+ proto.ondewo.nlu.ProjectTechnicalUser.deserializeBinaryFromReader = function(msg, reader) {
22857
+ while (reader.nextField()) {
22858
+ if (reader.isEndGroup()) {
22859
+ break;
22860
+ }
22861
+ var field = reader.getFieldNumber();
22862
+ switch (field) {
22863
+ case 1:
22864
+ var value = /** @type {string} */ (reader.readString());
22865
+ msg.setUserId(value);
22866
+ break;
22867
+ case 2:
22868
+ var value = /** @type {string} */ (reader.readString());
22869
+ msg.setUsername(value);
22870
+ break;
22871
+ case 3:
22872
+ var value = new google_protobuf_timestamp_pb.Timestamp;
22873
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
22874
+ msg.setCreatedAt(value);
22875
+ break;
22876
+ case 4:
22877
+ var value = /** @type {string} */ (reader.readString());
22878
+ msg.setCreatedBy(value);
22879
+ break;
22880
+ default:
22881
+ reader.skipField();
22882
+ break;
22883
+ }
22884
+ }
22885
+ return msg;
22886
+ };
22887
+
22888
+
22889
+ /**
22890
+ * Serializes the message to binary data (in protobuf wire format).
22891
+ * @return {!Uint8Array}
22892
+ */
22893
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.serializeBinary = function() {
22894
+ var writer = new jspb.BinaryWriter();
22895
+ proto.ondewo.nlu.ProjectTechnicalUser.serializeBinaryToWriter(this, writer);
22896
+ return writer.getResultBuffer();
22897
+ };
22898
+
22899
+
22900
+ /**
22901
+ * Serializes the given message to binary data (in protobuf wire
22902
+ * format), writing to the given BinaryWriter.
22903
+ * @param {!proto.ondewo.nlu.ProjectTechnicalUser} message
22904
+ * @param {!jspb.BinaryWriter} writer
22905
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22906
+ */
22907
+ proto.ondewo.nlu.ProjectTechnicalUser.serializeBinaryToWriter = function(message, writer) {
22908
+ var f = undefined;
22909
+ f = message.getUserId();
22910
+ if (f.length > 0) {
22911
+ writer.writeString(
22912
+ 1,
22913
+ f
22914
+ );
22915
+ }
22916
+ f = message.getUsername();
22917
+ if (f.length > 0) {
22918
+ writer.writeString(
22919
+ 2,
22920
+ f
22921
+ );
22922
+ }
22923
+ f = message.getCreatedAt();
22924
+ if (f != null) {
22925
+ writer.writeMessage(
22926
+ 3,
22927
+ f,
22928
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
22929
+ );
22930
+ }
22931
+ f = message.getCreatedBy();
22932
+ if (f.length > 0) {
22933
+ writer.writeString(
22934
+ 4,
22935
+ f
22936
+ );
22937
+ }
22938
+ };
22939
+
22940
+
22941
+ /**
22942
+ * optional string user_id = 1;
22943
+ * @return {string}
22944
+ */
22945
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.getUserId = function() {
22946
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22947
+ };
22948
+
22949
+
22950
+ /**
22951
+ * @param {string} value
22952
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser} returns this
22953
+ */
22954
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.setUserId = function(value) {
22955
+ return jspb.Message.setProto3StringField(this, 1, value);
22956
+ };
22957
+
22958
+
22959
+ /**
22960
+ * optional string username = 2;
22961
+ * @return {string}
22962
+ */
22963
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.getUsername = function() {
22964
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22965
+ };
22966
+
22967
+
22968
+ /**
22969
+ * @param {string} value
22970
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser} returns this
22971
+ */
22972
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.setUsername = function(value) {
22973
+ return jspb.Message.setProto3StringField(this, 2, value);
22974
+ };
22975
+
22976
+
22977
+ /**
22978
+ * optional google.protobuf.Timestamp created_at = 3;
22979
+ * @return {?proto.google.protobuf.Timestamp}
22980
+ */
22981
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.getCreatedAt = function() {
22982
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
22983
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
22984
+ };
22985
+
22986
+
22987
+ /**
22988
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
22989
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser} returns this
22990
+ */
22991
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.setCreatedAt = function(value) {
22992
+ return jspb.Message.setWrapperField(this, 3, value);
22993
+ };
22994
+
22995
+
22996
+ /**
22997
+ * Clears the message field making it undefined.
22998
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser} returns this
22999
+ */
23000
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.clearCreatedAt = function() {
23001
+ return this.setCreatedAt(undefined);
23002
+ };
23003
+
23004
+
23005
+ /**
23006
+ * Returns whether this field is set.
23007
+ * @return {boolean}
23008
+ */
23009
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.hasCreatedAt = function() {
23010
+ return jspb.Message.getField(this, 3) != null;
23011
+ };
23012
+
23013
+
23014
+ /**
23015
+ * optional string created_by = 4;
23016
+ * @return {string}
23017
+ */
23018
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.getCreatedBy = function() {
23019
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
23020
+ };
23021
+
23022
+
23023
+ /**
23024
+ * @param {string} value
23025
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser} returns this
23026
+ */
23027
+ proto.ondewo.nlu.ProjectTechnicalUser.prototype.setCreatedBy = function(value) {
23028
+ return jspb.Message.setProto3StringField(this, 4, value);
23029
+ };
23030
+
23031
+
23032
+
23033
+ /**
23034
+ * List of repeated fields within this message type.
23035
+ * @private {!Array<number>}
23036
+ * @const
23037
+ */
23038
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.repeatedFields_ = [1];
23039
+
23040
+
23041
+
23042
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23043
+ /**
23044
+ * Creates an object representation of this proto.
23045
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23046
+ * Optional fields that are not set will be set to undefined.
23047
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23048
+ * For the list of reserved names please see:
23049
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23050
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23051
+ * JSPB instance for transitional soy proto support:
23052
+ * http://goto/soy-param-migration
23053
+ * @return {!Object}
23054
+ */
23055
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.toObject = function(opt_includeInstance) {
23056
+ return proto.ondewo.nlu.ListProjectTechnicalUsersResponse.toObject(opt_includeInstance, this);
23057
+ };
23058
+
23059
+
23060
+ /**
23061
+ * Static version of the {@see toObject} method.
23062
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23063
+ * the JSPB instance for transitional soy proto support:
23064
+ * http://goto/soy-param-migration
23065
+ * @param {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse} msg The msg instance to transform.
23066
+ * @return {!Object}
23067
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23068
+ */
23069
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.toObject = function(includeInstance, msg) {
23070
+ var f, obj = {
23071
+ technicalUsersList: jspb.Message.toObjectList(msg.getTechnicalUsersList(),
23072
+ proto.ondewo.nlu.ProjectTechnicalUser.toObject, includeInstance),
23073
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
23074
+ };
23075
+
23076
+ if (includeInstance) {
23077
+ obj.$jspbMessageInstance = msg;
23078
+ }
23079
+ return obj;
23080
+ };
23081
+ }
23082
+
23083
+
23084
+ /**
23085
+ * Deserializes binary data (in protobuf wire format).
23086
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23087
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse}
23088
+ */
23089
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.deserializeBinary = function(bytes) {
23090
+ var reader = new jspb.BinaryReader(bytes);
23091
+ var msg = new proto.ondewo.nlu.ListProjectTechnicalUsersResponse;
23092
+ return proto.ondewo.nlu.ListProjectTechnicalUsersResponse.deserializeBinaryFromReader(msg, reader);
23093
+ };
23094
+
23095
+
23096
+ /**
23097
+ * Deserializes binary data (in protobuf wire format) from the
23098
+ * given reader into the given message object.
23099
+ * @param {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse} msg The message object to deserialize into.
23100
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23101
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse}
23102
+ */
23103
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.deserializeBinaryFromReader = function(msg, reader) {
23104
+ while (reader.nextField()) {
23105
+ if (reader.isEndGroup()) {
23106
+ break;
23107
+ }
23108
+ var field = reader.getFieldNumber();
23109
+ switch (field) {
23110
+ case 1:
23111
+ var value = new proto.ondewo.nlu.ProjectTechnicalUser;
23112
+ reader.readMessage(value,proto.ondewo.nlu.ProjectTechnicalUser.deserializeBinaryFromReader);
23113
+ msg.addTechnicalUsers(value);
23114
+ break;
23115
+ case 2:
23116
+ var value = /** @type {string} */ (reader.readString());
23117
+ msg.setNextPageToken(value);
23118
+ break;
23119
+ default:
23120
+ reader.skipField();
23121
+ break;
23122
+ }
23123
+ }
23124
+ return msg;
23125
+ };
23126
+
23127
+
23128
+ /**
23129
+ * Serializes the message to binary data (in protobuf wire format).
23130
+ * @return {!Uint8Array}
23131
+ */
23132
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.serializeBinary = function() {
23133
+ var writer = new jspb.BinaryWriter();
23134
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.serializeBinaryToWriter(this, writer);
23135
+ return writer.getResultBuffer();
23136
+ };
23137
+
23138
+
23139
+ /**
23140
+ * Serializes the given message to binary data (in protobuf wire
23141
+ * format), writing to the given BinaryWriter.
23142
+ * @param {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse} message
23143
+ * @param {!jspb.BinaryWriter} writer
23144
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23145
+ */
23146
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.serializeBinaryToWriter = function(message, writer) {
23147
+ var f = undefined;
23148
+ f = message.getTechnicalUsersList();
23149
+ if (f.length > 0) {
23150
+ writer.writeRepeatedMessage(
23151
+ 1,
23152
+ f,
23153
+ proto.ondewo.nlu.ProjectTechnicalUser.serializeBinaryToWriter
23154
+ );
23155
+ }
23156
+ f = message.getNextPageToken();
23157
+ if (f.length > 0) {
23158
+ writer.writeString(
23159
+ 2,
23160
+ f
23161
+ );
23162
+ }
23163
+ };
23164
+
23165
+
23166
+ /**
23167
+ * repeated ProjectTechnicalUser technical_users = 1;
23168
+ * @return {!Array<!proto.ondewo.nlu.ProjectTechnicalUser>}
23169
+ */
23170
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.getTechnicalUsersList = function() {
23171
+ return /** @type{!Array<!proto.ondewo.nlu.ProjectTechnicalUser>} */ (
23172
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.ProjectTechnicalUser, 1));
23173
+ };
23174
+
23175
+
23176
+ /**
23177
+ * @param {!Array<!proto.ondewo.nlu.ProjectTechnicalUser>} value
23178
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse} returns this
23179
+ */
23180
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.setTechnicalUsersList = function(value) {
23181
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
23182
+ };
23183
+
23184
+
23185
+ /**
23186
+ * @param {!proto.ondewo.nlu.ProjectTechnicalUser=} opt_value
23187
+ * @param {number=} opt_index
23188
+ * @return {!proto.ondewo.nlu.ProjectTechnicalUser}
23189
+ */
23190
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.addTechnicalUsers = function(opt_value, opt_index) {
23191
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.ProjectTechnicalUser, opt_index);
23192
+ };
23193
+
23194
+
23195
+ /**
23196
+ * Clears the list making it empty but non-null.
23197
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse} returns this
23198
+ */
23199
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.clearTechnicalUsersList = function() {
23200
+ return this.setTechnicalUsersList([]);
23201
+ };
23202
+
23203
+
23204
+ /**
23205
+ * optional string next_page_token = 2;
23206
+ * @return {string}
23207
+ */
23208
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.getNextPageToken = function() {
23209
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23210
+ };
23211
+
23212
+
23213
+ /**
23214
+ * @param {string} value
23215
+ * @return {!proto.ondewo.nlu.ListProjectTechnicalUsersResponse} returns this
23216
+ */
23217
+ proto.ondewo.nlu.ListProjectTechnicalUsersResponse.prototype.setNextPageToken = function(value) {
23218
+ return jspb.Message.setProto3StringField(this, 2, value);
23219
+ };
23220
+
23221
+
23222
+
23223
+
23224
+
23225
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23226
+ /**
23227
+ * Creates an object representation of this proto.
23228
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23229
+ * Optional fields that are not set will be set to undefined.
23230
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23231
+ * For the list of reserved names please see:
23232
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23233
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23234
+ * JSPB instance for transitional soy proto support:
23235
+ * http://goto/soy-param-migration
23236
+ * @return {!Object}
23237
+ */
23238
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.prototype.toObject = function(opt_includeInstance) {
23239
+ return proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.toObject(opt_includeInstance, this);
23240
+ };
23241
+
23242
+
23243
+ /**
23244
+ * Static version of the {@see toObject} method.
23245
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23246
+ * the JSPB instance for transitional soy proto support:
23247
+ * http://goto/soy-param-migration
23248
+ * @param {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest} msg The msg instance to transform.
23249
+ * @return {!Object}
23250
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23251
+ */
23252
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.toObject = function(includeInstance, msg) {
23253
+ var f, obj = {
23254
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
23255
+ userId: jspb.Message.getFieldWithDefault(msg, 2, "")
23256
+ };
23257
+
23258
+ if (includeInstance) {
23259
+ obj.$jspbMessageInstance = msg;
23260
+ }
23261
+ return obj;
23262
+ };
23263
+ }
23264
+
23265
+
23266
+ /**
23267
+ * Deserializes binary data (in protobuf wire format).
23268
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23269
+ * @return {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest}
23270
+ */
23271
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.deserializeBinary = function(bytes) {
23272
+ var reader = new jspb.BinaryReader(bytes);
23273
+ var msg = new proto.ondewo.nlu.DeleteProjectTechnicalUserRequest;
23274
+ return proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.deserializeBinaryFromReader(msg, reader);
23275
+ };
23276
+
23277
+
23278
+ /**
23279
+ * Deserializes binary data (in protobuf wire format) from the
23280
+ * given reader into the given message object.
23281
+ * @param {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest} msg The message object to deserialize into.
23282
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23283
+ * @return {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest}
23284
+ */
23285
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.deserializeBinaryFromReader = function(msg, reader) {
23286
+ while (reader.nextField()) {
23287
+ if (reader.isEndGroup()) {
23288
+ break;
23289
+ }
23290
+ var field = reader.getFieldNumber();
23291
+ switch (field) {
23292
+ case 1:
23293
+ var value = /** @type {string} */ (reader.readString());
23294
+ msg.setParent(value);
23295
+ break;
23296
+ case 2:
23297
+ var value = /** @type {string} */ (reader.readString());
23298
+ msg.setUserId(value);
23299
+ break;
23300
+ default:
23301
+ reader.skipField();
23302
+ break;
23303
+ }
23304
+ }
23305
+ return msg;
23306
+ };
23307
+
23308
+
23309
+ /**
23310
+ * Serializes the message to binary data (in protobuf wire format).
23311
+ * @return {!Uint8Array}
23312
+ */
23313
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.prototype.serializeBinary = function() {
23314
+ var writer = new jspb.BinaryWriter();
23315
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.serializeBinaryToWriter(this, writer);
23316
+ return writer.getResultBuffer();
23317
+ };
23318
+
23319
+
23320
+ /**
23321
+ * Serializes the given message to binary data (in protobuf wire
23322
+ * format), writing to the given BinaryWriter.
23323
+ * @param {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest} message
23324
+ * @param {!jspb.BinaryWriter} writer
23325
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23326
+ */
23327
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.serializeBinaryToWriter = function(message, writer) {
23328
+ var f = undefined;
23329
+ f = message.getParent();
23330
+ if (f.length > 0) {
23331
+ writer.writeString(
23332
+ 1,
23333
+ f
23334
+ );
23335
+ }
23336
+ f = message.getUserId();
23337
+ if (f.length > 0) {
23338
+ writer.writeString(
23339
+ 2,
23340
+ f
23341
+ );
23342
+ }
23343
+ };
23344
+
23345
+
23346
+ /**
23347
+ * optional string parent = 1;
23348
+ * @return {string}
23349
+ */
23350
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.prototype.getParent = function() {
23351
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23352
+ };
23353
+
23354
+
23355
+ /**
23356
+ * @param {string} value
23357
+ * @return {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest} returns this
23358
+ */
23359
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.prototype.setParent = function(value) {
23360
+ return jspb.Message.setProto3StringField(this, 1, value);
23361
+ };
23362
+
23363
+
23364
+ /**
23365
+ * optional string user_id = 2;
23366
+ * @return {string}
23367
+ */
23368
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.prototype.getUserId = function() {
23369
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23370
+ };
23371
+
23372
+
23373
+ /**
23374
+ * @param {string} value
23375
+ * @return {!proto.ondewo.nlu.DeleteProjectTechnicalUserRequest} returns this
23376
+ */
23377
+ proto.ondewo.nlu.DeleteProjectTechnicalUserRequest.prototype.setUserId = function(value) {
23378
+ return jspb.Message.setProto3StringField(this, 2, value);
23379
+ };
23380
+
23381
+
23382
+
23383
+
23384
+
23385
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23386
+ /**
23387
+ * Creates an object representation of this proto.
23388
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23389
+ * Optional fields that are not set will be set to undefined.
23390
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23391
+ * For the list of reserved names please see:
23392
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23393
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23394
+ * JSPB instance for transitional soy proto support:
23395
+ * http://goto/soy-param-migration
23396
+ * @return {!Object}
23397
+ */
23398
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.prototype.toObject = function(opt_includeInstance) {
23399
+ return proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.toObject(opt_includeInstance, this);
23400
+ };
23401
+
23402
+
23403
+ /**
23404
+ * Static version of the {@see toObject} method.
23405
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23406
+ * the JSPB instance for transitional soy proto support:
23407
+ * http://goto/soy-param-migration
23408
+ * @param {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest} msg The msg instance to transform.
23409
+ * @return {!Object}
23410
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23411
+ */
23412
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.toObject = function(includeInstance, msg) {
23413
+ var f, obj = {
23414
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
23415
+ userId: jspb.Message.getFieldWithDefault(msg, 2, "")
23416
+ };
23417
+
23418
+ if (includeInstance) {
23419
+ obj.$jspbMessageInstance = msg;
23420
+ }
23421
+ return obj;
23422
+ };
23423
+ }
23424
+
23425
+
23426
+ /**
23427
+ * Deserializes binary data (in protobuf wire format).
23428
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23429
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest}
23430
+ */
23431
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.deserializeBinary = function(bytes) {
23432
+ var reader = new jspb.BinaryReader(bytes);
23433
+ var msg = new proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest;
23434
+ return proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.deserializeBinaryFromReader(msg, reader);
23435
+ };
23436
+
23437
+
23438
+ /**
23439
+ * Deserializes binary data (in protobuf wire format) from the
23440
+ * given reader into the given message object.
23441
+ * @param {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest} msg The message object to deserialize into.
23442
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23443
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest}
23444
+ */
23445
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
23446
+ while (reader.nextField()) {
23447
+ if (reader.isEndGroup()) {
23448
+ break;
23449
+ }
23450
+ var field = reader.getFieldNumber();
23451
+ switch (field) {
23452
+ case 1:
23453
+ var value = /** @type {string} */ (reader.readString());
23454
+ msg.setParent(value);
23455
+ break;
23456
+ case 2:
23457
+ var value = /** @type {string} */ (reader.readString());
23458
+ msg.setUserId(value);
23459
+ break;
23460
+ default:
23461
+ reader.skipField();
23462
+ break;
23463
+ }
23464
+ }
23465
+ return msg;
23466
+ };
23467
+
23468
+
23469
+ /**
23470
+ * Serializes the message to binary data (in protobuf wire format).
23471
+ * @return {!Uint8Array}
23472
+ */
23473
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.prototype.serializeBinary = function() {
23474
+ var writer = new jspb.BinaryWriter();
23475
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.serializeBinaryToWriter(this, writer);
23476
+ return writer.getResultBuffer();
23477
+ };
23478
+
23479
+
23480
+ /**
23481
+ * Serializes the given message to binary data (in protobuf wire
23482
+ * format), writing to the given BinaryWriter.
23483
+ * @param {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest} message
23484
+ * @param {!jspb.BinaryWriter} writer
23485
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23486
+ */
23487
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.serializeBinaryToWriter = function(message, writer) {
23488
+ var f = undefined;
23489
+ f = message.getParent();
23490
+ if (f.length > 0) {
23491
+ writer.writeString(
23492
+ 1,
23493
+ f
23494
+ );
23495
+ }
23496
+ f = message.getUserId();
23497
+ if (f.length > 0) {
23498
+ writer.writeString(
23499
+ 2,
23500
+ f
23501
+ );
23502
+ }
23503
+ };
23504
+
23505
+
23506
+ /**
23507
+ * optional string parent = 1;
23508
+ * @return {string}
23509
+ */
23510
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.prototype.getParent = function() {
23511
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23512
+ };
23513
+
23514
+
23515
+ /**
23516
+ * @param {string} value
23517
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest} returns this
23518
+ */
23519
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.prototype.setParent = function(value) {
23520
+ return jspb.Message.setProto3StringField(this, 1, value);
23521
+ };
23522
+
23523
+
23524
+ /**
23525
+ * optional string user_id = 2;
23526
+ * @return {string}
23527
+ */
23528
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.prototype.getUserId = function() {
23529
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23530
+ };
23531
+
23532
+
23533
+ /**
23534
+ * @param {string} value
23535
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest} returns this
23536
+ */
23537
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordRequest.prototype.setUserId = function(value) {
23538
+ return jspb.Message.setProto3StringField(this, 2, value);
23539
+ };
23540
+
23541
+
23542
+
23543
+
23544
+
23545
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23546
+ /**
23547
+ * Creates an object representation of this proto.
23548
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23549
+ * Optional fields that are not set will be set to undefined.
23550
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23551
+ * For the list of reserved names please see:
23552
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23553
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23554
+ * JSPB instance for transitional soy proto support:
23555
+ * http://goto/soy-param-migration
23556
+ * @return {!Object}
23557
+ */
23558
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.toObject = function(opt_includeInstance) {
23559
+ return proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.toObject(opt_includeInstance, this);
23560
+ };
23561
+
23562
+
23563
+ /**
23564
+ * Static version of the {@see toObject} method.
23565
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23566
+ * the JSPB instance for transitional soy proto support:
23567
+ * http://goto/soy-param-migration
23568
+ * @param {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse} msg The msg instance to transform.
23569
+ * @return {!Object}
23570
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23571
+ */
23572
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.toObject = function(includeInstance, msg) {
23573
+ var f, obj = {
23574
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
23575
+ username: jspb.Message.getFieldWithDefault(msg, 2, ""),
23576
+ password: jspb.Message.getFieldWithDefault(msg, 3, "")
23577
+ };
23578
+
23579
+ if (includeInstance) {
23580
+ obj.$jspbMessageInstance = msg;
23581
+ }
23582
+ return obj;
23583
+ };
23584
+ }
23585
+
23586
+
23587
+ /**
23588
+ * Deserializes binary data (in protobuf wire format).
23589
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23590
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse}
23591
+ */
23592
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.deserializeBinary = function(bytes) {
23593
+ var reader = new jspb.BinaryReader(bytes);
23594
+ var msg = new proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse;
23595
+ return proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.deserializeBinaryFromReader(msg, reader);
23596
+ };
23597
+
23598
+
23599
+ /**
23600
+ * Deserializes binary data (in protobuf wire format) from the
23601
+ * given reader into the given message object.
23602
+ * @param {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse} msg The message object to deserialize into.
23603
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23604
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse}
23605
+ */
23606
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.deserializeBinaryFromReader = function(msg, reader) {
23607
+ while (reader.nextField()) {
23608
+ if (reader.isEndGroup()) {
23609
+ break;
23610
+ }
23611
+ var field = reader.getFieldNumber();
23612
+ switch (field) {
23613
+ case 1:
23614
+ var value = /** @type {string} */ (reader.readString());
23615
+ msg.setUserId(value);
23616
+ break;
23617
+ case 2:
23618
+ var value = /** @type {string} */ (reader.readString());
23619
+ msg.setUsername(value);
23620
+ break;
23621
+ case 3:
23622
+ var value = /** @type {string} */ (reader.readString());
23623
+ msg.setPassword(value);
23624
+ break;
23625
+ default:
23626
+ reader.skipField();
23627
+ break;
23628
+ }
23629
+ }
23630
+ return msg;
23631
+ };
23632
+
23633
+
23634
+ /**
23635
+ * Serializes the message to binary data (in protobuf wire format).
23636
+ * @return {!Uint8Array}
23637
+ */
23638
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.serializeBinary = function() {
23639
+ var writer = new jspb.BinaryWriter();
23640
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.serializeBinaryToWriter(this, writer);
23641
+ return writer.getResultBuffer();
23642
+ };
23643
+
23644
+
23645
+ /**
23646
+ * Serializes the given message to binary data (in protobuf wire
23647
+ * format), writing to the given BinaryWriter.
23648
+ * @param {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse} message
23649
+ * @param {!jspb.BinaryWriter} writer
23650
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23651
+ */
23652
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.serializeBinaryToWriter = function(message, writer) {
23653
+ var f = undefined;
23654
+ f = message.getUserId();
23655
+ if (f.length > 0) {
23656
+ writer.writeString(
23657
+ 1,
23658
+ f
23659
+ );
23660
+ }
23661
+ f = message.getUsername();
23662
+ if (f.length > 0) {
23663
+ writer.writeString(
23664
+ 2,
23665
+ f
23666
+ );
23667
+ }
23668
+ f = message.getPassword();
23669
+ if (f.length > 0) {
23670
+ writer.writeString(
23671
+ 3,
23672
+ f
23673
+ );
23674
+ }
23675
+ };
23676
+
23677
+
23678
+ /**
23679
+ * optional string user_id = 1;
23680
+ * @return {string}
23681
+ */
23682
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.getUserId = function() {
23683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23684
+ };
23685
+
23686
+
23687
+ /**
23688
+ * @param {string} value
23689
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse} returns this
23690
+ */
23691
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.setUserId = function(value) {
23692
+ return jspb.Message.setProto3StringField(this, 1, value);
23693
+ };
23694
+
23695
+
23696
+ /**
23697
+ * optional string username = 2;
23698
+ * @return {string}
23699
+ */
23700
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.getUsername = function() {
23701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23702
+ };
23703
+
23704
+
23705
+ /**
23706
+ * @param {string} value
23707
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse} returns this
23708
+ */
23709
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.setUsername = function(value) {
23710
+ return jspb.Message.setProto3StringField(this, 2, value);
23711
+ };
23712
+
23713
+
23714
+ /**
23715
+ * optional string password = 3;
23716
+ * @return {string}
23717
+ */
23718
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.getPassword = function() {
23719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23720
+ };
23721
+
23722
+
23723
+ /**
23724
+ * @param {string} value
23725
+ * @return {!proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse} returns this
23726
+ */
23727
+ proto.ondewo.nlu.RotateProjectTechnicalUserPasswordResponse.prototype.setPassword = function(value) {
23728
+ return jspb.Message.setProto3StringField(this, 3, value);
23729
+ };
23730
+
23731
+
22105
23732
  /**
22106
23733
  * @enum {number}
22107
23734
  */