@aldiokta/protocgen 1.1.61 → 1.1.62

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