@miradorlabs/web-grpc 3.28.0 → 3.30.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.
Files changed (31) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +24 -14
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +6 -2
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +6 -2
  10. package/proto/gateway/web/v1/admin_gateway.ts +1 -1
  11. package/proto/gateway/web/v1/ai_gateway.ts +44 -40
  12. package/proto/gateway/web/v1/attribute_value.ts +6 -2
  13. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  14. package/proto/gateway/web/v1/chain_gateway.ts +6 -2
  15. package/proto/gateway/web/v1/common.ts +1 -1
  16. package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -2
  17. package/proto/gateway/web/v1/github_connector.ts +202 -1376
  18. package/proto/gateway/web/v1/github_connector_grpc_pb.js +0 -102
  19. package/proto/gateway/web/v1/github_connector_pb.js +294 -2531
  20. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  22. package/proto/gateway/web/v1/market_gateway.ts +6 -2
  23. package/proto/gateway/web/v1/metric_gateway.ts +6 -2
  24. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/policy_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/rule_gateway.ts +7 -3
  29. package/proto/gateway/web/v1/slo_gateway.ts +12 -8
  30. package/proto/gateway/web/v1/trace_gateway.ts +21 -15
  31. package/proto/gateway/web/v1/trace_measure_gateway.ts +6 -2
@@ -19,8 +19,6 @@ var google_api_field_behavior_pb = require('../../../../google/api/field_behavio
19
19
  goog.object.extend(proto, google_api_field_behavior_pb);
20
20
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
21
21
  goog.object.extend(proto, proto_gateway_common_v1_status_pb);
22
- goog.exportSymbol('proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest', null, global);
23
- goog.exportSymbol('proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse', null, global);
24
22
  goog.exportSymbol('proto.gateway.web.v1.GitHubBeginResponse', null, global);
25
23
  goog.exportSymbol('proto.gateway.web.v1.GitHubCompleteRequest', null, global);
26
24
  goog.exportSymbol('proto.gateway.web.v1.GitHubConnection', null, global);
@@ -31,9 +29,6 @@ goog.exportSymbol('proto.gateway.web.v1.GitHubFileResult.Code', null, global);
31
29
  goog.exportSymbol('proto.gateway.web.v1.GitHubFilesRequest', null, global);
32
30
  goog.exportSymbol('proto.gateway.web.v1.GitHubFilesResponse', null, global);
33
31
  goog.exportSymbol('proto.gateway.web.v1.GitHubInstallation', null, global);
34
- goog.exportSymbol('proto.gateway.web.v1.GitHubIssue', null, global);
35
- goog.exportSymbol('proto.gateway.web.v1.GitHubIssuesRequest', null, global);
36
- goog.exportSymbol('proto.gateway.web.v1.GitHubIssuesResponse', null, global);
37
32
  goog.exportSymbol('proto.gateway.web.v1.GitHubPullRequest', null, global);
38
33
  goog.exportSymbol('proto.gateway.web.v1.GitHubPullRequestsRequest', null, global);
39
34
  goog.exportSymbol('proto.gateway.web.v1.GitHubPullRequestsResponse', null, global);
@@ -41,10 +36,6 @@ goog.exportSymbol('proto.gateway.web.v1.GitHubRepositoriesResponse', null, globa
41
36
  goog.exportSymbol('proto.gateway.web.v1.GitHubRepository', null, global);
42
37
  goog.exportSymbol('proto.gateway.web.v1.GitHubScopeRequest', null, global);
43
38
  goog.exportSymbol('proto.gateway.web.v1.GitHubStatusResponse', null, global);
44
- goog.exportSymbol('proto.gateway.web.v1.InstallTermaPullRequest', null, global);
45
- goog.exportSymbol('proto.gateway.web.v1.InstallTermaPullRequestResult', null, global);
46
- goog.exportSymbol('proto.gateway.web.v1.ListInstallTermaPullRequestsRequest', null, global);
47
- goog.exportSymbol('proto.gateway.web.v1.ListInstallTermaPullRequestsResponse', null, global);
48
39
  /**
49
40
  * Generated by JsPbCodeGenerator.
50
41
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -297,69 +288,6 @@ if (goog.DEBUG && !COMPILED) {
297
288
  */
298
289
  proto.gateway.web.v1.GitHubPullRequestsResponse.displayName = 'proto.gateway.web.v1.GitHubPullRequestsResponse';
299
290
  }
300
- /**
301
- * Generated by JsPbCodeGenerator.
302
- * @param {Array=} opt_data Optional initial data array, typically from a
303
- * server response, or constructed directly in Javascript. The array is used
304
- * in place and becomes part of the constructed object. It is not cloned.
305
- * If no data is provided, the constructed object will be empty, but still
306
- * valid.
307
- * @extends {jspb.Message}
308
- * @constructor
309
- */
310
- proto.gateway.web.v1.GitHubIssuesRequest = function(opt_data) {
311
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
312
- };
313
- goog.inherits(proto.gateway.web.v1.GitHubIssuesRequest, jspb.Message);
314
- if (goog.DEBUG && !COMPILED) {
315
- /**
316
- * @public
317
- * @override
318
- */
319
- proto.gateway.web.v1.GitHubIssuesRequest.displayName = 'proto.gateway.web.v1.GitHubIssuesRequest';
320
- }
321
- /**
322
- * Generated by JsPbCodeGenerator.
323
- * @param {Array=} opt_data Optional initial data array, typically from a
324
- * server response, or constructed directly in Javascript. The array is used
325
- * in place and becomes part of the constructed object. It is not cloned.
326
- * If no data is provided, the constructed object will be empty, but still
327
- * valid.
328
- * @extends {jspb.Message}
329
- * @constructor
330
- */
331
- proto.gateway.web.v1.GitHubIssue = function(opt_data) {
332
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
333
- };
334
- goog.inherits(proto.gateway.web.v1.GitHubIssue, jspb.Message);
335
- if (goog.DEBUG && !COMPILED) {
336
- /**
337
- * @public
338
- * @override
339
- */
340
- proto.gateway.web.v1.GitHubIssue.displayName = 'proto.gateway.web.v1.GitHubIssue';
341
- }
342
- /**
343
- * Generated by JsPbCodeGenerator.
344
- * @param {Array=} opt_data Optional initial data array, typically from a
345
- * server response, or constructed directly in Javascript. The array is used
346
- * in place and becomes part of the constructed object. It is not cloned.
347
- * If no data is provided, the constructed object will be empty, but still
348
- * valid.
349
- * @extends {jspb.Message}
350
- * @constructor
351
- */
352
- proto.gateway.web.v1.GitHubIssuesResponse = function(opt_data) {
353
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GitHubIssuesResponse.repeatedFields_, null);
354
- };
355
- goog.inherits(proto.gateway.web.v1.GitHubIssuesResponse, jspb.Message);
356
- if (goog.DEBUG && !COMPILED) {
357
- /**
358
- * @public
359
- * @override
360
- */
361
- proto.gateway.web.v1.GitHubIssuesResponse.displayName = 'proto.gateway.web.v1.GitHubIssuesResponse';
362
- }
363
291
  /**
364
292
  * Generated by JsPbCodeGenerator.
365
293
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -444,132 +372,6 @@ if (goog.DEBUG && !COMPILED) {
444
372
  */
445
373
  proto.gateway.web.v1.GitHubFilesResponse.displayName = 'proto.gateway.web.v1.GitHubFilesResponse';
446
374
  }
447
- /**
448
- * Generated by JsPbCodeGenerator.
449
- * @param {Array=} opt_data Optional initial data array, typically from a
450
- * server response, or constructed directly in Javascript. The array is used
451
- * in place and becomes part of the constructed object. It is not cloned.
452
- * If no data is provided, the constructed object will be empty, but still
453
- * valid.
454
- * @extends {jspb.Message}
455
- * @constructor
456
- */
457
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest = function(opt_data) {
458
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.repeatedFields_, null);
459
- };
460
- goog.inherits(proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest, jspb.Message);
461
- if (goog.DEBUG && !COMPILED) {
462
- /**
463
- * @public
464
- * @override
465
- */
466
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.displayName = 'proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest';
467
- }
468
- /**
469
- * Generated by JsPbCodeGenerator.
470
- * @param {Array=} opt_data Optional initial data array, typically from a
471
- * server response, or constructed directly in Javascript. The array is used
472
- * in place and becomes part of the constructed object. It is not cloned.
473
- * If no data is provided, the constructed object will be empty, but still
474
- * valid.
475
- * @extends {jspb.Message}
476
- * @constructor
477
- */
478
- proto.gateway.web.v1.InstallTermaPullRequestResult = function(opt_data) {
479
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
480
- };
481
- goog.inherits(proto.gateway.web.v1.InstallTermaPullRequestResult, jspb.Message);
482
- if (goog.DEBUG && !COMPILED) {
483
- /**
484
- * @public
485
- * @override
486
- */
487
- proto.gateway.web.v1.InstallTermaPullRequestResult.displayName = 'proto.gateway.web.v1.InstallTermaPullRequestResult';
488
- }
489
- /**
490
- * Generated by JsPbCodeGenerator.
491
- * @param {Array=} opt_data Optional initial data array, typically from a
492
- * server response, or constructed directly in Javascript. The array is used
493
- * in place and becomes part of the constructed object. It is not cloned.
494
- * If no data is provided, the constructed object will be empty, but still
495
- * valid.
496
- * @extends {jspb.Message}
497
- * @constructor
498
- */
499
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse = function(opt_data) {
500
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.repeatedFields_, null);
501
- };
502
- goog.inherits(proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse, jspb.Message);
503
- if (goog.DEBUG && !COMPILED) {
504
- /**
505
- * @public
506
- * @override
507
- */
508
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.displayName = 'proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse';
509
- }
510
- /**
511
- * Generated by JsPbCodeGenerator.
512
- * @param {Array=} opt_data Optional initial data array, typically from a
513
- * server response, or constructed directly in Javascript. The array is used
514
- * in place and becomes part of the constructed object. It is not cloned.
515
- * If no data is provided, the constructed object will be empty, but still
516
- * valid.
517
- * @extends {jspb.Message}
518
- * @constructor
519
- */
520
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest = function(opt_data) {
521
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
522
- };
523
- goog.inherits(proto.gateway.web.v1.ListInstallTermaPullRequestsRequest, jspb.Message);
524
- if (goog.DEBUG && !COMPILED) {
525
- /**
526
- * @public
527
- * @override
528
- */
529
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.displayName = 'proto.gateway.web.v1.ListInstallTermaPullRequestsRequest';
530
- }
531
- /**
532
- * Generated by JsPbCodeGenerator.
533
- * @param {Array=} opt_data Optional initial data array, typically from a
534
- * server response, or constructed directly in Javascript. The array is used
535
- * in place and becomes part of the constructed object. It is not cloned.
536
- * If no data is provided, the constructed object will be empty, but still
537
- * valid.
538
- * @extends {jspb.Message}
539
- * @constructor
540
- */
541
- proto.gateway.web.v1.InstallTermaPullRequest = function(opt_data) {
542
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
543
- };
544
- goog.inherits(proto.gateway.web.v1.InstallTermaPullRequest, jspb.Message);
545
- if (goog.DEBUG && !COMPILED) {
546
- /**
547
- * @public
548
- * @override
549
- */
550
- proto.gateway.web.v1.InstallTermaPullRequest.displayName = 'proto.gateway.web.v1.InstallTermaPullRequest';
551
- }
552
- /**
553
- * Generated by JsPbCodeGenerator.
554
- * @param {Array=} opt_data Optional initial data array, typically from a
555
- * server response, or constructed directly in Javascript. The array is used
556
- * in place and becomes part of the constructed object. It is not cloned.
557
- * If no data is provided, the constructed object will be empty, but still
558
- * valid.
559
- * @extends {jspb.Message}
560
- * @constructor
561
- */
562
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse = function(opt_data) {
563
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.repeatedFields_, null);
564
- };
565
- goog.inherits(proto.gateway.web.v1.ListInstallTermaPullRequestsResponse, jspb.Message);
566
- if (goog.DEBUG && !COMPILED) {
567
- /**
568
- * @public
569
- * @override
570
- */
571
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.displayName = 'proto.gateway.web.v1.ListInstallTermaPullRequestsResponse';
572
- }
573
375
 
574
376
 
575
377
 
@@ -3361,8 +3163,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3361
3163
  * http://goto/soy-param-migration
3362
3164
  * @return {!Object}
3363
3165
  */
3364
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.toObject = function(opt_includeInstance) {
3365
- return proto.gateway.web.v1.GitHubIssuesRequest.toObject(opt_includeInstance, this);
3166
+ proto.gateway.web.v1.GitHubEmptyResponse.prototype.toObject = function(opt_includeInstance) {
3167
+ return proto.gateway.web.v1.GitHubEmptyResponse.toObject(opt_includeInstance, this);
3366
3168
  };
3367
3169
 
3368
3170
 
@@ -3371,16 +3173,13 @@ proto.gateway.web.v1.GitHubIssuesRequest.prototype.toObject = function(opt_inclu
3371
3173
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3372
3174
  * the JSPB instance for transitional soy proto support:
3373
3175
  * http://goto/soy-param-migration
3374
- * @param {!proto.gateway.web.v1.GitHubIssuesRequest} msg The msg instance to transform.
3176
+ * @param {!proto.gateway.web.v1.GitHubEmptyResponse} msg The msg instance to transform.
3375
3177
  * @return {!Object}
3376
3178
  * @suppress {unusedLocalVariables} f is only used for nested messages
3377
3179
  */
3378
- proto.gateway.web.v1.GitHubIssuesRequest.toObject = function(includeInstance, msg) {
3180
+ proto.gateway.web.v1.GitHubEmptyResponse.toObject = function(includeInstance, msg) {
3379
3181
  var f, obj = {
3380
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3381
- repositoryFullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3382
- state: jspb.Message.getFieldWithDefault(msg, 3, ""),
3383
- page: jspb.Message.getFieldWithDefault(msg, 4, 0)
3182
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f)
3384
3183
  };
3385
3184
 
3386
3185
  if (includeInstance) {
@@ -3394,23 +3193,23 @@ page: jspb.Message.getFieldWithDefault(msg, 4, 0)
3394
3193
  /**
3395
3194
  * Deserializes binary data (in protobuf wire format).
3396
3195
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3397
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest}
3196
+ * @return {!proto.gateway.web.v1.GitHubEmptyResponse}
3398
3197
  */
3399
- proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinary = function(bytes) {
3198
+ proto.gateway.web.v1.GitHubEmptyResponse.deserializeBinary = function(bytes) {
3400
3199
  var reader = new jspb.BinaryReader(bytes);
3401
- var msg = new proto.gateway.web.v1.GitHubIssuesRequest;
3402
- return proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinaryFromReader(msg, reader);
3200
+ var msg = new proto.gateway.web.v1.GitHubEmptyResponse;
3201
+ return proto.gateway.web.v1.GitHubEmptyResponse.deserializeBinaryFromReader(msg, reader);
3403
3202
  };
3404
3203
 
3405
3204
 
3406
3205
  /**
3407
3206
  * Deserializes binary data (in protobuf wire format) from the
3408
3207
  * given reader into the given message object.
3409
- * @param {!proto.gateway.web.v1.GitHubIssuesRequest} msg The message object to deserialize into.
3208
+ * @param {!proto.gateway.web.v1.GitHubEmptyResponse} msg The message object to deserialize into.
3410
3209
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3411
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest}
3210
+ * @return {!proto.gateway.web.v1.GitHubEmptyResponse}
3412
3211
  */
3413
- proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinaryFromReader = function(msg, reader) {
3212
+ proto.gateway.web.v1.GitHubEmptyResponse.deserializeBinaryFromReader = function(msg, reader) {
3414
3213
  while (reader.nextField()) {
3415
3214
  if (reader.isEndGroup()) {
3416
3215
  break;
@@ -3418,20 +3217,9 @@ proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinaryFromReader = function(
3418
3217
  var field = reader.getFieldNumber();
3419
3218
  switch (field) {
3420
3219
  case 1:
3421
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3422
- msg.setOrganizationId(value);
3423
- break;
3424
- case 2:
3425
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3426
- msg.setRepositoryFullName(value);
3427
- break;
3428
- case 3:
3429
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3430
- msg.setState(value);
3431
- break;
3432
- case 4:
3433
- var value = /** @type {number} */ (reader.readInt32());
3434
- msg.setPage(value);
3220
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
3221
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
3222
+ msg.setStatus(value);
3435
3223
  break;
3436
3224
  default:
3437
3225
  reader.skipField();
@@ -3446,9 +3234,9 @@ proto.gateway.web.v1.GitHubIssuesRequest.deserializeBinaryFromReader = function(
3446
3234
  * Serializes the message to binary data (in protobuf wire format).
3447
3235
  * @return {!Uint8Array}
3448
3236
  */
3449
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.serializeBinary = function() {
3237
+ proto.gateway.web.v1.GitHubEmptyResponse.prototype.serializeBinary = function() {
3450
3238
  var writer = new jspb.BinaryWriter();
3451
- proto.gateway.web.v1.GitHubIssuesRequest.serializeBinaryToWriter(this, writer);
3239
+ proto.gateway.web.v1.GitHubEmptyResponse.serializeBinaryToWriter(this, writer);
3452
3240
  return writer.getResultBuffer();
3453
3241
  };
3454
3242
 
@@ -3456,115 +3244,67 @@ proto.gateway.web.v1.GitHubIssuesRequest.prototype.serializeBinary = function()
3456
3244
  /**
3457
3245
  * Serializes the given message to binary data (in protobuf wire
3458
3246
  * format), writing to the given BinaryWriter.
3459
- * @param {!proto.gateway.web.v1.GitHubIssuesRequest} message
3247
+ * @param {!proto.gateway.web.v1.GitHubEmptyResponse} message
3460
3248
  * @param {!jspb.BinaryWriter} writer
3461
3249
  * @suppress {unusedLocalVariables} f is only used for nested messages
3462
3250
  */
3463
- proto.gateway.web.v1.GitHubIssuesRequest.serializeBinaryToWriter = function(message, writer) {
3251
+ proto.gateway.web.v1.GitHubEmptyResponse.serializeBinaryToWriter = function(message, writer) {
3464
3252
  var f = undefined;
3465
- f = message.getOrganizationId();
3466
- if (f.length > 0) {
3467
- writer.writeString(
3253
+ f = message.getStatus();
3254
+ if (f != null) {
3255
+ writer.writeMessage(
3468
3256
  1,
3469
- f
3470
- );
3471
- }
3472
- f = message.getRepositoryFullName();
3473
- if (f.length > 0) {
3474
- writer.writeString(
3475
- 2,
3476
- f
3477
- );
3478
- }
3479
- f = message.getState();
3480
- if (f.length > 0) {
3481
- writer.writeString(
3482
- 3,
3483
- f
3484
- );
3485
- }
3486
- f = message.getPage();
3487
- if (f !== 0) {
3488
- writer.writeInt32(
3489
- 4,
3490
- f
3257
+ f,
3258
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
3491
3259
  );
3492
3260
  }
3493
3261
  };
3494
3262
 
3495
3263
 
3496
3264
  /**
3497
- * optional string organization_id = 1;
3498
- * @return {string}
3265
+ * optional gateway.common.v1.ResponseStatus status = 1;
3266
+ * @return {?proto.gateway.common.v1.ResponseStatus}
3499
3267
  */
3500
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getOrganizationId = function() {
3501
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3268
+ proto.gateway.web.v1.GitHubEmptyResponse.prototype.getStatus = function() {
3269
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
3270
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
3502
3271
  };
3503
3272
 
3504
3273
 
3505
3274
  /**
3506
- * @param {string} value
3507
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3508
- */
3509
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setOrganizationId = function(value) {
3510
- return jspb.Message.setProto3StringField(this, 1, value);
3275
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
3276
+ * @return {!proto.gateway.web.v1.GitHubEmptyResponse} returns this
3277
+ */
3278
+ proto.gateway.web.v1.GitHubEmptyResponse.prototype.setStatus = function(value) {
3279
+ return jspb.Message.setWrapperField(this, 1, value);
3511
3280
  };
3512
3281
 
3513
3282
 
3514
3283
  /**
3515
- * optional string repository_full_name = 2;
3516
- * @return {string}
3284
+ * Clears the message field making it undefined.
3285
+ * @return {!proto.gateway.web.v1.GitHubEmptyResponse} returns this
3517
3286
  */
3518
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getRepositoryFullName = function() {
3519
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3287
+ proto.gateway.web.v1.GitHubEmptyResponse.prototype.clearStatus = function() {
3288
+ return this.setStatus(undefined);
3520
3289
  };
3521
3290
 
3522
3291
 
3523
3292
  /**
3524
- * @param {string} value
3525
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3293
+ * Returns whether this field is set.
3294
+ * @return {boolean}
3526
3295
  */
3527
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setRepositoryFullName = function(value) {
3528
- return jspb.Message.setProto3StringField(this, 2, value);
3296
+ proto.gateway.web.v1.GitHubEmptyResponse.prototype.hasStatus = function() {
3297
+ return jspb.Message.getField(this, 1) != null;
3529
3298
  };
3530
3299
 
3531
3300
 
3301
+
3532
3302
  /**
3533
- * optional string state = 3;
3534
- * @return {string}
3535
- */
3536
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getState = function() {
3537
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3538
- };
3539
-
3540
-
3541
- /**
3542
- * @param {string} value
3543
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3544
- */
3545
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setState = function(value) {
3546
- return jspb.Message.setProto3StringField(this, 3, value);
3547
- };
3548
-
3549
-
3550
- /**
3551
- * optional int32 page = 4;
3552
- * @return {number}
3553
- */
3554
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.getPage = function() {
3555
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
3556
- };
3557
-
3558
-
3559
- /**
3560
- * @param {number} value
3561
- * @return {!proto.gateway.web.v1.GitHubIssuesRequest} returns this
3303
+ * List of repeated fields within this message type.
3304
+ * @private {!Array<number>}
3305
+ * @const
3562
3306
  */
3563
- proto.gateway.web.v1.GitHubIssuesRequest.prototype.setPage = function(value) {
3564
- return jspb.Message.setProto3IntField(this, 4, value);
3565
- };
3566
-
3567
-
3307
+ proto.gateway.web.v1.GitHubFilesRequest.repeatedFields_ = [3];
3568
3308
 
3569
3309
 
3570
3310
 
@@ -3581,8 +3321,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3581
3321
  * http://goto/soy-param-migration
3582
3322
  * @return {!Object}
3583
3323
  */
3584
- proto.gateway.web.v1.GitHubIssue.prototype.toObject = function(opt_includeInstance) {
3585
- return proto.gateway.web.v1.GitHubIssue.toObject(opt_includeInstance, this);
3324
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.toObject = function(opt_includeInstance) {
3325
+ return proto.gateway.web.v1.GitHubFilesRequest.toObject(opt_includeInstance, this);
3586
3326
  };
3587
3327
 
3588
3328
 
@@ -3591,19 +3331,16 @@ proto.gateway.web.v1.GitHubIssue.prototype.toObject = function(opt_includeInstan
3591
3331
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3592
3332
  * the JSPB instance for transitional soy proto support:
3593
3333
  * http://goto/soy-param-migration
3594
- * @param {!proto.gateway.web.v1.GitHubIssue} msg The msg instance to transform.
3334
+ * @param {!proto.gateway.web.v1.GitHubFilesRequest} msg The msg instance to transform.
3595
3335
  * @return {!Object}
3596
3336
  * @suppress {unusedLocalVariables} f is only used for nested messages
3597
3337
  */
3598
- proto.gateway.web.v1.GitHubIssue.toObject = function(includeInstance, msg) {
3338
+ proto.gateway.web.v1.GitHubFilesRequest.toObject = function(includeInstance, msg) {
3599
3339
  var f, obj = {
3600
- number: jspb.Message.getFieldWithDefault(msg, 1, 0),
3601
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
3602
- state: jspb.Message.getFieldWithDefault(msg, 3, ""),
3603
- url: jspb.Message.getFieldWithDefault(msg, 4, ""),
3604
- author: jspb.Message.getFieldWithDefault(msg, 5, ""),
3605
- createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
3606
- updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
3340
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3341
+ repositoryFullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3342
+ pathsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
3343
+ commitSha: jspb.Message.getFieldWithDefault(msg, 4, "")
3607
3344
  };
3608
3345
 
3609
3346
  if (includeInstance) {
@@ -3617,23 +3354,23 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
3617
3354
  /**
3618
3355
  * Deserializes binary data (in protobuf wire format).
3619
3356
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3620
- * @return {!proto.gateway.web.v1.GitHubIssue}
3357
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest}
3621
3358
  */
3622
- proto.gateway.web.v1.GitHubIssue.deserializeBinary = function(bytes) {
3359
+ proto.gateway.web.v1.GitHubFilesRequest.deserializeBinary = function(bytes) {
3623
3360
  var reader = new jspb.BinaryReader(bytes);
3624
- var msg = new proto.gateway.web.v1.GitHubIssue;
3625
- return proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader(msg, reader);
3361
+ var msg = new proto.gateway.web.v1.GitHubFilesRequest;
3362
+ return proto.gateway.web.v1.GitHubFilesRequest.deserializeBinaryFromReader(msg, reader);
3626
3363
  };
3627
3364
 
3628
3365
 
3629
3366
  /**
3630
3367
  * Deserializes binary data (in protobuf wire format) from the
3631
3368
  * given reader into the given message object.
3632
- * @param {!proto.gateway.web.v1.GitHubIssue} msg The message object to deserialize into.
3369
+ * @param {!proto.gateway.web.v1.GitHubFilesRequest} msg The message object to deserialize into.
3633
3370
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3634
- * @return {!proto.gateway.web.v1.GitHubIssue}
3371
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest}
3635
3372
  */
3636
- proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader = function(msg, reader) {
3373
+ proto.gateway.web.v1.GitHubFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
3637
3374
  while (reader.nextField()) {
3638
3375
  if (reader.isEndGroup()) {
3639
3376
  break;
@@ -3641,32 +3378,20 @@ proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader = function(msg, rea
3641
3378
  var field = reader.getFieldNumber();
3642
3379
  switch (field) {
3643
3380
  case 1:
3644
- var value = /** @type {number} */ (reader.readInt64());
3645
- msg.setNumber(value);
3381
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3382
+ msg.setOrganizationId(value);
3646
3383
  break;
3647
3384
  case 2:
3648
3385
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3649
- msg.setTitle(value);
3386
+ msg.setRepositoryFullName(value);
3650
3387
  break;
3651
3388
  case 3:
3652
3389
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3653
- msg.setState(value);
3390
+ msg.addPaths(value);
3654
3391
  break;
3655
3392
  case 4:
3656
3393
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3657
- msg.setUrl(value);
3658
- break;
3659
- case 5:
3660
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3661
- msg.setAuthor(value);
3662
- break;
3663
- case 6:
3664
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3665
- msg.setCreatedAt(value);
3666
- break;
3667
- case 7:
3668
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3669
- msg.setUpdatedAt(value);
3394
+ msg.setCommitSha(value);
3670
3395
  break;
3671
3396
  default:
3672
3397
  reader.skipField();
@@ -3681,9 +3406,9 @@ proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader = function(msg, rea
3681
3406
  * Serializes the message to binary data (in protobuf wire format).
3682
3407
  * @return {!Uint8Array}
3683
3408
  */
3684
- proto.gateway.web.v1.GitHubIssue.prototype.serializeBinary = function() {
3409
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.serializeBinary = function() {
3685
3410
  var writer = new jspb.BinaryWriter();
3686
- proto.gateway.web.v1.GitHubIssue.serializeBinaryToWriter(this, writer);
3411
+ proto.gateway.web.v1.GitHubFilesRequest.serializeBinaryToWriter(this, writer);
3687
3412
  return writer.getResultBuffer();
3688
3413
  };
3689
3414
 
@@ -3691,2165 +3416,131 @@ proto.gateway.web.v1.GitHubIssue.prototype.serializeBinary = function() {
3691
3416
  /**
3692
3417
  * Serializes the given message to binary data (in protobuf wire
3693
3418
  * format), writing to the given BinaryWriter.
3694
- * @param {!proto.gateway.web.v1.GitHubIssue} message
3419
+ * @param {!proto.gateway.web.v1.GitHubFilesRequest} message
3695
3420
  * @param {!jspb.BinaryWriter} writer
3696
3421
  * @suppress {unusedLocalVariables} f is only used for nested messages
3697
3422
  */
3698
- proto.gateway.web.v1.GitHubIssue.serializeBinaryToWriter = function(message, writer) {
3423
+ proto.gateway.web.v1.GitHubFilesRequest.serializeBinaryToWriter = function(message, writer) {
3699
3424
  var f = undefined;
3700
- f = message.getNumber();
3701
- if (f !== 0) {
3702
- writer.writeInt64(
3425
+ f = message.getOrganizationId();
3426
+ if (f.length > 0) {
3427
+ writer.writeString(
3703
3428
  1,
3704
3429
  f
3705
3430
  );
3706
3431
  }
3707
- f = message.getTitle();
3432
+ f = message.getRepositoryFullName();
3708
3433
  if (f.length > 0) {
3709
3434
  writer.writeString(
3710
3435
  2,
3711
3436
  f
3712
3437
  );
3713
3438
  }
3714
- f = message.getState();
3439
+ f = message.getPathsList();
3715
3440
  if (f.length > 0) {
3716
- writer.writeString(
3441
+ writer.writeRepeatedString(
3717
3442
  3,
3718
3443
  f
3719
3444
  );
3720
3445
  }
3721
- f = message.getUrl();
3446
+ f = message.getCommitSha();
3722
3447
  if (f.length > 0) {
3723
3448
  writer.writeString(
3724
3449
  4,
3725
3450
  f
3726
3451
  );
3727
3452
  }
3728
- f = message.getAuthor();
3729
- if (f.length > 0) {
3730
- writer.writeString(
3731
- 5,
3732
- f
3733
- );
3734
- }
3735
- f = message.getCreatedAt();
3736
- if (f.length > 0) {
3737
- writer.writeString(
3738
- 6,
3739
- f
3740
- );
3741
- }
3742
- f = message.getUpdatedAt();
3743
- if (f.length > 0) {
3744
- writer.writeString(
3745
- 7,
3746
- f
3747
- );
3748
- }
3749
- };
3750
-
3751
-
3752
- /**
3753
- * optional int64 number = 1;
3754
- * @return {number}
3755
- */
3756
- proto.gateway.web.v1.GitHubIssue.prototype.getNumber = function() {
3757
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3758
- };
3759
-
3760
-
3761
- /**
3762
- * @param {number} value
3763
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3764
- */
3765
- proto.gateway.web.v1.GitHubIssue.prototype.setNumber = function(value) {
3766
- return jspb.Message.setProto3IntField(this, 1, value);
3767
- };
3768
-
3769
-
3770
- /**
3771
- * optional string title = 2;
3772
- * @return {string}
3773
- */
3774
- proto.gateway.web.v1.GitHubIssue.prototype.getTitle = function() {
3775
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3776
- };
3777
-
3778
-
3779
- /**
3780
- * @param {string} value
3781
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3782
- */
3783
- proto.gateway.web.v1.GitHubIssue.prototype.setTitle = function(value) {
3784
- return jspb.Message.setProto3StringField(this, 2, value);
3785
- };
3786
-
3787
-
3788
- /**
3789
- * optional string state = 3;
3790
- * @return {string}
3791
- */
3792
- proto.gateway.web.v1.GitHubIssue.prototype.getState = function() {
3793
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3794
- };
3795
-
3796
-
3797
- /**
3798
- * @param {string} value
3799
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3800
- */
3801
- proto.gateway.web.v1.GitHubIssue.prototype.setState = function(value) {
3802
- return jspb.Message.setProto3StringField(this, 3, value);
3803
- };
3804
-
3805
-
3806
- /**
3807
- * optional string url = 4;
3808
- * @return {string}
3809
- */
3810
- proto.gateway.web.v1.GitHubIssue.prototype.getUrl = function() {
3811
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3812
- };
3813
-
3814
-
3815
- /**
3816
- * @param {string} value
3817
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3818
- */
3819
- proto.gateway.web.v1.GitHubIssue.prototype.setUrl = function(value) {
3820
- return jspb.Message.setProto3StringField(this, 4, value);
3821
- };
3822
-
3823
-
3824
- /**
3825
- * optional string author = 5;
3826
- * @return {string}
3827
- */
3828
- proto.gateway.web.v1.GitHubIssue.prototype.getAuthor = function() {
3829
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3830
- };
3831
-
3832
-
3833
- /**
3834
- * @param {string} value
3835
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3836
- */
3837
- proto.gateway.web.v1.GitHubIssue.prototype.setAuthor = function(value) {
3838
- return jspb.Message.setProto3StringField(this, 5, value);
3839
3453
  };
3840
3454
 
3841
3455
 
3842
3456
  /**
3843
- * optional string created_at = 6;
3457
+ * optional string organization_id = 1;
3844
3458
  * @return {string}
3845
3459
  */
3846
- proto.gateway.web.v1.GitHubIssue.prototype.getCreatedAt = function() {
3847
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3460
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.getOrganizationId = function() {
3461
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3848
3462
  };
3849
3463
 
3850
3464
 
3851
3465
  /**
3852
3466
  * @param {string} value
3853
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3467
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
3854
3468
  */
3855
- proto.gateway.web.v1.GitHubIssue.prototype.setCreatedAt = function(value) {
3856
- return jspb.Message.setProto3StringField(this, 6, value);
3469
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.setOrganizationId = function(value) {
3470
+ return jspb.Message.setProto3StringField(this, 1, value);
3857
3471
  };
3858
3472
 
3859
3473
 
3860
3474
  /**
3861
- * optional string updated_at = 7;
3475
+ * optional string repository_full_name = 2;
3862
3476
  * @return {string}
3863
- */
3864
- proto.gateway.web.v1.GitHubIssue.prototype.getUpdatedAt = function() {
3865
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3866
- };
3867
-
3868
-
3869
- /**
3870
- * @param {string} value
3871
- * @return {!proto.gateway.web.v1.GitHubIssue} returns this
3872
- */
3873
- proto.gateway.web.v1.GitHubIssue.prototype.setUpdatedAt = function(value) {
3874
- return jspb.Message.setProto3StringField(this, 7, value);
3875
- };
3876
-
3877
-
3878
-
3879
- /**
3880
- * List of repeated fields within this message type.
3881
- * @private {!Array<number>}
3882
- * @const
3883
- */
3884
- proto.gateway.web.v1.GitHubIssuesResponse.repeatedFields_ = [2];
3885
-
3886
-
3887
-
3888
- if (jspb.Message.GENERATE_TO_OBJECT) {
3889
- /**
3890
- * Creates an object representation of this proto.
3891
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3892
- * Optional fields that are not set will be set to undefined.
3893
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3894
- * For the list of reserved names please see:
3895
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3896
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3897
- * JSPB instance for transitional soy proto support:
3898
- * http://goto/soy-param-migration
3899
- * @return {!Object}
3900
- */
3901
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.toObject = function(opt_includeInstance) {
3902
- return proto.gateway.web.v1.GitHubIssuesResponse.toObject(opt_includeInstance, this);
3903
- };
3904
-
3905
-
3906
- /**
3907
- * Static version of the {@see toObject} method.
3908
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3909
- * the JSPB instance for transitional soy proto support:
3910
- * http://goto/soy-param-migration
3911
- * @param {!proto.gateway.web.v1.GitHubIssuesResponse} msg The msg instance to transform.
3912
- * @return {!Object}
3913
- * @suppress {unusedLocalVariables} f is only used for nested messages
3914
- */
3915
- proto.gateway.web.v1.GitHubIssuesResponse.toObject = function(includeInstance, msg) {
3916
- var f, obj = {
3917
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
3918
- issuesList: jspb.Message.toObjectList(msg.getIssuesList(),
3919
- proto.gateway.web.v1.GitHubIssue.toObject, includeInstance)
3920
- };
3921
-
3922
- if (includeInstance) {
3923
- obj.$jspbMessageInstance = msg;
3924
- }
3925
- return obj;
3926
- };
3927
- }
3928
-
3929
-
3930
- /**
3931
- * Deserializes binary data (in protobuf wire format).
3932
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3933
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse}
3934
- */
3935
- proto.gateway.web.v1.GitHubIssuesResponse.deserializeBinary = function(bytes) {
3936
- var reader = new jspb.BinaryReader(bytes);
3937
- var msg = new proto.gateway.web.v1.GitHubIssuesResponse;
3938
- return proto.gateway.web.v1.GitHubIssuesResponse.deserializeBinaryFromReader(msg, reader);
3939
- };
3940
-
3941
-
3942
- /**
3943
- * Deserializes binary data (in protobuf wire format) from the
3944
- * given reader into the given message object.
3945
- * @param {!proto.gateway.web.v1.GitHubIssuesResponse} msg The message object to deserialize into.
3946
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3947
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse}
3948
- */
3949
- proto.gateway.web.v1.GitHubIssuesResponse.deserializeBinaryFromReader = function(msg, reader) {
3950
- while (reader.nextField()) {
3951
- if (reader.isEndGroup()) {
3952
- break;
3953
- }
3954
- var field = reader.getFieldNumber();
3955
- switch (field) {
3956
- case 1:
3957
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
3958
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
3959
- msg.setStatus(value);
3960
- break;
3961
- case 2:
3962
- var value = new proto.gateway.web.v1.GitHubIssue;
3963
- reader.readMessage(value,proto.gateway.web.v1.GitHubIssue.deserializeBinaryFromReader);
3964
- msg.addIssues(value);
3965
- break;
3966
- default:
3967
- reader.skipField();
3968
- break;
3969
- }
3970
- }
3971
- return msg;
3972
- };
3973
-
3974
-
3975
- /**
3976
- * Serializes the message to binary data (in protobuf wire format).
3977
- * @return {!Uint8Array}
3978
- */
3979
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.serializeBinary = function() {
3980
- var writer = new jspb.BinaryWriter();
3981
- proto.gateway.web.v1.GitHubIssuesResponse.serializeBinaryToWriter(this, writer);
3982
- return writer.getResultBuffer();
3983
- };
3984
-
3985
-
3986
- /**
3987
- * Serializes the given message to binary data (in protobuf wire
3988
- * format), writing to the given BinaryWriter.
3989
- * @param {!proto.gateway.web.v1.GitHubIssuesResponse} message
3990
- * @param {!jspb.BinaryWriter} writer
3991
- * @suppress {unusedLocalVariables} f is only used for nested messages
3992
- */
3993
- proto.gateway.web.v1.GitHubIssuesResponse.serializeBinaryToWriter = function(message, writer) {
3994
- var f = undefined;
3995
- f = message.getStatus();
3996
- if (f != null) {
3997
- writer.writeMessage(
3998
- 1,
3999
- f,
4000
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4001
- );
4002
- }
4003
- f = message.getIssuesList();
4004
- if (f.length > 0) {
4005
- writer.writeRepeatedMessage(
4006
- 2,
4007
- f,
4008
- proto.gateway.web.v1.GitHubIssue.serializeBinaryToWriter
4009
- );
4010
- }
4011
- };
4012
-
4013
-
4014
- /**
4015
- * optional gateway.common.v1.ResponseStatus status = 1;
4016
- * @return {?proto.gateway.common.v1.ResponseStatus}
4017
- */
4018
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.getStatus = function() {
4019
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4020
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4021
- };
4022
-
4023
-
4024
- /**
4025
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4026
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
4027
- */
4028
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.setStatus = function(value) {
4029
- return jspb.Message.setWrapperField(this, 1, value);
4030
- };
4031
-
4032
-
4033
- /**
4034
- * Clears the message field making it undefined.
4035
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
4036
- */
4037
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.clearStatus = function() {
4038
- return this.setStatus(undefined);
4039
- };
4040
-
4041
-
4042
- /**
4043
- * Returns whether this field is set.
4044
- * @return {boolean}
4045
- */
4046
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.hasStatus = function() {
4047
- return jspb.Message.getField(this, 1) != null;
4048
- };
4049
-
4050
-
4051
- /**
4052
- * repeated GitHubIssue issues = 2;
4053
- * @return {!Array<!proto.gateway.web.v1.GitHubIssue>}
4054
- */
4055
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.getIssuesList = function() {
4056
- return /** @type{!Array<!proto.gateway.web.v1.GitHubIssue>} */ (
4057
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.GitHubIssue, 2));
4058
- };
4059
-
4060
-
4061
- /**
4062
- * @param {!Array<!proto.gateway.web.v1.GitHubIssue>} value
4063
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
4064
- */
4065
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.setIssuesList = function(value) {
4066
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
4067
- };
4068
-
4069
-
4070
- /**
4071
- * @param {!proto.gateway.web.v1.GitHubIssue=} opt_value
4072
- * @param {number=} opt_index
4073
- * @return {!proto.gateway.web.v1.GitHubIssue}
4074
- */
4075
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.addIssues = function(opt_value, opt_index) {
4076
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.GitHubIssue, opt_index);
4077
- };
4078
-
4079
-
4080
- /**
4081
- * Clears the list making it empty but non-null.
4082
- * @return {!proto.gateway.web.v1.GitHubIssuesResponse} returns this
4083
- */
4084
- proto.gateway.web.v1.GitHubIssuesResponse.prototype.clearIssuesList = function() {
4085
- return this.setIssuesList([]);
4086
- };
4087
-
4088
-
4089
-
4090
-
4091
-
4092
- if (jspb.Message.GENERATE_TO_OBJECT) {
4093
- /**
4094
- * Creates an object representation of this proto.
4095
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4096
- * Optional fields that are not set will be set to undefined.
4097
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4098
- * For the list of reserved names please see:
4099
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4100
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4101
- * JSPB instance for transitional soy proto support:
4102
- * http://goto/soy-param-migration
4103
- * @return {!Object}
4104
- */
4105
- proto.gateway.web.v1.GitHubEmptyResponse.prototype.toObject = function(opt_includeInstance) {
4106
- return proto.gateway.web.v1.GitHubEmptyResponse.toObject(opt_includeInstance, this);
4107
- };
4108
-
4109
-
4110
- /**
4111
- * Static version of the {@see toObject} method.
4112
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4113
- * the JSPB instance for transitional soy proto support:
4114
- * http://goto/soy-param-migration
4115
- * @param {!proto.gateway.web.v1.GitHubEmptyResponse} msg The msg instance to transform.
4116
- * @return {!Object}
4117
- * @suppress {unusedLocalVariables} f is only used for nested messages
4118
- */
4119
- proto.gateway.web.v1.GitHubEmptyResponse.toObject = function(includeInstance, msg) {
4120
- var f, obj = {
4121
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f)
4122
- };
4123
-
4124
- if (includeInstance) {
4125
- obj.$jspbMessageInstance = msg;
4126
- }
4127
- return obj;
4128
- };
4129
- }
4130
-
4131
-
4132
- /**
4133
- * Deserializes binary data (in protobuf wire format).
4134
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4135
- * @return {!proto.gateway.web.v1.GitHubEmptyResponse}
4136
- */
4137
- proto.gateway.web.v1.GitHubEmptyResponse.deserializeBinary = function(bytes) {
4138
- var reader = new jspb.BinaryReader(bytes);
4139
- var msg = new proto.gateway.web.v1.GitHubEmptyResponse;
4140
- return proto.gateway.web.v1.GitHubEmptyResponse.deserializeBinaryFromReader(msg, reader);
4141
- };
4142
-
4143
-
4144
- /**
4145
- * Deserializes binary data (in protobuf wire format) from the
4146
- * given reader into the given message object.
4147
- * @param {!proto.gateway.web.v1.GitHubEmptyResponse} msg The message object to deserialize into.
4148
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4149
- * @return {!proto.gateway.web.v1.GitHubEmptyResponse}
4150
- */
4151
- proto.gateway.web.v1.GitHubEmptyResponse.deserializeBinaryFromReader = function(msg, reader) {
4152
- while (reader.nextField()) {
4153
- if (reader.isEndGroup()) {
4154
- break;
4155
- }
4156
- var field = reader.getFieldNumber();
4157
- switch (field) {
4158
- case 1:
4159
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
4160
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
4161
- msg.setStatus(value);
4162
- break;
4163
- default:
4164
- reader.skipField();
4165
- break;
4166
- }
4167
- }
4168
- return msg;
4169
- };
4170
-
4171
-
4172
- /**
4173
- * Serializes the message to binary data (in protobuf wire format).
4174
- * @return {!Uint8Array}
4175
- */
4176
- proto.gateway.web.v1.GitHubEmptyResponse.prototype.serializeBinary = function() {
4177
- var writer = new jspb.BinaryWriter();
4178
- proto.gateway.web.v1.GitHubEmptyResponse.serializeBinaryToWriter(this, writer);
4179
- return writer.getResultBuffer();
4180
- };
4181
-
4182
-
4183
- /**
4184
- * Serializes the given message to binary data (in protobuf wire
4185
- * format), writing to the given BinaryWriter.
4186
- * @param {!proto.gateway.web.v1.GitHubEmptyResponse} message
4187
- * @param {!jspb.BinaryWriter} writer
4188
- * @suppress {unusedLocalVariables} f is only used for nested messages
4189
- */
4190
- proto.gateway.web.v1.GitHubEmptyResponse.serializeBinaryToWriter = function(message, writer) {
4191
- var f = undefined;
4192
- f = message.getStatus();
4193
- if (f != null) {
4194
- writer.writeMessage(
4195
- 1,
4196
- f,
4197
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4198
- );
4199
- }
4200
- };
4201
-
4202
-
4203
- /**
4204
- * optional gateway.common.v1.ResponseStatus status = 1;
4205
- * @return {?proto.gateway.common.v1.ResponseStatus}
4206
- */
4207
- proto.gateway.web.v1.GitHubEmptyResponse.prototype.getStatus = function() {
4208
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4209
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4210
- };
4211
-
4212
-
4213
- /**
4214
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4215
- * @return {!proto.gateway.web.v1.GitHubEmptyResponse} returns this
4216
- */
4217
- proto.gateway.web.v1.GitHubEmptyResponse.prototype.setStatus = function(value) {
4218
- return jspb.Message.setWrapperField(this, 1, value);
4219
- };
4220
-
4221
-
4222
- /**
4223
- * Clears the message field making it undefined.
4224
- * @return {!proto.gateway.web.v1.GitHubEmptyResponse} returns this
4225
- */
4226
- proto.gateway.web.v1.GitHubEmptyResponse.prototype.clearStatus = function() {
4227
- return this.setStatus(undefined);
4228
- };
4229
-
4230
-
4231
- /**
4232
- * Returns whether this field is set.
4233
- * @return {boolean}
4234
- */
4235
- proto.gateway.web.v1.GitHubEmptyResponse.prototype.hasStatus = function() {
4236
- return jspb.Message.getField(this, 1) != null;
4237
- };
4238
-
4239
-
4240
-
4241
- /**
4242
- * List of repeated fields within this message type.
4243
- * @private {!Array<number>}
4244
- * @const
4245
- */
4246
- proto.gateway.web.v1.GitHubFilesRequest.repeatedFields_ = [3];
4247
-
4248
-
4249
-
4250
- if (jspb.Message.GENERATE_TO_OBJECT) {
4251
- /**
4252
- * Creates an object representation of this proto.
4253
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4254
- * Optional fields that are not set will be set to undefined.
4255
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4256
- * For the list of reserved names please see:
4257
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4258
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4259
- * JSPB instance for transitional soy proto support:
4260
- * http://goto/soy-param-migration
4261
- * @return {!Object}
4262
- */
4263
- proto.gateway.web.v1.GitHubFilesRequest.prototype.toObject = function(opt_includeInstance) {
4264
- return proto.gateway.web.v1.GitHubFilesRequest.toObject(opt_includeInstance, this);
4265
- };
4266
-
4267
-
4268
- /**
4269
- * Static version of the {@see toObject} method.
4270
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4271
- * the JSPB instance for transitional soy proto support:
4272
- * http://goto/soy-param-migration
4273
- * @param {!proto.gateway.web.v1.GitHubFilesRequest} msg The msg instance to transform.
4274
- * @return {!Object}
4275
- * @suppress {unusedLocalVariables} f is only used for nested messages
4276
- */
4277
- proto.gateway.web.v1.GitHubFilesRequest.toObject = function(includeInstance, msg) {
4278
- var f, obj = {
4279
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4280
- repositoryFullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
4281
- pathsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
4282
- commitSha: jspb.Message.getFieldWithDefault(msg, 4, "")
4283
- };
4284
-
4285
- if (includeInstance) {
4286
- obj.$jspbMessageInstance = msg;
4287
- }
4288
- return obj;
4289
- };
4290
- }
4291
-
4292
-
4293
- /**
4294
- * Deserializes binary data (in protobuf wire format).
4295
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4296
- * @return {!proto.gateway.web.v1.GitHubFilesRequest}
4297
- */
4298
- proto.gateway.web.v1.GitHubFilesRequest.deserializeBinary = function(bytes) {
4299
- var reader = new jspb.BinaryReader(bytes);
4300
- var msg = new proto.gateway.web.v1.GitHubFilesRequest;
4301
- return proto.gateway.web.v1.GitHubFilesRequest.deserializeBinaryFromReader(msg, reader);
4302
- };
4303
-
4304
-
4305
- /**
4306
- * Deserializes binary data (in protobuf wire format) from the
4307
- * given reader into the given message object.
4308
- * @param {!proto.gateway.web.v1.GitHubFilesRequest} msg The message object to deserialize into.
4309
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4310
- * @return {!proto.gateway.web.v1.GitHubFilesRequest}
4311
- */
4312
- proto.gateway.web.v1.GitHubFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
4313
- while (reader.nextField()) {
4314
- if (reader.isEndGroup()) {
4315
- break;
4316
- }
4317
- var field = reader.getFieldNumber();
4318
- switch (field) {
4319
- case 1:
4320
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4321
- msg.setOrganizationId(value);
4322
- break;
4323
- case 2:
4324
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4325
- msg.setRepositoryFullName(value);
4326
- break;
4327
- case 3:
4328
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4329
- msg.addPaths(value);
4330
- break;
4331
- case 4:
4332
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4333
- msg.setCommitSha(value);
4334
- break;
4335
- default:
4336
- reader.skipField();
4337
- break;
4338
- }
4339
- }
4340
- return msg;
4341
- };
4342
-
4343
-
4344
- /**
4345
- * Serializes the message to binary data (in protobuf wire format).
4346
- * @return {!Uint8Array}
4347
- */
4348
- proto.gateway.web.v1.GitHubFilesRequest.prototype.serializeBinary = function() {
4349
- var writer = new jspb.BinaryWriter();
4350
- proto.gateway.web.v1.GitHubFilesRequest.serializeBinaryToWriter(this, writer);
4351
- return writer.getResultBuffer();
4352
- };
4353
-
4354
-
4355
- /**
4356
- * Serializes the given message to binary data (in protobuf wire
4357
- * format), writing to the given BinaryWriter.
4358
- * @param {!proto.gateway.web.v1.GitHubFilesRequest} message
4359
- * @param {!jspb.BinaryWriter} writer
4360
- * @suppress {unusedLocalVariables} f is only used for nested messages
4361
- */
4362
- proto.gateway.web.v1.GitHubFilesRequest.serializeBinaryToWriter = function(message, writer) {
4363
- var f = undefined;
4364
- f = message.getOrganizationId();
4365
- if (f.length > 0) {
4366
- writer.writeString(
4367
- 1,
4368
- f
4369
- );
4370
- }
4371
- f = message.getRepositoryFullName();
4372
- if (f.length > 0) {
4373
- writer.writeString(
4374
- 2,
4375
- f
4376
- );
4377
- }
4378
- f = message.getPathsList();
4379
- if (f.length > 0) {
4380
- writer.writeRepeatedString(
4381
- 3,
4382
- f
4383
- );
4384
- }
4385
- f = message.getCommitSha();
4386
- if (f.length > 0) {
4387
- writer.writeString(
4388
- 4,
4389
- f
4390
- );
4391
- }
4392
- };
4393
-
4394
-
4395
- /**
4396
- * optional string organization_id = 1;
4397
- * @return {string}
4398
- */
4399
- proto.gateway.web.v1.GitHubFilesRequest.prototype.getOrganizationId = function() {
4400
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4401
- };
4402
-
4403
-
4404
- /**
4405
- * @param {string} value
4406
- * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
4407
- */
4408
- proto.gateway.web.v1.GitHubFilesRequest.prototype.setOrganizationId = function(value) {
4409
- return jspb.Message.setProto3StringField(this, 1, value);
4410
- };
4411
-
4412
-
4413
- /**
4414
- * optional string repository_full_name = 2;
4415
- * @return {string}
4416
- */
4417
- proto.gateway.web.v1.GitHubFilesRequest.prototype.getRepositoryFullName = function() {
4418
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4419
- };
4420
-
4421
-
4422
- /**
4423
- * @param {string} value
4424
- * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
4425
- */
4426
- proto.gateway.web.v1.GitHubFilesRequest.prototype.setRepositoryFullName = function(value) {
4427
- return jspb.Message.setProto3StringField(this, 2, value);
4428
- };
4429
-
4430
-
4431
- /**
4432
- * repeated string paths = 3;
4433
- * @return {!Array<string>}
4434
- */
4435
- proto.gateway.web.v1.GitHubFilesRequest.prototype.getPathsList = function() {
4436
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
4437
- };
4438
-
4439
-
4440
- /**
4441
- * @param {!Array<string>} value
4442
- * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
4443
- */
4444
- proto.gateway.web.v1.GitHubFilesRequest.prototype.setPathsList = function(value) {
4445
- return jspb.Message.setField(this, 3, value || []);
4446
- };
4447
-
4448
-
4449
- /**
4450
- * @param {string} value
4451
- * @param {number=} opt_index
4452
- * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
4453
- */
4454
- proto.gateway.web.v1.GitHubFilesRequest.prototype.addPaths = function(value, opt_index) {
4455
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
4456
- };
4457
-
4458
-
4459
- /**
4460
- * Clears the list making it empty but non-null.
4461
- * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
4462
- */
4463
- proto.gateway.web.v1.GitHubFilesRequest.prototype.clearPathsList = function() {
4464
- return this.setPathsList([]);
4465
- };
4466
-
4467
-
4468
- /**
4469
- * optional string commit_sha = 4;
4470
- * @return {string}
4471
- */
4472
- proto.gateway.web.v1.GitHubFilesRequest.prototype.getCommitSha = function() {
4473
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4474
- };
4475
-
4476
-
4477
- /**
4478
- * @param {string} value
4479
- * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
4480
- */
4481
- proto.gateway.web.v1.GitHubFilesRequest.prototype.setCommitSha = function(value) {
4482
- return jspb.Message.setProto3StringField(this, 4, value);
4483
- };
4484
-
4485
-
4486
-
4487
-
4488
-
4489
- if (jspb.Message.GENERATE_TO_OBJECT) {
4490
- /**
4491
- * Creates an object representation of this proto.
4492
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4493
- * Optional fields that are not set will be set to undefined.
4494
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4495
- * For the list of reserved names please see:
4496
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4497
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4498
- * JSPB instance for transitional soy proto support:
4499
- * http://goto/soy-param-migration
4500
- * @return {!Object}
4501
- */
4502
- proto.gateway.web.v1.GitHubFileResult.prototype.toObject = function(opt_includeInstance) {
4503
- return proto.gateway.web.v1.GitHubFileResult.toObject(opt_includeInstance, this);
4504
- };
4505
-
4506
-
4507
- /**
4508
- * Static version of the {@see toObject} method.
4509
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4510
- * the JSPB instance for transitional soy proto support:
4511
- * http://goto/soy-param-migration
4512
- * @param {!proto.gateway.web.v1.GitHubFileResult} msg The msg instance to transform.
4513
- * @return {!Object}
4514
- * @suppress {unusedLocalVariables} f is only used for nested messages
4515
- */
4516
- proto.gateway.web.v1.GitHubFileResult.toObject = function(includeInstance, msg) {
4517
- var f, obj = {
4518
- path: jspb.Message.getFieldWithDefault(msg, 1, ""),
4519
- code: jspb.Message.getFieldWithDefault(msg, 2, 0),
4520
- errorMessage: jspb.Message.getFieldWithDefault(msg, 3, ""),
4521
- blobSha: jspb.Message.getFieldWithDefault(msg, 4, ""),
4522
- content: jspb.Message.getFieldWithDefault(msg, 5, "")
4523
- };
4524
-
4525
- if (includeInstance) {
4526
- obj.$jspbMessageInstance = msg;
4527
- }
4528
- return obj;
4529
- };
4530
- }
4531
-
4532
-
4533
- /**
4534
- * Deserializes binary data (in protobuf wire format).
4535
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4536
- * @return {!proto.gateway.web.v1.GitHubFileResult}
4537
- */
4538
- proto.gateway.web.v1.GitHubFileResult.deserializeBinary = function(bytes) {
4539
- var reader = new jspb.BinaryReader(bytes);
4540
- var msg = new proto.gateway.web.v1.GitHubFileResult;
4541
- return proto.gateway.web.v1.GitHubFileResult.deserializeBinaryFromReader(msg, reader);
4542
- };
4543
-
4544
-
4545
- /**
4546
- * Deserializes binary data (in protobuf wire format) from the
4547
- * given reader into the given message object.
4548
- * @param {!proto.gateway.web.v1.GitHubFileResult} msg The message object to deserialize into.
4549
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4550
- * @return {!proto.gateway.web.v1.GitHubFileResult}
4551
- */
4552
- proto.gateway.web.v1.GitHubFileResult.deserializeBinaryFromReader = function(msg, reader) {
4553
- while (reader.nextField()) {
4554
- if (reader.isEndGroup()) {
4555
- break;
4556
- }
4557
- var field = reader.getFieldNumber();
4558
- switch (field) {
4559
- case 1:
4560
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4561
- msg.setPath(value);
4562
- break;
4563
- case 2:
4564
- var value = /** @type {!proto.gateway.web.v1.GitHubFileResult.Code} */ (reader.readEnum());
4565
- msg.setCode(value);
4566
- break;
4567
- case 3:
4568
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4569
- msg.setErrorMessage(value);
4570
- break;
4571
- case 4:
4572
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4573
- msg.setBlobSha(value);
4574
- break;
4575
- case 5:
4576
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4577
- msg.setContent(value);
4578
- break;
4579
- default:
4580
- reader.skipField();
4581
- break;
4582
- }
4583
- }
4584
- return msg;
4585
- };
4586
-
4587
-
4588
- /**
4589
- * Serializes the message to binary data (in protobuf wire format).
4590
- * @return {!Uint8Array}
4591
- */
4592
- proto.gateway.web.v1.GitHubFileResult.prototype.serializeBinary = function() {
4593
- var writer = new jspb.BinaryWriter();
4594
- proto.gateway.web.v1.GitHubFileResult.serializeBinaryToWriter(this, writer);
4595
- return writer.getResultBuffer();
4596
- };
4597
-
4598
-
4599
- /**
4600
- * Serializes the given message to binary data (in protobuf wire
4601
- * format), writing to the given BinaryWriter.
4602
- * @param {!proto.gateway.web.v1.GitHubFileResult} message
4603
- * @param {!jspb.BinaryWriter} writer
4604
- * @suppress {unusedLocalVariables} f is only used for nested messages
4605
- */
4606
- proto.gateway.web.v1.GitHubFileResult.serializeBinaryToWriter = function(message, writer) {
4607
- var f = undefined;
4608
- f = message.getPath();
4609
- if (f.length > 0) {
4610
- writer.writeString(
4611
- 1,
4612
- f
4613
- );
4614
- }
4615
- f = message.getCode();
4616
- if (f !== 0.0) {
4617
- writer.writeEnum(
4618
- 2,
4619
- f
4620
- );
4621
- }
4622
- f = message.getErrorMessage();
4623
- if (f.length > 0) {
4624
- writer.writeString(
4625
- 3,
4626
- f
4627
- );
4628
- }
4629
- f = message.getBlobSha();
4630
- if (f.length > 0) {
4631
- writer.writeString(
4632
- 4,
4633
- f
4634
- );
4635
- }
4636
- f = message.getContent();
4637
- if (f.length > 0) {
4638
- writer.writeString(
4639
- 5,
4640
- f
4641
- );
4642
- }
4643
- };
4644
-
4645
-
4646
- /**
4647
- * @enum {number}
4648
- */
4649
- proto.gateway.web.v1.GitHubFileResult.Code = {
4650
- CODE_UNSPECIFIED: 0,
4651
- CODE_OK: 1,
4652
- CODE_NOT_FOUND: 2,
4653
- CODE_UNSUPPORTED: 3,
4654
- CODE_TOO_LARGE: 4,
4655
- CODE_UNAVAILABLE: 5
4656
- };
4657
-
4658
- /**
4659
- * optional string path = 1;
4660
- * @return {string}
4661
- */
4662
- proto.gateway.web.v1.GitHubFileResult.prototype.getPath = function() {
4663
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4664
- };
4665
-
4666
-
4667
- /**
4668
- * @param {string} value
4669
- * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
4670
- */
4671
- proto.gateway.web.v1.GitHubFileResult.prototype.setPath = function(value) {
4672
- return jspb.Message.setProto3StringField(this, 1, value);
4673
- };
4674
-
4675
-
4676
- /**
4677
- * optional Code code = 2;
4678
- * @return {!proto.gateway.web.v1.GitHubFileResult.Code}
4679
- */
4680
- proto.gateway.web.v1.GitHubFileResult.prototype.getCode = function() {
4681
- return /** @type {!proto.gateway.web.v1.GitHubFileResult.Code} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4682
- };
4683
-
4684
-
4685
- /**
4686
- * @param {!proto.gateway.web.v1.GitHubFileResult.Code} value
4687
- * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
4688
- */
4689
- proto.gateway.web.v1.GitHubFileResult.prototype.setCode = function(value) {
4690
- return jspb.Message.setProto3EnumField(this, 2, value);
4691
- };
4692
-
4693
-
4694
- /**
4695
- * optional string error_message = 3;
4696
- * @return {string}
4697
- */
4698
- proto.gateway.web.v1.GitHubFileResult.prototype.getErrorMessage = function() {
4699
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4700
- };
4701
-
4702
-
4703
- /**
4704
- * @param {string} value
4705
- * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
4706
- */
4707
- proto.gateway.web.v1.GitHubFileResult.prototype.setErrorMessage = function(value) {
4708
- return jspb.Message.setProto3StringField(this, 3, value);
4709
- };
4710
-
4711
-
4712
- /**
4713
- * optional string blob_sha = 4;
4714
- * @return {string}
4715
- */
4716
- proto.gateway.web.v1.GitHubFileResult.prototype.getBlobSha = function() {
4717
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4718
- };
4719
-
4720
-
4721
- /**
4722
- * @param {string} value
4723
- * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
4724
- */
4725
- proto.gateway.web.v1.GitHubFileResult.prototype.setBlobSha = function(value) {
4726
- return jspb.Message.setProto3StringField(this, 4, value);
4727
- };
4728
-
4729
-
4730
- /**
4731
- * optional string content = 5;
4732
- * @return {string}
4733
- */
4734
- proto.gateway.web.v1.GitHubFileResult.prototype.getContent = function() {
4735
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4736
- };
4737
-
4738
-
4739
- /**
4740
- * @param {string} value
4741
- * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
4742
- */
4743
- proto.gateway.web.v1.GitHubFileResult.prototype.setContent = function(value) {
4744
- return jspb.Message.setProto3StringField(this, 5, value);
4745
- };
4746
-
4747
-
4748
-
4749
- /**
4750
- * List of repeated fields within this message type.
4751
- * @private {!Array<number>}
4752
- * @const
4753
- */
4754
- proto.gateway.web.v1.GitHubFilesResponse.repeatedFields_ = [4];
4755
-
4756
-
4757
-
4758
- if (jspb.Message.GENERATE_TO_OBJECT) {
4759
- /**
4760
- * Creates an object representation of this proto.
4761
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4762
- * Optional fields that are not set will be set to undefined.
4763
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4764
- * For the list of reserved names please see:
4765
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4766
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4767
- * JSPB instance for transitional soy proto support:
4768
- * http://goto/soy-param-migration
4769
- * @return {!Object}
4770
- */
4771
- proto.gateway.web.v1.GitHubFilesResponse.prototype.toObject = function(opt_includeInstance) {
4772
- return proto.gateway.web.v1.GitHubFilesResponse.toObject(opt_includeInstance, this);
4773
- };
4774
-
4775
-
4776
- /**
4777
- * Static version of the {@see toObject} method.
4778
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4779
- * the JSPB instance for transitional soy proto support:
4780
- * http://goto/soy-param-migration
4781
- * @param {!proto.gateway.web.v1.GitHubFilesResponse} msg The msg instance to transform.
4782
- * @return {!Object}
4783
- * @suppress {unusedLocalVariables} f is only used for nested messages
4784
- */
4785
- proto.gateway.web.v1.GitHubFilesResponse.toObject = function(includeInstance, msg) {
4786
- var f, obj = {
4787
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4788
- repositoryFullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
4789
- commitSha: jspb.Message.getFieldWithDefault(msg, 3, ""),
4790
- filesList: jspb.Message.toObjectList(msg.getFilesList(),
4791
- proto.gateway.web.v1.GitHubFileResult.toObject, includeInstance)
4792
- };
4793
-
4794
- if (includeInstance) {
4795
- obj.$jspbMessageInstance = msg;
4796
- }
4797
- return obj;
4798
- };
4799
- }
4800
-
4801
-
4802
- /**
4803
- * Deserializes binary data (in protobuf wire format).
4804
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4805
- * @return {!proto.gateway.web.v1.GitHubFilesResponse}
4806
- */
4807
- proto.gateway.web.v1.GitHubFilesResponse.deserializeBinary = function(bytes) {
4808
- var reader = new jspb.BinaryReader(bytes);
4809
- var msg = new proto.gateway.web.v1.GitHubFilesResponse;
4810
- return proto.gateway.web.v1.GitHubFilesResponse.deserializeBinaryFromReader(msg, reader);
4811
- };
4812
-
4813
-
4814
- /**
4815
- * Deserializes binary data (in protobuf wire format) from the
4816
- * given reader into the given message object.
4817
- * @param {!proto.gateway.web.v1.GitHubFilesResponse} msg The message object to deserialize into.
4818
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4819
- * @return {!proto.gateway.web.v1.GitHubFilesResponse}
4820
- */
4821
- proto.gateway.web.v1.GitHubFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
4822
- while (reader.nextField()) {
4823
- if (reader.isEndGroup()) {
4824
- break;
4825
- }
4826
- var field = reader.getFieldNumber();
4827
- switch (field) {
4828
- case 1:
4829
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
4830
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
4831
- msg.setStatus(value);
4832
- break;
4833
- case 2:
4834
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4835
- msg.setRepositoryFullName(value);
4836
- break;
4837
- case 3:
4838
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4839
- msg.setCommitSha(value);
4840
- break;
4841
- case 4:
4842
- var value = new proto.gateway.web.v1.GitHubFileResult;
4843
- reader.readMessage(value,proto.gateway.web.v1.GitHubFileResult.deserializeBinaryFromReader);
4844
- msg.addFiles(value);
4845
- break;
4846
- default:
4847
- reader.skipField();
4848
- break;
4849
- }
4850
- }
4851
- return msg;
4852
- };
4853
-
4854
-
4855
- /**
4856
- * Serializes the message to binary data (in protobuf wire format).
4857
- * @return {!Uint8Array}
4858
- */
4859
- proto.gateway.web.v1.GitHubFilesResponse.prototype.serializeBinary = function() {
4860
- var writer = new jspb.BinaryWriter();
4861
- proto.gateway.web.v1.GitHubFilesResponse.serializeBinaryToWriter(this, writer);
4862
- return writer.getResultBuffer();
4863
- };
4864
-
4865
-
4866
- /**
4867
- * Serializes the given message to binary data (in protobuf wire
4868
- * format), writing to the given BinaryWriter.
4869
- * @param {!proto.gateway.web.v1.GitHubFilesResponse} message
4870
- * @param {!jspb.BinaryWriter} writer
4871
- * @suppress {unusedLocalVariables} f is only used for nested messages
4872
- */
4873
- proto.gateway.web.v1.GitHubFilesResponse.serializeBinaryToWriter = function(message, writer) {
4874
- var f = undefined;
4875
- f = message.getStatus();
4876
- if (f != null) {
4877
- writer.writeMessage(
4878
- 1,
4879
- f,
4880
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4881
- );
4882
- }
4883
- f = message.getRepositoryFullName();
4884
- if (f.length > 0) {
4885
- writer.writeString(
4886
- 2,
4887
- f
4888
- );
4889
- }
4890
- f = message.getCommitSha();
4891
- if (f.length > 0) {
4892
- writer.writeString(
4893
- 3,
4894
- f
4895
- );
4896
- }
4897
- f = message.getFilesList();
4898
- if (f.length > 0) {
4899
- writer.writeRepeatedMessage(
4900
- 4,
4901
- f,
4902
- proto.gateway.web.v1.GitHubFileResult.serializeBinaryToWriter
4903
- );
4904
- }
4905
- };
4906
-
4907
-
4908
- /**
4909
- * optional gateway.common.v1.ResponseStatus status = 1;
4910
- * @return {?proto.gateway.common.v1.ResponseStatus}
4911
- */
4912
- proto.gateway.web.v1.GitHubFilesResponse.prototype.getStatus = function() {
4913
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4914
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4915
- };
4916
-
4917
-
4918
- /**
4919
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4920
- * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4921
- */
4922
- proto.gateway.web.v1.GitHubFilesResponse.prototype.setStatus = function(value) {
4923
- return jspb.Message.setWrapperField(this, 1, value);
4924
- };
4925
-
4926
-
4927
- /**
4928
- * Clears the message field making it undefined.
4929
- * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4930
- */
4931
- proto.gateway.web.v1.GitHubFilesResponse.prototype.clearStatus = function() {
4932
- return this.setStatus(undefined);
4933
- };
4934
-
4935
-
4936
- /**
4937
- * Returns whether this field is set.
4938
- * @return {boolean}
4939
- */
4940
- proto.gateway.web.v1.GitHubFilesResponse.prototype.hasStatus = function() {
4941
- return jspb.Message.getField(this, 1) != null;
4942
- };
4943
-
4944
-
4945
- /**
4946
- * optional string repository_full_name = 2;
4947
- * @return {string}
4948
- */
4949
- proto.gateway.web.v1.GitHubFilesResponse.prototype.getRepositoryFullName = function() {
4950
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4951
- };
4952
-
4953
-
4954
- /**
4955
- * @param {string} value
4956
- * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4957
- */
4958
- proto.gateway.web.v1.GitHubFilesResponse.prototype.setRepositoryFullName = function(value) {
4959
- return jspb.Message.setProto3StringField(this, 2, value);
4960
- };
4961
-
4962
-
4963
- /**
4964
- * optional string commit_sha = 3;
4965
- * @return {string}
4966
- */
4967
- proto.gateway.web.v1.GitHubFilesResponse.prototype.getCommitSha = function() {
4968
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4969
- };
4970
-
4971
-
4972
- /**
4973
- * @param {string} value
4974
- * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4975
- */
4976
- proto.gateway.web.v1.GitHubFilesResponse.prototype.setCommitSha = function(value) {
4977
- return jspb.Message.setProto3StringField(this, 3, value);
4978
- };
4979
-
4980
-
4981
- /**
4982
- * repeated GitHubFileResult files = 4;
4983
- * @return {!Array<!proto.gateway.web.v1.GitHubFileResult>}
4984
- */
4985
- proto.gateway.web.v1.GitHubFilesResponse.prototype.getFilesList = function() {
4986
- return /** @type{!Array<!proto.gateway.web.v1.GitHubFileResult>} */ (
4987
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.GitHubFileResult, 4));
4988
- };
4989
-
4990
-
4991
- /**
4992
- * @param {!Array<!proto.gateway.web.v1.GitHubFileResult>} value
4993
- * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4994
- */
4995
- proto.gateway.web.v1.GitHubFilesResponse.prototype.setFilesList = function(value) {
4996
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
4997
- };
4998
-
4999
-
5000
- /**
5001
- * @param {!proto.gateway.web.v1.GitHubFileResult=} opt_value
5002
- * @param {number=} opt_index
5003
- * @return {!proto.gateway.web.v1.GitHubFileResult}
5004
- */
5005
- proto.gateway.web.v1.GitHubFilesResponse.prototype.addFiles = function(opt_value, opt_index) {
5006
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.GitHubFileResult, opt_index);
5007
- };
5008
-
5009
-
5010
- /**
5011
- * Clears the list making it empty but non-null.
5012
- * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
5013
- */
5014
- proto.gateway.web.v1.GitHubFilesResponse.prototype.clearFilesList = function() {
5015
- return this.setFilesList([]);
5016
- };
5017
-
5018
-
5019
-
5020
- /**
5021
- * List of repeated fields within this message type.
5022
- * @private {!Array<number>}
5023
- * @const
5024
- */
5025
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.repeatedFields_ = [3];
5026
-
5027
-
5028
-
5029
- if (jspb.Message.GENERATE_TO_OBJECT) {
5030
- /**
5031
- * Creates an object representation of this proto.
5032
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
5033
- * Optional fields that are not set will be set to undefined.
5034
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5035
- * For the list of reserved names please see:
5036
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5037
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5038
- * JSPB instance for transitional soy proto support:
5039
- * http://goto/soy-param-migration
5040
- * @return {!Object}
5041
- */
5042
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.toObject = function(opt_includeInstance) {
5043
- return proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.toObject(opt_includeInstance, this);
5044
- };
5045
-
5046
-
5047
- /**
5048
- * Static version of the {@see toObject} method.
5049
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5050
- * the JSPB instance for transitional soy proto support:
5051
- * http://goto/soy-param-migration
5052
- * @param {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} msg The msg instance to transform.
5053
- * @return {!Object}
5054
- * @suppress {unusedLocalVariables} f is only used for nested messages
5055
- */
5056
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.toObject = function(includeInstance, msg) {
5057
- var f, obj = {
5058
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5059
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
5060
- repositoriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
5061
- };
5062
-
5063
- if (includeInstance) {
5064
- obj.$jspbMessageInstance = msg;
5065
- }
5066
- return obj;
5067
- };
5068
- }
5069
-
5070
-
5071
- /**
5072
- * Deserializes binary data (in protobuf wire format).
5073
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5074
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest}
5075
- */
5076
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.deserializeBinary = function(bytes) {
5077
- var reader = new jspb.BinaryReader(bytes);
5078
- var msg = new proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest;
5079
- return proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.deserializeBinaryFromReader(msg, reader);
5080
- };
5081
-
5082
-
5083
- /**
5084
- * Deserializes binary data (in protobuf wire format) from the
5085
- * given reader into the given message object.
5086
- * @param {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} msg The message object to deserialize into.
5087
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5088
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest}
5089
- */
5090
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.deserializeBinaryFromReader = function(msg, reader) {
5091
- while (reader.nextField()) {
5092
- if (reader.isEndGroup()) {
5093
- break;
5094
- }
5095
- var field = reader.getFieldNumber();
5096
- switch (field) {
5097
- case 1:
5098
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5099
- msg.setOrganizationId(value);
5100
- break;
5101
- case 2:
5102
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5103
- msg.setProjectId(value);
5104
- break;
5105
- case 3:
5106
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5107
- msg.addRepositories(value);
5108
- break;
5109
- default:
5110
- reader.skipField();
5111
- break;
5112
- }
5113
- }
5114
- return msg;
5115
- };
5116
-
5117
-
5118
- /**
5119
- * Serializes the message to binary data (in protobuf wire format).
5120
- * @return {!Uint8Array}
5121
- */
5122
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.serializeBinary = function() {
5123
- var writer = new jspb.BinaryWriter();
5124
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.serializeBinaryToWriter(this, writer);
5125
- return writer.getResultBuffer();
5126
- };
5127
-
5128
-
5129
- /**
5130
- * Serializes the given message to binary data (in protobuf wire
5131
- * format), writing to the given BinaryWriter.
5132
- * @param {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} message
5133
- * @param {!jspb.BinaryWriter} writer
5134
- * @suppress {unusedLocalVariables} f is only used for nested messages
5135
- */
5136
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.serializeBinaryToWriter = function(message, writer) {
5137
- var f = undefined;
5138
- f = message.getOrganizationId();
5139
- if (f.length > 0) {
5140
- writer.writeString(
5141
- 1,
5142
- f
5143
- );
5144
- }
5145
- f = message.getProjectId();
5146
- if (f.length > 0) {
5147
- writer.writeString(
5148
- 2,
5149
- f
5150
- );
5151
- }
5152
- f = message.getRepositoriesList();
5153
- if (f.length > 0) {
5154
- writer.writeRepeatedString(
5155
- 3,
5156
- f
5157
- );
5158
- }
5159
- };
5160
-
5161
-
5162
- /**
5163
- * optional string organization_id = 1;
5164
- * @return {string}
5165
- */
5166
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.getOrganizationId = function() {
5167
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5168
- };
5169
-
5170
-
5171
- /**
5172
- * @param {string} value
5173
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} returns this
5174
- */
5175
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.setOrganizationId = function(value) {
5176
- return jspb.Message.setProto3StringField(this, 1, value);
5177
- };
5178
-
5179
-
5180
- /**
5181
- * optional string project_id = 2;
5182
- * @return {string}
5183
- */
5184
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.getProjectId = function() {
5185
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5186
- };
5187
-
5188
-
5189
- /**
5190
- * @param {string} value
5191
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} returns this
5192
- */
5193
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.setProjectId = function(value) {
5194
- return jspb.Message.setProto3StringField(this, 2, value);
5195
- };
5196
-
5197
-
5198
- /**
5199
- * repeated string repositories = 3;
5200
- * @return {!Array<string>}
5201
- */
5202
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.getRepositoriesList = function() {
5203
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
5204
- };
5205
-
5206
-
5207
- /**
5208
- * @param {!Array<string>} value
5209
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} returns this
5210
- */
5211
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.setRepositoriesList = function(value) {
5212
- return jspb.Message.setField(this, 3, value || []);
5213
- };
5214
-
5215
-
5216
- /**
5217
- * @param {string} value
5218
- * @param {number=} opt_index
5219
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} returns this
5220
- */
5221
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.addRepositories = function(value, opt_index) {
5222
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
5223
- };
5224
-
5225
-
5226
- /**
5227
- * Clears the list making it empty but non-null.
5228
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest} returns this
5229
- */
5230
- proto.gateway.web.v1.CreateInstallTermaPullRequestsRequest.prototype.clearRepositoriesList = function() {
5231
- return this.setRepositoriesList([]);
5232
- };
5233
-
5234
-
5235
-
5236
-
5237
-
5238
- if (jspb.Message.GENERATE_TO_OBJECT) {
5239
- /**
5240
- * Creates an object representation of this proto.
5241
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
5242
- * Optional fields that are not set will be set to undefined.
5243
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5244
- * For the list of reserved names please see:
5245
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5246
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5247
- * JSPB instance for transitional soy proto support:
5248
- * http://goto/soy-param-migration
5249
- * @return {!Object}
5250
- */
5251
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.toObject = function(opt_includeInstance) {
5252
- return proto.gateway.web.v1.InstallTermaPullRequestResult.toObject(opt_includeInstance, this);
5253
- };
5254
-
5255
-
5256
- /**
5257
- * Static version of the {@see toObject} method.
5258
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5259
- * the JSPB instance for transitional soy proto support:
5260
- * http://goto/soy-param-migration
5261
- * @param {!proto.gateway.web.v1.InstallTermaPullRequestResult} msg The msg instance to transform.
5262
- * @return {!Object}
5263
- * @suppress {unusedLocalVariables} f is only used for nested messages
5264
- */
5265
- proto.gateway.web.v1.InstallTermaPullRequestResult.toObject = function(includeInstance, msg) {
5266
- var f, obj = {
5267
- repository: jspb.Message.getFieldWithDefault(msg, 1, ""),
5268
- number: jspb.Message.getFieldWithDefault(msg, 2, 0),
5269
- url: jspb.Message.getFieldWithDefault(msg, 3, ""),
5270
- errorMessage: jspb.Message.getFieldWithDefault(msg, 4, ""),
5271
- alreadyInstalled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
5272
- };
5273
-
5274
- if (includeInstance) {
5275
- obj.$jspbMessageInstance = msg;
5276
- }
5277
- return obj;
5278
- };
5279
- }
5280
-
5281
-
5282
- /**
5283
- * Deserializes binary data (in protobuf wire format).
5284
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5285
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult}
5286
- */
5287
- proto.gateway.web.v1.InstallTermaPullRequestResult.deserializeBinary = function(bytes) {
5288
- var reader = new jspb.BinaryReader(bytes);
5289
- var msg = new proto.gateway.web.v1.InstallTermaPullRequestResult;
5290
- return proto.gateway.web.v1.InstallTermaPullRequestResult.deserializeBinaryFromReader(msg, reader);
5291
- };
5292
-
5293
-
5294
- /**
5295
- * Deserializes binary data (in protobuf wire format) from the
5296
- * given reader into the given message object.
5297
- * @param {!proto.gateway.web.v1.InstallTermaPullRequestResult} msg The message object to deserialize into.
5298
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5299
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult}
5300
- */
5301
- proto.gateway.web.v1.InstallTermaPullRequestResult.deserializeBinaryFromReader = function(msg, reader) {
5302
- while (reader.nextField()) {
5303
- if (reader.isEndGroup()) {
5304
- break;
5305
- }
5306
- var field = reader.getFieldNumber();
5307
- switch (field) {
5308
- case 1:
5309
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5310
- msg.setRepository(value);
5311
- break;
5312
- case 2:
5313
- var value = /** @type {number} */ (reader.readInt64());
5314
- msg.setNumber(value);
5315
- break;
5316
- case 3:
5317
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5318
- msg.setUrl(value);
5319
- break;
5320
- case 4:
5321
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5322
- msg.setErrorMessage(value);
5323
- break;
5324
- case 5:
5325
- var value = /** @type {boolean} */ (reader.readBool());
5326
- msg.setAlreadyInstalled(value);
5327
- break;
5328
- default:
5329
- reader.skipField();
5330
- break;
5331
- }
5332
- }
5333
- return msg;
5334
- };
5335
-
5336
-
5337
- /**
5338
- * Serializes the message to binary data (in protobuf wire format).
5339
- * @return {!Uint8Array}
5340
- */
5341
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.serializeBinary = function() {
5342
- var writer = new jspb.BinaryWriter();
5343
- proto.gateway.web.v1.InstallTermaPullRequestResult.serializeBinaryToWriter(this, writer);
5344
- return writer.getResultBuffer();
5345
- };
5346
-
5347
-
5348
- /**
5349
- * Serializes the given message to binary data (in protobuf wire
5350
- * format), writing to the given BinaryWriter.
5351
- * @param {!proto.gateway.web.v1.InstallTermaPullRequestResult} message
5352
- * @param {!jspb.BinaryWriter} writer
5353
- * @suppress {unusedLocalVariables} f is only used for nested messages
5354
- */
5355
- proto.gateway.web.v1.InstallTermaPullRequestResult.serializeBinaryToWriter = function(message, writer) {
5356
- var f = undefined;
5357
- f = message.getRepository();
5358
- if (f.length > 0) {
5359
- writer.writeString(
5360
- 1,
5361
- f
5362
- );
5363
- }
5364
- f = message.getNumber();
5365
- if (f !== 0) {
5366
- writer.writeInt64(
5367
- 2,
5368
- f
5369
- );
5370
- }
5371
- f = message.getUrl();
5372
- if (f.length > 0) {
5373
- writer.writeString(
5374
- 3,
5375
- f
5376
- );
5377
- }
5378
- f = message.getErrorMessage();
5379
- if (f.length > 0) {
5380
- writer.writeString(
5381
- 4,
5382
- f
5383
- );
5384
- }
5385
- f = message.getAlreadyInstalled();
5386
- if (f) {
5387
- writer.writeBool(
5388
- 5,
5389
- f
5390
- );
5391
- }
5392
- };
5393
-
5394
-
5395
- /**
5396
- * optional string repository = 1;
5397
- * @return {string}
5398
- */
5399
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.getRepository = function() {
5400
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5401
- };
5402
-
5403
-
5404
- /**
5405
- * @param {string} value
5406
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult} returns this
5407
- */
5408
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.setRepository = function(value) {
5409
- return jspb.Message.setProto3StringField(this, 1, value);
5410
- };
5411
-
5412
-
5413
- /**
5414
- * optional int64 number = 2;
5415
- * @return {number}
5416
- */
5417
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.getNumber = function() {
5418
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5419
- };
5420
-
5421
-
5422
- /**
5423
- * @param {number} value
5424
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult} returns this
5425
- */
5426
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.setNumber = function(value) {
5427
- return jspb.Message.setProto3IntField(this, 2, value);
5428
- };
5429
-
5430
-
5431
- /**
5432
- * optional string url = 3;
5433
- * @return {string}
5434
- */
5435
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.getUrl = function() {
5436
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5437
- };
5438
-
5439
-
5440
- /**
5441
- * @param {string} value
5442
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult} returns this
5443
- */
5444
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.setUrl = function(value) {
5445
- return jspb.Message.setProto3StringField(this, 3, value);
5446
- };
5447
-
5448
-
5449
- /**
5450
- * optional string error_message = 4;
5451
- * @return {string}
5452
- */
5453
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.getErrorMessage = function() {
5454
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5455
- };
5456
-
5457
-
5458
- /**
5459
- * @param {string} value
5460
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult} returns this
5461
- */
5462
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.setErrorMessage = function(value) {
5463
- return jspb.Message.setProto3StringField(this, 4, value);
5464
- };
5465
-
5466
-
5467
- /**
5468
- * optional bool already_installed = 5;
5469
- * @return {boolean}
5470
- */
5471
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.getAlreadyInstalled = function() {
5472
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
5473
- };
5474
-
5475
-
5476
- /**
5477
- * @param {boolean} value
5478
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult} returns this
5479
- */
5480
- proto.gateway.web.v1.InstallTermaPullRequestResult.prototype.setAlreadyInstalled = function(value) {
5481
- return jspb.Message.setProto3BooleanField(this, 5, value);
5482
- };
5483
-
5484
-
5485
-
5486
- /**
5487
- * List of repeated fields within this message type.
5488
- * @private {!Array<number>}
5489
- * @const
5490
- */
5491
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.repeatedFields_ = [2];
5492
-
5493
-
5494
-
5495
- if (jspb.Message.GENERATE_TO_OBJECT) {
5496
- /**
5497
- * Creates an object representation of this proto.
5498
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
5499
- * Optional fields that are not set will be set to undefined.
5500
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5501
- * For the list of reserved names please see:
5502
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5503
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5504
- * JSPB instance for transitional soy proto support:
5505
- * http://goto/soy-param-migration
5506
- * @return {!Object}
5507
- */
5508
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.toObject = function(opt_includeInstance) {
5509
- return proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.toObject(opt_includeInstance, this);
5510
- };
5511
-
5512
-
5513
- /**
5514
- * Static version of the {@see toObject} method.
5515
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5516
- * the JSPB instance for transitional soy proto support:
5517
- * http://goto/soy-param-migration
5518
- * @param {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} msg The msg instance to transform.
5519
- * @return {!Object}
5520
- * @suppress {unusedLocalVariables} f is only used for nested messages
5521
- */
5522
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.toObject = function(includeInstance, msg) {
5523
- var f, obj = {
5524
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
5525
- resultsList: jspb.Message.toObjectList(msg.getResultsList(),
5526
- proto.gateway.web.v1.InstallTermaPullRequestResult.toObject, includeInstance)
5527
- };
5528
-
5529
- if (includeInstance) {
5530
- obj.$jspbMessageInstance = msg;
5531
- }
5532
- return obj;
5533
- };
5534
- }
5535
-
5536
-
5537
- /**
5538
- * Deserializes binary data (in protobuf wire format).
5539
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5540
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse}
5541
- */
5542
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.deserializeBinary = function(bytes) {
5543
- var reader = new jspb.BinaryReader(bytes);
5544
- var msg = new proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse;
5545
- return proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.deserializeBinaryFromReader(msg, reader);
5546
- };
5547
-
5548
-
5549
- /**
5550
- * Deserializes binary data (in protobuf wire format) from the
5551
- * given reader into the given message object.
5552
- * @param {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} msg The message object to deserialize into.
5553
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5554
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse}
5555
- */
5556
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.deserializeBinaryFromReader = function(msg, reader) {
5557
- while (reader.nextField()) {
5558
- if (reader.isEndGroup()) {
5559
- break;
5560
- }
5561
- var field = reader.getFieldNumber();
5562
- switch (field) {
5563
- case 1:
5564
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
5565
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
5566
- msg.setStatus(value);
5567
- break;
5568
- case 2:
5569
- var value = new proto.gateway.web.v1.InstallTermaPullRequestResult;
5570
- reader.readMessage(value,proto.gateway.web.v1.InstallTermaPullRequestResult.deserializeBinaryFromReader);
5571
- msg.addResults(value);
5572
- break;
5573
- default:
5574
- reader.skipField();
5575
- break;
5576
- }
5577
- }
5578
- return msg;
5579
- };
5580
-
5581
-
5582
- /**
5583
- * Serializes the message to binary data (in protobuf wire format).
5584
- * @return {!Uint8Array}
5585
- */
5586
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.serializeBinary = function() {
5587
- var writer = new jspb.BinaryWriter();
5588
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.serializeBinaryToWriter(this, writer);
5589
- return writer.getResultBuffer();
5590
- };
5591
-
5592
-
5593
- /**
5594
- * Serializes the given message to binary data (in protobuf wire
5595
- * format), writing to the given BinaryWriter.
5596
- * @param {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} message
5597
- * @param {!jspb.BinaryWriter} writer
5598
- * @suppress {unusedLocalVariables} f is only used for nested messages
5599
- */
5600
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.serializeBinaryToWriter = function(message, writer) {
5601
- var f = undefined;
5602
- f = message.getStatus();
5603
- if (f != null) {
5604
- writer.writeMessage(
5605
- 1,
5606
- f,
5607
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
5608
- );
5609
- }
5610
- f = message.getResultsList();
5611
- if (f.length > 0) {
5612
- writer.writeRepeatedMessage(
5613
- 2,
5614
- f,
5615
- proto.gateway.web.v1.InstallTermaPullRequestResult.serializeBinaryToWriter
5616
- );
5617
- }
5618
- };
5619
-
5620
-
5621
- /**
5622
- * optional gateway.common.v1.ResponseStatus status = 1;
5623
- * @return {?proto.gateway.common.v1.ResponseStatus}
5624
- */
5625
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.getStatus = function() {
5626
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
5627
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
5628
- };
5629
-
5630
-
5631
- /**
5632
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
5633
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} returns this
5634
- */
5635
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.setStatus = function(value) {
5636
- return jspb.Message.setWrapperField(this, 1, value);
5637
- };
5638
-
5639
-
5640
- /**
5641
- * Clears the message field making it undefined.
5642
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} returns this
5643
- */
5644
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.clearStatus = function() {
5645
- return this.setStatus(undefined);
5646
- };
5647
-
5648
-
5649
- /**
5650
- * Returns whether this field is set.
5651
- * @return {boolean}
5652
- */
5653
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.hasStatus = function() {
5654
- return jspb.Message.getField(this, 1) != null;
5655
- };
5656
-
5657
-
5658
- /**
5659
- * repeated InstallTermaPullRequestResult results = 2;
5660
- * @return {!Array<!proto.gateway.web.v1.InstallTermaPullRequestResult>}
5661
- */
5662
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.getResultsList = function() {
5663
- return /** @type{!Array<!proto.gateway.web.v1.InstallTermaPullRequestResult>} */ (
5664
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.InstallTermaPullRequestResult, 2));
5665
- };
5666
-
5667
-
5668
- /**
5669
- * @param {!Array<!proto.gateway.web.v1.InstallTermaPullRequestResult>} value
5670
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} returns this
5671
- */
5672
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.setResultsList = function(value) {
5673
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
5674
- };
5675
-
5676
-
5677
- /**
5678
- * @param {!proto.gateway.web.v1.InstallTermaPullRequestResult=} opt_value
5679
- * @param {number=} opt_index
5680
- * @return {!proto.gateway.web.v1.InstallTermaPullRequestResult}
5681
- */
5682
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.addResults = function(opt_value, opt_index) {
5683
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.InstallTermaPullRequestResult, opt_index);
5684
- };
5685
-
5686
-
5687
- /**
5688
- * Clears the list making it empty but non-null.
5689
- * @return {!proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse} returns this
5690
- */
5691
- proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.clearResultsList = function() {
5692
- return this.setResultsList([]);
5693
- };
5694
-
5695
-
5696
-
5697
-
5698
-
5699
- if (jspb.Message.GENERATE_TO_OBJECT) {
5700
- /**
5701
- * Creates an object representation of this proto.
5702
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
5703
- * Optional fields that are not set will be set to undefined.
5704
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5705
- * For the list of reserved names please see:
5706
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5707
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5708
- * JSPB instance for transitional soy proto support:
5709
- * http://goto/soy-param-migration
5710
- * @return {!Object}
5711
- */
5712
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.toObject = function(opt_includeInstance) {
5713
- return proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.toObject(opt_includeInstance, this);
5714
- };
5715
-
5716
-
5717
- /**
5718
- * Static version of the {@see toObject} method.
5719
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5720
- * the JSPB instance for transitional soy proto support:
5721
- * http://goto/soy-param-migration
5722
- * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} msg The msg instance to transform.
5723
- * @return {!Object}
5724
- * @suppress {unusedLocalVariables} f is only used for nested messages
5725
- */
5726
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.toObject = function(includeInstance, msg) {
5727
- var f, obj = {
5728
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5729
- projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
5730
- };
5731
-
5732
- if (includeInstance) {
5733
- obj.$jspbMessageInstance = msg;
5734
- }
5735
- return obj;
5736
- };
5737
- }
5738
-
5739
-
5740
- /**
5741
- * Deserializes binary data (in protobuf wire format).
5742
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5743
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest}
5744
- */
5745
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.deserializeBinary = function(bytes) {
5746
- var reader = new jspb.BinaryReader(bytes);
5747
- var msg = new proto.gateway.web.v1.ListInstallTermaPullRequestsRequest;
5748
- return proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.deserializeBinaryFromReader(msg, reader);
5749
- };
5750
-
5751
-
5752
- /**
5753
- * Deserializes binary data (in protobuf wire format) from the
5754
- * given reader into the given message object.
5755
- * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} msg The message object to deserialize into.
5756
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5757
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest}
5758
- */
5759
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.deserializeBinaryFromReader = function(msg, reader) {
5760
- while (reader.nextField()) {
5761
- if (reader.isEndGroup()) {
5762
- break;
5763
- }
5764
- var field = reader.getFieldNumber();
5765
- switch (field) {
5766
- case 1:
5767
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5768
- msg.setOrganizationId(value);
5769
- break;
5770
- case 2:
5771
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
5772
- msg.setProjectId(value);
5773
- break;
5774
- default:
5775
- reader.skipField();
5776
- break;
5777
- }
5778
- }
5779
- return msg;
3477
+ */
3478
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.getRepositoryFullName = function() {
3479
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5780
3480
  };
5781
3481
 
5782
3482
 
5783
3483
  /**
5784
- * Serializes the message to binary data (in protobuf wire format).
5785
- * @return {!Uint8Array}
3484
+ * @param {string} value
3485
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
5786
3486
  */
5787
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.serializeBinary = function() {
5788
- var writer = new jspb.BinaryWriter();
5789
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.serializeBinaryToWriter(this, writer);
5790
- return writer.getResultBuffer();
3487
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.setRepositoryFullName = function(value) {
3488
+ return jspb.Message.setProto3StringField(this, 2, value);
5791
3489
  };
5792
3490
 
5793
3491
 
5794
3492
  /**
5795
- * Serializes the given message to binary data (in protobuf wire
5796
- * format), writing to the given BinaryWriter.
5797
- * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} message
5798
- * @param {!jspb.BinaryWriter} writer
5799
- * @suppress {unusedLocalVariables} f is only used for nested messages
3493
+ * repeated string paths = 3;
3494
+ * @return {!Array<string>}
5800
3495
  */
5801
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.serializeBinaryToWriter = function(message, writer) {
5802
- var f = undefined;
5803
- f = message.getOrganizationId();
5804
- if (f.length > 0) {
5805
- writer.writeString(
5806
- 1,
5807
- f
5808
- );
5809
- }
5810
- f = message.getProjectId();
5811
- if (f.length > 0) {
5812
- writer.writeString(
5813
- 2,
5814
- f
5815
- );
5816
- }
3496
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.getPathsList = function() {
3497
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
5817
3498
  };
5818
3499
 
5819
3500
 
5820
3501
  /**
5821
- * optional string organization_id = 1;
5822
- * @return {string}
3502
+ * @param {!Array<string>} value
3503
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
5823
3504
  */
5824
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.getOrganizationId = function() {
5825
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3505
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.setPathsList = function(value) {
3506
+ return jspb.Message.setField(this, 3, value || []);
5826
3507
  };
5827
3508
 
5828
3509
 
5829
3510
  /**
5830
3511
  * @param {string} value
5831
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} returns this
3512
+ * @param {number=} opt_index
3513
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
5832
3514
  */
5833
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.setOrganizationId = function(value) {
5834
- return jspb.Message.setProto3StringField(this, 1, value);
3515
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.addPaths = function(value, opt_index) {
3516
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
3517
+ };
3518
+
3519
+
3520
+ /**
3521
+ * Clears the list making it empty but non-null.
3522
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
3523
+ */
3524
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.clearPathsList = function() {
3525
+ return this.setPathsList([]);
5835
3526
  };
5836
3527
 
5837
3528
 
5838
3529
  /**
5839
- * optional string project_id = 2;
3530
+ * optional string commit_sha = 4;
5840
3531
  * @return {string}
5841
3532
  */
5842
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.getProjectId = function() {
5843
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3533
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.getCommitSha = function() {
3534
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5844
3535
  };
5845
3536
 
5846
3537
 
5847
3538
  /**
5848
3539
  * @param {string} value
5849
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} returns this
3540
+ * @return {!proto.gateway.web.v1.GitHubFilesRequest} returns this
5850
3541
  */
5851
- proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.setProjectId = function(value) {
5852
- return jspb.Message.setProto3StringField(this, 2, value);
3542
+ proto.gateway.web.v1.GitHubFilesRequest.prototype.setCommitSha = function(value) {
3543
+ return jspb.Message.setProto3StringField(this, 4, value);
5853
3544
  };
5854
3545
 
5855
3546
 
@@ -5869,8 +3560,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5869
3560
  * http://goto/soy-param-migration
5870
3561
  * @return {!Object}
5871
3562
  */
5872
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.toObject = function(opt_includeInstance) {
5873
- return proto.gateway.web.v1.InstallTermaPullRequest.toObject(opt_includeInstance, this);
3563
+ proto.gateway.web.v1.GitHubFileResult.prototype.toObject = function(opt_includeInstance) {
3564
+ return proto.gateway.web.v1.GitHubFileResult.toObject(opt_includeInstance, this);
5874
3565
  };
5875
3566
 
5876
3567
 
@@ -5879,17 +3570,17 @@ proto.gateway.web.v1.InstallTermaPullRequest.prototype.toObject = function(opt_i
5879
3570
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5880
3571
  * the JSPB instance for transitional soy proto support:
5881
3572
  * http://goto/soy-param-migration
5882
- * @param {!proto.gateway.web.v1.InstallTermaPullRequest} msg The msg instance to transform.
3573
+ * @param {!proto.gateway.web.v1.GitHubFileResult} msg The msg instance to transform.
5883
3574
  * @return {!Object}
5884
3575
  * @suppress {unusedLocalVariables} f is only used for nested messages
5885
3576
  */
5886
- proto.gateway.web.v1.InstallTermaPullRequest.toObject = function(includeInstance, msg) {
3577
+ proto.gateway.web.v1.GitHubFileResult.toObject = function(includeInstance, msg) {
5887
3578
  var f, obj = {
5888
- repository: jspb.Message.getFieldWithDefault(msg, 1, ""),
5889
- number: jspb.Message.getFieldWithDefault(msg, 2, 0),
5890
- url: jspb.Message.getFieldWithDefault(msg, 3, ""),
5891
- state: jspb.Message.getFieldWithDefault(msg, 4, ""),
5892
- updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
3579
+ path: jspb.Message.getFieldWithDefault(msg, 1, ""),
3580
+ code: jspb.Message.getFieldWithDefault(msg, 2, 0),
3581
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 3, ""),
3582
+ blobSha: jspb.Message.getFieldWithDefault(msg, 4, ""),
3583
+ content: jspb.Message.getFieldWithDefault(msg, 5, "")
5893
3584
  };
5894
3585
 
5895
3586
  if (includeInstance) {
@@ -5903,23 +3594,23 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
5903
3594
  /**
5904
3595
  * Deserializes binary data (in protobuf wire format).
5905
3596
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5906
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest}
3597
+ * @return {!proto.gateway.web.v1.GitHubFileResult}
5907
3598
  */
5908
- proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinary = function(bytes) {
3599
+ proto.gateway.web.v1.GitHubFileResult.deserializeBinary = function(bytes) {
5909
3600
  var reader = new jspb.BinaryReader(bytes);
5910
- var msg = new proto.gateway.web.v1.InstallTermaPullRequest;
5911
- return proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader(msg, reader);
3601
+ var msg = new proto.gateway.web.v1.GitHubFileResult;
3602
+ return proto.gateway.web.v1.GitHubFileResult.deserializeBinaryFromReader(msg, reader);
5912
3603
  };
5913
3604
 
5914
3605
 
5915
3606
  /**
5916
3607
  * Deserializes binary data (in protobuf wire format) from the
5917
3608
  * given reader into the given message object.
5918
- * @param {!proto.gateway.web.v1.InstallTermaPullRequest} msg The message object to deserialize into.
3609
+ * @param {!proto.gateway.web.v1.GitHubFileResult} msg The message object to deserialize into.
5919
3610
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5920
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest}
3611
+ * @return {!proto.gateway.web.v1.GitHubFileResult}
5921
3612
  */
5922
- proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader = function(msg, reader) {
3613
+ proto.gateway.web.v1.GitHubFileResult.deserializeBinaryFromReader = function(msg, reader) {
5923
3614
  while (reader.nextField()) {
5924
3615
  if (reader.isEndGroup()) {
5925
3616
  break;
@@ -5928,23 +3619,23 @@ proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader = funct
5928
3619
  switch (field) {
5929
3620
  case 1:
5930
3621
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
5931
- msg.setRepository(value);
3622
+ msg.setPath(value);
5932
3623
  break;
5933
3624
  case 2:
5934
- var value = /** @type {number} */ (reader.readInt64());
5935
- msg.setNumber(value);
3625
+ var value = /** @type {!proto.gateway.web.v1.GitHubFileResult.Code} */ (reader.readEnum());
3626
+ msg.setCode(value);
5936
3627
  break;
5937
3628
  case 3:
5938
3629
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
5939
- msg.setUrl(value);
3630
+ msg.setErrorMessage(value);
5940
3631
  break;
5941
3632
  case 4:
5942
3633
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
5943
- msg.setState(value);
3634
+ msg.setBlobSha(value);
5944
3635
  break;
5945
3636
  case 5:
5946
3637
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
5947
- msg.setUpdatedAt(value);
3638
+ msg.setContent(value);
5948
3639
  break;
5949
3640
  default:
5950
3641
  reader.skipField();
@@ -5959,9 +3650,9 @@ proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader = funct
5959
3650
  * Serializes the message to binary data (in protobuf wire format).
5960
3651
  * @return {!Uint8Array}
5961
3652
  */
5962
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.serializeBinary = function() {
3653
+ proto.gateway.web.v1.GitHubFileResult.prototype.serializeBinary = function() {
5963
3654
  var writer = new jspb.BinaryWriter();
5964
- proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter(this, writer);
3655
+ proto.gateway.web.v1.GitHubFileResult.serializeBinaryToWriter(this, writer);
5965
3656
  return writer.getResultBuffer();
5966
3657
  };
5967
3658
 
@@ -5969,41 +3660,41 @@ proto.gateway.web.v1.InstallTermaPullRequest.prototype.serializeBinary = functio
5969
3660
  /**
5970
3661
  * Serializes the given message to binary data (in protobuf wire
5971
3662
  * format), writing to the given BinaryWriter.
5972
- * @param {!proto.gateway.web.v1.InstallTermaPullRequest} message
3663
+ * @param {!proto.gateway.web.v1.GitHubFileResult} message
5973
3664
  * @param {!jspb.BinaryWriter} writer
5974
3665
  * @suppress {unusedLocalVariables} f is only used for nested messages
5975
3666
  */
5976
- proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter = function(message, writer) {
3667
+ proto.gateway.web.v1.GitHubFileResult.serializeBinaryToWriter = function(message, writer) {
5977
3668
  var f = undefined;
5978
- f = message.getRepository();
3669
+ f = message.getPath();
5979
3670
  if (f.length > 0) {
5980
3671
  writer.writeString(
5981
3672
  1,
5982
3673
  f
5983
3674
  );
5984
3675
  }
5985
- f = message.getNumber();
5986
- if (f !== 0) {
5987
- writer.writeInt64(
3676
+ f = message.getCode();
3677
+ if (f !== 0.0) {
3678
+ writer.writeEnum(
5988
3679
  2,
5989
3680
  f
5990
3681
  );
5991
3682
  }
5992
- f = message.getUrl();
3683
+ f = message.getErrorMessage();
5993
3684
  if (f.length > 0) {
5994
3685
  writer.writeString(
5995
3686
  3,
5996
3687
  f
5997
3688
  );
5998
3689
  }
5999
- f = message.getState();
3690
+ f = message.getBlobSha();
6000
3691
  if (f.length > 0) {
6001
3692
  writer.writeString(
6002
3693
  4,
6003
3694
  f
6004
3695
  );
6005
3696
  }
6006
- f = message.getUpdatedAt();
3697
+ f = message.getContent();
6007
3698
  if (f.length > 0) {
6008
3699
  writer.writeString(
6009
3700
  5,
@@ -6014,91 +3705,103 @@ proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter = function(
6014
3705
 
6015
3706
 
6016
3707
  /**
6017
- * optional string repository = 1;
3708
+ * @enum {number}
3709
+ */
3710
+ proto.gateway.web.v1.GitHubFileResult.Code = {
3711
+ CODE_UNSPECIFIED: 0,
3712
+ CODE_OK: 1,
3713
+ CODE_NOT_FOUND: 2,
3714
+ CODE_UNSUPPORTED: 3,
3715
+ CODE_TOO_LARGE: 4,
3716
+ CODE_UNAVAILABLE: 5
3717
+ };
3718
+
3719
+ /**
3720
+ * optional string path = 1;
6018
3721
  * @return {string}
6019
3722
  */
6020
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.getRepository = function() {
3723
+ proto.gateway.web.v1.GitHubFileResult.prototype.getPath = function() {
6021
3724
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6022
3725
  };
6023
3726
 
6024
3727
 
6025
3728
  /**
6026
3729
  * @param {string} value
6027
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
3730
+ * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
6028
3731
  */
6029
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.setRepository = function(value) {
3732
+ proto.gateway.web.v1.GitHubFileResult.prototype.setPath = function(value) {
6030
3733
  return jspb.Message.setProto3StringField(this, 1, value);
6031
3734
  };
6032
3735
 
6033
3736
 
6034
3737
  /**
6035
- * optional int64 number = 2;
6036
- * @return {number}
3738
+ * optional Code code = 2;
3739
+ * @return {!proto.gateway.web.v1.GitHubFileResult.Code}
6037
3740
  */
6038
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.getNumber = function() {
6039
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3741
+ proto.gateway.web.v1.GitHubFileResult.prototype.getCode = function() {
3742
+ return /** @type {!proto.gateway.web.v1.GitHubFileResult.Code} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6040
3743
  };
6041
3744
 
6042
3745
 
6043
3746
  /**
6044
- * @param {number} value
6045
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
3747
+ * @param {!proto.gateway.web.v1.GitHubFileResult.Code} value
3748
+ * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
6046
3749
  */
6047
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.setNumber = function(value) {
6048
- return jspb.Message.setProto3IntField(this, 2, value);
3750
+ proto.gateway.web.v1.GitHubFileResult.prototype.setCode = function(value) {
3751
+ return jspb.Message.setProto3EnumField(this, 2, value);
6049
3752
  };
6050
3753
 
6051
3754
 
6052
3755
  /**
6053
- * optional string url = 3;
3756
+ * optional string error_message = 3;
6054
3757
  * @return {string}
6055
3758
  */
6056
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.getUrl = function() {
3759
+ proto.gateway.web.v1.GitHubFileResult.prototype.getErrorMessage = function() {
6057
3760
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6058
3761
  };
6059
3762
 
6060
3763
 
6061
3764
  /**
6062
3765
  * @param {string} value
6063
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
3766
+ * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
6064
3767
  */
6065
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.setUrl = function(value) {
3768
+ proto.gateway.web.v1.GitHubFileResult.prototype.setErrorMessage = function(value) {
6066
3769
  return jspb.Message.setProto3StringField(this, 3, value);
6067
3770
  };
6068
3771
 
6069
3772
 
6070
3773
  /**
6071
- * optional string state = 4;
3774
+ * optional string blob_sha = 4;
6072
3775
  * @return {string}
6073
3776
  */
6074
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.getState = function() {
3777
+ proto.gateway.web.v1.GitHubFileResult.prototype.getBlobSha = function() {
6075
3778
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6076
3779
  };
6077
3780
 
6078
3781
 
6079
3782
  /**
6080
3783
  * @param {string} value
6081
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
3784
+ * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
6082
3785
  */
6083
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.setState = function(value) {
3786
+ proto.gateway.web.v1.GitHubFileResult.prototype.setBlobSha = function(value) {
6084
3787
  return jspb.Message.setProto3StringField(this, 4, value);
6085
3788
  };
6086
3789
 
6087
3790
 
6088
3791
  /**
6089
- * optional string updated_at = 5;
3792
+ * optional string content = 5;
6090
3793
  * @return {string}
6091
3794
  */
6092
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.getUpdatedAt = function() {
3795
+ proto.gateway.web.v1.GitHubFileResult.prototype.getContent = function() {
6093
3796
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6094
3797
  };
6095
3798
 
6096
3799
 
6097
3800
  /**
6098
3801
  * @param {string} value
6099
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
3802
+ * @return {!proto.gateway.web.v1.GitHubFileResult} returns this
6100
3803
  */
6101
- proto.gateway.web.v1.InstallTermaPullRequest.prototype.setUpdatedAt = function(value) {
3804
+ proto.gateway.web.v1.GitHubFileResult.prototype.setContent = function(value) {
6102
3805
  return jspb.Message.setProto3StringField(this, 5, value);
6103
3806
  };
6104
3807
 
@@ -6109,7 +3812,7 @@ proto.gateway.web.v1.InstallTermaPullRequest.prototype.setUpdatedAt = function(v
6109
3812
  * @private {!Array<number>}
6110
3813
  * @const
6111
3814
  */
6112
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.repeatedFields_ = [2];
3815
+ proto.gateway.web.v1.GitHubFilesResponse.repeatedFields_ = [4];
6113
3816
 
6114
3817
 
6115
3818
 
@@ -6126,8 +3829,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
6126
3829
  * http://goto/soy-param-migration
6127
3830
  * @return {!Object}
6128
3831
  */
6129
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.toObject = function(opt_includeInstance) {
6130
- return proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.toObject(opt_includeInstance, this);
3832
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.toObject = function(opt_includeInstance) {
3833
+ return proto.gateway.web.v1.GitHubFilesResponse.toObject(opt_includeInstance, this);
6131
3834
  };
6132
3835
 
6133
3836
 
@@ -6136,15 +3839,17 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.toObject = f
6136
3839
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6137
3840
  * the JSPB instance for transitional soy proto support:
6138
3841
  * http://goto/soy-param-migration
6139
- * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} msg The msg instance to transform.
3842
+ * @param {!proto.gateway.web.v1.GitHubFilesResponse} msg The msg instance to transform.
6140
3843
  * @return {!Object}
6141
3844
  * @suppress {unusedLocalVariables} f is only used for nested messages
6142
3845
  */
6143
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.toObject = function(includeInstance, msg) {
3846
+ proto.gateway.web.v1.GitHubFilesResponse.toObject = function(includeInstance, msg) {
6144
3847
  var f, obj = {
6145
3848
  status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
6146
- pullRequestsList: jspb.Message.toObjectList(msg.getPullRequestsList(),
6147
- proto.gateway.web.v1.InstallTermaPullRequest.toObject, includeInstance)
3849
+ repositoryFullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3850
+ commitSha: jspb.Message.getFieldWithDefault(msg, 3, ""),
3851
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
3852
+ proto.gateway.web.v1.GitHubFileResult.toObject, includeInstance)
6148
3853
  };
6149
3854
 
6150
3855
  if (includeInstance) {
@@ -6158,23 +3863,23 @@ pullRequestsList: jspb.Message.toObjectList(msg.getPullRequestsList(),
6158
3863
  /**
6159
3864
  * Deserializes binary data (in protobuf wire format).
6160
3865
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6161
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse}
3866
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse}
6162
3867
  */
6163
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinary = function(bytes) {
3868
+ proto.gateway.web.v1.GitHubFilesResponse.deserializeBinary = function(bytes) {
6164
3869
  var reader = new jspb.BinaryReader(bytes);
6165
- var msg = new proto.gateway.web.v1.ListInstallTermaPullRequestsResponse;
6166
- return proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinaryFromReader(msg, reader);
3870
+ var msg = new proto.gateway.web.v1.GitHubFilesResponse;
3871
+ return proto.gateway.web.v1.GitHubFilesResponse.deserializeBinaryFromReader(msg, reader);
6167
3872
  };
6168
3873
 
6169
3874
 
6170
3875
  /**
6171
3876
  * Deserializes binary data (in protobuf wire format) from the
6172
3877
  * given reader into the given message object.
6173
- * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} msg The message object to deserialize into.
3878
+ * @param {!proto.gateway.web.v1.GitHubFilesResponse} msg The message object to deserialize into.
6174
3879
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6175
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse}
3880
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse}
6176
3881
  */
6177
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinaryFromReader = function(msg, reader) {
3882
+ proto.gateway.web.v1.GitHubFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
6178
3883
  while (reader.nextField()) {
6179
3884
  if (reader.isEndGroup()) {
6180
3885
  break;
@@ -6187,9 +3892,17 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinaryFromR
6187
3892
  msg.setStatus(value);
6188
3893
  break;
6189
3894
  case 2:
6190
- var value = new proto.gateway.web.v1.InstallTermaPullRequest;
6191
- reader.readMessage(value,proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader);
6192
- msg.addPullRequests(value);
3895
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3896
+ msg.setRepositoryFullName(value);
3897
+ break;
3898
+ case 3:
3899
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3900
+ msg.setCommitSha(value);
3901
+ break;
3902
+ case 4:
3903
+ var value = new proto.gateway.web.v1.GitHubFileResult;
3904
+ reader.readMessage(value,proto.gateway.web.v1.GitHubFileResult.deserializeBinaryFromReader);
3905
+ msg.addFiles(value);
6193
3906
  break;
6194
3907
  default:
6195
3908
  reader.skipField();
@@ -6204,9 +3917,9 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinaryFromR
6204
3917
  * Serializes the message to binary data (in protobuf wire format).
6205
3918
  * @return {!Uint8Array}
6206
3919
  */
6207
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.serializeBinary = function() {
3920
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.serializeBinary = function() {
6208
3921
  var writer = new jspb.BinaryWriter();
6209
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.serializeBinaryToWriter(this, writer);
3922
+ proto.gateway.web.v1.GitHubFilesResponse.serializeBinaryToWriter(this, writer);
6210
3923
  return writer.getResultBuffer();
6211
3924
  };
6212
3925
 
@@ -6214,11 +3927,11 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.serializeBin
6214
3927
  /**
6215
3928
  * Serializes the given message to binary data (in protobuf wire
6216
3929
  * format), writing to the given BinaryWriter.
6217
- * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} message
3930
+ * @param {!proto.gateway.web.v1.GitHubFilesResponse} message
6218
3931
  * @param {!jspb.BinaryWriter} writer
6219
3932
  * @suppress {unusedLocalVariables} f is only used for nested messages
6220
3933
  */
6221
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.serializeBinaryToWriter = function(message, writer) {
3934
+ proto.gateway.web.v1.GitHubFilesResponse.serializeBinaryToWriter = function(message, writer) {
6222
3935
  var f = undefined;
6223
3936
  f = message.getStatus();
6224
3937
  if (f != null) {
@@ -6228,12 +3941,26 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.serializeBinaryToWrite
6228
3941
  proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
6229
3942
  );
6230
3943
  }
6231
- f = message.getPullRequestsList();
3944
+ f = message.getRepositoryFullName();
6232
3945
  if (f.length > 0) {
6233
- writer.writeRepeatedMessage(
3946
+ writer.writeString(
6234
3947
  2,
3948
+ f
3949
+ );
3950
+ }
3951
+ f = message.getCommitSha();
3952
+ if (f.length > 0) {
3953
+ writer.writeString(
3954
+ 3,
3955
+ f
3956
+ );
3957
+ }
3958
+ f = message.getFilesList();
3959
+ if (f.length > 0) {
3960
+ writer.writeRepeatedMessage(
3961
+ 4,
6235
3962
  f,
6236
- proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter
3963
+ proto.gateway.web.v1.GitHubFileResult.serializeBinaryToWriter
6237
3964
  );
6238
3965
  }
6239
3966
  };
@@ -6243,7 +3970,7 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.serializeBinaryToWrite
6243
3970
  * optional gateway.common.v1.ResponseStatus status = 1;
6244
3971
  * @return {?proto.gateway.common.v1.ResponseStatus}
6245
3972
  */
6246
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.getStatus = function() {
3973
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.getStatus = function() {
6247
3974
  return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
6248
3975
  jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
6249
3976
  };
@@ -6251,18 +3978,18 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.getStatus =
6251
3978
 
6252
3979
  /**
6253
3980
  * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
6254
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
3981
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
6255
3982
  */
6256
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.setStatus = function(value) {
3983
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.setStatus = function(value) {
6257
3984
  return jspb.Message.setWrapperField(this, 1, value);
6258
3985
  };
6259
3986
 
6260
3987
 
6261
3988
  /**
6262
3989
  * Clears the message field making it undefined.
6263
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
3990
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
6264
3991
  */
6265
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.clearStatus = function() {
3992
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.clearStatus = function() {
6266
3993
  return this.setStatus(undefined);
6267
3994
  };
6268
3995
 
@@ -6271,46 +3998,82 @@ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.clearStatus
6271
3998
  * Returns whether this field is set.
6272
3999
  * @return {boolean}
6273
4000
  */
6274
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.hasStatus = function() {
4001
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.hasStatus = function() {
6275
4002
  return jspb.Message.getField(this, 1) != null;
6276
4003
  };
6277
4004
 
6278
4005
 
6279
4006
  /**
6280
- * repeated InstallTermaPullRequest pull_requests = 2;
6281
- * @return {!Array<!proto.gateway.web.v1.InstallTermaPullRequest>}
4007
+ * optional string repository_full_name = 2;
4008
+ * @return {string}
4009
+ */
4010
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.getRepositoryFullName = function() {
4011
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4012
+ };
4013
+
4014
+
4015
+ /**
4016
+ * @param {string} value
4017
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4018
+ */
4019
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.setRepositoryFullName = function(value) {
4020
+ return jspb.Message.setProto3StringField(this, 2, value);
4021
+ };
4022
+
4023
+
4024
+ /**
4025
+ * optional string commit_sha = 3;
4026
+ * @return {string}
4027
+ */
4028
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.getCommitSha = function() {
4029
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4030
+ };
4031
+
4032
+
4033
+ /**
4034
+ * @param {string} value
4035
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
4036
+ */
4037
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.setCommitSha = function(value) {
4038
+ return jspb.Message.setProto3StringField(this, 3, value);
4039
+ };
4040
+
4041
+
4042
+ /**
4043
+ * repeated GitHubFileResult files = 4;
4044
+ * @return {!Array<!proto.gateway.web.v1.GitHubFileResult>}
6282
4045
  */
6283
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.getPullRequestsList = function() {
6284
- return /** @type{!Array<!proto.gateway.web.v1.InstallTermaPullRequest>} */ (
6285
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.InstallTermaPullRequest, 2));
4046
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.getFilesList = function() {
4047
+ return /** @type{!Array<!proto.gateway.web.v1.GitHubFileResult>} */ (
4048
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.GitHubFileResult, 4));
6286
4049
  };
6287
4050
 
6288
4051
 
6289
4052
  /**
6290
- * @param {!Array<!proto.gateway.web.v1.InstallTermaPullRequest>} value
6291
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
4053
+ * @param {!Array<!proto.gateway.web.v1.GitHubFileResult>} value
4054
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
6292
4055
  */
6293
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.setPullRequestsList = function(value) {
6294
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
4056
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.setFilesList = function(value) {
4057
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
6295
4058
  };
6296
4059
 
6297
4060
 
6298
4061
  /**
6299
- * @param {!proto.gateway.web.v1.InstallTermaPullRequest=} opt_value
4062
+ * @param {!proto.gateway.web.v1.GitHubFileResult=} opt_value
6300
4063
  * @param {number=} opt_index
6301
- * @return {!proto.gateway.web.v1.InstallTermaPullRequest}
4064
+ * @return {!proto.gateway.web.v1.GitHubFileResult}
6302
4065
  */
6303
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.addPullRequests = function(opt_value, opt_index) {
6304
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.InstallTermaPullRequest, opt_index);
4066
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.addFiles = function(opt_value, opt_index) {
4067
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.GitHubFileResult, opt_index);
6305
4068
  };
6306
4069
 
6307
4070
 
6308
4071
  /**
6309
4072
  * Clears the list making it empty but non-null.
6310
- * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
4073
+ * @return {!proto.gateway.web.v1.GitHubFilesResponse} returns this
6311
4074
  */
6312
- proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.clearPullRequestsList = function() {
6313
- return this.setPullRequestsList([]);
4075
+ proto.gateway.web.v1.GitHubFilesResponse.prototype.clearFilesList = function() {
4076
+ return this.setFilesList([]);
6314
4077
  };
6315
4078
 
6316
4079