protobuf-platform 1.0.240 → 1.0.242
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.
- package/log/log.proto +19 -0
- package/log/log_grpc_pb.js +34 -0
- package/log/log_pb.js +1001 -0
- package/package.json +1 -1
package/log/log.proto
CHANGED
@@ -4,7 +4,26 @@ package log;
|
|
4
4
|
|
5
5
|
service Log {
|
6
6
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
7
|
+
//Issues
|
8
|
+
rpc readListIssues(PaginationRequest) returns (IssueItemsResponse);
|
7
9
|
}
|
8
10
|
|
9
11
|
message PingRequest { string ping = 1; }
|
10
12
|
message PongResponse { string pong = 1; }
|
13
|
+
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional LogSearchRequest log_search_params = 3; }
|
14
|
+
message LogSearchRequest {
|
15
|
+
optional string service_name = 1;
|
16
|
+
optional string type = 2;
|
17
|
+
}
|
18
|
+
message IssueItem {
|
19
|
+
string hash = 1;
|
20
|
+
string type = 2;
|
21
|
+
string service = 3;
|
22
|
+
string message = 4;
|
23
|
+
string created = 5;
|
24
|
+
}
|
25
|
+
message IssueItemsResponse {
|
26
|
+
repeated IssueItem items = 1;
|
27
|
+
optional int32 total_pages = 2;
|
28
|
+
optional int32 total_items = 3;
|
29
|
+
}
|
package/log/log_grpc_pb.js
CHANGED
@@ -4,6 +4,28 @@
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
5
5
|
var log_pb = require('./log_pb.js');
|
6
6
|
|
7
|
+
function serialize_log_IssueItemsResponse(arg) {
|
8
|
+
if (!(arg instanceof log_pb.IssueItemsResponse)) {
|
9
|
+
throw new Error('Expected argument of type log.IssueItemsResponse');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_log_IssueItemsResponse(buffer_arg) {
|
15
|
+
return log_pb.IssueItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_log_PaginationRequest(arg) {
|
19
|
+
if (!(arg instanceof log_pb.PaginationRequest)) {
|
20
|
+
throw new Error('Expected argument of type log.PaginationRequest');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_log_PaginationRequest(buffer_arg) {
|
26
|
+
return log_pb.PaginationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
7
29
|
function serialize_log_PingRequest(arg) {
|
8
30
|
if (!(arg instanceof log_pb.PingRequest)) {
|
9
31
|
throw new Error('Expected argument of type log.PingRequest');
|
@@ -39,6 +61,18 @@ var LogService = exports.LogService = {
|
|
39
61
|
responseSerialize: serialize_log_PongResponse,
|
40
62
|
responseDeserialize: deserialize_log_PongResponse,
|
41
63
|
},
|
64
|
+
// Issues
|
65
|
+
readListIssues: {
|
66
|
+
path: '/log.Log/readListIssues',
|
67
|
+
requestStream: false,
|
68
|
+
responseStream: false,
|
69
|
+
requestType: log_pb.PaginationRequest,
|
70
|
+
responseType: log_pb.IssueItemsResponse,
|
71
|
+
requestSerialize: serialize_log_PaginationRequest,
|
72
|
+
requestDeserialize: deserialize_log_PaginationRequest,
|
73
|
+
responseSerialize: serialize_log_IssueItemsResponse,
|
74
|
+
responseDeserialize: deserialize_log_IssueItemsResponse,
|
75
|
+
},
|
42
76
|
};
|
43
77
|
|
44
78
|
exports.LogClient = grpc.makeGenericClientConstructor(LogService);
|
package/log/log_pb.js
CHANGED
@@ -21,6 +21,10 @@ var global = (function() {
|
|
21
21
|
return Function('return this')();
|
22
22
|
}.call(null));
|
23
23
|
|
24
|
+
goog.exportSymbol('proto.log.IssueItem', null, global);
|
25
|
+
goog.exportSymbol('proto.log.IssueItemsResponse', null, global);
|
26
|
+
goog.exportSymbol('proto.log.LogSearchRequest', null, global);
|
27
|
+
goog.exportSymbol('proto.log.PaginationRequest', null, global);
|
24
28
|
goog.exportSymbol('proto.log.PingRequest', null, global);
|
25
29
|
goog.exportSymbol('proto.log.PongResponse', null, global);
|
26
30
|
/**
|
@@ -65,6 +69,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
65
69
|
*/
|
66
70
|
proto.log.PongResponse.displayName = 'proto.log.PongResponse';
|
67
71
|
}
|
72
|
+
/**
|
73
|
+
* Generated by JsPbCodeGenerator.
|
74
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
75
|
+
* server response, or constructed directly in Javascript. The array is used
|
76
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
77
|
+
* If no data is provided, the constructed object will be empty, but still
|
78
|
+
* valid.
|
79
|
+
* @extends {jspb.Message}
|
80
|
+
* @constructor
|
81
|
+
*/
|
82
|
+
proto.log.PaginationRequest = function(opt_data) {
|
83
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
84
|
+
};
|
85
|
+
goog.inherits(proto.log.PaginationRequest, jspb.Message);
|
86
|
+
if (goog.DEBUG && !COMPILED) {
|
87
|
+
/**
|
88
|
+
* @public
|
89
|
+
* @override
|
90
|
+
*/
|
91
|
+
proto.log.PaginationRequest.displayName = 'proto.log.PaginationRequest';
|
92
|
+
}
|
93
|
+
/**
|
94
|
+
* Generated by JsPbCodeGenerator.
|
95
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
96
|
+
* server response, or constructed directly in Javascript. The array is used
|
97
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
98
|
+
* If no data is provided, the constructed object will be empty, but still
|
99
|
+
* valid.
|
100
|
+
* @extends {jspb.Message}
|
101
|
+
* @constructor
|
102
|
+
*/
|
103
|
+
proto.log.LogSearchRequest = function(opt_data) {
|
104
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
105
|
+
};
|
106
|
+
goog.inherits(proto.log.LogSearchRequest, jspb.Message);
|
107
|
+
if (goog.DEBUG && !COMPILED) {
|
108
|
+
/**
|
109
|
+
* @public
|
110
|
+
* @override
|
111
|
+
*/
|
112
|
+
proto.log.LogSearchRequest.displayName = 'proto.log.LogSearchRequest';
|
113
|
+
}
|
114
|
+
/**
|
115
|
+
* Generated by JsPbCodeGenerator.
|
116
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
117
|
+
* server response, or constructed directly in Javascript. The array is used
|
118
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
119
|
+
* If no data is provided, the constructed object will be empty, but still
|
120
|
+
* valid.
|
121
|
+
* @extends {jspb.Message}
|
122
|
+
* @constructor
|
123
|
+
*/
|
124
|
+
proto.log.IssueItem = function(opt_data) {
|
125
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
126
|
+
};
|
127
|
+
goog.inherits(proto.log.IssueItem, jspb.Message);
|
128
|
+
if (goog.DEBUG && !COMPILED) {
|
129
|
+
/**
|
130
|
+
* @public
|
131
|
+
* @override
|
132
|
+
*/
|
133
|
+
proto.log.IssueItem.displayName = 'proto.log.IssueItem';
|
134
|
+
}
|
135
|
+
/**
|
136
|
+
* Generated by JsPbCodeGenerator.
|
137
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
138
|
+
* server response, or constructed directly in Javascript. The array is used
|
139
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
140
|
+
* If no data is provided, the constructed object will be empty, but still
|
141
|
+
* valid.
|
142
|
+
* @extends {jspb.Message}
|
143
|
+
* @constructor
|
144
|
+
*/
|
145
|
+
proto.log.IssueItemsResponse = function(opt_data) {
|
146
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.log.IssueItemsResponse.repeatedFields_, null);
|
147
|
+
};
|
148
|
+
goog.inherits(proto.log.IssueItemsResponse, jspb.Message);
|
149
|
+
if (goog.DEBUG && !COMPILED) {
|
150
|
+
/**
|
151
|
+
* @public
|
152
|
+
* @override
|
153
|
+
*/
|
154
|
+
proto.log.IssueItemsResponse.displayName = 'proto.log.IssueItemsResponse';
|
155
|
+
}
|
68
156
|
|
69
157
|
|
70
158
|
|
@@ -325,4 +413,917 @@ proto.log.PongResponse.prototype.setPong = function(value) {
|
|
325
413
|
};
|
326
414
|
|
327
415
|
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
420
|
+
/**
|
421
|
+
* Creates an object representation of this proto.
|
422
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
423
|
+
* Optional fields that are not set will be set to undefined.
|
424
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
425
|
+
* For the list of reserved names please see:
|
426
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
427
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
428
|
+
* JSPB instance for transitional soy proto support:
|
429
|
+
* http://goto/soy-param-migration
|
430
|
+
* @return {!Object}
|
431
|
+
*/
|
432
|
+
proto.log.PaginationRequest.prototype.toObject = function(opt_includeInstance) {
|
433
|
+
return proto.log.PaginationRequest.toObject(opt_includeInstance, this);
|
434
|
+
};
|
435
|
+
|
436
|
+
|
437
|
+
/**
|
438
|
+
* Static version of the {@see toObject} method.
|
439
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
440
|
+
* the JSPB instance for transitional soy proto support:
|
441
|
+
* http://goto/soy-param-migration
|
442
|
+
* @param {!proto.log.PaginationRequest} msg The msg instance to transform.
|
443
|
+
* @return {!Object}
|
444
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
445
|
+
*/
|
446
|
+
proto.log.PaginationRequest.toObject = function(includeInstance, msg) {
|
447
|
+
var f, obj = {
|
448
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
449
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
450
|
+
logSearchParams: (f = msg.getLogSearchParams()) && proto.log.LogSearchRequest.toObject(includeInstance, f)
|
451
|
+
};
|
452
|
+
|
453
|
+
if (includeInstance) {
|
454
|
+
obj.$jspbMessageInstance = msg;
|
455
|
+
}
|
456
|
+
return obj;
|
457
|
+
};
|
458
|
+
}
|
459
|
+
|
460
|
+
|
461
|
+
/**
|
462
|
+
* Deserializes binary data (in protobuf wire format).
|
463
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
464
|
+
* @return {!proto.log.PaginationRequest}
|
465
|
+
*/
|
466
|
+
proto.log.PaginationRequest.deserializeBinary = function(bytes) {
|
467
|
+
var reader = new jspb.BinaryReader(bytes);
|
468
|
+
var msg = new proto.log.PaginationRequest;
|
469
|
+
return proto.log.PaginationRequest.deserializeBinaryFromReader(msg, reader);
|
470
|
+
};
|
471
|
+
|
472
|
+
|
473
|
+
/**
|
474
|
+
* Deserializes binary data (in protobuf wire format) from the
|
475
|
+
* given reader into the given message object.
|
476
|
+
* @param {!proto.log.PaginationRequest} msg The message object to deserialize into.
|
477
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
478
|
+
* @return {!proto.log.PaginationRequest}
|
479
|
+
*/
|
480
|
+
proto.log.PaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
481
|
+
while (reader.nextField()) {
|
482
|
+
if (reader.isEndGroup()) {
|
483
|
+
break;
|
484
|
+
}
|
485
|
+
var field = reader.getFieldNumber();
|
486
|
+
switch (field) {
|
487
|
+
case 1:
|
488
|
+
var value = /** @type {number} */ (reader.readInt32());
|
489
|
+
msg.setLimit(value);
|
490
|
+
break;
|
491
|
+
case 2:
|
492
|
+
var value = /** @type {number} */ (reader.readInt32());
|
493
|
+
msg.setOffset(value);
|
494
|
+
break;
|
495
|
+
case 3:
|
496
|
+
var value = new proto.log.LogSearchRequest;
|
497
|
+
reader.readMessage(value,proto.log.LogSearchRequest.deserializeBinaryFromReader);
|
498
|
+
msg.setLogSearchParams(value);
|
499
|
+
break;
|
500
|
+
default:
|
501
|
+
reader.skipField();
|
502
|
+
break;
|
503
|
+
}
|
504
|
+
}
|
505
|
+
return msg;
|
506
|
+
};
|
507
|
+
|
508
|
+
|
509
|
+
/**
|
510
|
+
* Serializes the message to binary data (in protobuf wire format).
|
511
|
+
* @return {!Uint8Array}
|
512
|
+
*/
|
513
|
+
proto.log.PaginationRequest.prototype.serializeBinary = function() {
|
514
|
+
var writer = new jspb.BinaryWriter();
|
515
|
+
proto.log.PaginationRequest.serializeBinaryToWriter(this, writer);
|
516
|
+
return writer.getResultBuffer();
|
517
|
+
};
|
518
|
+
|
519
|
+
|
520
|
+
/**
|
521
|
+
* Serializes the given message to binary data (in protobuf wire
|
522
|
+
* format), writing to the given BinaryWriter.
|
523
|
+
* @param {!proto.log.PaginationRequest} message
|
524
|
+
* @param {!jspb.BinaryWriter} writer
|
525
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
526
|
+
*/
|
527
|
+
proto.log.PaginationRequest.serializeBinaryToWriter = function(message, writer) {
|
528
|
+
var f = undefined;
|
529
|
+
f = message.getLimit();
|
530
|
+
if (f !== 0) {
|
531
|
+
writer.writeInt32(
|
532
|
+
1,
|
533
|
+
f
|
534
|
+
);
|
535
|
+
}
|
536
|
+
f = message.getOffset();
|
537
|
+
if (f !== 0) {
|
538
|
+
writer.writeInt32(
|
539
|
+
2,
|
540
|
+
f
|
541
|
+
);
|
542
|
+
}
|
543
|
+
f = message.getLogSearchParams();
|
544
|
+
if (f != null) {
|
545
|
+
writer.writeMessage(
|
546
|
+
3,
|
547
|
+
f,
|
548
|
+
proto.log.LogSearchRequest.serializeBinaryToWriter
|
549
|
+
);
|
550
|
+
}
|
551
|
+
};
|
552
|
+
|
553
|
+
|
554
|
+
/**
|
555
|
+
* optional int32 limit = 1;
|
556
|
+
* @return {number}
|
557
|
+
*/
|
558
|
+
proto.log.PaginationRequest.prototype.getLimit = function() {
|
559
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
560
|
+
};
|
561
|
+
|
562
|
+
|
563
|
+
/**
|
564
|
+
* @param {number} value
|
565
|
+
* @return {!proto.log.PaginationRequest} returns this
|
566
|
+
*/
|
567
|
+
proto.log.PaginationRequest.prototype.setLimit = function(value) {
|
568
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
569
|
+
};
|
570
|
+
|
571
|
+
|
572
|
+
/**
|
573
|
+
* optional int32 offset = 2;
|
574
|
+
* @return {number}
|
575
|
+
*/
|
576
|
+
proto.log.PaginationRequest.prototype.getOffset = function() {
|
577
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
578
|
+
};
|
579
|
+
|
580
|
+
|
581
|
+
/**
|
582
|
+
* @param {number} value
|
583
|
+
* @return {!proto.log.PaginationRequest} returns this
|
584
|
+
*/
|
585
|
+
proto.log.PaginationRequest.prototype.setOffset = function(value) {
|
586
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
587
|
+
};
|
588
|
+
|
589
|
+
|
590
|
+
/**
|
591
|
+
* optional LogSearchRequest log_search_params = 3;
|
592
|
+
* @return {?proto.log.LogSearchRequest}
|
593
|
+
*/
|
594
|
+
proto.log.PaginationRequest.prototype.getLogSearchParams = function() {
|
595
|
+
return /** @type{?proto.log.LogSearchRequest} */ (
|
596
|
+
jspb.Message.getWrapperField(this, proto.log.LogSearchRequest, 3));
|
597
|
+
};
|
598
|
+
|
599
|
+
|
600
|
+
/**
|
601
|
+
* @param {?proto.log.LogSearchRequest|undefined} value
|
602
|
+
* @return {!proto.log.PaginationRequest} returns this
|
603
|
+
*/
|
604
|
+
proto.log.PaginationRequest.prototype.setLogSearchParams = function(value) {
|
605
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
606
|
+
};
|
607
|
+
|
608
|
+
|
609
|
+
/**
|
610
|
+
* Clears the message field making it undefined.
|
611
|
+
* @return {!proto.log.PaginationRequest} returns this
|
612
|
+
*/
|
613
|
+
proto.log.PaginationRequest.prototype.clearLogSearchParams = function() {
|
614
|
+
return this.setLogSearchParams(undefined);
|
615
|
+
};
|
616
|
+
|
617
|
+
|
618
|
+
/**
|
619
|
+
* Returns whether this field is set.
|
620
|
+
* @return {boolean}
|
621
|
+
*/
|
622
|
+
proto.log.PaginationRequest.prototype.hasLogSearchParams = function() {
|
623
|
+
return jspb.Message.getField(this, 3) != null;
|
624
|
+
};
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
631
|
+
/**
|
632
|
+
* Creates an object representation of this proto.
|
633
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
634
|
+
* Optional fields that are not set will be set to undefined.
|
635
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
636
|
+
* For the list of reserved names please see:
|
637
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
638
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
639
|
+
* JSPB instance for transitional soy proto support:
|
640
|
+
* http://goto/soy-param-migration
|
641
|
+
* @return {!Object}
|
642
|
+
*/
|
643
|
+
proto.log.LogSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
644
|
+
return proto.log.LogSearchRequest.toObject(opt_includeInstance, this);
|
645
|
+
};
|
646
|
+
|
647
|
+
|
648
|
+
/**
|
649
|
+
* Static version of the {@see toObject} method.
|
650
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
651
|
+
* the JSPB instance for transitional soy proto support:
|
652
|
+
* http://goto/soy-param-migration
|
653
|
+
* @param {!proto.log.LogSearchRequest} msg The msg instance to transform.
|
654
|
+
* @return {!Object}
|
655
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
656
|
+
*/
|
657
|
+
proto.log.LogSearchRequest.toObject = function(includeInstance, msg) {
|
658
|
+
var f, obj = {
|
659
|
+
serviceName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
660
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, "")
|
661
|
+
};
|
662
|
+
|
663
|
+
if (includeInstance) {
|
664
|
+
obj.$jspbMessageInstance = msg;
|
665
|
+
}
|
666
|
+
return obj;
|
667
|
+
};
|
668
|
+
}
|
669
|
+
|
670
|
+
|
671
|
+
/**
|
672
|
+
* Deserializes binary data (in protobuf wire format).
|
673
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
674
|
+
* @return {!proto.log.LogSearchRequest}
|
675
|
+
*/
|
676
|
+
proto.log.LogSearchRequest.deserializeBinary = function(bytes) {
|
677
|
+
var reader = new jspb.BinaryReader(bytes);
|
678
|
+
var msg = new proto.log.LogSearchRequest;
|
679
|
+
return proto.log.LogSearchRequest.deserializeBinaryFromReader(msg, reader);
|
680
|
+
};
|
681
|
+
|
682
|
+
|
683
|
+
/**
|
684
|
+
* Deserializes binary data (in protobuf wire format) from the
|
685
|
+
* given reader into the given message object.
|
686
|
+
* @param {!proto.log.LogSearchRequest} msg The message object to deserialize into.
|
687
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
688
|
+
* @return {!proto.log.LogSearchRequest}
|
689
|
+
*/
|
690
|
+
proto.log.LogSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
691
|
+
while (reader.nextField()) {
|
692
|
+
if (reader.isEndGroup()) {
|
693
|
+
break;
|
694
|
+
}
|
695
|
+
var field = reader.getFieldNumber();
|
696
|
+
switch (field) {
|
697
|
+
case 1:
|
698
|
+
var value = /** @type {string} */ (reader.readString());
|
699
|
+
msg.setServiceName(value);
|
700
|
+
break;
|
701
|
+
case 2:
|
702
|
+
var value = /** @type {string} */ (reader.readString());
|
703
|
+
msg.setType(value);
|
704
|
+
break;
|
705
|
+
default:
|
706
|
+
reader.skipField();
|
707
|
+
break;
|
708
|
+
}
|
709
|
+
}
|
710
|
+
return msg;
|
711
|
+
};
|
712
|
+
|
713
|
+
|
714
|
+
/**
|
715
|
+
* Serializes the message to binary data (in protobuf wire format).
|
716
|
+
* @return {!Uint8Array}
|
717
|
+
*/
|
718
|
+
proto.log.LogSearchRequest.prototype.serializeBinary = function() {
|
719
|
+
var writer = new jspb.BinaryWriter();
|
720
|
+
proto.log.LogSearchRequest.serializeBinaryToWriter(this, writer);
|
721
|
+
return writer.getResultBuffer();
|
722
|
+
};
|
723
|
+
|
724
|
+
|
725
|
+
/**
|
726
|
+
* Serializes the given message to binary data (in protobuf wire
|
727
|
+
* format), writing to the given BinaryWriter.
|
728
|
+
* @param {!proto.log.LogSearchRequest} message
|
729
|
+
* @param {!jspb.BinaryWriter} writer
|
730
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
731
|
+
*/
|
732
|
+
proto.log.LogSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
733
|
+
var f = undefined;
|
734
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
735
|
+
if (f != null) {
|
736
|
+
writer.writeString(
|
737
|
+
1,
|
738
|
+
f
|
739
|
+
);
|
740
|
+
}
|
741
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
742
|
+
if (f != null) {
|
743
|
+
writer.writeString(
|
744
|
+
2,
|
745
|
+
f
|
746
|
+
);
|
747
|
+
}
|
748
|
+
};
|
749
|
+
|
750
|
+
|
751
|
+
/**
|
752
|
+
* optional string service_name = 1;
|
753
|
+
* @return {string}
|
754
|
+
*/
|
755
|
+
proto.log.LogSearchRequest.prototype.getServiceName = function() {
|
756
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
757
|
+
};
|
758
|
+
|
759
|
+
|
760
|
+
/**
|
761
|
+
* @param {string} value
|
762
|
+
* @return {!proto.log.LogSearchRequest} returns this
|
763
|
+
*/
|
764
|
+
proto.log.LogSearchRequest.prototype.setServiceName = function(value) {
|
765
|
+
return jspb.Message.setField(this, 1, value);
|
766
|
+
};
|
767
|
+
|
768
|
+
|
769
|
+
/**
|
770
|
+
* Clears the field making it undefined.
|
771
|
+
* @return {!proto.log.LogSearchRequest} returns this
|
772
|
+
*/
|
773
|
+
proto.log.LogSearchRequest.prototype.clearServiceName = function() {
|
774
|
+
return jspb.Message.setField(this, 1, undefined);
|
775
|
+
};
|
776
|
+
|
777
|
+
|
778
|
+
/**
|
779
|
+
* Returns whether this field is set.
|
780
|
+
* @return {boolean}
|
781
|
+
*/
|
782
|
+
proto.log.LogSearchRequest.prototype.hasServiceName = function() {
|
783
|
+
return jspb.Message.getField(this, 1) != null;
|
784
|
+
};
|
785
|
+
|
786
|
+
|
787
|
+
/**
|
788
|
+
* optional string type = 2;
|
789
|
+
* @return {string}
|
790
|
+
*/
|
791
|
+
proto.log.LogSearchRequest.prototype.getType = function() {
|
792
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
793
|
+
};
|
794
|
+
|
795
|
+
|
796
|
+
/**
|
797
|
+
* @param {string} value
|
798
|
+
* @return {!proto.log.LogSearchRequest} returns this
|
799
|
+
*/
|
800
|
+
proto.log.LogSearchRequest.prototype.setType = function(value) {
|
801
|
+
return jspb.Message.setField(this, 2, value);
|
802
|
+
};
|
803
|
+
|
804
|
+
|
805
|
+
/**
|
806
|
+
* Clears the field making it undefined.
|
807
|
+
* @return {!proto.log.LogSearchRequest} returns this
|
808
|
+
*/
|
809
|
+
proto.log.LogSearchRequest.prototype.clearType = function() {
|
810
|
+
return jspb.Message.setField(this, 2, undefined);
|
811
|
+
};
|
812
|
+
|
813
|
+
|
814
|
+
/**
|
815
|
+
* Returns whether this field is set.
|
816
|
+
* @return {boolean}
|
817
|
+
*/
|
818
|
+
proto.log.LogSearchRequest.prototype.hasType = function() {
|
819
|
+
return jspb.Message.getField(this, 2) != null;
|
820
|
+
};
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
|
825
|
+
|
826
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
827
|
+
/**
|
828
|
+
* Creates an object representation of this proto.
|
829
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
830
|
+
* Optional fields that are not set will be set to undefined.
|
831
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
832
|
+
* For the list of reserved names please see:
|
833
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
834
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
835
|
+
* JSPB instance for transitional soy proto support:
|
836
|
+
* http://goto/soy-param-migration
|
837
|
+
* @return {!Object}
|
838
|
+
*/
|
839
|
+
proto.log.IssueItem.prototype.toObject = function(opt_includeInstance) {
|
840
|
+
return proto.log.IssueItem.toObject(opt_includeInstance, this);
|
841
|
+
};
|
842
|
+
|
843
|
+
|
844
|
+
/**
|
845
|
+
* Static version of the {@see toObject} method.
|
846
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
847
|
+
* the JSPB instance for transitional soy proto support:
|
848
|
+
* http://goto/soy-param-migration
|
849
|
+
* @param {!proto.log.IssueItem} msg The msg instance to transform.
|
850
|
+
* @return {!Object}
|
851
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
852
|
+
*/
|
853
|
+
proto.log.IssueItem.toObject = function(includeInstance, msg) {
|
854
|
+
var f, obj = {
|
855
|
+
hash: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
856
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
857
|
+
service: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
858
|
+
message: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
859
|
+
created: jspb.Message.getFieldWithDefault(msg, 5, "")
|
860
|
+
};
|
861
|
+
|
862
|
+
if (includeInstance) {
|
863
|
+
obj.$jspbMessageInstance = msg;
|
864
|
+
}
|
865
|
+
return obj;
|
866
|
+
};
|
867
|
+
}
|
868
|
+
|
869
|
+
|
870
|
+
/**
|
871
|
+
* Deserializes binary data (in protobuf wire format).
|
872
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
873
|
+
* @return {!proto.log.IssueItem}
|
874
|
+
*/
|
875
|
+
proto.log.IssueItem.deserializeBinary = function(bytes) {
|
876
|
+
var reader = new jspb.BinaryReader(bytes);
|
877
|
+
var msg = new proto.log.IssueItem;
|
878
|
+
return proto.log.IssueItem.deserializeBinaryFromReader(msg, reader);
|
879
|
+
};
|
880
|
+
|
881
|
+
|
882
|
+
/**
|
883
|
+
* Deserializes binary data (in protobuf wire format) from the
|
884
|
+
* given reader into the given message object.
|
885
|
+
* @param {!proto.log.IssueItem} msg The message object to deserialize into.
|
886
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
887
|
+
* @return {!proto.log.IssueItem}
|
888
|
+
*/
|
889
|
+
proto.log.IssueItem.deserializeBinaryFromReader = function(msg, reader) {
|
890
|
+
while (reader.nextField()) {
|
891
|
+
if (reader.isEndGroup()) {
|
892
|
+
break;
|
893
|
+
}
|
894
|
+
var field = reader.getFieldNumber();
|
895
|
+
switch (field) {
|
896
|
+
case 1:
|
897
|
+
var value = /** @type {string} */ (reader.readString());
|
898
|
+
msg.setHash(value);
|
899
|
+
break;
|
900
|
+
case 2:
|
901
|
+
var value = /** @type {string} */ (reader.readString());
|
902
|
+
msg.setType(value);
|
903
|
+
break;
|
904
|
+
case 3:
|
905
|
+
var value = /** @type {string} */ (reader.readString());
|
906
|
+
msg.setService(value);
|
907
|
+
break;
|
908
|
+
case 4:
|
909
|
+
var value = /** @type {string} */ (reader.readString());
|
910
|
+
msg.setMessage(value);
|
911
|
+
break;
|
912
|
+
case 5:
|
913
|
+
var value = /** @type {string} */ (reader.readString());
|
914
|
+
msg.setCreated(value);
|
915
|
+
break;
|
916
|
+
default:
|
917
|
+
reader.skipField();
|
918
|
+
break;
|
919
|
+
}
|
920
|
+
}
|
921
|
+
return msg;
|
922
|
+
};
|
923
|
+
|
924
|
+
|
925
|
+
/**
|
926
|
+
* Serializes the message to binary data (in protobuf wire format).
|
927
|
+
* @return {!Uint8Array}
|
928
|
+
*/
|
929
|
+
proto.log.IssueItem.prototype.serializeBinary = function() {
|
930
|
+
var writer = new jspb.BinaryWriter();
|
931
|
+
proto.log.IssueItem.serializeBinaryToWriter(this, writer);
|
932
|
+
return writer.getResultBuffer();
|
933
|
+
};
|
934
|
+
|
935
|
+
|
936
|
+
/**
|
937
|
+
* Serializes the given message to binary data (in protobuf wire
|
938
|
+
* format), writing to the given BinaryWriter.
|
939
|
+
* @param {!proto.log.IssueItem} message
|
940
|
+
* @param {!jspb.BinaryWriter} writer
|
941
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
942
|
+
*/
|
943
|
+
proto.log.IssueItem.serializeBinaryToWriter = function(message, writer) {
|
944
|
+
var f = undefined;
|
945
|
+
f = message.getHash();
|
946
|
+
if (f.length > 0) {
|
947
|
+
writer.writeString(
|
948
|
+
1,
|
949
|
+
f
|
950
|
+
);
|
951
|
+
}
|
952
|
+
f = message.getType();
|
953
|
+
if (f.length > 0) {
|
954
|
+
writer.writeString(
|
955
|
+
2,
|
956
|
+
f
|
957
|
+
);
|
958
|
+
}
|
959
|
+
f = message.getService();
|
960
|
+
if (f.length > 0) {
|
961
|
+
writer.writeString(
|
962
|
+
3,
|
963
|
+
f
|
964
|
+
);
|
965
|
+
}
|
966
|
+
f = message.getMessage();
|
967
|
+
if (f.length > 0) {
|
968
|
+
writer.writeString(
|
969
|
+
4,
|
970
|
+
f
|
971
|
+
);
|
972
|
+
}
|
973
|
+
f = message.getCreated();
|
974
|
+
if (f.length > 0) {
|
975
|
+
writer.writeString(
|
976
|
+
5,
|
977
|
+
f
|
978
|
+
);
|
979
|
+
}
|
980
|
+
};
|
981
|
+
|
982
|
+
|
983
|
+
/**
|
984
|
+
* optional string hash = 1;
|
985
|
+
* @return {string}
|
986
|
+
*/
|
987
|
+
proto.log.IssueItem.prototype.getHash = function() {
|
988
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
989
|
+
};
|
990
|
+
|
991
|
+
|
992
|
+
/**
|
993
|
+
* @param {string} value
|
994
|
+
* @return {!proto.log.IssueItem} returns this
|
995
|
+
*/
|
996
|
+
proto.log.IssueItem.prototype.setHash = function(value) {
|
997
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
998
|
+
};
|
999
|
+
|
1000
|
+
|
1001
|
+
/**
|
1002
|
+
* optional string type = 2;
|
1003
|
+
* @return {string}
|
1004
|
+
*/
|
1005
|
+
proto.log.IssueItem.prototype.getType = function() {
|
1006
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1007
|
+
};
|
1008
|
+
|
1009
|
+
|
1010
|
+
/**
|
1011
|
+
* @param {string} value
|
1012
|
+
* @return {!proto.log.IssueItem} returns this
|
1013
|
+
*/
|
1014
|
+
proto.log.IssueItem.prototype.setType = function(value) {
|
1015
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
1016
|
+
};
|
1017
|
+
|
1018
|
+
|
1019
|
+
/**
|
1020
|
+
* optional string service = 3;
|
1021
|
+
* @return {string}
|
1022
|
+
*/
|
1023
|
+
proto.log.IssueItem.prototype.getService = function() {
|
1024
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1025
|
+
};
|
1026
|
+
|
1027
|
+
|
1028
|
+
/**
|
1029
|
+
* @param {string} value
|
1030
|
+
* @return {!proto.log.IssueItem} returns this
|
1031
|
+
*/
|
1032
|
+
proto.log.IssueItem.prototype.setService = function(value) {
|
1033
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
1034
|
+
};
|
1035
|
+
|
1036
|
+
|
1037
|
+
/**
|
1038
|
+
* optional string message = 4;
|
1039
|
+
* @return {string}
|
1040
|
+
*/
|
1041
|
+
proto.log.IssueItem.prototype.getMessage = function() {
|
1042
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1043
|
+
};
|
1044
|
+
|
1045
|
+
|
1046
|
+
/**
|
1047
|
+
* @param {string} value
|
1048
|
+
* @return {!proto.log.IssueItem} returns this
|
1049
|
+
*/
|
1050
|
+
proto.log.IssueItem.prototype.setMessage = function(value) {
|
1051
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
1052
|
+
};
|
1053
|
+
|
1054
|
+
|
1055
|
+
/**
|
1056
|
+
* optional string created = 5;
|
1057
|
+
* @return {string}
|
1058
|
+
*/
|
1059
|
+
proto.log.IssueItem.prototype.getCreated = function() {
|
1060
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
1061
|
+
};
|
1062
|
+
|
1063
|
+
|
1064
|
+
/**
|
1065
|
+
* @param {string} value
|
1066
|
+
* @return {!proto.log.IssueItem} returns this
|
1067
|
+
*/
|
1068
|
+
proto.log.IssueItem.prototype.setCreated = function(value) {
|
1069
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
1070
|
+
};
|
1071
|
+
|
1072
|
+
|
1073
|
+
|
1074
|
+
/**
|
1075
|
+
* List of repeated fields within this message type.
|
1076
|
+
* @private {!Array<number>}
|
1077
|
+
* @const
|
1078
|
+
*/
|
1079
|
+
proto.log.IssueItemsResponse.repeatedFields_ = [1];
|
1080
|
+
|
1081
|
+
|
1082
|
+
|
1083
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1084
|
+
/**
|
1085
|
+
* Creates an object representation of this proto.
|
1086
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1087
|
+
* Optional fields that are not set will be set to undefined.
|
1088
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1089
|
+
* For the list of reserved names please see:
|
1090
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1091
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1092
|
+
* JSPB instance for transitional soy proto support:
|
1093
|
+
* http://goto/soy-param-migration
|
1094
|
+
* @return {!Object}
|
1095
|
+
*/
|
1096
|
+
proto.log.IssueItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
1097
|
+
return proto.log.IssueItemsResponse.toObject(opt_includeInstance, this);
|
1098
|
+
};
|
1099
|
+
|
1100
|
+
|
1101
|
+
/**
|
1102
|
+
* Static version of the {@see toObject} method.
|
1103
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1104
|
+
* the JSPB instance for transitional soy proto support:
|
1105
|
+
* http://goto/soy-param-migration
|
1106
|
+
* @param {!proto.log.IssueItemsResponse} msg The msg instance to transform.
|
1107
|
+
* @return {!Object}
|
1108
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1109
|
+
*/
|
1110
|
+
proto.log.IssueItemsResponse.toObject = function(includeInstance, msg) {
|
1111
|
+
var f, obj = {
|
1112
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
1113
|
+
proto.log.IssueItem.toObject, includeInstance),
|
1114
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1115
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
1116
|
+
};
|
1117
|
+
|
1118
|
+
if (includeInstance) {
|
1119
|
+
obj.$jspbMessageInstance = msg;
|
1120
|
+
}
|
1121
|
+
return obj;
|
1122
|
+
};
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
|
1126
|
+
/**
|
1127
|
+
* Deserializes binary data (in protobuf wire format).
|
1128
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1129
|
+
* @return {!proto.log.IssueItemsResponse}
|
1130
|
+
*/
|
1131
|
+
proto.log.IssueItemsResponse.deserializeBinary = function(bytes) {
|
1132
|
+
var reader = new jspb.BinaryReader(bytes);
|
1133
|
+
var msg = new proto.log.IssueItemsResponse;
|
1134
|
+
return proto.log.IssueItemsResponse.deserializeBinaryFromReader(msg, reader);
|
1135
|
+
};
|
1136
|
+
|
1137
|
+
|
1138
|
+
/**
|
1139
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1140
|
+
* given reader into the given message object.
|
1141
|
+
* @param {!proto.log.IssueItemsResponse} msg The message object to deserialize into.
|
1142
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1143
|
+
* @return {!proto.log.IssueItemsResponse}
|
1144
|
+
*/
|
1145
|
+
proto.log.IssueItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1146
|
+
while (reader.nextField()) {
|
1147
|
+
if (reader.isEndGroup()) {
|
1148
|
+
break;
|
1149
|
+
}
|
1150
|
+
var field = reader.getFieldNumber();
|
1151
|
+
switch (field) {
|
1152
|
+
case 1:
|
1153
|
+
var value = new proto.log.IssueItem;
|
1154
|
+
reader.readMessage(value,proto.log.IssueItem.deserializeBinaryFromReader);
|
1155
|
+
msg.addItems(value);
|
1156
|
+
break;
|
1157
|
+
case 2:
|
1158
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1159
|
+
msg.setTotalPages(value);
|
1160
|
+
break;
|
1161
|
+
case 3:
|
1162
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1163
|
+
msg.setTotalItems(value);
|
1164
|
+
break;
|
1165
|
+
default:
|
1166
|
+
reader.skipField();
|
1167
|
+
break;
|
1168
|
+
}
|
1169
|
+
}
|
1170
|
+
return msg;
|
1171
|
+
};
|
1172
|
+
|
1173
|
+
|
1174
|
+
/**
|
1175
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1176
|
+
* @return {!Uint8Array}
|
1177
|
+
*/
|
1178
|
+
proto.log.IssueItemsResponse.prototype.serializeBinary = function() {
|
1179
|
+
var writer = new jspb.BinaryWriter();
|
1180
|
+
proto.log.IssueItemsResponse.serializeBinaryToWriter(this, writer);
|
1181
|
+
return writer.getResultBuffer();
|
1182
|
+
};
|
1183
|
+
|
1184
|
+
|
1185
|
+
/**
|
1186
|
+
* Serializes the given message to binary data (in protobuf wire
|
1187
|
+
* format), writing to the given BinaryWriter.
|
1188
|
+
* @param {!proto.log.IssueItemsResponse} message
|
1189
|
+
* @param {!jspb.BinaryWriter} writer
|
1190
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1191
|
+
*/
|
1192
|
+
proto.log.IssueItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
1193
|
+
var f = undefined;
|
1194
|
+
f = message.getItemsList();
|
1195
|
+
if (f.length > 0) {
|
1196
|
+
writer.writeRepeatedMessage(
|
1197
|
+
1,
|
1198
|
+
f,
|
1199
|
+
proto.log.IssueItem.serializeBinaryToWriter
|
1200
|
+
);
|
1201
|
+
}
|
1202
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
1203
|
+
if (f != null) {
|
1204
|
+
writer.writeInt32(
|
1205
|
+
2,
|
1206
|
+
f
|
1207
|
+
);
|
1208
|
+
}
|
1209
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
1210
|
+
if (f != null) {
|
1211
|
+
writer.writeInt32(
|
1212
|
+
3,
|
1213
|
+
f
|
1214
|
+
);
|
1215
|
+
}
|
1216
|
+
};
|
1217
|
+
|
1218
|
+
|
1219
|
+
/**
|
1220
|
+
* repeated IssueItem items = 1;
|
1221
|
+
* @return {!Array<!proto.log.IssueItem>}
|
1222
|
+
*/
|
1223
|
+
proto.log.IssueItemsResponse.prototype.getItemsList = function() {
|
1224
|
+
return /** @type{!Array<!proto.log.IssueItem>} */ (
|
1225
|
+
jspb.Message.getRepeatedWrapperField(this, proto.log.IssueItem, 1));
|
1226
|
+
};
|
1227
|
+
|
1228
|
+
|
1229
|
+
/**
|
1230
|
+
* @param {!Array<!proto.log.IssueItem>} value
|
1231
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1232
|
+
*/
|
1233
|
+
proto.log.IssueItemsResponse.prototype.setItemsList = function(value) {
|
1234
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
1235
|
+
};
|
1236
|
+
|
1237
|
+
|
1238
|
+
/**
|
1239
|
+
* @param {!proto.log.IssueItem=} opt_value
|
1240
|
+
* @param {number=} opt_index
|
1241
|
+
* @return {!proto.log.IssueItem}
|
1242
|
+
*/
|
1243
|
+
proto.log.IssueItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
1244
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.log.IssueItem, opt_index);
|
1245
|
+
};
|
1246
|
+
|
1247
|
+
|
1248
|
+
/**
|
1249
|
+
* Clears the list making it empty but non-null.
|
1250
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1251
|
+
*/
|
1252
|
+
proto.log.IssueItemsResponse.prototype.clearItemsList = function() {
|
1253
|
+
return this.setItemsList([]);
|
1254
|
+
};
|
1255
|
+
|
1256
|
+
|
1257
|
+
/**
|
1258
|
+
* optional int32 total_pages = 2;
|
1259
|
+
* @return {number}
|
1260
|
+
*/
|
1261
|
+
proto.log.IssueItemsResponse.prototype.getTotalPages = function() {
|
1262
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
1263
|
+
};
|
1264
|
+
|
1265
|
+
|
1266
|
+
/**
|
1267
|
+
* @param {number} value
|
1268
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1269
|
+
*/
|
1270
|
+
proto.log.IssueItemsResponse.prototype.setTotalPages = function(value) {
|
1271
|
+
return jspb.Message.setField(this, 2, value);
|
1272
|
+
};
|
1273
|
+
|
1274
|
+
|
1275
|
+
/**
|
1276
|
+
* Clears the field making it undefined.
|
1277
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1278
|
+
*/
|
1279
|
+
proto.log.IssueItemsResponse.prototype.clearTotalPages = function() {
|
1280
|
+
return jspb.Message.setField(this, 2, undefined);
|
1281
|
+
};
|
1282
|
+
|
1283
|
+
|
1284
|
+
/**
|
1285
|
+
* Returns whether this field is set.
|
1286
|
+
* @return {boolean}
|
1287
|
+
*/
|
1288
|
+
proto.log.IssueItemsResponse.prototype.hasTotalPages = function() {
|
1289
|
+
return jspb.Message.getField(this, 2) != null;
|
1290
|
+
};
|
1291
|
+
|
1292
|
+
|
1293
|
+
/**
|
1294
|
+
* optional int32 total_items = 3;
|
1295
|
+
* @return {number}
|
1296
|
+
*/
|
1297
|
+
proto.log.IssueItemsResponse.prototype.getTotalItems = function() {
|
1298
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
1299
|
+
};
|
1300
|
+
|
1301
|
+
|
1302
|
+
/**
|
1303
|
+
* @param {number} value
|
1304
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1305
|
+
*/
|
1306
|
+
proto.log.IssueItemsResponse.prototype.setTotalItems = function(value) {
|
1307
|
+
return jspb.Message.setField(this, 3, value);
|
1308
|
+
};
|
1309
|
+
|
1310
|
+
|
1311
|
+
/**
|
1312
|
+
* Clears the field making it undefined.
|
1313
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1314
|
+
*/
|
1315
|
+
proto.log.IssueItemsResponse.prototype.clearTotalItems = function() {
|
1316
|
+
return jspb.Message.setField(this, 3, undefined);
|
1317
|
+
};
|
1318
|
+
|
1319
|
+
|
1320
|
+
/**
|
1321
|
+
* Returns whether this field is set.
|
1322
|
+
* @return {boolean}
|
1323
|
+
*/
|
1324
|
+
proto.log.IssueItemsResponse.prototype.hasTotalItems = function() {
|
1325
|
+
return jspb.Message.getField(this, 3) != null;
|
1326
|
+
};
|
1327
|
+
|
1328
|
+
|
328
1329
|
goog.object.extend(exports, proto.log);
|