@miradorlabs/web-grpc 3.10.0 → 3.12.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.
@@ -40,7 +40,10 @@ goog.exportSymbol('proto.gateway.web.v1.GitHubRepository', null, global);
40
40
  goog.exportSymbol('proto.gateway.web.v1.GitHubScopeRequest', null, global);
41
41
  goog.exportSymbol('proto.gateway.web.v1.GitHubStatusResponse', null, global);
42
42
  goog.exportSymbol('proto.gateway.web.v1.GitHubWebhookRequest', null, global);
43
+ goog.exportSymbol('proto.gateway.web.v1.InstallTermaPullRequest', null, global);
43
44
  goog.exportSymbol('proto.gateway.web.v1.InstallTermaPullRequestResult', null, global);
45
+ goog.exportSymbol('proto.gateway.web.v1.ListInstallTermaPullRequestsRequest', null, global);
46
+ goog.exportSymbol('proto.gateway.web.v1.ListInstallTermaPullRequestsResponse', null, global);
44
47
  /**
45
48
  * Generated by JsPbCodeGenerator.
46
49
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -524,6 +527,69 @@ if (goog.DEBUG && !COMPILED) {
524
527
  */
525
528
  proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.displayName = 'proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse';
526
529
  }
530
+ /**
531
+ * Generated by JsPbCodeGenerator.
532
+ * @param {Array=} opt_data Optional initial data array, typically from a
533
+ * server response, or constructed directly in Javascript. The array is used
534
+ * in place and becomes part of the constructed object. It is not cloned.
535
+ * If no data is provided, the constructed object will be empty, but still
536
+ * valid.
537
+ * @extends {jspb.Message}
538
+ * @constructor
539
+ */
540
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest = function(opt_data) {
541
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
542
+ };
543
+ goog.inherits(proto.gateway.web.v1.ListInstallTermaPullRequestsRequest, jspb.Message);
544
+ if (goog.DEBUG && !COMPILED) {
545
+ /**
546
+ * @public
547
+ * @override
548
+ */
549
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.displayName = 'proto.gateway.web.v1.ListInstallTermaPullRequestsRequest';
550
+ }
551
+ /**
552
+ * Generated by JsPbCodeGenerator.
553
+ * @param {Array=} opt_data Optional initial data array, typically from a
554
+ * server response, or constructed directly in Javascript. The array is used
555
+ * in place and becomes part of the constructed object. It is not cloned.
556
+ * If no data is provided, the constructed object will be empty, but still
557
+ * valid.
558
+ * @extends {jspb.Message}
559
+ * @constructor
560
+ */
561
+ proto.gateway.web.v1.InstallTermaPullRequest = function(opt_data) {
562
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
563
+ };
564
+ goog.inherits(proto.gateway.web.v1.InstallTermaPullRequest, jspb.Message);
565
+ if (goog.DEBUG && !COMPILED) {
566
+ /**
567
+ * @public
568
+ * @override
569
+ */
570
+ proto.gateway.web.v1.InstallTermaPullRequest.displayName = 'proto.gateway.web.v1.InstallTermaPullRequest';
571
+ }
572
+ /**
573
+ * Generated by JsPbCodeGenerator.
574
+ * @param {Array=} opt_data Optional initial data array, typically from a
575
+ * server response, or constructed directly in Javascript. The array is used
576
+ * in place and becomes part of the constructed object. It is not cloned.
577
+ * If no data is provided, the constructed object will be empty, but still
578
+ * valid.
579
+ * @extends {jspb.Message}
580
+ * @constructor
581
+ */
582
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse = function(opt_data) {
583
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.repeatedFields_, null);
584
+ };
585
+ goog.inherits(proto.gateway.web.v1.ListInstallTermaPullRequestsResponse, jspb.Message);
586
+ if (goog.DEBUG && !COMPILED) {
587
+ /**
588
+ * @public
589
+ * @override
590
+ */
591
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.displayName = 'proto.gateway.web.v1.ListInstallTermaPullRequestsResponse';
592
+ }
527
593
 
528
594
 
529
595
 
@@ -5891,4 +5957,625 @@ proto.gateway.web.v1.CreateInstallTermaPullRequestsResponse.prototype.clearResul
5891
5957
  };
5892
5958
 
5893
5959
 
5960
+
5961
+
5962
+
5963
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5964
+ /**
5965
+ * Creates an object representation of this proto.
5966
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5967
+ * Optional fields that are not set will be set to undefined.
5968
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5969
+ * For the list of reserved names please see:
5970
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5971
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5972
+ * JSPB instance for transitional soy proto support:
5973
+ * http://goto/soy-param-migration
5974
+ * @return {!Object}
5975
+ */
5976
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.toObject = function(opt_includeInstance) {
5977
+ return proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.toObject(opt_includeInstance, this);
5978
+ };
5979
+
5980
+
5981
+ /**
5982
+ * Static version of the {@see toObject} method.
5983
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5984
+ * the JSPB instance for transitional soy proto support:
5985
+ * http://goto/soy-param-migration
5986
+ * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} msg The msg instance to transform.
5987
+ * @return {!Object}
5988
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5989
+ */
5990
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.toObject = function(includeInstance, msg) {
5991
+ var f, obj = {
5992
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5993
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
5994
+ };
5995
+
5996
+ if (includeInstance) {
5997
+ obj.$jspbMessageInstance = msg;
5998
+ }
5999
+ return obj;
6000
+ };
6001
+ }
6002
+
6003
+
6004
+ /**
6005
+ * Deserializes binary data (in protobuf wire format).
6006
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6007
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest}
6008
+ */
6009
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.deserializeBinary = function(bytes) {
6010
+ var reader = new jspb.BinaryReader(bytes);
6011
+ var msg = new proto.gateway.web.v1.ListInstallTermaPullRequestsRequest;
6012
+ return proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.deserializeBinaryFromReader(msg, reader);
6013
+ };
6014
+
6015
+
6016
+ /**
6017
+ * Deserializes binary data (in protobuf wire format) from the
6018
+ * given reader into the given message object.
6019
+ * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} msg The message object to deserialize into.
6020
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6021
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest}
6022
+ */
6023
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.deserializeBinaryFromReader = function(msg, reader) {
6024
+ while (reader.nextField()) {
6025
+ if (reader.isEndGroup()) {
6026
+ break;
6027
+ }
6028
+ var field = reader.getFieldNumber();
6029
+ switch (field) {
6030
+ case 1:
6031
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6032
+ msg.setOrganizationId(value);
6033
+ break;
6034
+ case 2:
6035
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6036
+ msg.setProjectId(value);
6037
+ break;
6038
+ default:
6039
+ reader.skipField();
6040
+ break;
6041
+ }
6042
+ }
6043
+ return msg;
6044
+ };
6045
+
6046
+
6047
+ /**
6048
+ * Serializes the message to binary data (in protobuf wire format).
6049
+ * @return {!Uint8Array}
6050
+ */
6051
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.serializeBinary = function() {
6052
+ var writer = new jspb.BinaryWriter();
6053
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.serializeBinaryToWriter(this, writer);
6054
+ return writer.getResultBuffer();
6055
+ };
6056
+
6057
+
6058
+ /**
6059
+ * Serializes the given message to binary data (in protobuf wire
6060
+ * format), writing to the given BinaryWriter.
6061
+ * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} message
6062
+ * @param {!jspb.BinaryWriter} writer
6063
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6064
+ */
6065
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.serializeBinaryToWriter = function(message, writer) {
6066
+ var f = undefined;
6067
+ f = message.getOrganizationId();
6068
+ if (f.length > 0) {
6069
+ writer.writeString(
6070
+ 1,
6071
+ f
6072
+ );
6073
+ }
6074
+ f = message.getProjectId();
6075
+ if (f.length > 0) {
6076
+ writer.writeString(
6077
+ 2,
6078
+ f
6079
+ );
6080
+ }
6081
+ };
6082
+
6083
+
6084
+ /**
6085
+ * optional string organization_id = 1;
6086
+ * @return {string}
6087
+ */
6088
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.getOrganizationId = function() {
6089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6090
+ };
6091
+
6092
+
6093
+ /**
6094
+ * @param {string} value
6095
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} returns this
6096
+ */
6097
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.setOrganizationId = function(value) {
6098
+ return jspb.Message.setProto3StringField(this, 1, value);
6099
+ };
6100
+
6101
+
6102
+ /**
6103
+ * optional string project_id = 2;
6104
+ * @return {string}
6105
+ */
6106
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.getProjectId = function() {
6107
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6108
+ };
6109
+
6110
+
6111
+ /**
6112
+ * @param {string} value
6113
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsRequest} returns this
6114
+ */
6115
+ proto.gateway.web.v1.ListInstallTermaPullRequestsRequest.prototype.setProjectId = function(value) {
6116
+ return jspb.Message.setProto3StringField(this, 2, value);
6117
+ };
6118
+
6119
+
6120
+
6121
+
6122
+
6123
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6124
+ /**
6125
+ * Creates an object representation of this proto.
6126
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6127
+ * Optional fields that are not set will be set to undefined.
6128
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6129
+ * For the list of reserved names please see:
6130
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6131
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6132
+ * JSPB instance for transitional soy proto support:
6133
+ * http://goto/soy-param-migration
6134
+ * @return {!Object}
6135
+ */
6136
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.toObject = function(opt_includeInstance) {
6137
+ return proto.gateway.web.v1.InstallTermaPullRequest.toObject(opt_includeInstance, this);
6138
+ };
6139
+
6140
+
6141
+ /**
6142
+ * Static version of the {@see toObject} method.
6143
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6144
+ * the JSPB instance for transitional soy proto support:
6145
+ * http://goto/soy-param-migration
6146
+ * @param {!proto.gateway.web.v1.InstallTermaPullRequest} msg The msg instance to transform.
6147
+ * @return {!Object}
6148
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6149
+ */
6150
+ proto.gateway.web.v1.InstallTermaPullRequest.toObject = function(includeInstance, msg) {
6151
+ var f, obj = {
6152
+ repository: jspb.Message.getFieldWithDefault(msg, 1, ""),
6153
+ number: jspb.Message.getFieldWithDefault(msg, 2, 0),
6154
+ url: jspb.Message.getFieldWithDefault(msg, 3, ""),
6155
+ state: jspb.Message.getFieldWithDefault(msg, 4, ""),
6156
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
6157
+ };
6158
+
6159
+ if (includeInstance) {
6160
+ obj.$jspbMessageInstance = msg;
6161
+ }
6162
+ return obj;
6163
+ };
6164
+ }
6165
+
6166
+
6167
+ /**
6168
+ * Deserializes binary data (in protobuf wire format).
6169
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6170
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest}
6171
+ */
6172
+ proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinary = function(bytes) {
6173
+ var reader = new jspb.BinaryReader(bytes);
6174
+ var msg = new proto.gateway.web.v1.InstallTermaPullRequest;
6175
+ return proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader(msg, reader);
6176
+ };
6177
+
6178
+
6179
+ /**
6180
+ * Deserializes binary data (in protobuf wire format) from the
6181
+ * given reader into the given message object.
6182
+ * @param {!proto.gateway.web.v1.InstallTermaPullRequest} msg The message object to deserialize into.
6183
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6184
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest}
6185
+ */
6186
+ proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader = function(msg, reader) {
6187
+ while (reader.nextField()) {
6188
+ if (reader.isEndGroup()) {
6189
+ break;
6190
+ }
6191
+ var field = reader.getFieldNumber();
6192
+ switch (field) {
6193
+ case 1:
6194
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6195
+ msg.setRepository(value);
6196
+ break;
6197
+ case 2:
6198
+ var value = /** @type {number} */ (reader.readInt64());
6199
+ msg.setNumber(value);
6200
+ break;
6201
+ case 3:
6202
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6203
+ msg.setUrl(value);
6204
+ break;
6205
+ case 4:
6206
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6207
+ msg.setState(value);
6208
+ break;
6209
+ case 5:
6210
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6211
+ msg.setUpdatedAt(value);
6212
+ break;
6213
+ default:
6214
+ reader.skipField();
6215
+ break;
6216
+ }
6217
+ }
6218
+ return msg;
6219
+ };
6220
+
6221
+
6222
+ /**
6223
+ * Serializes the message to binary data (in protobuf wire format).
6224
+ * @return {!Uint8Array}
6225
+ */
6226
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.serializeBinary = function() {
6227
+ var writer = new jspb.BinaryWriter();
6228
+ proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter(this, writer);
6229
+ return writer.getResultBuffer();
6230
+ };
6231
+
6232
+
6233
+ /**
6234
+ * Serializes the given message to binary data (in protobuf wire
6235
+ * format), writing to the given BinaryWriter.
6236
+ * @param {!proto.gateway.web.v1.InstallTermaPullRequest} message
6237
+ * @param {!jspb.BinaryWriter} writer
6238
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6239
+ */
6240
+ proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter = function(message, writer) {
6241
+ var f = undefined;
6242
+ f = message.getRepository();
6243
+ if (f.length > 0) {
6244
+ writer.writeString(
6245
+ 1,
6246
+ f
6247
+ );
6248
+ }
6249
+ f = message.getNumber();
6250
+ if (f !== 0) {
6251
+ writer.writeInt64(
6252
+ 2,
6253
+ f
6254
+ );
6255
+ }
6256
+ f = message.getUrl();
6257
+ if (f.length > 0) {
6258
+ writer.writeString(
6259
+ 3,
6260
+ f
6261
+ );
6262
+ }
6263
+ f = message.getState();
6264
+ if (f.length > 0) {
6265
+ writer.writeString(
6266
+ 4,
6267
+ f
6268
+ );
6269
+ }
6270
+ f = message.getUpdatedAt();
6271
+ if (f.length > 0) {
6272
+ writer.writeString(
6273
+ 5,
6274
+ f
6275
+ );
6276
+ }
6277
+ };
6278
+
6279
+
6280
+ /**
6281
+ * optional string repository = 1;
6282
+ * @return {string}
6283
+ */
6284
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.getRepository = function() {
6285
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6286
+ };
6287
+
6288
+
6289
+ /**
6290
+ * @param {string} value
6291
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
6292
+ */
6293
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.setRepository = function(value) {
6294
+ return jspb.Message.setProto3StringField(this, 1, value);
6295
+ };
6296
+
6297
+
6298
+ /**
6299
+ * optional int64 number = 2;
6300
+ * @return {number}
6301
+ */
6302
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.getNumber = function() {
6303
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6304
+ };
6305
+
6306
+
6307
+ /**
6308
+ * @param {number} value
6309
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
6310
+ */
6311
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.setNumber = function(value) {
6312
+ return jspb.Message.setProto3IntField(this, 2, value);
6313
+ };
6314
+
6315
+
6316
+ /**
6317
+ * optional string url = 3;
6318
+ * @return {string}
6319
+ */
6320
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.getUrl = function() {
6321
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6322
+ };
6323
+
6324
+
6325
+ /**
6326
+ * @param {string} value
6327
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
6328
+ */
6329
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.setUrl = function(value) {
6330
+ return jspb.Message.setProto3StringField(this, 3, value);
6331
+ };
6332
+
6333
+
6334
+ /**
6335
+ * optional string state = 4;
6336
+ * @return {string}
6337
+ */
6338
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.getState = function() {
6339
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6340
+ };
6341
+
6342
+
6343
+ /**
6344
+ * @param {string} value
6345
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
6346
+ */
6347
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.setState = function(value) {
6348
+ return jspb.Message.setProto3StringField(this, 4, value);
6349
+ };
6350
+
6351
+
6352
+ /**
6353
+ * optional string updated_at = 5;
6354
+ * @return {string}
6355
+ */
6356
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.getUpdatedAt = function() {
6357
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6358
+ };
6359
+
6360
+
6361
+ /**
6362
+ * @param {string} value
6363
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest} returns this
6364
+ */
6365
+ proto.gateway.web.v1.InstallTermaPullRequest.prototype.setUpdatedAt = function(value) {
6366
+ return jspb.Message.setProto3StringField(this, 5, value);
6367
+ };
6368
+
6369
+
6370
+
6371
+ /**
6372
+ * List of repeated fields within this message type.
6373
+ * @private {!Array<number>}
6374
+ * @const
6375
+ */
6376
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.repeatedFields_ = [2];
6377
+
6378
+
6379
+
6380
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6381
+ /**
6382
+ * Creates an object representation of this proto.
6383
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6384
+ * Optional fields that are not set will be set to undefined.
6385
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6386
+ * For the list of reserved names please see:
6387
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6388
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6389
+ * JSPB instance for transitional soy proto support:
6390
+ * http://goto/soy-param-migration
6391
+ * @return {!Object}
6392
+ */
6393
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.toObject = function(opt_includeInstance) {
6394
+ return proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.toObject(opt_includeInstance, this);
6395
+ };
6396
+
6397
+
6398
+ /**
6399
+ * Static version of the {@see toObject} method.
6400
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6401
+ * the JSPB instance for transitional soy proto support:
6402
+ * http://goto/soy-param-migration
6403
+ * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} msg The msg instance to transform.
6404
+ * @return {!Object}
6405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6406
+ */
6407
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.toObject = function(includeInstance, msg) {
6408
+ var f, obj = {
6409
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
6410
+ pullRequestsList: jspb.Message.toObjectList(msg.getPullRequestsList(),
6411
+ proto.gateway.web.v1.InstallTermaPullRequest.toObject, includeInstance)
6412
+ };
6413
+
6414
+ if (includeInstance) {
6415
+ obj.$jspbMessageInstance = msg;
6416
+ }
6417
+ return obj;
6418
+ };
6419
+ }
6420
+
6421
+
6422
+ /**
6423
+ * Deserializes binary data (in protobuf wire format).
6424
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6425
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse}
6426
+ */
6427
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinary = function(bytes) {
6428
+ var reader = new jspb.BinaryReader(bytes);
6429
+ var msg = new proto.gateway.web.v1.ListInstallTermaPullRequestsResponse;
6430
+ return proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinaryFromReader(msg, reader);
6431
+ };
6432
+
6433
+
6434
+ /**
6435
+ * Deserializes binary data (in protobuf wire format) from the
6436
+ * given reader into the given message object.
6437
+ * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} msg The message object to deserialize into.
6438
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6439
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse}
6440
+ */
6441
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.deserializeBinaryFromReader = function(msg, reader) {
6442
+ while (reader.nextField()) {
6443
+ if (reader.isEndGroup()) {
6444
+ break;
6445
+ }
6446
+ var field = reader.getFieldNumber();
6447
+ switch (field) {
6448
+ case 1:
6449
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
6450
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
6451
+ msg.setStatus(value);
6452
+ break;
6453
+ case 2:
6454
+ var value = new proto.gateway.web.v1.InstallTermaPullRequest;
6455
+ reader.readMessage(value,proto.gateway.web.v1.InstallTermaPullRequest.deserializeBinaryFromReader);
6456
+ msg.addPullRequests(value);
6457
+ break;
6458
+ default:
6459
+ reader.skipField();
6460
+ break;
6461
+ }
6462
+ }
6463
+ return msg;
6464
+ };
6465
+
6466
+
6467
+ /**
6468
+ * Serializes the message to binary data (in protobuf wire format).
6469
+ * @return {!Uint8Array}
6470
+ */
6471
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.serializeBinary = function() {
6472
+ var writer = new jspb.BinaryWriter();
6473
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.serializeBinaryToWriter(this, writer);
6474
+ return writer.getResultBuffer();
6475
+ };
6476
+
6477
+
6478
+ /**
6479
+ * Serializes the given message to binary data (in protobuf wire
6480
+ * format), writing to the given BinaryWriter.
6481
+ * @param {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} message
6482
+ * @param {!jspb.BinaryWriter} writer
6483
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6484
+ */
6485
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.serializeBinaryToWriter = function(message, writer) {
6486
+ var f = undefined;
6487
+ f = message.getStatus();
6488
+ if (f != null) {
6489
+ writer.writeMessage(
6490
+ 1,
6491
+ f,
6492
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
6493
+ );
6494
+ }
6495
+ f = message.getPullRequestsList();
6496
+ if (f.length > 0) {
6497
+ writer.writeRepeatedMessage(
6498
+ 2,
6499
+ f,
6500
+ proto.gateway.web.v1.InstallTermaPullRequest.serializeBinaryToWriter
6501
+ );
6502
+ }
6503
+ };
6504
+
6505
+
6506
+ /**
6507
+ * optional gateway.common.v1.ResponseStatus status = 1;
6508
+ * @return {?proto.gateway.common.v1.ResponseStatus}
6509
+ */
6510
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.getStatus = function() {
6511
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
6512
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
6513
+ };
6514
+
6515
+
6516
+ /**
6517
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
6518
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
6519
+ */
6520
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.setStatus = function(value) {
6521
+ return jspb.Message.setWrapperField(this, 1, value);
6522
+ };
6523
+
6524
+
6525
+ /**
6526
+ * Clears the message field making it undefined.
6527
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
6528
+ */
6529
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.clearStatus = function() {
6530
+ return this.setStatus(undefined);
6531
+ };
6532
+
6533
+
6534
+ /**
6535
+ * Returns whether this field is set.
6536
+ * @return {boolean}
6537
+ */
6538
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.hasStatus = function() {
6539
+ return jspb.Message.getField(this, 1) != null;
6540
+ };
6541
+
6542
+
6543
+ /**
6544
+ * repeated InstallTermaPullRequest pull_requests = 2;
6545
+ * @return {!Array<!proto.gateway.web.v1.InstallTermaPullRequest>}
6546
+ */
6547
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.getPullRequestsList = function() {
6548
+ return /** @type{!Array<!proto.gateway.web.v1.InstallTermaPullRequest>} */ (
6549
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.InstallTermaPullRequest, 2));
6550
+ };
6551
+
6552
+
6553
+ /**
6554
+ * @param {!Array<!proto.gateway.web.v1.InstallTermaPullRequest>} value
6555
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
6556
+ */
6557
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.setPullRequestsList = function(value) {
6558
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
6559
+ };
6560
+
6561
+
6562
+ /**
6563
+ * @param {!proto.gateway.web.v1.InstallTermaPullRequest=} opt_value
6564
+ * @param {number=} opt_index
6565
+ * @return {!proto.gateway.web.v1.InstallTermaPullRequest}
6566
+ */
6567
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.addPullRequests = function(opt_value, opt_index) {
6568
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.InstallTermaPullRequest, opt_index);
6569
+ };
6570
+
6571
+
6572
+ /**
6573
+ * Clears the list making it empty but non-null.
6574
+ * @return {!proto.gateway.web.v1.ListInstallTermaPullRequestsResponse} returns this
6575
+ */
6576
+ proto.gateway.web.v1.ListInstallTermaPullRequestsResponse.prototype.clearPullRequestsList = function() {
6577
+ return this.setPullRequestsList([]);
6578
+ };
6579
+
6580
+
5894
6581
  goog.object.extend(exports, proto.gateway.web.v1);