@aldiokta/protocgen 1.0.87 → 1.0.89

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 (103) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/access_manager/access_manager.proto +273 -0
  3. package/prisca/v1/core/auth/auth.proto +142 -0
  4. package/prisca/v1/core/company/company.proto +86 -0
  5. package/prisca/v1/core/currency/currency.proto +76 -0
  6. package/prisca/v1/core/department_material/department_material.proto +69 -0
  7. package/prisca/v1/core/employee/employee.proto +129 -0
  8. package/prisca/v1/core/file_upload/file_upload.proto +31 -0
  9. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  10. package/prisca/v1/core/job_position/job_position.proto +113 -0
  11. package/prisca/v1/core/job_title/job_title.proto +89 -0
  12. package/prisca/v1/core/line_of_activity/line_of_activity.proto +42 -0
  13. package/prisca/v1/core/line_of_approval/line_of_approval.proto +82 -0
  14. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  15. package/prisca/v1/core/location/location.proto +289 -0
  16. package/prisca/v1/core/material/material.proto +131 -0
  17. package/prisca/v1/core/material_group/material_group.proto +85 -0
  18. package/prisca/v1/core/material_type/material_type.proto +86 -0
  19. package/prisca/v1/core/messaging/email_template.proto +75 -0
  20. package/prisca/v1/core/messaging/messaging.proto +28 -0
  21. package/prisca/v1/core/number_range/number_range.proto +89 -0
  22. package/prisca/v1/core/organization/organization.proto +94 -0
  23. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  24. package/prisca/v1/core/procurement/procurement.proto +54 -0
  25. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +131 -0
  26. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  27. package/prisca/v1/core/report/report.proto +86 -0
  28. package/prisca/v1/core/report/user_report.proto +74 -0
  29. package/prisca/v1/core/tax_code/tax_code.proto +77 -0
  30. package/prisca/v1/core/transaction_builder/transaction_builder.proto +314 -0
  31. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  32. package/prisca/v1/core/users/users.proto +45 -0
  33. package/prisca/v1/core/work_location/work_location.proto +122 -0
  34. package/prisca/v1/core/workflow/workflow.proto +219 -0
  35. package/prisca/v1/global/meta/meta.proto +57 -0
  36. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  37. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9000
  38. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -367
  39. package/prisca/v1/core/auth/auth_pb.js +0 -3766
  40. package/prisca/v1/core/company/company_grpc_pb.js +0 -177
  41. package/prisca/v1/core/company/company_pb.js +0 -2875
  42. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  43. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  44. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  45. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  46. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  47. package/prisca/v1/core/employee/employee_pb.js +0 -4283
  48. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -66
  49. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -864
  50. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  51. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  52. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  53. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  54. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  55. package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
  56. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  57. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1158
  58. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -178
  59. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -2695
  60. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  61. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  62. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  63. package/prisca/v1/core/location/location_pb.js +0 -10879
  64. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  65. package/prisca/v1/core/material/material_pb.js +0 -4180
  66. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  67. package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
  68. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
  69. package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
  70. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  71. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  72. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -45
  73. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  74. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  75. package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
  76. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  77. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  78. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  79. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  80. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  81. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  82. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  83. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  84. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  85. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  86. package/prisca/v1/core/report/report_grpc_pb.js +0 -189
  87. package/prisca/v1/core/report/report_pb.js +0 -2732
  88. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  89. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  90. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  91. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  92. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -465
  93. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10591
  94. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  95. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  96. package/prisca/v1/core/users/users_grpc_pb.js +0 -45
  97. package/prisca/v1/core/users/users_pb.js +0 -1246
  98. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  99. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  100. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -202
  101. package/prisca/v1/core/workflow/workflow_pb.js +0 -7376
  102. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  103. package/prisca/v1/global/meta/meta_pb.js +0 -1179
@@ -1,3766 +0,0 @@
1
- // source: prisca/v1/core/auth/auth.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
25
- goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
26
- goog.exportSymbol('proto.AccessApiCredential', null, global);
27
- goog.exportSymbol('proto.AccessApiManagersResponse', null, global);
28
- goog.exportSymbol('proto.AccessCreateRequest', null, global);
29
- goog.exportSymbol('proto.AccessResponse', null, global);
30
- goog.exportSymbol('proto.AuthVerifyToken', null, global);
31
- goog.exportSymbol('proto.ChangePasswordRequest', null, global);
32
- goog.exportSymbol('proto.ChangePasswordResponse', null, global);
33
- goog.exportSymbol('proto.CheckCompaniesRequest', null, global);
34
- goog.exportSymbol('proto.CreateUserPayload', null, global);
35
- goog.exportSymbol('proto.ForgotPassworReq', null, global);
36
- goog.exportSymbol('proto.GetAccessByIdPayload', null, global);
37
- goog.exportSymbol('proto.GetListAccessRequest', null, global);
38
- goog.exportSymbol('proto.ListAccessResponse', null, global);
39
- goog.exportSymbol('proto.LoginRequest', null, global);
40
- goog.exportSymbol('proto.RequestForgotPasswordReq', null, global);
41
- goog.exportSymbol('proto.RequestForgotResponse', null, global);
42
- goog.exportSymbol('proto.UpdateAccessPayload', null, global);
43
- goog.exportSymbol('proto.UpdateUserPayload', null, global);
44
- goog.exportSymbol('proto.UserResponse', null, global);
45
- /**
46
- * Generated by JsPbCodeGenerator.
47
- * @param {Array=} opt_data Optional initial data array, typically from a
48
- * server response, or constructed directly in Javascript. The array is used
49
- * in place and becomes part of the constructed object. It is not cloned.
50
- * If no data is provided, the constructed object will be empty, but still
51
- * valid.
52
- * @extends {jspb.Message}
53
- * @constructor
54
- */
55
- proto.ForgotPassworReq = function(opt_data) {
56
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
57
- };
58
- goog.inherits(proto.ForgotPassworReq, jspb.Message);
59
- if (goog.DEBUG && !COMPILED) {
60
- /**
61
- * @public
62
- * @override
63
- */
64
- proto.ForgotPassworReq.displayName = 'proto.ForgotPassworReq';
65
- }
66
- /**
67
- * Generated by JsPbCodeGenerator.
68
- * @param {Array=} opt_data Optional initial data array, typically from a
69
- * server response, or constructed directly in Javascript. The array is used
70
- * in place and becomes part of the constructed object. It is not cloned.
71
- * If no data is provided, the constructed object will be empty, but still
72
- * valid.
73
- * @extends {jspb.Message}
74
- * @constructor
75
- */
76
- proto.RequestForgotPasswordReq = function(opt_data) {
77
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
78
- };
79
- goog.inherits(proto.RequestForgotPasswordReq, jspb.Message);
80
- if (goog.DEBUG && !COMPILED) {
81
- /**
82
- * @public
83
- * @override
84
- */
85
- proto.RequestForgotPasswordReq.displayName = 'proto.RequestForgotPasswordReq';
86
- }
87
- /**
88
- * Generated by JsPbCodeGenerator.
89
- * @param {Array=} opt_data Optional initial data array, typically from a
90
- * server response, or constructed directly in Javascript. The array is used
91
- * in place and becomes part of the constructed object. It is not cloned.
92
- * If no data is provided, the constructed object will be empty, but still
93
- * valid.
94
- * @extends {jspb.Message}
95
- * @constructor
96
- */
97
- proto.RequestForgotResponse = function(opt_data) {
98
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
99
- };
100
- goog.inherits(proto.RequestForgotResponse, jspb.Message);
101
- if (goog.DEBUG && !COMPILED) {
102
- /**
103
- * @public
104
- * @override
105
- */
106
- proto.RequestForgotResponse.displayName = 'proto.RequestForgotResponse';
107
- }
108
- /**
109
- * Generated by JsPbCodeGenerator.
110
- * @param {Array=} opt_data Optional initial data array, typically from a
111
- * server response, or constructed directly in Javascript. The array is used
112
- * in place and becomes part of the constructed object. It is not cloned.
113
- * If no data is provided, the constructed object will be empty, but still
114
- * valid.
115
- * @extends {jspb.Message}
116
- * @constructor
117
- */
118
- proto.LoginRequest = function(opt_data) {
119
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
120
- };
121
- goog.inherits(proto.LoginRequest, jspb.Message);
122
- if (goog.DEBUG && !COMPILED) {
123
- /**
124
- * @public
125
- * @override
126
- */
127
- proto.LoginRequest.displayName = 'proto.LoginRequest';
128
- }
129
- /**
130
- * Generated by JsPbCodeGenerator.
131
- * @param {Array=} opt_data Optional initial data array, typically from a
132
- * server response, or constructed directly in Javascript. The array is used
133
- * in place and becomes part of the constructed object. It is not cloned.
134
- * If no data is provided, the constructed object will be empty, but still
135
- * valid.
136
- * @extends {jspb.Message}
137
- * @constructor
138
- */
139
- proto.GetListAccessRequest = function(opt_data) {
140
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
141
- };
142
- goog.inherits(proto.GetListAccessRequest, jspb.Message);
143
- if (goog.DEBUG && !COMPILED) {
144
- /**
145
- * @public
146
- * @override
147
- */
148
- proto.GetListAccessRequest.displayName = 'proto.GetListAccessRequest';
149
- }
150
- /**
151
- * Generated by JsPbCodeGenerator.
152
- * @param {Array=} opt_data Optional initial data array, typically from a
153
- * server response, or constructed directly in Javascript. The array is used
154
- * in place and becomes part of the constructed object. It is not cloned.
155
- * If no data is provided, the constructed object will be empty, but still
156
- * valid.
157
- * @extends {jspb.Message}
158
- * @constructor
159
- */
160
- proto.CheckCompaniesRequest = function(opt_data) {
161
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
162
- };
163
- goog.inherits(proto.CheckCompaniesRequest, jspb.Message);
164
- if (goog.DEBUG && !COMPILED) {
165
- /**
166
- * @public
167
- * @override
168
- */
169
- proto.CheckCompaniesRequest.displayName = 'proto.CheckCompaniesRequest';
170
- }
171
- /**
172
- * Generated by JsPbCodeGenerator.
173
- * @param {Array=} opt_data Optional initial data array, typically from a
174
- * server response, or constructed directly in Javascript. The array is used
175
- * in place and becomes part of the constructed object. It is not cloned.
176
- * If no data is provided, the constructed object will be empty, but still
177
- * valid.
178
- * @extends {jspb.Message}
179
- * @constructor
180
- */
181
- proto.AccessApiCredential = function(opt_data) {
182
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
183
- };
184
- goog.inherits(proto.AccessApiCredential, jspb.Message);
185
- if (goog.DEBUG && !COMPILED) {
186
- /**
187
- * @public
188
- * @override
189
- */
190
- proto.AccessApiCredential.displayName = 'proto.AccessApiCredential';
191
- }
192
- /**
193
- * Generated by JsPbCodeGenerator.
194
- * @param {Array=} opt_data Optional initial data array, typically from a
195
- * server response, or constructed directly in Javascript. The array is used
196
- * in place and becomes part of the constructed object. It is not cloned.
197
- * If no data is provided, the constructed object will be empty, but still
198
- * valid.
199
- * @extends {jspb.Message}
200
- * @constructor
201
- */
202
- proto.AccessCreateRequest = function(opt_data) {
203
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
204
- };
205
- goog.inherits(proto.AccessCreateRequest, jspb.Message);
206
- if (goog.DEBUG && !COMPILED) {
207
- /**
208
- * @public
209
- * @override
210
- */
211
- proto.AccessCreateRequest.displayName = 'proto.AccessCreateRequest';
212
- }
213
- /**
214
- * Generated by JsPbCodeGenerator.
215
- * @param {Array=} opt_data Optional initial data array, typically from a
216
- * server response, or constructed directly in Javascript. The array is used
217
- * in place and becomes part of the constructed object. It is not cloned.
218
- * If no data is provided, the constructed object will be empty, but still
219
- * valid.
220
- * @extends {jspb.Message}
221
- * @constructor
222
- */
223
- proto.AuthVerifyToken = function(opt_data) {
224
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
225
- };
226
- goog.inherits(proto.AuthVerifyToken, jspb.Message);
227
- if (goog.DEBUG && !COMPILED) {
228
- /**
229
- * @public
230
- * @override
231
- */
232
- proto.AuthVerifyToken.displayName = 'proto.AuthVerifyToken';
233
- }
234
- /**
235
- * Generated by JsPbCodeGenerator.
236
- * @param {Array=} opt_data Optional initial data array, typically from a
237
- * server response, or constructed directly in Javascript. The array is used
238
- * in place and becomes part of the constructed object. It is not cloned.
239
- * If no data is provided, the constructed object will be empty, but still
240
- * valid.
241
- * @extends {jspb.Message}
242
- * @constructor
243
- */
244
- proto.UpdateAccessPayload = function(opt_data) {
245
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
246
- };
247
- goog.inherits(proto.UpdateAccessPayload, jspb.Message);
248
- if (goog.DEBUG && !COMPILED) {
249
- /**
250
- * @public
251
- * @override
252
- */
253
- proto.UpdateAccessPayload.displayName = 'proto.UpdateAccessPayload';
254
- }
255
- /**
256
- * Generated by JsPbCodeGenerator.
257
- * @param {Array=} opt_data Optional initial data array, typically from a
258
- * server response, or constructed directly in Javascript. The array is used
259
- * in place and becomes part of the constructed object. It is not cloned.
260
- * If no data is provided, the constructed object will be empty, but still
261
- * valid.
262
- * @extends {jspb.Message}
263
- * @constructor
264
- */
265
- proto.GetAccessByIdPayload = function(opt_data) {
266
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
267
- };
268
- goog.inherits(proto.GetAccessByIdPayload, jspb.Message);
269
- if (goog.DEBUG && !COMPILED) {
270
- /**
271
- * @public
272
- * @override
273
- */
274
- proto.GetAccessByIdPayload.displayName = 'proto.GetAccessByIdPayload';
275
- }
276
- /**
277
- * Generated by JsPbCodeGenerator.
278
- * @param {Array=} opt_data Optional initial data array, typically from a
279
- * server response, or constructed directly in Javascript. The array is used
280
- * in place and becomes part of the constructed object. It is not cloned.
281
- * If no data is provided, the constructed object will be empty, but still
282
- * valid.
283
- * @extends {jspb.Message}
284
- * @constructor
285
- */
286
- proto.CreateUserPayload = function(opt_data) {
287
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
288
- };
289
- goog.inherits(proto.CreateUserPayload, jspb.Message);
290
- if (goog.DEBUG && !COMPILED) {
291
- /**
292
- * @public
293
- * @override
294
- */
295
- proto.CreateUserPayload.displayName = 'proto.CreateUserPayload';
296
- }
297
- /**
298
- * Generated by JsPbCodeGenerator.
299
- * @param {Array=} opt_data Optional initial data array, typically from a
300
- * server response, or constructed directly in Javascript. The array is used
301
- * in place and becomes part of the constructed object. It is not cloned.
302
- * If no data is provided, the constructed object will be empty, but still
303
- * valid.
304
- * @extends {jspb.Message}
305
- * @constructor
306
- */
307
- proto.UpdateUserPayload = function(opt_data) {
308
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
309
- };
310
- goog.inherits(proto.UpdateUserPayload, jspb.Message);
311
- if (goog.DEBUG && !COMPILED) {
312
- /**
313
- * @public
314
- * @override
315
- */
316
- proto.UpdateUserPayload.displayName = 'proto.UpdateUserPayload';
317
- }
318
- /**
319
- * Generated by JsPbCodeGenerator.
320
- * @param {Array=} opt_data Optional initial data array, typically from a
321
- * server response, or constructed directly in Javascript. The array is used
322
- * in place and becomes part of the constructed object. It is not cloned.
323
- * If no data is provided, the constructed object will be empty, but still
324
- * valid.
325
- * @extends {jspb.Message}
326
- * @constructor
327
- */
328
- proto.ChangePasswordRequest = function(opt_data) {
329
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
330
- };
331
- goog.inherits(proto.ChangePasswordRequest, jspb.Message);
332
- if (goog.DEBUG && !COMPILED) {
333
- /**
334
- * @public
335
- * @override
336
- */
337
- proto.ChangePasswordRequest.displayName = 'proto.ChangePasswordRequest';
338
- }
339
- /**
340
- * Generated by JsPbCodeGenerator.
341
- * @param {Array=} opt_data Optional initial data array, typically from a
342
- * server response, or constructed directly in Javascript. The array is used
343
- * in place and becomes part of the constructed object. It is not cloned.
344
- * If no data is provided, the constructed object will be empty, but still
345
- * valid.
346
- * @extends {jspb.Message}
347
- * @constructor
348
- */
349
- proto.UserResponse = function(opt_data) {
350
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
351
- };
352
- goog.inherits(proto.UserResponse, jspb.Message);
353
- if (goog.DEBUG && !COMPILED) {
354
- /**
355
- * @public
356
- * @override
357
- */
358
- proto.UserResponse.displayName = 'proto.UserResponse';
359
- }
360
- /**
361
- * Generated by JsPbCodeGenerator.
362
- * @param {Array=} opt_data Optional initial data array, typically from a
363
- * server response, or constructed directly in Javascript. The array is used
364
- * in place and becomes part of the constructed object. It is not cloned.
365
- * If no data is provided, the constructed object will be empty, but still
366
- * valid.
367
- * @extends {jspb.Message}
368
- * @constructor
369
- */
370
- proto.AccessResponse = function(opt_data) {
371
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
372
- };
373
- goog.inherits(proto.AccessResponse, jspb.Message);
374
- if (goog.DEBUG && !COMPILED) {
375
- /**
376
- * @public
377
- * @override
378
- */
379
- proto.AccessResponse.displayName = 'proto.AccessResponse';
380
- }
381
- /**
382
- * Generated by JsPbCodeGenerator.
383
- * @param {Array=} opt_data Optional initial data array, typically from a
384
- * server response, or constructed directly in Javascript. The array is used
385
- * in place and becomes part of the constructed object. It is not cloned.
386
- * If no data is provided, the constructed object will be empty, but still
387
- * valid.
388
- * @extends {jspb.Message}
389
- * @constructor
390
- */
391
- proto.AccessApiManagersResponse = function(opt_data) {
392
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
393
- };
394
- goog.inherits(proto.AccessApiManagersResponse, jspb.Message);
395
- if (goog.DEBUG && !COMPILED) {
396
- /**
397
- * @public
398
- * @override
399
- */
400
- proto.AccessApiManagersResponse.displayName = 'proto.AccessApiManagersResponse';
401
- }
402
- /**
403
- * Generated by JsPbCodeGenerator.
404
- * @param {Array=} opt_data Optional initial data array, typically from a
405
- * server response, or constructed directly in Javascript. The array is used
406
- * in place and becomes part of the constructed object. It is not cloned.
407
- * If no data is provided, the constructed object will be empty, but still
408
- * valid.
409
- * @extends {jspb.Message}
410
- * @constructor
411
- */
412
- proto.ListAccessResponse = function(opt_data) {
413
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ListAccessResponse.repeatedFields_, null);
414
- };
415
- goog.inherits(proto.ListAccessResponse, jspb.Message);
416
- if (goog.DEBUG && !COMPILED) {
417
- /**
418
- * @public
419
- * @override
420
- */
421
- proto.ListAccessResponse.displayName = 'proto.ListAccessResponse';
422
- }
423
- /**
424
- * Generated by JsPbCodeGenerator.
425
- * @param {Array=} opt_data Optional initial data array, typically from a
426
- * server response, or constructed directly in Javascript. The array is used
427
- * in place and becomes part of the constructed object. It is not cloned.
428
- * If no data is provided, the constructed object will be empty, but still
429
- * valid.
430
- * @extends {jspb.Message}
431
- * @constructor
432
- */
433
- proto.ChangePasswordResponse = function(opt_data) {
434
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
435
- };
436
- goog.inherits(proto.ChangePasswordResponse, jspb.Message);
437
- if (goog.DEBUG && !COMPILED) {
438
- /**
439
- * @public
440
- * @override
441
- */
442
- proto.ChangePasswordResponse.displayName = 'proto.ChangePasswordResponse';
443
- }
444
-
445
-
446
-
447
- if (jspb.Message.GENERATE_TO_OBJECT) {
448
- /**
449
- * Creates an object representation of this proto.
450
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
451
- * Optional fields that are not set will be set to undefined.
452
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
453
- * For the list of reserved names please see:
454
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
455
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
456
- * JSPB instance for transitional soy proto support:
457
- * http://goto/soy-param-migration
458
- * @return {!Object}
459
- */
460
- proto.ForgotPassworReq.prototype.toObject = function(opt_includeInstance) {
461
- return proto.ForgotPassworReq.toObject(opt_includeInstance, this);
462
- };
463
-
464
-
465
- /**
466
- * Static version of the {@see toObject} method.
467
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
468
- * the JSPB instance for transitional soy proto support:
469
- * http://goto/soy-param-migration
470
- * @param {!proto.ForgotPassworReq} msg The msg instance to transform.
471
- * @return {!Object}
472
- * @suppress {unusedLocalVariables} f is only used for nested messages
473
- */
474
- proto.ForgotPassworReq.toObject = function(includeInstance, msg) {
475
- var f, obj = {
476
- password: jspb.Message.getFieldWithDefault(msg, 1, "")
477
- };
478
-
479
- if (includeInstance) {
480
- obj.$jspbMessageInstance = msg;
481
- }
482
- return obj;
483
- };
484
- }
485
-
486
-
487
- /**
488
- * Deserializes binary data (in protobuf wire format).
489
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
490
- * @return {!proto.ForgotPassworReq}
491
- */
492
- proto.ForgotPassworReq.deserializeBinary = function(bytes) {
493
- var reader = new jspb.BinaryReader(bytes);
494
- var msg = new proto.ForgotPassworReq;
495
- return proto.ForgotPassworReq.deserializeBinaryFromReader(msg, reader);
496
- };
497
-
498
-
499
- /**
500
- * Deserializes binary data (in protobuf wire format) from the
501
- * given reader into the given message object.
502
- * @param {!proto.ForgotPassworReq} msg The message object to deserialize into.
503
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
504
- * @return {!proto.ForgotPassworReq}
505
- */
506
- proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
507
- while (reader.nextField()) {
508
- if (reader.isEndGroup()) {
509
- break;
510
- }
511
- var field = reader.getFieldNumber();
512
- switch (field) {
513
- case 1:
514
- var value = /** @type {string} */ (reader.readString());
515
- msg.setPassword(value);
516
- break;
517
- default:
518
- reader.skipField();
519
- break;
520
- }
521
- }
522
- return msg;
523
- };
524
-
525
-
526
- /**
527
- * Serializes the message to binary data (in protobuf wire format).
528
- * @return {!Uint8Array}
529
- */
530
- proto.ForgotPassworReq.prototype.serializeBinary = function() {
531
- var writer = new jspb.BinaryWriter();
532
- proto.ForgotPassworReq.serializeBinaryToWriter(this, writer);
533
- return writer.getResultBuffer();
534
- };
535
-
536
-
537
- /**
538
- * Serializes the given message to binary data (in protobuf wire
539
- * format), writing to the given BinaryWriter.
540
- * @param {!proto.ForgotPassworReq} message
541
- * @param {!jspb.BinaryWriter} writer
542
- * @suppress {unusedLocalVariables} f is only used for nested messages
543
- */
544
- proto.ForgotPassworReq.serializeBinaryToWriter = function(message, writer) {
545
- var f = undefined;
546
- f = message.getPassword();
547
- if (f.length > 0) {
548
- writer.writeString(
549
- 1,
550
- f
551
- );
552
- }
553
- };
554
-
555
-
556
- /**
557
- * optional string password = 1;
558
- * @return {string}
559
- */
560
- proto.ForgotPassworReq.prototype.getPassword = function() {
561
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
562
- };
563
-
564
-
565
- /**
566
- * @param {string} value
567
- * @return {!proto.ForgotPassworReq} returns this
568
- */
569
- proto.ForgotPassworReq.prototype.setPassword = function(value) {
570
- return jspb.Message.setProto3StringField(this, 1, value);
571
- };
572
-
573
-
574
-
575
-
576
-
577
- if (jspb.Message.GENERATE_TO_OBJECT) {
578
- /**
579
- * Creates an object representation of this proto.
580
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
581
- * Optional fields that are not set will be set to undefined.
582
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
583
- * For the list of reserved names please see:
584
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
585
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
586
- * JSPB instance for transitional soy proto support:
587
- * http://goto/soy-param-migration
588
- * @return {!Object}
589
- */
590
- proto.RequestForgotPasswordReq.prototype.toObject = function(opt_includeInstance) {
591
- return proto.RequestForgotPasswordReq.toObject(opt_includeInstance, this);
592
- };
593
-
594
-
595
- /**
596
- * Static version of the {@see toObject} method.
597
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
598
- * the JSPB instance for transitional soy proto support:
599
- * http://goto/soy-param-migration
600
- * @param {!proto.RequestForgotPasswordReq} msg The msg instance to transform.
601
- * @return {!Object}
602
- * @suppress {unusedLocalVariables} f is only used for nested messages
603
- */
604
- proto.RequestForgotPasswordReq.toObject = function(includeInstance, msg) {
605
- var f, obj = {
606
- email: jspb.Message.getFieldWithDefault(msg, 1, "")
607
- };
608
-
609
- if (includeInstance) {
610
- obj.$jspbMessageInstance = msg;
611
- }
612
- return obj;
613
- };
614
- }
615
-
616
-
617
- /**
618
- * Deserializes binary data (in protobuf wire format).
619
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
620
- * @return {!proto.RequestForgotPasswordReq}
621
- */
622
- proto.RequestForgotPasswordReq.deserializeBinary = function(bytes) {
623
- var reader = new jspb.BinaryReader(bytes);
624
- var msg = new proto.RequestForgotPasswordReq;
625
- return proto.RequestForgotPasswordReq.deserializeBinaryFromReader(msg, reader);
626
- };
627
-
628
-
629
- /**
630
- * Deserializes binary data (in protobuf wire format) from the
631
- * given reader into the given message object.
632
- * @param {!proto.RequestForgotPasswordReq} msg The message object to deserialize into.
633
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
634
- * @return {!proto.RequestForgotPasswordReq}
635
- */
636
- proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reader) {
637
- while (reader.nextField()) {
638
- if (reader.isEndGroup()) {
639
- break;
640
- }
641
- var field = reader.getFieldNumber();
642
- switch (field) {
643
- case 1:
644
- var value = /** @type {string} */ (reader.readString());
645
- msg.setEmail(value);
646
- break;
647
- default:
648
- reader.skipField();
649
- break;
650
- }
651
- }
652
- return msg;
653
- };
654
-
655
-
656
- /**
657
- * Serializes the message to binary data (in protobuf wire format).
658
- * @return {!Uint8Array}
659
- */
660
- proto.RequestForgotPasswordReq.prototype.serializeBinary = function() {
661
- var writer = new jspb.BinaryWriter();
662
- proto.RequestForgotPasswordReq.serializeBinaryToWriter(this, writer);
663
- return writer.getResultBuffer();
664
- };
665
-
666
-
667
- /**
668
- * Serializes the given message to binary data (in protobuf wire
669
- * format), writing to the given BinaryWriter.
670
- * @param {!proto.RequestForgotPasswordReq} message
671
- * @param {!jspb.BinaryWriter} writer
672
- * @suppress {unusedLocalVariables} f is only used for nested messages
673
- */
674
- proto.RequestForgotPasswordReq.serializeBinaryToWriter = function(message, writer) {
675
- var f = undefined;
676
- f = message.getEmail();
677
- if (f.length > 0) {
678
- writer.writeString(
679
- 1,
680
- f
681
- );
682
- }
683
- };
684
-
685
-
686
- /**
687
- * optional string email = 1;
688
- * @return {string}
689
- */
690
- proto.RequestForgotPasswordReq.prototype.getEmail = function() {
691
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
692
- };
693
-
694
-
695
- /**
696
- * @param {string} value
697
- * @return {!proto.RequestForgotPasswordReq} returns this
698
- */
699
- proto.RequestForgotPasswordReq.prototype.setEmail = function(value) {
700
- return jspb.Message.setProto3StringField(this, 1, value);
701
- };
702
-
703
-
704
-
705
-
706
-
707
- if (jspb.Message.GENERATE_TO_OBJECT) {
708
- /**
709
- * Creates an object representation of this proto.
710
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
711
- * Optional fields that are not set will be set to undefined.
712
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
713
- * For the list of reserved names please see:
714
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
715
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
716
- * JSPB instance for transitional soy proto support:
717
- * http://goto/soy-param-migration
718
- * @return {!Object}
719
- */
720
- proto.RequestForgotResponse.prototype.toObject = function(opt_includeInstance) {
721
- return proto.RequestForgotResponse.toObject(opt_includeInstance, this);
722
- };
723
-
724
-
725
- /**
726
- * Static version of the {@see toObject} method.
727
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
728
- * the JSPB instance for transitional soy proto support:
729
- * http://goto/soy-param-migration
730
- * @param {!proto.RequestForgotResponse} msg The msg instance to transform.
731
- * @return {!Object}
732
- * @suppress {unusedLocalVariables} f is only used for nested messages
733
- */
734
- proto.RequestForgotResponse.toObject = function(includeInstance, msg) {
735
- var f, obj = {
736
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
737
- };
738
-
739
- if (includeInstance) {
740
- obj.$jspbMessageInstance = msg;
741
- }
742
- return obj;
743
- };
744
- }
745
-
746
-
747
- /**
748
- * Deserializes binary data (in protobuf wire format).
749
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
750
- * @return {!proto.RequestForgotResponse}
751
- */
752
- proto.RequestForgotResponse.deserializeBinary = function(bytes) {
753
- var reader = new jspb.BinaryReader(bytes);
754
- var msg = new proto.RequestForgotResponse;
755
- return proto.RequestForgotResponse.deserializeBinaryFromReader(msg, reader);
756
- };
757
-
758
-
759
- /**
760
- * Deserializes binary data (in protobuf wire format) from the
761
- * given reader into the given message object.
762
- * @param {!proto.RequestForgotResponse} msg The message object to deserialize into.
763
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
764
- * @return {!proto.RequestForgotResponse}
765
- */
766
- proto.RequestForgotResponse.deserializeBinaryFromReader = function(msg, reader) {
767
- while (reader.nextField()) {
768
- if (reader.isEndGroup()) {
769
- break;
770
- }
771
- var field = reader.getFieldNumber();
772
- switch (field) {
773
- case 1:
774
- var value = new prisca_v1_global_meta_meta_pb.Meta;
775
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
776
- msg.setMeta(value);
777
- break;
778
- default:
779
- reader.skipField();
780
- break;
781
- }
782
- }
783
- return msg;
784
- };
785
-
786
-
787
- /**
788
- * Serializes the message to binary data (in protobuf wire format).
789
- * @return {!Uint8Array}
790
- */
791
- proto.RequestForgotResponse.prototype.serializeBinary = function() {
792
- var writer = new jspb.BinaryWriter();
793
- proto.RequestForgotResponse.serializeBinaryToWriter(this, writer);
794
- return writer.getResultBuffer();
795
- };
796
-
797
-
798
- /**
799
- * Serializes the given message to binary data (in protobuf wire
800
- * format), writing to the given BinaryWriter.
801
- * @param {!proto.RequestForgotResponse} message
802
- * @param {!jspb.BinaryWriter} writer
803
- * @suppress {unusedLocalVariables} f is only used for nested messages
804
- */
805
- proto.RequestForgotResponse.serializeBinaryToWriter = function(message, writer) {
806
- var f = undefined;
807
- f = message.getMeta();
808
- if (f != null) {
809
- writer.writeMessage(
810
- 1,
811
- f,
812
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
813
- );
814
- }
815
- };
816
-
817
-
818
- /**
819
- * optional prisca.v1.global.meta.Meta meta = 1;
820
- * @return {?proto.prisca.v1.global.meta.Meta}
821
- */
822
- proto.RequestForgotResponse.prototype.getMeta = function() {
823
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
824
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
825
- };
826
-
827
-
828
- /**
829
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
830
- * @return {!proto.RequestForgotResponse} returns this
831
- */
832
- proto.RequestForgotResponse.prototype.setMeta = function(value) {
833
- return jspb.Message.setWrapperField(this, 1, value);
834
- };
835
-
836
-
837
- /**
838
- * Clears the message field making it undefined.
839
- * @return {!proto.RequestForgotResponse} returns this
840
- */
841
- proto.RequestForgotResponse.prototype.clearMeta = function() {
842
- return this.setMeta(undefined);
843
- };
844
-
845
-
846
- /**
847
- * Returns whether this field is set.
848
- * @return {boolean}
849
- */
850
- proto.RequestForgotResponse.prototype.hasMeta = function() {
851
- return jspb.Message.getField(this, 1) != null;
852
- };
853
-
854
-
855
-
856
-
857
-
858
- if (jspb.Message.GENERATE_TO_OBJECT) {
859
- /**
860
- * Creates an object representation of this proto.
861
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
862
- * Optional fields that are not set will be set to undefined.
863
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
864
- * For the list of reserved names please see:
865
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
866
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
867
- * JSPB instance for transitional soy proto support:
868
- * http://goto/soy-param-migration
869
- * @return {!Object}
870
- */
871
- proto.LoginRequest.prototype.toObject = function(opt_includeInstance) {
872
- return proto.LoginRequest.toObject(opt_includeInstance, this);
873
- };
874
-
875
-
876
- /**
877
- * Static version of the {@see toObject} method.
878
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
879
- * the JSPB instance for transitional soy proto support:
880
- * http://goto/soy-param-migration
881
- * @param {!proto.LoginRequest} msg The msg instance to transform.
882
- * @return {!Object}
883
- * @suppress {unusedLocalVariables} f is only used for nested messages
884
- */
885
- proto.LoginRequest.toObject = function(includeInstance, msg) {
886
- var f, obj = {
887
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
888
- password: jspb.Message.getFieldWithDefault(msg, 2, "")
889
- };
890
-
891
- if (includeInstance) {
892
- obj.$jspbMessageInstance = msg;
893
- }
894
- return obj;
895
- };
896
- }
897
-
898
-
899
- /**
900
- * Deserializes binary data (in protobuf wire format).
901
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
902
- * @return {!proto.LoginRequest}
903
- */
904
- proto.LoginRequest.deserializeBinary = function(bytes) {
905
- var reader = new jspb.BinaryReader(bytes);
906
- var msg = new proto.LoginRequest;
907
- return proto.LoginRequest.deserializeBinaryFromReader(msg, reader);
908
- };
909
-
910
-
911
- /**
912
- * Deserializes binary data (in protobuf wire format) from the
913
- * given reader into the given message object.
914
- * @param {!proto.LoginRequest} msg The message object to deserialize into.
915
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
916
- * @return {!proto.LoginRequest}
917
- */
918
- proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
919
- while (reader.nextField()) {
920
- if (reader.isEndGroup()) {
921
- break;
922
- }
923
- var field = reader.getFieldNumber();
924
- switch (field) {
925
- case 1:
926
- var value = /** @type {string} */ (reader.readString());
927
- msg.setEmail(value);
928
- break;
929
- case 2:
930
- var value = /** @type {string} */ (reader.readString());
931
- msg.setPassword(value);
932
- break;
933
- default:
934
- reader.skipField();
935
- break;
936
- }
937
- }
938
- return msg;
939
- };
940
-
941
-
942
- /**
943
- * Serializes the message to binary data (in protobuf wire format).
944
- * @return {!Uint8Array}
945
- */
946
- proto.LoginRequest.prototype.serializeBinary = function() {
947
- var writer = new jspb.BinaryWriter();
948
- proto.LoginRequest.serializeBinaryToWriter(this, writer);
949
- return writer.getResultBuffer();
950
- };
951
-
952
-
953
- /**
954
- * Serializes the given message to binary data (in protobuf wire
955
- * format), writing to the given BinaryWriter.
956
- * @param {!proto.LoginRequest} message
957
- * @param {!jspb.BinaryWriter} writer
958
- * @suppress {unusedLocalVariables} f is only used for nested messages
959
- */
960
- proto.LoginRequest.serializeBinaryToWriter = function(message, writer) {
961
- var f = undefined;
962
- f = message.getEmail();
963
- if (f.length > 0) {
964
- writer.writeString(
965
- 1,
966
- f
967
- );
968
- }
969
- f = message.getPassword();
970
- if (f.length > 0) {
971
- writer.writeString(
972
- 2,
973
- f
974
- );
975
- }
976
- };
977
-
978
-
979
- /**
980
- * optional string email = 1;
981
- * @return {string}
982
- */
983
- proto.LoginRequest.prototype.getEmail = function() {
984
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
985
- };
986
-
987
-
988
- /**
989
- * @param {string} value
990
- * @return {!proto.LoginRequest} returns this
991
- */
992
- proto.LoginRequest.prototype.setEmail = function(value) {
993
- return jspb.Message.setProto3StringField(this, 1, value);
994
- };
995
-
996
-
997
- /**
998
- * optional string password = 2;
999
- * @return {string}
1000
- */
1001
- proto.LoginRequest.prototype.getPassword = function() {
1002
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1003
- };
1004
-
1005
-
1006
- /**
1007
- * @param {string} value
1008
- * @return {!proto.LoginRequest} returns this
1009
- */
1010
- proto.LoginRequest.prototype.setPassword = function(value) {
1011
- return jspb.Message.setProto3StringField(this, 2, value);
1012
- };
1013
-
1014
-
1015
-
1016
-
1017
-
1018
- if (jspb.Message.GENERATE_TO_OBJECT) {
1019
- /**
1020
- * Creates an object representation of this proto.
1021
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1022
- * Optional fields that are not set will be set to undefined.
1023
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1024
- * For the list of reserved names please see:
1025
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1026
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1027
- * JSPB instance for transitional soy proto support:
1028
- * http://goto/soy-param-migration
1029
- * @return {!Object}
1030
- */
1031
- proto.GetListAccessRequest.prototype.toObject = function(opt_includeInstance) {
1032
- return proto.GetListAccessRequest.toObject(opt_includeInstance, this);
1033
- };
1034
-
1035
-
1036
- /**
1037
- * Static version of the {@see toObject} method.
1038
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1039
- * the JSPB instance for transitional soy proto support:
1040
- * http://goto/soy-param-migration
1041
- * @param {!proto.GetListAccessRequest} msg The msg instance to transform.
1042
- * @return {!Object}
1043
- * @suppress {unusedLocalVariables} f is only used for nested messages
1044
- */
1045
- proto.GetListAccessRequest.toObject = function(includeInstance, msg) {
1046
- var f, obj = {
1047
- limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
1048
- offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
1049
- };
1050
-
1051
- if (includeInstance) {
1052
- obj.$jspbMessageInstance = msg;
1053
- }
1054
- return obj;
1055
- };
1056
- }
1057
-
1058
-
1059
- /**
1060
- * Deserializes binary data (in protobuf wire format).
1061
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1062
- * @return {!proto.GetListAccessRequest}
1063
- */
1064
- proto.GetListAccessRequest.deserializeBinary = function(bytes) {
1065
- var reader = new jspb.BinaryReader(bytes);
1066
- var msg = new proto.GetListAccessRequest;
1067
- return proto.GetListAccessRequest.deserializeBinaryFromReader(msg, reader);
1068
- };
1069
-
1070
-
1071
- /**
1072
- * Deserializes binary data (in protobuf wire format) from the
1073
- * given reader into the given message object.
1074
- * @param {!proto.GetListAccessRequest} msg The message object to deserialize into.
1075
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1076
- * @return {!proto.GetListAccessRequest}
1077
- */
1078
- proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
1079
- while (reader.nextField()) {
1080
- if (reader.isEndGroup()) {
1081
- break;
1082
- }
1083
- var field = reader.getFieldNumber();
1084
- switch (field) {
1085
- case 1:
1086
- var value = /** @type {number} */ (reader.readInt64());
1087
- msg.setLimit(value);
1088
- break;
1089
- case 2:
1090
- var value = /** @type {number} */ (reader.readInt64());
1091
- msg.setOffset(value);
1092
- break;
1093
- default:
1094
- reader.skipField();
1095
- break;
1096
- }
1097
- }
1098
- return msg;
1099
- };
1100
-
1101
-
1102
- /**
1103
- * Serializes the message to binary data (in protobuf wire format).
1104
- * @return {!Uint8Array}
1105
- */
1106
- proto.GetListAccessRequest.prototype.serializeBinary = function() {
1107
- var writer = new jspb.BinaryWriter();
1108
- proto.GetListAccessRequest.serializeBinaryToWriter(this, writer);
1109
- return writer.getResultBuffer();
1110
- };
1111
-
1112
-
1113
- /**
1114
- * Serializes the given message to binary data (in protobuf wire
1115
- * format), writing to the given BinaryWriter.
1116
- * @param {!proto.GetListAccessRequest} message
1117
- * @param {!jspb.BinaryWriter} writer
1118
- * @suppress {unusedLocalVariables} f is only used for nested messages
1119
- */
1120
- proto.GetListAccessRequest.serializeBinaryToWriter = function(message, writer) {
1121
- var f = undefined;
1122
- f = message.getLimit();
1123
- if (f !== 0) {
1124
- writer.writeInt64(
1125
- 1,
1126
- f
1127
- );
1128
- }
1129
- f = message.getOffset();
1130
- if (f !== 0) {
1131
- writer.writeInt64(
1132
- 2,
1133
- f
1134
- );
1135
- }
1136
- };
1137
-
1138
-
1139
- /**
1140
- * optional int64 limit = 1;
1141
- * @return {number}
1142
- */
1143
- proto.GetListAccessRequest.prototype.getLimit = function() {
1144
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1145
- };
1146
-
1147
-
1148
- /**
1149
- * @param {number} value
1150
- * @return {!proto.GetListAccessRequest} returns this
1151
- */
1152
- proto.GetListAccessRequest.prototype.setLimit = function(value) {
1153
- return jspb.Message.setProto3IntField(this, 1, value);
1154
- };
1155
-
1156
-
1157
- /**
1158
- * optional int64 offset = 2;
1159
- * @return {number}
1160
- */
1161
- proto.GetListAccessRequest.prototype.getOffset = function() {
1162
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1163
- };
1164
-
1165
-
1166
- /**
1167
- * @param {number} value
1168
- * @return {!proto.GetListAccessRequest} returns this
1169
- */
1170
- proto.GetListAccessRequest.prototype.setOffset = function(value) {
1171
- return jspb.Message.setProto3IntField(this, 2, value);
1172
- };
1173
-
1174
-
1175
-
1176
-
1177
-
1178
- if (jspb.Message.GENERATE_TO_OBJECT) {
1179
- /**
1180
- * Creates an object representation of this proto.
1181
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1182
- * Optional fields that are not set will be set to undefined.
1183
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1184
- * For the list of reserved names please see:
1185
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1186
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1187
- * JSPB instance for transitional soy proto support:
1188
- * http://goto/soy-param-migration
1189
- * @return {!Object}
1190
- */
1191
- proto.CheckCompaniesRequest.prototype.toObject = function(opt_includeInstance) {
1192
- return proto.CheckCompaniesRequest.toObject(opt_includeInstance, this);
1193
- };
1194
-
1195
-
1196
- /**
1197
- * Static version of the {@see toObject} method.
1198
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1199
- * the JSPB instance for transitional soy proto support:
1200
- * http://goto/soy-param-migration
1201
- * @param {!proto.CheckCompaniesRequest} msg The msg instance to transform.
1202
- * @return {!Object}
1203
- * @suppress {unusedLocalVariables} f is only used for nested messages
1204
- */
1205
- proto.CheckCompaniesRequest.toObject = function(includeInstance, msg) {
1206
- var f, obj = {
1207
- companiesRef: jspb.Message.getFieldWithDefault(msg, 1, "")
1208
- };
1209
-
1210
- if (includeInstance) {
1211
- obj.$jspbMessageInstance = msg;
1212
- }
1213
- return obj;
1214
- };
1215
- }
1216
-
1217
-
1218
- /**
1219
- * Deserializes binary data (in protobuf wire format).
1220
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1221
- * @return {!proto.CheckCompaniesRequest}
1222
- */
1223
- proto.CheckCompaniesRequest.deserializeBinary = function(bytes) {
1224
- var reader = new jspb.BinaryReader(bytes);
1225
- var msg = new proto.CheckCompaniesRequest;
1226
- return proto.CheckCompaniesRequest.deserializeBinaryFromReader(msg, reader);
1227
- };
1228
-
1229
-
1230
- /**
1231
- * Deserializes binary data (in protobuf wire format) from the
1232
- * given reader into the given message object.
1233
- * @param {!proto.CheckCompaniesRequest} msg The message object to deserialize into.
1234
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1235
- * @return {!proto.CheckCompaniesRequest}
1236
- */
1237
- proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader) {
1238
- while (reader.nextField()) {
1239
- if (reader.isEndGroup()) {
1240
- break;
1241
- }
1242
- var field = reader.getFieldNumber();
1243
- switch (field) {
1244
- case 1:
1245
- var value = /** @type {string} */ (reader.readString());
1246
- msg.setCompaniesRef(value);
1247
- break;
1248
- default:
1249
- reader.skipField();
1250
- break;
1251
- }
1252
- }
1253
- return msg;
1254
- };
1255
-
1256
-
1257
- /**
1258
- * Serializes the message to binary data (in protobuf wire format).
1259
- * @return {!Uint8Array}
1260
- */
1261
- proto.CheckCompaniesRequest.prototype.serializeBinary = function() {
1262
- var writer = new jspb.BinaryWriter();
1263
- proto.CheckCompaniesRequest.serializeBinaryToWriter(this, writer);
1264
- return writer.getResultBuffer();
1265
- };
1266
-
1267
-
1268
- /**
1269
- * Serializes the given message to binary data (in protobuf wire
1270
- * format), writing to the given BinaryWriter.
1271
- * @param {!proto.CheckCompaniesRequest} message
1272
- * @param {!jspb.BinaryWriter} writer
1273
- * @suppress {unusedLocalVariables} f is only used for nested messages
1274
- */
1275
- proto.CheckCompaniesRequest.serializeBinaryToWriter = function(message, writer) {
1276
- var f = undefined;
1277
- f = message.getCompaniesRef();
1278
- if (f.length > 0) {
1279
- writer.writeString(
1280
- 1,
1281
- f
1282
- );
1283
- }
1284
- };
1285
-
1286
-
1287
- /**
1288
- * optional string companies_ref = 1;
1289
- * @return {string}
1290
- */
1291
- proto.CheckCompaniesRequest.prototype.getCompaniesRef = function() {
1292
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1293
- };
1294
-
1295
-
1296
- /**
1297
- * @param {string} value
1298
- * @return {!proto.CheckCompaniesRequest} returns this
1299
- */
1300
- proto.CheckCompaniesRequest.prototype.setCompaniesRef = function(value) {
1301
- return jspb.Message.setProto3StringField(this, 1, value);
1302
- };
1303
-
1304
-
1305
-
1306
-
1307
-
1308
- if (jspb.Message.GENERATE_TO_OBJECT) {
1309
- /**
1310
- * Creates an object representation of this proto.
1311
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1312
- * Optional fields that are not set will be set to undefined.
1313
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1314
- * For the list of reserved names please see:
1315
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1316
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1317
- * JSPB instance for transitional soy proto support:
1318
- * http://goto/soy-param-migration
1319
- * @return {!Object}
1320
- */
1321
- proto.AccessApiCredential.prototype.toObject = function(opt_includeInstance) {
1322
- return proto.AccessApiCredential.toObject(opt_includeInstance, this);
1323
- };
1324
-
1325
-
1326
- /**
1327
- * Static version of the {@see toObject} method.
1328
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1329
- * the JSPB instance for transitional soy proto support:
1330
- * http://goto/soy-param-migration
1331
- * @param {!proto.AccessApiCredential} msg The msg instance to transform.
1332
- * @return {!Object}
1333
- * @suppress {unusedLocalVariables} f is only used for nested messages
1334
- */
1335
- proto.AccessApiCredential.toObject = function(includeInstance, msg) {
1336
- var f, obj = {
1337
- apisecretid: jspb.Message.getFieldWithDefault(msg, 1, ""),
1338
- apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
1339
- };
1340
-
1341
- if (includeInstance) {
1342
- obj.$jspbMessageInstance = msg;
1343
- }
1344
- return obj;
1345
- };
1346
- }
1347
-
1348
-
1349
- /**
1350
- * Deserializes binary data (in protobuf wire format).
1351
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1352
- * @return {!proto.AccessApiCredential}
1353
- */
1354
- proto.AccessApiCredential.deserializeBinary = function(bytes) {
1355
- var reader = new jspb.BinaryReader(bytes);
1356
- var msg = new proto.AccessApiCredential;
1357
- return proto.AccessApiCredential.deserializeBinaryFromReader(msg, reader);
1358
- };
1359
-
1360
-
1361
- /**
1362
- * Deserializes binary data (in protobuf wire format) from the
1363
- * given reader into the given message object.
1364
- * @param {!proto.AccessApiCredential} msg The message object to deserialize into.
1365
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1366
- * @return {!proto.AccessApiCredential}
1367
- */
1368
- proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
1369
- while (reader.nextField()) {
1370
- if (reader.isEndGroup()) {
1371
- break;
1372
- }
1373
- var field = reader.getFieldNumber();
1374
- switch (field) {
1375
- case 1:
1376
- var value = /** @type {string} */ (reader.readString());
1377
- msg.setApisecretid(value);
1378
- break;
1379
- case 2:
1380
- var value = /** @type {string} */ (reader.readString());
1381
- msg.setApisecretkey(value);
1382
- break;
1383
- default:
1384
- reader.skipField();
1385
- break;
1386
- }
1387
- }
1388
- return msg;
1389
- };
1390
-
1391
-
1392
- /**
1393
- * Serializes the message to binary data (in protobuf wire format).
1394
- * @return {!Uint8Array}
1395
- */
1396
- proto.AccessApiCredential.prototype.serializeBinary = function() {
1397
- var writer = new jspb.BinaryWriter();
1398
- proto.AccessApiCredential.serializeBinaryToWriter(this, writer);
1399
- return writer.getResultBuffer();
1400
- };
1401
-
1402
-
1403
- /**
1404
- * Serializes the given message to binary data (in protobuf wire
1405
- * format), writing to the given BinaryWriter.
1406
- * @param {!proto.AccessApiCredential} message
1407
- * @param {!jspb.BinaryWriter} writer
1408
- * @suppress {unusedLocalVariables} f is only used for nested messages
1409
- */
1410
- proto.AccessApiCredential.serializeBinaryToWriter = function(message, writer) {
1411
- var f = undefined;
1412
- f = message.getApisecretid();
1413
- if (f.length > 0) {
1414
- writer.writeString(
1415
- 1,
1416
- f
1417
- );
1418
- }
1419
- f = message.getApisecretkey();
1420
- if (f.length > 0) {
1421
- writer.writeString(
1422
- 2,
1423
- f
1424
- );
1425
- }
1426
- };
1427
-
1428
-
1429
- /**
1430
- * optional string apiSecretId = 1;
1431
- * @return {string}
1432
- */
1433
- proto.AccessApiCredential.prototype.getApisecretid = function() {
1434
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1435
- };
1436
-
1437
-
1438
- /**
1439
- * @param {string} value
1440
- * @return {!proto.AccessApiCredential} returns this
1441
- */
1442
- proto.AccessApiCredential.prototype.setApisecretid = function(value) {
1443
- return jspb.Message.setProto3StringField(this, 1, value);
1444
- };
1445
-
1446
-
1447
- /**
1448
- * optional string apiSecretKey = 2;
1449
- * @return {string}
1450
- */
1451
- proto.AccessApiCredential.prototype.getApisecretkey = function() {
1452
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1453
- };
1454
-
1455
-
1456
- /**
1457
- * @param {string} value
1458
- * @return {!proto.AccessApiCredential} returns this
1459
- */
1460
- proto.AccessApiCredential.prototype.setApisecretkey = function(value) {
1461
- return jspb.Message.setProto3StringField(this, 2, value);
1462
- };
1463
-
1464
-
1465
-
1466
-
1467
-
1468
- if (jspb.Message.GENERATE_TO_OBJECT) {
1469
- /**
1470
- * Creates an object representation of this proto.
1471
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1472
- * Optional fields that are not set will be set to undefined.
1473
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1474
- * For the list of reserved names please see:
1475
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1476
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1477
- * JSPB instance for transitional soy proto support:
1478
- * http://goto/soy-param-migration
1479
- * @return {!Object}
1480
- */
1481
- proto.AccessCreateRequest.prototype.toObject = function(opt_includeInstance) {
1482
- return proto.AccessCreateRequest.toObject(opt_includeInstance, this);
1483
- };
1484
-
1485
-
1486
- /**
1487
- * Static version of the {@see toObject} method.
1488
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1489
- * the JSPB instance for transitional soy proto support:
1490
- * http://goto/soy-param-migration
1491
- * @param {!proto.AccessCreateRequest} msg The msg instance to transform.
1492
- * @return {!Object}
1493
- * @suppress {unusedLocalVariables} f is only used for nested messages
1494
- */
1495
- proto.AccessCreateRequest.toObject = function(includeInstance, msg) {
1496
- var f, obj = {
1497
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1498
- userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
1499
- scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
1500
- };
1501
-
1502
- if (includeInstance) {
1503
- obj.$jspbMessageInstance = msg;
1504
- }
1505
- return obj;
1506
- };
1507
- }
1508
-
1509
-
1510
- /**
1511
- * Deserializes binary data (in protobuf wire format).
1512
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1513
- * @return {!proto.AccessCreateRequest}
1514
- */
1515
- proto.AccessCreateRequest.deserializeBinary = function(bytes) {
1516
- var reader = new jspb.BinaryReader(bytes);
1517
- var msg = new proto.AccessCreateRequest;
1518
- return proto.AccessCreateRequest.deserializeBinaryFromReader(msg, reader);
1519
- };
1520
-
1521
-
1522
- /**
1523
- * Deserializes binary data (in protobuf wire format) from the
1524
- * given reader into the given message object.
1525
- * @param {!proto.AccessCreateRequest} msg The message object to deserialize into.
1526
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1527
- * @return {!proto.AccessCreateRequest}
1528
- */
1529
- proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
1530
- while (reader.nextField()) {
1531
- if (reader.isEndGroup()) {
1532
- break;
1533
- }
1534
- var field = reader.getFieldNumber();
1535
- switch (field) {
1536
- case 1:
1537
- var value = /** @type {string} */ (reader.readString());
1538
- msg.setName(value);
1539
- break;
1540
- case 2:
1541
- var value = /** @type {number} */ (reader.readInt64());
1542
- msg.setUserid(value);
1543
- break;
1544
- case 3:
1545
- var value = /** @type {string} */ (reader.readString());
1546
- msg.setScopes(value);
1547
- break;
1548
- default:
1549
- reader.skipField();
1550
- break;
1551
- }
1552
- }
1553
- return msg;
1554
- };
1555
-
1556
-
1557
- /**
1558
- * Serializes the message to binary data (in protobuf wire format).
1559
- * @return {!Uint8Array}
1560
- */
1561
- proto.AccessCreateRequest.prototype.serializeBinary = function() {
1562
- var writer = new jspb.BinaryWriter();
1563
- proto.AccessCreateRequest.serializeBinaryToWriter(this, writer);
1564
- return writer.getResultBuffer();
1565
- };
1566
-
1567
-
1568
- /**
1569
- * Serializes the given message to binary data (in protobuf wire
1570
- * format), writing to the given BinaryWriter.
1571
- * @param {!proto.AccessCreateRequest} message
1572
- * @param {!jspb.BinaryWriter} writer
1573
- * @suppress {unusedLocalVariables} f is only used for nested messages
1574
- */
1575
- proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
1576
- var f = undefined;
1577
- f = message.getName();
1578
- if (f.length > 0) {
1579
- writer.writeString(
1580
- 1,
1581
- f
1582
- );
1583
- }
1584
- f = message.getUserid();
1585
- if (f !== 0) {
1586
- writer.writeInt64(
1587
- 2,
1588
- f
1589
- );
1590
- }
1591
- f = message.getScopes();
1592
- if (f.length > 0) {
1593
- writer.writeString(
1594
- 3,
1595
- f
1596
- );
1597
- }
1598
- };
1599
-
1600
-
1601
- /**
1602
- * optional string name = 1;
1603
- * @return {string}
1604
- */
1605
- proto.AccessCreateRequest.prototype.getName = function() {
1606
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1607
- };
1608
-
1609
-
1610
- /**
1611
- * @param {string} value
1612
- * @return {!proto.AccessCreateRequest} returns this
1613
- */
1614
- proto.AccessCreateRequest.prototype.setName = function(value) {
1615
- return jspb.Message.setProto3StringField(this, 1, value);
1616
- };
1617
-
1618
-
1619
- /**
1620
- * optional int64 userId = 2;
1621
- * @return {number}
1622
- */
1623
- proto.AccessCreateRequest.prototype.getUserid = function() {
1624
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1625
- };
1626
-
1627
-
1628
- /**
1629
- * @param {number} value
1630
- * @return {!proto.AccessCreateRequest} returns this
1631
- */
1632
- proto.AccessCreateRequest.prototype.setUserid = function(value) {
1633
- return jspb.Message.setProto3IntField(this, 2, value);
1634
- };
1635
-
1636
-
1637
- /**
1638
- * optional string scopes = 3;
1639
- * @return {string}
1640
- */
1641
- proto.AccessCreateRequest.prototype.getScopes = function() {
1642
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1643
- };
1644
-
1645
-
1646
- /**
1647
- * @param {string} value
1648
- * @return {!proto.AccessCreateRequest} returns this
1649
- */
1650
- proto.AccessCreateRequest.prototype.setScopes = function(value) {
1651
- return jspb.Message.setProto3StringField(this, 3, value);
1652
- };
1653
-
1654
-
1655
-
1656
-
1657
-
1658
- if (jspb.Message.GENERATE_TO_OBJECT) {
1659
- /**
1660
- * Creates an object representation of this proto.
1661
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1662
- * Optional fields that are not set will be set to undefined.
1663
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1664
- * For the list of reserved names please see:
1665
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1666
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1667
- * JSPB instance for transitional soy proto support:
1668
- * http://goto/soy-param-migration
1669
- * @return {!Object}
1670
- */
1671
- proto.AuthVerifyToken.prototype.toObject = function(opt_includeInstance) {
1672
- return proto.AuthVerifyToken.toObject(opt_includeInstance, this);
1673
- };
1674
-
1675
-
1676
- /**
1677
- * Static version of the {@see toObject} method.
1678
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1679
- * the JSPB instance for transitional soy proto support:
1680
- * http://goto/soy-param-migration
1681
- * @param {!proto.AuthVerifyToken} msg The msg instance to transform.
1682
- * @return {!Object}
1683
- * @suppress {unusedLocalVariables} f is only used for nested messages
1684
- */
1685
- proto.AuthVerifyToken.toObject = function(includeInstance, msg) {
1686
- var f, obj = {
1687
- token: jspb.Message.getFieldWithDefault(msg, 1, "")
1688
- };
1689
-
1690
- if (includeInstance) {
1691
- obj.$jspbMessageInstance = msg;
1692
- }
1693
- return obj;
1694
- };
1695
- }
1696
-
1697
-
1698
- /**
1699
- * Deserializes binary data (in protobuf wire format).
1700
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1701
- * @return {!proto.AuthVerifyToken}
1702
- */
1703
- proto.AuthVerifyToken.deserializeBinary = function(bytes) {
1704
- var reader = new jspb.BinaryReader(bytes);
1705
- var msg = new proto.AuthVerifyToken;
1706
- return proto.AuthVerifyToken.deserializeBinaryFromReader(msg, reader);
1707
- };
1708
-
1709
-
1710
- /**
1711
- * Deserializes binary data (in protobuf wire format) from the
1712
- * given reader into the given message object.
1713
- * @param {!proto.AuthVerifyToken} msg The message object to deserialize into.
1714
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1715
- * @return {!proto.AuthVerifyToken}
1716
- */
1717
- proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
1718
- while (reader.nextField()) {
1719
- if (reader.isEndGroup()) {
1720
- break;
1721
- }
1722
- var field = reader.getFieldNumber();
1723
- switch (field) {
1724
- case 1:
1725
- var value = /** @type {string} */ (reader.readString());
1726
- msg.setToken(value);
1727
- break;
1728
- default:
1729
- reader.skipField();
1730
- break;
1731
- }
1732
- }
1733
- return msg;
1734
- };
1735
-
1736
-
1737
- /**
1738
- * Serializes the message to binary data (in protobuf wire format).
1739
- * @return {!Uint8Array}
1740
- */
1741
- proto.AuthVerifyToken.prototype.serializeBinary = function() {
1742
- var writer = new jspb.BinaryWriter();
1743
- proto.AuthVerifyToken.serializeBinaryToWriter(this, writer);
1744
- return writer.getResultBuffer();
1745
- };
1746
-
1747
-
1748
- /**
1749
- * Serializes the given message to binary data (in protobuf wire
1750
- * format), writing to the given BinaryWriter.
1751
- * @param {!proto.AuthVerifyToken} message
1752
- * @param {!jspb.BinaryWriter} writer
1753
- * @suppress {unusedLocalVariables} f is only used for nested messages
1754
- */
1755
- proto.AuthVerifyToken.serializeBinaryToWriter = function(message, writer) {
1756
- var f = undefined;
1757
- f = message.getToken();
1758
- if (f.length > 0) {
1759
- writer.writeString(
1760
- 1,
1761
- f
1762
- );
1763
- }
1764
- };
1765
-
1766
-
1767
- /**
1768
- * optional string token = 1;
1769
- * @return {string}
1770
- */
1771
- proto.AuthVerifyToken.prototype.getToken = function() {
1772
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1773
- };
1774
-
1775
-
1776
- /**
1777
- * @param {string} value
1778
- * @return {!proto.AuthVerifyToken} returns this
1779
- */
1780
- proto.AuthVerifyToken.prototype.setToken = function(value) {
1781
- return jspb.Message.setProto3StringField(this, 1, value);
1782
- };
1783
-
1784
-
1785
-
1786
-
1787
-
1788
- if (jspb.Message.GENERATE_TO_OBJECT) {
1789
- /**
1790
- * Creates an object representation of this proto.
1791
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1792
- * Optional fields that are not set will be set to undefined.
1793
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1794
- * For the list of reserved names please see:
1795
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1796
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1797
- * JSPB instance for transitional soy proto support:
1798
- * http://goto/soy-param-migration
1799
- * @return {!Object}
1800
- */
1801
- proto.UpdateAccessPayload.prototype.toObject = function(opt_includeInstance) {
1802
- return proto.UpdateAccessPayload.toObject(opt_includeInstance, this);
1803
- };
1804
-
1805
-
1806
- /**
1807
- * Static version of the {@see toObject} method.
1808
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1809
- * the JSPB instance for transitional soy proto support:
1810
- * http://goto/soy-param-migration
1811
- * @param {!proto.UpdateAccessPayload} msg The msg instance to transform.
1812
- * @return {!Object}
1813
- * @suppress {unusedLocalVariables} f is only used for nested messages
1814
- */
1815
- proto.UpdateAccessPayload.toObject = function(includeInstance, msg) {
1816
- var f, obj = {
1817
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1818
- id: jspb.Message.getFieldWithDefault(msg, 2, 0),
1819
- scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
1820
- };
1821
-
1822
- if (includeInstance) {
1823
- obj.$jspbMessageInstance = msg;
1824
- }
1825
- return obj;
1826
- };
1827
- }
1828
-
1829
-
1830
- /**
1831
- * Deserializes binary data (in protobuf wire format).
1832
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1833
- * @return {!proto.UpdateAccessPayload}
1834
- */
1835
- proto.UpdateAccessPayload.deserializeBinary = function(bytes) {
1836
- var reader = new jspb.BinaryReader(bytes);
1837
- var msg = new proto.UpdateAccessPayload;
1838
- return proto.UpdateAccessPayload.deserializeBinaryFromReader(msg, reader);
1839
- };
1840
-
1841
-
1842
- /**
1843
- * Deserializes binary data (in protobuf wire format) from the
1844
- * given reader into the given message object.
1845
- * @param {!proto.UpdateAccessPayload} msg The message object to deserialize into.
1846
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1847
- * @return {!proto.UpdateAccessPayload}
1848
- */
1849
- proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
1850
- while (reader.nextField()) {
1851
- if (reader.isEndGroup()) {
1852
- break;
1853
- }
1854
- var field = reader.getFieldNumber();
1855
- switch (field) {
1856
- case 1:
1857
- var value = /** @type {string} */ (reader.readString());
1858
- msg.setName(value);
1859
- break;
1860
- case 2:
1861
- var value = /** @type {number} */ (reader.readInt64());
1862
- msg.setId(value);
1863
- break;
1864
- case 3:
1865
- var value = /** @type {string} */ (reader.readString());
1866
- msg.setScopes(value);
1867
- break;
1868
- default:
1869
- reader.skipField();
1870
- break;
1871
- }
1872
- }
1873
- return msg;
1874
- };
1875
-
1876
-
1877
- /**
1878
- * Serializes the message to binary data (in protobuf wire format).
1879
- * @return {!Uint8Array}
1880
- */
1881
- proto.UpdateAccessPayload.prototype.serializeBinary = function() {
1882
- var writer = new jspb.BinaryWriter();
1883
- proto.UpdateAccessPayload.serializeBinaryToWriter(this, writer);
1884
- return writer.getResultBuffer();
1885
- };
1886
-
1887
-
1888
- /**
1889
- * Serializes the given message to binary data (in protobuf wire
1890
- * format), writing to the given BinaryWriter.
1891
- * @param {!proto.UpdateAccessPayload} message
1892
- * @param {!jspb.BinaryWriter} writer
1893
- * @suppress {unusedLocalVariables} f is only used for nested messages
1894
- */
1895
- proto.UpdateAccessPayload.serializeBinaryToWriter = function(message, writer) {
1896
- var f = undefined;
1897
- f = message.getName();
1898
- if (f.length > 0) {
1899
- writer.writeString(
1900
- 1,
1901
- f
1902
- );
1903
- }
1904
- f = message.getId();
1905
- if (f !== 0) {
1906
- writer.writeInt64(
1907
- 2,
1908
- f
1909
- );
1910
- }
1911
- f = message.getScopes();
1912
- if (f.length > 0) {
1913
- writer.writeString(
1914
- 3,
1915
- f
1916
- );
1917
- }
1918
- };
1919
-
1920
-
1921
- /**
1922
- * optional string name = 1;
1923
- * @return {string}
1924
- */
1925
- proto.UpdateAccessPayload.prototype.getName = function() {
1926
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1927
- };
1928
-
1929
-
1930
- /**
1931
- * @param {string} value
1932
- * @return {!proto.UpdateAccessPayload} returns this
1933
- */
1934
- proto.UpdateAccessPayload.prototype.setName = function(value) {
1935
- return jspb.Message.setProto3StringField(this, 1, value);
1936
- };
1937
-
1938
-
1939
- /**
1940
- * optional int64 id = 2;
1941
- * @return {number}
1942
- */
1943
- proto.UpdateAccessPayload.prototype.getId = function() {
1944
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1945
- };
1946
-
1947
-
1948
- /**
1949
- * @param {number} value
1950
- * @return {!proto.UpdateAccessPayload} returns this
1951
- */
1952
- proto.UpdateAccessPayload.prototype.setId = function(value) {
1953
- return jspb.Message.setProto3IntField(this, 2, value);
1954
- };
1955
-
1956
-
1957
- /**
1958
- * optional string scopes = 3;
1959
- * @return {string}
1960
- */
1961
- proto.UpdateAccessPayload.prototype.getScopes = function() {
1962
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1963
- };
1964
-
1965
-
1966
- /**
1967
- * @param {string} value
1968
- * @return {!proto.UpdateAccessPayload} returns this
1969
- */
1970
- proto.UpdateAccessPayload.prototype.setScopes = function(value) {
1971
- return jspb.Message.setProto3StringField(this, 3, value);
1972
- };
1973
-
1974
-
1975
-
1976
-
1977
-
1978
- if (jspb.Message.GENERATE_TO_OBJECT) {
1979
- /**
1980
- * Creates an object representation of this proto.
1981
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1982
- * Optional fields that are not set will be set to undefined.
1983
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1984
- * For the list of reserved names please see:
1985
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1986
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1987
- * JSPB instance for transitional soy proto support:
1988
- * http://goto/soy-param-migration
1989
- * @return {!Object}
1990
- */
1991
- proto.GetAccessByIdPayload.prototype.toObject = function(opt_includeInstance) {
1992
- return proto.GetAccessByIdPayload.toObject(opt_includeInstance, this);
1993
- };
1994
-
1995
-
1996
- /**
1997
- * Static version of the {@see toObject} method.
1998
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1999
- * the JSPB instance for transitional soy proto support:
2000
- * http://goto/soy-param-migration
2001
- * @param {!proto.GetAccessByIdPayload} msg The msg instance to transform.
2002
- * @return {!Object}
2003
- * @suppress {unusedLocalVariables} f is only used for nested messages
2004
- */
2005
- proto.GetAccessByIdPayload.toObject = function(includeInstance, msg) {
2006
- var f, obj = {
2007
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2008
- };
2009
-
2010
- if (includeInstance) {
2011
- obj.$jspbMessageInstance = msg;
2012
- }
2013
- return obj;
2014
- };
2015
- }
2016
-
2017
-
2018
- /**
2019
- * Deserializes binary data (in protobuf wire format).
2020
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2021
- * @return {!proto.GetAccessByIdPayload}
2022
- */
2023
- proto.GetAccessByIdPayload.deserializeBinary = function(bytes) {
2024
- var reader = new jspb.BinaryReader(bytes);
2025
- var msg = new proto.GetAccessByIdPayload;
2026
- return proto.GetAccessByIdPayload.deserializeBinaryFromReader(msg, reader);
2027
- };
2028
-
2029
-
2030
- /**
2031
- * Deserializes binary data (in protobuf wire format) from the
2032
- * given reader into the given message object.
2033
- * @param {!proto.GetAccessByIdPayload} msg The message object to deserialize into.
2034
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2035
- * @return {!proto.GetAccessByIdPayload}
2036
- */
2037
- proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
2038
- while (reader.nextField()) {
2039
- if (reader.isEndGroup()) {
2040
- break;
2041
- }
2042
- var field = reader.getFieldNumber();
2043
- switch (field) {
2044
- case 1:
2045
- var value = /** @type {number} */ (reader.readInt64());
2046
- msg.setId(value);
2047
- break;
2048
- default:
2049
- reader.skipField();
2050
- break;
2051
- }
2052
- }
2053
- return msg;
2054
- };
2055
-
2056
-
2057
- /**
2058
- * Serializes the message to binary data (in protobuf wire format).
2059
- * @return {!Uint8Array}
2060
- */
2061
- proto.GetAccessByIdPayload.prototype.serializeBinary = function() {
2062
- var writer = new jspb.BinaryWriter();
2063
- proto.GetAccessByIdPayload.serializeBinaryToWriter(this, writer);
2064
- return writer.getResultBuffer();
2065
- };
2066
-
2067
-
2068
- /**
2069
- * Serializes the given message to binary data (in protobuf wire
2070
- * format), writing to the given BinaryWriter.
2071
- * @param {!proto.GetAccessByIdPayload} message
2072
- * @param {!jspb.BinaryWriter} writer
2073
- * @suppress {unusedLocalVariables} f is only used for nested messages
2074
- */
2075
- proto.GetAccessByIdPayload.serializeBinaryToWriter = function(message, writer) {
2076
- var f = undefined;
2077
- f = message.getId();
2078
- if (f !== 0) {
2079
- writer.writeInt64(
2080
- 1,
2081
- f
2082
- );
2083
- }
2084
- };
2085
-
2086
-
2087
- /**
2088
- * optional int64 id = 1;
2089
- * @return {number}
2090
- */
2091
- proto.GetAccessByIdPayload.prototype.getId = function() {
2092
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2093
- };
2094
-
2095
-
2096
- /**
2097
- * @param {number} value
2098
- * @return {!proto.GetAccessByIdPayload} returns this
2099
- */
2100
- proto.GetAccessByIdPayload.prototype.setId = function(value) {
2101
- return jspb.Message.setProto3IntField(this, 1, value);
2102
- };
2103
-
2104
-
2105
-
2106
-
2107
-
2108
- if (jspb.Message.GENERATE_TO_OBJECT) {
2109
- /**
2110
- * Creates an object representation of this proto.
2111
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2112
- * Optional fields that are not set will be set to undefined.
2113
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2114
- * For the list of reserved names please see:
2115
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2116
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2117
- * JSPB instance for transitional soy proto support:
2118
- * http://goto/soy-param-migration
2119
- * @return {!Object}
2120
- */
2121
- proto.CreateUserPayload.prototype.toObject = function(opt_includeInstance) {
2122
- return proto.CreateUserPayload.toObject(opt_includeInstance, this);
2123
- };
2124
-
2125
-
2126
- /**
2127
- * Static version of the {@see toObject} method.
2128
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2129
- * the JSPB instance for transitional soy proto support:
2130
- * http://goto/soy-param-migration
2131
- * @param {!proto.CreateUserPayload} msg The msg instance to transform.
2132
- * @return {!Object}
2133
- * @suppress {unusedLocalVariables} f is only used for nested messages
2134
- */
2135
- proto.CreateUserPayload.toObject = function(includeInstance, msg) {
2136
- var f, obj = {
2137
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2138
- email: jspb.Message.getFieldWithDefault(msg, 2, ""),
2139
- password: jspb.Message.getFieldWithDefault(msg, 3, "")
2140
- };
2141
-
2142
- if (includeInstance) {
2143
- obj.$jspbMessageInstance = msg;
2144
- }
2145
- return obj;
2146
- };
2147
- }
2148
-
2149
-
2150
- /**
2151
- * Deserializes binary data (in protobuf wire format).
2152
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2153
- * @return {!proto.CreateUserPayload}
2154
- */
2155
- proto.CreateUserPayload.deserializeBinary = function(bytes) {
2156
- var reader = new jspb.BinaryReader(bytes);
2157
- var msg = new proto.CreateUserPayload;
2158
- return proto.CreateUserPayload.deserializeBinaryFromReader(msg, reader);
2159
- };
2160
-
2161
-
2162
- /**
2163
- * Deserializes binary data (in protobuf wire format) from the
2164
- * given reader into the given message object.
2165
- * @param {!proto.CreateUserPayload} msg The message object to deserialize into.
2166
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2167
- * @return {!proto.CreateUserPayload}
2168
- */
2169
- proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
2170
- while (reader.nextField()) {
2171
- if (reader.isEndGroup()) {
2172
- break;
2173
- }
2174
- var field = reader.getFieldNumber();
2175
- switch (field) {
2176
- case 1:
2177
- var value = /** @type {string} */ (reader.readString());
2178
- msg.setName(value);
2179
- break;
2180
- case 2:
2181
- var value = /** @type {string} */ (reader.readString());
2182
- msg.setEmail(value);
2183
- break;
2184
- case 3:
2185
- var value = /** @type {string} */ (reader.readString());
2186
- msg.setPassword(value);
2187
- break;
2188
- default:
2189
- reader.skipField();
2190
- break;
2191
- }
2192
- }
2193
- return msg;
2194
- };
2195
-
2196
-
2197
- /**
2198
- * Serializes the message to binary data (in protobuf wire format).
2199
- * @return {!Uint8Array}
2200
- */
2201
- proto.CreateUserPayload.prototype.serializeBinary = function() {
2202
- var writer = new jspb.BinaryWriter();
2203
- proto.CreateUserPayload.serializeBinaryToWriter(this, writer);
2204
- return writer.getResultBuffer();
2205
- };
2206
-
2207
-
2208
- /**
2209
- * Serializes the given message to binary data (in protobuf wire
2210
- * format), writing to the given BinaryWriter.
2211
- * @param {!proto.CreateUserPayload} message
2212
- * @param {!jspb.BinaryWriter} writer
2213
- * @suppress {unusedLocalVariables} f is only used for nested messages
2214
- */
2215
- proto.CreateUserPayload.serializeBinaryToWriter = function(message, writer) {
2216
- var f = undefined;
2217
- f = message.getName();
2218
- if (f.length > 0) {
2219
- writer.writeString(
2220
- 1,
2221
- f
2222
- );
2223
- }
2224
- f = message.getEmail();
2225
- if (f.length > 0) {
2226
- writer.writeString(
2227
- 2,
2228
- f
2229
- );
2230
- }
2231
- f = message.getPassword();
2232
- if (f.length > 0) {
2233
- writer.writeString(
2234
- 3,
2235
- f
2236
- );
2237
- }
2238
- };
2239
-
2240
-
2241
- /**
2242
- * optional string name = 1;
2243
- * @return {string}
2244
- */
2245
- proto.CreateUserPayload.prototype.getName = function() {
2246
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2247
- };
2248
-
2249
-
2250
- /**
2251
- * @param {string} value
2252
- * @return {!proto.CreateUserPayload} returns this
2253
- */
2254
- proto.CreateUserPayload.prototype.setName = function(value) {
2255
- return jspb.Message.setProto3StringField(this, 1, value);
2256
- };
2257
-
2258
-
2259
- /**
2260
- * optional string email = 2;
2261
- * @return {string}
2262
- */
2263
- proto.CreateUserPayload.prototype.getEmail = function() {
2264
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2265
- };
2266
-
2267
-
2268
- /**
2269
- * @param {string} value
2270
- * @return {!proto.CreateUserPayload} returns this
2271
- */
2272
- proto.CreateUserPayload.prototype.setEmail = function(value) {
2273
- return jspb.Message.setProto3StringField(this, 2, value);
2274
- };
2275
-
2276
-
2277
- /**
2278
- * optional string password = 3;
2279
- * @return {string}
2280
- */
2281
- proto.CreateUserPayload.prototype.getPassword = function() {
2282
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2283
- };
2284
-
2285
-
2286
- /**
2287
- * @param {string} value
2288
- * @return {!proto.CreateUserPayload} returns this
2289
- */
2290
- proto.CreateUserPayload.prototype.setPassword = function(value) {
2291
- return jspb.Message.setProto3StringField(this, 3, value);
2292
- };
2293
-
2294
-
2295
-
2296
-
2297
-
2298
- if (jspb.Message.GENERATE_TO_OBJECT) {
2299
- /**
2300
- * Creates an object representation of this proto.
2301
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2302
- * Optional fields that are not set will be set to undefined.
2303
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2304
- * For the list of reserved names please see:
2305
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2306
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2307
- * JSPB instance for transitional soy proto support:
2308
- * http://goto/soy-param-migration
2309
- * @return {!Object}
2310
- */
2311
- proto.UpdateUserPayload.prototype.toObject = function(opt_includeInstance) {
2312
- return proto.UpdateUserPayload.toObject(opt_includeInstance, this);
2313
- };
2314
-
2315
-
2316
- /**
2317
- * Static version of the {@see toObject} method.
2318
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2319
- * the JSPB instance for transitional soy proto support:
2320
- * http://goto/soy-param-migration
2321
- * @param {!proto.UpdateUserPayload} msg The msg instance to transform.
2322
- * @return {!Object}
2323
- * @suppress {unusedLocalVariables} f is only used for nested messages
2324
- */
2325
- proto.UpdateUserPayload.toObject = function(includeInstance, msg) {
2326
- var f, obj = {
2327
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
2328
- password: jspb.Message.getFieldWithDefault(msg, 2, "")
2329
- };
2330
-
2331
- if (includeInstance) {
2332
- obj.$jspbMessageInstance = msg;
2333
- }
2334
- return obj;
2335
- };
2336
- }
2337
-
2338
-
2339
- /**
2340
- * Deserializes binary data (in protobuf wire format).
2341
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2342
- * @return {!proto.UpdateUserPayload}
2343
- */
2344
- proto.UpdateUserPayload.deserializeBinary = function(bytes) {
2345
- var reader = new jspb.BinaryReader(bytes);
2346
- var msg = new proto.UpdateUserPayload;
2347
- return proto.UpdateUserPayload.deserializeBinaryFromReader(msg, reader);
2348
- };
2349
-
2350
-
2351
- /**
2352
- * Deserializes binary data (in protobuf wire format) from the
2353
- * given reader into the given message object.
2354
- * @param {!proto.UpdateUserPayload} msg The message object to deserialize into.
2355
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2356
- * @return {!proto.UpdateUserPayload}
2357
- */
2358
- proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
2359
- while (reader.nextField()) {
2360
- if (reader.isEndGroup()) {
2361
- break;
2362
- }
2363
- var field = reader.getFieldNumber();
2364
- switch (field) {
2365
- case 1:
2366
- var value = /** @type {string} */ (reader.readString());
2367
- msg.setEmail(value);
2368
- break;
2369
- case 2:
2370
- var value = /** @type {string} */ (reader.readString());
2371
- msg.setPassword(value);
2372
- break;
2373
- default:
2374
- reader.skipField();
2375
- break;
2376
- }
2377
- }
2378
- return msg;
2379
- };
2380
-
2381
-
2382
- /**
2383
- * Serializes the message to binary data (in protobuf wire format).
2384
- * @return {!Uint8Array}
2385
- */
2386
- proto.UpdateUserPayload.prototype.serializeBinary = function() {
2387
- var writer = new jspb.BinaryWriter();
2388
- proto.UpdateUserPayload.serializeBinaryToWriter(this, writer);
2389
- return writer.getResultBuffer();
2390
- };
2391
-
2392
-
2393
- /**
2394
- * Serializes the given message to binary data (in protobuf wire
2395
- * format), writing to the given BinaryWriter.
2396
- * @param {!proto.UpdateUserPayload} message
2397
- * @param {!jspb.BinaryWriter} writer
2398
- * @suppress {unusedLocalVariables} f is only used for nested messages
2399
- */
2400
- proto.UpdateUserPayload.serializeBinaryToWriter = function(message, writer) {
2401
- var f = undefined;
2402
- f = message.getEmail();
2403
- if (f.length > 0) {
2404
- writer.writeString(
2405
- 1,
2406
- f
2407
- );
2408
- }
2409
- f = message.getPassword();
2410
- if (f.length > 0) {
2411
- writer.writeString(
2412
- 2,
2413
- f
2414
- );
2415
- }
2416
- };
2417
-
2418
-
2419
- /**
2420
- * optional string email = 1;
2421
- * @return {string}
2422
- */
2423
- proto.UpdateUserPayload.prototype.getEmail = function() {
2424
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2425
- };
2426
-
2427
-
2428
- /**
2429
- * @param {string} value
2430
- * @return {!proto.UpdateUserPayload} returns this
2431
- */
2432
- proto.UpdateUserPayload.prototype.setEmail = function(value) {
2433
- return jspb.Message.setProto3StringField(this, 1, value);
2434
- };
2435
-
2436
-
2437
- /**
2438
- * optional string password = 2;
2439
- * @return {string}
2440
- */
2441
- proto.UpdateUserPayload.prototype.getPassword = function() {
2442
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2443
- };
2444
-
2445
-
2446
- /**
2447
- * @param {string} value
2448
- * @return {!proto.UpdateUserPayload} returns this
2449
- */
2450
- proto.UpdateUserPayload.prototype.setPassword = function(value) {
2451
- return jspb.Message.setProto3StringField(this, 2, value);
2452
- };
2453
-
2454
-
2455
-
2456
-
2457
-
2458
- if (jspb.Message.GENERATE_TO_OBJECT) {
2459
- /**
2460
- * Creates an object representation of this proto.
2461
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2462
- * Optional fields that are not set will be set to undefined.
2463
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2464
- * For the list of reserved names please see:
2465
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2466
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2467
- * JSPB instance for transitional soy proto support:
2468
- * http://goto/soy-param-migration
2469
- * @return {!Object}
2470
- */
2471
- proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
2472
- return proto.ChangePasswordRequest.toObject(opt_includeInstance, this);
2473
- };
2474
-
2475
-
2476
- /**
2477
- * Static version of the {@see toObject} method.
2478
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2479
- * the JSPB instance for transitional soy proto support:
2480
- * http://goto/soy-param-migration
2481
- * @param {!proto.ChangePasswordRequest} msg The msg instance to transform.
2482
- * @return {!Object}
2483
- * @suppress {unusedLocalVariables} f is only used for nested messages
2484
- */
2485
- proto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
2486
- var f, obj = {
2487
- oldPassword: jspb.Message.getFieldWithDefault(msg, 1, ""),
2488
- newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
2489
- };
2490
-
2491
- if (includeInstance) {
2492
- obj.$jspbMessageInstance = msg;
2493
- }
2494
- return obj;
2495
- };
2496
- }
2497
-
2498
-
2499
- /**
2500
- * Deserializes binary data (in protobuf wire format).
2501
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2502
- * @return {!proto.ChangePasswordRequest}
2503
- */
2504
- proto.ChangePasswordRequest.deserializeBinary = function(bytes) {
2505
- var reader = new jspb.BinaryReader(bytes);
2506
- var msg = new proto.ChangePasswordRequest;
2507
- return proto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
2508
- };
2509
-
2510
-
2511
- /**
2512
- * Deserializes binary data (in protobuf wire format) from the
2513
- * given reader into the given message object.
2514
- * @param {!proto.ChangePasswordRequest} msg The message object to deserialize into.
2515
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2516
- * @return {!proto.ChangePasswordRequest}
2517
- */
2518
- proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2519
- while (reader.nextField()) {
2520
- if (reader.isEndGroup()) {
2521
- break;
2522
- }
2523
- var field = reader.getFieldNumber();
2524
- switch (field) {
2525
- case 1:
2526
- var value = /** @type {string} */ (reader.readString());
2527
- msg.setOldPassword(value);
2528
- break;
2529
- case 2:
2530
- var value = /** @type {string} */ (reader.readString());
2531
- msg.setNewPassword(value);
2532
- break;
2533
- default:
2534
- reader.skipField();
2535
- break;
2536
- }
2537
- }
2538
- return msg;
2539
- };
2540
-
2541
-
2542
- /**
2543
- * Serializes the message to binary data (in protobuf wire format).
2544
- * @return {!Uint8Array}
2545
- */
2546
- proto.ChangePasswordRequest.prototype.serializeBinary = function() {
2547
- var writer = new jspb.BinaryWriter();
2548
- proto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
2549
- return writer.getResultBuffer();
2550
- };
2551
-
2552
-
2553
- /**
2554
- * Serializes the given message to binary data (in protobuf wire
2555
- * format), writing to the given BinaryWriter.
2556
- * @param {!proto.ChangePasswordRequest} message
2557
- * @param {!jspb.BinaryWriter} writer
2558
- * @suppress {unusedLocalVariables} f is only used for nested messages
2559
- */
2560
- proto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
2561
- var f = undefined;
2562
- f = message.getOldPassword();
2563
- if (f.length > 0) {
2564
- writer.writeString(
2565
- 1,
2566
- f
2567
- );
2568
- }
2569
- f = message.getNewPassword();
2570
- if (f.length > 0) {
2571
- writer.writeString(
2572
- 2,
2573
- f
2574
- );
2575
- }
2576
- };
2577
-
2578
-
2579
- /**
2580
- * optional string old_password = 1;
2581
- * @return {string}
2582
- */
2583
- proto.ChangePasswordRequest.prototype.getOldPassword = function() {
2584
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2585
- };
2586
-
2587
-
2588
- /**
2589
- * @param {string} value
2590
- * @return {!proto.ChangePasswordRequest} returns this
2591
- */
2592
- proto.ChangePasswordRequest.prototype.setOldPassword = function(value) {
2593
- return jspb.Message.setProto3StringField(this, 1, value);
2594
- };
2595
-
2596
-
2597
- /**
2598
- * optional string new_password = 2;
2599
- * @return {string}
2600
- */
2601
- proto.ChangePasswordRequest.prototype.getNewPassword = function() {
2602
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2603
- };
2604
-
2605
-
2606
- /**
2607
- * @param {string} value
2608
- * @return {!proto.ChangePasswordRequest} returns this
2609
- */
2610
- proto.ChangePasswordRequest.prototype.setNewPassword = function(value) {
2611
- return jspb.Message.setProto3StringField(this, 2, value);
2612
- };
2613
-
2614
-
2615
-
2616
-
2617
-
2618
- if (jspb.Message.GENERATE_TO_OBJECT) {
2619
- /**
2620
- * Creates an object representation of this proto.
2621
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2622
- * Optional fields that are not set will be set to undefined.
2623
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2624
- * For the list of reserved names please see:
2625
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2626
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2627
- * JSPB instance for transitional soy proto support:
2628
- * http://goto/soy-param-migration
2629
- * @return {!Object}
2630
- */
2631
- proto.UserResponse.prototype.toObject = function(opt_includeInstance) {
2632
- return proto.UserResponse.toObject(opt_includeInstance, this);
2633
- };
2634
-
2635
-
2636
- /**
2637
- * Static version of the {@see toObject} method.
2638
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2639
- * the JSPB instance for transitional soy proto support:
2640
- * http://goto/soy-param-migration
2641
- * @param {!proto.UserResponse} msg The msg instance to transform.
2642
- * @return {!Object}
2643
- * @suppress {unusedLocalVariables} f is only used for nested messages
2644
- */
2645
- proto.UserResponse.toObject = function(includeInstance, msg) {
2646
- var f, obj = {
2647
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2648
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
2649
- email: jspb.Message.getFieldWithDefault(msg, 3, ""),
2650
- role: jspb.Message.getFieldWithDefault(msg, 4, ""),
2651
- token: jspb.Message.getFieldWithDefault(msg, 5, "")
2652
- };
2653
-
2654
- if (includeInstance) {
2655
- obj.$jspbMessageInstance = msg;
2656
- }
2657
- return obj;
2658
- };
2659
- }
2660
-
2661
-
2662
- /**
2663
- * Deserializes binary data (in protobuf wire format).
2664
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2665
- * @return {!proto.UserResponse}
2666
- */
2667
- proto.UserResponse.deserializeBinary = function(bytes) {
2668
- var reader = new jspb.BinaryReader(bytes);
2669
- var msg = new proto.UserResponse;
2670
- return proto.UserResponse.deserializeBinaryFromReader(msg, reader);
2671
- };
2672
-
2673
-
2674
- /**
2675
- * Deserializes binary data (in protobuf wire format) from the
2676
- * given reader into the given message object.
2677
- * @param {!proto.UserResponse} msg The message object to deserialize into.
2678
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2679
- * @return {!proto.UserResponse}
2680
- */
2681
- proto.UserResponse.deserializeBinaryFromReader = function(msg, reader) {
2682
- while (reader.nextField()) {
2683
- if (reader.isEndGroup()) {
2684
- break;
2685
- }
2686
- var field = reader.getFieldNumber();
2687
- switch (field) {
2688
- case 1:
2689
- var value = /** @type {number} */ (reader.readInt64());
2690
- msg.setId(value);
2691
- break;
2692
- case 2:
2693
- var value = /** @type {string} */ (reader.readString());
2694
- msg.setName(value);
2695
- break;
2696
- case 3:
2697
- var value = /** @type {string} */ (reader.readString());
2698
- msg.setEmail(value);
2699
- break;
2700
- case 4:
2701
- var value = /** @type {string} */ (reader.readString());
2702
- msg.setRole(value);
2703
- break;
2704
- case 5:
2705
- var value = /** @type {string} */ (reader.readString());
2706
- msg.setToken(value);
2707
- break;
2708
- default:
2709
- reader.skipField();
2710
- break;
2711
- }
2712
- }
2713
- return msg;
2714
- };
2715
-
2716
-
2717
- /**
2718
- * Serializes the message to binary data (in protobuf wire format).
2719
- * @return {!Uint8Array}
2720
- */
2721
- proto.UserResponse.prototype.serializeBinary = function() {
2722
- var writer = new jspb.BinaryWriter();
2723
- proto.UserResponse.serializeBinaryToWriter(this, writer);
2724
- return writer.getResultBuffer();
2725
- };
2726
-
2727
-
2728
- /**
2729
- * Serializes the given message to binary data (in protobuf wire
2730
- * format), writing to the given BinaryWriter.
2731
- * @param {!proto.UserResponse} message
2732
- * @param {!jspb.BinaryWriter} writer
2733
- * @suppress {unusedLocalVariables} f is only used for nested messages
2734
- */
2735
- proto.UserResponse.serializeBinaryToWriter = function(message, writer) {
2736
- var f = undefined;
2737
- f = message.getId();
2738
- if (f !== 0) {
2739
- writer.writeInt64(
2740
- 1,
2741
- f
2742
- );
2743
- }
2744
- f = message.getName();
2745
- if (f.length > 0) {
2746
- writer.writeString(
2747
- 2,
2748
- f
2749
- );
2750
- }
2751
- f = message.getEmail();
2752
- if (f.length > 0) {
2753
- writer.writeString(
2754
- 3,
2755
- f
2756
- );
2757
- }
2758
- f = message.getRole();
2759
- if (f.length > 0) {
2760
- writer.writeString(
2761
- 4,
2762
- f
2763
- );
2764
- }
2765
- f = message.getToken();
2766
- if (f.length > 0) {
2767
- writer.writeString(
2768
- 5,
2769
- f
2770
- );
2771
- }
2772
- };
2773
-
2774
-
2775
- /**
2776
- * optional int64 id = 1;
2777
- * @return {number}
2778
- */
2779
- proto.UserResponse.prototype.getId = function() {
2780
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2781
- };
2782
-
2783
-
2784
- /**
2785
- * @param {number} value
2786
- * @return {!proto.UserResponse} returns this
2787
- */
2788
- proto.UserResponse.prototype.setId = function(value) {
2789
- return jspb.Message.setProto3IntField(this, 1, value);
2790
- };
2791
-
2792
-
2793
- /**
2794
- * optional string name = 2;
2795
- * @return {string}
2796
- */
2797
- proto.UserResponse.prototype.getName = function() {
2798
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2799
- };
2800
-
2801
-
2802
- /**
2803
- * @param {string} value
2804
- * @return {!proto.UserResponse} returns this
2805
- */
2806
- proto.UserResponse.prototype.setName = function(value) {
2807
- return jspb.Message.setProto3StringField(this, 2, value);
2808
- };
2809
-
2810
-
2811
- /**
2812
- * optional string email = 3;
2813
- * @return {string}
2814
- */
2815
- proto.UserResponse.prototype.getEmail = function() {
2816
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2817
- };
2818
-
2819
-
2820
- /**
2821
- * @param {string} value
2822
- * @return {!proto.UserResponse} returns this
2823
- */
2824
- proto.UserResponse.prototype.setEmail = function(value) {
2825
- return jspb.Message.setProto3StringField(this, 3, value);
2826
- };
2827
-
2828
-
2829
- /**
2830
- * optional string role = 4;
2831
- * @return {string}
2832
- */
2833
- proto.UserResponse.prototype.getRole = function() {
2834
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2835
- };
2836
-
2837
-
2838
- /**
2839
- * @param {string} value
2840
- * @return {!proto.UserResponse} returns this
2841
- */
2842
- proto.UserResponse.prototype.setRole = function(value) {
2843
- return jspb.Message.setProto3StringField(this, 4, value);
2844
- };
2845
-
2846
-
2847
- /**
2848
- * optional string token = 5;
2849
- * @return {string}
2850
- */
2851
- proto.UserResponse.prototype.getToken = function() {
2852
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2853
- };
2854
-
2855
-
2856
- /**
2857
- * @param {string} value
2858
- * @return {!proto.UserResponse} returns this
2859
- */
2860
- proto.UserResponse.prototype.setToken = function(value) {
2861
- return jspb.Message.setProto3StringField(this, 5, value);
2862
- };
2863
-
2864
-
2865
-
2866
-
2867
-
2868
- if (jspb.Message.GENERATE_TO_OBJECT) {
2869
- /**
2870
- * Creates an object representation of this proto.
2871
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2872
- * Optional fields that are not set will be set to undefined.
2873
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2874
- * For the list of reserved names please see:
2875
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2876
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2877
- * JSPB instance for transitional soy proto support:
2878
- * http://goto/soy-param-migration
2879
- * @return {!Object}
2880
- */
2881
- proto.AccessResponse.prototype.toObject = function(opt_includeInstance) {
2882
- return proto.AccessResponse.toObject(opt_includeInstance, this);
2883
- };
2884
-
2885
-
2886
- /**
2887
- * Static version of the {@see toObject} method.
2888
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2889
- * the JSPB instance for transitional soy proto support:
2890
- * http://goto/soy-param-migration
2891
- * @param {!proto.AccessResponse} msg The msg instance to transform.
2892
- * @return {!Object}
2893
- * @suppress {unusedLocalVariables} f is only used for nested messages
2894
- */
2895
- proto.AccessResponse.toObject = function(includeInstance, msg) {
2896
- var f, obj = {
2897
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2898
- userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
2899
- scopes: jspb.Message.getFieldWithDefault(msg, 3, ""),
2900
- status: jspb.Message.getFieldWithDefault(msg, 4, ""),
2901
- keyprefix: jspb.Message.getFieldWithDefault(msg, 5, "")
2902
- };
2903
-
2904
- if (includeInstance) {
2905
- obj.$jspbMessageInstance = msg;
2906
- }
2907
- return obj;
2908
- };
2909
- }
2910
-
2911
-
2912
- /**
2913
- * Deserializes binary data (in protobuf wire format).
2914
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2915
- * @return {!proto.AccessResponse}
2916
- */
2917
- proto.AccessResponse.deserializeBinary = function(bytes) {
2918
- var reader = new jspb.BinaryReader(bytes);
2919
- var msg = new proto.AccessResponse;
2920
- return proto.AccessResponse.deserializeBinaryFromReader(msg, reader);
2921
- };
2922
-
2923
-
2924
- /**
2925
- * Deserializes binary data (in protobuf wire format) from the
2926
- * given reader into the given message object.
2927
- * @param {!proto.AccessResponse} msg The message object to deserialize into.
2928
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2929
- * @return {!proto.AccessResponse}
2930
- */
2931
- proto.AccessResponse.deserializeBinaryFromReader = function(msg, reader) {
2932
- while (reader.nextField()) {
2933
- if (reader.isEndGroup()) {
2934
- break;
2935
- }
2936
- var field = reader.getFieldNumber();
2937
- switch (field) {
2938
- case 1:
2939
- var value = /** @type {string} */ (reader.readString());
2940
- msg.setName(value);
2941
- break;
2942
- case 2:
2943
- var value = /** @type {number} */ (reader.readInt64());
2944
- msg.setUserid(value);
2945
- break;
2946
- case 3:
2947
- var value = /** @type {string} */ (reader.readString());
2948
- msg.setScopes(value);
2949
- break;
2950
- case 4:
2951
- var value = /** @type {string} */ (reader.readString());
2952
- msg.setStatus(value);
2953
- break;
2954
- case 5:
2955
- var value = /** @type {string} */ (reader.readString());
2956
- msg.setKeyprefix(value);
2957
- break;
2958
- default:
2959
- reader.skipField();
2960
- break;
2961
- }
2962
- }
2963
- return msg;
2964
- };
2965
-
2966
-
2967
- /**
2968
- * Serializes the message to binary data (in protobuf wire format).
2969
- * @return {!Uint8Array}
2970
- */
2971
- proto.AccessResponse.prototype.serializeBinary = function() {
2972
- var writer = new jspb.BinaryWriter();
2973
- proto.AccessResponse.serializeBinaryToWriter(this, writer);
2974
- return writer.getResultBuffer();
2975
- };
2976
-
2977
-
2978
- /**
2979
- * Serializes the given message to binary data (in protobuf wire
2980
- * format), writing to the given BinaryWriter.
2981
- * @param {!proto.AccessResponse} message
2982
- * @param {!jspb.BinaryWriter} writer
2983
- * @suppress {unusedLocalVariables} f is only used for nested messages
2984
- */
2985
- proto.AccessResponse.serializeBinaryToWriter = function(message, writer) {
2986
- var f = undefined;
2987
- f = message.getName();
2988
- if (f.length > 0) {
2989
- writer.writeString(
2990
- 1,
2991
- f
2992
- );
2993
- }
2994
- f = message.getUserid();
2995
- if (f !== 0) {
2996
- writer.writeInt64(
2997
- 2,
2998
- f
2999
- );
3000
- }
3001
- f = message.getScopes();
3002
- if (f.length > 0) {
3003
- writer.writeString(
3004
- 3,
3005
- f
3006
- );
3007
- }
3008
- f = message.getStatus();
3009
- if (f.length > 0) {
3010
- writer.writeString(
3011
- 4,
3012
- f
3013
- );
3014
- }
3015
- f = message.getKeyprefix();
3016
- if (f.length > 0) {
3017
- writer.writeString(
3018
- 5,
3019
- f
3020
- );
3021
- }
3022
- };
3023
-
3024
-
3025
- /**
3026
- * optional string name = 1;
3027
- * @return {string}
3028
- */
3029
- proto.AccessResponse.prototype.getName = function() {
3030
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3031
- };
3032
-
3033
-
3034
- /**
3035
- * @param {string} value
3036
- * @return {!proto.AccessResponse} returns this
3037
- */
3038
- proto.AccessResponse.prototype.setName = function(value) {
3039
- return jspb.Message.setProto3StringField(this, 1, value);
3040
- };
3041
-
3042
-
3043
- /**
3044
- * optional int64 userId = 2;
3045
- * @return {number}
3046
- */
3047
- proto.AccessResponse.prototype.getUserid = function() {
3048
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3049
- };
3050
-
3051
-
3052
- /**
3053
- * @param {number} value
3054
- * @return {!proto.AccessResponse} returns this
3055
- */
3056
- proto.AccessResponse.prototype.setUserid = function(value) {
3057
- return jspb.Message.setProto3IntField(this, 2, value);
3058
- };
3059
-
3060
-
3061
- /**
3062
- * optional string scopes = 3;
3063
- * @return {string}
3064
- */
3065
- proto.AccessResponse.prototype.getScopes = function() {
3066
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3067
- };
3068
-
3069
-
3070
- /**
3071
- * @param {string} value
3072
- * @return {!proto.AccessResponse} returns this
3073
- */
3074
- proto.AccessResponse.prototype.setScopes = function(value) {
3075
- return jspb.Message.setProto3StringField(this, 3, value);
3076
- };
3077
-
3078
-
3079
- /**
3080
- * optional string status = 4;
3081
- * @return {string}
3082
- */
3083
- proto.AccessResponse.prototype.getStatus = function() {
3084
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3085
- };
3086
-
3087
-
3088
- /**
3089
- * @param {string} value
3090
- * @return {!proto.AccessResponse} returns this
3091
- */
3092
- proto.AccessResponse.prototype.setStatus = function(value) {
3093
- return jspb.Message.setProto3StringField(this, 4, value);
3094
- };
3095
-
3096
-
3097
- /**
3098
- * optional string keyPrefix = 5;
3099
- * @return {string}
3100
- */
3101
- proto.AccessResponse.prototype.getKeyprefix = function() {
3102
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3103
- };
3104
-
3105
-
3106
- /**
3107
- * @param {string} value
3108
- * @return {!proto.AccessResponse} returns this
3109
- */
3110
- proto.AccessResponse.prototype.setKeyprefix = function(value) {
3111
- return jspb.Message.setProto3StringField(this, 5, value);
3112
- };
3113
-
3114
-
3115
-
3116
-
3117
-
3118
- if (jspb.Message.GENERATE_TO_OBJECT) {
3119
- /**
3120
- * Creates an object representation of this proto.
3121
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3122
- * Optional fields that are not set will be set to undefined.
3123
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3124
- * For the list of reserved names please see:
3125
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3126
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3127
- * JSPB instance for transitional soy proto support:
3128
- * http://goto/soy-param-migration
3129
- * @return {!Object}
3130
- */
3131
- proto.AccessApiManagersResponse.prototype.toObject = function(opt_includeInstance) {
3132
- return proto.AccessApiManagersResponse.toObject(opt_includeInstance, this);
3133
- };
3134
-
3135
-
3136
- /**
3137
- * Static version of the {@see toObject} method.
3138
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3139
- * the JSPB instance for transitional soy proto support:
3140
- * http://goto/soy-param-migration
3141
- * @param {!proto.AccessApiManagersResponse} msg The msg instance to transform.
3142
- * @return {!Object}
3143
- * @suppress {unusedLocalVariables} f is only used for nested messages
3144
- */
3145
- proto.AccessApiManagersResponse.toObject = function(includeInstance, msg) {
3146
- var f, obj = {
3147
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3148
- userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
3149
- scopes: jspb.Message.getFieldWithDefault(msg, 3, ""),
3150
- status: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
3151
- keyprefix: jspb.Message.getFieldWithDefault(msg, 5, ""),
3152
- val: jspb.Message.getFieldWithDefault(msg, 6, ""),
3153
- createdat: jspb.Message.getFieldWithDefault(msg, 7, ""),
3154
- updatedat: jspb.Message.getFieldWithDefault(msg, 8, "")
3155
- };
3156
-
3157
- if (includeInstance) {
3158
- obj.$jspbMessageInstance = msg;
3159
- }
3160
- return obj;
3161
- };
3162
- }
3163
-
3164
-
3165
- /**
3166
- * Deserializes binary data (in protobuf wire format).
3167
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3168
- * @return {!proto.AccessApiManagersResponse}
3169
- */
3170
- proto.AccessApiManagersResponse.deserializeBinary = function(bytes) {
3171
- var reader = new jspb.BinaryReader(bytes);
3172
- var msg = new proto.AccessApiManagersResponse;
3173
- return proto.AccessApiManagersResponse.deserializeBinaryFromReader(msg, reader);
3174
- };
3175
-
3176
-
3177
- /**
3178
- * Deserializes binary data (in protobuf wire format) from the
3179
- * given reader into the given message object.
3180
- * @param {!proto.AccessApiManagersResponse} msg The message object to deserialize into.
3181
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3182
- * @return {!proto.AccessApiManagersResponse}
3183
- */
3184
- proto.AccessApiManagersResponse.deserializeBinaryFromReader = function(msg, reader) {
3185
- while (reader.nextField()) {
3186
- if (reader.isEndGroup()) {
3187
- break;
3188
- }
3189
- var field = reader.getFieldNumber();
3190
- switch (field) {
3191
- case 1:
3192
- var value = /** @type {string} */ (reader.readString());
3193
- msg.setName(value);
3194
- break;
3195
- case 2:
3196
- var value = /** @type {number} */ (reader.readInt64());
3197
- msg.setUserid(value);
3198
- break;
3199
- case 3:
3200
- var value = /** @type {string} */ (reader.readString());
3201
- msg.setScopes(value);
3202
- break;
3203
- case 4:
3204
- var value = /** @type {boolean} */ (reader.readBool());
3205
- msg.setStatus(value);
3206
- break;
3207
- case 5:
3208
- var value = /** @type {string} */ (reader.readString());
3209
- msg.setKeyprefix(value);
3210
- break;
3211
- case 6:
3212
- var value = /** @type {string} */ (reader.readString());
3213
- msg.setVal(value);
3214
- break;
3215
- case 7:
3216
- var value = /** @type {string} */ (reader.readString());
3217
- msg.setCreatedat(value);
3218
- break;
3219
- case 8:
3220
- var value = /** @type {string} */ (reader.readString());
3221
- msg.setUpdatedat(value);
3222
- break;
3223
- default:
3224
- reader.skipField();
3225
- break;
3226
- }
3227
- }
3228
- return msg;
3229
- };
3230
-
3231
-
3232
- /**
3233
- * Serializes the message to binary data (in protobuf wire format).
3234
- * @return {!Uint8Array}
3235
- */
3236
- proto.AccessApiManagersResponse.prototype.serializeBinary = function() {
3237
- var writer = new jspb.BinaryWriter();
3238
- proto.AccessApiManagersResponse.serializeBinaryToWriter(this, writer);
3239
- return writer.getResultBuffer();
3240
- };
3241
-
3242
-
3243
- /**
3244
- * Serializes the given message to binary data (in protobuf wire
3245
- * format), writing to the given BinaryWriter.
3246
- * @param {!proto.AccessApiManagersResponse} message
3247
- * @param {!jspb.BinaryWriter} writer
3248
- * @suppress {unusedLocalVariables} f is only used for nested messages
3249
- */
3250
- proto.AccessApiManagersResponse.serializeBinaryToWriter = function(message, writer) {
3251
- var f = undefined;
3252
- f = message.getName();
3253
- if (f.length > 0) {
3254
- writer.writeString(
3255
- 1,
3256
- f
3257
- );
3258
- }
3259
- f = message.getUserid();
3260
- if (f !== 0) {
3261
- writer.writeInt64(
3262
- 2,
3263
- f
3264
- );
3265
- }
3266
- f = message.getScopes();
3267
- if (f.length > 0) {
3268
- writer.writeString(
3269
- 3,
3270
- f
3271
- );
3272
- }
3273
- f = message.getStatus();
3274
- if (f) {
3275
- writer.writeBool(
3276
- 4,
3277
- f
3278
- );
3279
- }
3280
- f = message.getKeyprefix();
3281
- if (f.length > 0) {
3282
- writer.writeString(
3283
- 5,
3284
- f
3285
- );
3286
- }
3287
- f = message.getVal();
3288
- if (f.length > 0) {
3289
- writer.writeString(
3290
- 6,
3291
- f
3292
- );
3293
- }
3294
- f = message.getCreatedat();
3295
- if (f.length > 0) {
3296
- writer.writeString(
3297
- 7,
3298
- f
3299
- );
3300
- }
3301
- f = message.getUpdatedat();
3302
- if (f.length > 0) {
3303
- writer.writeString(
3304
- 8,
3305
- f
3306
- );
3307
- }
3308
- };
3309
-
3310
-
3311
- /**
3312
- * optional string name = 1;
3313
- * @return {string}
3314
- */
3315
- proto.AccessApiManagersResponse.prototype.getName = function() {
3316
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3317
- };
3318
-
3319
-
3320
- /**
3321
- * @param {string} value
3322
- * @return {!proto.AccessApiManagersResponse} returns this
3323
- */
3324
- proto.AccessApiManagersResponse.prototype.setName = function(value) {
3325
- return jspb.Message.setProto3StringField(this, 1, value);
3326
- };
3327
-
3328
-
3329
- /**
3330
- * optional int64 userId = 2;
3331
- * @return {number}
3332
- */
3333
- proto.AccessApiManagersResponse.prototype.getUserid = function() {
3334
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3335
- };
3336
-
3337
-
3338
- /**
3339
- * @param {number} value
3340
- * @return {!proto.AccessApiManagersResponse} returns this
3341
- */
3342
- proto.AccessApiManagersResponse.prototype.setUserid = function(value) {
3343
- return jspb.Message.setProto3IntField(this, 2, value);
3344
- };
3345
-
3346
-
3347
- /**
3348
- * optional string scopes = 3;
3349
- * @return {string}
3350
- */
3351
- proto.AccessApiManagersResponse.prototype.getScopes = function() {
3352
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3353
- };
3354
-
3355
-
3356
- /**
3357
- * @param {string} value
3358
- * @return {!proto.AccessApiManagersResponse} returns this
3359
- */
3360
- proto.AccessApiManagersResponse.prototype.setScopes = function(value) {
3361
- return jspb.Message.setProto3StringField(this, 3, value);
3362
- };
3363
-
3364
-
3365
- /**
3366
- * optional bool status = 4;
3367
- * @return {boolean}
3368
- */
3369
- proto.AccessApiManagersResponse.prototype.getStatus = function() {
3370
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
3371
- };
3372
-
3373
-
3374
- /**
3375
- * @param {boolean} value
3376
- * @return {!proto.AccessApiManagersResponse} returns this
3377
- */
3378
- proto.AccessApiManagersResponse.prototype.setStatus = function(value) {
3379
- return jspb.Message.setProto3BooleanField(this, 4, value);
3380
- };
3381
-
3382
-
3383
- /**
3384
- * optional string keyPrefix = 5;
3385
- * @return {string}
3386
- */
3387
- proto.AccessApiManagersResponse.prototype.getKeyprefix = function() {
3388
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3389
- };
3390
-
3391
-
3392
- /**
3393
- * @param {string} value
3394
- * @return {!proto.AccessApiManagersResponse} returns this
3395
- */
3396
- proto.AccessApiManagersResponse.prototype.setKeyprefix = function(value) {
3397
- return jspb.Message.setProto3StringField(this, 5, value);
3398
- };
3399
-
3400
-
3401
- /**
3402
- * optional string val = 6;
3403
- * @return {string}
3404
- */
3405
- proto.AccessApiManagersResponse.prototype.getVal = function() {
3406
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3407
- };
3408
-
3409
-
3410
- /**
3411
- * @param {string} value
3412
- * @return {!proto.AccessApiManagersResponse} returns this
3413
- */
3414
- proto.AccessApiManagersResponse.prototype.setVal = function(value) {
3415
- return jspb.Message.setProto3StringField(this, 6, value);
3416
- };
3417
-
3418
-
3419
- /**
3420
- * optional string createdAt = 7;
3421
- * @return {string}
3422
- */
3423
- proto.AccessApiManagersResponse.prototype.getCreatedat = function() {
3424
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3425
- };
3426
-
3427
-
3428
- /**
3429
- * @param {string} value
3430
- * @return {!proto.AccessApiManagersResponse} returns this
3431
- */
3432
- proto.AccessApiManagersResponse.prototype.setCreatedat = function(value) {
3433
- return jspb.Message.setProto3StringField(this, 7, value);
3434
- };
3435
-
3436
-
3437
- /**
3438
- * optional string updatedAt = 8;
3439
- * @return {string}
3440
- */
3441
- proto.AccessApiManagersResponse.prototype.getUpdatedat = function() {
3442
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3443
- };
3444
-
3445
-
3446
- /**
3447
- * @param {string} value
3448
- * @return {!proto.AccessApiManagersResponse} returns this
3449
- */
3450
- proto.AccessApiManagersResponse.prototype.setUpdatedat = function(value) {
3451
- return jspb.Message.setProto3StringField(this, 8, value);
3452
- };
3453
-
3454
-
3455
-
3456
- /**
3457
- * List of repeated fields within this message type.
3458
- * @private {!Array<number>}
3459
- * @const
3460
- */
3461
- proto.ListAccessResponse.repeatedFields_ = [1];
3462
-
3463
-
3464
-
3465
- if (jspb.Message.GENERATE_TO_OBJECT) {
3466
- /**
3467
- * Creates an object representation of this proto.
3468
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3469
- * Optional fields that are not set will be set to undefined.
3470
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3471
- * For the list of reserved names please see:
3472
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3473
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3474
- * JSPB instance for transitional soy proto support:
3475
- * http://goto/soy-param-migration
3476
- * @return {!Object}
3477
- */
3478
- proto.ListAccessResponse.prototype.toObject = function(opt_includeInstance) {
3479
- return proto.ListAccessResponse.toObject(opt_includeInstance, this);
3480
- };
3481
-
3482
-
3483
- /**
3484
- * Static version of the {@see toObject} method.
3485
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3486
- * the JSPB instance for transitional soy proto support:
3487
- * http://goto/soy-param-migration
3488
- * @param {!proto.ListAccessResponse} msg The msg instance to transform.
3489
- * @return {!Object}
3490
- * @suppress {unusedLocalVariables} f is only used for nested messages
3491
- */
3492
- proto.ListAccessResponse.toObject = function(includeInstance, msg) {
3493
- var f, obj = {
3494
- dataList: jspb.Message.toObjectList(msg.getDataList(),
3495
- proto.AccessResponse.toObject, includeInstance)
3496
- };
3497
-
3498
- if (includeInstance) {
3499
- obj.$jspbMessageInstance = msg;
3500
- }
3501
- return obj;
3502
- };
3503
- }
3504
-
3505
-
3506
- /**
3507
- * Deserializes binary data (in protobuf wire format).
3508
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3509
- * @return {!proto.ListAccessResponse}
3510
- */
3511
- proto.ListAccessResponse.deserializeBinary = function(bytes) {
3512
- var reader = new jspb.BinaryReader(bytes);
3513
- var msg = new proto.ListAccessResponse;
3514
- return proto.ListAccessResponse.deserializeBinaryFromReader(msg, reader);
3515
- };
3516
-
3517
-
3518
- /**
3519
- * Deserializes binary data (in protobuf wire format) from the
3520
- * given reader into the given message object.
3521
- * @param {!proto.ListAccessResponse} msg The message object to deserialize into.
3522
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3523
- * @return {!proto.ListAccessResponse}
3524
- */
3525
- proto.ListAccessResponse.deserializeBinaryFromReader = function(msg, reader) {
3526
- while (reader.nextField()) {
3527
- if (reader.isEndGroup()) {
3528
- break;
3529
- }
3530
- var field = reader.getFieldNumber();
3531
- switch (field) {
3532
- case 1:
3533
- var value = new proto.AccessResponse;
3534
- reader.readMessage(value,proto.AccessResponse.deserializeBinaryFromReader);
3535
- msg.addData(value);
3536
- break;
3537
- default:
3538
- reader.skipField();
3539
- break;
3540
- }
3541
- }
3542
- return msg;
3543
- };
3544
-
3545
-
3546
- /**
3547
- * Serializes the message to binary data (in protobuf wire format).
3548
- * @return {!Uint8Array}
3549
- */
3550
- proto.ListAccessResponse.prototype.serializeBinary = function() {
3551
- var writer = new jspb.BinaryWriter();
3552
- proto.ListAccessResponse.serializeBinaryToWriter(this, writer);
3553
- return writer.getResultBuffer();
3554
- };
3555
-
3556
-
3557
- /**
3558
- * Serializes the given message to binary data (in protobuf wire
3559
- * format), writing to the given BinaryWriter.
3560
- * @param {!proto.ListAccessResponse} message
3561
- * @param {!jspb.BinaryWriter} writer
3562
- * @suppress {unusedLocalVariables} f is only used for nested messages
3563
- */
3564
- proto.ListAccessResponse.serializeBinaryToWriter = function(message, writer) {
3565
- var f = undefined;
3566
- f = message.getDataList();
3567
- if (f.length > 0) {
3568
- writer.writeRepeatedMessage(
3569
- 1,
3570
- f,
3571
- proto.AccessResponse.serializeBinaryToWriter
3572
- );
3573
- }
3574
- };
3575
-
3576
-
3577
- /**
3578
- * repeated AccessResponse data = 1;
3579
- * @return {!Array<!proto.AccessResponse>}
3580
- */
3581
- proto.ListAccessResponse.prototype.getDataList = function() {
3582
- return /** @type{!Array<!proto.AccessResponse>} */ (
3583
- jspb.Message.getRepeatedWrapperField(this, proto.AccessResponse, 1));
3584
- };
3585
-
3586
-
3587
- /**
3588
- * @param {!Array<!proto.AccessResponse>} value
3589
- * @return {!proto.ListAccessResponse} returns this
3590
- */
3591
- proto.ListAccessResponse.prototype.setDataList = function(value) {
3592
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
3593
- };
3594
-
3595
-
3596
- /**
3597
- * @param {!proto.AccessResponse=} opt_value
3598
- * @param {number=} opt_index
3599
- * @return {!proto.AccessResponse}
3600
- */
3601
- proto.ListAccessResponse.prototype.addData = function(opt_value, opt_index) {
3602
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.AccessResponse, opt_index);
3603
- };
3604
-
3605
-
3606
- /**
3607
- * Clears the list making it empty but non-null.
3608
- * @return {!proto.ListAccessResponse} returns this
3609
- */
3610
- proto.ListAccessResponse.prototype.clearDataList = function() {
3611
- return this.setDataList([]);
3612
- };
3613
-
3614
-
3615
-
3616
-
3617
-
3618
- if (jspb.Message.GENERATE_TO_OBJECT) {
3619
- /**
3620
- * Creates an object representation of this proto.
3621
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3622
- * Optional fields that are not set will be set to undefined.
3623
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3624
- * For the list of reserved names please see:
3625
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3626
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3627
- * JSPB instance for transitional soy proto support:
3628
- * http://goto/soy-param-migration
3629
- * @return {!Object}
3630
- */
3631
- proto.ChangePasswordResponse.prototype.toObject = function(opt_includeInstance) {
3632
- return proto.ChangePasswordResponse.toObject(opt_includeInstance, this);
3633
- };
3634
-
3635
-
3636
- /**
3637
- * Static version of the {@see toObject} method.
3638
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3639
- * the JSPB instance for transitional soy proto support:
3640
- * http://goto/soy-param-migration
3641
- * @param {!proto.ChangePasswordResponse} msg The msg instance to transform.
3642
- * @return {!Object}
3643
- * @suppress {unusedLocalVariables} f is only used for nested messages
3644
- */
3645
- proto.ChangePasswordResponse.toObject = function(includeInstance, msg) {
3646
- var f, obj = {
3647
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3648
- };
3649
-
3650
- if (includeInstance) {
3651
- obj.$jspbMessageInstance = msg;
3652
- }
3653
- return obj;
3654
- };
3655
- }
3656
-
3657
-
3658
- /**
3659
- * Deserializes binary data (in protobuf wire format).
3660
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3661
- * @return {!proto.ChangePasswordResponse}
3662
- */
3663
- proto.ChangePasswordResponse.deserializeBinary = function(bytes) {
3664
- var reader = new jspb.BinaryReader(bytes);
3665
- var msg = new proto.ChangePasswordResponse;
3666
- return proto.ChangePasswordResponse.deserializeBinaryFromReader(msg, reader);
3667
- };
3668
-
3669
-
3670
- /**
3671
- * Deserializes binary data (in protobuf wire format) from the
3672
- * given reader into the given message object.
3673
- * @param {!proto.ChangePasswordResponse} msg The message object to deserialize into.
3674
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3675
- * @return {!proto.ChangePasswordResponse}
3676
- */
3677
- proto.ChangePasswordResponse.deserializeBinaryFromReader = function(msg, reader) {
3678
- while (reader.nextField()) {
3679
- if (reader.isEndGroup()) {
3680
- break;
3681
- }
3682
- var field = reader.getFieldNumber();
3683
- switch (field) {
3684
- case 1:
3685
- var value = new prisca_v1_global_meta_meta_pb.Meta;
3686
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
3687
- msg.setMeta(value);
3688
- break;
3689
- default:
3690
- reader.skipField();
3691
- break;
3692
- }
3693
- }
3694
- return msg;
3695
- };
3696
-
3697
-
3698
- /**
3699
- * Serializes the message to binary data (in protobuf wire format).
3700
- * @return {!Uint8Array}
3701
- */
3702
- proto.ChangePasswordResponse.prototype.serializeBinary = function() {
3703
- var writer = new jspb.BinaryWriter();
3704
- proto.ChangePasswordResponse.serializeBinaryToWriter(this, writer);
3705
- return writer.getResultBuffer();
3706
- };
3707
-
3708
-
3709
- /**
3710
- * Serializes the given message to binary data (in protobuf wire
3711
- * format), writing to the given BinaryWriter.
3712
- * @param {!proto.ChangePasswordResponse} message
3713
- * @param {!jspb.BinaryWriter} writer
3714
- * @suppress {unusedLocalVariables} f is only used for nested messages
3715
- */
3716
- proto.ChangePasswordResponse.serializeBinaryToWriter = function(message, writer) {
3717
- var f = undefined;
3718
- f = message.getMeta();
3719
- if (f != null) {
3720
- writer.writeMessage(
3721
- 1,
3722
- f,
3723
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
3724
- );
3725
- }
3726
- };
3727
-
3728
-
3729
- /**
3730
- * optional prisca.v1.global.meta.Meta meta = 1;
3731
- * @return {?proto.prisca.v1.global.meta.Meta}
3732
- */
3733
- proto.ChangePasswordResponse.prototype.getMeta = function() {
3734
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
3735
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
3736
- };
3737
-
3738
-
3739
- /**
3740
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
3741
- * @return {!proto.ChangePasswordResponse} returns this
3742
- */
3743
- proto.ChangePasswordResponse.prototype.setMeta = function(value) {
3744
- return jspb.Message.setWrapperField(this, 1, value);
3745
- };
3746
-
3747
-
3748
- /**
3749
- * Clears the message field making it undefined.
3750
- * @return {!proto.ChangePasswordResponse} returns this
3751
- */
3752
- proto.ChangePasswordResponse.prototype.clearMeta = function() {
3753
- return this.setMeta(undefined);
3754
- };
3755
-
3756
-
3757
- /**
3758
- * Returns whether this field is set.
3759
- * @return {boolean}
3760
- */
3761
- proto.ChangePasswordResponse.prototype.hasMeta = function() {
3762
- return jspb.Message.getField(this, 1) != null;
3763
- };
3764
-
3765
-
3766
- goog.object.extend(exports, proto);