@miradorlabs/web-grpc 3.29.0 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,9 +29,6 @@ goog.exportSymbol('proto.gateway.web.v1.GitHubFileResult.Code', null, global);
29
29
  goog.exportSymbol('proto.gateway.web.v1.GitHubFilesRequest', null, global);
30
30
  goog.exportSymbol('proto.gateway.web.v1.GitHubFilesResponse', null, global);
31
31
  goog.exportSymbol('proto.gateway.web.v1.GitHubInstallation', null, global);
32
- goog.exportSymbol('proto.gateway.web.v1.GitHubIssue', null, global);
33
- goog.exportSymbol('proto.gateway.web.v1.GitHubIssuesRequest', null, global);
34
- goog.exportSymbol('proto.gateway.web.v1.GitHubIssuesResponse', null, global);
35
32
  goog.exportSymbol('proto.gateway.web.v1.GitHubPullRequest', null, global);
36
33
  goog.exportSymbol('proto.gateway.web.v1.GitHubPullRequestsRequest', null, global);
37
34
  goog.exportSymbol('proto.gateway.web.v1.GitHubPullRequestsResponse', null, global);
@@ -291,69 +288,6 @@ if (goog.DEBUG && !COMPILED) {
291
288
  */
292
289
  proto.gateway.web.v1.GitHubPullRequestsResponse.displayName = 'proto.gateway.web.v1.GitHubPullRequestsResponse';
293
290
  }
294
- /**
295
- * Generated by JsPbCodeGenerator.
296
- * @param {Array=} opt_data Optional initial data array, typically from a
297
- * server response, or constructed directly in Javascript. The array is used
298
- * in place and becomes part of the constructed object. It is not cloned.
299
- * If no data is provided, the constructed object will be empty, but still
300
- * valid.
301
- * @extends {jspb.Message}
302
- * @constructor
303
- */
304
- proto.gateway.web.v1.GitHubIssuesRequest = function(opt_data) {
305
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
306
- };
307
- goog.inherits(proto.gateway.web.v1.GitHubIssuesRequest, jspb.Message);
308
- if (goog.DEBUG && !COMPILED) {
309
- /**
310
- * @public
311
- * @override
312
- */
313
- proto.gateway.web.v1.GitHubIssuesRequest.displayName = 'proto.gateway.web.v1.GitHubIssuesRequest';
314
- }
315
- /**
316
- * Generated by JsPbCodeGenerator.
317
- * @param {Array=} opt_data Optional initial data array, typically from a
318
- * server response, or constructed directly in Javascript. The array is used
319
- * in place and becomes part of the constructed object. It is not cloned.
320
- * If no data is provided, the constructed object will be empty, but still
321
- * valid.
322
- * @extends {jspb.Message}
323
- * @constructor
324
- */
325
- proto.gateway.web.v1.GitHubIssue = function(opt_data) {
326
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
327
- };
328
- goog.inherits(proto.gateway.web.v1.GitHubIssue, jspb.Message);
329
- if (goog.DEBUG && !COMPILED) {
330
- /**
331
- * @public
332
- * @override
333
- */
334
- proto.gateway.web.v1.GitHubIssue.displayName = 'proto.gateway.web.v1.GitHubIssue';
335
- }
336
- /**
337
- * Generated by JsPbCodeGenerator.
338
- * @param {Array=} opt_data Optional initial data array, typically from a
339
- * server response, or constructed directly in Javascript. The array is used
340
- * in place and becomes part of the constructed object. It is not cloned.
341
- * If no data is provided, the constructed object will be empty, but still
342
- * valid.
343
- * @extends {jspb.Message}
344
- * @constructor
345
- */
346
- proto.gateway.web.v1.GitHubIssuesResponse = function(opt_data) {
347
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GitHubIssuesResponse.repeatedFields_, null);
348
- };
349
- goog.inherits(proto.gateway.web.v1.GitHubIssuesResponse, jspb.Message);
350
- if (goog.DEBUG && !COMPILED) {
351
- /**
352
- * @public
353
- * @override
354
- */
355
- proto.gateway.web.v1.GitHubIssuesResponse.displayName = 'proto.gateway.web.v1.GitHubIssuesResponse';
356
- }
357
291
  /**
358
292
  * Generated by JsPbCodeGenerator.
359
293
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3216,747 +3150,6 @@ proto.gateway.web.v1.GitHubPullRequestsResponse.prototype.clearPullRequestsList
3216
3150
 
3217
3151
 
3218
3152
 
3219
- if (jspb.Message.GENERATE_TO_OBJECT) {
3220
- /**
3221
- * Creates an object representation of this proto.
3222
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3223
- * Optional fields that are not set will be set to undefined.
3224
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3225
- * For the list of reserved names please see:
3226
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3227
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3228
- * JSPB instance for transitional soy proto support:
3229
- * http://goto/soy-param-migration
3230
- * @return {!Object}
3231
- */
3232
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.toObject = function(opt_includeInstance) {
3233
- return proto.gateway.web.v1.GitHubIssuesRequest.toObject(opt_includeInstance, this);
3234
- };
3235
-
3236
-
3237
- /**
3238
- * Static version of the {@see toObject} method.
3239
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3240
- * the JSPB instance for transitional soy proto support:
3241
- * http://goto/soy-param-migration
3242
- * @param {!proto.gateway.web.v1.GitHubIssuesRequest} msg The msg instance to transform.
3243
- * @return {!Object}
3244
- * @suppress {unusedLocalVariables} f is only used for nested messages
3245
- */
3246
- proto.gateway.web.v1.GitHubIssuesRequest.toObject = function(includeInstance, msg) {
3247
- var f, obj = {
3248
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3249
- repositoryFullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3250
- state: jspb.Message.getFieldWithDefault(msg, 3, ""),
3251
- page: jspb.Message.getFieldWithDefault(msg, 4, 0)
3252
- };
3253
-
3254
- if (includeInstance) {
3255
- obj.$jspbMessageInstance = msg;
3256
- }
3257
- return obj;
3258
- };
3259
- }
3260
-
3261
-
3262
- /**
3263
- * Deserializes binary data (in protobuf wire format).
3264
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3265
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest}
3266
- */
3267
- proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinary = function(bytes) {
3268
- var reader = new jspb.BinaryReader(bytes);
3269
- var msg = new proto.gateway.web.v1.GitHubIssuesRequest;
3270
- return proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinaryFromReader(msg, reader);
3271
- };
3272
-
3273
-
3274
- /**
3275
- * Deserializes binary data (in protobuf wire format) from the
3276
- * given reader into the given message object.
3277
- * @param {!proto.gateway.web.v1.GitHubIssuesRequest} msg The message object to deserialize into.
3278
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3279
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest}
3280
- */
3281
- proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinaryFromReader = function(msg, reader) {
3282
- while (reader.nextField()) {
3283
- if (reader.isEndGroup()) {
3284
- break;
3285
- }
3286
- var field = reader.getFieldNumber();
3287
- switch (field) {
3288
- case 1:
3289
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3290
- msg.setOrganizationId(value);
3291
- break;
3292
- case 2:
3293
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3294
- msg.setRepositoryFullName(value);
3295
- break;
3296
- case 3:
3297
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3298
- msg.setState(value);
3299
- break;
3300
- case 4:
3301
- var value = /** @type {number} */ (reader.readInt32());
3302
- msg.setPage(value);
3303
- break;
3304
- default:
3305
- reader.skipField();
3306
- break;
3307
- }
3308
- }
3309
- return msg;
3310
- };
3311
-
3312
-
3313
- /**
3314
- * Serializes the message to binary data (in protobuf wire format).
3315
- * @return {!Uint8Array}
3316
- */
3317
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.serializeBinary = function() {
3318
- var writer = new jspb.BinaryWriter();
3319
- proto.gateway.web.v1.GitHubIssuesRequest.serializeBinaryToWriter(this, writer);
3320
- return writer.getResultBuffer();
3321
- };
3322
-
3323
-
3324
- /**
3325
- * Serializes the given message to binary data (in protobuf wire
3326
- * format), writing to the given BinaryWriter.
3327
- * @param {!proto.gateway.web.v1.GitHubIssuesRequest} message
3328
- * @param {!jspb.BinaryWriter} writer
3329
- * @suppress {unusedLocalVariables} f is only used for nested messages
3330
- */
3331
- proto.gateway.web.v1.GitHubIssuesRequest.serializeBinaryToWriter = function(message, writer) {
3332
- var f = undefined;
3333
- f = message.getOrganizationId();
3334
- if (f.length > 0) {
3335
- writer.writeString(
3336
- 1,
3337
- f
3338
- );
3339
- }
3340
- f = message.getRepositoryFullName();
3341
- if (f.length > 0) {
3342
- writer.writeString(
3343
- 2,
3344
- f
3345
- );
3346
- }
3347
- f = message.getState();
3348
- if (f.length > 0) {
3349
- writer.writeString(
3350
- 3,
3351
- f
3352
- );
3353
- }
3354
- f = message.getPage();
3355
- if (f !== 0) {
3356
- writer.writeInt32(
3357
- 4,
3358
- f
3359
- );
3360
- }
3361
- };
3362
-
3363
-
3364
- /**
3365
- * optional string organization_id = 1;
3366
- * @return {string}
3367
- */
3368
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getOrganizationId = function() {
3369
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3370
- };
3371
-
3372
-
3373
- /**
3374
- * @param {string} value
3375
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3376
- */
3377
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setOrganizationId = function(value) {
3378
- return jspb.Message.setProto3StringField(this, 1, value);
3379
- };
3380
-
3381
-
3382
- /**
3383
- * optional string repository_full_name = 2;
3384
- * @return {string}
3385
- */
3386
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getRepositoryFullName = function() {
3387
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3388
- };
3389
-
3390
-
3391
- /**
3392
- * @param {string} value
3393
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3394
- */
3395
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setRepositoryFullName = function(value) {
3396
- return jspb.Message.setProto3StringField(this, 2, value);
3397
- };
3398
-
3399
-
3400
- /**
3401
- * optional string state = 3;
3402
- * @return {string}
3403
- */
3404
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getState = function() {
3405
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3406
- };
3407
-
3408
-
3409
- /**
3410
- * @param {string} value
3411
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3412
- */
3413
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setState = function(value) {
3414
- return jspb.Message.setProto3StringField(this, 3, value);
3415
- };
3416
-
3417
-
3418
- /**
3419
- * optional int32 page = 4;
3420
- * @return {number}
3421
- */
3422
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getPage = function() {
3423
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
3424
- };
3425
-
3426
-
3427
- /**
3428
- * @param {number} value
3429
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3430
- */
3431
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setPage = function(value) {
3432
- return jspb.Message.setProto3IntField(this, 4, value);
3433
- };
3434
-
3435
-
3436
-
3437
-
3438
-
3439
- if (jspb.Message.GENERATE_TO_OBJECT) {
3440
- /**
3441
- * Creates an object representation of this proto.
3442
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3443
- * Optional fields that are not set will be set to undefined.
3444
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3445
- * For the list of reserved names please see:
3446
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3447
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3448
- * JSPB instance for transitional soy proto support:
3449
- * http://goto/soy-param-migration
3450
- * @return {!Object}
3451
- */
3452
- proto.gateway.web.v1.GitHubIssue.prototype.toObject = function(opt_includeInstance) {
3453
- return proto.gateway.web.v1.GitHubIssue.toObject(opt_includeInstance, this);
3454
- };
3455
-
3456
-
3457
- /**
3458
- * Static version of the {@see toObject} method.
3459
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3460
- * the JSPB instance for transitional soy proto support:
3461
- * http://goto/soy-param-migration
3462
- * @param {!proto.gateway.web.v1.GitHubIssue} msg The msg instance to transform.
3463
- * @return {!Object}
3464
- * @suppress {unusedLocalVariables} f is only used for nested messages
3465
- */
3466
- proto.gateway.web.v1.GitHubIssue.toObject = function(includeInstance, msg) {
3467
- var f, obj = {
3468
- number: jspb.Message.getFieldWithDefault(msg, 1, 0),
3469
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
3470
- state: jspb.Message.getFieldWithDefault(msg, 3, ""),
3471
- url: jspb.Message.getFieldWithDefault(msg, 4, ""),
3472
- author: jspb.Message.getFieldWithDefault(msg, 5, ""),
3473
- createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
3474
- updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
3475
- };
3476
-
3477
- if (includeInstance) {
3478
- obj.$jspbMessageInstance = msg;
3479
- }
3480
- return obj;
3481
- };
3482
- }
3483
-
3484
-
3485
- /**
3486
- * Deserializes binary data (in protobuf wire format).
3487
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3488
- * @return {!proto.gateway.web.v1.GitHubIssue}
3489
- */
3490
- proto.gateway.web.v1.GitHubIssue.deserializeBinary = function(bytes) {
3491
- var reader = new jspb.BinaryReader(bytes);
3492
- var msg = new proto.gateway.web.v1.GitHubIssue;
3493
- return proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader(msg, reader);
3494
- };
3495
-
3496
-
3497
- /**
3498
- * Deserializes binary data (in protobuf wire format) from the
3499
- * given reader into the given message object.
3500
- * @param {!proto.gateway.web.v1.GitHubIssue} msg The message object to deserialize into.
3501
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3502
- * @return {!proto.gateway.web.v1.GitHubIssue}
3503
- */
3504
- proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader = function(msg, reader) {
3505
- while (reader.nextField()) {
3506
- if (reader.isEndGroup()) {
3507
- break;
3508
- }
3509
- var field = reader.getFieldNumber();
3510
- switch (field) {
3511
- case 1:
3512
- var value = /** @type {number} */ (reader.readInt64());
3513
- msg.setNumber(value);
3514
- break;
3515
- case 2:
3516
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3517
- msg.setTitle(value);
3518
- break;
3519
- case 3:
3520
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3521
- msg.setState(value);
3522
- break;
3523
- case 4:
3524
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3525
- msg.setUrl(value);
3526
- break;
3527
- case 5:
3528
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3529
- msg.setAuthor(value);
3530
- break;
3531
- case 6:
3532
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3533
- msg.setCreatedAt(value);
3534
- break;
3535
- case 7:
3536
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3537
- msg.setUpdatedAt(value);
3538
- break;
3539
- default:
3540
- reader.skipField();
3541
- break;
3542
- }
3543
- }
3544
- return msg;
3545
- };
3546
-
3547
-
3548
- /**
3549
- * Serializes the message to binary data (in protobuf wire format).
3550
- * @return {!Uint8Array}
3551
- */
3552
- proto.gateway.web.v1.GitHubIssue.prototype.serializeBinary = function() {
3553
- var writer = new jspb.BinaryWriter();
3554
- proto.gateway.web.v1.GitHubIssue.serializeBinaryToWriter(this, writer);
3555
- return writer.getResultBuffer();
3556
- };
3557
-
3558
-
3559
- /**
3560
- * Serializes the given message to binary data (in protobuf wire
3561
- * format), writing to the given BinaryWriter.
3562
- * @param {!proto.gateway.web.v1.GitHubIssue} message
3563
- * @param {!jspb.BinaryWriter} writer
3564
- * @suppress {unusedLocalVariables} f is only used for nested messages
3565
- */
3566
- proto.gateway.web.v1.GitHubIssue.serializeBinaryToWriter = function(message, writer) {
3567
- var f = undefined;
3568
- f = message.getNumber();
3569
- if (f !== 0) {
3570
- writer.writeInt64(
3571
- 1,
3572
- f
3573
- );
3574
- }
3575
- f = message.getTitle();
3576
- if (f.length > 0) {
3577
- writer.writeString(
3578
- 2,
3579
- f
3580
- );
3581
- }
3582
- f = message.getState();
3583
- if (f.length > 0) {
3584
- writer.writeString(
3585
- 3,
3586
- f
3587
- );
3588
- }
3589
- f = message.getUrl();
3590
- if (f.length > 0) {
3591
- writer.writeString(
3592
- 4,
3593
- f
3594
- );
3595
- }
3596
- f = message.getAuthor();
3597
- if (f.length > 0) {
3598
- writer.writeString(
3599
- 5,
3600
- f
3601
- );
3602
- }
3603
- f = message.getCreatedAt();
3604
- if (f.length > 0) {
3605
- writer.writeString(
3606
- 6,
3607
- f
3608
- );
3609
- }
3610
- f = message.getUpdatedAt();
3611
- if (f.length > 0) {
3612
- writer.writeString(
3613
- 7,
3614
- f
3615
- );
3616
- }
3617
- };
3618
-
3619
-
3620
- /**
3621
- * optional int64 number = 1;
3622
- * @return {number}
3623
- */
3624
- proto.gateway.web.v1.GitHubIssue.prototype.getNumber = function() {
3625
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3626
- };
3627
-
3628
-
3629
- /**
3630
- * @param {number} value
3631
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3632
- */
3633
- proto.gateway.web.v1.GitHubIssue.prototype.setNumber = function(value) {
3634
- return jspb.Message.setProto3IntField(this, 1, value);
3635
- };
3636
-
3637
-
3638
- /**
3639
- * optional string title = 2;
3640
- * @return {string}
3641
- */
3642
- proto.gateway.web.v1.GitHubIssue.prototype.getTitle = function() {
3643
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3644
- };
3645
-
3646
-
3647
- /**
3648
- * @param {string} value
3649
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3650
- */
3651
- proto.gateway.web.v1.GitHubIssue.prototype.setTitle = function(value) {
3652
- return jspb.Message.setProto3StringField(this, 2, value);
3653
- };
3654
-
3655
-
3656
- /**
3657
- * optional string state = 3;
3658
- * @return {string}
3659
- */
3660
- proto.gateway.web.v1.GitHubIssue.prototype.getState = function() {
3661
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3662
- };
3663
-
3664
-
3665
- /**
3666
- * @param {string} value
3667
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3668
- */
3669
- proto.gateway.web.v1.GitHubIssue.prototype.setState = function(value) {
3670
- return jspb.Message.setProto3StringField(this, 3, value);
3671
- };
3672
-
3673
-
3674
- /**
3675
- * optional string url = 4;
3676
- * @return {string}
3677
- */
3678
- proto.gateway.web.v1.GitHubIssue.prototype.getUrl = function() {
3679
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3680
- };
3681
-
3682
-
3683
- /**
3684
- * @param {string} value
3685
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3686
- */
3687
- proto.gateway.web.v1.GitHubIssue.prototype.setUrl = function(value) {
3688
- return jspb.Message.setProto3StringField(this, 4, value);
3689
- };
3690
-
3691
-
3692
- /**
3693
- * optional string author = 5;
3694
- * @return {string}
3695
- */
3696
- proto.gateway.web.v1.GitHubIssue.prototype.getAuthor = function() {
3697
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3698
- };
3699
-
3700
-
3701
- /**
3702
- * @param {string} value
3703
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3704
- */
3705
- proto.gateway.web.v1.GitHubIssue.prototype.setAuthor = function(value) {
3706
- return jspb.Message.setProto3StringField(this, 5, value);
3707
- };
3708
-
3709
-
3710
- /**
3711
- * optional string created_at = 6;
3712
- * @return {string}
3713
- */
3714
- proto.gateway.web.v1.GitHubIssue.prototype.getCreatedAt = function() {
3715
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3716
- };
3717
-
3718
-
3719
- /**
3720
- * @param {string} value
3721
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3722
- */
3723
- proto.gateway.web.v1.GitHubIssue.prototype.setCreatedAt = function(value) {
3724
- return jspb.Message.setProto3StringField(this, 6, value);
3725
- };
3726
-
3727
-
3728
- /**
3729
- * optional string updated_at = 7;
3730
- * @return {string}
3731
- */
3732
- proto.gateway.web.v1.GitHubIssue.prototype.getUpdatedAt = function() {
3733
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3734
- };
3735
-
3736
-
3737
- /**
3738
- * @param {string} value
3739
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3740
- */
3741
- proto.gateway.web.v1.GitHubIssue.prototype.setUpdatedAt = function(value) {
3742
- return jspb.Message.setProto3StringField(this, 7, value);
3743
- };
3744
-
3745
-
3746
-
3747
- /**
3748
- * List of repeated fields within this message type.
3749
- * @private {!Array<number>}
3750
- * @const
3751
- */
3752
- proto.gateway.web.v1.GitHubIssuesResponse.repeatedFields_ = [2];
3753
-
3754
-
3755
-
3756
- if (jspb.Message.GENERATE_TO_OBJECT) {
3757
- /**
3758
- * Creates an object representation of this proto.
3759
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3760
- * Optional fields that are not set will be set to undefined.
3761
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3762
- * For the list of reserved names please see:
3763
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3764
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3765
- * JSPB instance for transitional soy proto support:
3766
- * http://goto/soy-param-migration
3767
- * @return {!Object}
3768
- */
3769
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.toObject = function(opt_includeInstance) {
3770
- return proto.gateway.web.v1.GitHubIssuesResponse.toObject(opt_includeInstance, this);
3771
- };
3772
-
3773
-
3774
- /**
3775
- * Static version of the {@see toObject} method.
3776
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3777
- * the JSPB instance for transitional soy proto support:
3778
- * http://goto/soy-param-migration
3779
- * @param {!proto.gateway.web.v1.GitHubIssuesResponse} msg The msg instance to transform.
3780
- * @return {!Object}
3781
- * @suppress {unusedLocalVariables} f is only used for nested messages
3782
- */
3783
- proto.gateway.web.v1.GitHubIssuesResponse.toObject = function(includeInstance, msg) {
3784
- var f, obj = {
3785
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
3786
- issuesList: jspb.Message.toObjectList(msg.getIssuesList(),
3787
- proto.gateway.web.v1.GitHubIssue.toObject, includeInstance)
3788
- };
3789
-
3790
- if (includeInstance) {
3791
- obj.$jspbMessageInstance = msg;
3792
- }
3793
- return obj;
3794
- };
3795
- }
3796
-
3797
-
3798
- /**
3799
- * Deserializes binary data (in protobuf wire format).
3800
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3801
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse}
3802
- */
3803
- proto.gateway.web.v1.GitHubIssuesResponse.deserializeBinary = function(bytes) {
3804
- var reader = new jspb.BinaryReader(bytes);
3805
- var msg = new proto.gateway.web.v1.GitHubIssuesResponse;
3806
- return proto.gateway.web.v1.GitHubIssuesResponse.deserializeBinaryFromReader(msg, reader);
3807
- };
3808
-
3809
-
3810
- /**
3811
- * Deserializes binary data (in protobuf wire format) from the
3812
- * given reader into the given message object.
3813
- * @param {!proto.gateway.web.v1.GitHubIssuesResponse} msg The message object to deserialize into.
3814
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3815
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse}
3816
- */
3817
- proto.gateway.web.v1.GitHubIssuesResponse.deserializeBinaryFromReader = function(msg, reader) {
3818
- while (reader.nextField()) {
3819
- if (reader.isEndGroup()) {
3820
- break;
3821
- }
3822
- var field = reader.getFieldNumber();
3823
- switch (field) {
3824
- case 1:
3825
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
3826
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
3827
- msg.setStatus(value);
3828
- break;
3829
- case 2:
3830
- var value = new proto.gateway.web.v1.GitHubIssue;
3831
- reader.readMessage(value,proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader);
3832
- msg.addIssues(value);
3833
- break;
3834
- default:
3835
- reader.skipField();
3836
- break;
3837
- }
3838
- }
3839
- return msg;
3840
- };
3841
-
3842
-
3843
- /**
3844
- * Serializes the message to binary data (in protobuf wire format).
3845
- * @return {!Uint8Array}
3846
- */
3847
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.serializeBinary = function() {
3848
- var writer = new jspb.BinaryWriter();
3849
- proto.gateway.web.v1.GitHubIssuesResponse.serializeBinaryToWriter(this, writer);
3850
- return writer.getResultBuffer();
3851
- };
3852
-
3853
-
3854
- /**
3855
- * Serializes the given message to binary data (in protobuf wire
3856
- * format), writing to the given BinaryWriter.
3857
- * @param {!proto.gateway.web.v1.GitHubIssuesResponse} message
3858
- * @param {!jspb.BinaryWriter} writer
3859
- * @suppress {unusedLocalVariables} f is only used for nested messages
3860
- */
3861
- proto.gateway.web.v1.GitHubIssuesResponse.serializeBinaryToWriter = function(message, writer) {
3862
- var f = undefined;
3863
- f = message.getStatus();
3864
- if (f != null) {
3865
- writer.writeMessage(
3866
- 1,
3867
- f,
3868
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
3869
- );
3870
- }
3871
- f = message.getIssuesList();
3872
- if (f.length > 0) {
3873
- writer.writeRepeatedMessage(
3874
- 2,
3875
- f,
3876
- proto.gateway.web.v1.GitHubIssue.serializeBinaryToWriter
3877
- );
3878
- }
3879
- };
3880
-
3881
-
3882
- /**
3883
- * optional gateway.common.v1.ResponseStatus status = 1;
3884
- * @return {?proto.gateway.common.v1.ResponseStatus}
3885
- */
3886
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.getStatus = function() {
3887
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
3888
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
3889
- };
3890
-
3891
-
3892
- /**
3893
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
3894
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
3895
- */
3896
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.setStatus = function(value) {
3897
- return jspb.Message.setWrapperField(this, 1, value);
3898
- };
3899
-
3900
-
3901
- /**
3902
- * Clears the message field making it undefined.
3903
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
3904
- */
3905
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.clearStatus = function() {
3906
- return this.setStatus(undefined);
3907
- };
3908
-
3909
-
3910
- /**
3911
- * Returns whether this field is set.
3912
- * @return {boolean}
3913
- */
3914
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.hasStatus = function() {
3915
- return jspb.Message.getField(this, 1) != null;
3916
- };
3917
-
3918
-
3919
- /**
3920
- * repeated GitHubIssue issues = 2;
3921
- * @return {!Array<!proto.gateway.web.v1.GitHubIssue>}
3922
- */
3923
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.getIssuesList = function() {
3924
- return /** @type{!Array<!proto.gateway.web.v1.GitHubIssue>} */ (
3925
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.GitHubIssue, 2));
3926
- };
3927
-
3928
-
3929
- /**
3930
- * @param {!Array<!proto.gateway.web.v1.GitHubIssue>} value
3931
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
3932
- */
3933
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.setIssuesList = function(value) {
3934
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
3935
- };
3936
-
3937
-
3938
- /**
3939
- * @param {!proto.gateway.web.v1.GitHubIssue=} opt_value
3940
- * @param {number=} opt_index
3941
- * @return {!proto.gateway.web.v1.GitHubIssue}
3942
- */
3943
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.addIssues = function(opt_value, opt_index) {
3944
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.GitHubIssue, opt_index);
3945
- };
3946
-
3947
-
3948
- /**
3949
- * Clears the list making it empty but non-null.
3950
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
3951
- */
3952
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.clearIssuesList = function() {
3953
- return this.setIssuesList([]);
3954
- };
3955
-
3956
-
3957
-
3958
-
3959
-
3960
3153
  if (jspb.Message.GENERATE_TO_OBJECT) {
3961
3154
  /**
3962
3155
  * Creates an object representation of this proto.