@aldiokta/protocgen 1.1.51 → 1.1.53

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 (54) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
  3. package/prisca/v1/bidding/bidding_pb.js +463 -2
  4. package/prisca/v1/budget/budget_grpc_pb.js +213 -0
  5. package/prisca/v1/budget/budget_pb.js +3008 -0
  6. package/prisca/v1/budget_activity/budget_activity_grpc_pb.js +212 -0
  7. package/prisca/v1/budget_activity/budget_activity_pb.js +2886 -0
  8. package/prisca/v1/budget_categories/budget_categories_grpc_pb.js +212 -0
  9. package/prisca/v1/budget_categories/budget_categories_pb.js +2916 -0
  10. package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +214 -0
  11. package/prisca/v1/budget_planning/budget_planning_pb.js +3682 -0
  12. package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
  13. package/prisca/v1/business_fields/business_fields_pb.js +356 -0
  14. package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
  15. package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
  16. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
  17. package/prisca/v1/core/access_manager/access_manager_pb.js +1758 -19
  18. package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
  19. package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
  20. package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
  21. package/prisca/v1/core/auth/auth_pb.js +152 -0
  22. package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
  23. package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
  24. package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
  25. package/prisca/v1/core/employee/employee_pb.js +203 -0
  26. package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
  27. package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_pb.js +102 -12
  29. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
  30. package/prisca/v1/core/material/material_grpc_pb.js +2 -0
  31. package/prisca/v1/core/material/material_pb.js +420 -2
  32. package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
  33. package/prisca/v1/core/messaging/email_template_pb.js +385 -0
  34. package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
  35. package/prisca/v1/core/number_range/number_range_pb.js +385 -0
  36. package/prisca/v1/core/report/report_pb.js +31 -1
  37. package/prisca/v1/core/tax_code/tax_code_pb.js +14 -14
  38. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
  39. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
  40. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  41. package/prisca/v1/core/users/users_pb.js +2 -0
  42. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
  43. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  44. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
  45. package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
  46. package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
  47. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
  48. package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
  49. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
  50. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
  51. package/prisca/v1/quotation/quotation_pb.js +55 -2
  52. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
  53. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
  54. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
@@ -0,0 +1,3024 @@
1
+ // source: prisca/v1/core/access_api/access_api.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 = globalThis;
17
+
18
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
19
+ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
20
+ var prisca_v1_core_users_users_pb = require('../../../../prisca/v1/core/users/users_pb.js');
21
+ goog.object.extend(proto, prisca_v1_core_users_users_pb);
22
+ var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
23
+ goog.object.extend(proto, prisca_v1_core_company_company_pb);
24
+ goog.exportSymbol('proto.AccessApi', null, global);
25
+ goog.exportSymbol('proto.BaseAccessApiRequest', null, global);
26
+ goog.exportSymbol('proto.CreateAccessApiRequest', null, global);
27
+ goog.exportSymbol('proto.CreateAccessApiResponse', null, global);
28
+ goog.exportSymbol('proto.DeleteAccessApiRequest', null, global);
29
+ goog.exportSymbol('proto.DeleteAccessApiResponse', null, global);
30
+ goog.exportSymbol('proto.GetAccessApiByIdRequest', null, global);
31
+ goog.exportSymbol('proto.GetAccessApiByIdResponse', null, global);
32
+ goog.exportSymbol('proto.GetListAccessApiRequest', null, global);
33
+ goog.exportSymbol('proto.GetListAccessApiResponse', null, global);
34
+ goog.exportSymbol('proto.IntrospectRequest', null, global);
35
+ goog.exportSymbol('proto.UpdateAccessApiRequest', null, global);
36
+ goog.exportSymbol('proto.UpdateAccessApiResponse', null, global);
37
+ /**
38
+ * Generated by JsPbCodeGenerator.
39
+ * @param {Array=} opt_data Optional initial data array, typically from a
40
+ * server response, or constructed directly in Javascript. The array is used
41
+ * in place and becomes part of the constructed object. It is not cloned.
42
+ * If no data is provided, the constructed object will be empty, but still
43
+ * valid.
44
+ * @extends {jspb.Message}
45
+ * @constructor
46
+ */
47
+ proto.BaseAccessApiRequest = function(opt_data) {
48
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
49
+ };
50
+ goog.inherits(proto.BaseAccessApiRequest, jspb.Message);
51
+ if (goog.DEBUG && !COMPILED) {
52
+ /**
53
+ * @public
54
+ * @override
55
+ */
56
+ proto.BaseAccessApiRequest.displayName = 'proto.BaseAccessApiRequest';
57
+ }
58
+ /**
59
+ * Generated by JsPbCodeGenerator.
60
+ * @param {Array=} opt_data Optional initial data array, typically from a
61
+ * server response, or constructed directly in Javascript. The array is used
62
+ * in place and becomes part of the constructed object. It is not cloned.
63
+ * If no data is provided, the constructed object will be empty, but still
64
+ * valid.
65
+ * @extends {jspb.Message}
66
+ * @constructor
67
+ */
68
+ proto.AccessApi = function(opt_data) {
69
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
70
+ };
71
+ goog.inherits(proto.AccessApi, jspb.Message);
72
+ if (goog.DEBUG && !COMPILED) {
73
+ /**
74
+ * @public
75
+ * @override
76
+ */
77
+ proto.AccessApi.displayName = 'proto.AccessApi';
78
+ }
79
+ /**
80
+ * Generated by JsPbCodeGenerator.
81
+ * @param {Array=} opt_data Optional initial data array, typically from a
82
+ * server response, or constructed directly in Javascript. The array is used
83
+ * in place and becomes part of the constructed object. It is not cloned.
84
+ * If no data is provided, the constructed object will be empty, but still
85
+ * valid.
86
+ * @extends {jspb.Message}
87
+ * @constructor
88
+ */
89
+ proto.CreateAccessApiRequest = function(opt_data) {
90
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
91
+ };
92
+ goog.inherits(proto.CreateAccessApiRequest, jspb.Message);
93
+ if (goog.DEBUG && !COMPILED) {
94
+ /**
95
+ * @public
96
+ * @override
97
+ */
98
+ proto.CreateAccessApiRequest.displayName = 'proto.CreateAccessApiRequest';
99
+ }
100
+ /**
101
+ * Generated by JsPbCodeGenerator.
102
+ * @param {Array=} opt_data Optional initial data array, typically from a
103
+ * server response, or constructed directly in Javascript. The array is used
104
+ * in place and becomes part of the constructed object. It is not cloned.
105
+ * If no data is provided, the constructed object will be empty, but still
106
+ * valid.
107
+ * @extends {jspb.Message}
108
+ * @constructor
109
+ */
110
+ proto.GetListAccessApiRequest = function(opt_data) {
111
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
112
+ };
113
+ goog.inherits(proto.GetListAccessApiRequest, jspb.Message);
114
+ if (goog.DEBUG && !COMPILED) {
115
+ /**
116
+ * @public
117
+ * @override
118
+ */
119
+ proto.GetListAccessApiRequest.displayName = 'proto.GetListAccessApiRequest';
120
+ }
121
+ /**
122
+ * Generated by JsPbCodeGenerator.
123
+ * @param {Array=} opt_data Optional initial data array, typically from a
124
+ * server response, or constructed directly in Javascript. The array is used
125
+ * in place and becomes part of the constructed object. It is not cloned.
126
+ * If no data is provided, the constructed object will be empty, but still
127
+ * valid.
128
+ * @extends {jspb.Message}
129
+ * @constructor
130
+ */
131
+ proto.GetAccessApiByIdRequest = function(opt_data) {
132
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
133
+ };
134
+ goog.inherits(proto.GetAccessApiByIdRequest, jspb.Message);
135
+ if (goog.DEBUG && !COMPILED) {
136
+ /**
137
+ * @public
138
+ * @override
139
+ */
140
+ proto.GetAccessApiByIdRequest.displayName = 'proto.GetAccessApiByIdRequest';
141
+ }
142
+ /**
143
+ * Generated by JsPbCodeGenerator.
144
+ * @param {Array=} opt_data Optional initial data array, typically from a
145
+ * server response, or constructed directly in Javascript. The array is used
146
+ * in place and becomes part of the constructed object. It is not cloned.
147
+ * If no data is provided, the constructed object will be empty, but still
148
+ * valid.
149
+ * @extends {jspb.Message}
150
+ * @constructor
151
+ */
152
+ proto.IntrospectRequest = function(opt_data) {
153
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
154
+ };
155
+ goog.inherits(proto.IntrospectRequest, jspb.Message);
156
+ if (goog.DEBUG && !COMPILED) {
157
+ /**
158
+ * @public
159
+ * @override
160
+ */
161
+ proto.IntrospectRequest.displayName = 'proto.IntrospectRequest';
162
+ }
163
+ /**
164
+ * Generated by JsPbCodeGenerator.
165
+ * @param {Array=} opt_data Optional initial data array, typically from a
166
+ * server response, or constructed directly in Javascript. The array is used
167
+ * in place and becomes part of the constructed object. It is not cloned.
168
+ * If no data is provided, the constructed object will be empty, but still
169
+ * valid.
170
+ * @extends {jspb.Message}
171
+ * @constructor
172
+ */
173
+ proto.UpdateAccessApiRequest = function(opt_data) {
174
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
175
+ };
176
+ goog.inherits(proto.UpdateAccessApiRequest, jspb.Message);
177
+ if (goog.DEBUG && !COMPILED) {
178
+ /**
179
+ * @public
180
+ * @override
181
+ */
182
+ proto.UpdateAccessApiRequest.displayName = 'proto.UpdateAccessApiRequest';
183
+ }
184
+ /**
185
+ * Generated by JsPbCodeGenerator.
186
+ * @param {Array=} opt_data Optional initial data array, typically from a
187
+ * server response, or constructed directly in Javascript. The array is used
188
+ * in place and becomes part of the constructed object. It is not cloned.
189
+ * If no data is provided, the constructed object will be empty, but still
190
+ * valid.
191
+ * @extends {jspb.Message}
192
+ * @constructor
193
+ */
194
+ proto.DeleteAccessApiRequest = function(opt_data) {
195
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteAccessApiRequest.repeatedFields_, null);
196
+ };
197
+ goog.inherits(proto.DeleteAccessApiRequest, jspb.Message);
198
+ if (goog.DEBUG && !COMPILED) {
199
+ /**
200
+ * @public
201
+ * @override
202
+ */
203
+ proto.DeleteAccessApiRequest.displayName = 'proto.DeleteAccessApiRequest';
204
+ }
205
+ /**
206
+ * Generated by JsPbCodeGenerator.
207
+ * @param {Array=} opt_data Optional initial data array, typically from a
208
+ * server response, or constructed directly in Javascript. The array is used
209
+ * in place and becomes part of the constructed object. It is not cloned.
210
+ * If no data is provided, the constructed object will be empty, but still
211
+ * valid.
212
+ * @extends {jspb.Message}
213
+ * @constructor
214
+ */
215
+ proto.CreateAccessApiResponse = function(opt_data) {
216
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
217
+ };
218
+ goog.inherits(proto.CreateAccessApiResponse, jspb.Message);
219
+ if (goog.DEBUG && !COMPILED) {
220
+ /**
221
+ * @public
222
+ * @override
223
+ */
224
+ proto.CreateAccessApiResponse.displayName = 'proto.CreateAccessApiResponse';
225
+ }
226
+ /**
227
+ * Generated by JsPbCodeGenerator.
228
+ * @param {Array=} opt_data Optional initial data array, typically from a
229
+ * server response, or constructed directly in Javascript. The array is used
230
+ * in place and becomes part of the constructed object. It is not cloned.
231
+ * If no data is provided, the constructed object will be empty, but still
232
+ * valid.
233
+ * @extends {jspb.Message}
234
+ * @constructor
235
+ */
236
+ proto.GetListAccessApiResponse = function(opt_data) {
237
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListAccessApiResponse.repeatedFields_, null);
238
+ };
239
+ goog.inherits(proto.GetListAccessApiResponse, jspb.Message);
240
+ if (goog.DEBUG && !COMPILED) {
241
+ /**
242
+ * @public
243
+ * @override
244
+ */
245
+ proto.GetListAccessApiResponse.displayName = 'proto.GetListAccessApiResponse';
246
+ }
247
+ /**
248
+ * Generated by JsPbCodeGenerator.
249
+ * @param {Array=} opt_data Optional initial data array, typically from a
250
+ * server response, or constructed directly in Javascript. The array is used
251
+ * in place and becomes part of the constructed object. It is not cloned.
252
+ * If no data is provided, the constructed object will be empty, but still
253
+ * valid.
254
+ * @extends {jspb.Message}
255
+ * @constructor
256
+ */
257
+ proto.GetAccessApiByIdResponse = function(opt_data) {
258
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
259
+ };
260
+ goog.inherits(proto.GetAccessApiByIdResponse, jspb.Message);
261
+ if (goog.DEBUG && !COMPILED) {
262
+ /**
263
+ * @public
264
+ * @override
265
+ */
266
+ proto.GetAccessApiByIdResponse.displayName = 'proto.GetAccessApiByIdResponse';
267
+ }
268
+ /**
269
+ * Generated by JsPbCodeGenerator.
270
+ * @param {Array=} opt_data Optional initial data array, typically from a
271
+ * server response, or constructed directly in Javascript. The array is used
272
+ * in place and becomes part of the constructed object. It is not cloned.
273
+ * If no data is provided, the constructed object will be empty, but still
274
+ * valid.
275
+ * @extends {jspb.Message}
276
+ * @constructor
277
+ */
278
+ proto.UpdateAccessApiResponse = function(opt_data) {
279
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
280
+ };
281
+ goog.inherits(proto.UpdateAccessApiResponse, jspb.Message);
282
+ if (goog.DEBUG && !COMPILED) {
283
+ /**
284
+ * @public
285
+ * @override
286
+ */
287
+ proto.UpdateAccessApiResponse.displayName = 'proto.UpdateAccessApiResponse';
288
+ }
289
+ /**
290
+ * Generated by JsPbCodeGenerator.
291
+ * @param {Array=} opt_data Optional initial data array, typically from a
292
+ * server response, or constructed directly in Javascript. The array is used
293
+ * in place and becomes part of the constructed object. It is not cloned.
294
+ * If no data is provided, the constructed object will be empty, but still
295
+ * valid.
296
+ * @extends {jspb.Message}
297
+ * @constructor
298
+ */
299
+ proto.DeleteAccessApiResponse = function(opt_data) {
300
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteAccessApiResponse.repeatedFields_, null);
301
+ };
302
+ goog.inherits(proto.DeleteAccessApiResponse, jspb.Message);
303
+ if (goog.DEBUG && !COMPILED) {
304
+ /**
305
+ * @public
306
+ * @override
307
+ */
308
+ proto.DeleteAccessApiResponse.displayName = 'proto.DeleteAccessApiResponse';
309
+ }
310
+
311
+
312
+
313
+ if (jspb.Message.GENERATE_TO_OBJECT) {
314
+ /**
315
+ * Creates an object representation of this proto.
316
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
317
+ * Optional fields that are not set will be set to undefined.
318
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
319
+ * For the list of reserved names please see:
320
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
321
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
322
+ * JSPB instance for transitional soy proto support:
323
+ * http://goto/soy-param-migration
324
+ * @return {!Object}
325
+ */
326
+ proto.BaseAccessApiRequest.prototype.toObject = function(opt_includeInstance) {
327
+ return proto.BaseAccessApiRequest.toObject(opt_includeInstance, this);
328
+ };
329
+
330
+
331
+ /**
332
+ * Static version of the {@see toObject} method.
333
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
334
+ * the JSPB instance for transitional soy proto support:
335
+ * http://goto/soy-param-migration
336
+ * @param {!proto.BaseAccessApiRequest} msg The msg instance to transform.
337
+ * @return {!Object}
338
+ * @suppress {unusedLocalVariables} f is only used for nested messages
339
+ */
340
+ proto.BaseAccessApiRequest.toObject = function(includeInstance, msg) {
341
+ var f, obj = {
342
+ scopes: jspb.Message.getFieldWithDefault(msg, 1, ""),
343
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
344
+ validTo: jspb.Message.getFieldWithDefault(msg, 3, ""),
345
+ clientId: jspb.Message.getFieldWithDefault(msg, 4, "")
346
+ };
347
+
348
+ if (includeInstance) {
349
+ obj.$jspbMessageInstance = msg;
350
+ }
351
+ return obj;
352
+ };
353
+ }
354
+
355
+
356
+ /**
357
+ * Deserializes binary data (in protobuf wire format).
358
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
359
+ * @return {!proto.BaseAccessApiRequest}
360
+ */
361
+ proto.BaseAccessApiRequest.deserializeBinary = function(bytes) {
362
+ var reader = new jspb.BinaryReader(bytes);
363
+ var msg = new proto.BaseAccessApiRequest;
364
+ return proto.BaseAccessApiRequest.deserializeBinaryFromReader(msg, reader);
365
+ };
366
+
367
+
368
+ /**
369
+ * Deserializes binary data (in protobuf wire format) from the
370
+ * given reader into the given message object.
371
+ * @param {!proto.BaseAccessApiRequest} msg The message object to deserialize into.
372
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
373
+ * @return {!proto.BaseAccessApiRequest}
374
+ */
375
+ proto.BaseAccessApiRequest.deserializeBinaryFromReader = function(msg, reader) {
376
+ while (reader.nextField()) {
377
+ if (reader.isEndGroup()) {
378
+ break;
379
+ }
380
+ var field = reader.getFieldNumber();
381
+ switch (field) {
382
+ case 1:
383
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
384
+ msg.setScopes(value);
385
+ break;
386
+ case 2:
387
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
388
+ msg.setName(value);
389
+ break;
390
+ case 3:
391
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
392
+ msg.setValidTo(value);
393
+ break;
394
+ case 4:
395
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
396
+ msg.setClientId(value);
397
+ break;
398
+ default:
399
+ reader.skipField();
400
+ break;
401
+ }
402
+ }
403
+ return msg;
404
+ };
405
+
406
+
407
+ /**
408
+ * Serializes the message to binary data (in protobuf wire format).
409
+ * @return {!Uint8Array}
410
+ */
411
+ proto.BaseAccessApiRequest.prototype.serializeBinary = function() {
412
+ var writer = new jspb.BinaryWriter();
413
+ proto.BaseAccessApiRequest.serializeBinaryToWriter(this, writer);
414
+ return writer.getResultBuffer();
415
+ };
416
+
417
+
418
+ /**
419
+ * Serializes the given message to binary data (in protobuf wire
420
+ * format), writing to the given BinaryWriter.
421
+ * @param {!proto.BaseAccessApiRequest} message
422
+ * @param {!jspb.BinaryWriter} writer
423
+ * @suppress {unusedLocalVariables} f is only used for nested messages
424
+ */
425
+ proto.BaseAccessApiRequest.serializeBinaryToWriter = function(message, writer) {
426
+ var f = undefined;
427
+ f = message.getScopes();
428
+ if (f.length > 0) {
429
+ writer.writeString(
430
+ 1,
431
+ f
432
+ );
433
+ }
434
+ f = message.getName();
435
+ if (f.length > 0) {
436
+ writer.writeString(
437
+ 2,
438
+ f
439
+ );
440
+ }
441
+ f = message.getValidTo();
442
+ if (f.length > 0) {
443
+ writer.writeString(
444
+ 3,
445
+ f
446
+ );
447
+ }
448
+ f = message.getClientId();
449
+ if (f.length > 0) {
450
+ writer.writeString(
451
+ 4,
452
+ f
453
+ );
454
+ }
455
+ };
456
+
457
+
458
+ /**
459
+ * optional string scopes = 1;
460
+ * @return {string}
461
+ */
462
+ proto.BaseAccessApiRequest.prototype.getScopes = function() {
463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
464
+ };
465
+
466
+
467
+ /**
468
+ * @param {string} value
469
+ * @return {!proto.BaseAccessApiRequest} returns this
470
+ */
471
+ proto.BaseAccessApiRequest.prototype.setScopes = function(value) {
472
+ return jspb.Message.setProto3StringField(this, 1, value);
473
+ };
474
+
475
+
476
+ /**
477
+ * optional string name = 2;
478
+ * @return {string}
479
+ */
480
+ proto.BaseAccessApiRequest.prototype.getName = function() {
481
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
482
+ };
483
+
484
+
485
+ /**
486
+ * @param {string} value
487
+ * @return {!proto.BaseAccessApiRequest} returns this
488
+ */
489
+ proto.BaseAccessApiRequest.prototype.setName = function(value) {
490
+ return jspb.Message.setProto3StringField(this, 2, value);
491
+ };
492
+
493
+
494
+ /**
495
+ * optional string valid_to = 3;
496
+ * @return {string}
497
+ */
498
+ proto.BaseAccessApiRequest.prototype.getValidTo = function() {
499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
500
+ };
501
+
502
+
503
+ /**
504
+ * @param {string} value
505
+ * @return {!proto.BaseAccessApiRequest} returns this
506
+ */
507
+ proto.BaseAccessApiRequest.prototype.setValidTo = function(value) {
508
+ return jspb.Message.setProto3StringField(this, 3, value);
509
+ };
510
+
511
+
512
+ /**
513
+ * optional string client_id = 4;
514
+ * @return {string}
515
+ */
516
+ proto.BaseAccessApiRequest.prototype.getClientId = function() {
517
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
518
+ };
519
+
520
+
521
+ /**
522
+ * @param {string} value
523
+ * @return {!proto.BaseAccessApiRequest} returns this
524
+ */
525
+ proto.BaseAccessApiRequest.prototype.setClientId = function(value) {
526
+ return jspb.Message.setProto3StringField(this, 4, value);
527
+ };
528
+
529
+
530
+
531
+
532
+
533
+ if (jspb.Message.GENERATE_TO_OBJECT) {
534
+ /**
535
+ * Creates an object representation of this proto.
536
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
537
+ * Optional fields that are not set will be set to undefined.
538
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
539
+ * For the list of reserved names please see:
540
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
541
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
542
+ * JSPB instance for transitional soy proto support:
543
+ * http://goto/soy-param-migration
544
+ * @return {!Object}
545
+ */
546
+ proto.AccessApi.prototype.toObject = function(opt_includeInstance) {
547
+ return proto.AccessApi.toObject(opt_includeInstance, this);
548
+ };
549
+
550
+
551
+ /**
552
+ * Static version of the {@see toObject} method.
553
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
554
+ * the JSPB instance for transitional soy proto support:
555
+ * http://goto/soy-param-migration
556
+ * @param {!proto.AccessApi} msg The msg instance to transform.
557
+ * @return {!Object}
558
+ * @suppress {unusedLocalVariables} f is only used for nested messages
559
+ */
560
+ proto.AccessApi.toObject = function(includeInstance, msg) {
561
+ var f, obj = {
562
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
563
+ userReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
564
+ keyPrefix: jspb.Message.getFieldWithDefault(msg, 3, ""),
565
+ val: jspb.Message.getFieldWithDefault(msg, 4, ""),
566
+ scopes: jspb.Message.getFieldWithDefault(msg, 5, ""),
567
+ name: jspb.Message.getFieldWithDefault(msg, 6, ""),
568
+ status: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
569
+ validTo: jspb.Message.getFieldWithDefault(msg, 8, ""),
570
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
571
+ createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
572
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
573
+ clientId: jspb.Message.getFieldWithDefault(msg, 12, ""),
574
+ token: jspb.Message.getFieldWithDefault(msg, 13, "")
575
+ };
576
+
577
+ if (includeInstance) {
578
+ obj.$jspbMessageInstance = msg;
579
+ }
580
+ return obj;
581
+ };
582
+ }
583
+
584
+
585
+ /**
586
+ * Deserializes binary data (in protobuf wire format).
587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
588
+ * @return {!proto.AccessApi}
589
+ */
590
+ proto.AccessApi.deserializeBinary = function(bytes) {
591
+ var reader = new jspb.BinaryReader(bytes);
592
+ var msg = new proto.AccessApi;
593
+ return proto.AccessApi.deserializeBinaryFromReader(msg, reader);
594
+ };
595
+
596
+
597
+ /**
598
+ * Deserializes binary data (in protobuf wire format) from the
599
+ * given reader into the given message object.
600
+ * @param {!proto.AccessApi} msg The message object to deserialize into.
601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
602
+ * @return {!proto.AccessApi}
603
+ */
604
+ proto.AccessApi.deserializeBinaryFromReader = function(msg, reader) {
605
+ while (reader.nextField()) {
606
+ if (reader.isEndGroup()) {
607
+ break;
608
+ }
609
+ var field = reader.getFieldNumber();
610
+ switch (field) {
611
+ case 1:
612
+ var value = /** @type {number} */ (reader.readInt32());
613
+ msg.setId(value);
614
+ break;
615
+ case 2:
616
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
617
+ msg.setUserReferencesId(value);
618
+ break;
619
+ case 3:
620
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
621
+ msg.setKeyPrefix(value);
622
+ break;
623
+ case 4:
624
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
625
+ msg.setVal(value);
626
+ break;
627
+ case 5:
628
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
629
+ msg.setScopes(value);
630
+ break;
631
+ case 6:
632
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
633
+ msg.setName(value);
634
+ break;
635
+ case 7:
636
+ var value = /** @type {boolean} */ (reader.readBool());
637
+ msg.setStatus(value);
638
+ break;
639
+ case 8:
640
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
641
+ msg.setValidTo(value);
642
+ break;
643
+ case 9:
644
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
645
+ msg.setCompaniesReferencesId(value);
646
+ break;
647
+ case 10:
648
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
649
+ msg.setCreatedAt(value);
650
+ break;
651
+ case 11:
652
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
653
+ msg.setUpdatedAt(value);
654
+ break;
655
+ case 12:
656
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
657
+ msg.setClientId(value);
658
+ break;
659
+ case 13:
660
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
661
+ msg.setToken(value);
662
+ break;
663
+ default:
664
+ reader.skipField();
665
+ break;
666
+ }
667
+ }
668
+ return msg;
669
+ };
670
+
671
+
672
+ /**
673
+ * Serializes the message to binary data (in protobuf wire format).
674
+ * @return {!Uint8Array}
675
+ */
676
+ proto.AccessApi.prototype.serializeBinary = function() {
677
+ var writer = new jspb.BinaryWriter();
678
+ proto.AccessApi.serializeBinaryToWriter(this, writer);
679
+ return writer.getResultBuffer();
680
+ };
681
+
682
+
683
+ /**
684
+ * Serializes the given message to binary data (in protobuf wire
685
+ * format), writing to the given BinaryWriter.
686
+ * @param {!proto.AccessApi} message
687
+ * @param {!jspb.BinaryWriter} writer
688
+ * @suppress {unusedLocalVariables} f is only used for nested messages
689
+ */
690
+ proto.AccessApi.serializeBinaryToWriter = function(message, writer) {
691
+ var f = undefined;
692
+ f = message.getId();
693
+ if (f !== 0) {
694
+ writer.writeInt32(
695
+ 1,
696
+ f
697
+ );
698
+ }
699
+ f = message.getUserReferencesId();
700
+ if (f.length > 0) {
701
+ writer.writeString(
702
+ 2,
703
+ f
704
+ );
705
+ }
706
+ f = message.getKeyPrefix();
707
+ if (f.length > 0) {
708
+ writer.writeString(
709
+ 3,
710
+ f
711
+ );
712
+ }
713
+ f = message.getVal();
714
+ if (f.length > 0) {
715
+ writer.writeString(
716
+ 4,
717
+ f
718
+ );
719
+ }
720
+ f = message.getScopes();
721
+ if (f.length > 0) {
722
+ writer.writeString(
723
+ 5,
724
+ f
725
+ );
726
+ }
727
+ f = message.getName();
728
+ if (f.length > 0) {
729
+ writer.writeString(
730
+ 6,
731
+ f
732
+ );
733
+ }
734
+ f = message.getStatus();
735
+ if (f) {
736
+ writer.writeBool(
737
+ 7,
738
+ f
739
+ );
740
+ }
741
+ f = message.getValidTo();
742
+ if (f.length > 0) {
743
+ writer.writeString(
744
+ 8,
745
+ f
746
+ );
747
+ }
748
+ f = message.getCompaniesReferencesId();
749
+ if (f.length > 0) {
750
+ writer.writeString(
751
+ 9,
752
+ f
753
+ );
754
+ }
755
+ f = message.getCreatedAt();
756
+ if (f.length > 0) {
757
+ writer.writeString(
758
+ 10,
759
+ f
760
+ );
761
+ }
762
+ f = message.getUpdatedAt();
763
+ if (f.length > 0) {
764
+ writer.writeString(
765
+ 11,
766
+ f
767
+ );
768
+ }
769
+ f = message.getClientId();
770
+ if (f.length > 0) {
771
+ writer.writeString(
772
+ 12,
773
+ f
774
+ );
775
+ }
776
+ f = message.getToken();
777
+ if (f.length > 0) {
778
+ writer.writeString(
779
+ 13,
780
+ f
781
+ );
782
+ }
783
+ };
784
+
785
+
786
+ /**
787
+ * optional int32 id = 1;
788
+ * @return {number}
789
+ */
790
+ proto.AccessApi.prototype.getId = function() {
791
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
792
+ };
793
+
794
+
795
+ /**
796
+ * @param {number} value
797
+ * @return {!proto.AccessApi} returns this
798
+ */
799
+ proto.AccessApi.prototype.setId = function(value) {
800
+ return jspb.Message.setProto3IntField(this, 1, value);
801
+ };
802
+
803
+
804
+ /**
805
+ * optional string user_references_id = 2;
806
+ * @return {string}
807
+ */
808
+ proto.AccessApi.prototype.getUserReferencesId = function() {
809
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
810
+ };
811
+
812
+
813
+ /**
814
+ * @param {string} value
815
+ * @return {!proto.AccessApi} returns this
816
+ */
817
+ proto.AccessApi.prototype.setUserReferencesId = function(value) {
818
+ return jspb.Message.setProto3StringField(this, 2, value);
819
+ };
820
+
821
+
822
+ /**
823
+ * optional string key_prefix = 3;
824
+ * @return {string}
825
+ */
826
+ proto.AccessApi.prototype.getKeyPrefix = function() {
827
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
828
+ };
829
+
830
+
831
+ /**
832
+ * @param {string} value
833
+ * @return {!proto.AccessApi} returns this
834
+ */
835
+ proto.AccessApi.prototype.setKeyPrefix = function(value) {
836
+ return jspb.Message.setProto3StringField(this, 3, value);
837
+ };
838
+
839
+
840
+ /**
841
+ * optional string val = 4;
842
+ * @return {string}
843
+ */
844
+ proto.AccessApi.prototype.getVal = function() {
845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
846
+ };
847
+
848
+
849
+ /**
850
+ * @param {string} value
851
+ * @return {!proto.AccessApi} returns this
852
+ */
853
+ proto.AccessApi.prototype.setVal = function(value) {
854
+ return jspb.Message.setProto3StringField(this, 4, value);
855
+ };
856
+
857
+
858
+ /**
859
+ * optional string scopes = 5;
860
+ * @return {string}
861
+ */
862
+ proto.AccessApi.prototype.getScopes = function() {
863
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
864
+ };
865
+
866
+
867
+ /**
868
+ * @param {string} value
869
+ * @return {!proto.AccessApi} returns this
870
+ */
871
+ proto.AccessApi.prototype.setScopes = function(value) {
872
+ return jspb.Message.setProto3StringField(this, 5, value);
873
+ };
874
+
875
+
876
+ /**
877
+ * optional string name = 6;
878
+ * @return {string}
879
+ */
880
+ proto.AccessApi.prototype.getName = function() {
881
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
882
+ };
883
+
884
+
885
+ /**
886
+ * @param {string} value
887
+ * @return {!proto.AccessApi} returns this
888
+ */
889
+ proto.AccessApi.prototype.setName = function(value) {
890
+ return jspb.Message.setProto3StringField(this, 6, value);
891
+ };
892
+
893
+
894
+ /**
895
+ * optional bool status = 7;
896
+ * @return {boolean}
897
+ */
898
+ proto.AccessApi.prototype.getStatus = function() {
899
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
900
+ };
901
+
902
+
903
+ /**
904
+ * @param {boolean} value
905
+ * @return {!proto.AccessApi} returns this
906
+ */
907
+ proto.AccessApi.prototype.setStatus = function(value) {
908
+ return jspb.Message.setProto3BooleanField(this, 7, value);
909
+ };
910
+
911
+
912
+ /**
913
+ * optional string valid_to = 8;
914
+ * @return {string}
915
+ */
916
+ proto.AccessApi.prototype.getValidTo = function() {
917
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
918
+ };
919
+
920
+
921
+ /**
922
+ * @param {string} value
923
+ * @return {!proto.AccessApi} returns this
924
+ */
925
+ proto.AccessApi.prototype.setValidTo = function(value) {
926
+ return jspb.Message.setProto3StringField(this, 8, value);
927
+ };
928
+
929
+
930
+ /**
931
+ * optional string companies_references_id = 9;
932
+ * @return {string}
933
+ */
934
+ proto.AccessApi.prototype.getCompaniesReferencesId = function() {
935
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
936
+ };
937
+
938
+
939
+ /**
940
+ * @param {string} value
941
+ * @return {!proto.AccessApi} returns this
942
+ */
943
+ proto.AccessApi.prototype.setCompaniesReferencesId = function(value) {
944
+ return jspb.Message.setProto3StringField(this, 9, value);
945
+ };
946
+
947
+
948
+ /**
949
+ * optional string created_at = 10;
950
+ * @return {string}
951
+ */
952
+ proto.AccessApi.prototype.getCreatedAt = function() {
953
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
954
+ };
955
+
956
+
957
+ /**
958
+ * @param {string} value
959
+ * @return {!proto.AccessApi} returns this
960
+ */
961
+ proto.AccessApi.prototype.setCreatedAt = function(value) {
962
+ return jspb.Message.setProto3StringField(this, 10, value);
963
+ };
964
+
965
+
966
+ /**
967
+ * optional string updated_at = 11;
968
+ * @return {string}
969
+ */
970
+ proto.AccessApi.prototype.getUpdatedAt = function() {
971
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
972
+ };
973
+
974
+
975
+ /**
976
+ * @param {string} value
977
+ * @return {!proto.AccessApi} returns this
978
+ */
979
+ proto.AccessApi.prototype.setUpdatedAt = function(value) {
980
+ return jspb.Message.setProto3StringField(this, 11, value);
981
+ };
982
+
983
+
984
+ /**
985
+ * optional string client_id = 12;
986
+ * @return {string}
987
+ */
988
+ proto.AccessApi.prototype.getClientId = function() {
989
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
990
+ };
991
+
992
+
993
+ /**
994
+ * @param {string} value
995
+ * @return {!proto.AccessApi} returns this
996
+ */
997
+ proto.AccessApi.prototype.setClientId = function(value) {
998
+ return jspb.Message.setProto3StringField(this, 12, value);
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * optional string token = 13;
1004
+ * @return {string}
1005
+ */
1006
+ proto.AccessApi.prototype.getToken = function() {
1007
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1008
+ };
1009
+
1010
+
1011
+ /**
1012
+ * @param {string} value
1013
+ * @return {!proto.AccessApi} returns this
1014
+ */
1015
+ proto.AccessApi.prototype.setToken = function(value) {
1016
+ return jspb.Message.setProto3StringField(this, 13, value);
1017
+ };
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1024
+ /**
1025
+ * Creates an object representation of this proto.
1026
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1027
+ * Optional fields that are not set will be set to undefined.
1028
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1029
+ * For the list of reserved names please see:
1030
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1031
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1032
+ * JSPB instance for transitional soy proto support:
1033
+ * http://goto/soy-param-migration
1034
+ * @return {!Object}
1035
+ */
1036
+ proto.CreateAccessApiRequest.prototype.toObject = function(opt_includeInstance) {
1037
+ return proto.CreateAccessApiRequest.toObject(opt_includeInstance, this);
1038
+ };
1039
+
1040
+
1041
+ /**
1042
+ * Static version of the {@see toObject} method.
1043
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1044
+ * the JSPB instance for transitional soy proto support:
1045
+ * http://goto/soy-param-migration
1046
+ * @param {!proto.CreateAccessApiRequest} msg The msg instance to transform.
1047
+ * @return {!Object}
1048
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1049
+ */
1050
+ proto.CreateAccessApiRequest.toObject = function(includeInstance, msg) {
1051
+ var f, obj = {
1052
+ baseAccessApi: (f = msg.getBaseAccessApi()) && proto.BaseAccessApiRequest.toObject(includeInstance, f)
1053
+ };
1054
+
1055
+ if (includeInstance) {
1056
+ obj.$jspbMessageInstance = msg;
1057
+ }
1058
+ return obj;
1059
+ };
1060
+ }
1061
+
1062
+
1063
+ /**
1064
+ * Deserializes binary data (in protobuf wire format).
1065
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1066
+ * @return {!proto.CreateAccessApiRequest}
1067
+ */
1068
+ proto.CreateAccessApiRequest.deserializeBinary = function(bytes) {
1069
+ var reader = new jspb.BinaryReader(bytes);
1070
+ var msg = new proto.CreateAccessApiRequest;
1071
+ return proto.CreateAccessApiRequest.deserializeBinaryFromReader(msg, reader);
1072
+ };
1073
+
1074
+
1075
+ /**
1076
+ * Deserializes binary data (in protobuf wire format) from the
1077
+ * given reader into the given message object.
1078
+ * @param {!proto.CreateAccessApiRequest} msg The message object to deserialize into.
1079
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1080
+ * @return {!proto.CreateAccessApiRequest}
1081
+ */
1082
+ proto.CreateAccessApiRequest.deserializeBinaryFromReader = function(msg, reader) {
1083
+ while (reader.nextField()) {
1084
+ if (reader.isEndGroup()) {
1085
+ break;
1086
+ }
1087
+ var field = reader.getFieldNumber();
1088
+ switch (field) {
1089
+ case 1:
1090
+ var value = new proto.BaseAccessApiRequest;
1091
+ reader.readMessage(value,proto.BaseAccessApiRequest.deserializeBinaryFromReader);
1092
+ msg.setBaseAccessApi(value);
1093
+ break;
1094
+ default:
1095
+ reader.skipField();
1096
+ break;
1097
+ }
1098
+ }
1099
+ return msg;
1100
+ };
1101
+
1102
+
1103
+ /**
1104
+ * Serializes the message to binary data (in protobuf wire format).
1105
+ * @return {!Uint8Array}
1106
+ */
1107
+ proto.CreateAccessApiRequest.prototype.serializeBinary = function() {
1108
+ var writer = new jspb.BinaryWriter();
1109
+ proto.CreateAccessApiRequest.serializeBinaryToWriter(this, writer);
1110
+ return writer.getResultBuffer();
1111
+ };
1112
+
1113
+
1114
+ /**
1115
+ * Serializes the given message to binary data (in protobuf wire
1116
+ * format), writing to the given BinaryWriter.
1117
+ * @param {!proto.CreateAccessApiRequest} message
1118
+ * @param {!jspb.BinaryWriter} writer
1119
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1120
+ */
1121
+ proto.CreateAccessApiRequest.serializeBinaryToWriter = function(message, writer) {
1122
+ var f = undefined;
1123
+ f = message.getBaseAccessApi();
1124
+ if (f != null) {
1125
+ writer.writeMessage(
1126
+ 1,
1127
+ f,
1128
+ proto.BaseAccessApiRequest.serializeBinaryToWriter
1129
+ );
1130
+ }
1131
+ };
1132
+
1133
+
1134
+ /**
1135
+ * optional BaseAccessApiRequest base_access_api = 1;
1136
+ * @return {?proto.BaseAccessApiRequest}
1137
+ */
1138
+ proto.CreateAccessApiRequest.prototype.getBaseAccessApi = function() {
1139
+ return /** @type{?proto.BaseAccessApiRequest} */ (
1140
+ jspb.Message.getWrapperField(this, proto.BaseAccessApiRequest, 1));
1141
+ };
1142
+
1143
+
1144
+ /**
1145
+ * @param {?proto.BaseAccessApiRequest|undefined} value
1146
+ * @return {!proto.CreateAccessApiRequest} returns this
1147
+ */
1148
+ proto.CreateAccessApiRequest.prototype.setBaseAccessApi = function(value) {
1149
+ return jspb.Message.setWrapperField(this, 1, value);
1150
+ };
1151
+
1152
+
1153
+ /**
1154
+ * Clears the message field making it undefined.
1155
+ * @return {!proto.CreateAccessApiRequest} returns this
1156
+ */
1157
+ proto.CreateAccessApiRequest.prototype.clearBaseAccessApi = function() {
1158
+ return this.setBaseAccessApi(undefined);
1159
+ };
1160
+
1161
+
1162
+ /**
1163
+ * Returns whether this field is set.
1164
+ * @return {boolean}
1165
+ */
1166
+ proto.CreateAccessApiRequest.prototype.hasBaseAccessApi = function() {
1167
+ return jspb.Message.getField(this, 1) != null;
1168
+ };
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1175
+ /**
1176
+ * Creates an object representation of this proto.
1177
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1178
+ * Optional fields that are not set will be set to undefined.
1179
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1180
+ * For the list of reserved names please see:
1181
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1182
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1183
+ * JSPB instance for transitional soy proto support:
1184
+ * http://goto/soy-param-migration
1185
+ * @return {!Object}
1186
+ */
1187
+ proto.GetListAccessApiRequest.prototype.toObject = function(opt_includeInstance) {
1188
+ return proto.GetListAccessApiRequest.toObject(opt_includeInstance, this);
1189
+ };
1190
+
1191
+
1192
+ /**
1193
+ * Static version of the {@see toObject} method.
1194
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1195
+ * the JSPB instance for transitional soy proto support:
1196
+ * http://goto/soy-param-migration
1197
+ * @param {!proto.GetListAccessApiRequest} msg The msg instance to transform.
1198
+ * @return {!Object}
1199
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1200
+ */
1201
+ proto.GetListAccessApiRequest.toObject = function(includeInstance, msg) {
1202
+ var f, obj = {
1203
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1204
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1205
+ };
1206
+
1207
+ if (includeInstance) {
1208
+ obj.$jspbMessageInstance = msg;
1209
+ }
1210
+ return obj;
1211
+ };
1212
+ }
1213
+
1214
+
1215
+ /**
1216
+ * Deserializes binary data (in protobuf wire format).
1217
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1218
+ * @return {!proto.GetListAccessApiRequest}
1219
+ */
1220
+ proto.GetListAccessApiRequest.deserializeBinary = function(bytes) {
1221
+ var reader = new jspb.BinaryReader(bytes);
1222
+ var msg = new proto.GetListAccessApiRequest;
1223
+ return proto.GetListAccessApiRequest.deserializeBinaryFromReader(msg, reader);
1224
+ };
1225
+
1226
+
1227
+ /**
1228
+ * Deserializes binary data (in protobuf wire format) from the
1229
+ * given reader into the given message object.
1230
+ * @param {!proto.GetListAccessApiRequest} msg The message object to deserialize into.
1231
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1232
+ * @return {!proto.GetListAccessApiRequest}
1233
+ */
1234
+ proto.GetListAccessApiRequest.deserializeBinaryFromReader = function(msg, reader) {
1235
+ while (reader.nextField()) {
1236
+ if (reader.isEndGroup()) {
1237
+ break;
1238
+ }
1239
+ var field = reader.getFieldNumber();
1240
+ switch (field) {
1241
+ case 1:
1242
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1243
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1244
+ msg.setPagination(value);
1245
+ break;
1246
+ case 2:
1247
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1248
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1249
+ msg.setQuery(value);
1250
+ break;
1251
+ default:
1252
+ reader.skipField();
1253
+ break;
1254
+ }
1255
+ }
1256
+ return msg;
1257
+ };
1258
+
1259
+
1260
+ /**
1261
+ * Serializes the message to binary data (in protobuf wire format).
1262
+ * @return {!Uint8Array}
1263
+ */
1264
+ proto.GetListAccessApiRequest.prototype.serializeBinary = function() {
1265
+ var writer = new jspb.BinaryWriter();
1266
+ proto.GetListAccessApiRequest.serializeBinaryToWriter(this, writer);
1267
+ return writer.getResultBuffer();
1268
+ };
1269
+
1270
+
1271
+ /**
1272
+ * Serializes the given message to binary data (in protobuf wire
1273
+ * format), writing to the given BinaryWriter.
1274
+ * @param {!proto.GetListAccessApiRequest} message
1275
+ * @param {!jspb.BinaryWriter} writer
1276
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1277
+ */
1278
+ proto.GetListAccessApiRequest.serializeBinaryToWriter = function(message, writer) {
1279
+ var f = undefined;
1280
+ f = message.getPagination();
1281
+ if (f != null) {
1282
+ writer.writeMessage(
1283
+ 1,
1284
+ f,
1285
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1286
+ );
1287
+ }
1288
+ f = message.getQuery();
1289
+ if (f != null) {
1290
+ writer.writeMessage(
1291
+ 2,
1292
+ f,
1293
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1294
+ );
1295
+ }
1296
+ };
1297
+
1298
+
1299
+ /**
1300
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1301
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1302
+ */
1303
+ proto.GetListAccessApiRequest.prototype.getPagination = function() {
1304
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1305
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1306
+ };
1307
+
1308
+
1309
+ /**
1310
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1311
+ * @return {!proto.GetListAccessApiRequest} returns this
1312
+ */
1313
+ proto.GetListAccessApiRequest.prototype.setPagination = function(value) {
1314
+ return jspb.Message.setWrapperField(this, 1, value);
1315
+ };
1316
+
1317
+
1318
+ /**
1319
+ * Clears the message field making it undefined.
1320
+ * @return {!proto.GetListAccessApiRequest} returns this
1321
+ */
1322
+ proto.GetListAccessApiRequest.prototype.clearPagination = function() {
1323
+ return this.setPagination(undefined);
1324
+ };
1325
+
1326
+
1327
+ /**
1328
+ * Returns whether this field is set.
1329
+ * @return {boolean}
1330
+ */
1331
+ proto.GetListAccessApiRequest.prototype.hasPagination = function() {
1332
+ return jspb.Message.getField(this, 1) != null;
1333
+ };
1334
+
1335
+
1336
+ /**
1337
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
1338
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
1339
+ */
1340
+ proto.GetListAccessApiRequest.prototype.getQuery = function() {
1341
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1342
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1343
+ };
1344
+
1345
+
1346
+ /**
1347
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1348
+ * @return {!proto.GetListAccessApiRequest} returns this
1349
+ */
1350
+ proto.GetListAccessApiRequest.prototype.setQuery = function(value) {
1351
+ return jspb.Message.setWrapperField(this, 2, value);
1352
+ };
1353
+
1354
+
1355
+ /**
1356
+ * Clears the message field making it undefined.
1357
+ * @return {!proto.GetListAccessApiRequest} returns this
1358
+ */
1359
+ proto.GetListAccessApiRequest.prototype.clearQuery = function() {
1360
+ return this.setQuery(undefined);
1361
+ };
1362
+
1363
+
1364
+ /**
1365
+ * Returns whether this field is set.
1366
+ * @return {boolean}
1367
+ */
1368
+ proto.GetListAccessApiRequest.prototype.hasQuery = function() {
1369
+ return jspb.Message.getField(this, 2) != null;
1370
+ };
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1377
+ /**
1378
+ * Creates an object representation of this proto.
1379
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1380
+ * Optional fields that are not set will be set to undefined.
1381
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1382
+ * For the list of reserved names please see:
1383
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1384
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1385
+ * JSPB instance for transitional soy proto support:
1386
+ * http://goto/soy-param-migration
1387
+ * @return {!Object}
1388
+ */
1389
+ proto.GetAccessApiByIdRequest.prototype.toObject = function(opt_includeInstance) {
1390
+ return proto.GetAccessApiByIdRequest.toObject(opt_includeInstance, this);
1391
+ };
1392
+
1393
+
1394
+ /**
1395
+ * Static version of the {@see toObject} method.
1396
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1397
+ * the JSPB instance for transitional soy proto support:
1398
+ * http://goto/soy-param-migration
1399
+ * @param {!proto.GetAccessApiByIdRequest} msg The msg instance to transform.
1400
+ * @return {!Object}
1401
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1402
+ */
1403
+ proto.GetAccessApiByIdRequest.toObject = function(includeInstance, msg) {
1404
+ var f, obj = {
1405
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1406
+ };
1407
+
1408
+ if (includeInstance) {
1409
+ obj.$jspbMessageInstance = msg;
1410
+ }
1411
+ return obj;
1412
+ };
1413
+ }
1414
+
1415
+
1416
+ /**
1417
+ * Deserializes binary data (in protobuf wire format).
1418
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1419
+ * @return {!proto.GetAccessApiByIdRequest}
1420
+ */
1421
+ proto.GetAccessApiByIdRequest.deserializeBinary = function(bytes) {
1422
+ var reader = new jspb.BinaryReader(bytes);
1423
+ var msg = new proto.GetAccessApiByIdRequest;
1424
+ return proto.GetAccessApiByIdRequest.deserializeBinaryFromReader(msg, reader);
1425
+ };
1426
+
1427
+
1428
+ /**
1429
+ * Deserializes binary data (in protobuf wire format) from the
1430
+ * given reader into the given message object.
1431
+ * @param {!proto.GetAccessApiByIdRequest} msg The message object to deserialize into.
1432
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1433
+ * @return {!proto.GetAccessApiByIdRequest}
1434
+ */
1435
+ proto.GetAccessApiByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
1436
+ while (reader.nextField()) {
1437
+ if (reader.isEndGroup()) {
1438
+ break;
1439
+ }
1440
+ var field = reader.getFieldNumber();
1441
+ switch (field) {
1442
+ case 1:
1443
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1444
+ msg.setReferencesId(value);
1445
+ break;
1446
+ default:
1447
+ reader.skipField();
1448
+ break;
1449
+ }
1450
+ }
1451
+ return msg;
1452
+ };
1453
+
1454
+
1455
+ /**
1456
+ * Serializes the message to binary data (in protobuf wire format).
1457
+ * @return {!Uint8Array}
1458
+ */
1459
+ proto.GetAccessApiByIdRequest.prototype.serializeBinary = function() {
1460
+ var writer = new jspb.BinaryWriter();
1461
+ proto.GetAccessApiByIdRequest.serializeBinaryToWriter(this, writer);
1462
+ return writer.getResultBuffer();
1463
+ };
1464
+
1465
+
1466
+ /**
1467
+ * Serializes the given message to binary data (in protobuf wire
1468
+ * format), writing to the given BinaryWriter.
1469
+ * @param {!proto.GetAccessApiByIdRequest} message
1470
+ * @param {!jspb.BinaryWriter} writer
1471
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1472
+ */
1473
+ proto.GetAccessApiByIdRequest.serializeBinaryToWriter = function(message, writer) {
1474
+ var f = undefined;
1475
+ f = message.getReferencesId();
1476
+ if (f.length > 0) {
1477
+ writer.writeString(
1478
+ 1,
1479
+ f
1480
+ );
1481
+ }
1482
+ };
1483
+
1484
+
1485
+ /**
1486
+ * optional string references_id = 1;
1487
+ * @return {string}
1488
+ */
1489
+ proto.GetAccessApiByIdRequest.prototype.getReferencesId = function() {
1490
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * @param {string} value
1496
+ * @return {!proto.GetAccessApiByIdRequest} returns this
1497
+ */
1498
+ proto.GetAccessApiByIdRequest.prototype.setReferencesId = function(value) {
1499
+ return jspb.Message.setProto3StringField(this, 1, value);
1500
+ };
1501
+
1502
+
1503
+
1504
+
1505
+
1506
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1507
+ /**
1508
+ * Creates an object representation of this proto.
1509
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1510
+ * Optional fields that are not set will be set to undefined.
1511
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1512
+ * For the list of reserved names please see:
1513
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1514
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1515
+ * JSPB instance for transitional soy proto support:
1516
+ * http://goto/soy-param-migration
1517
+ * @return {!Object}
1518
+ */
1519
+ proto.IntrospectRequest.prototype.toObject = function(opt_includeInstance) {
1520
+ return proto.IntrospectRequest.toObject(opt_includeInstance, this);
1521
+ };
1522
+
1523
+
1524
+ /**
1525
+ * Static version of the {@see toObject} method.
1526
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1527
+ * the JSPB instance for transitional soy proto support:
1528
+ * http://goto/soy-param-migration
1529
+ * @param {!proto.IntrospectRequest} msg The msg instance to transform.
1530
+ * @return {!Object}
1531
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1532
+ */
1533
+ proto.IntrospectRequest.toObject = function(includeInstance, msg) {
1534
+ var f, obj = {
1535
+ secretKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
1536
+ clientId: jspb.Message.getFieldWithDefault(msg, 2, "")
1537
+ };
1538
+
1539
+ if (includeInstance) {
1540
+ obj.$jspbMessageInstance = msg;
1541
+ }
1542
+ return obj;
1543
+ };
1544
+ }
1545
+
1546
+
1547
+ /**
1548
+ * Deserializes binary data (in protobuf wire format).
1549
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1550
+ * @return {!proto.IntrospectRequest}
1551
+ */
1552
+ proto.IntrospectRequest.deserializeBinary = function(bytes) {
1553
+ var reader = new jspb.BinaryReader(bytes);
1554
+ var msg = new proto.IntrospectRequest;
1555
+ return proto.IntrospectRequest.deserializeBinaryFromReader(msg, reader);
1556
+ };
1557
+
1558
+
1559
+ /**
1560
+ * Deserializes binary data (in protobuf wire format) from the
1561
+ * given reader into the given message object.
1562
+ * @param {!proto.IntrospectRequest} msg The message object to deserialize into.
1563
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1564
+ * @return {!proto.IntrospectRequest}
1565
+ */
1566
+ proto.IntrospectRequest.deserializeBinaryFromReader = function(msg, reader) {
1567
+ while (reader.nextField()) {
1568
+ if (reader.isEndGroup()) {
1569
+ break;
1570
+ }
1571
+ var field = reader.getFieldNumber();
1572
+ switch (field) {
1573
+ case 1:
1574
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1575
+ msg.setSecretKey(value);
1576
+ break;
1577
+ case 2:
1578
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1579
+ msg.setClientId(value);
1580
+ break;
1581
+ default:
1582
+ reader.skipField();
1583
+ break;
1584
+ }
1585
+ }
1586
+ return msg;
1587
+ };
1588
+
1589
+
1590
+ /**
1591
+ * Serializes the message to binary data (in protobuf wire format).
1592
+ * @return {!Uint8Array}
1593
+ */
1594
+ proto.IntrospectRequest.prototype.serializeBinary = function() {
1595
+ var writer = new jspb.BinaryWriter();
1596
+ proto.IntrospectRequest.serializeBinaryToWriter(this, writer);
1597
+ return writer.getResultBuffer();
1598
+ };
1599
+
1600
+
1601
+ /**
1602
+ * Serializes the given message to binary data (in protobuf wire
1603
+ * format), writing to the given BinaryWriter.
1604
+ * @param {!proto.IntrospectRequest} message
1605
+ * @param {!jspb.BinaryWriter} writer
1606
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1607
+ */
1608
+ proto.IntrospectRequest.serializeBinaryToWriter = function(message, writer) {
1609
+ var f = undefined;
1610
+ f = message.getSecretKey();
1611
+ if (f.length > 0) {
1612
+ writer.writeString(
1613
+ 1,
1614
+ f
1615
+ );
1616
+ }
1617
+ f = message.getClientId();
1618
+ if (f.length > 0) {
1619
+ writer.writeString(
1620
+ 2,
1621
+ f
1622
+ );
1623
+ }
1624
+ };
1625
+
1626
+
1627
+ /**
1628
+ * optional string secret_key = 1;
1629
+ * @return {string}
1630
+ */
1631
+ proto.IntrospectRequest.prototype.getSecretKey = function() {
1632
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1633
+ };
1634
+
1635
+
1636
+ /**
1637
+ * @param {string} value
1638
+ * @return {!proto.IntrospectRequest} returns this
1639
+ */
1640
+ proto.IntrospectRequest.prototype.setSecretKey = function(value) {
1641
+ return jspb.Message.setProto3StringField(this, 1, value);
1642
+ };
1643
+
1644
+
1645
+ /**
1646
+ * optional string client_id = 2;
1647
+ * @return {string}
1648
+ */
1649
+ proto.IntrospectRequest.prototype.getClientId = function() {
1650
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1651
+ };
1652
+
1653
+
1654
+ /**
1655
+ * @param {string} value
1656
+ * @return {!proto.IntrospectRequest} returns this
1657
+ */
1658
+ proto.IntrospectRequest.prototype.setClientId = function(value) {
1659
+ return jspb.Message.setProto3StringField(this, 2, value);
1660
+ };
1661
+
1662
+
1663
+
1664
+
1665
+
1666
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1667
+ /**
1668
+ * Creates an object representation of this proto.
1669
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1670
+ * Optional fields that are not set will be set to undefined.
1671
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1672
+ * For the list of reserved names please see:
1673
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1674
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1675
+ * JSPB instance for transitional soy proto support:
1676
+ * http://goto/soy-param-migration
1677
+ * @return {!Object}
1678
+ */
1679
+ proto.UpdateAccessApiRequest.prototype.toObject = function(opt_includeInstance) {
1680
+ return proto.UpdateAccessApiRequest.toObject(opt_includeInstance, this);
1681
+ };
1682
+
1683
+
1684
+ /**
1685
+ * Static version of the {@see toObject} method.
1686
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1687
+ * the JSPB instance for transitional soy proto support:
1688
+ * http://goto/soy-param-migration
1689
+ * @param {!proto.UpdateAccessApiRequest} msg The msg instance to transform.
1690
+ * @return {!Object}
1691
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1692
+ */
1693
+ proto.UpdateAccessApiRequest.toObject = function(includeInstance, msg) {
1694
+ var f, obj = {
1695
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1696
+ baseAccessApi: (f = msg.getBaseAccessApi()) && proto.BaseAccessApiRequest.toObject(includeInstance, f)
1697
+ };
1698
+
1699
+ if (includeInstance) {
1700
+ obj.$jspbMessageInstance = msg;
1701
+ }
1702
+ return obj;
1703
+ };
1704
+ }
1705
+
1706
+
1707
+ /**
1708
+ * Deserializes binary data (in protobuf wire format).
1709
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1710
+ * @return {!proto.UpdateAccessApiRequest}
1711
+ */
1712
+ proto.UpdateAccessApiRequest.deserializeBinary = function(bytes) {
1713
+ var reader = new jspb.BinaryReader(bytes);
1714
+ var msg = new proto.UpdateAccessApiRequest;
1715
+ return proto.UpdateAccessApiRequest.deserializeBinaryFromReader(msg, reader);
1716
+ };
1717
+
1718
+
1719
+ /**
1720
+ * Deserializes binary data (in protobuf wire format) from the
1721
+ * given reader into the given message object.
1722
+ * @param {!proto.UpdateAccessApiRequest} msg The message object to deserialize into.
1723
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1724
+ * @return {!proto.UpdateAccessApiRequest}
1725
+ */
1726
+ proto.UpdateAccessApiRequest.deserializeBinaryFromReader = function(msg, reader) {
1727
+ while (reader.nextField()) {
1728
+ if (reader.isEndGroup()) {
1729
+ break;
1730
+ }
1731
+ var field = reader.getFieldNumber();
1732
+ switch (field) {
1733
+ case 1:
1734
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1735
+ msg.setReferencesId(value);
1736
+ break;
1737
+ case 2:
1738
+ var value = new proto.BaseAccessApiRequest;
1739
+ reader.readMessage(value,proto.BaseAccessApiRequest.deserializeBinaryFromReader);
1740
+ msg.setBaseAccessApi(value);
1741
+ break;
1742
+ default:
1743
+ reader.skipField();
1744
+ break;
1745
+ }
1746
+ }
1747
+ return msg;
1748
+ };
1749
+
1750
+
1751
+ /**
1752
+ * Serializes the message to binary data (in protobuf wire format).
1753
+ * @return {!Uint8Array}
1754
+ */
1755
+ proto.UpdateAccessApiRequest.prototype.serializeBinary = function() {
1756
+ var writer = new jspb.BinaryWriter();
1757
+ proto.UpdateAccessApiRequest.serializeBinaryToWriter(this, writer);
1758
+ return writer.getResultBuffer();
1759
+ };
1760
+
1761
+
1762
+ /**
1763
+ * Serializes the given message to binary data (in protobuf wire
1764
+ * format), writing to the given BinaryWriter.
1765
+ * @param {!proto.UpdateAccessApiRequest} message
1766
+ * @param {!jspb.BinaryWriter} writer
1767
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1768
+ */
1769
+ proto.UpdateAccessApiRequest.serializeBinaryToWriter = function(message, writer) {
1770
+ var f = undefined;
1771
+ f = message.getReferencesId();
1772
+ if (f.length > 0) {
1773
+ writer.writeString(
1774
+ 1,
1775
+ f
1776
+ );
1777
+ }
1778
+ f = message.getBaseAccessApi();
1779
+ if (f != null) {
1780
+ writer.writeMessage(
1781
+ 2,
1782
+ f,
1783
+ proto.BaseAccessApiRequest.serializeBinaryToWriter
1784
+ );
1785
+ }
1786
+ };
1787
+
1788
+
1789
+ /**
1790
+ * optional string references_id = 1;
1791
+ * @return {string}
1792
+ */
1793
+ proto.UpdateAccessApiRequest.prototype.getReferencesId = function() {
1794
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1795
+ };
1796
+
1797
+
1798
+ /**
1799
+ * @param {string} value
1800
+ * @return {!proto.UpdateAccessApiRequest} returns this
1801
+ */
1802
+ proto.UpdateAccessApiRequest.prototype.setReferencesId = function(value) {
1803
+ return jspb.Message.setProto3StringField(this, 1, value);
1804
+ };
1805
+
1806
+
1807
+ /**
1808
+ * optional BaseAccessApiRequest base_access_api = 2;
1809
+ * @return {?proto.BaseAccessApiRequest}
1810
+ */
1811
+ proto.UpdateAccessApiRequest.prototype.getBaseAccessApi = function() {
1812
+ return /** @type{?proto.BaseAccessApiRequest} */ (
1813
+ jspb.Message.getWrapperField(this, proto.BaseAccessApiRequest, 2));
1814
+ };
1815
+
1816
+
1817
+ /**
1818
+ * @param {?proto.BaseAccessApiRequest|undefined} value
1819
+ * @return {!proto.UpdateAccessApiRequest} returns this
1820
+ */
1821
+ proto.UpdateAccessApiRequest.prototype.setBaseAccessApi = function(value) {
1822
+ return jspb.Message.setWrapperField(this, 2, value);
1823
+ };
1824
+
1825
+
1826
+ /**
1827
+ * Clears the message field making it undefined.
1828
+ * @return {!proto.UpdateAccessApiRequest} returns this
1829
+ */
1830
+ proto.UpdateAccessApiRequest.prototype.clearBaseAccessApi = function() {
1831
+ return this.setBaseAccessApi(undefined);
1832
+ };
1833
+
1834
+
1835
+ /**
1836
+ * Returns whether this field is set.
1837
+ * @return {boolean}
1838
+ */
1839
+ proto.UpdateAccessApiRequest.prototype.hasBaseAccessApi = function() {
1840
+ return jspb.Message.getField(this, 2) != null;
1841
+ };
1842
+
1843
+
1844
+
1845
+ /**
1846
+ * List of repeated fields within this message type.
1847
+ * @private {!Array<number>}
1848
+ * @const
1849
+ */
1850
+ proto.DeleteAccessApiRequest.repeatedFields_ = [1];
1851
+
1852
+
1853
+
1854
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1855
+ /**
1856
+ * Creates an object representation of this proto.
1857
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1858
+ * Optional fields that are not set will be set to undefined.
1859
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1860
+ * For the list of reserved names please see:
1861
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1862
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1863
+ * JSPB instance for transitional soy proto support:
1864
+ * http://goto/soy-param-migration
1865
+ * @return {!Object}
1866
+ */
1867
+ proto.DeleteAccessApiRequest.prototype.toObject = function(opt_includeInstance) {
1868
+ return proto.DeleteAccessApiRequest.toObject(opt_includeInstance, this);
1869
+ };
1870
+
1871
+
1872
+ /**
1873
+ * Static version of the {@see toObject} method.
1874
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1875
+ * the JSPB instance for transitional soy proto support:
1876
+ * http://goto/soy-param-migration
1877
+ * @param {!proto.DeleteAccessApiRequest} msg The msg instance to transform.
1878
+ * @return {!Object}
1879
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1880
+ */
1881
+ proto.DeleteAccessApiRequest.toObject = function(includeInstance, msg) {
1882
+ var f, obj = {
1883
+ referencesIdList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1884
+ };
1885
+
1886
+ if (includeInstance) {
1887
+ obj.$jspbMessageInstance = msg;
1888
+ }
1889
+ return obj;
1890
+ };
1891
+ }
1892
+
1893
+
1894
+ /**
1895
+ * Deserializes binary data (in protobuf wire format).
1896
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1897
+ * @return {!proto.DeleteAccessApiRequest}
1898
+ */
1899
+ proto.DeleteAccessApiRequest.deserializeBinary = function(bytes) {
1900
+ var reader = new jspb.BinaryReader(bytes);
1901
+ var msg = new proto.DeleteAccessApiRequest;
1902
+ return proto.DeleteAccessApiRequest.deserializeBinaryFromReader(msg, reader);
1903
+ };
1904
+
1905
+
1906
+ /**
1907
+ * Deserializes binary data (in protobuf wire format) from the
1908
+ * given reader into the given message object.
1909
+ * @param {!proto.DeleteAccessApiRequest} msg The message object to deserialize into.
1910
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1911
+ * @return {!proto.DeleteAccessApiRequest}
1912
+ */
1913
+ proto.DeleteAccessApiRequest.deserializeBinaryFromReader = function(msg, reader) {
1914
+ while (reader.nextField()) {
1915
+ if (reader.isEndGroup()) {
1916
+ break;
1917
+ }
1918
+ var field = reader.getFieldNumber();
1919
+ switch (field) {
1920
+ case 1:
1921
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1922
+ msg.addReferencesId(value);
1923
+ break;
1924
+ default:
1925
+ reader.skipField();
1926
+ break;
1927
+ }
1928
+ }
1929
+ return msg;
1930
+ };
1931
+
1932
+
1933
+ /**
1934
+ * Serializes the message to binary data (in protobuf wire format).
1935
+ * @return {!Uint8Array}
1936
+ */
1937
+ proto.DeleteAccessApiRequest.prototype.serializeBinary = function() {
1938
+ var writer = new jspb.BinaryWriter();
1939
+ proto.DeleteAccessApiRequest.serializeBinaryToWriter(this, writer);
1940
+ return writer.getResultBuffer();
1941
+ };
1942
+
1943
+
1944
+ /**
1945
+ * Serializes the given message to binary data (in protobuf wire
1946
+ * format), writing to the given BinaryWriter.
1947
+ * @param {!proto.DeleteAccessApiRequest} message
1948
+ * @param {!jspb.BinaryWriter} writer
1949
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1950
+ */
1951
+ proto.DeleteAccessApiRequest.serializeBinaryToWriter = function(message, writer) {
1952
+ var f = undefined;
1953
+ f = message.getReferencesIdList();
1954
+ if (f.length > 0) {
1955
+ writer.writeRepeatedString(
1956
+ 1,
1957
+ f
1958
+ );
1959
+ }
1960
+ };
1961
+
1962
+
1963
+ /**
1964
+ * repeated string references_id = 1;
1965
+ * @return {!Array<string>}
1966
+ */
1967
+ proto.DeleteAccessApiRequest.prototype.getReferencesIdList = function() {
1968
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1969
+ };
1970
+
1971
+
1972
+ /**
1973
+ * @param {!Array<string>} value
1974
+ * @return {!proto.DeleteAccessApiRequest} returns this
1975
+ */
1976
+ proto.DeleteAccessApiRequest.prototype.setReferencesIdList = function(value) {
1977
+ return jspb.Message.setField(this, 1, value || []);
1978
+ };
1979
+
1980
+
1981
+ /**
1982
+ * @param {string} value
1983
+ * @param {number=} opt_index
1984
+ * @return {!proto.DeleteAccessApiRequest} returns this
1985
+ */
1986
+ proto.DeleteAccessApiRequest.prototype.addReferencesId = function(value, opt_index) {
1987
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1988
+ };
1989
+
1990
+
1991
+ /**
1992
+ * Clears the list making it empty but non-null.
1993
+ * @return {!proto.DeleteAccessApiRequest} returns this
1994
+ */
1995
+ proto.DeleteAccessApiRequest.prototype.clearReferencesIdList = function() {
1996
+ return this.setReferencesIdList([]);
1997
+ };
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2004
+ /**
2005
+ * Creates an object representation of this proto.
2006
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2007
+ * Optional fields that are not set will be set to undefined.
2008
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2009
+ * For the list of reserved names please see:
2010
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2011
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2012
+ * JSPB instance for transitional soy proto support:
2013
+ * http://goto/soy-param-migration
2014
+ * @return {!Object}
2015
+ */
2016
+ proto.CreateAccessApiResponse.prototype.toObject = function(opt_includeInstance) {
2017
+ return proto.CreateAccessApiResponse.toObject(opt_includeInstance, this);
2018
+ };
2019
+
2020
+
2021
+ /**
2022
+ * Static version of the {@see toObject} method.
2023
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2024
+ * the JSPB instance for transitional soy proto support:
2025
+ * http://goto/soy-param-migration
2026
+ * @param {!proto.CreateAccessApiResponse} msg The msg instance to transform.
2027
+ * @return {!Object}
2028
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2029
+ */
2030
+ proto.CreateAccessApiResponse.toObject = function(includeInstance, msg) {
2031
+ var f, obj = {
2032
+ accessApi: (f = msg.getAccessApi()) && proto.AccessApi.toObject(includeInstance, f),
2033
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2034
+ };
2035
+
2036
+ if (includeInstance) {
2037
+ obj.$jspbMessageInstance = msg;
2038
+ }
2039
+ return obj;
2040
+ };
2041
+ }
2042
+
2043
+
2044
+ /**
2045
+ * Deserializes binary data (in protobuf wire format).
2046
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2047
+ * @return {!proto.CreateAccessApiResponse}
2048
+ */
2049
+ proto.CreateAccessApiResponse.deserializeBinary = function(bytes) {
2050
+ var reader = new jspb.BinaryReader(bytes);
2051
+ var msg = new proto.CreateAccessApiResponse;
2052
+ return proto.CreateAccessApiResponse.deserializeBinaryFromReader(msg, reader);
2053
+ };
2054
+
2055
+
2056
+ /**
2057
+ * Deserializes binary data (in protobuf wire format) from the
2058
+ * given reader into the given message object.
2059
+ * @param {!proto.CreateAccessApiResponse} msg The message object to deserialize into.
2060
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2061
+ * @return {!proto.CreateAccessApiResponse}
2062
+ */
2063
+ proto.CreateAccessApiResponse.deserializeBinaryFromReader = function(msg, reader) {
2064
+ while (reader.nextField()) {
2065
+ if (reader.isEndGroup()) {
2066
+ break;
2067
+ }
2068
+ var field = reader.getFieldNumber();
2069
+ switch (field) {
2070
+ case 1:
2071
+ var value = new proto.AccessApi;
2072
+ reader.readMessage(value,proto.AccessApi.deserializeBinaryFromReader);
2073
+ msg.setAccessApi(value);
2074
+ break;
2075
+ case 2:
2076
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2077
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2078
+ msg.setMeta(value);
2079
+ break;
2080
+ default:
2081
+ reader.skipField();
2082
+ break;
2083
+ }
2084
+ }
2085
+ return msg;
2086
+ };
2087
+
2088
+
2089
+ /**
2090
+ * Serializes the message to binary data (in protobuf wire format).
2091
+ * @return {!Uint8Array}
2092
+ */
2093
+ proto.CreateAccessApiResponse.prototype.serializeBinary = function() {
2094
+ var writer = new jspb.BinaryWriter();
2095
+ proto.CreateAccessApiResponse.serializeBinaryToWriter(this, writer);
2096
+ return writer.getResultBuffer();
2097
+ };
2098
+
2099
+
2100
+ /**
2101
+ * Serializes the given message to binary data (in protobuf wire
2102
+ * format), writing to the given BinaryWriter.
2103
+ * @param {!proto.CreateAccessApiResponse} message
2104
+ * @param {!jspb.BinaryWriter} writer
2105
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2106
+ */
2107
+ proto.CreateAccessApiResponse.serializeBinaryToWriter = function(message, writer) {
2108
+ var f = undefined;
2109
+ f = message.getAccessApi();
2110
+ if (f != null) {
2111
+ writer.writeMessage(
2112
+ 1,
2113
+ f,
2114
+ proto.AccessApi.serializeBinaryToWriter
2115
+ );
2116
+ }
2117
+ f = message.getMeta();
2118
+ if (f != null) {
2119
+ writer.writeMessage(
2120
+ 2,
2121
+ f,
2122
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2123
+ );
2124
+ }
2125
+ };
2126
+
2127
+
2128
+ /**
2129
+ * optional AccessApi access_api = 1;
2130
+ * @return {?proto.AccessApi}
2131
+ */
2132
+ proto.CreateAccessApiResponse.prototype.getAccessApi = function() {
2133
+ return /** @type{?proto.AccessApi} */ (
2134
+ jspb.Message.getWrapperField(this, proto.AccessApi, 1));
2135
+ };
2136
+
2137
+
2138
+ /**
2139
+ * @param {?proto.AccessApi|undefined} value
2140
+ * @return {!proto.CreateAccessApiResponse} returns this
2141
+ */
2142
+ proto.CreateAccessApiResponse.prototype.setAccessApi = function(value) {
2143
+ return jspb.Message.setWrapperField(this, 1, value);
2144
+ };
2145
+
2146
+
2147
+ /**
2148
+ * Clears the message field making it undefined.
2149
+ * @return {!proto.CreateAccessApiResponse} returns this
2150
+ */
2151
+ proto.CreateAccessApiResponse.prototype.clearAccessApi = function() {
2152
+ return this.setAccessApi(undefined);
2153
+ };
2154
+
2155
+
2156
+ /**
2157
+ * Returns whether this field is set.
2158
+ * @return {boolean}
2159
+ */
2160
+ proto.CreateAccessApiResponse.prototype.hasAccessApi = function() {
2161
+ return jspb.Message.getField(this, 1) != null;
2162
+ };
2163
+
2164
+
2165
+ /**
2166
+ * optional prisca.v1.global.meta.Meta meta = 2;
2167
+ * @return {?proto.prisca.v1.global.meta.Meta}
2168
+ */
2169
+ proto.CreateAccessApiResponse.prototype.getMeta = function() {
2170
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2171
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2172
+ };
2173
+
2174
+
2175
+ /**
2176
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2177
+ * @return {!proto.CreateAccessApiResponse} returns this
2178
+ */
2179
+ proto.CreateAccessApiResponse.prototype.setMeta = function(value) {
2180
+ return jspb.Message.setWrapperField(this, 2, value);
2181
+ };
2182
+
2183
+
2184
+ /**
2185
+ * Clears the message field making it undefined.
2186
+ * @return {!proto.CreateAccessApiResponse} returns this
2187
+ */
2188
+ proto.CreateAccessApiResponse.prototype.clearMeta = function() {
2189
+ return this.setMeta(undefined);
2190
+ };
2191
+
2192
+
2193
+ /**
2194
+ * Returns whether this field is set.
2195
+ * @return {boolean}
2196
+ */
2197
+ proto.CreateAccessApiResponse.prototype.hasMeta = function() {
2198
+ return jspb.Message.getField(this, 2) != null;
2199
+ };
2200
+
2201
+
2202
+
2203
+ /**
2204
+ * List of repeated fields within this message type.
2205
+ * @private {!Array<number>}
2206
+ * @const
2207
+ */
2208
+ proto.GetListAccessApiResponse.repeatedFields_ = [1];
2209
+
2210
+
2211
+
2212
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2213
+ /**
2214
+ * Creates an object representation of this proto.
2215
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2216
+ * Optional fields that are not set will be set to undefined.
2217
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2218
+ * For the list of reserved names please see:
2219
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2220
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2221
+ * JSPB instance for transitional soy proto support:
2222
+ * http://goto/soy-param-migration
2223
+ * @return {!Object}
2224
+ */
2225
+ proto.GetListAccessApiResponse.prototype.toObject = function(opt_includeInstance) {
2226
+ return proto.GetListAccessApiResponse.toObject(opt_includeInstance, this);
2227
+ };
2228
+
2229
+
2230
+ /**
2231
+ * Static version of the {@see toObject} method.
2232
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2233
+ * the JSPB instance for transitional soy proto support:
2234
+ * http://goto/soy-param-migration
2235
+ * @param {!proto.GetListAccessApiResponse} msg The msg instance to transform.
2236
+ * @return {!Object}
2237
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2238
+ */
2239
+ proto.GetListAccessApiResponse.toObject = function(includeInstance, msg) {
2240
+ var f, obj = {
2241
+ accessApiList: jspb.Message.toObjectList(msg.getAccessApiList(),
2242
+ proto.AccessApi.toObject, includeInstance),
2243
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2244
+ };
2245
+
2246
+ if (includeInstance) {
2247
+ obj.$jspbMessageInstance = msg;
2248
+ }
2249
+ return obj;
2250
+ };
2251
+ }
2252
+
2253
+
2254
+ /**
2255
+ * Deserializes binary data (in protobuf wire format).
2256
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2257
+ * @return {!proto.GetListAccessApiResponse}
2258
+ */
2259
+ proto.GetListAccessApiResponse.deserializeBinary = function(bytes) {
2260
+ var reader = new jspb.BinaryReader(bytes);
2261
+ var msg = new proto.GetListAccessApiResponse;
2262
+ return proto.GetListAccessApiResponse.deserializeBinaryFromReader(msg, reader);
2263
+ };
2264
+
2265
+
2266
+ /**
2267
+ * Deserializes binary data (in protobuf wire format) from the
2268
+ * given reader into the given message object.
2269
+ * @param {!proto.GetListAccessApiResponse} msg The message object to deserialize into.
2270
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2271
+ * @return {!proto.GetListAccessApiResponse}
2272
+ */
2273
+ proto.GetListAccessApiResponse.deserializeBinaryFromReader = function(msg, reader) {
2274
+ while (reader.nextField()) {
2275
+ if (reader.isEndGroup()) {
2276
+ break;
2277
+ }
2278
+ var field = reader.getFieldNumber();
2279
+ switch (field) {
2280
+ case 1:
2281
+ var value = new proto.AccessApi;
2282
+ reader.readMessage(value,proto.AccessApi.deserializeBinaryFromReader);
2283
+ msg.addAccessApi(value);
2284
+ break;
2285
+ case 2:
2286
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2287
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2288
+ msg.setMeta(value);
2289
+ break;
2290
+ default:
2291
+ reader.skipField();
2292
+ break;
2293
+ }
2294
+ }
2295
+ return msg;
2296
+ };
2297
+
2298
+
2299
+ /**
2300
+ * Serializes the message to binary data (in protobuf wire format).
2301
+ * @return {!Uint8Array}
2302
+ */
2303
+ proto.GetListAccessApiResponse.prototype.serializeBinary = function() {
2304
+ var writer = new jspb.BinaryWriter();
2305
+ proto.GetListAccessApiResponse.serializeBinaryToWriter(this, writer);
2306
+ return writer.getResultBuffer();
2307
+ };
2308
+
2309
+
2310
+ /**
2311
+ * Serializes the given message to binary data (in protobuf wire
2312
+ * format), writing to the given BinaryWriter.
2313
+ * @param {!proto.GetListAccessApiResponse} message
2314
+ * @param {!jspb.BinaryWriter} writer
2315
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2316
+ */
2317
+ proto.GetListAccessApiResponse.serializeBinaryToWriter = function(message, writer) {
2318
+ var f = undefined;
2319
+ f = message.getAccessApiList();
2320
+ if (f.length > 0) {
2321
+ writer.writeRepeatedMessage(
2322
+ 1,
2323
+ f,
2324
+ proto.AccessApi.serializeBinaryToWriter
2325
+ );
2326
+ }
2327
+ f = message.getMeta();
2328
+ if (f != null) {
2329
+ writer.writeMessage(
2330
+ 2,
2331
+ f,
2332
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2333
+ );
2334
+ }
2335
+ };
2336
+
2337
+
2338
+ /**
2339
+ * repeated AccessApi access_api = 1;
2340
+ * @return {!Array<!proto.AccessApi>}
2341
+ */
2342
+ proto.GetListAccessApiResponse.prototype.getAccessApiList = function() {
2343
+ return /** @type{!Array<!proto.AccessApi>} */ (
2344
+ jspb.Message.getRepeatedWrapperField(this, proto.AccessApi, 1));
2345
+ };
2346
+
2347
+
2348
+ /**
2349
+ * @param {!Array<!proto.AccessApi>} value
2350
+ * @return {!proto.GetListAccessApiResponse} returns this
2351
+ */
2352
+ proto.GetListAccessApiResponse.prototype.setAccessApiList = function(value) {
2353
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2354
+ };
2355
+
2356
+
2357
+ /**
2358
+ * @param {!proto.AccessApi=} opt_value
2359
+ * @param {number=} opt_index
2360
+ * @return {!proto.AccessApi}
2361
+ */
2362
+ proto.GetListAccessApiResponse.prototype.addAccessApi = function(opt_value, opt_index) {
2363
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.AccessApi, opt_index);
2364
+ };
2365
+
2366
+
2367
+ /**
2368
+ * Clears the list making it empty but non-null.
2369
+ * @return {!proto.GetListAccessApiResponse} returns this
2370
+ */
2371
+ proto.GetListAccessApiResponse.prototype.clearAccessApiList = function() {
2372
+ return this.setAccessApiList([]);
2373
+ };
2374
+
2375
+
2376
+ /**
2377
+ * optional prisca.v1.global.meta.Meta meta = 2;
2378
+ * @return {?proto.prisca.v1.global.meta.Meta}
2379
+ */
2380
+ proto.GetListAccessApiResponse.prototype.getMeta = function() {
2381
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2382
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2383
+ };
2384
+
2385
+
2386
+ /**
2387
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2388
+ * @return {!proto.GetListAccessApiResponse} returns this
2389
+ */
2390
+ proto.GetListAccessApiResponse.prototype.setMeta = function(value) {
2391
+ return jspb.Message.setWrapperField(this, 2, value);
2392
+ };
2393
+
2394
+
2395
+ /**
2396
+ * Clears the message field making it undefined.
2397
+ * @return {!proto.GetListAccessApiResponse} returns this
2398
+ */
2399
+ proto.GetListAccessApiResponse.prototype.clearMeta = function() {
2400
+ return this.setMeta(undefined);
2401
+ };
2402
+
2403
+
2404
+ /**
2405
+ * Returns whether this field is set.
2406
+ * @return {boolean}
2407
+ */
2408
+ proto.GetListAccessApiResponse.prototype.hasMeta = function() {
2409
+ return jspb.Message.getField(this, 2) != null;
2410
+ };
2411
+
2412
+
2413
+
2414
+
2415
+
2416
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2417
+ /**
2418
+ * Creates an object representation of this proto.
2419
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2420
+ * Optional fields that are not set will be set to undefined.
2421
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2422
+ * For the list of reserved names please see:
2423
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2424
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2425
+ * JSPB instance for transitional soy proto support:
2426
+ * http://goto/soy-param-migration
2427
+ * @return {!Object}
2428
+ */
2429
+ proto.GetAccessApiByIdResponse.prototype.toObject = function(opt_includeInstance) {
2430
+ return proto.GetAccessApiByIdResponse.toObject(opt_includeInstance, this);
2431
+ };
2432
+
2433
+
2434
+ /**
2435
+ * Static version of the {@see toObject} method.
2436
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2437
+ * the JSPB instance for transitional soy proto support:
2438
+ * http://goto/soy-param-migration
2439
+ * @param {!proto.GetAccessApiByIdResponse} msg The msg instance to transform.
2440
+ * @return {!Object}
2441
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2442
+ */
2443
+ proto.GetAccessApiByIdResponse.toObject = function(includeInstance, msg) {
2444
+ var f, obj = {
2445
+ accessApi: (f = msg.getAccessApi()) && proto.AccessApi.toObject(includeInstance, f),
2446
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2447
+ };
2448
+
2449
+ if (includeInstance) {
2450
+ obj.$jspbMessageInstance = msg;
2451
+ }
2452
+ return obj;
2453
+ };
2454
+ }
2455
+
2456
+
2457
+ /**
2458
+ * Deserializes binary data (in protobuf wire format).
2459
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2460
+ * @return {!proto.GetAccessApiByIdResponse}
2461
+ */
2462
+ proto.GetAccessApiByIdResponse.deserializeBinary = function(bytes) {
2463
+ var reader = new jspb.BinaryReader(bytes);
2464
+ var msg = new proto.GetAccessApiByIdResponse;
2465
+ return proto.GetAccessApiByIdResponse.deserializeBinaryFromReader(msg, reader);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * Deserializes binary data (in protobuf wire format) from the
2471
+ * given reader into the given message object.
2472
+ * @param {!proto.GetAccessApiByIdResponse} msg The message object to deserialize into.
2473
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2474
+ * @return {!proto.GetAccessApiByIdResponse}
2475
+ */
2476
+ proto.GetAccessApiByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2477
+ while (reader.nextField()) {
2478
+ if (reader.isEndGroup()) {
2479
+ break;
2480
+ }
2481
+ var field = reader.getFieldNumber();
2482
+ switch (field) {
2483
+ case 1:
2484
+ var value = new proto.AccessApi;
2485
+ reader.readMessage(value,proto.AccessApi.deserializeBinaryFromReader);
2486
+ msg.setAccessApi(value);
2487
+ break;
2488
+ case 2:
2489
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2490
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2491
+ msg.setMeta(value);
2492
+ break;
2493
+ default:
2494
+ reader.skipField();
2495
+ break;
2496
+ }
2497
+ }
2498
+ return msg;
2499
+ };
2500
+
2501
+
2502
+ /**
2503
+ * Serializes the message to binary data (in protobuf wire format).
2504
+ * @return {!Uint8Array}
2505
+ */
2506
+ proto.GetAccessApiByIdResponse.prototype.serializeBinary = function() {
2507
+ var writer = new jspb.BinaryWriter();
2508
+ proto.GetAccessApiByIdResponse.serializeBinaryToWriter(this, writer);
2509
+ return writer.getResultBuffer();
2510
+ };
2511
+
2512
+
2513
+ /**
2514
+ * Serializes the given message to binary data (in protobuf wire
2515
+ * format), writing to the given BinaryWriter.
2516
+ * @param {!proto.GetAccessApiByIdResponse} message
2517
+ * @param {!jspb.BinaryWriter} writer
2518
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2519
+ */
2520
+ proto.GetAccessApiByIdResponse.serializeBinaryToWriter = function(message, writer) {
2521
+ var f = undefined;
2522
+ f = message.getAccessApi();
2523
+ if (f != null) {
2524
+ writer.writeMessage(
2525
+ 1,
2526
+ f,
2527
+ proto.AccessApi.serializeBinaryToWriter
2528
+ );
2529
+ }
2530
+ f = message.getMeta();
2531
+ if (f != null) {
2532
+ writer.writeMessage(
2533
+ 2,
2534
+ f,
2535
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2536
+ );
2537
+ }
2538
+ };
2539
+
2540
+
2541
+ /**
2542
+ * optional AccessApi access_api = 1;
2543
+ * @return {?proto.AccessApi}
2544
+ */
2545
+ proto.GetAccessApiByIdResponse.prototype.getAccessApi = function() {
2546
+ return /** @type{?proto.AccessApi} */ (
2547
+ jspb.Message.getWrapperField(this, proto.AccessApi, 1));
2548
+ };
2549
+
2550
+
2551
+ /**
2552
+ * @param {?proto.AccessApi|undefined} value
2553
+ * @return {!proto.GetAccessApiByIdResponse} returns this
2554
+ */
2555
+ proto.GetAccessApiByIdResponse.prototype.setAccessApi = function(value) {
2556
+ return jspb.Message.setWrapperField(this, 1, value);
2557
+ };
2558
+
2559
+
2560
+ /**
2561
+ * Clears the message field making it undefined.
2562
+ * @return {!proto.GetAccessApiByIdResponse} returns this
2563
+ */
2564
+ proto.GetAccessApiByIdResponse.prototype.clearAccessApi = function() {
2565
+ return this.setAccessApi(undefined);
2566
+ };
2567
+
2568
+
2569
+ /**
2570
+ * Returns whether this field is set.
2571
+ * @return {boolean}
2572
+ */
2573
+ proto.GetAccessApiByIdResponse.prototype.hasAccessApi = function() {
2574
+ return jspb.Message.getField(this, 1) != null;
2575
+ };
2576
+
2577
+
2578
+ /**
2579
+ * optional prisca.v1.global.meta.Meta meta = 2;
2580
+ * @return {?proto.prisca.v1.global.meta.Meta}
2581
+ */
2582
+ proto.GetAccessApiByIdResponse.prototype.getMeta = function() {
2583
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2584
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2585
+ };
2586
+
2587
+
2588
+ /**
2589
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2590
+ * @return {!proto.GetAccessApiByIdResponse} returns this
2591
+ */
2592
+ proto.GetAccessApiByIdResponse.prototype.setMeta = function(value) {
2593
+ return jspb.Message.setWrapperField(this, 2, value);
2594
+ };
2595
+
2596
+
2597
+ /**
2598
+ * Clears the message field making it undefined.
2599
+ * @return {!proto.GetAccessApiByIdResponse} returns this
2600
+ */
2601
+ proto.GetAccessApiByIdResponse.prototype.clearMeta = function() {
2602
+ return this.setMeta(undefined);
2603
+ };
2604
+
2605
+
2606
+ /**
2607
+ * Returns whether this field is set.
2608
+ * @return {boolean}
2609
+ */
2610
+ proto.GetAccessApiByIdResponse.prototype.hasMeta = function() {
2611
+ return jspb.Message.getField(this, 2) != null;
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.UpdateAccessApiResponse.prototype.toObject = function(opt_includeInstance) {
2632
+ return proto.UpdateAccessApiResponse.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.UpdateAccessApiResponse} msg The msg instance to transform.
2642
+ * @return {!Object}
2643
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2644
+ */
2645
+ proto.UpdateAccessApiResponse.toObject = function(includeInstance, msg) {
2646
+ var f, obj = {
2647
+ accessApi: (f = msg.getAccessApi()) && proto.AccessApi.toObject(includeInstance, f),
2648
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2649
+ };
2650
+
2651
+ if (includeInstance) {
2652
+ obj.$jspbMessageInstance = msg;
2653
+ }
2654
+ return obj;
2655
+ };
2656
+ }
2657
+
2658
+
2659
+ /**
2660
+ * Deserializes binary data (in protobuf wire format).
2661
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2662
+ * @return {!proto.UpdateAccessApiResponse}
2663
+ */
2664
+ proto.UpdateAccessApiResponse.deserializeBinary = function(bytes) {
2665
+ var reader = new jspb.BinaryReader(bytes);
2666
+ var msg = new proto.UpdateAccessApiResponse;
2667
+ return proto.UpdateAccessApiResponse.deserializeBinaryFromReader(msg, reader);
2668
+ };
2669
+
2670
+
2671
+ /**
2672
+ * Deserializes binary data (in protobuf wire format) from the
2673
+ * given reader into the given message object.
2674
+ * @param {!proto.UpdateAccessApiResponse} msg The message object to deserialize into.
2675
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2676
+ * @return {!proto.UpdateAccessApiResponse}
2677
+ */
2678
+ proto.UpdateAccessApiResponse.deserializeBinaryFromReader = function(msg, reader) {
2679
+ while (reader.nextField()) {
2680
+ if (reader.isEndGroup()) {
2681
+ break;
2682
+ }
2683
+ var field = reader.getFieldNumber();
2684
+ switch (field) {
2685
+ case 1:
2686
+ var value = new proto.AccessApi;
2687
+ reader.readMessage(value,proto.AccessApi.deserializeBinaryFromReader);
2688
+ msg.setAccessApi(value);
2689
+ break;
2690
+ case 2:
2691
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2692
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2693
+ msg.setMeta(value);
2694
+ break;
2695
+ default:
2696
+ reader.skipField();
2697
+ break;
2698
+ }
2699
+ }
2700
+ return msg;
2701
+ };
2702
+
2703
+
2704
+ /**
2705
+ * Serializes the message to binary data (in protobuf wire format).
2706
+ * @return {!Uint8Array}
2707
+ */
2708
+ proto.UpdateAccessApiResponse.prototype.serializeBinary = function() {
2709
+ var writer = new jspb.BinaryWriter();
2710
+ proto.UpdateAccessApiResponse.serializeBinaryToWriter(this, writer);
2711
+ return writer.getResultBuffer();
2712
+ };
2713
+
2714
+
2715
+ /**
2716
+ * Serializes the given message to binary data (in protobuf wire
2717
+ * format), writing to the given BinaryWriter.
2718
+ * @param {!proto.UpdateAccessApiResponse} message
2719
+ * @param {!jspb.BinaryWriter} writer
2720
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2721
+ */
2722
+ proto.UpdateAccessApiResponse.serializeBinaryToWriter = function(message, writer) {
2723
+ var f = undefined;
2724
+ f = message.getAccessApi();
2725
+ if (f != null) {
2726
+ writer.writeMessage(
2727
+ 1,
2728
+ f,
2729
+ proto.AccessApi.serializeBinaryToWriter
2730
+ );
2731
+ }
2732
+ f = message.getMeta();
2733
+ if (f != null) {
2734
+ writer.writeMessage(
2735
+ 2,
2736
+ f,
2737
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2738
+ );
2739
+ }
2740
+ };
2741
+
2742
+
2743
+ /**
2744
+ * optional AccessApi access_api = 1;
2745
+ * @return {?proto.AccessApi}
2746
+ */
2747
+ proto.UpdateAccessApiResponse.prototype.getAccessApi = function() {
2748
+ return /** @type{?proto.AccessApi} */ (
2749
+ jspb.Message.getWrapperField(this, proto.AccessApi, 1));
2750
+ };
2751
+
2752
+
2753
+ /**
2754
+ * @param {?proto.AccessApi|undefined} value
2755
+ * @return {!proto.UpdateAccessApiResponse} returns this
2756
+ */
2757
+ proto.UpdateAccessApiResponse.prototype.setAccessApi = function(value) {
2758
+ return jspb.Message.setWrapperField(this, 1, value);
2759
+ };
2760
+
2761
+
2762
+ /**
2763
+ * Clears the message field making it undefined.
2764
+ * @return {!proto.UpdateAccessApiResponse} returns this
2765
+ */
2766
+ proto.UpdateAccessApiResponse.prototype.clearAccessApi = function() {
2767
+ return this.setAccessApi(undefined);
2768
+ };
2769
+
2770
+
2771
+ /**
2772
+ * Returns whether this field is set.
2773
+ * @return {boolean}
2774
+ */
2775
+ proto.UpdateAccessApiResponse.prototype.hasAccessApi = function() {
2776
+ return jspb.Message.getField(this, 1) != null;
2777
+ };
2778
+
2779
+
2780
+ /**
2781
+ * optional prisca.v1.global.meta.Meta meta = 2;
2782
+ * @return {?proto.prisca.v1.global.meta.Meta}
2783
+ */
2784
+ proto.UpdateAccessApiResponse.prototype.getMeta = function() {
2785
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2786
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2787
+ };
2788
+
2789
+
2790
+ /**
2791
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2792
+ * @return {!proto.UpdateAccessApiResponse} returns this
2793
+ */
2794
+ proto.UpdateAccessApiResponse.prototype.setMeta = function(value) {
2795
+ return jspb.Message.setWrapperField(this, 2, value);
2796
+ };
2797
+
2798
+
2799
+ /**
2800
+ * Clears the message field making it undefined.
2801
+ * @return {!proto.UpdateAccessApiResponse} returns this
2802
+ */
2803
+ proto.UpdateAccessApiResponse.prototype.clearMeta = function() {
2804
+ return this.setMeta(undefined);
2805
+ };
2806
+
2807
+
2808
+ /**
2809
+ * Returns whether this field is set.
2810
+ * @return {boolean}
2811
+ */
2812
+ proto.UpdateAccessApiResponse.prototype.hasMeta = function() {
2813
+ return jspb.Message.getField(this, 2) != null;
2814
+ };
2815
+
2816
+
2817
+
2818
+ /**
2819
+ * List of repeated fields within this message type.
2820
+ * @private {!Array<number>}
2821
+ * @const
2822
+ */
2823
+ proto.DeleteAccessApiResponse.repeatedFields_ = [1];
2824
+
2825
+
2826
+
2827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2828
+ /**
2829
+ * Creates an object representation of this proto.
2830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2831
+ * Optional fields that are not set will be set to undefined.
2832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2833
+ * For the list of reserved names please see:
2834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2836
+ * JSPB instance for transitional soy proto support:
2837
+ * http://goto/soy-param-migration
2838
+ * @return {!Object}
2839
+ */
2840
+ proto.DeleteAccessApiResponse.prototype.toObject = function(opt_includeInstance) {
2841
+ return proto.DeleteAccessApiResponse.toObject(opt_includeInstance, this);
2842
+ };
2843
+
2844
+
2845
+ /**
2846
+ * Static version of the {@see toObject} method.
2847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2848
+ * the JSPB instance for transitional soy proto support:
2849
+ * http://goto/soy-param-migration
2850
+ * @param {!proto.DeleteAccessApiResponse} msg The msg instance to transform.
2851
+ * @return {!Object}
2852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2853
+ */
2854
+ proto.DeleteAccessApiResponse.toObject = function(includeInstance, msg) {
2855
+ var f, obj = {
2856
+ referencesIdList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2857
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2858
+ };
2859
+
2860
+ if (includeInstance) {
2861
+ obj.$jspbMessageInstance = msg;
2862
+ }
2863
+ return obj;
2864
+ };
2865
+ }
2866
+
2867
+
2868
+ /**
2869
+ * Deserializes binary data (in protobuf wire format).
2870
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2871
+ * @return {!proto.DeleteAccessApiResponse}
2872
+ */
2873
+ proto.DeleteAccessApiResponse.deserializeBinary = function(bytes) {
2874
+ var reader = new jspb.BinaryReader(bytes);
2875
+ var msg = new proto.DeleteAccessApiResponse;
2876
+ return proto.DeleteAccessApiResponse.deserializeBinaryFromReader(msg, reader);
2877
+ };
2878
+
2879
+
2880
+ /**
2881
+ * Deserializes binary data (in protobuf wire format) from the
2882
+ * given reader into the given message object.
2883
+ * @param {!proto.DeleteAccessApiResponse} msg The message object to deserialize into.
2884
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2885
+ * @return {!proto.DeleteAccessApiResponse}
2886
+ */
2887
+ proto.DeleteAccessApiResponse.deserializeBinaryFromReader = function(msg, reader) {
2888
+ while (reader.nextField()) {
2889
+ if (reader.isEndGroup()) {
2890
+ break;
2891
+ }
2892
+ var field = reader.getFieldNumber();
2893
+ switch (field) {
2894
+ case 1:
2895
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2896
+ msg.addReferencesId(value);
2897
+ break;
2898
+ case 2:
2899
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2900
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2901
+ msg.setMeta(value);
2902
+ break;
2903
+ default:
2904
+ reader.skipField();
2905
+ break;
2906
+ }
2907
+ }
2908
+ return msg;
2909
+ };
2910
+
2911
+
2912
+ /**
2913
+ * Serializes the message to binary data (in protobuf wire format).
2914
+ * @return {!Uint8Array}
2915
+ */
2916
+ proto.DeleteAccessApiResponse.prototype.serializeBinary = function() {
2917
+ var writer = new jspb.BinaryWriter();
2918
+ proto.DeleteAccessApiResponse.serializeBinaryToWriter(this, writer);
2919
+ return writer.getResultBuffer();
2920
+ };
2921
+
2922
+
2923
+ /**
2924
+ * Serializes the given message to binary data (in protobuf wire
2925
+ * format), writing to the given BinaryWriter.
2926
+ * @param {!proto.DeleteAccessApiResponse} message
2927
+ * @param {!jspb.BinaryWriter} writer
2928
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2929
+ */
2930
+ proto.DeleteAccessApiResponse.serializeBinaryToWriter = function(message, writer) {
2931
+ var f = undefined;
2932
+ f = message.getReferencesIdList();
2933
+ if (f.length > 0) {
2934
+ writer.writeRepeatedString(
2935
+ 1,
2936
+ f
2937
+ );
2938
+ }
2939
+ f = message.getMeta();
2940
+ if (f != null) {
2941
+ writer.writeMessage(
2942
+ 2,
2943
+ f,
2944
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2945
+ );
2946
+ }
2947
+ };
2948
+
2949
+
2950
+ /**
2951
+ * repeated string references_id = 1;
2952
+ * @return {!Array<string>}
2953
+ */
2954
+ proto.DeleteAccessApiResponse.prototype.getReferencesIdList = function() {
2955
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2956
+ };
2957
+
2958
+
2959
+ /**
2960
+ * @param {!Array<string>} value
2961
+ * @return {!proto.DeleteAccessApiResponse} returns this
2962
+ */
2963
+ proto.DeleteAccessApiResponse.prototype.setReferencesIdList = function(value) {
2964
+ return jspb.Message.setField(this, 1, value || []);
2965
+ };
2966
+
2967
+
2968
+ /**
2969
+ * @param {string} value
2970
+ * @param {number=} opt_index
2971
+ * @return {!proto.DeleteAccessApiResponse} returns this
2972
+ */
2973
+ proto.DeleteAccessApiResponse.prototype.addReferencesId = function(value, opt_index) {
2974
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2975
+ };
2976
+
2977
+
2978
+ /**
2979
+ * Clears the list making it empty but non-null.
2980
+ * @return {!proto.DeleteAccessApiResponse} returns this
2981
+ */
2982
+ proto.DeleteAccessApiResponse.prototype.clearReferencesIdList = function() {
2983
+ return this.setReferencesIdList([]);
2984
+ };
2985
+
2986
+
2987
+ /**
2988
+ * optional prisca.v1.global.meta.Meta meta = 2;
2989
+ * @return {?proto.prisca.v1.global.meta.Meta}
2990
+ */
2991
+ proto.DeleteAccessApiResponse.prototype.getMeta = function() {
2992
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2993
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2994
+ };
2995
+
2996
+
2997
+ /**
2998
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2999
+ * @return {!proto.DeleteAccessApiResponse} returns this
3000
+ */
3001
+ proto.DeleteAccessApiResponse.prototype.setMeta = function(value) {
3002
+ return jspb.Message.setWrapperField(this, 2, value);
3003
+ };
3004
+
3005
+
3006
+ /**
3007
+ * Clears the message field making it undefined.
3008
+ * @return {!proto.DeleteAccessApiResponse} returns this
3009
+ */
3010
+ proto.DeleteAccessApiResponse.prototype.clearMeta = function() {
3011
+ return this.setMeta(undefined);
3012
+ };
3013
+
3014
+
3015
+ /**
3016
+ * Returns whether this field is set.
3017
+ * @return {boolean}
3018
+ */
3019
+ proto.DeleteAccessApiResponse.prototype.hasMeta = function() {
3020
+ return jspb.Message.getField(this, 2) != null;
3021
+ };
3022
+
3023
+
3024
+ goog.object.extend(exports, proto);