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