protobuf-platform 1.0.241 → 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 +5 -3
- package/log/log_grpc_pb.js +34 -0
- package/log/log_pb.js +85 -85
- package/package.json +1 -1
package/log/log.proto
CHANGED
@@ -4,6 +4,8 @@ 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; }
|
@@ -13,15 +15,15 @@ message LogSearchRequest {
|
|
13
15
|
optional string service_name = 1;
|
14
16
|
optional string type = 2;
|
15
17
|
}
|
16
|
-
message
|
18
|
+
message IssueItem {
|
17
19
|
string hash = 1;
|
18
20
|
string type = 2;
|
19
21
|
string service = 3;
|
20
22
|
string message = 4;
|
21
23
|
string created = 5;
|
22
24
|
}
|
23
|
-
message
|
24
|
-
repeated
|
25
|
+
message IssueItemsResponse {
|
26
|
+
repeated IssueItem items = 1;
|
25
27
|
optional int32 total_pages = 2;
|
26
28
|
optional int32 total_items = 3;
|
27
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,8 +21,8 @@ var global = (function() {
|
|
21
21
|
return Function('return this')();
|
22
22
|
}.call(null));
|
23
23
|
|
24
|
-
goog.exportSymbol('proto.log.
|
25
|
-
goog.exportSymbol('proto.log.
|
24
|
+
goog.exportSymbol('proto.log.IssueItem', null, global);
|
25
|
+
goog.exportSymbol('proto.log.IssueItemsResponse', null, global);
|
26
26
|
goog.exportSymbol('proto.log.LogSearchRequest', null, global);
|
27
27
|
goog.exportSymbol('proto.log.PaginationRequest', null, global);
|
28
28
|
goog.exportSymbol('proto.log.PingRequest', null, global);
|
@@ -121,16 +121,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
121
121
|
* @extends {jspb.Message}
|
122
122
|
* @constructor
|
123
123
|
*/
|
124
|
-
proto.log.
|
124
|
+
proto.log.IssueItem = function(opt_data) {
|
125
125
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
126
126
|
};
|
127
|
-
goog.inherits(proto.log.
|
127
|
+
goog.inherits(proto.log.IssueItem, jspb.Message);
|
128
128
|
if (goog.DEBUG && !COMPILED) {
|
129
129
|
/**
|
130
130
|
* @public
|
131
131
|
* @override
|
132
132
|
*/
|
133
|
-
proto.log.
|
133
|
+
proto.log.IssueItem.displayName = 'proto.log.IssueItem';
|
134
134
|
}
|
135
135
|
/**
|
136
136
|
* Generated by JsPbCodeGenerator.
|
@@ -142,16 +142,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
142
142
|
* @extends {jspb.Message}
|
143
143
|
* @constructor
|
144
144
|
*/
|
145
|
-
proto.log.
|
146
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.log.
|
145
|
+
proto.log.IssueItemsResponse = function(opt_data) {
|
146
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.log.IssueItemsResponse.repeatedFields_, null);
|
147
147
|
};
|
148
|
-
goog.inherits(proto.log.
|
148
|
+
goog.inherits(proto.log.IssueItemsResponse, jspb.Message);
|
149
149
|
if (goog.DEBUG && !COMPILED) {
|
150
150
|
/**
|
151
151
|
* @public
|
152
152
|
* @override
|
153
153
|
*/
|
154
|
-
proto.log.
|
154
|
+
proto.log.IssueItemsResponse.displayName = 'proto.log.IssueItemsResponse';
|
155
155
|
}
|
156
156
|
|
157
157
|
|
@@ -836,8 +836,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
836
836
|
* http://goto/soy-param-migration
|
837
837
|
* @return {!Object}
|
838
838
|
*/
|
839
|
-
proto.log.
|
840
|
-
return proto.log.
|
839
|
+
proto.log.IssueItem.prototype.toObject = function(opt_includeInstance) {
|
840
|
+
return proto.log.IssueItem.toObject(opt_includeInstance, this);
|
841
841
|
};
|
842
842
|
|
843
843
|
|
@@ -846,11 +846,11 @@ proto.log.LogItem.prototype.toObject = function(opt_includeInstance) {
|
|
846
846
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
847
847
|
* the JSPB instance for transitional soy proto support:
|
848
848
|
* http://goto/soy-param-migration
|
849
|
-
* @param {!proto.log.
|
849
|
+
* @param {!proto.log.IssueItem} msg The msg instance to transform.
|
850
850
|
* @return {!Object}
|
851
851
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
852
852
|
*/
|
853
|
-
proto.log.
|
853
|
+
proto.log.IssueItem.toObject = function(includeInstance, msg) {
|
854
854
|
var f, obj = {
|
855
855
|
hash: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
856
856
|
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
@@ -870,23 +870,23 @@ proto.log.LogItem.toObject = function(includeInstance, msg) {
|
|
870
870
|
/**
|
871
871
|
* Deserializes binary data (in protobuf wire format).
|
872
872
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
873
|
-
* @return {!proto.log.
|
873
|
+
* @return {!proto.log.IssueItem}
|
874
874
|
*/
|
875
|
-
proto.log.
|
875
|
+
proto.log.IssueItem.deserializeBinary = function(bytes) {
|
876
876
|
var reader = new jspb.BinaryReader(bytes);
|
877
|
-
var msg = new proto.log.
|
878
|
-
return proto.log.
|
877
|
+
var msg = new proto.log.IssueItem;
|
878
|
+
return proto.log.IssueItem.deserializeBinaryFromReader(msg, reader);
|
879
879
|
};
|
880
880
|
|
881
881
|
|
882
882
|
/**
|
883
883
|
* Deserializes binary data (in protobuf wire format) from the
|
884
884
|
* given reader into the given message object.
|
885
|
-
* @param {!proto.log.
|
885
|
+
* @param {!proto.log.IssueItem} msg The message object to deserialize into.
|
886
886
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
887
|
-
* @return {!proto.log.
|
887
|
+
* @return {!proto.log.IssueItem}
|
888
888
|
*/
|
889
|
-
proto.log.
|
889
|
+
proto.log.IssueItem.deserializeBinaryFromReader = function(msg, reader) {
|
890
890
|
while (reader.nextField()) {
|
891
891
|
if (reader.isEndGroup()) {
|
892
892
|
break;
|
@@ -926,9 +926,9 @@ proto.log.LogItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
926
926
|
* Serializes the message to binary data (in protobuf wire format).
|
927
927
|
* @return {!Uint8Array}
|
928
928
|
*/
|
929
|
-
proto.log.
|
929
|
+
proto.log.IssueItem.prototype.serializeBinary = function() {
|
930
930
|
var writer = new jspb.BinaryWriter();
|
931
|
-
proto.log.
|
931
|
+
proto.log.IssueItem.serializeBinaryToWriter(this, writer);
|
932
932
|
return writer.getResultBuffer();
|
933
933
|
};
|
934
934
|
|
@@ -936,11 +936,11 @@ proto.log.LogItem.prototype.serializeBinary = function() {
|
|
936
936
|
/**
|
937
937
|
* Serializes the given message to binary data (in protobuf wire
|
938
938
|
* format), writing to the given BinaryWriter.
|
939
|
-
* @param {!proto.log.
|
939
|
+
* @param {!proto.log.IssueItem} message
|
940
940
|
* @param {!jspb.BinaryWriter} writer
|
941
941
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
942
942
|
*/
|
943
|
-
proto.log.
|
943
|
+
proto.log.IssueItem.serializeBinaryToWriter = function(message, writer) {
|
944
944
|
var f = undefined;
|
945
945
|
f = message.getHash();
|
946
946
|
if (f.length > 0) {
|
@@ -984,16 +984,16 @@ proto.log.LogItem.serializeBinaryToWriter = function(message, writer) {
|
|
984
984
|
* optional string hash = 1;
|
985
985
|
* @return {string}
|
986
986
|
*/
|
987
|
-
proto.log.
|
987
|
+
proto.log.IssueItem.prototype.getHash = function() {
|
988
988
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
989
989
|
};
|
990
990
|
|
991
991
|
|
992
992
|
/**
|
993
993
|
* @param {string} value
|
994
|
-
* @return {!proto.log.
|
994
|
+
* @return {!proto.log.IssueItem} returns this
|
995
995
|
*/
|
996
|
-
proto.log.
|
996
|
+
proto.log.IssueItem.prototype.setHash = function(value) {
|
997
997
|
return jspb.Message.setProto3StringField(this, 1, value);
|
998
998
|
};
|
999
999
|
|
@@ -1002,16 +1002,16 @@ proto.log.LogItem.prototype.setHash = function(value) {
|
|
1002
1002
|
* optional string type = 2;
|
1003
1003
|
* @return {string}
|
1004
1004
|
*/
|
1005
|
-
proto.log.
|
1005
|
+
proto.log.IssueItem.prototype.getType = function() {
|
1006
1006
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1007
1007
|
};
|
1008
1008
|
|
1009
1009
|
|
1010
1010
|
/**
|
1011
1011
|
* @param {string} value
|
1012
|
-
* @return {!proto.log.
|
1012
|
+
* @return {!proto.log.IssueItem} returns this
|
1013
1013
|
*/
|
1014
|
-
proto.log.
|
1014
|
+
proto.log.IssueItem.prototype.setType = function(value) {
|
1015
1015
|
return jspb.Message.setProto3StringField(this, 2, value);
|
1016
1016
|
};
|
1017
1017
|
|
@@ -1020,16 +1020,16 @@ proto.log.LogItem.prototype.setType = function(value) {
|
|
1020
1020
|
* optional string service = 3;
|
1021
1021
|
* @return {string}
|
1022
1022
|
*/
|
1023
|
-
proto.log.
|
1023
|
+
proto.log.IssueItem.prototype.getService = function() {
|
1024
1024
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1025
1025
|
};
|
1026
1026
|
|
1027
1027
|
|
1028
1028
|
/**
|
1029
1029
|
* @param {string} value
|
1030
|
-
* @return {!proto.log.
|
1030
|
+
* @return {!proto.log.IssueItem} returns this
|
1031
1031
|
*/
|
1032
|
-
proto.log.
|
1032
|
+
proto.log.IssueItem.prototype.setService = function(value) {
|
1033
1033
|
return jspb.Message.setProto3StringField(this, 3, value);
|
1034
1034
|
};
|
1035
1035
|
|
@@ -1038,16 +1038,16 @@ proto.log.LogItem.prototype.setService = function(value) {
|
|
1038
1038
|
* optional string message = 4;
|
1039
1039
|
* @return {string}
|
1040
1040
|
*/
|
1041
|
-
proto.log.
|
1041
|
+
proto.log.IssueItem.prototype.getMessage = function() {
|
1042
1042
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1043
1043
|
};
|
1044
1044
|
|
1045
1045
|
|
1046
1046
|
/**
|
1047
1047
|
* @param {string} value
|
1048
|
-
* @return {!proto.log.
|
1048
|
+
* @return {!proto.log.IssueItem} returns this
|
1049
1049
|
*/
|
1050
|
-
proto.log.
|
1050
|
+
proto.log.IssueItem.prototype.setMessage = function(value) {
|
1051
1051
|
return jspb.Message.setProto3StringField(this, 4, value);
|
1052
1052
|
};
|
1053
1053
|
|
@@ -1056,16 +1056,16 @@ proto.log.LogItem.prototype.setMessage = function(value) {
|
|
1056
1056
|
* optional string created = 5;
|
1057
1057
|
* @return {string}
|
1058
1058
|
*/
|
1059
|
-
proto.log.
|
1059
|
+
proto.log.IssueItem.prototype.getCreated = function() {
|
1060
1060
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
1061
1061
|
};
|
1062
1062
|
|
1063
1063
|
|
1064
1064
|
/**
|
1065
1065
|
* @param {string} value
|
1066
|
-
* @return {!proto.log.
|
1066
|
+
* @return {!proto.log.IssueItem} returns this
|
1067
1067
|
*/
|
1068
|
-
proto.log.
|
1068
|
+
proto.log.IssueItem.prototype.setCreated = function(value) {
|
1069
1069
|
return jspb.Message.setProto3StringField(this, 5, value);
|
1070
1070
|
};
|
1071
1071
|
|
@@ -1076,7 +1076,7 @@ proto.log.LogItem.prototype.setCreated = function(value) {
|
|
1076
1076
|
* @private {!Array<number>}
|
1077
1077
|
* @const
|
1078
1078
|
*/
|
1079
|
-
proto.log.
|
1079
|
+
proto.log.IssueItemsResponse.repeatedFields_ = [1];
|
1080
1080
|
|
1081
1081
|
|
1082
1082
|
|
@@ -1093,8 +1093,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1093
1093
|
* http://goto/soy-param-migration
|
1094
1094
|
* @return {!Object}
|
1095
1095
|
*/
|
1096
|
-
proto.log.
|
1097
|
-
return proto.log.
|
1096
|
+
proto.log.IssueItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
1097
|
+
return proto.log.IssueItemsResponse.toObject(opt_includeInstance, this);
|
1098
1098
|
};
|
1099
1099
|
|
1100
1100
|
|
@@ -1103,14 +1103,14 @@ proto.log.LogItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1103
1103
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1104
1104
|
* the JSPB instance for transitional soy proto support:
|
1105
1105
|
* http://goto/soy-param-migration
|
1106
|
-
* @param {!proto.log.
|
1106
|
+
* @param {!proto.log.IssueItemsResponse} msg The msg instance to transform.
|
1107
1107
|
* @return {!Object}
|
1108
1108
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1109
1109
|
*/
|
1110
|
-
proto.log.
|
1110
|
+
proto.log.IssueItemsResponse.toObject = function(includeInstance, msg) {
|
1111
1111
|
var f, obj = {
|
1112
1112
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
1113
|
-
proto.log.
|
1113
|
+
proto.log.IssueItem.toObject, includeInstance),
|
1114
1114
|
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1115
1115
|
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
1116
1116
|
};
|
@@ -1126,23 +1126,23 @@ proto.log.LogItemsResponse.toObject = function(includeInstance, msg) {
|
|
1126
1126
|
/**
|
1127
1127
|
* Deserializes binary data (in protobuf wire format).
|
1128
1128
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1129
|
-
* @return {!proto.log.
|
1129
|
+
* @return {!proto.log.IssueItemsResponse}
|
1130
1130
|
*/
|
1131
|
-
proto.log.
|
1131
|
+
proto.log.IssueItemsResponse.deserializeBinary = function(bytes) {
|
1132
1132
|
var reader = new jspb.BinaryReader(bytes);
|
1133
|
-
var msg = new proto.log.
|
1134
|
-
return proto.log.
|
1133
|
+
var msg = new proto.log.IssueItemsResponse;
|
1134
|
+
return proto.log.IssueItemsResponse.deserializeBinaryFromReader(msg, reader);
|
1135
1135
|
};
|
1136
1136
|
|
1137
1137
|
|
1138
1138
|
/**
|
1139
1139
|
* Deserializes binary data (in protobuf wire format) from the
|
1140
1140
|
* given reader into the given message object.
|
1141
|
-
* @param {!proto.log.
|
1141
|
+
* @param {!proto.log.IssueItemsResponse} msg The message object to deserialize into.
|
1142
1142
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1143
|
-
* @return {!proto.log.
|
1143
|
+
* @return {!proto.log.IssueItemsResponse}
|
1144
1144
|
*/
|
1145
|
-
proto.log.
|
1145
|
+
proto.log.IssueItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1146
1146
|
while (reader.nextField()) {
|
1147
1147
|
if (reader.isEndGroup()) {
|
1148
1148
|
break;
|
@@ -1150,8 +1150,8 @@ proto.log.LogItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1150
1150
|
var field = reader.getFieldNumber();
|
1151
1151
|
switch (field) {
|
1152
1152
|
case 1:
|
1153
|
-
var value = new proto.log.
|
1154
|
-
reader.readMessage(value,proto.log.
|
1153
|
+
var value = new proto.log.IssueItem;
|
1154
|
+
reader.readMessage(value,proto.log.IssueItem.deserializeBinaryFromReader);
|
1155
1155
|
msg.addItems(value);
|
1156
1156
|
break;
|
1157
1157
|
case 2:
|
@@ -1175,9 +1175,9 @@ proto.log.LogItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1175
1175
|
* Serializes the message to binary data (in protobuf wire format).
|
1176
1176
|
* @return {!Uint8Array}
|
1177
1177
|
*/
|
1178
|
-
proto.log.
|
1178
|
+
proto.log.IssueItemsResponse.prototype.serializeBinary = function() {
|
1179
1179
|
var writer = new jspb.BinaryWriter();
|
1180
|
-
proto.log.
|
1180
|
+
proto.log.IssueItemsResponse.serializeBinaryToWriter(this, writer);
|
1181
1181
|
return writer.getResultBuffer();
|
1182
1182
|
};
|
1183
1183
|
|
@@ -1185,18 +1185,18 @@ proto.log.LogItemsResponse.prototype.serializeBinary = function() {
|
|
1185
1185
|
/**
|
1186
1186
|
* Serializes the given message to binary data (in protobuf wire
|
1187
1187
|
* format), writing to the given BinaryWriter.
|
1188
|
-
* @param {!proto.log.
|
1188
|
+
* @param {!proto.log.IssueItemsResponse} message
|
1189
1189
|
* @param {!jspb.BinaryWriter} writer
|
1190
1190
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1191
1191
|
*/
|
1192
|
-
proto.log.
|
1192
|
+
proto.log.IssueItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
1193
1193
|
var f = undefined;
|
1194
1194
|
f = message.getItemsList();
|
1195
1195
|
if (f.length > 0) {
|
1196
1196
|
writer.writeRepeatedMessage(
|
1197
1197
|
1,
|
1198
1198
|
f,
|
1199
|
-
proto.log.
|
1199
|
+
proto.log.IssueItem.serializeBinaryToWriter
|
1200
1200
|
);
|
1201
1201
|
}
|
1202
1202
|
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
@@ -1217,39 +1217,39 @@ proto.log.LogItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1217
1217
|
|
1218
1218
|
|
1219
1219
|
/**
|
1220
|
-
* repeated
|
1221
|
-
* @return {!Array<!proto.log.
|
1220
|
+
* repeated IssueItem items = 1;
|
1221
|
+
* @return {!Array<!proto.log.IssueItem>}
|
1222
1222
|
*/
|
1223
|
-
proto.log.
|
1224
|
-
return /** @type{!Array<!proto.log.
|
1225
|
-
jspb.Message.getRepeatedWrapperField(this, proto.log.
|
1223
|
+
proto.log.IssueItemsResponse.prototype.getItemsList = function() {
|
1224
|
+
return /** @type{!Array<!proto.log.IssueItem>} */ (
|
1225
|
+
jspb.Message.getRepeatedWrapperField(this, proto.log.IssueItem, 1));
|
1226
1226
|
};
|
1227
1227
|
|
1228
1228
|
|
1229
1229
|
/**
|
1230
|
-
* @param {!Array<!proto.log.
|
1231
|
-
* @return {!proto.log.
|
1230
|
+
* @param {!Array<!proto.log.IssueItem>} value
|
1231
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1232
1232
|
*/
|
1233
|
-
proto.log.
|
1233
|
+
proto.log.IssueItemsResponse.prototype.setItemsList = function(value) {
|
1234
1234
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
1235
1235
|
};
|
1236
1236
|
|
1237
1237
|
|
1238
1238
|
/**
|
1239
|
-
* @param {!proto.log.
|
1239
|
+
* @param {!proto.log.IssueItem=} opt_value
|
1240
1240
|
* @param {number=} opt_index
|
1241
|
-
* @return {!proto.log.
|
1241
|
+
* @return {!proto.log.IssueItem}
|
1242
1242
|
*/
|
1243
|
-
proto.log.
|
1244
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.log.
|
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
1245
|
};
|
1246
1246
|
|
1247
1247
|
|
1248
1248
|
/**
|
1249
1249
|
* Clears the list making it empty but non-null.
|
1250
|
-
* @return {!proto.log.
|
1250
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1251
1251
|
*/
|
1252
|
-
proto.log.
|
1252
|
+
proto.log.IssueItemsResponse.prototype.clearItemsList = function() {
|
1253
1253
|
return this.setItemsList([]);
|
1254
1254
|
};
|
1255
1255
|
|
@@ -1258,25 +1258,25 @@ proto.log.LogItemsResponse.prototype.clearItemsList = function() {
|
|
1258
1258
|
* optional int32 total_pages = 2;
|
1259
1259
|
* @return {number}
|
1260
1260
|
*/
|
1261
|
-
proto.log.
|
1261
|
+
proto.log.IssueItemsResponse.prototype.getTotalPages = function() {
|
1262
1262
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
1263
1263
|
};
|
1264
1264
|
|
1265
1265
|
|
1266
1266
|
/**
|
1267
1267
|
* @param {number} value
|
1268
|
-
* @return {!proto.log.
|
1268
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1269
1269
|
*/
|
1270
|
-
proto.log.
|
1270
|
+
proto.log.IssueItemsResponse.prototype.setTotalPages = function(value) {
|
1271
1271
|
return jspb.Message.setField(this, 2, value);
|
1272
1272
|
};
|
1273
1273
|
|
1274
1274
|
|
1275
1275
|
/**
|
1276
1276
|
* Clears the field making it undefined.
|
1277
|
-
* @return {!proto.log.
|
1277
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1278
1278
|
*/
|
1279
|
-
proto.log.
|
1279
|
+
proto.log.IssueItemsResponse.prototype.clearTotalPages = function() {
|
1280
1280
|
return jspb.Message.setField(this, 2, undefined);
|
1281
1281
|
};
|
1282
1282
|
|
@@ -1285,7 +1285,7 @@ proto.log.LogItemsResponse.prototype.clearTotalPages = function() {
|
|
1285
1285
|
* Returns whether this field is set.
|
1286
1286
|
* @return {boolean}
|
1287
1287
|
*/
|
1288
|
-
proto.log.
|
1288
|
+
proto.log.IssueItemsResponse.prototype.hasTotalPages = function() {
|
1289
1289
|
return jspb.Message.getField(this, 2) != null;
|
1290
1290
|
};
|
1291
1291
|
|
@@ -1294,25 +1294,25 @@ proto.log.LogItemsResponse.prototype.hasTotalPages = function() {
|
|
1294
1294
|
* optional int32 total_items = 3;
|
1295
1295
|
* @return {number}
|
1296
1296
|
*/
|
1297
|
-
proto.log.
|
1297
|
+
proto.log.IssueItemsResponse.prototype.getTotalItems = function() {
|
1298
1298
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
1299
1299
|
};
|
1300
1300
|
|
1301
1301
|
|
1302
1302
|
/**
|
1303
1303
|
* @param {number} value
|
1304
|
-
* @return {!proto.log.
|
1304
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1305
1305
|
*/
|
1306
|
-
proto.log.
|
1306
|
+
proto.log.IssueItemsResponse.prototype.setTotalItems = function(value) {
|
1307
1307
|
return jspb.Message.setField(this, 3, value);
|
1308
1308
|
};
|
1309
1309
|
|
1310
1310
|
|
1311
1311
|
/**
|
1312
1312
|
* Clears the field making it undefined.
|
1313
|
-
* @return {!proto.log.
|
1313
|
+
* @return {!proto.log.IssueItemsResponse} returns this
|
1314
1314
|
*/
|
1315
|
-
proto.log.
|
1315
|
+
proto.log.IssueItemsResponse.prototype.clearTotalItems = function() {
|
1316
1316
|
return jspb.Message.setField(this, 3, undefined);
|
1317
1317
|
};
|
1318
1318
|
|
@@ -1321,7 +1321,7 @@ proto.log.LogItemsResponse.prototype.clearTotalItems = function() {
|
|
1321
1321
|
* Returns whether this field is set.
|
1322
1322
|
* @return {boolean}
|
1323
1323
|
*/
|
1324
|
-
proto.log.
|
1324
|
+
proto.log.IssueItemsResponse.prototype.hasTotalItems = function() {
|
1325
1325
|
return jspb.Message.getField(this, 3) != null;
|
1326
1326
|
};
|
1327
1327
|
|