Line data Source code
1 : //
2 : // Generated code. Do not modify.
3 : // source: core/Tron.proto
4 : //
5 : // @dart = 2.12
6 :
7 : // ignore_for_file: annotate_overrides, camel_case_types, comment_references
8 : // ignore_for_file: constant_identifier_names, library_prefixes
9 : // ignore_for_file: non_constant_identifier_names, prefer_final_fields
10 : // ignore_for_file: unnecessary_import, unnecessary_this, unused_import
11 :
12 : import 'dart:core' as $core;
13 :
14 : import 'package:fixnum/fixnum.dart' as $fixnum;
15 : import 'package:protobuf/protobuf.dart' as $pb;
16 :
17 : import 'any.pb.dart' as $12;
18 : import 'Discover.pb.dart' as $13;
19 : import 'Tron.pbenum.dart';
20 : import 'contract/common.pbenum.dart' as $14;
21 :
22 : export 'Tron.pbenum.dart';
23 :
24 : /// AccountId, (name, address) use name, (null, address) use address, (name, null) use name,
25 : class AccountId extends $pb.GeneratedMessage {
26 0 : factory AccountId({
27 : $core.List<$core.int>? name,
28 : $core.List<$core.int>? address,
29 : }) {
30 0 : final $result = create();
31 : if (name != null) {
32 0 : $result.name = name;
33 : }
34 : if (address != null) {
35 0 : $result.address = address;
36 : }
37 : return $result;
38 : }
39 0 : AccountId._() : super();
40 0 : factory AccountId.fromBuffer($core.List<$core.int> i,
41 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
42 0 : create()..mergeFromBuffer(i, r);
43 0 : factory AccountId.fromJson($core.String i,
44 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
45 0 : create()..mergeFromJson(i, r);
46 :
47 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
48 : _omitMessageNames ? '' : 'AccountId',
49 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
50 : createEmptyInstance: create)
51 0 : ..a<$core.List<$core.int>>(
52 : 1, _omitFieldNames ? '' : 'name', $pb.PbFieldType.OY)
53 0 : ..a<$core.List<$core.int>>(
54 : 2, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
55 0 : ..hasRequiredFields = false;
56 :
57 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
58 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
59 : 'Will be removed in next major version')
60 0 : AccountId clone() => AccountId()..mergeFromMessage(this);
61 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
62 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
63 : 'Will be removed in next major version')
64 : AccountId copyWith(void Function(AccountId) updates) =>
65 0 : super.copyWith((message) => updates(message as AccountId)) as AccountId;
66 :
67 0 : $pb.BuilderInfo get info_ => _i;
68 :
69 0 : @$core.pragma('dart2js:noInline')
70 0 : static AccountId create() => AccountId._();
71 0 : AccountId createEmptyInstance() => create();
72 0 : static $pb.PbList<AccountId> createRepeated() => $pb.PbList<AccountId>();
73 0 : @$core.pragma('dart2js:noInline')
74 : static AccountId getDefault() =>
75 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountId>(create);
76 : static AccountId? _defaultInstance;
77 :
78 0 : @$pb.TagNumber(1)
79 0 : $core.List<$core.int> get name => $_getN(0);
80 0 : @$pb.TagNumber(1)
81 : set name($core.List<$core.int> v) {
82 0 : $_setBytes(0, v);
83 : }
84 :
85 0 : @$pb.TagNumber(1)
86 0 : $core.bool hasName() => $_has(0);
87 0 : @$pb.TagNumber(1)
88 0 : void clearName() => clearField(1);
89 :
90 0 : @$pb.TagNumber(2)
91 0 : $core.List<$core.int> get address => $_getN(1);
92 0 : @$pb.TagNumber(2)
93 : set address($core.List<$core.int> v) {
94 0 : $_setBytes(1, v);
95 : }
96 :
97 0 : @$pb.TagNumber(2)
98 0 : $core.bool hasAddress() => $_has(1);
99 0 : @$pb.TagNumber(2)
100 0 : void clearAddress() => clearField(2);
101 : }
102 :
103 : /// vote message
104 : class Vote extends $pb.GeneratedMessage {
105 0 : factory Vote({
106 : $core.List<$core.int>? voteAddress,
107 : $fixnum.Int64? voteCount,
108 : }) {
109 0 : final $result = create();
110 : if (voteAddress != null) {
111 0 : $result.voteAddress = voteAddress;
112 : }
113 : if (voteCount != null) {
114 0 : $result.voteCount = voteCount;
115 : }
116 : return $result;
117 : }
118 0 : Vote._() : super();
119 0 : factory Vote.fromBuffer($core.List<$core.int> i,
120 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
121 0 : create()..mergeFromBuffer(i, r);
122 0 : factory Vote.fromJson($core.String i,
123 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
124 0 : create()..mergeFromJson(i, r);
125 :
126 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
127 : _omitMessageNames ? '' : 'Vote',
128 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
129 : createEmptyInstance: create)
130 0 : ..a<$core.List<$core.int>>(
131 : 1, _omitFieldNames ? '' : 'voteAddress', $pb.PbFieldType.OY)
132 0 : ..aInt64(2, _omitFieldNames ? '' : 'voteCount')
133 0 : ..hasRequiredFields = false;
134 :
135 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
136 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
137 : 'Will be removed in next major version')
138 0 : Vote clone() => Vote()..mergeFromMessage(this);
139 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
140 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
141 : 'Will be removed in next major version')
142 : Vote copyWith(void Function(Vote) updates) =>
143 0 : super.copyWith((message) => updates(message as Vote)) as Vote;
144 :
145 0 : $pb.BuilderInfo get info_ => _i;
146 :
147 0 : @$core.pragma('dart2js:noInline')
148 0 : static Vote create() => Vote._();
149 0 : Vote createEmptyInstance() => create();
150 0 : static $pb.PbList<Vote> createRepeated() => $pb.PbList<Vote>();
151 0 : @$core.pragma('dart2js:noInline')
152 : static Vote getDefault() =>
153 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Vote>(create);
154 : static Vote? _defaultInstance;
155 :
156 : /// the super rep address
157 0 : @$pb.TagNumber(1)
158 0 : $core.List<$core.int> get voteAddress => $_getN(0);
159 0 : @$pb.TagNumber(1)
160 : set voteAddress($core.List<$core.int> v) {
161 0 : $_setBytes(0, v);
162 : }
163 :
164 0 : @$pb.TagNumber(1)
165 0 : $core.bool hasVoteAddress() => $_has(0);
166 0 : @$pb.TagNumber(1)
167 0 : void clearVoteAddress() => clearField(1);
168 :
169 : /// the vote num to this super rep.
170 0 : @$pb.TagNumber(2)
171 0 : $fixnum.Int64 get voteCount => $_getI64(1);
172 0 : @$pb.TagNumber(2)
173 : set voteCount($fixnum.Int64 v) {
174 0 : $_setInt64(1, v);
175 : }
176 :
177 0 : @$pb.TagNumber(2)
178 0 : $core.bool hasVoteCount() => $_has(1);
179 0 : @$pb.TagNumber(2)
180 0 : void clearVoteCount() => clearField(2);
181 : }
182 :
183 : /// Proposal
184 : class Proposal extends $pb.GeneratedMessage {
185 0 : factory Proposal({
186 : $fixnum.Int64? proposalId,
187 : $core.List<$core.int>? proposerAddress,
188 : $core.Map<$fixnum.Int64, $fixnum.Int64>? parameters,
189 : $fixnum.Int64? expirationTime,
190 : $fixnum.Int64? createTime,
191 : $core.Iterable<$core.List<$core.int>>? approvals,
192 : Proposal_State? state,
193 : }) {
194 0 : final $result = create();
195 : if (proposalId != null) {
196 0 : $result.proposalId = proposalId;
197 : }
198 : if (proposerAddress != null) {
199 0 : $result.proposerAddress = proposerAddress;
200 : }
201 : if (parameters != null) {
202 0 : $result.parameters.addAll(parameters);
203 : }
204 : if (expirationTime != null) {
205 0 : $result.expirationTime = expirationTime;
206 : }
207 : if (createTime != null) {
208 0 : $result.createTime = createTime;
209 : }
210 : if (approvals != null) {
211 0 : $result.approvals.addAll(approvals);
212 : }
213 : if (state != null) {
214 0 : $result.state = state;
215 : }
216 : return $result;
217 : }
218 0 : Proposal._() : super();
219 0 : factory Proposal.fromBuffer($core.List<$core.int> i,
220 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
221 0 : create()..mergeFromBuffer(i, r);
222 0 : factory Proposal.fromJson($core.String i,
223 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
224 0 : create()..mergeFromJson(i, r);
225 :
226 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
227 : _omitMessageNames ? '' : 'Proposal',
228 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
229 : createEmptyInstance: create)
230 0 : ..aInt64(1, _omitFieldNames ? '' : 'proposalId')
231 0 : ..a<$core.List<$core.int>>(
232 : 2, _omitFieldNames ? '' : 'proposerAddress', $pb.PbFieldType.OY)
233 0 : ..m<$fixnum.Int64, $fixnum.Int64>(3, _omitFieldNames ? '' : 'parameters',
234 : entryClassName: 'Proposal.ParametersEntry',
235 : keyFieldType: $pb.PbFieldType.O6,
236 : valueFieldType: $pb.PbFieldType.O6,
237 : packageName: const $pb.PackageName('protocol'))
238 0 : ..aInt64(4, _omitFieldNames ? '' : 'expirationTime')
239 0 : ..aInt64(5, _omitFieldNames ? '' : 'createTime')
240 0 : ..p<$core.List<$core.int>>(
241 : 6, _omitFieldNames ? '' : 'approvals', $pb.PbFieldType.PY)
242 0 : ..e<Proposal_State>(7, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE,
243 : defaultOrMaker: Proposal_State.PENDING,
244 : valueOf: Proposal_State.valueOf,
245 : enumValues: Proposal_State.values)
246 0 : ..hasRequiredFields = false;
247 :
248 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
249 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
250 : 'Will be removed in next major version')
251 0 : Proposal clone() => Proposal()..mergeFromMessage(this);
252 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
253 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
254 : 'Will be removed in next major version')
255 : Proposal copyWith(void Function(Proposal) updates) =>
256 0 : super.copyWith((message) => updates(message as Proposal)) as Proposal;
257 :
258 0 : $pb.BuilderInfo get info_ => _i;
259 :
260 0 : @$core.pragma('dart2js:noInline')
261 0 : static Proposal create() => Proposal._();
262 0 : Proposal createEmptyInstance() => create();
263 0 : static $pb.PbList<Proposal> createRepeated() => $pb.PbList<Proposal>();
264 0 : @$core.pragma('dart2js:noInline')
265 : static Proposal getDefault() =>
266 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Proposal>(create);
267 : static Proposal? _defaultInstance;
268 :
269 0 : @$pb.TagNumber(1)
270 0 : $fixnum.Int64 get proposalId => $_getI64(0);
271 0 : @$pb.TagNumber(1)
272 : set proposalId($fixnum.Int64 v) {
273 0 : $_setInt64(0, v);
274 : }
275 :
276 0 : @$pb.TagNumber(1)
277 0 : $core.bool hasProposalId() => $_has(0);
278 0 : @$pb.TagNumber(1)
279 0 : void clearProposalId() => clearField(1);
280 :
281 0 : @$pb.TagNumber(2)
282 0 : $core.List<$core.int> get proposerAddress => $_getN(1);
283 0 : @$pb.TagNumber(2)
284 : set proposerAddress($core.List<$core.int> v) {
285 0 : $_setBytes(1, v);
286 : }
287 :
288 0 : @$pb.TagNumber(2)
289 0 : $core.bool hasProposerAddress() => $_has(1);
290 0 : @$pb.TagNumber(2)
291 0 : void clearProposerAddress() => clearField(2);
292 :
293 0 : @$pb.TagNumber(3)
294 0 : $core.Map<$fixnum.Int64, $fixnum.Int64> get parameters => $_getMap(2);
295 :
296 0 : @$pb.TagNumber(4)
297 0 : $fixnum.Int64 get expirationTime => $_getI64(3);
298 0 : @$pb.TagNumber(4)
299 : set expirationTime($fixnum.Int64 v) {
300 0 : $_setInt64(3, v);
301 : }
302 :
303 0 : @$pb.TagNumber(4)
304 0 : $core.bool hasExpirationTime() => $_has(3);
305 0 : @$pb.TagNumber(4)
306 0 : void clearExpirationTime() => clearField(4);
307 :
308 0 : @$pb.TagNumber(5)
309 0 : $fixnum.Int64 get createTime => $_getI64(4);
310 0 : @$pb.TagNumber(5)
311 : set createTime($fixnum.Int64 v) {
312 0 : $_setInt64(4, v);
313 : }
314 :
315 0 : @$pb.TagNumber(5)
316 0 : $core.bool hasCreateTime() => $_has(4);
317 0 : @$pb.TagNumber(5)
318 0 : void clearCreateTime() => clearField(5);
319 :
320 0 : @$pb.TagNumber(6)
321 0 : $core.List<$core.List<$core.int>> get approvals => $_getList(5);
322 :
323 0 : @$pb.TagNumber(7)
324 0 : Proposal_State get state => $_getN(6);
325 0 : @$pb.TagNumber(7)
326 : set state(Proposal_State v) {
327 0 : setField(7, v);
328 : }
329 :
330 0 : @$pb.TagNumber(7)
331 0 : $core.bool hasState() => $_has(6);
332 0 : @$pb.TagNumber(7)
333 0 : void clearState() => clearField(7);
334 : }
335 :
336 : /// Exchange
337 : class Exchange extends $pb.GeneratedMessage {
338 0 : factory Exchange({
339 : $fixnum.Int64? exchangeId,
340 : $core.List<$core.int>? creatorAddress,
341 : $fixnum.Int64? createTime,
342 : $core.List<$core.int>? firstTokenId,
343 : $fixnum.Int64? firstTokenBalance,
344 : $core.List<$core.int>? secondTokenId,
345 : $fixnum.Int64? secondTokenBalance,
346 : }) {
347 0 : final $result = create();
348 : if (exchangeId != null) {
349 0 : $result.exchangeId = exchangeId;
350 : }
351 : if (creatorAddress != null) {
352 0 : $result.creatorAddress = creatorAddress;
353 : }
354 : if (createTime != null) {
355 0 : $result.createTime = createTime;
356 : }
357 : if (firstTokenId != null) {
358 0 : $result.firstTokenId = firstTokenId;
359 : }
360 : if (firstTokenBalance != null) {
361 0 : $result.firstTokenBalance = firstTokenBalance;
362 : }
363 : if (secondTokenId != null) {
364 0 : $result.secondTokenId = secondTokenId;
365 : }
366 : if (secondTokenBalance != null) {
367 0 : $result.secondTokenBalance = secondTokenBalance;
368 : }
369 : return $result;
370 : }
371 0 : Exchange._() : super();
372 0 : factory Exchange.fromBuffer($core.List<$core.int> i,
373 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
374 0 : create()..mergeFromBuffer(i, r);
375 0 : factory Exchange.fromJson($core.String i,
376 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
377 0 : create()..mergeFromJson(i, r);
378 :
379 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
380 : _omitMessageNames ? '' : 'Exchange',
381 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
382 : createEmptyInstance: create)
383 0 : ..aInt64(1, _omitFieldNames ? '' : 'exchangeId')
384 0 : ..a<$core.List<$core.int>>(
385 : 2, _omitFieldNames ? '' : 'creatorAddress', $pb.PbFieldType.OY)
386 0 : ..aInt64(3, _omitFieldNames ? '' : 'createTime')
387 0 : ..a<$core.List<$core.int>>(
388 : 6, _omitFieldNames ? '' : 'firstTokenId', $pb.PbFieldType.OY)
389 0 : ..aInt64(7, _omitFieldNames ? '' : 'firstTokenBalance')
390 0 : ..a<$core.List<$core.int>>(
391 : 8, _omitFieldNames ? '' : 'secondTokenId', $pb.PbFieldType.OY)
392 0 : ..aInt64(9, _omitFieldNames ? '' : 'secondTokenBalance')
393 0 : ..hasRequiredFields = false;
394 :
395 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
396 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
397 : 'Will be removed in next major version')
398 0 : Exchange clone() => Exchange()..mergeFromMessage(this);
399 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
400 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
401 : 'Will be removed in next major version')
402 : Exchange copyWith(void Function(Exchange) updates) =>
403 0 : super.copyWith((message) => updates(message as Exchange)) as Exchange;
404 :
405 0 : $pb.BuilderInfo get info_ => _i;
406 :
407 0 : @$core.pragma('dart2js:noInline')
408 0 : static Exchange create() => Exchange._();
409 0 : Exchange createEmptyInstance() => create();
410 0 : static $pb.PbList<Exchange> createRepeated() => $pb.PbList<Exchange>();
411 0 : @$core.pragma('dart2js:noInline')
412 : static Exchange getDefault() =>
413 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Exchange>(create);
414 : static Exchange? _defaultInstance;
415 :
416 0 : @$pb.TagNumber(1)
417 0 : $fixnum.Int64 get exchangeId => $_getI64(0);
418 0 : @$pb.TagNumber(1)
419 : set exchangeId($fixnum.Int64 v) {
420 0 : $_setInt64(0, v);
421 : }
422 :
423 0 : @$pb.TagNumber(1)
424 0 : $core.bool hasExchangeId() => $_has(0);
425 0 : @$pb.TagNumber(1)
426 0 : void clearExchangeId() => clearField(1);
427 :
428 0 : @$pb.TagNumber(2)
429 0 : $core.List<$core.int> get creatorAddress => $_getN(1);
430 0 : @$pb.TagNumber(2)
431 : set creatorAddress($core.List<$core.int> v) {
432 0 : $_setBytes(1, v);
433 : }
434 :
435 0 : @$pb.TagNumber(2)
436 0 : $core.bool hasCreatorAddress() => $_has(1);
437 0 : @$pb.TagNumber(2)
438 0 : void clearCreatorAddress() => clearField(2);
439 :
440 0 : @$pb.TagNumber(3)
441 0 : $fixnum.Int64 get createTime => $_getI64(2);
442 0 : @$pb.TagNumber(3)
443 : set createTime($fixnum.Int64 v) {
444 0 : $_setInt64(2, v);
445 : }
446 :
447 0 : @$pb.TagNumber(3)
448 0 : $core.bool hasCreateTime() => $_has(2);
449 0 : @$pb.TagNumber(3)
450 0 : void clearCreateTime() => clearField(3);
451 :
452 0 : @$pb.TagNumber(6)
453 0 : $core.List<$core.int> get firstTokenId => $_getN(3);
454 0 : @$pb.TagNumber(6)
455 : set firstTokenId($core.List<$core.int> v) {
456 0 : $_setBytes(3, v);
457 : }
458 :
459 0 : @$pb.TagNumber(6)
460 0 : $core.bool hasFirstTokenId() => $_has(3);
461 0 : @$pb.TagNumber(6)
462 0 : void clearFirstTokenId() => clearField(6);
463 :
464 0 : @$pb.TagNumber(7)
465 0 : $fixnum.Int64 get firstTokenBalance => $_getI64(4);
466 0 : @$pb.TagNumber(7)
467 : set firstTokenBalance($fixnum.Int64 v) {
468 0 : $_setInt64(4, v);
469 : }
470 :
471 0 : @$pb.TagNumber(7)
472 0 : $core.bool hasFirstTokenBalance() => $_has(4);
473 0 : @$pb.TagNumber(7)
474 0 : void clearFirstTokenBalance() => clearField(7);
475 :
476 0 : @$pb.TagNumber(8)
477 0 : $core.List<$core.int> get secondTokenId => $_getN(5);
478 0 : @$pb.TagNumber(8)
479 : set secondTokenId($core.List<$core.int> v) {
480 0 : $_setBytes(5, v);
481 : }
482 :
483 0 : @$pb.TagNumber(8)
484 0 : $core.bool hasSecondTokenId() => $_has(5);
485 0 : @$pb.TagNumber(8)
486 0 : void clearSecondTokenId() => clearField(8);
487 :
488 0 : @$pb.TagNumber(9)
489 0 : $fixnum.Int64 get secondTokenBalance => $_getI64(6);
490 0 : @$pb.TagNumber(9)
491 : set secondTokenBalance($fixnum.Int64 v) {
492 0 : $_setInt64(6, v);
493 : }
494 :
495 0 : @$pb.TagNumber(9)
496 0 : $core.bool hasSecondTokenBalance() => $_has(6);
497 0 : @$pb.TagNumber(9)
498 0 : void clearSecondTokenBalance() => clearField(9);
499 : }
500 :
501 : /// market
502 : class MarketOrder extends $pb.GeneratedMessage {
503 0 : factory MarketOrder({
504 : $core.List<$core.int>? orderId,
505 : $core.List<$core.int>? ownerAddress,
506 : $fixnum.Int64? createTime,
507 : $core.List<$core.int>? sellTokenId,
508 : $fixnum.Int64? sellTokenQuantity,
509 : $core.List<$core.int>? buyTokenId,
510 : $fixnum.Int64? buyTokenQuantity,
511 : $fixnum.Int64? sellTokenQuantityRemain,
512 : $fixnum.Int64? sellTokenQuantityReturn,
513 : MarketOrder_State? state,
514 : $core.List<$core.int>? prev,
515 : $core.List<$core.int>? next,
516 : }) {
517 0 : final $result = create();
518 : if (orderId != null) {
519 0 : $result.orderId = orderId;
520 : }
521 : if (ownerAddress != null) {
522 0 : $result.ownerAddress = ownerAddress;
523 : }
524 : if (createTime != null) {
525 0 : $result.createTime = createTime;
526 : }
527 : if (sellTokenId != null) {
528 0 : $result.sellTokenId = sellTokenId;
529 : }
530 : if (sellTokenQuantity != null) {
531 0 : $result.sellTokenQuantity = sellTokenQuantity;
532 : }
533 : if (buyTokenId != null) {
534 0 : $result.buyTokenId = buyTokenId;
535 : }
536 : if (buyTokenQuantity != null) {
537 0 : $result.buyTokenQuantity = buyTokenQuantity;
538 : }
539 : if (sellTokenQuantityRemain != null) {
540 0 : $result.sellTokenQuantityRemain = sellTokenQuantityRemain;
541 : }
542 : if (sellTokenQuantityReturn != null) {
543 0 : $result.sellTokenQuantityReturn = sellTokenQuantityReturn;
544 : }
545 : if (state != null) {
546 0 : $result.state = state;
547 : }
548 : if (prev != null) {
549 0 : $result.prev = prev;
550 : }
551 : if (next != null) {
552 0 : $result.next = next;
553 : }
554 : return $result;
555 : }
556 0 : MarketOrder._() : super();
557 0 : factory MarketOrder.fromBuffer($core.List<$core.int> i,
558 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
559 0 : create()..mergeFromBuffer(i, r);
560 0 : factory MarketOrder.fromJson($core.String i,
561 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
562 0 : create()..mergeFromJson(i, r);
563 :
564 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
565 : _omitMessageNames ? '' : 'MarketOrder',
566 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
567 : createEmptyInstance: create)
568 0 : ..a<$core.List<$core.int>>(
569 : 1, _omitFieldNames ? '' : 'orderId', $pb.PbFieldType.OY)
570 0 : ..a<$core.List<$core.int>>(
571 : 2, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
572 0 : ..aInt64(3, _omitFieldNames ? '' : 'createTime')
573 0 : ..a<$core.List<$core.int>>(
574 : 4, _omitFieldNames ? '' : 'sellTokenId', $pb.PbFieldType.OY)
575 0 : ..aInt64(5, _omitFieldNames ? '' : 'sellTokenQuantity')
576 0 : ..a<$core.List<$core.int>>(
577 : 6, _omitFieldNames ? '' : 'buyTokenId', $pb.PbFieldType.OY)
578 0 : ..aInt64(7, _omitFieldNames ? '' : 'buyTokenQuantity')
579 0 : ..aInt64(9, _omitFieldNames ? '' : 'sellTokenQuantityRemain')
580 0 : ..aInt64(10, _omitFieldNames ? '' : 'sellTokenQuantityReturn')
581 0 : ..e<MarketOrder_State>(
582 : 11, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE,
583 : defaultOrMaker: MarketOrder_State.ACTIVE,
584 : valueOf: MarketOrder_State.valueOf,
585 : enumValues: MarketOrder_State.values)
586 0 : ..a<$core.List<$core.int>>(
587 : 12, _omitFieldNames ? '' : 'prev', $pb.PbFieldType.OY)
588 0 : ..a<$core.List<$core.int>>(
589 : 13, _omitFieldNames ? '' : 'next', $pb.PbFieldType.OY)
590 0 : ..hasRequiredFields = false;
591 :
592 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
593 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
594 : 'Will be removed in next major version')
595 0 : MarketOrder clone() => MarketOrder()..mergeFromMessage(this);
596 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
597 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
598 : 'Will be removed in next major version')
599 : MarketOrder copyWith(void Function(MarketOrder) updates) =>
600 0 : super.copyWith((message) => updates(message as MarketOrder))
601 : as MarketOrder;
602 :
603 0 : $pb.BuilderInfo get info_ => _i;
604 :
605 0 : @$core.pragma('dart2js:noInline')
606 0 : static MarketOrder create() => MarketOrder._();
607 0 : MarketOrder createEmptyInstance() => create();
608 0 : static $pb.PbList<MarketOrder> createRepeated() => $pb.PbList<MarketOrder>();
609 0 : @$core.pragma('dart2js:noInline')
610 : static MarketOrder getDefault() => _defaultInstance ??=
611 0 : $pb.GeneratedMessage.$_defaultFor<MarketOrder>(create);
612 : static MarketOrder? _defaultInstance;
613 :
614 0 : @$pb.TagNumber(1)
615 0 : $core.List<$core.int> get orderId => $_getN(0);
616 0 : @$pb.TagNumber(1)
617 : set orderId($core.List<$core.int> v) {
618 0 : $_setBytes(0, v);
619 : }
620 :
621 0 : @$pb.TagNumber(1)
622 0 : $core.bool hasOrderId() => $_has(0);
623 0 : @$pb.TagNumber(1)
624 0 : void clearOrderId() => clearField(1);
625 :
626 0 : @$pb.TagNumber(2)
627 0 : $core.List<$core.int> get ownerAddress => $_getN(1);
628 0 : @$pb.TagNumber(2)
629 : set ownerAddress($core.List<$core.int> v) {
630 0 : $_setBytes(1, v);
631 : }
632 :
633 0 : @$pb.TagNumber(2)
634 0 : $core.bool hasOwnerAddress() => $_has(1);
635 0 : @$pb.TagNumber(2)
636 0 : void clearOwnerAddress() => clearField(2);
637 :
638 0 : @$pb.TagNumber(3)
639 0 : $fixnum.Int64 get createTime => $_getI64(2);
640 0 : @$pb.TagNumber(3)
641 : set createTime($fixnum.Int64 v) {
642 0 : $_setInt64(2, v);
643 : }
644 :
645 0 : @$pb.TagNumber(3)
646 0 : $core.bool hasCreateTime() => $_has(2);
647 0 : @$pb.TagNumber(3)
648 0 : void clearCreateTime() => clearField(3);
649 :
650 0 : @$pb.TagNumber(4)
651 0 : $core.List<$core.int> get sellTokenId => $_getN(3);
652 0 : @$pb.TagNumber(4)
653 : set sellTokenId($core.List<$core.int> v) {
654 0 : $_setBytes(3, v);
655 : }
656 :
657 0 : @$pb.TagNumber(4)
658 0 : $core.bool hasSellTokenId() => $_has(3);
659 0 : @$pb.TagNumber(4)
660 0 : void clearSellTokenId() => clearField(4);
661 :
662 0 : @$pb.TagNumber(5)
663 0 : $fixnum.Int64 get sellTokenQuantity => $_getI64(4);
664 0 : @$pb.TagNumber(5)
665 : set sellTokenQuantity($fixnum.Int64 v) {
666 0 : $_setInt64(4, v);
667 : }
668 :
669 0 : @$pb.TagNumber(5)
670 0 : $core.bool hasSellTokenQuantity() => $_has(4);
671 0 : @$pb.TagNumber(5)
672 0 : void clearSellTokenQuantity() => clearField(5);
673 :
674 0 : @$pb.TagNumber(6)
675 0 : $core.List<$core.int> get buyTokenId => $_getN(5);
676 0 : @$pb.TagNumber(6)
677 : set buyTokenId($core.List<$core.int> v) {
678 0 : $_setBytes(5, v);
679 : }
680 :
681 0 : @$pb.TagNumber(6)
682 0 : $core.bool hasBuyTokenId() => $_has(5);
683 0 : @$pb.TagNumber(6)
684 0 : void clearBuyTokenId() => clearField(6);
685 :
686 0 : @$pb.TagNumber(7)
687 0 : $fixnum.Int64 get buyTokenQuantity => $_getI64(6);
688 0 : @$pb.TagNumber(7)
689 : set buyTokenQuantity($fixnum.Int64 v) {
690 0 : $_setInt64(6, v);
691 : }
692 :
693 0 : @$pb.TagNumber(7)
694 0 : $core.bool hasBuyTokenQuantity() => $_has(6);
695 0 : @$pb.TagNumber(7)
696 0 : void clearBuyTokenQuantity() => clearField(7);
697 :
698 0 : @$pb.TagNumber(9)
699 0 : $fixnum.Int64 get sellTokenQuantityRemain => $_getI64(7);
700 0 : @$pb.TagNumber(9)
701 : set sellTokenQuantityRemain($fixnum.Int64 v) {
702 0 : $_setInt64(7, v);
703 : }
704 :
705 0 : @$pb.TagNumber(9)
706 0 : $core.bool hasSellTokenQuantityRemain() => $_has(7);
707 0 : @$pb.TagNumber(9)
708 0 : void clearSellTokenQuantityRemain() => clearField(9);
709 :
710 : /// When state != ACTIVE and sell_token_quantity_return !=0,
711 : /// it means that some sell tokens are returned to the account due to insufficient remaining amount
712 0 : @$pb.TagNumber(10)
713 0 : $fixnum.Int64 get sellTokenQuantityReturn => $_getI64(8);
714 0 : @$pb.TagNumber(10)
715 : set sellTokenQuantityReturn($fixnum.Int64 v) {
716 0 : $_setInt64(8, v);
717 : }
718 :
719 0 : @$pb.TagNumber(10)
720 0 : $core.bool hasSellTokenQuantityReturn() => $_has(8);
721 0 : @$pb.TagNumber(10)
722 0 : void clearSellTokenQuantityReturn() => clearField(10);
723 :
724 0 : @$pb.TagNumber(11)
725 0 : MarketOrder_State get state => $_getN(9);
726 0 : @$pb.TagNumber(11)
727 : set state(MarketOrder_State v) {
728 0 : setField(11, v);
729 : }
730 :
731 0 : @$pb.TagNumber(11)
732 0 : $core.bool hasState() => $_has(9);
733 0 : @$pb.TagNumber(11)
734 0 : void clearState() => clearField(11);
735 :
736 0 : @$pb.TagNumber(12)
737 0 : $core.List<$core.int> get prev => $_getN(10);
738 0 : @$pb.TagNumber(12)
739 : set prev($core.List<$core.int> v) {
740 0 : $_setBytes(10, v);
741 : }
742 :
743 0 : @$pb.TagNumber(12)
744 0 : $core.bool hasPrev() => $_has(10);
745 0 : @$pb.TagNumber(12)
746 0 : void clearPrev() => clearField(12);
747 :
748 0 : @$pb.TagNumber(13)
749 0 : $core.List<$core.int> get next => $_getN(11);
750 0 : @$pb.TagNumber(13)
751 : set next($core.List<$core.int> v) {
752 0 : $_setBytes(11, v);
753 : }
754 :
755 0 : @$pb.TagNumber(13)
756 0 : $core.bool hasNext() => $_has(11);
757 0 : @$pb.TagNumber(13)
758 0 : void clearNext() => clearField(13);
759 : }
760 :
761 : class MarketOrderList extends $pb.GeneratedMessage {
762 0 : factory MarketOrderList({
763 : $core.Iterable<MarketOrder>? orders,
764 : }) {
765 0 : final $result = create();
766 : if (orders != null) {
767 0 : $result.orders.addAll(orders);
768 : }
769 : return $result;
770 : }
771 0 : MarketOrderList._() : super();
772 0 : factory MarketOrderList.fromBuffer($core.List<$core.int> i,
773 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
774 0 : create()..mergeFromBuffer(i, r);
775 0 : factory MarketOrderList.fromJson($core.String i,
776 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
777 0 : create()..mergeFromJson(i, r);
778 :
779 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
780 : _omitMessageNames ? '' : 'MarketOrderList',
781 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
782 : createEmptyInstance: create)
783 0 : ..pc<MarketOrder>(1, _omitFieldNames ? '' : 'orders', $pb.PbFieldType.PM,
784 : subBuilder: MarketOrder.create)
785 0 : ..hasRequiredFields = false;
786 :
787 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
788 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
789 : 'Will be removed in next major version')
790 0 : MarketOrderList clone() => MarketOrderList()..mergeFromMessage(this);
791 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
792 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
793 : 'Will be removed in next major version')
794 : MarketOrderList copyWith(void Function(MarketOrderList) updates) =>
795 0 : super.copyWith((message) => updates(message as MarketOrderList))
796 : as MarketOrderList;
797 :
798 0 : $pb.BuilderInfo get info_ => _i;
799 :
800 0 : @$core.pragma('dart2js:noInline')
801 0 : static MarketOrderList create() => MarketOrderList._();
802 0 : MarketOrderList createEmptyInstance() => create();
803 0 : static $pb.PbList<MarketOrderList> createRepeated() =>
804 0 : $pb.PbList<MarketOrderList>();
805 0 : @$core.pragma('dart2js:noInline')
806 : static MarketOrderList getDefault() => _defaultInstance ??=
807 0 : $pb.GeneratedMessage.$_defaultFor<MarketOrderList>(create);
808 : static MarketOrderList? _defaultInstance;
809 :
810 0 : @$pb.TagNumber(1)
811 0 : $core.List<MarketOrder> get orders => $_getList(0);
812 : }
813 :
814 : class MarketOrderPairList extends $pb.GeneratedMessage {
815 0 : factory MarketOrderPairList({
816 : $core.Iterable<MarketOrderPair>? orderPair,
817 : }) {
818 0 : final $result = create();
819 : if (orderPair != null) {
820 0 : $result.orderPair.addAll(orderPair);
821 : }
822 : return $result;
823 : }
824 0 : MarketOrderPairList._() : super();
825 0 : factory MarketOrderPairList.fromBuffer($core.List<$core.int> i,
826 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
827 0 : create()..mergeFromBuffer(i, r);
828 0 : factory MarketOrderPairList.fromJson($core.String i,
829 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
830 0 : create()..mergeFromJson(i, r);
831 :
832 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
833 : _omitMessageNames ? '' : 'MarketOrderPairList',
834 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
835 : createEmptyInstance: create)
836 0 : ..pc<MarketOrderPair>(
837 : 1, _omitFieldNames ? '' : 'orderPair', $pb.PbFieldType.PM,
838 : protoName: 'orderPair', subBuilder: MarketOrderPair.create)
839 0 : ..hasRequiredFields = false;
840 :
841 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
842 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
843 : 'Will be removed in next major version')
844 0 : MarketOrderPairList clone() => MarketOrderPairList()..mergeFromMessage(this);
845 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
846 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
847 : 'Will be removed in next major version')
848 : MarketOrderPairList copyWith(void Function(MarketOrderPairList) updates) =>
849 0 : super.copyWith((message) => updates(message as MarketOrderPairList))
850 : as MarketOrderPairList;
851 :
852 0 : $pb.BuilderInfo get info_ => _i;
853 :
854 0 : @$core.pragma('dart2js:noInline')
855 0 : static MarketOrderPairList create() => MarketOrderPairList._();
856 0 : MarketOrderPairList createEmptyInstance() => create();
857 0 : static $pb.PbList<MarketOrderPairList> createRepeated() =>
858 0 : $pb.PbList<MarketOrderPairList>();
859 0 : @$core.pragma('dart2js:noInline')
860 : static MarketOrderPairList getDefault() => _defaultInstance ??=
861 0 : $pb.GeneratedMessage.$_defaultFor<MarketOrderPairList>(create);
862 : static MarketOrderPairList? _defaultInstance;
863 :
864 0 : @$pb.TagNumber(1)
865 0 : $core.List<MarketOrderPair> get orderPair => $_getList(0);
866 : }
867 :
868 : class MarketOrderPair extends $pb.GeneratedMessage {
869 0 : factory MarketOrderPair({
870 : $core.List<$core.int>? sellTokenId,
871 : $core.List<$core.int>? buyTokenId,
872 : }) {
873 0 : final $result = create();
874 : if (sellTokenId != null) {
875 0 : $result.sellTokenId = sellTokenId;
876 : }
877 : if (buyTokenId != null) {
878 0 : $result.buyTokenId = buyTokenId;
879 : }
880 : return $result;
881 : }
882 0 : MarketOrderPair._() : super();
883 0 : factory MarketOrderPair.fromBuffer($core.List<$core.int> i,
884 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
885 0 : create()..mergeFromBuffer(i, r);
886 0 : factory MarketOrderPair.fromJson($core.String i,
887 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
888 0 : create()..mergeFromJson(i, r);
889 :
890 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
891 : _omitMessageNames ? '' : 'MarketOrderPair',
892 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
893 : createEmptyInstance: create)
894 0 : ..a<$core.List<$core.int>>(
895 : 1, _omitFieldNames ? '' : 'sellTokenId', $pb.PbFieldType.OY)
896 0 : ..a<$core.List<$core.int>>(
897 : 2, _omitFieldNames ? '' : 'buyTokenId', $pb.PbFieldType.OY)
898 0 : ..hasRequiredFields = false;
899 :
900 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
901 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
902 : 'Will be removed in next major version')
903 0 : MarketOrderPair clone() => MarketOrderPair()..mergeFromMessage(this);
904 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
905 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
906 : 'Will be removed in next major version')
907 : MarketOrderPair copyWith(void Function(MarketOrderPair) updates) =>
908 0 : super.copyWith((message) => updates(message as MarketOrderPair))
909 : as MarketOrderPair;
910 :
911 0 : $pb.BuilderInfo get info_ => _i;
912 :
913 0 : @$core.pragma('dart2js:noInline')
914 0 : static MarketOrderPair create() => MarketOrderPair._();
915 0 : MarketOrderPair createEmptyInstance() => create();
916 0 : static $pb.PbList<MarketOrderPair> createRepeated() =>
917 0 : $pb.PbList<MarketOrderPair>();
918 0 : @$core.pragma('dart2js:noInline')
919 : static MarketOrderPair getDefault() => _defaultInstance ??=
920 0 : $pb.GeneratedMessage.$_defaultFor<MarketOrderPair>(create);
921 : static MarketOrderPair? _defaultInstance;
922 :
923 0 : @$pb.TagNumber(1)
924 0 : $core.List<$core.int> get sellTokenId => $_getN(0);
925 0 : @$pb.TagNumber(1)
926 : set sellTokenId($core.List<$core.int> v) {
927 0 : $_setBytes(0, v);
928 : }
929 :
930 0 : @$pb.TagNumber(1)
931 0 : $core.bool hasSellTokenId() => $_has(0);
932 0 : @$pb.TagNumber(1)
933 0 : void clearSellTokenId() => clearField(1);
934 :
935 0 : @$pb.TagNumber(2)
936 0 : $core.List<$core.int> get buyTokenId => $_getN(1);
937 0 : @$pb.TagNumber(2)
938 : set buyTokenId($core.List<$core.int> v) {
939 0 : $_setBytes(1, v);
940 : }
941 :
942 0 : @$pb.TagNumber(2)
943 0 : $core.bool hasBuyTokenId() => $_has(1);
944 0 : @$pb.TagNumber(2)
945 0 : void clearBuyTokenId() => clearField(2);
946 : }
947 :
948 : class MarketAccountOrder extends $pb.GeneratedMessage {
949 0 : factory MarketAccountOrder({
950 : $core.List<$core.int>? ownerAddress,
951 : $core.Iterable<$core.List<$core.int>>? orders,
952 : $fixnum.Int64? count,
953 : $fixnum.Int64? totalCount,
954 : }) {
955 0 : final $result = create();
956 : if (ownerAddress != null) {
957 0 : $result.ownerAddress = ownerAddress;
958 : }
959 : if (orders != null) {
960 0 : $result.orders.addAll(orders);
961 : }
962 : if (count != null) {
963 0 : $result.count = count;
964 : }
965 : if (totalCount != null) {
966 0 : $result.totalCount = totalCount;
967 : }
968 : return $result;
969 : }
970 0 : MarketAccountOrder._() : super();
971 0 : factory MarketAccountOrder.fromBuffer($core.List<$core.int> i,
972 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
973 0 : create()..mergeFromBuffer(i, r);
974 0 : factory MarketAccountOrder.fromJson($core.String i,
975 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
976 0 : create()..mergeFromJson(i, r);
977 :
978 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
979 : _omitMessageNames ? '' : 'MarketAccountOrder',
980 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
981 : createEmptyInstance: create)
982 0 : ..a<$core.List<$core.int>>(
983 : 1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
984 0 : ..p<$core.List<$core.int>>(
985 : 2, _omitFieldNames ? '' : 'orders', $pb.PbFieldType.PY)
986 0 : ..aInt64(3, _omitFieldNames ? '' : 'count')
987 0 : ..aInt64(4, _omitFieldNames ? '' : 'totalCount')
988 0 : ..hasRequiredFields = false;
989 :
990 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
991 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
992 : 'Will be removed in next major version')
993 0 : MarketAccountOrder clone() => MarketAccountOrder()..mergeFromMessage(this);
994 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
995 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
996 : 'Will be removed in next major version')
997 : MarketAccountOrder copyWith(void Function(MarketAccountOrder) updates) =>
998 0 : super.copyWith((message) => updates(message as MarketAccountOrder))
999 : as MarketAccountOrder;
1000 :
1001 0 : $pb.BuilderInfo get info_ => _i;
1002 :
1003 0 : @$core.pragma('dart2js:noInline')
1004 0 : static MarketAccountOrder create() => MarketAccountOrder._();
1005 0 : MarketAccountOrder createEmptyInstance() => create();
1006 0 : static $pb.PbList<MarketAccountOrder> createRepeated() =>
1007 0 : $pb.PbList<MarketAccountOrder>();
1008 0 : @$core.pragma('dart2js:noInline')
1009 : static MarketAccountOrder getDefault() => _defaultInstance ??=
1010 0 : $pb.GeneratedMessage.$_defaultFor<MarketAccountOrder>(create);
1011 : static MarketAccountOrder? _defaultInstance;
1012 :
1013 0 : @$pb.TagNumber(1)
1014 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1015 0 : @$pb.TagNumber(1)
1016 : set ownerAddress($core.List<$core.int> v) {
1017 0 : $_setBytes(0, v);
1018 : }
1019 :
1020 0 : @$pb.TagNumber(1)
1021 0 : $core.bool hasOwnerAddress() => $_has(0);
1022 0 : @$pb.TagNumber(1)
1023 0 : void clearOwnerAddress() => clearField(1);
1024 :
1025 0 : @$pb.TagNumber(2)
1026 0 : $core.List<$core.List<$core.int>> get orders => $_getList(1);
1027 :
1028 0 : @$pb.TagNumber(3)
1029 0 : $fixnum.Int64 get count => $_getI64(2);
1030 0 : @$pb.TagNumber(3)
1031 : set count($fixnum.Int64 v) {
1032 0 : $_setInt64(2, v);
1033 : }
1034 :
1035 0 : @$pb.TagNumber(3)
1036 0 : $core.bool hasCount() => $_has(2);
1037 0 : @$pb.TagNumber(3)
1038 0 : void clearCount() => clearField(3);
1039 :
1040 0 : @$pb.TagNumber(4)
1041 0 : $fixnum.Int64 get totalCount => $_getI64(3);
1042 0 : @$pb.TagNumber(4)
1043 : set totalCount($fixnum.Int64 v) {
1044 0 : $_setInt64(3, v);
1045 : }
1046 :
1047 0 : @$pb.TagNumber(4)
1048 0 : $core.bool hasTotalCount() => $_has(3);
1049 0 : @$pb.TagNumber(4)
1050 0 : void clearTotalCount() => clearField(4);
1051 : }
1052 :
1053 : class MarketPrice extends $pb.GeneratedMessage {
1054 0 : factory MarketPrice({
1055 : $fixnum.Int64? sellTokenQuantity,
1056 : $fixnum.Int64? buyTokenQuantity,
1057 : }) {
1058 0 : final $result = create();
1059 : if (sellTokenQuantity != null) {
1060 0 : $result.sellTokenQuantity = sellTokenQuantity;
1061 : }
1062 : if (buyTokenQuantity != null) {
1063 0 : $result.buyTokenQuantity = buyTokenQuantity;
1064 : }
1065 : return $result;
1066 : }
1067 0 : MarketPrice._() : super();
1068 0 : factory MarketPrice.fromBuffer($core.List<$core.int> i,
1069 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1070 0 : create()..mergeFromBuffer(i, r);
1071 0 : factory MarketPrice.fromJson($core.String i,
1072 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1073 0 : create()..mergeFromJson(i, r);
1074 :
1075 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1076 : _omitMessageNames ? '' : 'MarketPrice',
1077 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1078 : createEmptyInstance: create)
1079 0 : ..aInt64(1, _omitFieldNames ? '' : 'sellTokenQuantity')
1080 0 : ..aInt64(2, _omitFieldNames ? '' : 'buyTokenQuantity')
1081 0 : ..hasRequiredFields = false;
1082 :
1083 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1084 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1085 : 'Will be removed in next major version')
1086 0 : MarketPrice clone() => MarketPrice()..mergeFromMessage(this);
1087 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1088 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1089 : 'Will be removed in next major version')
1090 : MarketPrice copyWith(void Function(MarketPrice) updates) =>
1091 0 : super.copyWith((message) => updates(message as MarketPrice))
1092 : as MarketPrice;
1093 :
1094 0 : $pb.BuilderInfo get info_ => _i;
1095 :
1096 0 : @$core.pragma('dart2js:noInline')
1097 0 : static MarketPrice create() => MarketPrice._();
1098 0 : MarketPrice createEmptyInstance() => create();
1099 0 : static $pb.PbList<MarketPrice> createRepeated() => $pb.PbList<MarketPrice>();
1100 0 : @$core.pragma('dart2js:noInline')
1101 : static MarketPrice getDefault() => _defaultInstance ??=
1102 0 : $pb.GeneratedMessage.$_defaultFor<MarketPrice>(create);
1103 : static MarketPrice? _defaultInstance;
1104 :
1105 0 : @$pb.TagNumber(1)
1106 0 : $fixnum.Int64 get sellTokenQuantity => $_getI64(0);
1107 0 : @$pb.TagNumber(1)
1108 : set sellTokenQuantity($fixnum.Int64 v) {
1109 0 : $_setInt64(0, v);
1110 : }
1111 :
1112 0 : @$pb.TagNumber(1)
1113 0 : $core.bool hasSellTokenQuantity() => $_has(0);
1114 0 : @$pb.TagNumber(1)
1115 0 : void clearSellTokenQuantity() => clearField(1);
1116 :
1117 0 : @$pb.TagNumber(2)
1118 0 : $fixnum.Int64 get buyTokenQuantity => $_getI64(1);
1119 0 : @$pb.TagNumber(2)
1120 : set buyTokenQuantity($fixnum.Int64 v) {
1121 0 : $_setInt64(1, v);
1122 : }
1123 :
1124 0 : @$pb.TagNumber(2)
1125 0 : $core.bool hasBuyTokenQuantity() => $_has(1);
1126 0 : @$pb.TagNumber(2)
1127 0 : void clearBuyTokenQuantity() => clearField(2);
1128 : }
1129 :
1130 : class MarketPriceList extends $pb.GeneratedMessage {
1131 0 : factory MarketPriceList({
1132 : $core.List<$core.int>? sellTokenId,
1133 : $core.List<$core.int>? buyTokenId,
1134 : $core.Iterable<MarketPrice>? prices,
1135 : }) {
1136 0 : final $result = create();
1137 : if (sellTokenId != null) {
1138 0 : $result.sellTokenId = sellTokenId;
1139 : }
1140 : if (buyTokenId != null) {
1141 0 : $result.buyTokenId = buyTokenId;
1142 : }
1143 : if (prices != null) {
1144 0 : $result.prices.addAll(prices);
1145 : }
1146 : return $result;
1147 : }
1148 0 : MarketPriceList._() : super();
1149 0 : factory MarketPriceList.fromBuffer($core.List<$core.int> i,
1150 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1151 0 : create()..mergeFromBuffer(i, r);
1152 0 : factory MarketPriceList.fromJson($core.String i,
1153 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1154 0 : create()..mergeFromJson(i, r);
1155 :
1156 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1157 : _omitMessageNames ? '' : 'MarketPriceList',
1158 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1159 : createEmptyInstance: create)
1160 0 : ..a<$core.List<$core.int>>(
1161 : 1, _omitFieldNames ? '' : 'sellTokenId', $pb.PbFieldType.OY)
1162 0 : ..a<$core.List<$core.int>>(
1163 : 2, _omitFieldNames ? '' : 'buyTokenId', $pb.PbFieldType.OY)
1164 0 : ..pc<MarketPrice>(3, _omitFieldNames ? '' : 'prices', $pb.PbFieldType.PM,
1165 : subBuilder: MarketPrice.create)
1166 0 : ..hasRequiredFields = false;
1167 :
1168 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1169 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1170 : 'Will be removed in next major version')
1171 0 : MarketPriceList clone() => MarketPriceList()..mergeFromMessage(this);
1172 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1173 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1174 : 'Will be removed in next major version')
1175 : MarketPriceList copyWith(void Function(MarketPriceList) updates) =>
1176 0 : super.copyWith((message) => updates(message as MarketPriceList))
1177 : as MarketPriceList;
1178 :
1179 0 : $pb.BuilderInfo get info_ => _i;
1180 :
1181 0 : @$core.pragma('dart2js:noInline')
1182 0 : static MarketPriceList create() => MarketPriceList._();
1183 0 : MarketPriceList createEmptyInstance() => create();
1184 0 : static $pb.PbList<MarketPriceList> createRepeated() =>
1185 0 : $pb.PbList<MarketPriceList>();
1186 0 : @$core.pragma('dart2js:noInline')
1187 : static MarketPriceList getDefault() => _defaultInstance ??=
1188 0 : $pb.GeneratedMessage.$_defaultFor<MarketPriceList>(create);
1189 : static MarketPriceList? _defaultInstance;
1190 :
1191 0 : @$pb.TagNumber(1)
1192 0 : $core.List<$core.int> get sellTokenId => $_getN(0);
1193 0 : @$pb.TagNumber(1)
1194 : set sellTokenId($core.List<$core.int> v) {
1195 0 : $_setBytes(0, v);
1196 : }
1197 :
1198 0 : @$pb.TagNumber(1)
1199 0 : $core.bool hasSellTokenId() => $_has(0);
1200 0 : @$pb.TagNumber(1)
1201 0 : void clearSellTokenId() => clearField(1);
1202 :
1203 0 : @$pb.TagNumber(2)
1204 0 : $core.List<$core.int> get buyTokenId => $_getN(1);
1205 0 : @$pb.TagNumber(2)
1206 : set buyTokenId($core.List<$core.int> v) {
1207 0 : $_setBytes(1, v);
1208 : }
1209 :
1210 0 : @$pb.TagNumber(2)
1211 0 : $core.bool hasBuyTokenId() => $_has(1);
1212 0 : @$pb.TagNumber(2)
1213 0 : void clearBuyTokenId() => clearField(2);
1214 :
1215 0 : @$pb.TagNumber(3)
1216 0 : $core.List<MarketPrice> get prices => $_getList(2);
1217 : }
1218 :
1219 : class MarketOrderIdList extends $pb.GeneratedMessage {
1220 0 : factory MarketOrderIdList({
1221 : $core.List<$core.int>? head,
1222 : $core.List<$core.int>? tail,
1223 : }) {
1224 0 : final $result = create();
1225 : if (head != null) {
1226 0 : $result.head = head;
1227 : }
1228 : if (tail != null) {
1229 0 : $result.tail = tail;
1230 : }
1231 : return $result;
1232 : }
1233 0 : MarketOrderIdList._() : super();
1234 0 : factory MarketOrderIdList.fromBuffer($core.List<$core.int> i,
1235 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1236 0 : create()..mergeFromBuffer(i, r);
1237 0 : factory MarketOrderIdList.fromJson($core.String i,
1238 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1239 0 : create()..mergeFromJson(i, r);
1240 :
1241 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1242 : _omitMessageNames ? '' : 'MarketOrderIdList',
1243 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1244 : createEmptyInstance: create)
1245 0 : ..a<$core.List<$core.int>>(
1246 : 1, _omitFieldNames ? '' : 'head', $pb.PbFieldType.OY)
1247 0 : ..a<$core.List<$core.int>>(
1248 : 2, _omitFieldNames ? '' : 'tail', $pb.PbFieldType.OY)
1249 0 : ..hasRequiredFields = false;
1250 :
1251 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1252 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1253 : 'Will be removed in next major version')
1254 0 : MarketOrderIdList clone() => MarketOrderIdList()..mergeFromMessage(this);
1255 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1256 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1257 : 'Will be removed in next major version')
1258 : MarketOrderIdList copyWith(void Function(MarketOrderIdList) updates) =>
1259 0 : super.copyWith((message) => updates(message as MarketOrderIdList))
1260 : as MarketOrderIdList;
1261 :
1262 0 : $pb.BuilderInfo get info_ => _i;
1263 :
1264 0 : @$core.pragma('dart2js:noInline')
1265 0 : static MarketOrderIdList create() => MarketOrderIdList._();
1266 0 : MarketOrderIdList createEmptyInstance() => create();
1267 0 : static $pb.PbList<MarketOrderIdList> createRepeated() =>
1268 0 : $pb.PbList<MarketOrderIdList>();
1269 0 : @$core.pragma('dart2js:noInline')
1270 : static MarketOrderIdList getDefault() => _defaultInstance ??=
1271 0 : $pb.GeneratedMessage.$_defaultFor<MarketOrderIdList>(create);
1272 : static MarketOrderIdList? _defaultInstance;
1273 :
1274 0 : @$pb.TagNumber(1)
1275 0 : $core.List<$core.int> get head => $_getN(0);
1276 0 : @$pb.TagNumber(1)
1277 : set head($core.List<$core.int> v) {
1278 0 : $_setBytes(0, v);
1279 : }
1280 :
1281 0 : @$pb.TagNumber(1)
1282 0 : $core.bool hasHead() => $_has(0);
1283 0 : @$pb.TagNumber(1)
1284 0 : void clearHead() => clearField(1);
1285 :
1286 0 : @$pb.TagNumber(2)
1287 0 : $core.List<$core.int> get tail => $_getN(1);
1288 0 : @$pb.TagNumber(2)
1289 : set tail($core.List<$core.int> v) {
1290 0 : $_setBytes(1, v);
1291 : }
1292 :
1293 0 : @$pb.TagNumber(2)
1294 0 : $core.bool hasTail() => $_has(1);
1295 0 : @$pb.TagNumber(2)
1296 0 : void clearTail() => clearField(2);
1297 : }
1298 :
1299 : class ChainParameters_ChainParameter extends $pb.GeneratedMessage {
1300 0 : factory ChainParameters_ChainParameter({
1301 : $core.String? key,
1302 : $fixnum.Int64? value,
1303 : }) {
1304 0 : final $result = create();
1305 : if (key != null) {
1306 0 : $result.key = key;
1307 : }
1308 : if (value != null) {
1309 0 : $result.value = value;
1310 : }
1311 : return $result;
1312 : }
1313 0 : ChainParameters_ChainParameter._() : super();
1314 0 : factory ChainParameters_ChainParameter.fromBuffer($core.List<$core.int> i,
1315 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1316 0 : create()..mergeFromBuffer(i, r);
1317 0 : factory ChainParameters_ChainParameter.fromJson($core.String i,
1318 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1319 0 : create()..mergeFromJson(i, r);
1320 :
1321 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1322 : _omitMessageNames ? '' : 'ChainParameters.ChainParameter',
1323 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1324 : createEmptyInstance: create)
1325 0 : ..aOS(1, _omitFieldNames ? '' : 'key')
1326 0 : ..aInt64(2, _omitFieldNames ? '' : 'value')
1327 0 : ..hasRequiredFields = false;
1328 :
1329 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1330 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1331 : 'Will be removed in next major version')
1332 : ChainParameters_ChainParameter clone() =>
1333 0 : ChainParameters_ChainParameter()..mergeFromMessage(this);
1334 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1335 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1336 : 'Will be removed in next major version')
1337 : ChainParameters_ChainParameter copyWith(
1338 : void Function(ChainParameters_ChainParameter) updates) =>
1339 0 : super.copyWith(
1340 0 : (message) => updates(message as ChainParameters_ChainParameter))
1341 : as ChainParameters_ChainParameter;
1342 :
1343 0 : $pb.BuilderInfo get info_ => _i;
1344 :
1345 0 : @$core.pragma('dart2js:noInline')
1346 : static ChainParameters_ChainParameter create() =>
1347 0 : ChainParameters_ChainParameter._();
1348 0 : ChainParameters_ChainParameter createEmptyInstance() => create();
1349 0 : static $pb.PbList<ChainParameters_ChainParameter> createRepeated() =>
1350 0 : $pb.PbList<ChainParameters_ChainParameter>();
1351 0 : @$core.pragma('dart2js:noInline')
1352 : static ChainParameters_ChainParameter getDefault() => _defaultInstance ??=
1353 0 : $pb.GeneratedMessage.$_defaultFor<ChainParameters_ChainParameter>(create);
1354 : static ChainParameters_ChainParameter? _defaultInstance;
1355 :
1356 0 : @$pb.TagNumber(1)
1357 0 : $core.String get key => $_getSZ(0);
1358 0 : @$pb.TagNumber(1)
1359 : set key($core.String v) {
1360 0 : $_setString(0, v);
1361 : }
1362 :
1363 0 : @$pb.TagNumber(1)
1364 0 : $core.bool hasKey() => $_has(0);
1365 0 : @$pb.TagNumber(1)
1366 0 : void clearKey() => clearField(1);
1367 :
1368 0 : @$pb.TagNumber(2)
1369 0 : $fixnum.Int64 get value => $_getI64(1);
1370 0 : @$pb.TagNumber(2)
1371 : set value($fixnum.Int64 v) {
1372 0 : $_setInt64(1, v);
1373 : }
1374 :
1375 0 : @$pb.TagNumber(2)
1376 0 : $core.bool hasValue() => $_has(1);
1377 0 : @$pb.TagNumber(2)
1378 0 : void clearValue() => clearField(2);
1379 : }
1380 :
1381 : class ChainParameters extends $pb.GeneratedMessage {
1382 0 : factory ChainParameters({
1383 : $core.Iterable<ChainParameters_ChainParameter>? chainParameter,
1384 : }) {
1385 0 : final $result = create();
1386 : if (chainParameter != null) {
1387 0 : $result.chainParameter.addAll(chainParameter);
1388 : }
1389 : return $result;
1390 : }
1391 0 : ChainParameters._() : super();
1392 0 : factory ChainParameters.fromBuffer($core.List<$core.int> i,
1393 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1394 0 : create()..mergeFromBuffer(i, r);
1395 0 : factory ChainParameters.fromJson($core.String i,
1396 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1397 0 : create()..mergeFromJson(i, r);
1398 :
1399 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1400 : _omitMessageNames ? '' : 'ChainParameters',
1401 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1402 : createEmptyInstance: create)
1403 0 : ..pc<ChainParameters_ChainParameter>(
1404 : 1, _omitFieldNames ? '' : 'chainParameter', $pb.PbFieldType.PM,
1405 : protoName: 'chainParameter',
1406 : subBuilder: ChainParameters_ChainParameter.create)
1407 0 : ..hasRequiredFields = false;
1408 :
1409 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1410 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1411 : 'Will be removed in next major version')
1412 0 : ChainParameters clone() => ChainParameters()..mergeFromMessage(this);
1413 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1414 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1415 : 'Will be removed in next major version')
1416 : ChainParameters copyWith(void Function(ChainParameters) updates) =>
1417 0 : super.copyWith((message) => updates(message as ChainParameters))
1418 : as ChainParameters;
1419 :
1420 0 : $pb.BuilderInfo get info_ => _i;
1421 :
1422 0 : @$core.pragma('dart2js:noInline')
1423 0 : static ChainParameters create() => ChainParameters._();
1424 0 : ChainParameters createEmptyInstance() => create();
1425 0 : static $pb.PbList<ChainParameters> createRepeated() =>
1426 0 : $pb.PbList<ChainParameters>();
1427 0 : @$core.pragma('dart2js:noInline')
1428 : static ChainParameters getDefault() => _defaultInstance ??=
1429 0 : $pb.GeneratedMessage.$_defaultFor<ChainParameters>(create);
1430 : static ChainParameters? _defaultInstance;
1431 :
1432 0 : @$pb.TagNumber(1)
1433 0 : $core.List<ChainParameters_ChainParameter> get chainParameter => $_getList(0);
1434 : }
1435 :
1436 : /// frozen balance
1437 : class Account_Frozen extends $pb.GeneratedMessage {
1438 0 : factory Account_Frozen({
1439 : $fixnum.Int64? frozenBalance,
1440 : $fixnum.Int64? expireTime,
1441 : }) {
1442 0 : final $result = create();
1443 : if (frozenBalance != null) {
1444 0 : $result.frozenBalance = frozenBalance;
1445 : }
1446 : if (expireTime != null) {
1447 0 : $result.expireTime = expireTime;
1448 : }
1449 : return $result;
1450 : }
1451 0 : Account_Frozen._() : super();
1452 0 : factory Account_Frozen.fromBuffer($core.List<$core.int> i,
1453 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1454 0 : create()..mergeFromBuffer(i, r);
1455 0 : factory Account_Frozen.fromJson($core.String i,
1456 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1457 0 : create()..mergeFromJson(i, r);
1458 :
1459 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1460 : _omitMessageNames ? '' : 'Account.Frozen',
1461 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1462 : createEmptyInstance: create)
1463 0 : ..aInt64(1, _omitFieldNames ? '' : 'frozenBalance')
1464 0 : ..aInt64(2, _omitFieldNames ? '' : 'expireTime')
1465 0 : ..hasRequiredFields = false;
1466 :
1467 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1468 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1469 : 'Will be removed in next major version')
1470 0 : Account_Frozen clone() => Account_Frozen()..mergeFromMessage(this);
1471 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1472 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1473 : 'Will be removed in next major version')
1474 : Account_Frozen copyWith(void Function(Account_Frozen) updates) =>
1475 0 : super.copyWith((message) => updates(message as Account_Frozen))
1476 : as Account_Frozen;
1477 :
1478 0 : $pb.BuilderInfo get info_ => _i;
1479 :
1480 0 : @$core.pragma('dart2js:noInline')
1481 0 : static Account_Frozen create() => Account_Frozen._();
1482 0 : Account_Frozen createEmptyInstance() => create();
1483 0 : static $pb.PbList<Account_Frozen> createRepeated() =>
1484 0 : $pb.PbList<Account_Frozen>();
1485 0 : @$core.pragma('dart2js:noInline')
1486 : static Account_Frozen getDefault() => _defaultInstance ??=
1487 0 : $pb.GeneratedMessage.$_defaultFor<Account_Frozen>(create);
1488 : static Account_Frozen? _defaultInstance;
1489 :
1490 0 : @$pb.TagNumber(1)
1491 0 : $fixnum.Int64 get frozenBalance => $_getI64(0);
1492 0 : @$pb.TagNumber(1)
1493 : set frozenBalance($fixnum.Int64 v) {
1494 0 : $_setInt64(0, v);
1495 : }
1496 :
1497 0 : @$pb.TagNumber(1)
1498 0 : $core.bool hasFrozenBalance() => $_has(0);
1499 0 : @$pb.TagNumber(1)
1500 0 : void clearFrozenBalance() => clearField(1);
1501 :
1502 0 : @$pb.TagNumber(2)
1503 0 : $fixnum.Int64 get expireTime => $_getI64(1);
1504 0 : @$pb.TagNumber(2)
1505 : set expireTime($fixnum.Int64 v) {
1506 0 : $_setInt64(1, v);
1507 : }
1508 :
1509 0 : @$pb.TagNumber(2)
1510 0 : $core.bool hasExpireTime() => $_has(1);
1511 0 : @$pb.TagNumber(2)
1512 0 : void clearExpireTime() => clearField(2);
1513 : }
1514 :
1515 : class Account_AccountResource extends $pb.GeneratedMessage {
1516 0 : factory Account_AccountResource({
1517 : $fixnum.Int64? energyUsage,
1518 : Account_Frozen? frozenBalanceForEnergy,
1519 : $fixnum.Int64? latestConsumeTimeForEnergy,
1520 : $fixnum.Int64? acquiredDelegatedFrozenBalanceForEnergy,
1521 : $fixnum.Int64? delegatedFrozenBalanceForEnergy,
1522 : $fixnum.Int64? storageLimit,
1523 : $fixnum.Int64? storageUsage,
1524 : $fixnum.Int64? latestExchangeStorageTime,
1525 : $fixnum.Int64? energyWindowSize,
1526 : $fixnum.Int64? delegatedFrozenV2BalanceForEnergy,
1527 : $fixnum.Int64? acquiredDelegatedFrozenV2BalanceForEnergy,
1528 : $core.bool? energyWindowOptimized,
1529 : }) {
1530 0 : final $result = create();
1531 : if (energyUsage != null) {
1532 0 : $result.energyUsage = energyUsage;
1533 : }
1534 : if (frozenBalanceForEnergy != null) {
1535 0 : $result.frozenBalanceForEnergy = frozenBalanceForEnergy;
1536 : }
1537 : if (latestConsumeTimeForEnergy != null) {
1538 0 : $result.latestConsumeTimeForEnergy = latestConsumeTimeForEnergy;
1539 : }
1540 : if (acquiredDelegatedFrozenBalanceForEnergy != null) {
1541 0 : $result.acquiredDelegatedFrozenBalanceForEnergy =
1542 : acquiredDelegatedFrozenBalanceForEnergy;
1543 : }
1544 : if (delegatedFrozenBalanceForEnergy != null) {
1545 0 : $result.delegatedFrozenBalanceForEnergy = delegatedFrozenBalanceForEnergy;
1546 : }
1547 : if (storageLimit != null) {
1548 0 : $result.storageLimit = storageLimit;
1549 : }
1550 : if (storageUsage != null) {
1551 0 : $result.storageUsage = storageUsage;
1552 : }
1553 : if (latestExchangeStorageTime != null) {
1554 0 : $result.latestExchangeStorageTime = latestExchangeStorageTime;
1555 : }
1556 : if (energyWindowSize != null) {
1557 0 : $result.energyWindowSize = energyWindowSize;
1558 : }
1559 : if (delegatedFrozenV2BalanceForEnergy != null) {
1560 0 : $result.delegatedFrozenV2BalanceForEnergy =
1561 : delegatedFrozenV2BalanceForEnergy;
1562 : }
1563 : if (acquiredDelegatedFrozenV2BalanceForEnergy != null) {
1564 0 : $result.acquiredDelegatedFrozenV2BalanceForEnergy =
1565 : acquiredDelegatedFrozenV2BalanceForEnergy;
1566 : }
1567 : if (energyWindowOptimized != null) {
1568 0 : $result.energyWindowOptimized = energyWindowOptimized;
1569 : }
1570 : return $result;
1571 : }
1572 0 : Account_AccountResource._() : super();
1573 0 : factory Account_AccountResource.fromBuffer($core.List<$core.int> i,
1574 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1575 0 : create()..mergeFromBuffer(i, r);
1576 0 : factory Account_AccountResource.fromJson($core.String i,
1577 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1578 0 : create()..mergeFromJson(i, r);
1579 :
1580 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1581 : _omitMessageNames ? '' : 'Account.AccountResource',
1582 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1583 : createEmptyInstance: create)
1584 0 : ..aInt64(1, _omitFieldNames ? '' : 'energyUsage')
1585 0 : ..aOM<Account_Frozen>(2, _omitFieldNames ? '' : 'frozenBalanceForEnergy',
1586 : subBuilder: Account_Frozen.create)
1587 0 : ..aInt64(3, _omitFieldNames ? '' : 'latestConsumeTimeForEnergy')
1588 0 : ..aInt64(
1589 : 4, _omitFieldNames ? '' : 'acquiredDelegatedFrozenBalanceForEnergy')
1590 0 : ..aInt64(5, _omitFieldNames ? '' : 'delegatedFrozenBalanceForEnergy')
1591 0 : ..aInt64(6, _omitFieldNames ? '' : 'storageLimit')
1592 0 : ..aInt64(7, _omitFieldNames ? '' : 'storageUsage')
1593 0 : ..aInt64(8, _omitFieldNames ? '' : 'latestExchangeStorageTime')
1594 0 : ..aInt64(9, _omitFieldNames ? '' : 'energyWindowSize')
1595 0 : ..aInt64(10, _omitFieldNames ? '' : 'delegatedFrozenV2BalanceForEnergy',
1596 : protoName: 'delegated_frozenV2_balance_for_energy')
1597 0 : ..aInt64(
1598 : 11, _omitFieldNames ? '' : 'acquiredDelegatedFrozenV2BalanceForEnergy',
1599 : protoName: 'acquired_delegated_frozenV2_balance_for_energy')
1600 0 : ..aOB(12, _omitFieldNames ? '' : 'energyWindowOptimized')
1601 0 : ..hasRequiredFields = false;
1602 :
1603 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1604 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1605 : 'Will be removed in next major version')
1606 : Account_AccountResource clone() =>
1607 0 : Account_AccountResource()..mergeFromMessage(this);
1608 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1609 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1610 : 'Will be removed in next major version')
1611 : Account_AccountResource copyWith(
1612 : void Function(Account_AccountResource) updates) =>
1613 0 : super.copyWith((message) => updates(message as Account_AccountResource))
1614 : as Account_AccountResource;
1615 :
1616 0 : $pb.BuilderInfo get info_ => _i;
1617 :
1618 0 : @$core.pragma('dart2js:noInline')
1619 0 : static Account_AccountResource create() => Account_AccountResource._();
1620 0 : Account_AccountResource createEmptyInstance() => create();
1621 0 : static $pb.PbList<Account_AccountResource> createRepeated() =>
1622 0 : $pb.PbList<Account_AccountResource>();
1623 0 : @$core.pragma('dart2js:noInline')
1624 : static Account_AccountResource getDefault() => _defaultInstance ??=
1625 0 : $pb.GeneratedMessage.$_defaultFor<Account_AccountResource>(create);
1626 : static Account_AccountResource? _defaultInstance;
1627 :
1628 : /// energy resource, get from frozen
1629 0 : @$pb.TagNumber(1)
1630 0 : $fixnum.Int64 get energyUsage => $_getI64(0);
1631 0 : @$pb.TagNumber(1)
1632 : set energyUsage($fixnum.Int64 v) {
1633 0 : $_setInt64(0, v);
1634 : }
1635 :
1636 0 : @$pb.TagNumber(1)
1637 0 : $core.bool hasEnergyUsage() => $_has(0);
1638 0 : @$pb.TagNumber(1)
1639 0 : void clearEnergyUsage() => clearField(1);
1640 :
1641 : /// the frozen balance for energy
1642 0 : @$pb.TagNumber(2)
1643 0 : Account_Frozen get frozenBalanceForEnergy => $_getN(1);
1644 0 : @$pb.TagNumber(2)
1645 : set frozenBalanceForEnergy(Account_Frozen v) {
1646 0 : setField(2, v);
1647 : }
1648 :
1649 0 : @$pb.TagNumber(2)
1650 0 : $core.bool hasFrozenBalanceForEnergy() => $_has(1);
1651 0 : @$pb.TagNumber(2)
1652 0 : void clearFrozenBalanceForEnergy() => clearField(2);
1653 0 : @$pb.TagNumber(2)
1654 0 : Account_Frozen ensureFrozenBalanceForEnergy() => $_ensure(1);
1655 :
1656 0 : @$pb.TagNumber(3)
1657 0 : $fixnum.Int64 get latestConsumeTimeForEnergy => $_getI64(2);
1658 0 : @$pb.TagNumber(3)
1659 : set latestConsumeTimeForEnergy($fixnum.Int64 v) {
1660 0 : $_setInt64(2, v);
1661 : }
1662 :
1663 0 : @$pb.TagNumber(3)
1664 0 : $core.bool hasLatestConsumeTimeForEnergy() => $_has(2);
1665 0 : @$pb.TagNumber(3)
1666 0 : void clearLatestConsumeTimeForEnergy() => clearField(3);
1667 :
1668 : /// Frozen balance provided by other accounts to this account
1669 0 : @$pb.TagNumber(4)
1670 0 : $fixnum.Int64 get acquiredDelegatedFrozenBalanceForEnergy => $_getI64(3);
1671 0 : @$pb.TagNumber(4)
1672 : set acquiredDelegatedFrozenBalanceForEnergy($fixnum.Int64 v) {
1673 0 : $_setInt64(3, v);
1674 : }
1675 :
1676 0 : @$pb.TagNumber(4)
1677 0 : $core.bool hasAcquiredDelegatedFrozenBalanceForEnergy() => $_has(3);
1678 0 : @$pb.TagNumber(4)
1679 0 : void clearAcquiredDelegatedFrozenBalanceForEnergy() => clearField(4);
1680 :
1681 : /// Frozen balances provided to other accounts
1682 0 : @$pb.TagNumber(5)
1683 0 : $fixnum.Int64 get delegatedFrozenBalanceForEnergy => $_getI64(4);
1684 0 : @$pb.TagNumber(5)
1685 : set delegatedFrozenBalanceForEnergy($fixnum.Int64 v) {
1686 0 : $_setInt64(4, v);
1687 : }
1688 :
1689 0 : @$pb.TagNumber(5)
1690 0 : $core.bool hasDelegatedFrozenBalanceForEnergy() => $_has(4);
1691 0 : @$pb.TagNumber(5)
1692 0 : void clearDelegatedFrozenBalanceForEnergy() => clearField(5);
1693 :
1694 : /// storage resource, get from market
1695 0 : @$pb.TagNumber(6)
1696 0 : $fixnum.Int64 get storageLimit => $_getI64(5);
1697 0 : @$pb.TagNumber(6)
1698 : set storageLimit($fixnum.Int64 v) {
1699 0 : $_setInt64(5, v);
1700 : }
1701 :
1702 0 : @$pb.TagNumber(6)
1703 0 : $core.bool hasStorageLimit() => $_has(5);
1704 0 : @$pb.TagNumber(6)
1705 0 : void clearStorageLimit() => clearField(6);
1706 :
1707 0 : @$pb.TagNumber(7)
1708 0 : $fixnum.Int64 get storageUsage => $_getI64(6);
1709 0 : @$pb.TagNumber(7)
1710 : set storageUsage($fixnum.Int64 v) {
1711 0 : $_setInt64(6, v);
1712 : }
1713 :
1714 0 : @$pb.TagNumber(7)
1715 0 : $core.bool hasStorageUsage() => $_has(6);
1716 0 : @$pb.TagNumber(7)
1717 0 : void clearStorageUsage() => clearField(7);
1718 :
1719 0 : @$pb.TagNumber(8)
1720 0 : $fixnum.Int64 get latestExchangeStorageTime => $_getI64(7);
1721 0 : @$pb.TagNumber(8)
1722 : set latestExchangeStorageTime($fixnum.Int64 v) {
1723 0 : $_setInt64(7, v);
1724 : }
1725 :
1726 0 : @$pb.TagNumber(8)
1727 0 : $core.bool hasLatestExchangeStorageTime() => $_has(7);
1728 0 : @$pb.TagNumber(8)
1729 0 : void clearLatestExchangeStorageTime() => clearField(8);
1730 :
1731 0 : @$pb.TagNumber(9)
1732 0 : $fixnum.Int64 get energyWindowSize => $_getI64(8);
1733 0 : @$pb.TagNumber(9)
1734 : set energyWindowSize($fixnum.Int64 v) {
1735 0 : $_setInt64(8, v);
1736 : }
1737 :
1738 0 : @$pb.TagNumber(9)
1739 0 : $core.bool hasEnergyWindowSize() => $_has(8);
1740 0 : @$pb.TagNumber(9)
1741 0 : void clearEnergyWindowSize() => clearField(9);
1742 :
1743 0 : @$pb.TagNumber(10)
1744 0 : $fixnum.Int64 get delegatedFrozenV2BalanceForEnergy => $_getI64(9);
1745 0 : @$pb.TagNumber(10)
1746 : set delegatedFrozenV2BalanceForEnergy($fixnum.Int64 v) {
1747 0 : $_setInt64(9, v);
1748 : }
1749 :
1750 0 : @$pb.TagNumber(10)
1751 0 : $core.bool hasDelegatedFrozenV2BalanceForEnergy() => $_has(9);
1752 0 : @$pb.TagNumber(10)
1753 0 : void clearDelegatedFrozenV2BalanceForEnergy() => clearField(10);
1754 :
1755 0 : @$pb.TagNumber(11)
1756 0 : $fixnum.Int64 get acquiredDelegatedFrozenV2BalanceForEnergy => $_getI64(10);
1757 0 : @$pb.TagNumber(11)
1758 : set acquiredDelegatedFrozenV2BalanceForEnergy($fixnum.Int64 v) {
1759 0 : $_setInt64(10, v);
1760 : }
1761 :
1762 0 : @$pb.TagNumber(11)
1763 0 : $core.bool hasAcquiredDelegatedFrozenV2BalanceForEnergy() => $_has(10);
1764 0 : @$pb.TagNumber(11)
1765 0 : void clearAcquiredDelegatedFrozenV2BalanceForEnergy() => clearField(11);
1766 :
1767 0 : @$pb.TagNumber(12)
1768 0 : $core.bool get energyWindowOptimized => $_getBF(11);
1769 0 : @$pb.TagNumber(12)
1770 : set energyWindowOptimized($core.bool v) {
1771 0 : $_setBool(11, v);
1772 : }
1773 :
1774 0 : @$pb.TagNumber(12)
1775 0 : $core.bool hasEnergyWindowOptimized() => $_has(11);
1776 0 : @$pb.TagNumber(12)
1777 0 : void clearEnergyWindowOptimized() => clearField(12);
1778 : }
1779 :
1780 : class Account_FreezeV2 extends $pb.GeneratedMessage {
1781 0 : factory Account_FreezeV2({
1782 : $14.ResourceCode? type,
1783 : $fixnum.Int64? amount,
1784 : }) {
1785 0 : final $result = create();
1786 : if (type != null) {
1787 0 : $result.type = type;
1788 : }
1789 : if (amount != null) {
1790 0 : $result.amount = amount;
1791 : }
1792 : return $result;
1793 : }
1794 0 : Account_FreezeV2._() : super();
1795 0 : factory Account_FreezeV2.fromBuffer($core.List<$core.int> i,
1796 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1797 0 : create()..mergeFromBuffer(i, r);
1798 0 : factory Account_FreezeV2.fromJson($core.String i,
1799 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1800 0 : create()..mergeFromJson(i, r);
1801 :
1802 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1803 : _omitMessageNames ? '' : 'Account.FreezeV2',
1804 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1805 : createEmptyInstance: create)
1806 0 : ..e<$14.ResourceCode>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
1807 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1808 : valueOf: $14.ResourceCode.valueOf,
1809 : enumValues: $14.ResourceCode.values)
1810 0 : ..aInt64(2, _omitFieldNames ? '' : 'amount')
1811 0 : ..hasRequiredFields = false;
1812 :
1813 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1814 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1815 : 'Will be removed in next major version')
1816 0 : Account_FreezeV2 clone() => Account_FreezeV2()..mergeFromMessage(this);
1817 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1818 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1819 : 'Will be removed in next major version')
1820 : Account_FreezeV2 copyWith(void Function(Account_FreezeV2) updates) =>
1821 0 : super.copyWith((message) => updates(message as Account_FreezeV2))
1822 : as Account_FreezeV2;
1823 :
1824 0 : $pb.BuilderInfo get info_ => _i;
1825 :
1826 0 : @$core.pragma('dart2js:noInline')
1827 0 : static Account_FreezeV2 create() => Account_FreezeV2._();
1828 0 : Account_FreezeV2 createEmptyInstance() => create();
1829 0 : static $pb.PbList<Account_FreezeV2> createRepeated() =>
1830 0 : $pb.PbList<Account_FreezeV2>();
1831 0 : @$core.pragma('dart2js:noInline')
1832 : static Account_FreezeV2 getDefault() => _defaultInstance ??=
1833 0 : $pb.GeneratedMessage.$_defaultFor<Account_FreezeV2>(create);
1834 : static Account_FreezeV2? _defaultInstance;
1835 :
1836 0 : @$pb.TagNumber(1)
1837 0 : $14.ResourceCode get type => $_getN(0);
1838 0 : @$pb.TagNumber(1)
1839 : set type($14.ResourceCode v) {
1840 0 : setField(1, v);
1841 : }
1842 :
1843 0 : @$pb.TagNumber(1)
1844 0 : $core.bool hasType() => $_has(0);
1845 0 : @$pb.TagNumber(1)
1846 0 : void clearType() => clearField(1);
1847 :
1848 0 : @$pb.TagNumber(2)
1849 0 : $fixnum.Int64 get amount => $_getI64(1);
1850 0 : @$pb.TagNumber(2)
1851 : set amount($fixnum.Int64 v) {
1852 0 : $_setInt64(1, v);
1853 : }
1854 :
1855 0 : @$pb.TagNumber(2)
1856 0 : $core.bool hasAmount() => $_has(1);
1857 0 : @$pb.TagNumber(2)
1858 0 : void clearAmount() => clearField(2);
1859 : }
1860 :
1861 : class Account_UnFreezeV2 extends $pb.GeneratedMessage {
1862 0 : factory Account_UnFreezeV2({
1863 : $14.ResourceCode? type,
1864 : $fixnum.Int64? unfreezeAmount,
1865 : $fixnum.Int64? unfreezeExpireTime,
1866 : }) {
1867 0 : final $result = create();
1868 : if (type != null) {
1869 0 : $result.type = type;
1870 : }
1871 : if (unfreezeAmount != null) {
1872 0 : $result.unfreezeAmount = unfreezeAmount;
1873 : }
1874 : if (unfreezeExpireTime != null) {
1875 0 : $result.unfreezeExpireTime = unfreezeExpireTime;
1876 : }
1877 : return $result;
1878 : }
1879 0 : Account_UnFreezeV2._() : super();
1880 0 : factory Account_UnFreezeV2.fromBuffer($core.List<$core.int> i,
1881 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1882 0 : create()..mergeFromBuffer(i, r);
1883 0 : factory Account_UnFreezeV2.fromJson($core.String i,
1884 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1885 0 : create()..mergeFromJson(i, r);
1886 :
1887 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1888 : _omitMessageNames ? '' : 'Account.UnFreezeV2',
1889 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1890 : createEmptyInstance: create)
1891 0 : ..e<$14.ResourceCode>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
1892 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1893 : valueOf: $14.ResourceCode.valueOf,
1894 : enumValues: $14.ResourceCode.values)
1895 0 : ..aInt64(3, _omitFieldNames ? '' : 'unfreezeAmount')
1896 0 : ..aInt64(4, _omitFieldNames ? '' : 'unfreezeExpireTime')
1897 0 : ..hasRequiredFields = false;
1898 :
1899 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1900 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1901 : 'Will be removed in next major version')
1902 0 : Account_UnFreezeV2 clone() => Account_UnFreezeV2()..mergeFromMessage(this);
1903 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1904 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1905 : 'Will be removed in next major version')
1906 : Account_UnFreezeV2 copyWith(void Function(Account_UnFreezeV2) updates) =>
1907 0 : super.copyWith((message) => updates(message as Account_UnFreezeV2))
1908 : as Account_UnFreezeV2;
1909 :
1910 0 : $pb.BuilderInfo get info_ => _i;
1911 :
1912 0 : @$core.pragma('dart2js:noInline')
1913 0 : static Account_UnFreezeV2 create() => Account_UnFreezeV2._();
1914 0 : Account_UnFreezeV2 createEmptyInstance() => create();
1915 0 : static $pb.PbList<Account_UnFreezeV2> createRepeated() =>
1916 0 : $pb.PbList<Account_UnFreezeV2>();
1917 0 : @$core.pragma('dart2js:noInline')
1918 : static Account_UnFreezeV2 getDefault() => _defaultInstance ??=
1919 0 : $pb.GeneratedMessage.$_defaultFor<Account_UnFreezeV2>(create);
1920 : static Account_UnFreezeV2? _defaultInstance;
1921 :
1922 0 : @$pb.TagNumber(1)
1923 0 : $14.ResourceCode get type => $_getN(0);
1924 0 : @$pb.TagNumber(1)
1925 : set type($14.ResourceCode v) {
1926 0 : setField(1, v);
1927 : }
1928 :
1929 0 : @$pb.TagNumber(1)
1930 0 : $core.bool hasType() => $_has(0);
1931 0 : @$pb.TagNumber(1)
1932 0 : void clearType() => clearField(1);
1933 :
1934 0 : @$pb.TagNumber(3)
1935 0 : $fixnum.Int64 get unfreezeAmount => $_getI64(1);
1936 0 : @$pb.TagNumber(3)
1937 : set unfreezeAmount($fixnum.Int64 v) {
1938 0 : $_setInt64(1, v);
1939 : }
1940 :
1941 0 : @$pb.TagNumber(3)
1942 0 : $core.bool hasUnfreezeAmount() => $_has(1);
1943 0 : @$pb.TagNumber(3)
1944 0 : void clearUnfreezeAmount() => clearField(3);
1945 :
1946 0 : @$pb.TagNumber(4)
1947 0 : $fixnum.Int64 get unfreezeExpireTime => $_getI64(2);
1948 0 : @$pb.TagNumber(4)
1949 : set unfreezeExpireTime($fixnum.Int64 v) {
1950 0 : $_setInt64(2, v);
1951 : }
1952 :
1953 0 : @$pb.TagNumber(4)
1954 0 : $core.bool hasUnfreezeExpireTime() => $_has(2);
1955 0 : @$pb.TagNumber(4)
1956 0 : void clearUnfreezeExpireTime() => clearField(4);
1957 : }
1958 :
1959 : /// Account
1960 : class Account extends $pb.GeneratedMessage {
1961 0 : factory Account({
1962 : $core.List<$core.int>? accountName,
1963 : AccountType? type,
1964 : $core.List<$core.int>? address,
1965 : $fixnum.Int64? balance,
1966 : $core.Iterable<Vote>? votes,
1967 : $core.Map<$core.String, $fixnum.Int64>? asset,
1968 : $core.Iterable<Account_Frozen>? frozen,
1969 : $fixnum.Int64? netUsage,
1970 : $fixnum.Int64? createTime,
1971 : $fixnum.Int64? latestOprationTime,
1972 : $fixnum.Int64? allowance,
1973 : $fixnum.Int64? latestWithdrawTime,
1974 : $core.List<$core.int>? code,
1975 : $core.bool? isWitness,
1976 : $core.bool? isCommittee,
1977 : $core.Iterable<Account_Frozen>? frozenSupply,
1978 : $core.List<$core.int>? assetIssuedName,
1979 : $core.Map<$core.String, $fixnum.Int64>? latestAssetOperationTime,
1980 : $fixnum.Int64? freeNetUsage,
1981 : $core.Map<$core.String, $fixnum.Int64>? freeAssetNetUsage,
1982 : $fixnum.Int64? latestConsumeTime,
1983 : $fixnum.Int64? latestConsumeFreeTime,
1984 : $core.List<$core.int>? accountId,
1985 : $fixnum.Int64? netWindowSize,
1986 : $core.bool? netWindowOptimized,
1987 : Account_AccountResource? accountResource,
1988 : $core.List<$core.int>? codeHash,
1989 : Permission? ownerPermission,
1990 : Permission? witnessPermission,
1991 : $core.Iterable<Permission>? activePermission,
1992 : $core.Iterable<Account_FreezeV2>? frozenV2,
1993 : $core.Iterable<Account_UnFreezeV2>? unfrozenV2,
1994 : $fixnum.Int64? delegatedFrozenV2BalanceForBandwidth,
1995 : $fixnum.Int64? acquiredDelegatedFrozenV2BalanceForBandwidth,
1996 : $fixnum.Int64? acquiredDelegatedFrozenBalanceForBandwidth,
1997 : $fixnum.Int64? delegatedFrozenBalanceForBandwidth,
1998 : $fixnum.Int64? oldTronPower,
1999 : Account_Frozen? tronPower,
2000 : $core.Map<$core.String, $fixnum.Int64>? assetV2,
2001 : $core.List<$core.int>? assetIssuedID,
2002 : $core.Map<$core.String, $fixnum.Int64>? latestAssetOperationTimeV2,
2003 : $core.Map<$core.String, $fixnum.Int64>? freeAssetNetUsageV2,
2004 : $core.bool? assetOptimized,
2005 : }) {
2006 0 : final $result = create();
2007 : if (accountName != null) {
2008 0 : $result.accountName = accountName;
2009 : }
2010 : if (type != null) {
2011 0 : $result.type = type;
2012 : }
2013 : if (address != null) {
2014 0 : $result.address = address;
2015 : }
2016 : if (balance != null) {
2017 0 : $result.balance = balance;
2018 : }
2019 : if (votes != null) {
2020 0 : $result.votes.addAll(votes);
2021 : }
2022 : if (asset != null) {
2023 0 : $result.asset.addAll(asset);
2024 : }
2025 : if (frozen != null) {
2026 0 : $result.frozen.addAll(frozen);
2027 : }
2028 : if (netUsage != null) {
2029 0 : $result.netUsage = netUsage;
2030 : }
2031 : if (createTime != null) {
2032 0 : $result.createTime = createTime;
2033 : }
2034 : if (latestOprationTime != null) {
2035 0 : $result.latestOprationTime = latestOprationTime;
2036 : }
2037 : if (allowance != null) {
2038 0 : $result.allowance = allowance;
2039 : }
2040 : if (latestWithdrawTime != null) {
2041 0 : $result.latestWithdrawTime = latestWithdrawTime;
2042 : }
2043 : if (code != null) {
2044 0 : $result.code = code;
2045 : }
2046 : if (isWitness != null) {
2047 0 : $result.isWitness = isWitness;
2048 : }
2049 : if (isCommittee != null) {
2050 0 : $result.isCommittee = isCommittee;
2051 : }
2052 : if (frozenSupply != null) {
2053 0 : $result.frozenSupply.addAll(frozenSupply);
2054 : }
2055 : if (assetIssuedName != null) {
2056 0 : $result.assetIssuedName = assetIssuedName;
2057 : }
2058 : if (latestAssetOperationTime != null) {
2059 0 : $result.latestAssetOperationTime.addAll(latestAssetOperationTime);
2060 : }
2061 : if (freeNetUsage != null) {
2062 0 : $result.freeNetUsage = freeNetUsage;
2063 : }
2064 : if (freeAssetNetUsage != null) {
2065 0 : $result.freeAssetNetUsage.addAll(freeAssetNetUsage);
2066 : }
2067 : if (latestConsumeTime != null) {
2068 0 : $result.latestConsumeTime = latestConsumeTime;
2069 : }
2070 : if (latestConsumeFreeTime != null) {
2071 0 : $result.latestConsumeFreeTime = latestConsumeFreeTime;
2072 : }
2073 : if (accountId != null) {
2074 0 : $result.accountId = accountId;
2075 : }
2076 : if (netWindowSize != null) {
2077 0 : $result.netWindowSize = netWindowSize;
2078 : }
2079 : if (netWindowOptimized != null) {
2080 0 : $result.netWindowOptimized = netWindowOptimized;
2081 : }
2082 : if (accountResource != null) {
2083 0 : $result.accountResource = accountResource;
2084 : }
2085 : if (codeHash != null) {
2086 0 : $result.codeHash = codeHash;
2087 : }
2088 : if (ownerPermission != null) {
2089 0 : $result.ownerPermission = ownerPermission;
2090 : }
2091 : if (witnessPermission != null) {
2092 0 : $result.witnessPermission = witnessPermission;
2093 : }
2094 : if (activePermission != null) {
2095 0 : $result.activePermission.addAll(activePermission);
2096 : }
2097 : if (frozenV2 != null) {
2098 0 : $result.frozenV2.addAll(frozenV2);
2099 : }
2100 : if (unfrozenV2 != null) {
2101 0 : $result.unfrozenV2.addAll(unfrozenV2);
2102 : }
2103 : if (delegatedFrozenV2BalanceForBandwidth != null) {
2104 0 : $result.delegatedFrozenV2BalanceForBandwidth =
2105 : delegatedFrozenV2BalanceForBandwidth;
2106 : }
2107 : if (acquiredDelegatedFrozenV2BalanceForBandwidth != null) {
2108 0 : $result.acquiredDelegatedFrozenV2BalanceForBandwidth =
2109 : acquiredDelegatedFrozenV2BalanceForBandwidth;
2110 : }
2111 : if (acquiredDelegatedFrozenBalanceForBandwidth != null) {
2112 0 : $result.acquiredDelegatedFrozenBalanceForBandwidth =
2113 : acquiredDelegatedFrozenBalanceForBandwidth;
2114 : }
2115 : if (delegatedFrozenBalanceForBandwidth != null) {
2116 0 : $result.delegatedFrozenBalanceForBandwidth =
2117 : delegatedFrozenBalanceForBandwidth;
2118 : }
2119 : if (oldTronPower != null) {
2120 0 : $result.oldTronPower = oldTronPower;
2121 : }
2122 : if (tronPower != null) {
2123 0 : $result.tronPower = tronPower;
2124 : }
2125 : if (assetV2 != null) {
2126 0 : $result.assetV2.addAll(assetV2);
2127 : }
2128 : if (assetIssuedID != null) {
2129 0 : $result.assetIssuedID = assetIssuedID;
2130 : }
2131 : if (latestAssetOperationTimeV2 != null) {
2132 0 : $result.latestAssetOperationTimeV2.addAll(latestAssetOperationTimeV2);
2133 : }
2134 : if (freeAssetNetUsageV2 != null) {
2135 0 : $result.freeAssetNetUsageV2.addAll(freeAssetNetUsageV2);
2136 : }
2137 : if (assetOptimized != null) {
2138 0 : $result.assetOptimized = assetOptimized;
2139 : }
2140 : return $result;
2141 : }
2142 0 : Account._() : super();
2143 0 : factory Account.fromBuffer($core.List<$core.int> i,
2144 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2145 0 : create()..mergeFromBuffer(i, r);
2146 0 : factory Account.fromJson($core.String i,
2147 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2148 0 : create()..mergeFromJson(i, r);
2149 :
2150 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
2151 : _omitMessageNames ? '' : 'Account',
2152 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2153 : createEmptyInstance: create)
2154 0 : ..a<$core.List<$core.int>>(
2155 : 1, _omitFieldNames ? '' : 'accountName', $pb.PbFieldType.OY)
2156 0 : ..e<AccountType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
2157 : defaultOrMaker: AccountType.Normal,
2158 : valueOf: AccountType.valueOf,
2159 : enumValues: AccountType.values)
2160 0 : ..a<$core.List<$core.int>>(
2161 : 3, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
2162 0 : ..aInt64(4, _omitFieldNames ? '' : 'balance')
2163 0 : ..pc<Vote>(5, _omitFieldNames ? '' : 'votes', $pb.PbFieldType.PM,
2164 : subBuilder: Vote.create)
2165 0 : ..m<$core.String, $fixnum.Int64>(6, _omitFieldNames ? '' : 'asset',
2166 : entryClassName: 'Account.AssetEntry',
2167 : keyFieldType: $pb.PbFieldType.OS,
2168 : valueFieldType: $pb.PbFieldType.O6,
2169 : packageName: const $pb.PackageName('protocol'))
2170 0 : ..pc<Account_Frozen>(7, _omitFieldNames ? '' : 'frozen', $pb.PbFieldType.PM,
2171 : subBuilder: Account_Frozen.create)
2172 0 : ..aInt64(8, _omitFieldNames ? '' : 'netUsage')
2173 0 : ..aInt64(9, _omitFieldNames ? '' : 'createTime')
2174 0 : ..aInt64(10, _omitFieldNames ? '' : 'latestOprationTime')
2175 0 : ..aInt64(11, _omitFieldNames ? '' : 'allowance')
2176 0 : ..aInt64(12, _omitFieldNames ? '' : 'latestWithdrawTime')
2177 0 : ..a<$core.List<$core.int>>(
2178 : 13, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OY)
2179 0 : ..aOB(14, _omitFieldNames ? '' : 'isWitness')
2180 0 : ..aOB(15, _omitFieldNames ? '' : 'isCommittee')
2181 0 : ..pc<Account_Frozen>(
2182 : 16, _omitFieldNames ? '' : 'frozenSupply', $pb.PbFieldType.PM,
2183 : subBuilder: Account_Frozen.create)
2184 0 : ..a<$core.List<$core.int>>(
2185 : 17, _omitFieldNames ? '' : 'assetIssuedName', $pb.PbFieldType.OY)
2186 0 : ..m<$core.String, $fixnum.Int64>(
2187 : 18, _omitFieldNames ? '' : 'latestAssetOperationTime',
2188 : entryClassName: 'Account.LatestAssetOperationTimeEntry',
2189 : keyFieldType: $pb.PbFieldType.OS,
2190 : valueFieldType: $pb.PbFieldType.O6,
2191 : packageName: const $pb.PackageName('protocol'))
2192 0 : ..aInt64(19, _omitFieldNames ? '' : 'freeNetUsage')
2193 0 : ..m<$core.String, $fixnum.Int64>(
2194 : 20, _omitFieldNames ? '' : 'freeAssetNetUsage',
2195 : entryClassName: 'Account.FreeAssetNetUsageEntry',
2196 : keyFieldType: $pb.PbFieldType.OS,
2197 : valueFieldType: $pb.PbFieldType.O6,
2198 : packageName: const $pb.PackageName('protocol'))
2199 0 : ..aInt64(21, _omitFieldNames ? '' : 'latestConsumeTime')
2200 0 : ..aInt64(22, _omitFieldNames ? '' : 'latestConsumeFreeTime')
2201 0 : ..a<$core.List<$core.int>>(
2202 : 23, _omitFieldNames ? '' : 'accountId', $pb.PbFieldType.OY)
2203 0 : ..aInt64(24, _omitFieldNames ? '' : 'netWindowSize')
2204 0 : ..aOB(25, _omitFieldNames ? '' : 'netWindowOptimized')
2205 0 : ..aOM<Account_AccountResource>(26, _omitFieldNames ? '' : 'accountResource',
2206 : subBuilder: Account_AccountResource.create)
2207 0 : ..a<$core.List<$core.int>>(
2208 : 30, _omitFieldNames ? '' : 'codeHash', $pb.PbFieldType.OY,
2209 : protoName: 'codeHash')
2210 0 : ..aOM<Permission>(31, _omitFieldNames ? '' : 'ownerPermission',
2211 : subBuilder: Permission.create)
2212 0 : ..aOM<Permission>(32, _omitFieldNames ? '' : 'witnessPermission',
2213 : subBuilder: Permission.create)
2214 0 : ..pc<Permission>(
2215 : 33, _omitFieldNames ? '' : 'activePermission', $pb.PbFieldType.PM,
2216 : subBuilder: Permission.create)
2217 0 : ..pc<Account_FreezeV2>(
2218 : 34, _omitFieldNames ? '' : 'frozenV2', $pb.PbFieldType.PM,
2219 : protoName: 'frozenV2', subBuilder: Account_FreezeV2.create)
2220 0 : ..pc<Account_UnFreezeV2>(
2221 : 35, _omitFieldNames ? '' : 'unfrozenV2', $pb.PbFieldType.PM,
2222 : protoName: 'unfrozenV2', subBuilder: Account_UnFreezeV2.create)
2223 0 : ..aInt64(36, _omitFieldNames ? '' : 'delegatedFrozenV2BalanceForBandwidth',
2224 : protoName: 'delegated_frozenV2_balance_for_bandwidth')
2225 0 : ..aInt64(37,
2226 : _omitFieldNames ? '' : 'acquiredDelegatedFrozenV2BalanceForBandwidth',
2227 : protoName: 'acquired_delegated_frozenV2_balance_for_bandwidth')
2228 0 : ..aInt64(
2229 : 41, _omitFieldNames ? '' : 'acquiredDelegatedFrozenBalanceForBandwidth')
2230 0 : ..aInt64(42, _omitFieldNames ? '' : 'delegatedFrozenBalanceForBandwidth')
2231 0 : ..aInt64(46, _omitFieldNames ? '' : 'oldTronPower')
2232 0 : ..aOM<Account_Frozen>(47, _omitFieldNames ? '' : 'tronPower',
2233 : subBuilder: Account_Frozen.create)
2234 0 : ..m<$core.String, $fixnum.Int64>(56, _omitFieldNames ? '' : 'assetV2',
2235 : protoName: 'assetV2',
2236 : entryClassName: 'Account.AssetV2Entry',
2237 : keyFieldType: $pb.PbFieldType.OS,
2238 : valueFieldType: $pb.PbFieldType.O6,
2239 : packageName: const $pb.PackageName('protocol'))
2240 0 : ..a<$core.List<$core.int>>(
2241 : 57, _omitFieldNames ? '' : 'assetIssuedID', $pb.PbFieldType.OY,
2242 : protoName: 'asset_issued_ID')
2243 0 : ..m<$core.String, $fixnum.Int64>(
2244 : 58, _omitFieldNames ? '' : 'latestAssetOperationTimeV2',
2245 : protoName: 'latest_asset_operation_timeV2',
2246 : entryClassName: 'Account.LatestAssetOperationTimeV2Entry',
2247 : keyFieldType: $pb.PbFieldType.OS,
2248 : valueFieldType: $pb.PbFieldType.O6,
2249 : packageName: const $pb.PackageName('protocol'))
2250 0 : ..m<$core.String, $fixnum.Int64>(
2251 : 59, _omitFieldNames ? '' : 'freeAssetNetUsageV2',
2252 : protoName: 'free_asset_net_usageV2',
2253 : entryClassName: 'Account.FreeAssetNetUsageV2Entry',
2254 : keyFieldType: $pb.PbFieldType.OS,
2255 : valueFieldType: $pb.PbFieldType.O6,
2256 : packageName: const $pb.PackageName('protocol'))
2257 0 : ..aOB(60, _omitFieldNames ? '' : 'assetOptimized')
2258 0 : ..hasRequiredFields = false;
2259 :
2260 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2261 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2262 : 'Will be removed in next major version')
2263 0 : Account clone() => Account()..mergeFromMessage(this);
2264 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2265 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2266 : 'Will be removed in next major version')
2267 : Account copyWith(void Function(Account) updates) =>
2268 0 : super.copyWith((message) => updates(message as Account)) as Account;
2269 :
2270 0 : $pb.BuilderInfo get info_ => _i;
2271 :
2272 0 : @$core.pragma('dart2js:noInline')
2273 0 : static Account create() => Account._();
2274 0 : Account createEmptyInstance() => create();
2275 0 : static $pb.PbList<Account> createRepeated() => $pb.PbList<Account>();
2276 0 : @$core.pragma('dart2js:noInline')
2277 : static Account getDefault() =>
2278 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Account>(create);
2279 : static Account? _defaultInstance;
2280 :
2281 : /// account nick name
2282 0 : @$pb.TagNumber(1)
2283 0 : $core.List<$core.int> get accountName => $_getN(0);
2284 0 : @$pb.TagNumber(1)
2285 : set accountName($core.List<$core.int> v) {
2286 0 : $_setBytes(0, v);
2287 : }
2288 :
2289 0 : @$pb.TagNumber(1)
2290 0 : $core.bool hasAccountName() => $_has(0);
2291 0 : @$pb.TagNumber(1)
2292 0 : void clearAccountName() => clearField(1);
2293 :
2294 0 : @$pb.TagNumber(2)
2295 0 : AccountType get type => $_getN(1);
2296 0 : @$pb.TagNumber(2)
2297 : set type(AccountType v) {
2298 0 : setField(2, v);
2299 : }
2300 :
2301 0 : @$pb.TagNumber(2)
2302 0 : $core.bool hasType() => $_has(1);
2303 0 : @$pb.TagNumber(2)
2304 0 : void clearType() => clearField(2);
2305 :
2306 : /// the create address
2307 0 : @$pb.TagNumber(3)
2308 0 : $core.List<$core.int> get address => $_getN(2);
2309 0 : @$pb.TagNumber(3)
2310 : set address($core.List<$core.int> v) {
2311 0 : $_setBytes(2, v);
2312 : }
2313 :
2314 0 : @$pb.TagNumber(3)
2315 0 : $core.bool hasAddress() => $_has(2);
2316 0 : @$pb.TagNumber(3)
2317 0 : void clearAddress() => clearField(3);
2318 :
2319 : /// the trx balance
2320 0 : @$pb.TagNumber(4)
2321 0 : $fixnum.Int64 get balance => $_getI64(3);
2322 0 : @$pb.TagNumber(4)
2323 : set balance($fixnum.Int64 v) {
2324 0 : $_setInt64(3, v);
2325 : }
2326 :
2327 0 : @$pb.TagNumber(4)
2328 0 : $core.bool hasBalance() => $_has(3);
2329 0 : @$pb.TagNumber(4)
2330 0 : void clearBalance() => clearField(4);
2331 :
2332 : /// the votes
2333 0 : @$pb.TagNumber(5)
2334 0 : $core.List<Vote> get votes => $_getList(4);
2335 :
2336 : /// the other asset owned by this account
2337 0 : @$pb.TagNumber(6)
2338 0 : $core.Map<$core.String, $fixnum.Int64> get asset => $_getMap(5);
2339 :
2340 : /// the frozen balance for bandwidth
2341 0 : @$pb.TagNumber(7)
2342 0 : $core.List<Account_Frozen> get frozen => $_getList(6);
2343 :
2344 : /// bandwidth, get from frozen
2345 0 : @$pb.TagNumber(8)
2346 0 : $fixnum.Int64 get netUsage => $_getI64(7);
2347 0 : @$pb.TagNumber(8)
2348 : set netUsage($fixnum.Int64 v) {
2349 0 : $_setInt64(7, v);
2350 : }
2351 :
2352 0 : @$pb.TagNumber(8)
2353 0 : $core.bool hasNetUsage() => $_has(7);
2354 0 : @$pb.TagNumber(8)
2355 0 : void clearNetUsage() => clearField(8);
2356 :
2357 : /// this account create time
2358 0 : @$pb.TagNumber(9)
2359 0 : $fixnum.Int64 get createTime => $_getI64(8);
2360 0 : @$pb.TagNumber(9)
2361 : set createTime($fixnum.Int64 v) {
2362 0 : $_setInt64(8, v);
2363 : }
2364 :
2365 0 : @$pb.TagNumber(9)
2366 0 : $core.bool hasCreateTime() => $_has(8);
2367 0 : @$pb.TagNumber(9)
2368 0 : void clearCreateTime() => clearField(9);
2369 :
2370 : /// this last operation time, including transfer, voting and so on. //FIXME fix grammar
2371 0 : @$pb.TagNumber(10)
2372 0 : $fixnum.Int64 get latestOprationTime => $_getI64(9);
2373 0 : @$pb.TagNumber(10)
2374 : set latestOprationTime($fixnum.Int64 v) {
2375 0 : $_setInt64(9, v);
2376 : }
2377 :
2378 0 : @$pb.TagNumber(10)
2379 0 : $core.bool hasLatestOprationTime() => $_has(9);
2380 0 : @$pb.TagNumber(10)
2381 0 : void clearLatestOprationTime() => clearField(10);
2382 :
2383 : /// witness block producing allowance
2384 0 : @$pb.TagNumber(11)
2385 0 : $fixnum.Int64 get allowance => $_getI64(10);
2386 0 : @$pb.TagNumber(11)
2387 : set allowance($fixnum.Int64 v) {
2388 0 : $_setInt64(10, v);
2389 : }
2390 :
2391 0 : @$pb.TagNumber(11)
2392 0 : $core.bool hasAllowance() => $_has(10);
2393 0 : @$pb.TagNumber(11)
2394 0 : void clearAllowance() => clearField(11);
2395 :
2396 : /// last withdraw time
2397 0 : @$pb.TagNumber(12)
2398 0 : $fixnum.Int64 get latestWithdrawTime => $_getI64(11);
2399 0 : @$pb.TagNumber(12)
2400 : set latestWithdrawTime($fixnum.Int64 v) {
2401 0 : $_setInt64(11, v);
2402 : }
2403 :
2404 0 : @$pb.TagNumber(12)
2405 0 : $core.bool hasLatestWithdrawTime() => $_has(11);
2406 0 : @$pb.TagNumber(12)
2407 0 : void clearLatestWithdrawTime() => clearField(12);
2408 :
2409 : /// not used so far
2410 0 : @$pb.TagNumber(13)
2411 0 : $core.List<$core.int> get code => $_getN(12);
2412 0 : @$pb.TagNumber(13)
2413 : set code($core.List<$core.int> v) {
2414 0 : $_setBytes(12, v);
2415 : }
2416 :
2417 0 : @$pb.TagNumber(13)
2418 0 : $core.bool hasCode() => $_has(12);
2419 0 : @$pb.TagNumber(13)
2420 0 : void clearCode() => clearField(13);
2421 :
2422 0 : @$pb.TagNumber(14)
2423 0 : $core.bool get isWitness => $_getBF(13);
2424 0 : @$pb.TagNumber(14)
2425 : set isWitness($core.bool v) {
2426 0 : $_setBool(13, v);
2427 : }
2428 :
2429 0 : @$pb.TagNumber(14)
2430 0 : $core.bool hasIsWitness() => $_has(13);
2431 0 : @$pb.TagNumber(14)
2432 0 : void clearIsWitness() => clearField(14);
2433 :
2434 0 : @$pb.TagNumber(15)
2435 0 : $core.bool get isCommittee => $_getBF(14);
2436 0 : @$pb.TagNumber(15)
2437 : set isCommittee($core.bool v) {
2438 0 : $_setBool(14, v);
2439 : }
2440 :
2441 0 : @$pb.TagNumber(15)
2442 0 : $core.bool hasIsCommittee() => $_has(14);
2443 0 : @$pb.TagNumber(15)
2444 0 : void clearIsCommittee() => clearField(15);
2445 :
2446 : /// frozen asset(for asset issuer)
2447 0 : @$pb.TagNumber(16)
2448 0 : $core.List<Account_Frozen> get frozenSupply => $_getList(15);
2449 :
2450 : /// asset_issued_name
2451 0 : @$pb.TagNumber(17)
2452 0 : $core.List<$core.int> get assetIssuedName => $_getN(16);
2453 0 : @$pb.TagNumber(17)
2454 : set assetIssuedName($core.List<$core.int> v) {
2455 0 : $_setBytes(16, v);
2456 : }
2457 :
2458 0 : @$pb.TagNumber(17)
2459 0 : $core.bool hasAssetIssuedName() => $_has(16);
2460 0 : @$pb.TagNumber(17)
2461 0 : void clearAssetIssuedName() => clearField(17);
2462 :
2463 0 : @$pb.TagNumber(18)
2464 : $core.Map<$core.String, $fixnum.Int64> get latestAssetOperationTime =>
2465 0 : $_getMap(17);
2466 :
2467 0 : @$pb.TagNumber(19)
2468 0 : $fixnum.Int64 get freeNetUsage => $_getI64(18);
2469 0 : @$pb.TagNumber(19)
2470 : set freeNetUsage($fixnum.Int64 v) {
2471 0 : $_setInt64(18, v);
2472 : }
2473 :
2474 0 : @$pb.TagNumber(19)
2475 0 : $core.bool hasFreeNetUsage() => $_has(18);
2476 0 : @$pb.TagNumber(19)
2477 0 : void clearFreeNetUsage() => clearField(19);
2478 :
2479 0 : @$pb.TagNumber(20)
2480 0 : $core.Map<$core.String, $fixnum.Int64> get freeAssetNetUsage => $_getMap(19);
2481 :
2482 0 : @$pb.TagNumber(21)
2483 0 : $fixnum.Int64 get latestConsumeTime => $_getI64(20);
2484 0 : @$pb.TagNumber(21)
2485 : set latestConsumeTime($fixnum.Int64 v) {
2486 0 : $_setInt64(20, v);
2487 : }
2488 :
2489 0 : @$pb.TagNumber(21)
2490 0 : $core.bool hasLatestConsumeTime() => $_has(20);
2491 0 : @$pb.TagNumber(21)
2492 0 : void clearLatestConsumeTime() => clearField(21);
2493 :
2494 0 : @$pb.TagNumber(22)
2495 0 : $fixnum.Int64 get latestConsumeFreeTime => $_getI64(21);
2496 0 : @$pb.TagNumber(22)
2497 : set latestConsumeFreeTime($fixnum.Int64 v) {
2498 0 : $_setInt64(21, v);
2499 : }
2500 :
2501 0 : @$pb.TagNumber(22)
2502 0 : $core.bool hasLatestConsumeFreeTime() => $_has(21);
2503 0 : @$pb.TagNumber(22)
2504 0 : void clearLatestConsumeFreeTime() => clearField(22);
2505 :
2506 : /// the identity of this account, case insensitive
2507 0 : @$pb.TagNumber(23)
2508 0 : $core.List<$core.int> get accountId => $_getN(22);
2509 0 : @$pb.TagNumber(23)
2510 : set accountId($core.List<$core.int> v) {
2511 0 : $_setBytes(22, v);
2512 : }
2513 :
2514 0 : @$pb.TagNumber(23)
2515 0 : $core.bool hasAccountId() => $_has(22);
2516 0 : @$pb.TagNumber(23)
2517 0 : void clearAccountId() => clearField(23);
2518 :
2519 0 : @$pb.TagNumber(24)
2520 0 : $fixnum.Int64 get netWindowSize => $_getI64(23);
2521 0 : @$pb.TagNumber(24)
2522 : set netWindowSize($fixnum.Int64 v) {
2523 0 : $_setInt64(23, v);
2524 : }
2525 :
2526 0 : @$pb.TagNumber(24)
2527 0 : $core.bool hasNetWindowSize() => $_has(23);
2528 0 : @$pb.TagNumber(24)
2529 0 : void clearNetWindowSize() => clearField(24);
2530 :
2531 0 : @$pb.TagNumber(25)
2532 0 : $core.bool get netWindowOptimized => $_getBF(24);
2533 0 : @$pb.TagNumber(25)
2534 : set netWindowOptimized($core.bool v) {
2535 0 : $_setBool(24, v);
2536 : }
2537 :
2538 0 : @$pb.TagNumber(25)
2539 0 : $core.bool hasNetWindowOptimized() => $_has(24);
2540 0 : @$pb.TagNumber(25)
2541 0 : void clearNetWindowOptimized() => clearField(25);
2542 :
2543 0 : @$pb.TagNumber(26)
2544 0 : Account_AccountResource get accountResource => $_getN(25);
2545 0 : @$pb.TagNumber(26)
2546 : set accountResource(Account_AccountResource v) {
2547 0 : setField(26, v);
2548 : }
2549 :
2550 0 : @$pb.TagNumber(26)
2551 0 : $core.bool hasAccountResource() => $_has(25);
2552 0 : @$pb.TagNumber(26)
2553 0 : void clearAccountResource() => clearField(26);
2554 0 : @$pb.TagNumber(26)
2555 0 : Account_AccountResource ensureAccountResource() => $_ensure(25);
2556 :
2557 0 : @$pb.TagNumber(30)
2558 0 : $core.List<$core.int> get codeHash => $_getN(26);
2559 0 : @$pb.TagNumber(30)
2560 : set codeHash($core.List<$core.int> v) {
2561 0 : $_setBytes(26, v);
2562 : }
2563 :
2564 0 : @$pb.TagNumber(30)
2565 0 : $core.bool hasCodeHash() => $_has(26);
2566 0 : @$pb.TagNumber(30)
2567 0 : void clearCodeHash() => clearField(30);
2568 :
2569 0 : @$pb.TagNumber(31)
2570 0 : Permission get ownerPermission => $_getN(27);
2571 0 : @$pb.TagNumber(31)
2572 : set ownerPermission(Permission v) {
2573 0 : setField(31, v);
2574 : }
2575 :
2576 0 : @$pb.TagNumber(31)
2577 0 : $core.bool hasOwnerPermission() => $_has(27);
2578 0 : @$pb.TagNumber(31)
2579 0 : void clearOwnerPermission() => clearField(31);
2580 0 : @$pb.TagNumber(31)
2581 0 : Permission ensureOwnerPermission() => $_ensure(27);
2582 :
2583 0 : @$pb.TagNumber(32)
2584 0 : Permission get witnessPermission => $_getN(28);
2585 0 : @$pb.TagNumber(32)
2586 : set witnessPermission(Permission v) {
2587 0 : setField(32, v);
2588 : }
2589 :
2590 0 : @$pb.TagNumber(32)
2591 0 : $core.bool hasWitnessPermission() => $_has(28);
2592 0 : @$pb.TagNumber(32)
2593 0 : void clearWitnessPermission() => clearField(32);
2594 0 : @$pb.TagNumber(32)
2595 0 : Permission ensureWitnessPermission() => $_ensure(28);
2596 :
2597 0 : @$pb.TagNumber(33)
2598 0 : $core.List<Permission> get activePermission => $_getList(29);
2599 :
2600 0 : @$pb.TagNumber(34)
2601 0 : $core.List<Account_FreezeV2> get frozenV2 => $_getList(30);
2602 :
2603 0 : @$pb.TagNumber(35)
2604 0 : $core.List<Account_UnFreezeV2> get unfrozenV2 => $_getList(31);
2605 :
2606 0 : @$pb.TagNumber(36)
2607 0 : $fixnum.Int64 get delegatedFrozenV2BalanceForBandwidth => $_getI64(32);
2608 0 : @$pb.TagNumber(36)
2609 : set delegatedFrozenV2BalanceForBandwidth($fixnum.Int64 v) {
2610 0 : $_setInt64(32, v);
2611 : }
2612 :
2613 0 : @$pb.TagNumber(36)
2614 0 : $core.bool hasDelegatedFrozenV2BalanceForBandwidth() => $_has(32);
2615 0 : @$pb.TagNumber(36)
2616 0 : void clearDelegatedFrozenV2BalanceForBandwidth() => clearField(36);
2617 :
2618 0 : @$pb.TagNumber(37)
2619 : $fixnum.Int64 get acquiredDelegatedFrozenV2BalanceForBandwidth =>
2620 0 : $_getI64(33);
2621 0 : @$pb.TagNumber(37)
2622 : set acquiredDelegatedFrozenV2BalanceForBandwidth($fixnum.Int64 v) {
2623 0 : $_setInt64(33, v);
2624 : }
2625 :
2626 0 : @$pb.TagNumber(37)
2627 0 : $core.bool hasAcquiredDelegatedFrozenV2BalanceForBandwidth() => $_has(33);
2628 0 : @$pb.TagNumber(37)
2629 0 : void clearAcquiredDelegatedFrozenV2BalanceForBandwidth() => clearField(37);
2630 :
2631 : /// Frozen balance provided by other accounts to this account
2632 0 : @$pb.TagNumber(41)
2633 0 : $fixnum.Int64 get acquiredDelegatedFrozenBalanceForBandwidth => $_getI64(34);
2634 0 : @$pb.TagNumber(41)
2635 : set acquiredDelegatedFrozenBalanceForBandwidth($fixnum.Int64 v) {
2636 0 : $_setInt64(34, v);
2637 : }
2638 :
2639 0 : @$pb.TagNumber(41)
2640 0 : $core.bool hasAcquiredDelegatedFrozenBalanceForBandwidth() => $_has(34);
2641 0 : @$pb.TagNumber(41)
2642 0 : void clearAcquiredDelegatedFrozenBalanceForBandwidth() => clearField(41);
2643 :
2644 : /// Freeze and provide balances to other accounts
2645 0 : @$pb.TagNumber(42)
2646 0 : $fixnum.Int64 get delegatedFrozenBalanceForBandwidth => $_getI64(35);
2647 0 : @$pb.TagNumber(42)
2648 : set delegatedFrozenBalanceForBandwidth($fixnum.Int64 v) {
2649 0 : $_setInt64(35, v);
2650 : }
2651 :
2652 0 : @$pb.TagNumber(42)
2653 0 : $core.bool hasDelegatedFrozenBalanceForBandwidth() => $_has(35);
2654 0 : @$pb.TagNumber(42)
2655 0 : void clearDelegatedFrozenBalanceForBandwidth() => clearField(42);
2656 :
2657 0 : @$pb.TagNumber(46)
2658 0 : $fixnum.Int64 get oldTronPower => $_getI64(36);
2659 0 : @$pb.TagNumber(46)
2660 : set oldTronPower($fixnum.Int64 v) {
2661 0 : $_setInt64(36, v);
2662 : }
2663 :
2664 0 : @$pb.TagNumber(46)
2665 0 : $core.bool hasOldTronPower() => $_has(36);
2666 0 : @$pb.TagNumber(46)
2667 0 : void clearOldTronPower() => clearField(46);
2668 :
2669 0 : @$pb.TagNumber(47)
2670 0 : Account_Frozen get tronPower => $_getN(37);
2671 0 : @$pb.TagNumber(47)
2672 : set tronPower(Account_Frozen v) {
2673 0 : setField(47, v);
2674 : }
2675 :
2676 0 : @$pb.TagNumber(47)
2677 0 : $core.bool hasTronPower() => $_has(37);
2678 0 : @$pb.TagNumber(47)
2679 0 : void clearTronPower() => clearField(47);
2680 0 : @$pb.TagNumber(47)
2681 0 : Account_Frozen ensureTronPower() => $_ensure(37);
2682 :
2683 : /// the other asset owned by this account,key is assetId
2684 0 : @$pb.TagNumber(56)
2685 0 : $core.Map<$core.String, $fixnum.Int64> get assetV2 => $_getMap(38);
2686 :
2687 0 : @$pb.TagNumber(57)
2688 0 : $core.List<$core.int> get assetIssuedID => $_getN(39);
2689 0 : @$pb.TagNumber(57)
2690 : set assetIssuedID($core.List<$core.int> v) {
2691 0 : $_setBytes(39, v);
2692 : }
2693 :
2694 0 : @$pb.TagNumber(57)
2695 0 : $core.bool hasAssetIssuedID() => $_has(39);
2696 0 : @$pb.TagNumber(57)
2697 0 : void clearAssetIssuedID() => clearField(57);
2698 :
2699 0 : @$pb.TagNumber(58)
2700 : $core.Map<$core.String, $fixnum.Int64> get latestAssetOperationTimeV2 =>
2701 0 : $_getMap(40);
2702 :
2703 0 : @$pb.TagNumber(59)
2704 : $core.Map<$core.String, $fixnum.Int64> get freeAssetNetUsageV2 =>
2705 0 : $_getMap(41);
2706 :
2707 0 : @$pb.TagNumber(60)
2708 0 : $core.bool get assetOptimized => $_getBF(42);
2709 0 : @$pb.TagNumber(60)
2710 : set assetOptimized($core.bool v) {
2711 0 : $_setBool(42, v);
2712 : }
2713 :
2714 0 : @$pb.TagNumber(60)
2715 0 : $core.bool hasAssetOptimized() => $_has(42);
2716 0 : @$pb.TagNumber(60)
2717 0 : void clearAssetOptimized() => clearField(60);
2718 : }
2719 :
2720 : class Key extends $pb.GeneratedMessage {
2721 0 : factory Key({
2722 : $core.List<$core.int>? address,
2723 : $fixnum.Int64? weight,
2724 : }) {
2725 0 : final $result = create();
2726 : if (address != null) {
2727 0 : $result.address = address;
2728 : }
2729 : if (weight != null) {
2730 0 : $result.weight = weight;
2731 : }
2732 : return $result;
2733 : }
2734 0 : Key._() : super();
2735 0 : factory Key.fromBuffer($core.List<$core.int> i,
2736 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2737 0 : create()..mergeFromBuffer(i, r);
2738 0 : factory Key.fromJson($core.String i,
2739 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2740 0 : create()..mergeFromJson(i, r);
2741 :
2742 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
2743 : _omitMessageNames ? '' : 'Key',
2744 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2745 : createEmptyInstance: create)
2746 0 : ..a<$core.List<$core.int>>(
2747 : 1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
2748 0 : ..aInt64(2, _omitFieldNames ? '' : 'weight')
2749 0 : ..hasRequiredFields = false;
2750 :
2751 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2752 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2753 : 'Will be removed in next major version')
2754 0 : Key clone() => Key()..mergeFromMessage(this);
2755 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2756 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2757 : 'Will be removed in next major version')
2758 : Key copyWith(void Function(Key) updates) =>
2759 0 : super.copyWith((message) => updates(message as Key)) as Key;
2760 :
2761 0 : $pb.BuilderInfo get info_ => _i;
2762 :
2763 0 : @$core.pragma('dart2js:noInline')
2764 0 : static Key create() => Key._();
2765 0 : Key createEmptyInstance() => create();
2766 0 : static $pb.PbList<Key> createRepeated() => $pb.PbList<Key>();
2767 0 : @$core.pragma('dart2js:noInline')
2768 : static Key getDefault() =>
2769 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Key>(create);
2770 : static Key? _defaultInstance;
2771 :
2772 0 : @$pb.TagNumber(1)
2773 0 : $core.List<$core.int> get address => $_getN(0);
2774 0 : @$pb.TagNumber(1)
2775 : set address($core.List<$core.int> v) {
2776 0 : $_setBytes(0, v);
2777 : }
2778 :
2779 0 : @$pb.TagNumber(1)
2780 0 : $core.bool hasAddress() => $_has(0);
2781 0 : @$pb.TagNumber(1)
2782 0 : void clearAddress() => clearField(1);
2783 :
2784 0 : @$pb.TagNumber(2)
2785 0 : $fixnum.Int64 get weight => $_getI64(1);
2786 0 : @$pb.TagNumber(2)
2787 : set weight($fixnum.Int64 v) {
2788 0 : $_setInt64(1, v);
2789 : }
2790 :
2791 0 : @$pb.TagNumber(2)
2792 0 : $core.bool hasWeight() => $_has(1);
2793 0 : @$pb.TagNumber(2)
2794 0 : void clearWeight() => clearField(2);
2795 : }
2796 :
2797 : class DelegatedResource extends $pb.GeneratedMessage {
2798 0 : factory DelegatedResource({
2799 : $core.List<$core.int>? from,
2800 : $core.List<$core.int>? to,
2801 : $fixnum.Int64? frozenBalanceForBandwidth,
2802 : $fixnum.Int64? frozenBalanceForEnergy,
2803 : $fixnum.Int64? expireTimeForBandwidth,
2804 : $fixnum.Int64? expireTimeForEnergy,
2805 : }) {
2806 0 : final $result = create();
2807 : if (from != null) {
2808 0 : $result.from = from;
2809 : }
2810 : if (to != null) {
2811 0 : $result.to = to;
2812 : }
2813 : if (frozenBalanceForBandwidth != null) {
2814 0 : $result.frozenBalanceForBandwidth = frozenBalanceForBandwidth;
2815 : }
2816 : if (frozenBalanceForEnergy != null) {
2817 0 : $result.frozenBalanceForEnergy = frozenBalanceForEnergy;
2818 : }
2819 : if (expireTimeForBandwidth != null) {
2820 0 : $result.expireTimeForBandwidth = expireTimeForBandwidth;
2821 : }
2822 : if (expireTimeForEnergy != null) {
2823 0 : $result.expireTimeForEnergy = expireTimeForEnergy;
2824 : }
2825 : return $result;
2826 : }
2827 0 : DelegatedResource._() : super();
2828 0 : factory DelegatedResource.fromBuffer($core.List<$core.int> i,
2829 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2830 0 : create()..mergeFromBuffer(i, r);
2831 0 : factory DelegatedResource.fromJson($core.String i,
2832 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2833 0 : create()..mergeFromJson(i, r);
2834 :
2835 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
2836 : _omitMessageNames ? '' : 'DelegatedResource',
2837 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2838 : createEmptyInstance: create)
2839 0 : ..a<$core.List<$core.int>>(
2840 : 1, _omitFieldNames ? '' : 'from', $pb.PbFieldType.OY)
2841 0 : ..a<$core.List<$core.int>>(
2842 : 2, _omitFieldNames ? '' : 'to', $pb.PbFieldType.OY)
2843 0 : ..aInt64(3, _omitFieldNames ? '' : 'frozenBalanceForBandwidth')
2844 0 : ..aInt64(4, _omitFieldNames ? '' : 'frozenBalanceForEnergy')
2845 0 : ..aInt64(5, _omitFieldNames ? '' : 'expireTimeForBandwidth')
2846 0 : ..aInt64(6, _omitFieldNames ? '' : 'expireTimeForEnergy')
2847 0 : ..hasRequiredFields = false;
2848 :
2849 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2850 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2851 : 'Will be removed in next major version')
2852 0 : DelegatedResource clone() => DelegatedResource()..mergeFromMessage(this);
2853 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2854 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2855 : 'Will be removed in next major version')
2856 : DelegatedResource copyWith(void Function(DelegatedResource) updates) =>
2857 0 : super.copyWith((message) => updates(message as DelegatedResource))
2858 : as DelegatedResource;
2859 :
2860 0 : $pb.BuilderInfo get info_ => _i;
2861 :
2862 0 : @$core.pragma('dart2js:noInline')
2863 0 : static DelegatedResource create() => DelegatedResource._();
2864 0 : DelegatedResource createEmptyInstance() => create();
2865 0 : static $pb.PbList<DelegatedResource> createRepeated() =>
2866 0 : $pb.PbList<DelegatedResource>();
2867 0 : @$core.pragma('dart2js:noInline')
2868 : static DelegatedResource getDefault() => _defaultInstance ??=
2869 0 : $pb.GeneratedMessage.$_defaultFor<DelegatedResource>(create);
2870 : static DelegatedResource? _defaultInstance;
2871 :
2872 0 : @$pb.TagNumber(1)
2873 0 : $core.List<$core.int> get from => $_getN(0);
2874 0 : @$pb.TagNumber(1)
2875 : set from($core.List<$core.int> v) {
2876 0 : $_setBytes(0, v);
2877 : }
2878 :
2879 0 : @$pb.TagNumber(1)
2880 0 : $core.bool hasFrom() => $_has(0);
2881 0 : @$pb.TagNumber(1)
2882 0 : void clearFrom() => clearField(1);
2883 :
2884 0 : @$pb.TagNumber(2)
2885 0 : $core.List<$core.int> get to => $_getN(1);
2886 0 : @$pb.TagNumber(2)
2887 : set to($core.List<$core.int> v) {
2888 0 : $_setBytes(1, v);
2889 : }
2890 :
2891 0 : @$pb.TagNumber(2)
2892 0 : $core.bool hasTo() => $_has(1);
2893 0 : @$pb.TagNumber(2)
2894 0 : void clearTo() => clearField(2);
2895 :
2896 0 : @$pb.TagNumber(3)
2897 0 : $fixnum.Int64 get frozenBalanceForBandwidth => $_getI64(2);
2898 0 : @$pb.TagNumber(3)
2899 : set frozenBalanceForBandwidth($fixnum.Int64 v) {
2900 0 : $_setInt64(2, v);
2901 : }
2902 :
2903 0 : @$pb.TagNumber(3)
2904 0 : $core.bool hasFrozenBalanceForBandwidth() => $_has(2);
2905 0 : @$pb.TagNumber(3)
2906 0 : void clearFrozenBalanceForBandwidth() => clearField(3);
2907 :
2908 0 : @$pb.TagNumber(4)
2909 0 : $fixnum.Int64 get frozenBalanceForEnergy => $_getI64(3);
2910 0 : @$pb.TagNumber(4)
2911 : set frozenBalanceForEnergy($fixnum.Int64 v) {
2912 0 : $_setInt64(3, v);
2913 : }
2914 :
2915 0 : @$pb.TagNumber(4)
2916 0 : $core.bool hasFrozenBalanceForEnergy() => $_has(3);
2917 0 : @$pb.TagNumber(4)
2918 0 : void clearFrozenBalanceForEnergy() => clearField(4);
2919 :
2920 0 : @$pb.TagNumber(5)
2921 0 : $fixnum.Int64 get expireTimeForBandwidth => $_getI64(4);
2922 0 : @$pb.TagNumber(5)
2923 : set expireTimeForBandwidth($fixnum.Int64 v) {
2924 0 : $_setInt64(4, v);
2925 : }
2926 :
2927 0 : @$pb.TagNumber(5)
2928 0 : $core.bool hasExpireTimeForBandwidth() => $_has(4);
2929 0 : @$pb.TagNumber(5)
2930 0 : void clearExpireTimeForBandwidth() => clearField(5);
2931 :
2932 0 : @$pb.TagNumber(6)
2933 0 : $fixnum.Int64 get expireTimeForEnergy => $_getI64(5);
2934 0 : @$pb.TagNumber(6)
2935 : set expireTimeForEnergy($fixnum.Int64 v) {
2936 0 : $_setInt64(5, v);
2937 : }
2938 :
2939 0 : @$pb.TagNumber(6)
2940 0 : $core.bool hasExpireTimeForEnergy() => $_has(5);
2941 0 : @$pb.TagNumber(6)
2942 0 : void clearExpireTimeForEnergy() => clearField(6);
2943 : }
2944 :
2945 : class authority extends $pb.GeneratedMessage {
2946 0 : factory authority({
2947 : AccountId? account,
2948 : $core.List<$core.int>? permissionName,
2949 : }) {
2950 0 : final $result = create();
2951 : if (account != null) {
2952 0 : $result.account = account;
2953 : }
2954 : if (permissionName != null) {
2955 0 : $result.permissionName = permissionName;
2956 : }
2957 : return $result;
2958 : }
2959 0 : authority._() : super();
2960 0 : factory authority.fromBuffer($core.List<$core.int> i,
2961 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2962 0 : create()..mergeFromBuffer(i, r);
2963 0 : factory authority.fromJson($core.String i,
2964 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2965 0 : create()..mergeFromJson(i, r);
2966 :
2967 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
2968 : _omitMessageNames ? '' : 'authority',
2969 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2970 : createEmptyInstance: create)
2971 0 : ..aOM<AccountId>(1, _omitFieldNames ? '' : 'account',
2972 : subBuilder: AccountId.create)
2973 0 : ..a<$core.List<$core.int>>(
2974 : 2, _omitFieldNames ? '' : 'permissionName', $pb.PbFieldType.OY)
2975 0 : ..hasRequiredFields = false;
2976 :
2977 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2978 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2979 : 'Will be removed in next major version')
2980 0 : authority clone() => authority()..mergeFromMessage(this);
2981 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2982 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2983 : 'Will be removed in next major version')
2984 : authority copyWith(void Function(authority) updates) =>
2985 0 : super.copyWith((message) => updates(message as authority)) as authority;
2986 :
2987 0 : $pb.BuilderInfo get info_ => _i;
2988 :
2989 0 : @$core.pragma('dart2js:noInline')
2990 0 : static authority create() => authority._();
2991 0 : authority createEmptyInstance() => create();
2992 0 : static $pb.PbList<authority> createRepeated() => $pb.PbList<authority>();
2993 0 : @$core.pragma('dart2js:noInline')
2994 : static authority getDefault() =>
2995 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<authority>(create);
2996 : static authority? _defaultInstance;
2997 :
2998 0 : @$pb.TagNumber(1)
2999 0 : AccountId get account => $_getN(0);
3000 0 : @$pb.TagNumber(1)
3001 : set account(AccountId v) {
3002 0 : setField(1, v);
3003 : }
3004 :
3005 0 : @$pb.TagNumber(1)
3006 0 : $core.bool hasAccount() => $_has(0);
3007 0 : @$pb.TagNumber(1)
3008 0 : void clearAccount() => clearField(1);
3009 0 : @$pb.TagNumber(1)
3010 0 : AccountId ensureAccount() => $_ensure(0);
3011 :
3012 0 : @$pb.TagNumber(2)
3013 0 : $core.List<$core.int> get permissionName => $_getN(1);
3014 0 : @$pb.TagNumber(2)
3015 : set permissionName($core.List<$core.int> v) {
3016 0 : $_setBytes(1, v);
3017 : }
3018 :
3019 0 : @$pb.TagNumber(2)
3020 0 : $core.bool hasPermissionName() => $_has(1);
3021 0 : @$pb.TagNumber(2)
3022 0 : void clearPermissionName() => clearField(2);
3023 : }
3024 :
3025 : class Permission extends $pb.GeneratedMessage {
3026 0 : factory Permission({
3027 : Permission_PermissionType? type,
3028 : $core.int? id,
3029 : $core.String? permissionName,
3030 : $fixnum.Int64? threshold,
3031 : $core.int? parentId,
3032 : $core.List<$core.int>? operations,
3033 : $core.Iterable<Key>? keys,
3034 : }) {
3035 0 : final $result = create();
3036 : if (type != null) {
3037 0 : $result.type = type;
3038 : }
3039 : if (id != null) {
3040 0 : $result.id = id;
3041 : }
3042 : if (permissionName != null) {
3043 0 : $result.permissionName = permissionName;
3044 : }
3045 : if (threshold != null) {
3046 0 : $result.threshold = threshold;
3047 : }
3048 : if (parentId != null) {
3049 0 : $result.parentId = parentId;
3050 : }
3051 : if (operations != null) {
3052 0 : $result.operations = operations;
3053 : }
3054 : if (keys != null) {
3055 0 : $result.keys.addAll(keys);
3056 : }
3057 : return $result;
3058 : }
3059 0 : Permission._() : super();
3060 0 : factory Permission.fromBuffer($core.List<$core.int> i,
3061 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3062 0 : create()..mergeFromBuffer(i, r);
3063 0 : factory Permission.fromJson($core.String i,
3064 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3065 0 : create()..mergeFromJson(i, r);
3066 :
3067 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3068 : _omitMessageNames ? '' : 'Permission',
3069 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3070 : createEmptyInstance: create)
3071 0 : ..e<Permission_PermissionType>(
3072 : 1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
3073 : defaultOrMaker: Permission_PermissionType.Owner,
3074 : valueOf: Permission_PermissionType.valueOf,
3075 : enumValues: Permission_PermissionType.values)
3076 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
3077 0 : ..aOS(3, _omitFieldNames ? '' : 'permissionName')
3078 0 : ..aInt64(4, _omitFieldNames ? '' : 'threshold')
3079 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'parentId', $pb.PbFieldType.O3)
3080 0 : ..a<$core.List<$core.int>>(
3081 : 6, _omitFieldNames ? '' : 'operations', $pb.PbFieldType.OY)
3082 0 : ..pc<Key>(7, _omitFieldNames ? '' : 'keys', $pb.PbFieldType.PM,
3083 : subBuilder: Key.create)
3084 0 : ..hasRequiredFields = false;
3085 :
3086 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3087 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3088 : 'Will be removed in next major version')
3089 0 : Permission clone() => Permission()..mergeFromMessage(this);
3090 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3091 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3092 : 'Will be removed in next major version')
3093 : Permission copyWith(void Function(Permission) updates) =>
3094 0 : super.copyWith((message) => updates(message as Permission)) as Permission;
3095 :
3096 0 : $pb.BuilderInfo get info_ => _i;
3097 :
3098 0 : @$core.pragma('dart2js:noInline')
3099 0 : static Permission create() => Permission._();
3100 0 : Permission createEmptyInstance() => create();
3101 0 : static $pb.PbList<Permission> createRepeated() => $pb.PbList<Permission>();
3102 0 : @$core.pragma('dart2js:noInline')
3103 : static Permission getDefault() => _defaultInstance ??=
3104 0 : $pb.GeneratedMessage.$_defaultFor<Permission>(create);
3105 : static Permission? _defaultInstance;
3106 :
3107 0 : @$pb.TagNumber(1)
3108 0 : Permission_PermissionType get type => $_getN(0);
3109 0 : @$pb.TagNumber(1)
3110 : set type(Permission_PermissionType v) {
3111 0 : setField(1, v);
3112 : }
3113 :
3114 0 : @$pb.TagNumber(1)
3115 0 : $core.bool hasType() => $_has(0);
3116 0 : @$pb.TagNumber(1)
3117 0 : void clearType() => clearField(1);
3118 :
3119 0 : @$pb.TagNumber(2)
3120 0 : $core.int get id => $_getIZ(1);
3121 0 : @$pb.TagNumber(2)
3122 : set id($core.int v) {
3123 0 : $_setSignedInt32(1, v);
3124 : }
3125 :
3126 0 : @$pb.TagNumber(2)
3127 0 : $core.bool hasId() => $_has(1);
3128 0 : @$pb.TagNumber(2)
3129 0 : void clearId() => clearField(2);
3130 :
3131 0 : @$pb.TagNumber(3)
3132 0 : $core.String get permissionName => $_getSZ(2);
3133 0 : @$pb.TagNumber(3)
3134 : set permissionName($core.String v) {
3135 0 : $_setString(2, v);
3136 : }
3137 :
3138 0 : @$pb.TagNumber(3)
3139 0 : $core.bool hasPermissionName() => $_has(2);
3140 0 : @$pb.TagNumber(3)
3141 0 : void clearPermissionName() => clearField(3);
3142 :
3143 0 : @$pb.TagNumber(4)
3144 0 : $fixnum.Int64 get threshold => $_getI64(3);
3145 0 : @$pb.TagNumber(4)
3146 : set threshold($fixnum.Int64 v) {
3147 0 : $_setInt64(3, v);
3148 : }
3149 :
3150 0 : @$pb.TagNumber(4)
3151 0 : $core.bool hasThreshold() => $_has(3);
3152 0 : @$pb.TagNumber(4)
3153 0 : void clearThreshold() => clearField(4);
3154 :
3155 0 : @$pb.TagNumber(5)
3156 0 : $core.int get parentId => $_getIZ(4);
3157 0 : @$pb.TagNumber(5)
3158 : set parentId($core.int v) {
3159 0 : $_setSignedInt32(4, v);
3160 : }
3161 :
3162 0 : @$pb.TagNumber(5)
3163 0 : $core.bool hasParentId() => $_has(4);
3164 0 : @$pb.TagNumber(5)
3165 0 : void clearParentId() => clearField(5);
3166 :
3167 0 : @$pb.TagNumber(6)
3168 0 : $core.List<$core.int> get operations => $_getN(5);
3169 0 : @$pb.TagNumber(6)
3170 : set operations($core.List<$core.int> v) {
3171 0 : $_setBytes(5, v);
3172 : }
3173 :
3174 0 : @$pb.TagNumber(6)
3175 0 : $core.bool hasOperations() => $_has(5);
3176 0 : @$pb.TagNumber(6)
3177 0 : void clearOperations() => clearField(6);
3178 :
3179 0 : @$pb.TagNumber(7)
3180 0 : $core.List<Key> get keys => $_getList(6);
3181 : }
3182 :
3183 : /// Witness
3184 : class Witness extends $pb.GeneratedMessage {
3185 0 : factory Witness({
3186 : $core.List<$core.int>? address,
3187 : $fixnum.Int64? voteCount,
3188 : $core.List<$core.int>? pubKey,
3189 : $core.String? url,
3190 : $fixnum.Int64? totalProduced,
3191 : $fixnum.Int64? totalMissed,
3192 : $fixnum.Int64? latestBlockNum,
3193 : $fixnum.Int64? latestSlotNum,
3194 : $core.bool? isJobs,
3195 : }) {
3196 0 : final $result = create();
3197 : if (address != null) {
3198 0 : $result.address = address;
3199 : }
3200 : if (voteCount != null) {
3201 0 : $result.voteCount = voteCount;
3202 : }
3203 : if (pubKey != null) {
3204 0 : $result.pubKey = pubKey;
3205 : }
3206 : if (url != null) {
3207 0 : $result.url = url;
3208 : }
3209 : if (totalProduced != null) {
3210 0 : $result.totalProduced = totalProduced;
3211 : }
3212 : if (totalMissed != null) {
3213 0 : $result.totalMissed = totalMissed;
3214 : }
3215 : if (latestBlockNum != null) {
3216 0 : $result.latestBlockNum = latestBlockNum;
3217 : }
3218 : if (latestSlotNum != null) {
3219 0 : $result.latestSlotNum = latestSlotNum;
3220 : }
3221 : if (isJobs != null) {
3222 0 : $result.isJobs = isJobs;
3223 : }
3224 : return $result;
3225 : }
3226 0 : Witness._() : super();
3227 0 : factory Witness.fromBuffer($core.List<$core.int> i,
3228 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3229 0 : create()..mergeFromBuffer(i, r);
3230 0 : factory Witness.fromJson($core.String i,
3231 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3232 0 : create()..mergeFromJson(i, r);
3233 :
3234 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3235 : _omitMessageNames ? '' : 'Witness',
3236 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3237 : createEmptyInstance: create)
3238 0 : ..a<$core.List<$core.int>>(
3239 : 1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
3240 0 : ..aInt64(2, _omitFieldNames ? '' : 'voteCount', protoName: 'voteCount')
3241 0 : ..a<$core.List<$core.int>>(
3242 : 3, _omitFieldNames ? '' : 'pubKey', $pb.PbFieldType.OY,
3243 : protoName: 'pubKey')
3244 0 : ..aOS(4, _omitFieldNames ? '' : 'url')
3245 0 : ..aInt64(5, _omitFieldNames ? '' : 'totalProduced',
3246 : protoName: 'totalProduced')
3247 0 : ..aInt64(6, _omitFieldNames ? '' : 'totalMissed', protoName: 'totalMissed')
3248 0 : ..aInt64(7, _omitFieldNames ? '' : 'latestBlockNum',
3249 : protoName: 'latestBlockNum')
3250 0 : ..aInt64(8, _omitFieldNames ? '' : 'latestSlotNum',
3251 : protoName: 'latestSlotNum')
3252 0 : ..aOB(9, _omitFieldNames ? '' : 'isJobs', protoName: 'isJobs')
3253 0 : ..hasRequiredFields = false;
3254 :
3255 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3256 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3257 : 'Will be removed in next major version')
3258 0 : Witness clone() => Witness()..mergeFromMessage(this);
3259 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3260 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3261 : 'Will be removed in next major version')
3262 : Witness copyWith(void Function(Witness) updates) =>
3263 0 : super.copyWith((message) => updates(message as Witness)) as Witness;
3264 :
3265 0 : $pb.BuilderInfo get info_ => _i;
3266 :
3267 0 : @$core.pragma('dart2js:noInline')
3268 0 : static Witness create() => Witness._();
3269 0 : Witness createEmptyInstance() => create();
3270 0 : static $pb.PbList<Witness> createRepeated() => $pb.PbList<Witness>();
3271 0 : @$core.pragma('dart2js:noInline')
3272 : static Witness getDefault() =>
3273 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Witness>(create);
3274 : static Witness? _defaultInstance;
3275 :
3276 0 : @$pb.TagNumber(1)
3277 0 : $core.List<$core.int> get address => $_getN(0);
3278 0 : @$pb.TagNumber(1)
3279 : set address($core.List<$core.int> v) {
3280 0 : $_setBytes(0, v);
3281 : }
3282 :
3283 0 : @$pb.TagNumber(1)
3284 0 : $core.bool hasAddress() => $_has(0);
3285 0 : @$pb.TagNumber(1)
3286 0 : void clearAddress() => clearField(1);
3287 :
3288 0 : @$pb.TagNumber(2)
3289 0 : $fixnum.Int64 get voteCount => $_getI64(1);
3290 0 : @$pb.TagNumber(2)
3291 : set voteCount($fixnum.Int64 v) {
3292 0 : $_setInt64(1, v);
3293 : }
3294 :
3295 0 : @$pb.TagNumber(2)
3296 0 : $core.bool hasVoteCount() => $_has(1);
3297 0 : @$pb.TagNumber(2)
3298 0 : void clearVoteCount() => clearField(2);
3299 :
3300 0 : @$pb.TagNumber(3)
3301 0 : $core.List<$core.int> get pubKey => $_getN(2);
3302 0 : @$pb.TagNumber(3)
3303 : set pubKey($core.List<$core.int> v) {
3304 0 : $_setBytes(2, v);
3305 : }
3306 :
3307 0 : @$pb.TagNumber(3)
3308 0 : $core.bool hasPubKey() => $_has(2);
3309 0 : @$pb.TagNumber(3)
3310 0 : void clearPubKey() => clearField(3);
3311 :
3312 0 : @$pb.TagNumber(4)
3313 0 : $core.String get url => $_getSZ(3);
3314 0 : @$pb.TagNumber(4)
3315 : set url($core.String v) {
3316 0 : $_setString(3, v);
3317 : }
3318 :
3319 0 : @$pb.TagNumber(4)
3320 0 : $core.bool hasUrl() => $_has(3);
3321 0 : @$pb.TagNumber(4)
3322 0 : void clearUrl() => clearField(4);
3323 :
3324 0 : @$pb.TagNumber(5)
3325 0 : $fixnum.Int64 get totalProduced => $_getI64(4);
3326 0 : @$pb.TagNumber(5)
3327 : set totalProduced($fixnum.Int64 v) {
3328 0 : $_setInt64(4, v);
3329 : }
3330 :
3331 0 : @$pb.TagNumber(5)
3332 0 : $core.bool hasTotalProduced() => $_has(4);
3333 0 : @$pb.TagNumber(5)
3334 0 : void clearTotalProduced() => clearField(5);
3335 :
3336 0 : @$pb.TagNumber(6)
3337 0 : $fixnum.Int64 get totalMissed => $_getI64(5);
3338 0 : @$pb.TagNumber(6)
3339 : set totalMissed($fixnum.Int64 v) {
3340 0 : $_setInt64(5, v);
3341 : }
3342 :
3343 0 : @$pb.TagNumber(6)
3344 0 : $core.bool hasTotalMissed() => $_has(5);
3345 0 : @$pb.TagNumber(6)
3346 0 : void clearTotalMissed() => clearField(6);
3347 :
3348 0 : @$pb.TagNumber(7)
3349 0 : $fixnum.Int64 get latestBlockNum => $_getI64(6);
3350 0 : @$pb.TagNumber(7)
3351 : set latestBlockNum($fixnum.Int64 v) {
3352 0 : $_setInt64(6, v);
3353 : }
3354 :
3355 0 : @$pb.TagNumber(7)
3356 0 : $core.bool hasLatestBlockNum() => $_has(6);
3357 0 : @$pb.TagNumber(7)
3358 0 : void clearLatestBlockNum() => clearField(7);
3359 :
3360 0 : @$pb.TagNumber(8)
3361 0 : $fixnum.Int64 get latestSlotNum => $_getI64(7);
3362 0 : @$pb.TagNumber(8)
3363 : set latestSlotNum($fixnum.Int64 v) {
3364 0 : $_setInt64(7, v);
3365 : }
3366 :
3367 0 : @$pb.TagNumber(8)
3368 0 : $core.bool hasLatestSlotNum() => $_has(7);
3369 0 : @$pb.TagNumber(8)
3370 0 : void clearLatestSlotNum() => clearField(8);
3371 :
3372 0 : @$pb.TagNumber(9)
3373 0 : $core.bool get isJobs => $_getBF(8);
3374 0 : @$pb.TagNumber(9)
3375 : set isJobs($core.bool v) {
3376 0 : $_setBool(8, v);
3377 : }
3378 :
3379 0 : @$pb.TagNumber(9)
3380 0 : $core.bool hasIsJobs() => $_has(8);
3381 0 : @$pb.TagNumber(9)
3382 0 : void clearIsJobs() => clearField(9);
3383 : }
3384 :
3385 : /// Vote Change
3386 : class Votes extends $pb.GeneratedMessage {
3387 0 : factory Votes({
3388 : $core.List<$core.int>? address,
3389 : $core.Iterable<Vote>? oldVotes,
3390 : $core.Iterable<Vote>? newVotes,
3391 : }) {
3392 0 : final $result = create();
3393 : if (address != null) {
3394 0 : $result.address = address;
3395 : }
3396 : if (oldVotes != null) {
3397 0 : $result.oldVotes.addAll(oldVotes);
3398 : }
3399 : if (newVotes != null) {
3400 0 : $result.newVotes.addAll(newVotes);
3401 : }
3402 : return $result;
3403 : }
3404 0 : Votes._() : super();
3405 0 : factory Votes.fromBuffer($core.List<$core.int> i,
3406 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3407 0 : create()..mergeFromBuffer(i, r);
3408 0 : factory Votes.fromJson($core.String i,
3409 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3410 0 : create()..mergeFromJson(i, r);
3411 :
3412 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3413 : _omitMessageNames ? '' : 'Votes',
3414 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3415 : createEmptyInstance: create)
3416 0 : ..a<$core.List<$core.int>>(
3417 : 1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
3418 0 : ..pc<Vote>(2, _omitFieldNames ? '' : 'oldVotes', $pb.PbFieldType.PM,
3419 : subBuilder: Vote.create)
3420 0 : ..pc<Vote>(3, _omitFieldNames ? '' : 'newVotes', $pb.PbFieldType.PM,
3421 : subBuilder: Vote.create)
3422 0 : ..hasRequiredFields = false;
3423 :
3424 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3425 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3426 : 'Will be removed in next major version')
3427 0 : Votes clone() => Votes()..mergeFromMessage(this);
3428 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3429 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3430 : 'Will be removed in next major version')
3431 : Votes copyWith(void Function(Votes) updates) =>
3432 0 : super.copyWith((message) => updates(message as Votes)) as Votes;
3433 :
3434 0 : $pb.BuilderInfo get info_ => _i;
3435 :
3436 0 : @$core.pragma('dart2js:noInline')
3437 0 : static Votes create() => Votes._();
3438 0 : Votes createEmptyInstance() => create();
3439 0 : static $pb.PbList<Votes> createRepeated() => $pb.PbList<Votes>();
3440 0 : @$core.pragma('dart2js:noInline')
3441 : static Votes getDefault() =>
3442 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Votes>(create);
3443 : static Votes? _defaultInstance;
3444 :
3445 0 : @$pb.TagNumber(1)
3446 0 : $core.List<$core.int> get address => $_getN(0);
3447 0 : @$pb.TagNumber(1)
3448 : set address($core.List<$core.int> v) {
3449 0 : $_setBytes(0, v);
3450 : }
3451 :
3452 0 : @$pb.TagNumber(1)
3453 0 : $core.bool hasAddress() => $_has(0);
3454 0 : @$pb.TagNumber(1)
3455 0 : void clearAddress() => clearField(1);
3456 :
3457 0 : @$pb.TagNumber(2)
3458 0 : $core.List<Vote> get oldVotes => $_getList(1);
3459 :
3460 0 : @$pb.TagNumber(3)
3461 0 : $core.List<Vote> get newVotes => $_getList(2);
3462 : }
3463 :
3464 : class TXOutput extends $pb.GeneratedMessage {
3465 0 : factory TXOutput({
3466 : $fixnum.Int64? value,
3467 : $core.List<$core.int>? pubKeyHash,
3468 : }) {
3469 0 : final $result = create();
3470 : if (value != null) {
3471 0 : $result.value = value;
3472 : }
3473 : if (pubKeyHash != null) {
3474 0 : $result.pubKeyHash = pubKeyHash;
3475 : }
3476 : return $result;
3477 : }
3478 0 : TXOutput._() : super();
3479 0 : factory TXOutput.fromBuffer($core.List<$core.int> i,
3480 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3481 0 : create()..mergeFromBuffer(i, r);
3482 0 : factory TXOutput.fromJson($core.String i,
3483 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3484 0 : create()..mergeFromJson(i, r);
3485 :
3486 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3487 : _omitMessageNames ? '' : 'TXOutput',
3488 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3489 : createEmptyInstance: create)
3490 0 : ..aInt64(1, _omitFieldNames ? '' : 'value')
3491 0 : ..a<$core.List<$core.int>>(
3492 : 2, _omitFieldNames ? '' : 'pubKeyHash', $pb.PbFieldType.OY,
3493 : protoName: 'pubKeyHash')
3494 0 : ..hasRequiredFields = false;
3495 :
3496 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3497 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3498 : 'Will be removed in next major version')
3499 0 : TXOutput clone() => TXOutput()..mergeFromMessage(this);
3500 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3501 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3502 : 'Will be removed in next major version')
3503 : TXOutput copyWith(void Function(TXOutput) updates) =>
3504 0 : super.copyWith((message) => updates(message as TXOutput)) as TXOutput;
3505 :
3506 0 : $pb.BuilderInfo get info_ => _i;
3507 :
3508 0 : @$core.pragma('dart2js:noInline')
3509 0 : static TXOutput create() => TXOutput._();
3510 0 : TXOutput createEmptyInstance() => create();
3511 0 : static $pb.PbList<TXOutput> createRepeated() => $pb.PbList<TXOutput>();
3512 0 : @$core.pragma('dart2js:noInline')
3513 : static TXOutput getDefault() =>
3514 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXOutput>(create);
3515 : static TXOutput? _defaultInstance;
3516 :
3517 0 : @$pb.TagNumber(1)
3518 0 : $fixnum.Int64 get value => $_getI64(0);
3519 0 : @$pb.TagNumber(1)
3520 : set value($fixnum.Int64 v) {
3521 0 : $_setInt64(0, v);
3522 : }
3523 :
3524 0 : @$pb.TagNumber(1)
3525 0 : $core.bool hasValue() => $_has(0);
3526 0 : @$pb.TagNumber(1)
3527 0 : void clearValue() => clearField(1);
3528 :
3529 0 : @$pb.TagNumber(2)
3530 0 : $core.List<$core.int> get pubKeyHash => $_getN(1);
3531 0 : @$pb.TagNumber(2)
3532 : set pubKeyHash($core.List<$core.int> v) {
3533 0 : $_setBytes(1, v);
3534 : }
3535 :
3536 0 : @$pb.TagNumber(2)
3537 0 : $core.bool hasPubKeyHash() => $_has(1);
3538 0 : @$pb.TagNumber(2)
3539 0 : void clearPubKeyHash() => clearField(2);
3540 : }
3541 :
3542 : class TXInput_raw extends $pb.GeneratedMessage {
3543 0 : factory TXInput_raw({
3544 : $core.List<$core.int>? txID,
3545 : $fixnum.Int64? vout,
3546 : $core.List<$core.int>? pubKey,
3547 : }) {
3548 0 : final $result = create();
3549 : if (txID != null) {
3550 0 : $result.txID = txID;
3551 : }
3552 : if (vout != null) {
3553 0 : $result.vout = vout;
3554 : }
3555 : if (pubKey != null) {
3556 0 : $result.pubKey = pubKey;
3557 : }
3558 : return $result;
3559 : }
3560 0 : TXInput_raw._() : super();
3561 0 : factory TXInput_raw.fromBuffer($core.List<$core.int> i,
3562 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3563 0 : create()..mergeFromBuffer(i, r);
3564 0 : factory TXInput_raw.fromJson($core.String i,
3565 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3566 0 : create()..mergeFromJson(i, r);
3567 :
3568 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3569 : _omitMessageNames ? '' : 'TXInput.raw',
3570 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3571 : createEmptyInstance: create)
3572 0 : ..a<$core.List<$core.int>>(
3573 : 1, _omitFieldNames ? '' : 'txID', $pb.PbFieldType.OY,
3574 : protoName: 'txID')
3575 0 : ..aInt64(2, _omitFieldNames ? '' : 'vout')
3576 0 : ..a<$core.List<$core.int>>(
3577 : 3, _omitFieldNames ? '' : 'pubKey', $pb.PbFieldType.OY,
3578 : protoName: 'pubKey')
3579 0 : ..hasRequiredFields = false;
3580 :
3581 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3582 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3583 : 'Will be removed in next major version')
3584 0 : TXInput_raw clone() => TXInput_raw()..mergeFromMessage(this);
3585 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3586 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3587 : 'Will be removed in next major version')
3588 : TXInput_raw copyWith(void Function(TXInput_raw) updates) =>
3589 0 : super.copyWith((message) => updates(message as TXInput_raw))
3590 : as TXInput_raw;
3591 :
3592 0 : $pb.BuilderInfo get info_ => _i;
3593 :
3594 0 : @$core.pragma('dart2js:noInline')
3595 0 : static TXInput_raw create() => TXInput_raw._();
3596 0 : TXInput_raw createEmptyInstance() => create();
3597 0 : static $pb.PbList<TXInput_raw> createRepeated() => $pb.PbList<TXInput_raw>();
3598 0 : @$core.pragma('dart2js:noInline')
3599 : static TXInput_raw getDefault() => _defaultInstance ??=
3600 0 : $pb.GeneratedMessage.$_defaultFor<TXInput_raw>(create);
3601 : static TXInput_raw? _defaultInstance;
3602 :
3603 0 : @$pb.TagNumber(1)
3604 0 : $core.List<$core.int> get txID => $_getN(0);
3605 0 : @$pb.TagNumber(1)
3606 : set txID($core.List<$core.int> v) {
3607 0 : $_setBytes(0, v);
3608 : }
3609 :
3610 0 : @$pb.TagNumber(1)
3611 0 : $core.bool hasTxID() => $_has(0);
3612 0 : @$pb.TagNumber(1)
3613 0 : void clearTxID() => clearField(1);
3614 :
3615 0 : @$pb.TagNumber(2)
3616 0 : $fixnum.Int64 get vout => $_getI64(1);
3617 0 : @$pb.TagNumber(2)
3618 : set vout($fixnum.Int64 v) {
3619 0 : $_setInt64(1, v);
3620 : }
3621 :
3622 0 : @$pb.TagNumber(2)
3623 0 : $core.bool hasVout() => $_has(1);
3624 0 : @$pb.TagNumber(2)
3625 0 : void clearVout() => clearField(2);
3626 :
3627 0 : @$pb.TagNumber(3)
3628 0 : $core.List<$core.int> get pubKey => $_getN(2);
3629 0 : @$pb.TagNumber(3)
3630 : set pubKey($core.List<$core.int> v) {
3631 0 : $_setBytes(2, v);
3632 : }
3633 :
3634 0 : @$pb.TagNumber(3)
3635 0 : $core.bool hasPubKey() => $_has(2);
3636 0 : @$pb.TagNumber(3)
3637 0 : void clearPubKey() => clearField(3);
3638 : }
3639 :
3640 : class TXInput extends $pb.GeneratedMessage {
3641 0 : factory TXInput({
3642 : TXInput_raw? rawData,
3643 : $core.List<$core.int>? signature,
3644 : }) {
3645 0 : final $result = create();
3646 : if (rawData != null) {
3647 0 : $result.rawData = rawData;
3648 : }
3649 : if (signature != null) {
3650 0 : $result.signature = signature;
3651 : }
3652 : return $result;
3653 : }
3654 0 : TXInput._() : super();
3655 0 : factory TXInput.fromBuffer($core.List<$core.int> i,
3656 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3657 0 : create()..mergeFromBuffer(i, r);
3658 0 : factory TXInput.fromJson($core.String i,
3659 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3660 0 : create()..mergeFromJson(i, r);
3661 :
3662 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3663 : _omitMessageNames ? '' : 'TXInput',
3664 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3665 : createEmptyInstance: create)
3666 0 : ..aOM<TXInput_raw>(1, _omitFieldNames ? '' : 'rawData',
3667 : subBuilder: TXInput_raw.create)
3668 0 : ..a<$core.List<$core.int>>(
3669 : 4, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
3670 0 : ..hasRequiredFields = false;
3671 :
3672 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3673 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3674 : 'Will be removed in next major version')
3675 0 : TXInput clone() => TXInput()..mergeFromMessage(this);
3676 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3677 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3678 : 'Will be removed in next major version')
3679 : TXInput copyWith(void Function(TXInput) updates) =>
3680 0 : super.copyWith((message) => updates(message as TXInput)) as TXInput;
3681 :
3682 0 : $pb.BuilderInfo get info_ => _i;
3683 :
3684 0 : @$core.pragma('dart2js:noInline')
3685 0 : static TXInput create() => TXInput._();
3686 0 : TXInput createEmptyInstance() => create();
3687 0 : static $pb.PbList<TXInput> createRepeated() => $pb.PbList<TXInput>();
3688 0 : @$core.pragma('dart2js:noInline')
3689 : static TXInput getDefault() =>
3690 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXInput>(create);
3691 : static TXInput? _defaultInstance;
3692 :
3693 0 : @$pb.TagNumber(1)
3694 0 : TXInput_raw get rawData => $_getN(0);
3695 0 : @$pb.TagNumber(1)
3696 : set rawData(TXInput_raw v) {
3697 0 : setField(1, v);
3698 : }
3699 :
3700 0 : @$pb.TagNumber(1)
3701 0 : $core.bool hasRawData() => $_has(0);
3702 0 : @$pb.TagNumber(1)
3703 0 : void clearRawData() => clearField(1);
3704 0 : @$pb.TagNumber(1)
3705 0 : TXInput_raw ensureRawData() => $_ensure(0);
3706 :
3707 0 : @$pb.TagNumber(4)
3708 0 : $core.List<$core.int> get signature => $_getN(1);
3709 0 : @$pb.TagNumber(4)
3710 : set signature($core.List<$core.int> v) {
3711 0 : $_setBytes(1, v);
3712 : }
3713 :
3714 0 : @$pb.TagNumber(4)
3715 0 : $core.bool hasSignature() => $_has(1);
3716 0 : @$pb.TagNumber(4)
3717 0 : void clearSignature() => clearField(4);
3718 : }
3719 :
3720 : class TXOutputs extends $pb.GeneratedMessage {
3721 0 : factory TXOutputs({
3722 : $core.Iterable<TXOutput>? outputs,
3723 : }) {
3724 0 : final $result = create();
3725 : if (outputs != null) {
3726 0 : $result.outputs.addAll(outputs);
3727 : }
3728 : return $result;
3729 : }
3730 0 : TXOutputs._() : super();
3731 0 : factory TXOutputs.fromBuffer($core.List<$core.int> i,
3732 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3733 0 : create()..mergeFromBuffer(i, r);
3734 0 : factory TXOutputs.fromJson($core.String i,
3735 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3736 0 : create()..mergeFromJson(i, r);
3737 :
3738 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3739 : _omitMessageNames ? '' : 'TXOutputs',
3740 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3741 : createEmptyInstance: create)
3742 0 : ..pc<TXOutput>(1, _omitFieldNames ? '' : 'outputs', $pb.PbFieldType.PM,
3743 : subBuilder: TXOutput.create)
3744 0 : ..hasRequiredFields = false;
3745 :
3746 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3747 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3748 : 'Will be removed in next major version')
3749 0 : TXOutputs clone() => TXOutputs()..mergeFromMessage(this);
3750 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3751 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3752 : 'Will be removed in next major version')
3753 : TXOutputs copyWith(void Function(TXOutputs) updates) =>
3754 0 : super.copyWith((message) => updates(message as TXOutputs)) as TXOutputs;
3755 :
3756 0 : $pb.BuilderInfo get info_ => _i;
3757 :
3758 0 : @$core.pragma('dart2js:noInline')
3759 0 : static TXOutputs create() => TXOutputs._();
3760 0 : TXOutputs createEmptyInstance() => create();
3761 0 : static $pb.PbList<TXOutputs> createRepeated() => $pb.PbList<TXOutputs>();
3762 0 : @$core.pragma('dart2js:noInline')
3763 : static TXOutputs getDefault() =>
3764 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXOutputs>(create);
3765 : static TXOutputs? _defaultInstance;
3766 :
3767 0 : @$pb.TagNumber(1)
3768 0 : $core.List<TXOutput> get outputs => $_getList(0);
3769 : }
3770 :
3771 : class ResourceReceipt extends $pb.GeneratedMessage {
3772 0 : factory ResourceReceipt({
3773 : $fixnum.Int64? energyUsage,
3774 : $fixnum.Int64? energyFee,
3775 : $fixnum.Int64? originEnergyUsage,
3776 : $fixnum.Int64? energyUsageTotal,
3777 : $fixnum.Int64? netUsage,
3778 : $fixnum.Int64? netFee,
3779 : Transaction_Result_contractResult? result,
3780 : $fixnum.Int64? energyPenaltyTotal,
3781 : }) {
3782 0 : final $result = create();
3783 : if (energyUsage != null) {
3784 0 : $result.energyUsage = energyUsage;
3785 : }
3786 : if (energyFee != null) {
3787 0 : $result.energyFee = energyFee;
3788 : }
3789 : if (originEnergyUsage != null) {
3790 0 : $result.originEnergyUsage = originEnergyUsage;
3791 : }
3792 : if (energyUsageTotal != null) {
3793 0 : $result.energyUsageTotal = energyUsageTotal;
3794 : }
3795 : if (netUsage != null) {
3796 0 : $result.netUsage = netUsage;
3797 : }
3798 : if (netFee != null) {
3799 0 : $result.netFee = netFee;
3800 : }
3801 : if (result != null) {
3802 0 : $result.result = result;
3803 : }
3804 : if (energyPenaltyTotal != null) {
3805 0 : $result.energyPenaltyTotal = energyPenaltyTotal;
3806 : }
3807 : return $result;
3808 : }
3809 0 : ResourceReceipt._() : super();
3810 0 : factory ResourceReceipt.fromBuffer($core.List<$core.int> i,
3811 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3812 0 : create()..mergeFromBuffer(i, r);
3813 0 : factory ResourceReceipt.fromJson($core.String i,
3814 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3815 0 : create()..mergeFromJson(i, r);
3816 :
3817 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3818 : _omitMessageNames ? '' : 'ResourceReceipt',
3819 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3820 : createEmptyInstance: create)
3821 0 : ..aInt64(1, _omitFieldNames ? '' : 'energyUsage')
3822 0 : ..aInt64(2, _omitFieldNames ? '' : 'energyFee')
3823 0 : ..aInt64(3, _omitFieldNames ? '' : 'originEnergyUsage')
3824 0 : ..aInt64(4, _omitFieldNames ? '' : 'energyUsageTotal')
3825 0 : ..aInt64(5, _omitFieldNames ? '' : 'netUsage')
3826 0 : ..aInt64(6, _omitFieldNames ? '' : 'netFee')
3827 0 : ..e<Transaction_Result_contractResult>(
3828 : 7, _omitFieldNames ? '' : 'result', $pb.PbFieldType.OE,
3829 : defaultOrMaker: Transaction_Result_contractResult.DEFAULT,
3830 : valueOf: Transaction_Result_contractResult.valueOf,
3831 : enumValues: Transaction_Result_contractResult.values)
3832 0 : ..aInt64(8, _omitFieldNames ? '' : 'energyPenaltyTotal')
3833 0 : ..hasRequiredFields = false;
3834 :
3835 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3836 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3837 : 'Will be removed in next major version')
3838 0 : ResourceReceipt clone() => ResourceReceipt()..mergeFromMessage(this);
3839 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3840 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3841 : 'Will be removed in next major version')
3842 : ResourceReceipt copyWith(void Function(ResourceReceipt) updates) =>
3843 0 : super.copyWith((message) => updates(message as ResourceReceipt))
3844 : as ResourceReceipt;
3845 :
3846 0 : $pb.BuilderInfo get info_ => _i;
3847 :
3848 0 : @$core.pragma('dart2js:noInline')
3849 0 : static ResourceReceipt create() => ResourceReceipt._();
3850 0 : ResourceReceipt createEmptyInstance() => create();
3851 0 : static $pb.PbList<ResourceReceipt> createRepeated() =>
3852 0 : $pb.PbList<ResourceReceipt>();
3853 0 : @$core.pragma('dart2js:noInline')
3854 : static ResourceReceipt getDefault() => _defaultInstance ??=
3855 0 : $pb.GeneratedMessage.$_defaultFor<ResourceReceipt>(create);
3856 : static ResourceReceipt? _defaultInstance;
3857 :
3858 0 : @$pb.TagNumber(1)
3859 0 : $fixnum.Int64 get energyUsage => $_getI64(0);
3860 0 : @$pb.TagNumber(1)
3861 : set energyUsage($fixnum.Int64 v) {
3862 0 : $_setInt64(0, v);
3863 : }
3864 :
3865 0 : @$pb.TagNumber(1)
3866 0 : $core.bool hasEnergyUsage() => $_has(0);
3867 0 : @$pb.TagNumber(1)
3868 0 : void clearEnergyUsage() => clearField(1);
3869 :
3870 0 : @$pb.TagNumber(2)
3871 0 : $fixnum.Int64 get energyFee => $_getI64(1);
3872 0 : @$pb.TagNumber(2)
3873 : set energyFee($fixnum.Int64 v) {
3874 0 : $_setInt64(1, v);
3875 : }
3876 :
3877 0 : @$pb.TagNumber(2)
3878 0 : $core.bool hasEnergyFee() => $_has(1);
3879 0 : @$pb.TagNumber(2)
3880 0 : void clearEnergyFee() => clearField(2);
3881 :
3882 0 : @$pb.TagNumber(3)
3883 0 : $fixnum.Int64 get originEnergyUsage => $_getI64(2);
3884 0 : @$pb.TagNumber(3)
3885 : set originEnergyUsage($fixnum.Int64 v) {
3886 0 : $_setInt64(2, v);
3887 : }
3888 :
3889 0 : @$pb.TagNumber(3)
3890 0 : $core.bool hasOriginEnergyUsage() => $_has(2);
3891 0 : @$pb.TagNumber(3)
3892 0 : void clearOriginEnergyUsage() => clearField(3);
3893 :
3894 0 : @$pb.TagNumber(4)
3895 0 : $fixnum.Int64 get energyUsageTotal => $_getI64(3);
3896 0 : @$pb.TagNumber(4)
3897 : set energyUsageTotal($fixnum.Int64 v) {
3898 0 : $_setInt64(3, v);
3899 : }
3900 :
3901 0 : @$pb.TagNumber(4)
3902 0 : $core.bool hasEnergyUsageTotal() => $_has(3);
3903 0 : @$pb.TagNumber(4)
3904 0 : void clearEnergyUsageTotal() => clearField(4);
3905 :
3906 0 : @$pb.TagNumber(5)
3907 0 : $fixnum.Int64 get netUsage => $_getI64(4);
3908 0 : @$pb.TagNumber(5)
3909 : set netUsage($fixnum.Int64 v) {
3910 0 : $_setInt64(4, v);
3911 : }
3912 :
3913 0 : @$pb.TagNumber(5)
3914 0 : $core.bool hasNetUsage() => $_has(4);
3915 0 : @$pb.TagNumber(5)
3916 0 : void clearNetUsage() => clearField(5);
3917 :
3918 0 : @$pb.TagNumber(6)
3919 0 : $fixnum.Int64 get netFee => $_getI64(5);
3920 0 : @$pb.TagNumber(6)
3921 : set netFee($fixnum.Int64 v) {
3922 0 : $_setInt64(5, v);
3923 : }
3924 :
3925 0 : @$pb.TagNumber(6)
3926 0 : $core.bool hasNetFee() => $_has(5);
3927 0 : @$pb.TagNumber(6)
3928 0 : void clearNetFee() => clearField(6);
3929 :
3930 0 : @$pb.TagNumber(7)
3931 0 : Transaction_Result_contractResult get result => $_getN(6);
3932 0 : @$pb.TagNumber(7)
3933 : set result(Transaction_Result_contractResult v) {
3934 0 : setField(7, v);
3935 : }
3936 :
3937 0 : @$pb.TagNumber(7)
3938 0 : $core.bool hasResult() => $_has(6);
3939 0 : @$pb.TagNumber(7)
3940 0 : void clearResult() => clearField(7);
3941 :
3942 0 : @$pb.TagNumber(8)
3943 0 : $fixnum.Int64 get energyPenaltyTotal => $_getI64(7);
3944 0 : @$pb.TagNumber(8)
3945 : set energyPenaltyTotal($fixnum.Int64 v) {
3946 0 : $_setInt64(7, v);
3947 : }
3948 :
3949 0 : @$pb.TagNumber(8)
3950 0 : $core.bool hasEnergyPenaltyTotal() => $_has(7);
3951 0 : @$pb.TagNumber(8)
3952 0 : void clearEnergyPenaltyTotal() => clearField(8);
3953 : }
3954 :
3955 : class MarketOrderDetail extends $pb.GeneratedMessage {
3956 0 : factory MarketOrderDetail({
3957 : $core.List<$core.int>? makerOrderId,
3958 : $core.List<$core.int>? takerOrderId,
3959 : $fixnum.Int64? fillSellQuantity,
3960 : $fixnum.Int64? fillBuyQuantity,
3961 : }) {
3962 0 : final $result = create();
3963 : if (makerOrderId != null) {
3964 0 : $result.makerOrderId = makerOrderId;
3965 : }
3966 : if (takerOrderId != null) {
3967 0 : $result.takerOrderId = takerOrderId;
3968 : }
3969 : if (fillSellQuantity != null) {
3970 0 : $result.fillSellQuantity = fillSellQuantity;
3971 : }
3972 : if (fillBuyQuantity != null) {
3973 0 : $result.fillBuyQuantity = fillBuyQuantity;
3974 : }
3975 : return $result;
3976 : }
3977 0 : MarketOrderDetail._() : super();
3978 0 : factory MarketOrderDetail.fromBuffer($core.List<$core.int> i,
3979 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3980 0 : create()..mergeFromBuffer(i, r);
3981 0 : factory MarketOrderDetail.fromJson($core.String i,
3982 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3983 0 : create()..mergeFromJson(i, r);
3984 :
3985 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
3986 : _omitMessageNames ? '' : 'MarketOrderDetail',
3987 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3988 : createEmptyInstance: create)
3989 0 : ..a<$core.List<$core.int>>(
3990 : 1, _omitFieldNames ? '' : 'makerOrderId', $pb.PbFieldType.OY,
3991 : protoName: 'makerOrderId')
3992 0 : ..a<$core.List<$core.int>>(
3993 : 2, _omitFieldNames ? '' : 'takerOrderId', $pb.PbFieldType.OY,
3994 : protoName: 'takerOrderId')
3995 0 : ..aInt64(3, _omitFieldNames ? '' : 'fillSellQuantity',
3996 : protoName: 'fillSellQuantity')
3997 0 : ..aInt64(4, _omitFieldNames ? '' : 'fillBuyQuantity',
3998 : protoName: 'fillBuyQuantity')
3999 0 : ..hasRequiredFields = false;
4000 :
4001 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4002 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4003 : 'Will be removed in next major version')
4004 0 : MarketOrderDetail clone() => MarketOrderDetail()..mergeFromMessage(this);
4005 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4006 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4007 : 'Will be removed in next major version')
4008 : MarketOrderDetail copyWith(void Function(MarketOrderDetail) updates) =>
4009 0 : super.copyWith((message) => updates(message as MarketOrderDetail))
4010 : as MarketOrderDetail;
4011 :
4012 0 : $pb.BuilderInfo get info_ => _i;
4013 :
4014 0 : @$core.pragma('dart2js:noInline')
4015 0 : static MarketOrderDetail create() => MarketOrderDetail._();
4016 0 : MarketOrderDetail createEmptyInstance() => create();
4017 0 : static $pb.PbList<MarketOrderDetail> createRepeated() =>
4018 0 : $pb.PbList<MarketOrderDetail>();
4019 0 : @$core.pragma('dart2js:noInline')
4020 : static MarketOrderDetail getDefault() => _defaultInstance ??=
4021 0 : $pb.GeneratedMessage.$_defaultFor<MarketOrderDetail>(create);
4022 : static MarketOrderDetail? _defaultInstance;
4023 :
4024 0 : @$pb.TagNumber(1)
4025 0 : $core.List<$core.int> get makerOrderId => $_getN(0);
4026 0 : @$pb.TagNumber(1)
4027 : set makerOrderId($core.List<$core.int> v) {
4028 0 : $_setBytes(0, v);
4029 : }
4030 :
4031 0 : @$pb.TagNumber(1)
4032 0 : $core.bool hasMakerOrderId() => $_has(0);
4033 0 : @$pb.TagNumber(1)
4034 0 : void clearMakerOrderId() => clearField(1);
4035 :
4036 0 : @$pb.TagNumber(2)
4037 0 : $core.List<$core.int> get takerOrderId => $_getN(1);
4038 0 : @$pb.TagNumber(2)
4039 : set takerOrderId($core.List<$core.int> v) {
4040 0 : $_setBytes(1, v);
4041 : }
4042 :
4043 0 : @$pb.TagNumber(2)
4044 0 : $core.bool hasTakerOrderId() => $_has(1);
4045 0 : @$pb.TagNumber(2)
4046 0 : void clearTakerOrderId() => clearField(2);
4047 :
4048 0 : @$pb.TagNumber(3)
4049 0 : $fixnum.Int64 get fillSellQuantity => $_getI64(2);
4050 0 : @$pb.TagNumber(3)
4051 : set fillSellQuantity($fixnum.Int64 v) {
4052 0 : $_setInt64(2, v);
4053 : }
4054 :
4055 0 : @$pb.TagNumber(3)
4056 0 : $core.bool hasFillSellQuantity() => $_has(2);
4057 0 : @$pb.TagNumber(3)
4058 0 : void clearFillSellQuantity() => clearField(3);
4059 :
4060 0 : @$pb.TagNumber(4)
4061 0 : $fixnum.Int64 get fillBuyQuantity => $_getI64(3);
4062 0 : @$pb.TagNumber(4)
4063 : set fillBuyQuantity($fixnum.Int64 v) {
4064 0 : $_setInt64(3, v);
4065 : }
4066 :
4067 0 : @$pb.TagNumber(4)
4068 0 : $core.bool hasFillBuyQuantity() => $_has(3);
4069 0 : @$pb.TagNumber(4)
4070 0 : void clearFillBuyQuantity() => clearField(4);
4071 : }
4072 :
4073 : class Transaction_Contract extends $pb.GeneratedMessage {
4074 1 : factory Transaction_Contract({
4075 : Transaction_Contract_ContractType? type,
4076 : $12.Any? parameter,
4077 : $core.List<$core.int>? provider,
4078 : $core.List<$core.int>? contractName,
4079 : $core.int? permissionId,
4080 : }) {
4081 1 : final $result = create();
4082 : if (type != null) {
4083 1 : $result.type = type;
4084 : }
4085 : if (parameter != null) {
4086 1 : $result.parameter = parameter;
4087 : }
4088 : if (provider != null) {
4089 0 : $result.provider = provider;
4090 : }
4091 : if (contractName != null) {
4092 0 : $result.contractName = contractName;
4093 : }
4094 : if (permissionId != null) {
4095 0 : $result.permissionId = permissionId;
4096 : }
4097 : return $result;
4098 : }
4099 4 : Transaction_Contract._() : super();
4100 0 : factory Transaction_Contract.fromBuffer($core.List<$core.int> i,
4101 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4102 0 : create()..mergeFromBuffer(i, r);
4103 0 : factory Transaction_Contract.fromJson($core.String i,
4104 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4105 0 : create()..mergeFromJson(i, r);
4106 :
4107 6 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
4108 : _omitMessageNames ? '' : 'Transaction.Contract',
4109 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4110 : createEmptyInstance: create)
4111 2 : ..e<Transaction_Contract_ContractType>(
4112 : 1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
4113 : defaultOrMaker: Transaction_Contract_ContractType.AccountCreateContract,
4114 : valueOf: Transaction_Contract_ContractType.valueOf,
4115 : enumValues: Transaction_Contract_ContractType.values)
4116 2 : ..aOM<$12.Any>(2, _omitFieldNames ? '' : 'parameter',
4117 : subBuilder: $12.Any.create)
4118 2 : ..a<$core.List<$core.int>>(
4119 : 3, _omitFieldNames ? '' : 'provider', $pb.PbFieldType.OY)
4120 2 : ..a<$core.List<$core.int>>(
4121 : 4, _omitFieldNames ? '' : 'ContractName', $pb.PbFieldType.OY,
4122 : protoName: 'ContractName')
4123 2 : ..a<$core.int>(5, _omitFieldNames ? '' : 'PermissionId', $pb.PbFieldType.O3,
4124 : protoName: 'Permission_id')
4125 2 : ..hasRequiredFields = false;
4126 :
4127 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4128 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4129 : 'Will be removed in next major version')
4130 : Transaction_Contract clone() =>
4131 0 : Transaction_Contract()..mergeFromMessage(this);
4132 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4133 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4134 : 'Will be removed in next major version')
4135 : Transaction_Contract copyWith(void Function(Transaction_Contract) updates) =>
4136 0 : super.copyWith((message) => updates(message as Transaction_Contract))
4137 : as Transaction_Contract;
4138 :
4139 4 : $pb.BuilderInfo get info_ => _i;
4140 :
4141 2 : @$core.pragma('dart2js:noInline')
4142 2 : static Transaction_Contract create() => Transaction_Contract._();
4143 0 : Transaction_Contract createEmptyInstance() => create();
4144 0 : static $pb.PbList<Transaction_Contract> createRepeated() =>
4145 0 : $pb.PbList<Transaction_Contract>();
4146 0 : @$core.pragma('dart2js:noInline')
4147 : static Transaction_Contract getDefault() => _defaultInstance ??=
4148 0 : $pb.GeneratedMessage.$_defaultFor<Transaction_Contract>(create);
4149 : static Transaction_Contract? _defaultInstance;
4150 :
4151 1 : @$pb.TagNumber(1)
4152 1 : Transaction_Contract_ContractType get type => $_getN(0);
4153 1 : @$pb.TagNumber(1)
4154 : set type(Transaction_Contract_ContractType v) {
4155 1 : setField(1, v);
4156 : }
4157 :
4158 0 : @$pb.TagNumber(1)
4159 0 : $core.bool hasType() => $_has(0);
4160 0 : @$pb.TagNumber(1)
4161 0 : void clearType() => clearField(1);
4162 :
4163 2 : @$pb.TagNumber(2)
4164 2 : $12.Any get parameter => $_getN(1);
4165 1 : @$pb.TagNumber(2)
4166 : set parameter($12.Any v) {
4167 1 : setField(2, v);
4168 : }
4169 :
4170 0 : @$pb.TagNumber(2)
4171 0 : $core.bool hasParameter() => $_has(1);
4172 0 : @$pb.TagNumber(2)
4173 0 : void clearParameter() => clearField(2);
4174 0 : @$pb.TagNumber(2)
4175 0 : $12.Any ensureParameter() => $_ensure(1);
4176 :
4177 0 : @$pb.TagNumber(3)
4178 0 : $core.List<$core.int> get provider => $_getN(2);
4179 0 : @$pb.TagNumber(3)
4180 : set provider($core.List<$core.int> v) {
4181 0 : $_setBytes(2, v);
4182 : }
4183 :
4184 0 : @$pb.TagNumber(3)
4185 0 : $core.bool hasProvider() => $_has(2);
4186 0 : @$pb.TagNumber(3)
4187 0 : void clearProvider() => clearField(3);
4188 :
4189 0 : @$pb.TagNumber(4)
4190 0 : $core.List<$core.int> get contractName => $_getN(3);
4191 0 : @$pb.TagNumber(4)
4192 : set contractName($core.List<$core.int> v) {
4193 0 : $_setBytes(3, v);
4194 : }
4195 :
4196 0 : @$pb.TagNumber(4)
4197 0 : $core.bool hasContractName() => $_has(3);
4198 0 : @$pb.TagNumber(4)
4199 0 : void clearContractName() => clearField(4);
4200 :
4201 0 : @$pb.TagNumber(5)
4202 0 : $core.int get permissionId => $_getIZ(4);
4203 0 : @$pb.TagNumber(5)
4204 : set permissionId($core.int v) {
4205 0 : $_setSignedInt32(4, v);
4206 : }
4207 :
4208 0 : @$pb.TagNumber(5)
4209 0 : $core.bool hasPermissionId() => $_has(4);
4210 0 : @$pb.TagNumber(5)
4211 0 : void clearPermissionId() => clearField(5);
4212 : }
4213 :
4214 : class Transaction_Result extends $pb.GeneratedMessage {
4215 0 : factory Transaction_Result({
4216 : $fixnum.Int64? fee,
4217 : Transaction_Result_code? ret,
4218 : Transaction_Result_contractResult? contractRet,
4219 : $core.String? assetIssueID,
4220 : $fixnum.Int64? withdrawAmount,
4221 : $fixnum.Int64? unfreezeAmount,
4222 : $fixnum.Int64? exchangeReceivedAmount,
4223 : $fixnum.Int64? exchangeInjectAnotherAmount,
4224 : $fixnum.Int64? exchangeWithdrawAnotherAmount,
4225 : $fixnum.Int64? exchangeId,
4226 : $fixnum.Int64? shieldedTransactionFee,
4227 : $core.List<$core.int>? orderId,
4228 : $core.Iterable<MarketOrderDetail>? orderDetails,
4229 : $fixnum.Int64? withdrawExpireAmount,
4230 : $core.Map<$core.String, $fixnum.Int64>? cancelUnfreezeV2Amount,
4231 : }) {
4232 0 : final $result = create();
4233 : if (fee != null) {
4234 0 : $result.fee = fee;
4235 : }
4236 : if (ret != null) {
4237 0 : $result.ret = ret;
4238 : }
4239 : if (contractRet != null) {
4240 0 : $result.contractRet = contractRet;
4241 : }
4242 : if (assetIssueID != null) {
4243 0 : $result.assetIssueID = assetIssueID;
4244 : }
4245 : if (withdrawAmount != null) {
4246 0 : $result.withdrawAmount = withdrawAmount;
4247 : }
4248 : if (unfreezeAmount != null) {
4249 0 : $result.unfreezeAmount = unfreezeAmount;
4250 : }
4251 : if (exchangeReceivedAmount != null) {
4252 0 : $result.exchangeReceivedAmount = exchangeReceivedAmount;
4253 : }
4254 : if (exchangeInjectAnotherAmount != null) {
4255 0 : $result.exchangeInjectAnotherAmount = exchangeInjectAnotherAmount;
4256 : }
4257 : if (exchangeWithdrawAnotherAmount != null) {
4258 0 : $result.exchangeWithdrawAnotherAmount = exchangeWithdrawAnotherAmount;
4259 : }
4260 : if (exchangeId != null) {
4261 0 : $result.exchangeId = exchangeId;
4262 : }
4263 : if (shieldedTransactionFee != null) {
4264 0 : $result.shieldedTransactionFee = shieldedTransactionFee;
4265 : }
4266 : if (orderId != null) {
4267 0 : $result.orderId = orderId;
4268 : }
4269 : if (orderDetails != null) {
4270 0 : $result.orderDetails.addAll(orderDetails);
4271 : }
4272 : if (withdrawExpireAmount != null) {
4273 0 : $result.withdrawExpireAmount = withdrawExpireAmount;
4274 : }
4275 : if (cancelUnfreezeV2Amount != null) {
4276 0 : $result.cancelUnfreezeV2Amount.addAll(cancelUnfreezeV2Amount);
4277 : }
4278 : return $result;
4279 : }
4280 0 : Transaction_Result._() : super();
4281 0 : factory Transaction_Result.fromBuffer($core.List<$core.int> i,
4282 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4283 0 : create()..mergeFromBuffer(i, r);
4284 0 : factory Transaction_Result.fromJson($core.String i,
4285 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4286 0 : create()..mergeFromJson(i, r);
4287 :
4288 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
4289 : _omitMessageNames ? '' : 'Transaction.Result',
4290 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4291 : createEmptyInstance: create)
4292 0 : ..aInt64(1, _omitFieldNames ? '' : 'fee')
4293 0 : ..e<Transaction_Result_code>(
4294 : 2, _omitFieldNames ? '' : 'ret', $pb.PbFieldType.OE,
4295 : defaultOrMaker: Transaction_Result_code.SUCESS,
4296 : valueOf: Transaction_Result_code.valueOf,
4297 : enumValues: Transaction_Result_code.values)
4298 0 : ..e<Transaction_Result_contractResult>(
4299 : 3, _omitFieldNames ? '' : 'contractRet', $pb.PbFieldType.OE,
4300 : protoName: 'contractRet',
4301 : defaultOrMaker: Transaction_Result_contractResult.DEFAULT,
4302 : valueOf: Transaction_Result_contractResult.valueOf,
4303 : enumValues: Transaction_Result_contractResult.values)
4304 0 : ..aOS(14, _omitFieldNames ? '' : 'assetIssueID', protoName: 'assetIssueID')
4305 0 : ..aInt64(15, _omitFieldNames ? '' : 'withdrawAmount')
4306 0 : ..aInt64(16, _omitFieldNames ? '' : 'unfreezeAmount')
4307 0 : ..aInt64(18, _omitFieldNames ? '' : 'exchangeReceivedAmount')
4308 0 : ..aInt64(19, _omitFieldNames ? '' : 'exchangeInjectAnotherAmount')
4309 0 : ..aInt64(20, _omitFieldNames ? '' : 'exchangeWithdrawAnotherAmount')
4310 0 : ..aInt64(21, _omitFieldNames ? '' : 'exchangeId')
4311 0 : ..aInt64(22, _omitFieldNames ? '' : 'shieldedTransactionFee')
4312 0 : ..a<$core.List<$core.int>>(
4313 : 25, _omitFieldNames ? '' : 'orderId', $pb.PbFieldType.OY,
4314 : protoName: 'orderId')
4315 0 : ..pc<MarketOrderDetail>(
4316 : 26, _omitFieldNames ? '' : 'orderDetails', $pb.PbFieldType.PM,
4317 : protoName: 'orderDetails', subBuilder: MarketOrderDetail.create)
4318 0 : ..aInt64(27, _omitFieldNames ? '' : 'withdrawExpireAmount')
4319 0 : ..m<$core.String, $fixnum.Int64>(
4320 : 28, _omitFieldNames ? '' : 'cancelUnfreezeV2Amount',
4321 : protoName: 'cancel_unfreezeV2_amount',
4322 : entryClassName: 'Transaction.Result.CancelUnfreezeV2AmountEntry',
4323 : keyFieldType: $pb.PbFieldType.OS,
4324 : valueFieldType: $pb.PbFieldType.O6,
4325 : packageName: const $pb.PackageName('protocol'))
4326 0 : ..hasRequiredFields = false;
4327 :
4328 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4329 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4330 : 'Will be removed in next major version')
4331 0 : Transaction_Result clone() => Transaction_Result()..mergeFromMessage(this);
4332 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4333 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4334 : 'Will be removed in next major version')
4335 : Transaction_Result copyWith(void Function(Transaction_Result) updates) =>
4336 0 : super.copyWith((message) => updates(message as Transaction_Result))
4337 : as Transaction_Result;
4338 :
4339 0 : $pb.BuilderInfo get info_ => _i;
4340 :
4341 0 : @$core.pragma('dart2js:noInline')
4342 0 : static Transaction_Result create() => Transaction_Result._();
4343 0 : Transaction_Result createEmptyInstance() => create();
4344 0 : static $pb.PbList<Transaction_Result> createRepeated() =>
4345 0 : $pb.PbList<Transaction_Result>();
4346 0 : @$core.pragma('dart2js:noInline')
4347 : static Transaction_Result getDefault() => _defaultInstance ??=
4348 0 : $pb.GeneratedMessage.$_defaultFor<Transaction_Result>(create);
4349 : static Transaction_Result? _defaultInstance;
4350 :
4351 0 : @$pb.TagNumber(1)
4352 0 : $fixnum.Int64 get fee => $_getI64(0);
4353 0 : @$pb.TagNumber(1)
4354 : set fee($fixnum.Int64 v) {
4355 0 : $_setInt64(0, v);
4356 : }
4357 :
4358 0 : @$pb.TagNumber(1)
4359 0 : $core.bool hasFee() => $_has(0);
4360 0 : @$pb.TagNumber(1)
4361 0 : void clearFee() => clearField(1);
4362 :
4363 0 : @$pb.TagNumber(2)
4364 0 : Transaction_Result_code get ret => $_getN(1);
4365 0 : @$pb.TagNumber(2)
4366 : set ret(Transaction_Result_code v) {
4367 0 : setField(2, v);
4368 : }
4369 :
4370 0 : @$pb.TagNumber(2)
4371 0 : $core.bool hasRet() => $_has(1);
4372 0 : @$pb.TagNumber(2)
4373 0 : void clearRet() => clearField(2);
4374 :
4375 0 : @$pb.TagNumber(3)
4376 0 : Transaction_Result_contractResult get contractRet => $_getN(2);
4377 0 : @$pb.TagNumber(3)
4378 : set contractRet(Transaction_Result_contractResult v) {
4379 0 : setField(3, v);
4380 : }
4381 :
4382 0 : @$pb.TagNumber(3)
4383 0 : $core.bool hasContractRet() => $_has(2);
4384 0 : @$pb.TagNumber(3)
4385 0 : void clearContractRet() => clearField(3);
4386 :
4387 0 : @$pb.TagNumber(14)
4388 0 : $core.String get assetIssueID => $_getSZ(3);
4389 0 : @$pb.TagNumber(14)
4390 : set assetIssueID($core.String v) {
4391 0 : $_setString(3, v);
4392 : }
4393 :
4394 0 : @$pb.TagNumber(14)
4395 0 : $core.bool hasAssetIssueID() => $_has(3);
4396 0 : @$pb.TagNumber(14)
4397 0 : void clearAssetIssueID() => clearField(14);
4398 :
4399 0 : @$pb.TagNumber(15)
4400 0 : $fixnum.Int64 get withdrawAmount => $_getI64(4);
4401 0 : @$pb.TagNumber(15)
4402 : set withdrawAmount($fixnum.Int64 v) {
4403 0 : $_setInt64(4, v);
4404 : }
4405 :
4406 0 : @$pb.TagNumber(15)
4407 0 : $core.bool hasWithdrawAmount() => $_has(4);
4408 0 : @$pb.TagNumber(15)
4409 0 : void clearWithdrawAmount() => clearField(15);
4410 :
4411 0 : @$pb.TagNumber(16)
4412 0 : $fixnum.Int64 get unfreezeAmount => $_getI64(5);
4413 0 : @$pb.TagNumber(16)
4414 : set unfreezeAmount($fixnum.Int64 v) {
4415 0 : $_setInt64(5, v);
4416 : }
4417 :
4418 0 : @$pb.TagNumber(16)
4419 0 : $core.bool hasUnfreezeAmount() => $_has(5);
4420 0 : @$pb.TagNumber(16)
4421 0 : void clearUnfreezeAmount() => clearField(16);
4422 :
4423 0 : @$pb.TagNumber(18)
4424 0 : $fixnum.Int64 get exchangeReceivedAmount => $_getI64(6);
4425 0 : @$pb.TagNumber(18)
4426 : set exchangeReceivedAmount($fixnum.Int64 v) {
4427 0 : $_setInt64(6, v);
4428 : }
4429 :
4430 0 : @$pb.TagNumber(18)
4431 0 : $core.bool hasExchangeReceivedAmount() => $_has(6);
4432 0 : @$pb.TagNumber(18)
4433 0 : void clearExchangeReceivedAmount() => clearField(18);
4434 :
4435 0 : @$pb.TagNumber(19)
4436 0 : $fixnum.Int64 get exchangeInjectAnotherAmount => $_getI64(7);
4437 0 : @$pb.TagNumber(19)
4438 : set exchangeInjectAnotherAmount($fixnum.Int64 v) {
4439 0 : $_setInt64(7, v);
4440 : }
4441 :
4442 0 : @$pb.TagNumber(19)
4443 0 : $core.bool hasExchangeInjectAnotherAmount() => $_has(7);
4444 0 : @$pb.TagNumber(19)
4445 0 : void clearExchangeInjectAnotherAmount() => clearField(19);
4446 :
4447 0 : @$pb.TagNumber(20)
4448 0 : $fixnum.Int64 get exchangeWithdrawAnotherAmount => $_getI64(8);
4449 0 : @$pb.TagNumber(20)
4450 : set exchangeWithdrawAnotherAmount($fixnum.Int64 v) {
4451 0 : $_setInt64(8, v);
4452 : }
4453 :
4454 0 : @$pb.TagNumber(20)
4455 0 : $core.bool hasExchangeWithdrawAnotherAmount() => $_has(8);
4456 0 : @$pb.TagNumber(20)
4457 0 : void clearExchangeWithdrawAnotherAmount() => clearField(20);
4458 :
4459 0 : @$pb.TagNumber(21)
4460 0 : $fixnum.Int64 get exchangeId => $_getI64(9);
4461 0 : @$pb.TagNumber(21)
4462 : set exchangeId($fixnum.Int64 v) {
4463 0 : $_setInt64(9, v);
4464 : }
4465 :
4466 0 : @$pb.TagNumber(21)
4467 0 : $core.bool hasExchangeId() => $_has(9);
4468 0 : @$pb.TagNumber(21)
4469 0 : void clearExchangeId() => clearField(21);
4470 :
4471 0 : @$pb.TagNumber(22)
4472 0 : $fixnum.Int64 get shieldedTransactionFee => $_getI64(10);
4473 0 : @$pb.TagNumber(22)
4474 : set shieldedTransactionFee($fixnum.Int64 v) {
4475 0 : $_setInt64(10, v);
4476 : }
4477 :
4478 0 : @$pb.TagNumber(22)
4479 0 : $core.bool hasShieldedTransactionFee() => $_has(10);
4480 0 : @$pb.TagNumber(22)
4481 0 : void clearShieldedTransactionFee() => clearField(22);
4482 :
4483 0 : @$pb.TagNumber(25)
4484 0 : $core.List<$core.int> get orderId => $_getN(11);
4485 0 : @$pb.TagNumber(25)
4486 : set orderId($core.List<$core.int> v) {
4487 0 : $_setBytes(11, v);
4488 : }
4489 :
4490 0 : @$pb.TagNumber(25)
4491 0 : $core.bool hasOrderId() => $_has(11);
4492 0 : @$pb.TagNumber(25)
4493 0 : void clearOrderId() => clearField(25);
4494 :
4495 0 : @$pb.TagNumber(26)
4496 0 : $core.List<MarketOrderDetail> get orderDetails => $_getList(12);
4497 :
4498 0 : @$pb.TagNumber(27)
4499 0 : $fixnum.Int64 get withdrawExpireAmount => $_getI64(13);
4500 0 : @$pb.TagNumber(27)
4501 : set withdrawExpireAmount($fixnum.Int64 v) {
4502 0 : $_setInt64(13, v);
4503 : }
4504 :
4505 0 : @$pb.TagNumber(27)
4506 0 : $core.bool hasWithdrawExpireAmount() => $_has(13);
4507 0 : @$pb.TagNumber(27)
4508 0 : void clearWithdrawExpireAmount() => clearField(27);
4509 :
4510 0 : @$pb.TagNumber(28)
4511 : $core.Map<$core.String, $fixnum.Int64> get cancelUnfreezeV2Amount =>
4512 0 : $_getMap(14);
4513 : }
4514 :
4515 : class Transaction_raw extends $pb.GeneratedMessage {
4516 1 : factory Transaction_raw({
4517 : $core.List<$core.int>? refBlockBytes,
4518 : $fixnum.Int64? refBlockNum,
4519 : $core.List<$core.int>? refBlockHash,
4520 : $fixnum.Int64? expiration,
4521 : $core.Iterable<authority>? auths,
4522 : $core.List<$core.int>? data,
4523 : $core.Iterable<Transaction_Contract>? contract,
4524 : $core.List<$core.int>? scripts,
4525 : $fixnum.Int64? timestamp,
4526 : $fixnum.Int64? feeLimit,
4527 : }) {
4528 1 : final $result = create();
4529 : if (refBlockBytes != null) {
4530 1 : $result.refBlockBytes = refBlockBytes;
4531 : }
4532 : if (refBlockNum != null) {
4533 0 : $result.refBlockNum = refBlockNum;
4534 : }
4535 : if (refBlockHash != null) {
4536 1 : $result.refBlockHash = refBlockHash;
4537 : }
4538 : if (expiration != null) {
4539 1 : $result.expiration = expiration;
4540 : }
4541 : if (auths != null) {
4542 0 : $result.auths.addAll(auths);
4543 : }
4544 : if (data != null) {
4545 0 : $result.data = data;
4546 : }
4547 : if (contract != null) {
4548 2 : $result.contract.addAll(contract);
4549 : }
4550 : if (scripts != null) {
4551 0 : $result.scripts = scripts;
4552 : }
4553 : if (timestamp != null) {
4554 1 : $result.timestamp = timestamp;
4555 : }
4556 : if (feeLimit != null) {
4557 1 : $result.feeLimit = feeLimit;
4558 : }
4559 : return $result;
4560 : }
4561 4 : Transaction_raw._() : super();
4562 1 : factory Transaction_raw.fromBuffer($core.List<$core.int> i,
4563 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4564 2 : create()..mergeFromBuffer(i, r);
4565 0 : factory Transaction_raw.fromJson($core.String i,
4566 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4567 0 : create()..mergeFromJson(i, r);
4568 :
4569 6 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
4570 : _omitMessageNames ? '' : 'Transaction.raw',
4571 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4572 : createEmptyInstance: create)
4573 2 : ..a<$core.List<$core.int>>(
4574 : 1, _omitFieldNames ? '' : 'refBlockBytes', $pb.PbFieldType.OY)
4575 2 : ..aInt64(3, _omitFieldNames ? '' : 'refBlockNum')
4576 2 : ..a<$core.List<$core.int>>(
4577 : 4, _omitFieldNames ? '' : 'refBlockHash', $pb.PbFieldType.OY)
4578 2 : ..aInt64(8, _omitFieldNames ? '' : 'expiration')
4579 2 : ..pc<authority>(9, _omitFieldNames ? '' : 'auths', $pb.PbFieldType.PM,
4580 : subBuilder: authority.create)
4581 2 : ..a<$core.List<$core.int>>(
4582 : 10, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
4583 2 : ..pc<Transaction_Contract>(
4584 : 11, _omitFieldNames ? '' : 'contract', $pb.PbFieldType.PM,
4585 : subBuilder: Transaction_Contract.create)
4586 2 : ..a<$core.List<$core.int>>(
4587 : 12, _omitFieldNames ? '' : 'scripts', $pb.PbFieldType.OY)
4588 2 : ..aInt64(14, _omitFieldNames ? '' : 'timestamp')
4589 2 : ..aInt64(18, _omitFieldNames ? '' : 'feeLimit')
4590 2 : ..hasRequiredFields = false;
4591 :
4592 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4593 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4594 : 'Will be removed in next major version')
4595 0 : Transaction_raw clone() => Transaction_raw()..mergeFromMessage(this);
4596 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4597 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4598 : 'Will be removed in next major version')
4599 : Transaction_raw copyWith(void Function(Transaction_raw) updates) =>
4600 0 : super.copyWith((message) => updates(message as Transaction_raw))
4601 : as Transaction_raw;
4602 :
4603 4 : $pb.BuilderInfo get info_ => _i;
4604 :
4605 2 : @$core.pragma('dart2js:noInline')
4606 2 : static Transaction_raw create() => Transaction_raw._();
4607 0 : Transaction_raw createEmptyInstance() => create();
4608 0 : static $pb.PbList<Transaction_raw> createRepeated() =>
4609 0 : $pb.PbList<Transaction_raw>();
4610 0 : @$core.pragma('dart2js:noInline')
4611 : static Transaction_raw getDefault() => _defaultInstance ??=
4612 0 : $pb.GeneratedMessage.$_defaultFor<Transaction_raw>(create);
4613 : static Transaction_raw? _defaultInstance;
4614 :
4615 1 : @$pb.TagNumber(1)
4616 1 : $core.List<$core.int> get refBlockBytes => $_getN(0);
4617 1 : @$pb.TagNumber(1)
4618 : set refBlockBytes($core.List<$core.int> v) {
4619 1 : $_setBytes(0, v);
4620 : }
4621 :
4622 0 : @$pb.TagNumber(1)
4623 0 : $core.bool hasRefBlockBytes() => $_has(0);
4624 0 : @$pb.TagNumber(1)
4625 0 : void clearRefBlockBytes() => clearField(1);
4626 :
4627 0 : @$pb.TagNumber(3)
4628 0 : $fixnum.Int64 get refBlockNum => $_getI64(1);
4629 0 : @$pb.TagNumber(3)
4630 : set refBlockNum($fixnum.Int64 v) {
4631 0 : $_setInt64(1, v);
4632 : }
4633 :
4634 0 : @$pb.TagNumber(3)
4635 0 : $core.bool hasRefBlockNum() => $_has(1);
4636 0 : @$pb.TagNumber(3)
4637 0 : void clearRefBlockNum() => clearField(3);
4638 :
4639 1 : @$pb.TagNumber(4)
4640 1 : $core.List<$core.int> get refBlockHash => $_getN(2);
4641 1 : @$pb.TagNumber(4)
4642 : set refBlockHash($core.List<$core.int> v) {
4643 1 : $_setBytes(2, v);
4644 : }
4645 :
4646 0 : @$pb.TagNumber(4)
4647 0 : $core.bool hasRefBlockHash() => $_has(2);
4648 0 : @$pb.TagNumber(4)
4649 0 : void clearRefBlockHash() => clearField(4);
4650 :
4651 1 : @$pb.TagNumber(8)
4652 1 : $fixnum.Int64 get expiration => $_getI64(3);
4653 1 : @$pb.TagNumber(8)
4654 : set expiration($fixnum.Int64 v) {
4655 1 : $_setInt64(3, v);
4656 : }
4657 :
4658 0 : @$pb.TagNumber(8)
4659 0 : $core.bool hasExpiration() => $_has(3);
4660 0 : @$pb.TagNumber(8)
4661 0 : void clearExpiration() => clearField(8);
4662 :
4663 0 : @$pb.TagNumber(9)
4664 0 : $core.List<authority> get auths => $_getList(4);
4665 :
4666 : /// data not used
4667 0 : @$pb.TagNumber(10)
4668 0 : $core.List<$core.int> get data => $_getN(5);
4669 0 : @$pb.TagNumber(10)
4670 : set data($core.List<$core.int> v) {
4671 0 : $_setBytes(5, v);
4672 : }
4673 :
4674 0 : @$pb.TagNumber(10)
4675 0 : $core.bool hasData() => $_has(5);
4676 0 : @$pb.TagNumber(10)
4677 0 : void clearData() => clearField(10);
4678 :
4679 : /// only support size = 1, repeated list here for extension
4680 2 : @$pb.TagNumber(11)
4681 2 : $core.List<Transaction_Contract> get contract => $_getList(6);
4682 :
4683 : /// scripts not used
4684 0 : @$pb.TagNumber(12)
4685 0 : $core.List<$core.int> get scripts => $_getN(7);
4686 0 : @$pb.TagNumber(12)
4687 : set scripts($core.List<$core.int> v) {
4688 0 : $_setBytes(7, v);
4689 : }
4690 :
4691 0 : @$pb.TagNumber(12)
4692 0 : $core.bool hasScripts() => $_has(7);
4693 0 : @$pb.TagNumber(12)
4694 0 : void clearScripts() => clearField(12);
4695 :
4696 1 : @$pb.TagNumber(14)
4697 1 : $fixnum.Int64 get timestamp => $_getI64(8);
4698 1 : @$pb.TagNumber(14)
4699 : set timestamp($fixnum.Int64 v) {
4700 1 : $_setInt64(8, v);
4701 : }
4702 :
4703 0 : @$pb.TagNumber(14)
4704 0 : $core.bool hasTimestamp() => $_has(8);
4705 0 : @$pb.TagNumber(14)
4706 0 : void clearTimestamp() => clearField(14);
4707 :
4708 1 : @$pb.TagNumber(18)
4709 1 : $fixnum.Int64 get feeLimit => $_getI64(9);
4710 1 : @$pb.TagNumber(18)
4711 : set feeLimit($fixnum.Int64 v) {
4712 1 : $_setInt64(9, v);
4713 : }
4714 :
4715 0 : @$pb.TagNumber(18)
4716 0 : $core.bool hasFeeLimit() => $_has(9);
4717 0 : @$pb.TagNumber(18)
4718 0 : void clearFeeLimit() => clearField(18);
4719 : }
4720 :
4721 : class Transaction extends $pb.GeneratedMessage {
4722 0 : factory Transaction({
4723 : Transaction_raw? rawData,
4724 : $core.Iterable<$core.List<$core.int>>? signature,
4725 : $core.Iterable<Transaction_Result>? ret,
4726 : }) {
4727 0 : final $result = create();
4728 : if (rawData != null) {
4729 0 : $result.rawData = rawData;
4730 : }
4731 : if (signature != null) {
4732 0 : $result.signature.addAll(signature);
4733 : }
4734 : if (ret != null) {
4735 0 : $result.ret.addAll(ret);
4736 : }
4737 : return $result;
4738 : }
4739 2 : Transaction._() : super();
4740 1 : factory Transaction.fromBuffer($core.List<$core.int> i,
4741 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4742 2 : create()..mergeFromBuffer(i, r);
4743 0 : factory Transaction.fromJson($core.String i,
4744 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4745 0 : create()..mergeFromJson(i, r);
4746 :
4747 3 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
4748 : _omitMessageNames ? '' : 'Transaction',
4749 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4750 : createEmptyInstance: create)
4751 1 : ..aOM<Transaction_raw>(1, _omitFieldNames ? '' : 'rawData',
4752 : subBuilder: Transaction_raw.create)
4753 1 : ..p<$core.List<$core.int>>(
4754 : 2, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.PY)
4755 1 : ..pc<Transaction_Result>(
4756 : 5, _omitFieldNames ? '' : 'ret', $pb.PbFieldType.PM,
4757 : subBuilder: Transaction_Result.create)
4758 1 : ..hasRequiredFields = false;
4759 :
4760 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4761 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4762 : 'Will be removed in next major version')
4763 0 : Transaction clone() => Transaction()..mergeFromMessage(this);
4764 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4765 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4766 : 'Will be removed in next major version')
4767 : Transaction copyWith(void Function(Transaction) updates) =>
4768 0 : super.copyWith((message) => updates(message as Transaction))
4769 : as Transaction;
4770 :
4771 2 : $pb.BuilderInfo get info_ => _i;
4772 :
4773 1 : @$core.pragma('dart2js:noInline')
4774 1 : static Transaction create() => Transaction._();
4775 0 : Transaction createEmptyInstance() => create();
4776 0 : static $pb.PbList<Transaction> createRepeated() => $pb.PbList<Transaction>();
4777 0 : @$core.pragma('dart2js:noInline')
4778 : static Transaction getDefault() => _defaultInstance ??=
4779 0 : $pb.GeneratedMessage.$_defaultFor<Transaction>(create);
4780 : static Transaction? _defaultInstance;
4781 :
4782 1 : @$pb.TagNumber(1)
4783 1 : Transaction_raw get rawData => $_getN(0);
4784 0 : @$pb.TagNumber(1)
4785 : set rawData(Transaction_raw v) {
4786 0 : setField(1, v);
4787 : }
4788 :
4789 0 : @$pb.TagNumber(1)
4790 0 : $core.bool hasRawData() => $_has(0);
4791 0 : @$pb.TagNumber(1)
4792 0 : void clearRawData() => clearField(1);
4793 0 : @$pb.TagNumber(1)
4794 0 : Transaction_raw ensureRawData() => $_ensure(0);
4795 :
4796 : /// only support size = 1, repeated list here for muti-sig extension
4797 1 : @$pb.TagNumber(2)
4798 1 : $core.List<$core.List<$core.int>> get signature => $_getList(1);
4799 :
4800 0 : @$pb.TagNumber(5)
4801 0 : $core.List<Transaction_Result> get ret => $_getList(2);
4802 : }
4803 :
4804 : class TransactionInfo_Log extends $pb.GeneratedMessage {
4805 0 : factory TransactionInfo_Log({
4806 : $core.List<$core.int>? address,
4807 : $core.Iterable<$core.List<$core.int>>? topics,
4808 : $core.List<$core.int>? data,
4809 : }) {
4810 0 : final $result = create();
4811 : if (address != null) {
4812 0 : $result.address = address;
4813 : }
4814 : if (topics != null) {
4815 0 : $result.topics.addAll(topics);
4816 : }
4817 : if (data != null) {
4818 0 : $result.data = data;
4819 : }
4820 : return $result;
4821 : }
4822 0 : TransactionInfo_Log._() : super();
4823 0 : factory TransactionInfo_Log.fromBuffer($core.List<$core.int> i,
4824 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4825 0 : create()..mergeFromBuffer(i, r);
4826 0 : factory TransactionInfo_Log.fromJson($core.String i,
4827 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4828 0 : create()..mergeFromJson(i, r);
4829 :
4830 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
4831 : _omitMessageNames ? '' : 'TransactionInfo.Log',
4832 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4833 : createEmptyInstance: create)
4834 0 : ..a<$core.List<$core.int>>(
4835 : 1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
4836 0 : ..p<$core.List<$core.int>>(
4837 : 2, _omitFieldNames ? '' : 'topics', $pb.PbFieldType.PY)
4838 0 : ..a<$core.List<$core.int>>(
4839 : 3, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
4840 0 : ..hasRequiredFields = false;
4841 :
4842 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4843 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4844 : 'Will be removed in next major version')
4845 0 : TransactionInfo_Log clone() => TransactionInfo_Log()..mergeFromMessage(this);
4846 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4847 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4848 : 'Will be removed in next major version')
4849 : TransactionInfo_Log copyWith(void Function(TransactionInfo_Log) updates) =>
4850 0 : super.copyWith((message) => updates(message as TransactionInfo_Log))
4851 : as TransactionInfo_Log;
4852 :
4853 0 : $pb.BuilderInfo get info_ => _i;
4854 :
4855 0 : @$core.pragma('dart2js:noInline')
4856 0 : static TransactionInfo_Log create() => TransactionInfo_Log._();
4857 0 : TransactionInfo_Log createEmptyInstance() => create();
4858 0 : static $pb.PbList<TransactionInfo_Log> createRepeated() =>
4859 0 : $pb.PbList<TransactionInfo_Log>();
4860 0 : @$core.pragma('dart2js:noInline')
4861 : static TransactionInfo_Log getDefault() => _defaultInstance ??=
4862 0 : $pb.GeneratedMessage.$_defaultFor<TransactionInfo_Log>(create);
4863 : static TransactionInfo_Log? _defaultInstance;
4864 :
4865 0 : @$pb.TagNumber(1)
4866 0 : $core.List<$core.int> get address => $_getN(0);
4867 0 : @$pb.TagNumber(1)
4868 : set address($core.List<$core.int> v) {
4869 0 : $_setBytes(0, v);
4870 : }
4871 :
4872 0 : @$pb.TagNumber(1)
4873 0 : $core.bool hasAddress() => $_has(0);
4874 0 : @$pb.TagNumber(1)
4875 0 : void clearAddress() => clearField(1);
4876 :
4877 0 : @$pb.TagNumber(2)
4878 0 : $core.List<$core.List<$core.int>> get topics => $_getList(1);
4879 :
4880 0 : @$pb.TagNumber(3)
4881 0 : $core.List<$core.int> get data => $_getN(2);
4882 0 : @$pb.TagNumber(3)
4883 : set data($core.List<$core.int> v) {
4884 0 : $_setBytes(2, v);
4885 : }
4886 :
4887 0 : @$pb.TagNumber(3)
4888 0 : $core.bool hasData() => $_has(2);
4889 0 : @$pb.TagNumber(3)
4890 0 : void clearData() => clearField(3);
4891 : }
4892 :
4893 : class TransactionInfo extends $pb.GeneratedMessage {
4894 0 : factory TransactionInfo({
4895 : $core.List<$core.int>? id,
4896 : $fixnum.Int64? fee,
4897 : $fixnum.Int64? blockNumber,
4898 : $fixnum.Int64? blockTimeStamp,
4899 : $core.Iterable<$core.List<$core.int>>? contractResult,
4900 : $core.List<$core.int>? contractAddress,
4901 : ResourceReceipt? receipt,
4902 : $core.Iterable<TransactionInfo_Log>? log,
4903 : TransactionInfo_code? result,
4904 : $core.List<$core.int>? resMessage,
4905 : $core.String? assetIssueID,
4906 : $fixnum.Int64? withdrawAmount,
4907 : $fixnum.Int64? unfreezeAmount,
4908 : $core.Iterable<InternalTransaction>? internalTransactions,
4909 : $fixnum.Int64? exchangeReceivedAmount,
4910 : $fixnum.Int64? exchangeInjectAnotherAmount,
4911 : $fixnum.Int64? exchangeWithdrawAnotherAmount,
4912 : $fixnum.Int64? exchangeId,
4913 : $fixnum.Int64? shieldedTransactionFee,
4914 : $core.List<$core.int>? orderId,
4915 : $core.Iterable<MarketOrderDetail>? orderDetails,
4916 : $fixnum.Int64? packingFee,
4917 : $fixnum.Int64? withdrawExpireAmount,
4918 : $core.Map<$core.String, $fixnum.Int64>? cancelUnfreezeV2Amount,
4919 : }) {
4920 0 : final $result = create();
4921 : if (id != null) {
4922 0 : $result.id = id;
4923 : }
4924 : if (fee != null) {
4925 0 : $result.fee = fee;
4926 : }
4927 : if (blockNumber != null) {
4928 0 : $result.blockNumber = blockNumber;
4929 : }
4930 : if (blockTimeStamp != null) {
4931 0 : $result.blockTimeStamp = blockTimeStamp;
4932 : }
4933 : if (contractResult != null) {
4934 0 : $result.contractResult.addAll(contractResult);
4935 : }
4936 : if (contractAddress != null) {
4937 0 : $result.contractAddress = contractAddress;
4938 : }
4939 : if (receipt != null) {
4940 0 : $result.receipt = receipt;
4941 : }
4942 : if (log != null) {
4943 0 : $result.log.addAll(log);
4944 : }
4945 : if (result != null) {
4946 0 : $result.result = result;
4947 : }
4948 : if (resMessage != null) {
4949 0 : $result.resMessage = resMessage;
4950 : }
4951 : if (assetIssueID != null) {
4952 0 : $result.assetIssueID = assetIssueID;
4953 : }
4954 : if (withdrawAmount != null) {
4955 0 : $result.withdrawAmount = withdrawAmount;
4956 : }
4957 : if (unfreezeAmount != null) {
4958 0 : $result.unfreezeAmount = unfreezeAmount;
4959 : }
4960 : if (internalTransactions != null) {
4961 0 : $result.internalTransactions.addAll(internalTransactions);
4962 : }
4963 : if (exchangeReceivedAmount != null) {
4964 0 : $result.exchangeReceivedAmount = exchangeReceivedAmount;
4965 : }
4966 : if (exchangeInjectAnotherAmount != null) {
4967 0 : $result.exchangeInjectAnotherAmount = exchangeInjectAnotherAmount;
4968 : }
4969 : if (exchangeWithdrawAnotherAmount != null) {
4970 0 : $result.exchangeWithdrawAnotherAmount = exchangeWithdrawAnotherAmount;
4971 : }
4972 : if (exchangeId != null) {
4973 0 : $result.exchangeId = exchangeId;
4974 : }
4975 : if (shieldedTransactionFee != null) {
4976 0 : $result.shieldedTransactionFee = shieldedTransactionFee;
4977 : }
4978 : if (orderId != null) {
4979 0 : $result.orderId = orderId;
4980 : }
4981 : if (orderDetails != null) {
4982 0 : $result.orderDetails.addAll(orderDetails);
4983 : }
4984 : if (packingFee != null) {
4985 0 : $result.packingFee = packingFee;
4986 : }
4987 : if (withdrawExpireAmount != null) {
4988 0 : $result.withdrawExpireAmount = withdrawExpireAmount;
4989 : }
4990 : if (cancelUnfreezeV2Amount != null) {
4991 0 : $result.cancelUnfreezeV2Amount.addAll(cancelUnfreezeV2Amount);
4992 : }
4993 : return $result;
4994 : }
4995 0 : TransactionInfo._() : super();
4996 0 : factory TransactionInfo.fromBuffer($core.List<$core.int> i,
4997 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4998 0 : create()..mergeFromBuffer(i, r);
4999 0 : factory TransactionInfo.fromJson($core.String i,
5000 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5001 0 : create()..mergeFromJson(i, r);
5002 :
5003 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5004 : _omitMessageNames ? '' : 'TransactionInfo',
5005 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5006 : createEmptyInstance: create)
5007 0 : ..a<$core.List<$core.int>>(
5008 : 1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OY)
5009 0 : ..aInt64(2, _omitFieldNames ? '' : 'fee')
5010 0 : ..aInt64(3, _omitFieldNames ? '' : 'blockNumber', protoName: 'blockNumber')
5011 0 : ..aInt64(4, _omitFieldNames ? '' : 'blockTimeStamp',
5012 : protoName: 'blockTimeStamp')
5013 0 : ..p<$core.List<$core.int>>(
5014 : 5, _omitFieldNames ? '' : 'contractResult', $pb.PbFieldType.PY,
5015 : protoName: 'contractResult')
5016 0 : ..a<$core.List<$core.int>>(
5017 : 6, _omitFieldNames ? '' : 'contractAddress', $pb.PbFieldType.OY)
5018 0 : ..aOM<ResourceReceipt>(7, _omitFieldNames ? '' : 'receipt',
5019 : subBuilder: ResourceReceipt.create)
5020 0 : ..pc<TransactionInfo_Log>(
5021 : 8, _omitFieldNames ? '' : 'log', $pb.PbFieldType.PM,
5022 : subBuilder: TransactionInfo_Log.create)
5023 0 : ..e<TransactionInfo_code>(
5024 : 9, _omitFieldNames ? '' : 'result', $pb.PbFieldType.OE,
5025 : defaultOrMaker: TransactionInfo_code.SUCESS,
5026 : valueOf: TransactionInfo_code.valueOf,
5027 : enumValues: TransactionInfo_code.values)
5028 0 : ..a<$core.List<$core.int>>(
5029 : 10, _omitFieldNames ? '' : 'resMessage', $pb.PbFieldType.OY,
5030 : protoName: 'resMessage')
5031 0 : ..aOS(14, _omitFieldNames ? '' : 'assetIssueID', protoName: 'assetIssueID')
5032 0 : ..aInt64(15, _omitFieldNames ? '' : 'withdrawAmount')
5033 0 : ..aInt64(16, _omitFieldNames ? '' : 'unfreezeAmount')
5034 0 : ..pc<InternalTransaction>(
5035 : 17, _omitFieldNames ? '' : 'internalTransactions', $pb.PbFieldType.PM,
5036 : subBuilder: InternalTransaction.create)
5037 0 : ..aInt64(18, _omitFieldNames ? '' : 'exchangeReceivedAmount')
5038 0 : ..aInt64(19, _omitFieldNames ? '' : 'exchangeInjectAnotherAmount')
5039 0 : ..aInt64(20, _omitFieldNames ? '' : 'exchangeWithdrawAnotherAmount')
5040 0 : ..aInt64(21, _omitFieldNames ? '' : 'exchangeId')
5041 0 : ..aInt64(22, _omitFieldNames ? '' : 'shieldedTransactionFee')
5042 0 : ..a<$core.List<$core.int>>(
5043 : 25, _omitFieldNames ? '' : 'orderId', $pb.PbFieldType.OY,
5044 : protoName: 'orderId')
5045 0 : ..pc<MarketOrderDetail>(
5046 : 26, _omitFieldNames ? '' : 'orderDetails', $pb.PbFieldType.PM,
5047 : protoName: 'orderDetails', subBuilder: MarketOrderDetail.create)
5048 0 : ..aInt64(27, _omitFieldNames ? '' : 'packingFee', protoName: 'packingFee')
5049 0 : ..aInt64(28, _omitFieldNames ? '' : 'withdrawExpireAmount')
5050 0 : ..m<$core.String, $fixnum.Int64>(
5051 : 29, _omitFieldNames ? '' : 'cancelUnfreezeV2Amount',
5052 : protoName: 'cancel_unfreezeV2_amount',
5053 : entryClassName: 'TransactionInfo.CancelUnfreezeV2AmountEntry',
5054 : keyFieldType: $pb.PbFieldType.OS,
5055 : valueFieldType: $pb.PbFieldType.O6,
5056 : packageName: const $pb.PackageName('protocol'))
5057 0 : ..hasRequiredFields = false;
5058 :
5059 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5060 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5061 : 'Will be removed in next major version')
5062 0 : TransactionInfo clone() => TransactionInfo()..mergeFromMessage(this);
5063 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5064 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5065 : 'Will be removed in next major version')
5066 : TransactionInfo copyWith(void Function(TransactionInfo) updates) =>
5067 0 : super.copyWith((message) => updates(message as TransactionInfo))
5068 : as TransactionInfo;
5069 :
5070 0 : $pb.BuilderInfo get info_ => _i;
5071 :
5072 0 : @$core.pragma('dart2js:noInline')
5073 0 : static TransactionInfo create() => TransactionInfo._();
5074 0 : TransactionInfo createEmptyInstance() => create();
5075 0 : static $pb.PbList<TransactionInfo> createRepeated() =>
5076 0 : $pb.PbList<TransactionInfo>();
5077 0 : @$core.pragma('dart2js:noInline')
5078 : static TransactionInfo getDefault() => _defaultInstance ??=
5079 0 : $pb.GeneratedMessage.$_defaultFor<TransactionInfo>(create);
5080 : static TransactionInfo? _defaultInstance;
5081 :
5082 0 : @$pb.TagNumber(1)
5083 0 : $core.List<$core.int> get id => $_getN(0);
5084 0 : @$pb.TagNumber(1)
5085 : set id($core.List<$core.int> v) {
5086 0 : $_setBytes(0, v);
5087 : }
5088 :
5089 0 : @$pb.TagNumber(1)
5090 0 : $core.bool hasId() => $_has(0);
5091 0 : @$pb.TagNumber(1)
5092 0 : void clearId() => clearField(1);
5093 :
5094 0 : @$pb.TagNumber(2)
5095 0 : $fixnum.Int64 get fee => $_getI64(1);
5096 0 : @$pb.TagNumber(2)
5097 : set fee($fixnum.Int64 v) {
5098 0 : $_setInt64(1, v);
5099 : }
5100 :
5101 0 : @$pb.TagNumber(2)
5102 0 : $core.bool hasFee() => $_has(1);
5103 0 : @$pb.TagNumber(2)
5104 0 : void clearFee() => clearField(2);
5105 :
5106 0 : @$pb.TagNumber(3)
5107 0 : $fixnum.Int64 get blockNumber => $_getI64(2);
5108 0 : @$pb.TagNumber(3)
5109 : set blockNumber($fixnum.Int64 v) {
5110 0 : $_setInt64(2, v);
5111 : }
5112 :
5113 0 : @$pb.TagNumber(3)
5114 0 : $core.bool hasBlockNumber() => $_has(2);
5115 0 : @$pb.TagNumber(3)
5116 0 : void clearBlockNumber() => clearField(3);
5117 :
5118 0 : @$pb.TagNumber(4)
5119 0 : $fixnum.Int64 get blockTimeStamp => $_getI64(3);
5120 0 : @$pb.TagNumber(4)
5121 : set blockTimeStamp($fixnum.Int64 v) {
5122 0 : $_setInt64(3, v);
5123 : }
5124 :
5125 0 : @$pb.TagNumber(4)
5126 0 : $core.bool hasBlockTimeStamp() => $_has(3);
5127 0 : @$pb.TagNumber(4)
5128 0 : void clearBlockTimeStamp() => clearField(4);
5129 :
5130 0 : @$pb.TagNumber(5)
5131 0 : $core.List<$core.List<$core.int>> get contractResult => $_getList(4);
5132 :
5133 0 : @$pb.TagNumber(6)
5134 0 : $core.List<$core.int> get contractAddress => $_getN(5);
5135 0 : @$pb.TagNumber(6)
5136 : set contractAddress($core.List<$core.int> v) {
5137 0 : $_setBytes(5, v);
5138 : }
5139 :
5140 0 : @$pb.TagNumber(6)
5141 0 : $core.bool hasContractAddress() => $_has(5);
5142 0 : @$pb.TagNumber(6)
5143 0 : void clearContractAddress() => clearField(6);
5144 :
5145 0 : @$pb.TagNumber(7)
5146 0 : ResourceReceipt get receipt => $_getN(6);
5147 0 : @$pb.TagNumber(7)
5148 : set receipt(ResourceReceipt v) {
5149 0 : setField(7, v);
5150 : }
5151 :
5152 0 : @$pb.TagNumber(7)
5153 0 : $core.bool hasReceipt() => $_has(6);
5154 0 : @$pb.TagNumber(7)
5155 0 : void clearReceipt() => clearField(7);
5156 0 : @$pb.TagNumber(7)
5157 0 : ResourceReceipt ensureReceipt() => $_ensure(6);
5158 :
5159 0 : @$pb.TagNumber(8)
5160 0 : $core.List<TransactionInfo_Log> get log => $_getList(7);
5161 :
5162 0 : @$pb.TagNumber(9)
5163 0 : TransactionInfo_code get result => $_getN(8);
5164 0 : @$pb.TagNumber(9)
5165 : set result(TransactionInfo_code v) {
5166 0 : setField(9, v);
5167 : }
5168 :
5169 0 : @$pb.TagNumber(9)
5170 0 : $core.bool hasResult() => $_has(8);
5171 0 : @$pb.TagNumber(9)
5172 0 : void clearResult() => clearField(9);
5173 :
5174 0 : @$pb.TagNumber(10)
5175 0 : $core.List<$core.int> get resMessage => $_getN(9);
5176 0 : @$pb.TagNumber(10)
5177 : set resMessage($core.List<$core.int> v) {
5178 0 : $_setBytes(9, v);
5179 : }
5180 :
5181 0 : @$pb.TagNumber(10)
5182 0 : $core.bool hasResMessage() => $_has(9);
5183 0 : @$pb.TagNumber(10)
5184 0 : void clearResMessage() => clearField(10);
5185 :
5186 0 : @$pb.TagNumber(14)
5187 0 : $core.String get assetIssueID => $_getSZ(10);
5188 0 : @$pb.TagNumber(14)
5189 : set assetIssueID($core.String v) {
5190 0 : $_setString(10, v);
5191 : }
5192 :
5193 0 : @$pb.TagNumber(14)
5194 0 : $core.bool hasAssetIssueID() => $_has(10);
5195 0 : @$pb.TagNumber(14)
5196 0 : void clearAssetIssueID() => clearField(14);
5197 :
5198 0 : @$pb.TagNumber(15)
5199 0 : $fixnum.Int64 get withdrawAmount => $_getI64(11);
5200 0 : @$pb.TagNumber(15)
5201 : set withdrawAmount($fixnum.Int64 v) {
5202 0 : $_setInt64(11, v);
5203 : }
5204 :
5205 0 : @$pb.TagNumber(15)
5206 0 : $core.bool hasWithdrawAmount() => $_has(11);
5207 0 : @$pb.TagNumber(15)
5208 0 : void clearWithdrawAmount() => clearField(15);
5209 :
5210 0 : @$pb.TagNumber(16)
5211 0 : $fixnum.Int64 get unfreezeAmount => $_getI64(12);
5212 0 : @$pb.TagNumber(16)
5213 : set unfreezeAmount($fixnum.Int64 v) {
5214 0 : $_setInt64(12, v);
5215 : }
5216 :
5217 0 : @$pb.TagNumber(16)
5218 0 : $core.bool hasUnfreezeAmount() => $_has(12);
5219 0 : @$pb.TagNumber(16)
5220 0 : void clearUnfreezeAmount() => clearField(16);
5221 :
5222 0 : @$pb.TagNumber(17)
5223 0 : $core.List<InternalTransaction> get internalTransactions => $_getList(13);
5224 :
5225 0 : @$pb.TagNumber(18)
5226 0 : $fixnum.Int64 get exchangeReceivedAmount => $_getI64(14);
5227 0 : @$pb.TagNumber(18)
5228 : set exchangeReceivedAmount($fixnum.Int64 v) {
5229 0 : $_setInt64(14, v);
5230 : }
5231 :
5232 0 : @$pb.TagNumber(18)
5233 0 : $core.bool hasExchangeReceivedAmount() => $_has(14);
5234 0 : @$pb.TagNumber(18)
5235 0 : void clearExchangeReceivedAmount() => clearField(18);
5236 :
5237 0 : @$pb.TagNumber(19)
5238 0 : $fixnum.Int64 get exchangeInjectAnotherAmount => $_getI64(15);
5239 0 : @$pb.TagNumber(19)
5240 : set exchangeInjectAnotherAmount($fixnum.Int64 v) {
5241 0 : $_setInt64(15, v);
5242 : }
5243 :
5244 0 : @$pb.TagNumber(19)
5245 0 : $core.bool hasExchangeInjectAnotherAmount() => $_has(15);
5246 0 : @$pb.TagNumber(19)
5247 0 : void clearExchangeInjectAnotherAmount() => clearField(19);
5248 :
5249 0 : @$pb.TagNumber(20)
5250 0 : $fixnum.Int64 get exchangeWithdrawAnotherAmount => $_getI64(16);
5251 0 : @$pb.TagNumber(20)
5252 : set exchangeWithdrawAnotherAmount($fixnum.Int64 v) {
5253 0 : $_setInt64(16, v);
5254 : }
5255 :
5256 0 : @$pb.TagNumber(20)
5257 0 : $core.bool hasExchangeWithdrawAnotherAmount() => $_has(16);
5258 0 : @$pb.TagNumber(20)
5259 0 : void clearExchangeWithdrawAnotherAmount() => clearField(20);
5260 :
5261 0 : @$pb.TagNumber(21)
5262 0 : $fixnum.Int64 get exchangeId => $_getI64(17);
5263 0 : @$pb.TagNumber(21)
5264 : set exchangeId($fixnum.Int64 v) {
5265 0 : $_setInt64(17, v);
5266 : }
5267 :
5268 0 : @$pb.TagNumber(21)
5269 0 : $core.bool hasExchangeId() => $_has(17);
5270 0 : @$pb.TagNumber(21)
5271 0 : void clearExchangeId() => clearField(21);
5272 :
5273 0 : @$pb.TagNumber(22)
5274 0 : $fixnum.Int64 get shieldedTransactionFee => $_getI64(18);
5275 0 : @$pb.TagNumber(22)
5276 : set shieldedTransactionFee($fixnum.Int64 v) {
5277 0 : $_setInt64(18, v);
5278 : }
5279 :
5280 0 : @$pb.TagNumber(22)
5281 0 : $core.bool hasShieldedTransactionFee() => $_has(18);
5282 0 : @$pb.TagNumber(22)
5283 0 : void clearShieldedTransactionFee() => clearField(22);
5284 :
5285 0 : @$pb.TagNumber(25)
5286 0 : $core.List<$core.int> get orderId => $_getN(19);
5287 0 : @$pb.TagNumber(25)
5288 : set orderId($core.List<$core.int> v) {
5289 0 : $_setBytes(19, v);
5290 : }
5291 :
5292 0 : @$pb.TagNumber(25)
5293 0 : $core.bool hasOrderId() => $_has(19);
5294 0 : @$pb.TagNumber(25)
5295 0 : void clearOrderId() => clearField(25);
5296 :
5297 0 : @$pb.TagNumber(26)
5298 0 : $core.List<MarketOrderDetail> get orderDetails => $_getList(20);
5299 :
5300 0 : @$pb.TagNumber(27)
5301 0 : $fixnum.Int64 get packingFee => $_getI64(21);
5302 0 : @$pb.TagNumber(27)
5303 : set packingFee($fixnum.Int64 v) {
5304 0 : $_setInt64(21, v);
5305 : }
5306 :
5307 0 : @$pb.TagNumber(27)
5308 0 : $core.bool hasPackingFee() => $_has(21);
5309 0 : @$pb.TagNumber(27)
5310 0 : void clearPackingFee() => clearField(27);
5311 :
5312 0 : @$pb.TagNumber(28)
5313 0 : $fixnum.Int64 get withdrawExpireAmount => $_getI64(22);
5314 0 : @$pb.TagNumber(28)
5315 : set withdrawExpireAmount($fixnum.Int64 v) {
5316 0 : $_setInt64(22, v);
5317 : }
5318 :
5319 0 : @$pb.TagNumber(28)
5320 0 : $core.bool hasWithdrawExpireAmount() => $_has(22);
5321 0 : @$pb.TagNumber(28)
5322 0 : void clearWithdrawExpireAmount() => clearField(28);
5323 :
5324 0 : @$pb.TagNumber(29)
5325 : $core.Map<$core.String, $fixnum.Int64> get cancelUnfreezeV2Amount =>
5326 0 : $_getMap(23);
5327 : }
5328 :
5329 : class TransactionRet extends $pb.GeneratedMessage {
5330 0 : factory TransactionRet({
5331 : $fixnum.Int64? blockNumber,
5332 : $fixnum.Int64? blockTimeStamp,
5333 : $core.Iterable<TransactionInfo>? transactioninfo,
5334 : }) {
5335 0 : final $result = create();
5336 : if (blockNumber != null) {
5337 0 : $result.blockNumber = blockNumber;
5338 : }
5339 : if (blockTimeStamp != null) {
5340 0 : $result.blockTimeStamp = blockTimeStamp;
5341 : }
5342 : if (transactioninfo != null) {
5343 0 : $result.transactioninfo.addAll(transactioninfo);
5344 : }
5345 : return $result;
5346 : }
5347 0 : TransactionRet._() : super();
5348 0 : factory TransactionRet.fromBuffer($core.List<$core.int> i,
5349 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5350 0 : create()..mergeFromBuffer(i, r);
5351 0 : factory TransactionRet.fromJson($core.String i,
5352 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5353 0 : create()..mergeFromJson(i, r);
5354 :
5355 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5356 : _omitMessageNames ? '' : 'TransactionRet',
5357 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5358 : createEmptyInstance: create)
5359 0 : ..aInt64(1, _omitFieldNames ? '' : 'blockNumber', protoName: 'blockNumber')
5360 0 : ..aInt64(2, _omitFieldNames ? '' : 'blockTimeStamp',
5361 : protoName: 'blockTimeStamp')
5362 0 : ..pc<TransactionInfo>(
5363 : 3, _omitFieldNames ? '' : 'transactioninfo', $pb.PbFieldType.PM,
5364 : subBuilder: TransactionInfo.create)
5365 0 : ..hasRequiredFields = false;
5366 :
5367 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5368 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5369 : 'Will be removed in next major version')
5370 0 : TransactionRet clone() => TransactionRet()..mergeFromMessage(this);
5371 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5372 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5373 : 'Will be removed in next major version')
5374 : TransactionRet copyWith(void Function(TransactionRet) updates) =>
5375 0 : super.copyWith((message) => updates(message as TransactionRet))
5376 : as TransactionRet;
5377 :
5378 0 : $pb.BuilderInfo get info_ => _i;
5379 :
5380 0 : @$core.pragma('dart2js:noInline')
5381 0 : static TransactionRet create() => TransactionRet._();
5382 0 : TransactionRet createEmptyInstance() => create();
5383 0 : static $pb.PbList<TransactionRet> createRepeated() =>
5384 0 : $pb.PbList<TransactionRet>();
5385 0 : @$core.pragma('dart2js:noInline')
5386 : static TransactionRet getDefault() => _defaultInstance ??=
5387 0 : $pb.GeneratedMessage.$_defaultFor<TransactionRet>(create);
5388 : static TransactionRet? _defaultInstance;
5389 :
5390 0 : @$pb.TagNumber(1)
5391 0 : $fixnum.Int64 get blockNumber => $_getI64(0);
5392 0 : @$pb.TagNumber(1)
5393 : set blockNumber($fixnum.Int64 v) {
5394 0 : $_setInt64(0, v);
5395 : }
5396 :
5397 0 : @$pb.TagNumber(1)
5398 0 : $core.bool hasBlockNumber() => $_has(0);
5399 0 : @$pb.TagNumber(1)
5400 0 : void clearBlockNumber() => clearField(1);
5401 :
5402 0 : @$pb.TagNumber(2)
5403 0 : $fixnum.Int64 get blockTimeStamp => $_getI64(1);
5404 0 : @$pb.TagNumber(2)
5405 : set blockTimeStamp($fixnum.Int64 v) {
5406 0 : $_setInt64(1, v);
5407 : }
5408 :
5409 0 : @$pb.TagNumber(2)
5410 0 : $core.bool hasBlockTimeStamp() => $_has(1);
5411 0 : @$pb.TagNumber(2)
5412 0 : void clearBlockTimeStamp() => clearField(2);
5413 :
5414 0 : @$pb.TagNumber(3)
5415 0 : $core.List<TransactionInfo> get transactioninfo => $_getList(2);
5416 : }
5417 :
5418 : class Transactions extends $pb.GeneratedMessage {
5419 0 : factory Transactions({
5420 : $core.Iterable<Transaction>? transactions,
5421 : }) {
5422 0 : final $result = create();
5423 : if (transactions != null) {
5424 0 : $result.transactions.addAll(transactions);
5425 : }
5426 : return $result;
5427 : }
5428 0 : Transactions._() : super();
5429 0 : factory Transactions.fromBuffer($core.List<$core.int> i,
5430 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5431 0 : create()..mergeFromBuffer(i, r);
5432 0 : factory Transactions.fromJson($core.String i,
5433 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5434 0 : create()..mergeFromJson(i, r);
5435 :
5436 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5437 : _omitMessageNames ? '' : 'Transactions',
5438 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5439 : createEmptyInstance: create)
5440 0 : ..pc<Transaction>(
5441 : 1, _omitFieldNames ? '' : 'transactions', $pb.PbFieldType.PM,
5442 : subBuilder: Transaction.create)
5443 0 : ..hasRequiredFields = false;
5444 :
5445 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5446 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5447 : 'Will be removed in next major version')
5448 0 : Transactions clone() => Transactions()..mergeFromMessage(this);
5449 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5450 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5451 : 'Will be removed in next major version')
5452 : Transactions copyWith(void Function(Transactions) updates) =>
5453 0 : super.copyWith((message) => updates(message as Transactions))
5454 : as Transactions;
5455 :
5456 0 : $pb.BuilderInfo get info_ => _i;
5457 :
5458 0 : @$core.pragma('dart2js:noInline')
5459 0 : static Transactions create() => Transactions._();
5460 0 : Transactions createEmptyInstance() => create();
5461 0 : static $pb.PbList<Transactions> createRepeated() =>
5462 0 : $pb.PbList<Transactions>();
5463 0 : @$core.pragma('dart2js:noInline')
5464 : static Transactions getDefault() => _defaultInstance ??=
5465 0 : $pb.GeneratedMessage.$_defaultFor<Transactions>(create);
5466 : static Transactions? _defaultInstance;
5467 :
5468 0 : @$pb.TagNumber(1)
5469 0 : $core.List<Transaction> get transactions => $_getList(0);
5470 : }
5471 :
5472 : class BlockHeader_raw extends $pb.GeneratedMessage {
5473 0 : factory BlockHeader_raw({
5474 : $fixnum.Int64? timestamp,
5475 : $core.List<$core.int>? txTrieRoot,
5476 : $core.List<$core.int>? parentHash,
5477 : $fixnum.Int64? number,
5478 : $fixnum.Int64? witnessId,
5479 : $core.List<$core.int>? witnessAddress,
5480 : $core.int? version,
5481 : $core.List<$core.int>? accountStateRoot,
5482 : }) {
5483 0 : final $result = create();
5484 : if (timestamp != null) {
5485 0 : $result.timestamp = timestamp;
5486 : }
5487 : if (txTrieRoot != null) {
5488 0 : $result.txTrieRoot = txTrieRoot;
5489 : }
5490 : if (parentHash != null) {
5491 0 : $result.parentHash = parentHash;
5492 : }
5493 : if (number != null) {
5494 0 : $result.number = number;
5495 : }
5496 : if (witnessId != null) {
5497 0 : $result.witnessId = witnessId;
5498 : }
5499 : if (witnessAddress != null) {
5500 0 : $result.witnessAddress = witnessAddress;
5501 : }
5502 : if (version != null) {
5503 0 : $result.version = version;
5504 : }
5505 : if (accountStateRoot != null) {
5506 0 : $result.accountStateRoot = accountStateRoot;
5507 : }
5508 : return $result;
5509 : }
5510 0 : BlockHeader_raw._() : super();
5511 0 : factory BlockHeader_raw.fromBuffer($core.List<$core.int> i,
5512 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5513 0 : create()..mergeFromBuffer(i, r);
5514 0 : factory BlockHeader_raw.fromJson($core.String i,
5515 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5516 0 : create()..mergeFromJson(i, r);
5517 :
5518 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5519 : _omitMessageNames ? '' : 'BlockHeader.raw',
5520 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5521 : createEmptyInstance: create)
5522 0 : ..aInt64(1, _omitFieldNames ? '' : 'timestamp')
5523 0 : ..a<$core.List<$core.int>>(
5524 : 2, _omitFieldNames ? '' : 'txTrieRoot', $pb.PbFieldType.OY,
5525 : protoName: 'txTrieRoot')
5526 0 : ..a<$core.List<$core.int>>(
5527 : 3, _omitFieldNames ? '' : 'parentHash', $pb.PbFieldType.OY,
5528 : protoName: 'parentHash')
5529 0 : ..aInt64(7, _omitFieldNames ? '' : 'number')
5530 0 : ..aInt64(8, _omitFieldNames ? '' : 'witnessId')
5531 0 : ..a<$core.List<$core.int>>(
5532 : 9, _omitFieldNames ? '' : 'witnessAddress', $pb.PbFieldType.OY)
5533 0 : ..a<$core.int>(10, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
5534 0 : ..a<$core.List<$core.int>>(
5535 : 11, _omitFieldNames ? '' : 'accountStateRoot', $pb.PbFieldType.OY,
5536 : protoName: 'accountStateRoot')
5537 0 : ..hasRequiredFields = false;
5538 :
5539 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5540 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5541 : 'Will be removed in next major version')
5542 0 : BlockHeader_raw clone() => BlockHeader_raw()..mergeFromMessage(this);
5543 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5544 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5545 : 'Will be removed in next major version')
5546 : BlockHeader_raw copyWith(void Function(BlockHeader_raw) updates) =>
5547 0 : super.copyWith((message) => updates(message as BlockHeader_raw))
5548 : as BlockHeader_raw;
5549 :
5550 0 : $pb.BuilderInfo get info_ => _i;
5551 :
5552 0 : @$core.pragma('dart2js:noInline')
5553 0 : static BlockHeader_raw create() => BlockHeader_raw._();
5554 0 : BlockHeader_raw createEmptyInstance() => create();
5555 0 : static $pb.PbList<BlockHeader_raw> createRepeated() =>
5556 0 : $pb.PbList<BlockHeader_raw>();
5557 0 : @$core.pragma('dart2js:noInline')
5558 : static BlockHeader_raw getDefault() => _defaultInstance ??=
5559 0 : $pb.GeneratedMessage.$_defaultFor<BlockHeader_raw>(create);
5560 : static BlockHeader_raw? _defaultInstance;
5561 :
5562 0 : @$pb.TagNumber(1)
5563 0 : $fixnum.Int64 get timestamp => $_getI64(0);
5564 0 : @$pb.TagNumber(1)
5565 : set timestamp($fixnum.Int64 v) {
5566 0 : $_setInt64(0, v);
5567 : }
5568 :
5569 0 : @$pb.TagNumber(1)
5570 0 : $core.bool hasTimestamp() => $_has(0);
5571 0 : @$pb.TagNumber(1)
5572 0 : void clearTimestamp() => clearField(1);
5573 :
5574 0 : @$pb.TagNumber(2)
5575 0 : $core.List<$core.int> get txTrieRoot => $_getN(1);
5576 0 : @$pb.TagNumber(2)
5577 : set txTrieRoot($core.List<$core.int> v) {
5578 0 : $_setBytes(1, v);
5579 : }
5580 :
5581 0 : @$pb.TagNumber(2)
5582 0 : $core.bool hasTxTrieRoot() => $_has(1);
5583 0 : @$pb.TagNumber(2)
5584 0 : void clearTxTrieRoot() => clearField(2);
5585 :
5586 0 : @$pb.TagNumber(3)
5587 0 : $core.List<$core.int> get parentHash => $_getN(2);
5588 0 : @$pb.TagNumber(3)
5589 : set parentHash($core.List<$core.int> v) {
5590 0 : $_setBytes(2, v);
5591 : }
5592 :
5593 0 : @$pb.TagNumber(3)
5594 0 : $core.bool hasParentHash() => $_has(2);
5595 0 : @$pb.TagNumber(3)
5596 0 : void clearParentHash() => clearField(3);
5597 :
5598 : /// bytes nonce = 5;
5599 : /// bytes difficulty = 6;
5600 0 : @$pb.TagNumber(7)
5601 0 : $fixnum.Int64 get number => $_getI64(3);
5602 0 : @$pb.TagNumber(7)
5603 : set number($fixnum.Int64 v) {
5604 0 : $_setInt64(3, v);
5605 : }
5606 :
5607 0 : @$pb.TagNumber(7)
5608 0 : $core.bool hasNumber() => $_has(3);
5609 0 : @$pb.TagNumber(7)
5610 0 : void clearNumber() => clearField(7);
5611 :
5612 0 : @$pb.TagNumber(8)
5613 0 : $fixnum.Int64 get witnessId => $_getI64(4);
5614 0 : @$pb.TagNumber(8)
5615 : set witnessId($fixnum.Int64 v) {
5616 0 : $_setInt64(4, v);
5617 : }
5618 :
5619 0 : @$pb.TagNumber(8)
5620 0 : $core.bool hasWitnessId() => $_has(4);
5621 0 : @$pb.TagNumber(8)
5622 0 : void clearWitnessId() => clearField(8);
5623 :
5624 0 : @$pb.TagNumber(9)
5625 0 : $core.List<$core.int> get witnessAddress => $_getN(5);
5626 0 : @$pb.TagNumber(9)
5627 : set witnessAddress($core.List<$core.int> v) {
5628 0 : $_setBytes(5, v);
5629 : }
5630 :
5631 0 : @$pb.TagNumber(9)
5632 0 : $core.bool hasWitnessAddress() => $_has(5);
5633 0 : @$pb.TagNumber(9)
5634 0 : void clearWitnessAddress() => clearField(9);
5635 :
5636 0 : @$pb.TagNumber(10)
5637 0 : $core.int get version => $_getIZ(6);
5638 0 : @$pb.TagNumber(10)
5639 : set version($core.int v) {
5640 0 : $_setSignedInt32(6, v);
5641 : }
5642 :
5643 0 : @$pb.TagNumber(10)
5644 0 : $core.bool hasVersion() => $_has(6);
5645 0 : @$pb.TagNumber(10)
5646 0 : void clearVersion() => clearField(10);
5647 :
5648 0 : @$pb.TagNumber(11)
5649 0 : $core.List<$core.int> get accountStateRoot => $_getN(7);
5650 0 : @$pb.TagNumber(11)
5651 : set accountStateRoot($core.List<$core.int> v) {
5652 0 : $_setBytes(7, v);
5653 : }
5654 :
5655 0 : @$pb.TagNumber(11)
5656 0 : $core.bool hasAccountStateRoot() => $_has(7);
5657 0 : @$pb.TagNumber(11)
5658 0 : void clearAccountStateRoot() => clearField(11);
5659 : }
5660 :
5661 : class BlockHeader extends $pb.GeneratedMessage {
5662 0 : factory BlockHeader({
5663 : BlockHeader_raw? rawData,
5664 : $core.List<$core.int>? witnessSignature,
5665 : }) {
5666 0 : final $result = create();
5667 : if (rawData != null) {
5668 0 : $result.rawData = rawData;
5669 : }
5670 : if (witnessSignature != null) {
5671 0 : $result.witnessSignature = witnessSignature;
5672 : }
5673 : return $result;
5674 : }
5675 0 : BlockHeader._() : super();
5676 0 : factory BlockHeader.fromBuffer($core.List<$core.int> i,
5677 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5678 0 : create()..mergeFromBuffer(i, r);
5679 0 : factory BlockHeader.fromJson($core.String i,
5680 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5681 0 : create()..mergeFromJson(i, r);
5682 :
5683 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5684 : _omitMessageNames ? '' : 'BlockHeader',
5685 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5686 : createEmptyInstance: create)
5687 0 : ..aOM<BlockHeader_raw>(1, _omitFieldNames ? '' : 'rawData',
5688 : subBuilder: BlockHeader_raw.create)
5689 0 : ..a<$core.List<$core.int>>(
5690 : 2, _omitFieldNames ? '' : 'witnessSignature', $pb.PbFieldType.OY)
5691 0 : ..hasRequiredFields = false;
5692 :
5693 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5694 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5695 : 'Will be removed in next major version')
5696 0 : BlockHeader clone() => BlockHeader()..mergeFromMessage(this);
5697 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5698 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5699 : 'Will be removed in next major version')
5700 : BlockHeader copyWith(void Function(BlockHeader) updates) =>
5701 0 : super.copyWith((message) => updates(message as BlockHeader))
5702 : as BlockHeader;
5703 :
5704 0 : $pb.BuilderInfo get info_ => _i;
5705 :
5706 0 : @$core.pragma('dart2js:noInline')
5707 0 : static BlockHeader create() => BlockHeader._();
5708 0 : BlockHeader createEmptyInstance() => create();
5709 0 : static $pb.PbList<BlockHeader> createRepeated() => $pb.PbList<BlockHeader>();
5710 0 : @$core.pragma('dart2js:noInline')
5711 : static BlockHeader getDefault() => _defaultInstance ??=
5712 0 : $pb.GeneratedMessage.$_defaultFor<BlockHeader>(create);
5713 : static BlockHeader? _defaultInstance;
5714 :
5715 0 : @$pb.TagNumber(1)
5716 0 : BlockHeader_raw get rawData => $_getN(0);
5717 0 : @$pb.TagNumber(1)
5718 : set rawData(BlockHeader_raw v) {
5719 0 : setField(1, v);
5720 : }
5721 :
5722 0 : @$pb.TagNumber(1)
5723 0 : $core.bool hasRawData() => $_has(0);
5724 0 : @$pb.TagNumber(1)
5725 0 : void clearRawData() => clearField(1);
5726 0 : @$pb.TagNumber(1)
5727 0 : BlockHeader_raw ensureRawData() => $_ensure(0);
5728 :
5729 0 : @$pb.TagNumber(2)
5730 0 : $core.List<$core.int> get witnessSignature => $_getN(1);
5731 0 : @$pb.TagNumber(2)
5732 : set witnessSignature($core.List<$core.int> v) {
5733 0 : $_setBytes(1, v);
5734 : }
5735 :
5736 0 : @$pb.TagNumber(2)
5737 0 : $core.bool hasWitnessSignature() => $_has(1);
5738 0 : @$pb.TagNumber(2)
5739 0 : void clearWitnessSignature() => clearField(2);
5740 : }
5741 :
5742 : /// block
5743 : class Block extends $pb.GeneratedMessage {
5744 0 : factory Block({
5745 : $core.Iterable<Transaction>? transactions,
5746 : BlockHeader? blockHeader,
5747 : }) {
5748 0 : final $result = create();
5749 : if (transactions != null) {
5750 0 : $result.transactions.addAll(transactions);
5751 : }
5752 : if (blockHeader != null) {
5753 0 : $result.blockHeader = blockHeader;
5754 : }
5755 : return $result;
5756 : }
5757 0 : Block._() : super();
5758 0 : factory Block.fromBuffer($core.List<$core.int> i,
5759 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5760 0 : create()..mergeFromBuffer(i, r);
5761 0 : factory Block.fromJson($core.String i,
5762 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5763 0 : create()..mergeFromJson(i, r);
5764 :
5765 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5766 : _omitMessageNames ? '' : 'Block',
5767 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5768 : createEmptyInstance: create)
5769 0 : ..pc<Transaction>(
5770 : 1, _omitFieldNames ? '' : 'transactions', $pb.PbFieldType.PM,
5771 : subBuilder: Transaction.create)
5772 0 : ..aOM<BlockHeader>(2, _omitFieldNames ? '' : 'blockHeader',
5773 : subBuilder: BlockHeader.create)
5774 0 : ..hasRequiredFields = false;
5775 :
5776 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5777 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5778 : 'Will be removed in next major version')
5779 0 : Block clone() => Block()..mergeFromMessage(this);
5780 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5781 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5782 : 'Will be removed in next major version')
5783 : Block copyWith(void Function(Block) updates) =>
5784 0 : super.copyWith((message) => updates(message as Block)) as Block;
5785 :
5786 0 : $pb.BuilderInfo get info_ => _i;
5787 :
5788 0 : @$core.pragma('dart2js:noInline')
5789 0 : static Block create() => Block._();
5790 0 : Block createEmptyInstance() => create();
5791 0 : static $pb.PbList<Block> createRepeated() => $pb.PbList<Block>();
5792 0 : @$core.pragma('dart2js:noInline')
5793 : static Block getDefault() =>
5794 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Block>(create);
5795 : static Block? _defaultInstance;
5796 :
5797 0 : @$pb.TagNumber(1)
5798 0 : $core.List<Transaction> get transactions => $_getList(0);
5799 :
5800 0 : @$pb.TagNumber(2)
5801 0 : BlockHeader get blockHeader => $_getN(1);
5802 0 : @$pb.TagNumber(2)
5803 : set blockHeader(BlockHeader v) {
5804 0 : setField(2, v);
5805 : }
5806 :
5807 0 : @$pb.TagNumber(2)
5808 0 : $core.bool hasBlockHeader() => $_has(1);
5809 0 : @$pb.TagNumber(2)
5810 0 : void clearBlockHeader() => clearField(2);
5811 0 : @$pb.TagNumber(2)
5812 0 : BlockHeader ensureBlockHeader() => $_ensure(1);
5813 : }
5814 :
5815 : class ChainInventory_BlockId extends $pb.GeneratedMessage {
5816 0 : factory ChainInventory_BlockId({
5817 : $core.List<$core.int>? hash,
5818 : $fixnum.Int64? number,
5819 : }) {
5820 0 : final $result = create();
5821 : if (hash != null) {
5822 0 : $result.hash = hash;
5823 : }
5824 : if (number != null) {
5825 0 : $result.number = number;
5826 : }
5827 : return $result;
5828 : }
5829 0 : ChainInventory_BlockId._() : super();
5830 0 : factory ChainInventory_BlockId.fromBuffer($core.List<$core.int> i,
5831 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5832 0 : create()..mergeFromBuffer(i, r);
5833 0 : factory ChainInventory_BlockId.fromJson($core.String i,
5834 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5835 0 : create()..mergeFromJson(i, r);
5836 :
5837 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5838 : _omitMessageNames ? '' : 'ChainInventory.BlockId',
5839 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5840 : createEmptyInstance: create)
5841 0 : ..a<$core.List<$core.int>>(
5842 : 1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
5843 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
5844 0 : ..hasRequiredFields = false;
5845 :
5846 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5847 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5848 : 'Will be removed in next major version')
5849 : ChainInventory_BlockId clone() =>
5850 0 : ChainInventory_BlockId()..mergeFromMessage(this);
5851 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5852 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5853 : 'Will be removed in next major version')
5854 : ChainInventory_BlockId copyWith(
5855 : void Function(ChainInventory_BlockId) updates) =>
5856 0 : super.copyWith((message) => updates(message as ChainInventory_BlockId))
5857 : as ChainInventory_BlockId;
5858 :
5859 0 : $pb.BuilderInfo get info_ => _i;
5860 :
5861 0 : @$core.pragma('dart2js:noInline')
5862 0 : static ChainInventory_BlockId create() => ChainInventory_BlockId._();
5863 0 : ChainInventory_BlockId createEmptyInstance() => create();
5864 0 : static $pb.PbList<ChainInventory_BlockId> createRepeated() =>
5865 0 : $pb.PbList<ChainInventory_BlockId>();
5866 0 : @$core.pragma('dart2js:noInline')
5867 : static ChainInventory_BlockId getDefault() => _defaultInstance ??=
5868 0 : $pb.GeneratedMessage.$_defaultFor<ChainInventory_BlockId>(create);
5869 : static ChainInventory_BlockId? _defaultInstance;
5870 :
5871 0 : @$pb.TagNumber(1)
5872 0 : $core.List<$core.int> get hash => $_getN(0);
5873 0 : @$pb.TagNumber(1)
5874 : set hash($core.List<$core.int> v) {
5875 0 : $_setBytes(0, v);
5876 : }
5877 :
5878 0 : @$pb.TagNumber(1)
5879 0 : $core.bool hasHash() => $_has(0);
5880 0 : @$pb.TagNumber(1)
5881 0 : void clearHash() => clearField(1);
5882 :
5883 0 : @$pb.TagNumber(2)
5884 0 : $fixnum.Int64 get number => $_getI64(1);
5885 0 : @$pb.TagNumber(2)
5886 : set number($fixnum.Int64 v) {
5887 0 : $_setInt64(1, v);
5888 : }
5889 :
5890 0 : @$pb.TagNumber(2)
5891 0 : $core.bool hasNumber() => $_has(1);
5892 0 : @$pb.TagNumber(2)
5893 0 : void clearNumber() => clearField(2);
5894 : }
5895 :
5896 : class ChainInventory extends $pb.GeneratedMessage {
5897 0 : factory ChainInventory({
5898 : $core.Iterable<ChainInventory_BlockId>? ids,
5899 : $fixnum.Int64? remainNum,
5900 : }) {
5901 0 : final $result = create();
5902 : if (ids != null) {
5903 0 : $result.ids.addAll(ids);
5904 : }
5905 : if (remainNum != null) {
5906 0 : $result.remainNum = remainNum;
5907 : }
5908 : return $result;
5909 : }
5910 0 : ChainInventory._() : super();
5911 0 : factory ChainInventory.fromBuffer($core.List<$core.int> i,
5912 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5913 0 : create()..mergeFromBuffer(i, r);
5914 0 : factory ChainInventory.fromJson($core.String i,
5915 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5916 0 : create()..mergeFromJson(i, r);
5917 :
5918 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5919 : _omitMessageNames ? '' : 'ChainInventory',
5920 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5921 : createEmptyInstance: create)
5922 0 : ..pc<ChainInventory_BlockId>(
5923 : 1, _omitFieldNames ? '' : 'ids', $pb.PbFieldType.PM,
5924 : subBuilder: ChainInventory_BlockId.create)
5925 0 : ..aInt64(2, _omitFieldNames ? '' : 'remainNum')
5926 0 : ..hasRequiredFields = false;
5927 :
5928 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5929 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5930 : 'Will be removed in next major version')
5931 0 : ChainInventory clone() => ChainInventory()..mergeFromMessage(this);
5932 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5933 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5934 : 'Will be removed in next major version')
5935 : ChainInventory copyWith(void Function(ChainInventory) updates) =>
5936 0 : super.copyWith((message) => updates(message as ChainInventory))
5937 : as ChainInventory;
5938 :
5939 0 : $pb.BuilderInfo get info_ => _i;
5940 :
5941 0 : @$core.pragma('dart2js:noInline')
5942 0 : static ChainInventory create() => ChainInventory._();
5943 0 : ChainInventory createEmptyInstance() => create();
5944 0 : static $pb.PbList<ChainInventory> createRepeated() =>
5945 0 : $pb.PbList<ChainInventory>();
5946 0 : @$core.pragma('dart2js:noInline')
5947 : static ChainInventory getDefault() => _defaultInstance ??=
5948 0 : $pb.GeneratedMessage.$_defaultFor<ChainInventory>(create);
5949 : static ChainInventory? _defaultInstance;
5950 :
5951 0 : @$pb.TagNumber(1)
5952 0 : $core.List<ChainInventory_BlockId> get ids => $_getList(0);
5953 :
5954 0 : @$pb.TagNumber(2)
5955 0 : $fixnum.Int64 get remainNum => $_getI64(1);
5956 0 : @$pb.TagNumber(2)
5957 : set remainNum($fixnum.Int64 v) {
5958 0 : $_setInt64(1, v);
5959 : }
5960 :
5961 0 : @$pb.TagNumber(2)
5962 0 : $core.bool hasRemainNum() => $_has(1);
5963 0 : @$pb.TagNumber(2)
5964 0 : void clearRemainNum() => clearField(2);
5965 : }
5966 :
5967 : class BlockInventory_BlockId extends $pb.GeneratedMessage {
5968 0 : factory BlockInventory_BlockId({
5969 : $core.List<$core.int>? hash,
5970 : $fixnum.Int64? number,
5971 : }) {
5972 0 : final $result = create();
5973 : if (hash != null) {
5974 0 : $result.hash = hash;
5975 : }
5976 : if (number != null) {
5977 0 : $result.number = number;
5978 : }
5979 : return $result;
5980 : }
5981 0 : BlockInventory_BlockId._() : super();
5982 0 : factory BlockInventory_BlockId.fromBuffer($core.List<$core.int> i,
5983 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5984 0 : create()..mergeFromBuffer(i, r);
5985 0 : factory BlockInventory_BlockId.fromJson($core.String i,
5986 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5987 0 : create()..mergeFromJson(i, r);
5988 :
5989 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5990 : _omitMessageNames ? '' : 'BlockInventory.BlockId',
5991 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5992 : createEmptyInstance: create)
5993 0 : ..a<$core.List<$core.int>>(
5994 : 1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
5995 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
5996 0 : ..hasRequiredFields = false;
5997 :
5998 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5999 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6000 : 'Will be removed in next major version')
6001 : BlockInventory_BlockId clone() =>
6002 0 : BlockInventory_BlockId()..mergeFromMessage(this);
6003 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6004 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6005 : 'Will be removed in next major version')
6006 : BlockInventory_BlockId copyWith(
6007 : void Function(BlockInventory_BlockId) updates) =>
6008 0 : super.copyWith((message) => updates(message as BlockInventory_BlockId))
6009 : as BlockInventory_BlockId;
6010 :
6011 0 : $pb.BuilderInfo get info_ => _i;
6012 :
6013 0 : @$core.pragma('dart2js:noInline')
6014 0 : static BlockInventory_BlockId create() => BlockInventory_BlockId._();
6015 0 : BlockInventory_BlockId createEmptyInstance() => create();
6016 0 : static $pb.PbList<BlockInventory_BlockId> createRepeated() =>
6017 0 : $pb.PbList<BlockInventory_BlockId>();
6018 0 : @$core.pragma('dart2js:noInline')
6019 : static BlockInventory_BlockId getDefault() => _defaultInstance ??=
6020 0 : $pb.GeneratedMessage.$_defaultFor<BlockInventory_BlockId>(create);
6021 : static BlockInventory_BlockId? _defaultInstance;
6022 :
6023 0 : @$pb.TagNumber(1)
6024 0 : $core.List<$core.int> get hash => $_getN(0);
6025 0 : @$pb.TagNumber(1)
6026 : set hash($core.List<$core.int> v) {
6027 0 : $_setBytes(0, v);
6028 : }
6029 :
6030 0 : @$pb.TagNumber(1)
6031 0 : $core.bool hasHash() => $_has(0);
6032 0 : @$pb.TagNumber(1)
6033 0 : void clearHash() => clearField(1);
6034 :
6035 0 : @$pb.TagNumber(2)
6036 0 : $fixnum.Int64 get number => $_getI64(1);
6037 0 : @$pb.TagNumber(2)
6038 : set number($fixnum.Int64 v) {
6039 0 : $_setInt64(1, v);
6040 : }
6041 :
6042 0 : @$pb.TagNumber(2)
6043 0 : $core.bool hasNumber() => $_has(1);
6044 0 : @$pb.TagNumber(2)
6045 0 : void clearNumber() => clearField(2);
6046 : }
6047 :
6048 : /// Inventory
6049 : class BlockInventory extends $pb.GeneratedMessage {
6050 0 : factory BlockInventory({
6051 : $core.Iterable<BlockInventory_BlockId>? ids,
6052 : BlockInventory_Type? type,
6053 : }) {
6054 0 : final $result = create();
6055 : if (ids != null) {
6056 0 : $result.ids.addAll(ids);
6057 : }
6058 : if (type != null) {
6059 0 : $result.type = type;
6060 : }
6061 : return $result;
6062 : }
6063 0 : BlockInventory._() : super();
6064 0 : factory BlockInventory.fromBuffer($core.List<$core.int> i,
6065 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6066 0 : create()..mergeFromBuffer(i, r);
6067 0 : factory BlockInventory.fromJson($core.String i,
6068 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6069 0 : create()..mergeFromJson(i, r);
6070 :
6071 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6072 : _omitMessageNames ? '' : 'BlockInventory',
6073 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6074 : createEmptyInstance: create)
6075 0 : ..pc<BlockInventory_BlockId>(
6076 : 1, _omitFieldNames ? '' : 'ids', $pb.PbFieldType.PM,
6077 : subBuilder: BlockInventory_BlockId.create)
6078 0 : ..e<BlockInventory_Type>(
6079 : 2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
6080 : defaultOrMaker: BlockInventory_Type.SYNC,
6081 : valueOf: BlockInventory_Type.valueOf,
6082 : enumValues: BlockInventory_Type.values)
6083 0 : ..hasRequiredFields = false;
6084 :
6085 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6086 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6087 : 'Will be removed in next major version')
6088 0 : BlockInventory clone() => BlockInventory()..mergeFromMessage(this);
6089 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6090 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6091 : 'Will be removed in next major version')
6092 : BlockInventory copyWith(void Function(BlockInventory) updates) =>
6093 0 : super.copyWith((message) => updates(message as BlockInventory))
6094 : as BlockInventory;
6095 :
6096 0 : $pb.BuilderInfo get info_ => _i;
6097 :
6098 0 : @$core.pragma('dart2js:noInline')
6099 0 : static BlockInventory create() => BlockInventory._();
6100 0 : BlockInventory createEmptyInstance() => create();
6101 0 : static $pb.PbList<BlockInventory> createRepeated() =>
6102 0 : $pb.PbList<BlockInventory>();
6103 0 : @$core.pragma('dart2js:noInline')
6104 : static BlockInventory getDefault() => _defaultInstance ??=
6105 0 : $pb.GeneratedMessage.$_defaultFor<BlockInventory>(create);
6106 : static BlockInventory? _defaultInstance;
6107 :
6108 0 : @$pb.TagNumber(1)
6109 0 : $core.List<BlockInventory_BlockId> get ids => $_getList(0);
6110 :
6111 0 : @$pb.TagNumber(2)
6112 0 : BlockInventory_Type get type => $_getN(1);
6113 0 : @$pb.TagNumber(2)
6114 : set type(BlockInventory_Type v) {
6115 0 : setField(2, v);
6116 : }
6117 :
6118 0 : @$pb.TagNumber(2)
6119 0 : $core.bool hasType() => $_has(1);
6120 0 : @$pb.TagNumber(2)
6121 0 : void clearType() => clearField(2);
6122 : }
6123 :
6124 : class Inventory extends $pb.GeneratedMessage {
6125 0 : factory Inventory({
6126 : Inventory_InventoryType? type,
6127 : $core.Iterable<$core.List<$core.int>>? ids,
6128 : }) {
6129 0 : final $result = create();
6130 : if (type != null) {
6131 0 : $result.type = type;
6132 : }
6133 : if (ids != null) {
6134 0 : $result.ids.addAll(ids);
6135 : }
6136 : return $result;
6137 : }
6138 0 : Inventory._() : super();
6139 0 : factory Inventory.fromBuffer($core.List<$core.int> i,
6140 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6141 0 : create()..mergeFromBuffer(i, r);
6142 0 : factory Inventory.fromJson($core.String i,
6143 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6144 0 : create()..mergeFromJson(i, r);
6145 :
6146 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6147 : _omitMessageNames ? '' : 'Inventory',
6148 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6149 : createEmptyInstance: create)
6150 0 : ..e<Inventory_InventoryType>(
6151 : 1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
6152 : defaultOrMaker: Inventory_InventoryType.TRX,
6153 : valueOf: Inventory_InventoryType.valueOf,
6154 : enumValues: Inventory_InventoryType.values)
6155 0 : ..p<$core.List<$core.int>>(
6156 : 2, _omitFieldNames ? '' : 'ids', $pb.PbFieldType.PY)
6157 0 : ..hasRequiredFields = false;
6158 :
6159 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6160 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6161 : 'Will be removed in next major version')
6162 0 : Inventory clone() => Inventory()..mergeFromMessage(this);
6163 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6164 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6165 : 'Will be removed in next major version')
6166 : Inventory copyWith(void Function(Inventory) updates) =>
6167 0 : super.copyWith((message) => updates(message as Inventory)) as Inventory;
6168 :
6169 0 : $pb.BuilderInfo get info_ => _i;
6170 :
6171 0 : @$core.pragma('dart2js:noInline')
6172 0 : static Inventory create() => Inventory._();
6173 0 : Inventory createEmptyInstance() => create();
6174 0 : static $pb.PbList<Inventory> createRepeated() => $pb.PbList<Inventory>();
6175 0 : @$core.pragma('dart2js:noInline')
6176 : static Inventory getDefault() =>
6177 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Inventory>(create);
6178 : static Inventory? _defaultInstance;
6179 :
6180 0 : @$pb.TagNumber(1)
6181 0 : Inventory_InventoryType get type => $_getN(0);
6182 0 : @$pb.TagNumber(1)
6183 : set type(Inventory_InventoryType v) {
6184 0 : setField(1, v);
6185 : }
6186 :
6187 0 : @$pb.TagNumber(1)
6188 0 : $core.bool hasType() => $_has(0);
6189 0 : @$pb.TagNumber(1)
6190 0 : void clearType() => clearField(1);
6191 :
6192 0 : @$pb.TagNumber(2)
6193 0 : $core.List<$core.List<$core.int>> get ids => $_getList(1);
6194 : }
6195 :
6196 : class Items extends $pb.GeneratedMessage {
6197 0 : factory Items({
6198 : Items_ItemType? type,
6199 : $core.Iterable<Block>? blocks,
6200 : $core.Iterable<BlockHeader>? blockHeaders,
6201 : $core.Iterable<Transaction>? transactions,
6202 : }) {
6203 0 : final $result = create();
6204 : if (type != null) {
6205 0 : $result.type = type;
6206 : }
6207 : if (blocks != null) {
6208 0 : $result.blocks.addAll(blocks);
6209 : }
6210 : if (blockHeaders != null) {
6211 0 : $result.blockHeaders.addAll(blockHeaders);
6212 : }
6213 : if (transactions != null) {
6214 0 : $result.transactions.addAll(transactions);
6215 : }
6216 : return $result;
6217 : }
6218 0 : Items._() : super();
6219 0 : factory Items.fromBuffer($core.List<$core.int> i,
6220 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6221 0 : create()..mergeFromBuffer(i, r);
6222 0 : factory Items.fromJson($core.String i,
6223 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6224 0 : create()..mergeFromJson(i, r);
6225 :
6226 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6227 : _omitMessageNames ? '' : 'Items',
6228 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6229 : createEmptyInstance: create)
6230 0 : ..e<Items_ItemType>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
6231 : defaultOrMaker: Items_ItemType.ERR,
6232 : valueOf: Items_ItemType.valueOf,
6233 : enumValues: Items_ItemType.values)
6234 0 : ..pc<Block>(2, _omitFieldNames ? '' : 'blocks', $pb.PbFieldType.PM,
6235 : subBuilder: Block.create)
6236 0 : ..pc<BlockHeader>(
6237 : 3, _omitFieldNames ? '' : 'blockHeaders', $pb.PbFieldType.PM,
6238 : subBuilder: BlockHeader.create)
6239 0 : ..pc<Transaction>(
6240 : 4, _omitFieldNames ? '' : 'transactions', $pb.PbFieldType.PM,
6241 : subBuilder: Transaction.create)
6242 0 : ..hasRequiredFields = false;
6243 :
6244 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6245 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6246 : 'Will be removed in next major version')
6247 0 : Items clone() => Items()..mergeFromMessage(this);
6248 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6249 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6250 : 'Will be removed in next major version')
6251 : Items copyWith(void Function(Items) updates) =>
6252 0 : super.copyWith((message) => updates(message as Items)) as Items;
6253 :
6254 0 : $pb.BuilderInfo get info_ => _i;
6255 :
6256 0 : @$core.pragma('dart2js:noInline')
6257 0 : static Items create() => Items._();
6258 0 : Items createEmptyInstance() => create();
6259 0 : static $pb.PbList<Items> createRepeated() => $pb.PbList<Items>();
6260 0 : @$core.pragma('dart2js:noInline')
6261 : static Items getDefault() =>
6262 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Items>(create);
6263 : static Items? _defaultInstance;
6264 :
6265 0 : @$pb.TagNumber(1)
6266 0 : Items_ItemType get type => $_getN(0);
6267 0 : @$pb.TagNumber(1)
6268 : set type(Items_ItemType v) {
6269 0 : setField(1, v);
6270 : }
6271 :
6272 0 : @$pb.TagNumber(1)
6273 0 : $core.bool hasType() => $_has(0);
6274 0 : @$pb.TagNumber(1)
6275 0 : void clearType() => clearField(1);
6276 :
6277 0 : @$pb.TagNumber(2)
6278 0 : $core.List<Block> get blocks => $_getList(1);
6279 :
6280 0 : @$pb.TagNumber(3)
6281 0 : $core.List<BlockHeader> get blockHeaders => $_getList(2);
6282 :
6283 0 : @$pb.TagNumber(4)
6284 0 : $core.List<Transaction> get transactions => $_getList(3);
6285 : }
6286 :
6287 : /// DynamicProperties
6288 : class DynamicProperties extends $pb.GeneratedMessage {
6289 0 : factory DynamicProperties({
6290 : $fixnum.Int64? lastSolidityBlockNum,
6291 : }) {
6292 0 : final $result = create();
6293 : if (lastSolidityBlockNum != null) {
6294 0 : $result.lastSolidityBlockNum = lastSolidityBlockNum;
6295 : }
6296 : return $result;
6297 : }
6298 0 : DynamicProperties._() : super();
6299 0 : factory DynamicProperties.fromBuffer($core.List<$core.int> i,
6300 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6301 0 : create()..mergeFromBuffer(i, r);
6302 0 : factory DynamicProperties.fromJson($core.String i,
6303 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6304 0 : create()..mergeFromJson(i, r);
6305 :
6306 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6307 : _omitMessageNames ? '' : 'DynamicProperties',
6308 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6309 : createEmptyInstance: create)
6310 0 : ..aInt64(1, _omitFieldNames ? '' : 'lastSolidityBlockNum')
6311 0 : ..hasRequiredFields = false;
6312 :
6313 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6314 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6315 : 'Will be removed in next major version')
6316 0 : DynamicProperties clone() => DynamicProperties()..mergeFromMessage(this);
6317 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6318 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6319 : 'Will be removed in next major version')
6320 : DynamicProperties copyWith(void Function(DynamicProperties) updates) =>
6321 0 : super.copyWith((message) => updates(message as DynamicProperties))
6322 : as DynamicProperties;
6323 :
6324 0 : $pb.BuilderInfo get info_ => _i;
6325 :
6326 0 : @$core.pragma('dart2js:noInline')
6327 0 : static DynamicProperties create() => DynamicProperties._();
6328 0 : DynamicProperties createEmptyInstance() => create();
6329 0 : static $pb.PbList<DynamicProperties> createRepeated() =>
6330 0 : $pb.PbList<DynamicProperties>();
6331 0 : @$core.pragma('dart2js:noInline')
6332 : static DynamicProperties getDefault() => _defaultInstance ??=
6333 0 : $pb.GeneratedMessage.$_defaultFor<DynamicProperties>(create);
6334 : static DynamicProperties? _defaultInstance;
6335 :
6336 0 : @$pb.TagNumber(1)
6337 0 : $fixnum.Int64 get lastSolidityBlockNum => $_getI64(0);
6338 0 : @$pb.TagNumber(1)
6339 : set lastSolidityBlockNum($fixnum.Int64 v) {
6340 0 : $_setInt64(0, v);
6341 : }
6342 :
6343 0 : @$pb.TagNumber(1)
6344 0 : $core.bool hasLastSolidityBlockNum() => $_has(0);
6345 0 : @$pb.TagNumber(1)
6346 0 : void clearLastSolidityBlockNum() => clearField(1);
6347 : }
6348 :
6349 : class DisconnectMessage extends $pb.GeneratedMessage {
6350 0 : factory DisconnectMessage({
6351 : ReasonCode? reason,
6352 : }) {
6353 0 : final $result = create();
6354 : if (reason != null) {
6355 0 : $result.reason = reason;
6356 : }
6357 : return $result;
6358 : }
6359 0 : DisconnectMessage._() : super();
6360 0 : factory DisconnectMessage.fromBuffer($core.List<$core.int> i,
6361 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6362 0 : create()..mergeFromBuffer(i, r);
6363 0 : factory DisconnectMessage.fromJson($core.String i,
6364 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6365 0 : create()..mergeFromJson(i, r);
6366 :
6367 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6368 : _omitMessageNames ? '' : 'DisconnectMessage',
6369 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6370 : createEmptyInstance: create)
6371 0 : ..e<ReasonCode>(1, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE,
6372 : defaultOrMaker: ReasonCode.REQUESTED,
6373 : valueOf: ReasonCode.valueOf,
6374 : enumValues: ReasonCode.values)
6375 0 : ..hasRequiredFields = false;
6376 :
6377 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6378 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6379 : 'Will be removed in next major version')
6380 0 : DisconnectMessage clone() => DisconnectMessage()..mergeFromMessage(this);
6381 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6382 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6383 : 'Will be removed in next major version')
6384 : DisconnectMessage copyWith(void Function(DisconnectMessage) updates) =>
6385 0 : super.copyWith((message) => updates(message as DisconnectMessage))
6386 : as DisconnectMessage;
6387 :
6388 0 : $pb.BuilderInfo get info_ => _i;
6389 :
6390 0 : @$core.pragma('dart2js:noInline')
6391 0 : static DisconnectMessage create() => DisconnectMessage._();
6392 0 : DisconnectMessage createEmptyInstance() => create();
6393 0 : static $pb.PbList<DisconnectMessage> createRepeated() =>
6394 0 : $pb.PbList<DisconnectMessage>();
6395 0 : @$core.pragma('dart2js:noInline')
6396 : static DisconnectMessage getDefault() => _defaultInstance ??=
6397 0 : $pb.GeneratedMessage.$_defaultFor<DisconnectMessage>(create);
6398 : static DisconnectMessage? _defaultInstance;
6399 :
6400 0 : @$pb.TagNumber(1)
6401 0 : ReasonCode get reason => $_getN(0);
6402 0 : @$pb.TagNumber(1)
6403 : set reason(ReasonCode v) {
6404 0 : setField(1, v);
6405 : }
6406 :
6407 0 : @$pb.TagNumber(1)
6408 0 : $core.bool hasReason() => $_has(0);
6409 0 : @$pb.TagNumber(1)
6410 0 : void clearReason() => clearField(1);
6411 : }
6412 :
6413 : class HelloMessage_BlockId extends $pb.GeneratedMessage {
6414 0 : factory HelloMessage_BlockId({
6415 : $core.List<$core.int>? hash,
6416 : $fixnum.Int64? number,
6417 : }) {
6418 0 : final $result = create();
6419 : if (hash != null) {
6420 0 : $result.hash = hash;
6421 : }
6422 : if (number != null) {
6423 0 : $result.number = number;
6424 : }
6425 : return $result;
6426 : }
6427 0 : HelloMessage_BlockId._() : super();
6428 0 : factory HelloMessage_BlockId.fromBuffer($core.List<$core.int> i,
6429 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6430 0 : create()..mergeFromBuffer(i, r);
6431 0 : factory HelloMessage_BlockId.fromJson($core.String i,
6432 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6433 0 : create()..mergeFromJson(i, r);
6434 :
6435 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6436 : _omitMessageNames ? '' : 'HelloMessage.BlockId',
6437 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6438 : createEmptyInstance: create)
6439 0 : ..a<$core.List<$core.int>>(
6440 : 1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
6441 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
6442 0 : ..hasRequiredFields = false;
6443 :
6444 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6445 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6446 : 'Will be removed in next major version')
6447 : HelloMessage_BlockId clone() =>
6448 0 : HelloMessage_BlockId()..mergeFromMessage(this);
6449 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6450 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6451 : 'Will be removed in next major version')
6452 : HelloMessage_BlockId copyWith(void Function(HelloMessage_BlockId) updates) =>
6453 0 : super.copyWith((message) => updates(message as HelloMessage_BlockId))
6454 : as HelloMessage_BlockId;
6455 :
6456 0 : $pb.BuilderInfo get info_ => _i;
6457 :
6458 0 : @$core.pragma('dart2js:noInline')
6459 0 : static HelloMessage_BlockId create() => HelloMessage_BlockId._();
6460 0 : HelloMessage_BlockId createEmptyInstance() => create();
6461 0 : static $pb.PbList<HelloMessage_BlockId> createRepeated() =>
6462 0 : $pb.PbList<HelloMessage_BlockId>();
6463 0 : @$core.pragma('dart2js:noInline')
6464 : static HelloMessage_BlockId getDefault() => _defaultInstance ??=
6465 0 : $pb.GeneratedMessage.$_defaultFor<HelloMessage_BlockId>(create);
6466 : static HelloMessage_BlockId? _defaultInstance;
6467 :
6468 0 : @$pb.TagNumber(1)
6469 0 : $core.List<$core.int> get hash => $_getN(0);
6470 0 : @$pb.TagNumber(1)
6471 : set hash($core.List<$core.int> v) {
6472 0 : $_setBytes(0, v);
6473 : }
6474 :
6475 0 : @$pb.TagNumber(1)
6476 0 : $core.bool hasHash() => $_has(0);
6477 0 : @$pb.TagNumber(1)
6478 0 : void clearHash() => clearField(1);
6479 :
6480 0 : @$pb.TagNumber(2)
6481 0 : $fixnum.Int64 get number => $_getI64(1);
6482 0 : @$pb.TagNumber(2)
6483 : set number($fixnum.Int64 v) {
6484 0 : $_setInt64(1, v);
6485 : }
6486 :
6487 0 : @$pb.TagNumber(2)
6488 0 : $core.bool hasNumber() => $_has(1);
6489 0 : @$pb.TagNumber(2)
6490 0 : void clearNumber() => clearField(2);
6491 : }
6492 :
6493 : class HelloMessage extends $pb.GeneratedMessage {
6494 0 : factory HelloMessage({
6495 : $13.Endpoint? from,
6496 : $core.int? version,
6497 : $fixnum.Int64? timestamp,
6498 : HelloMessage_BlockId? genesisBlockId,
6499 : HelloMessage_BlockId? solidBlockId,
6500 : HelloMessage_BlockId? headBlockId,
6501 : $core.List<$core.int>? address,
6502 : $core.List<$core.int>? signature,
6503 : $core.int? nodeType,
6504 : $fixnum.Int64? lowestBlockNum,
6505 : $core.List<$core.int>? codeVersion,
6506 : }) {
6507 0 : final $result = create();
6508 : if (from != null) {
6509 0 : $result.from = from;
6510 : }
6511 : if (version != null) {
6512 0 : $result.version = version;
6513 : }
6514 : if (timestamp != null) {
6515 0 : $result.timestamp = timestamp;
6516 : }
6517 : if (genesisBlockId != null) {
6518 0 : $result.genesisBlockId = genesisBlockId;
6519 : }
6520 : if (solidBlockId != null) {
6521 0 : $result.solidBlockId = solidBlockId;
6522 : }
6523 : if (headBlockId != null) {
6524 0 : $result.headBlockId = headBlockId;
6525 : }
6526 : if (address != null) {
6527 0 : $result.address = address;
6528 : }
6529 : if (signature != null) {
6530 0 : $result.signature = signature;
6531 : }
6532 : if (nodeType != null) {
6533 0 : $result.nodeType = nodeType;
6534 : }
6535 : if (lowestBlockNum != null) {
6536 0 : $result.lowestBlockNum = lowestBlockNum;
6537 : }
6538 : if (codeVersion != null) {
6539 0 : $result.codeVersion = codeVersion;
6540 : }
6541 : return $result;
6542 : }
6543 0 : HelloMessage._() : super();
6544 0 : factory HelloMessage.fromBuffer($core.List<$core.int> i,
6545 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6546 0 : create()..mergeFromBuffer(i, r);
6547 0 : factory HelloMessage.fromJson($core.String i,
6548 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6549 0 : create()..mergeFromJson(i, r);
6550 :
6551 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6552 : _omitMessageNames ? '' : 'HelloMessage',
6553 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6554 : createEmptyInstance: create)
6555 0 : ..aOM<$13.Endpoint>(1, _omitFieldNames ? '' : 'from',
6556 : subBuilder: $13.Endpoint.create)
6557 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
6558 0 : ..aInt64(3, _omitFieldNames ? '' : 'timestamp')
6559 0 : ..aOM<HelloMessage_BlockId>(4, _omitFieldNames ? '' : 'genesisBlockId',
6560 : protoName: 'genesisBlockId', subBuilder: HelloMessage_BlockId.create)
6561 0 : ..aOM<HelloMessage_BlockId>(5, _omitFieldNames ? '' : 'solidBlockId',
6562 : protoName: 'solidBlockId', subBuilder: HelloMessage_BlockId.create)
6563 0 : ..aOM<HelloMessage_BlockId>(6, _omitFieldNames ? '' : 'headBlockId',
6564 : protoName: 'headBlockId', subBuilder: HelloMessage_BlockId.create)
6565 0 : ..a<$core.List<$core.int>>(
6566 : 7, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
6567 0 : ..a<$core.List<$core.int>>(
6568 : 8, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
6569 0 : ..a<$core.int>(9, _omitFieldNames ? '' : 'nodeType', $pb.PbFieldType.O3,
6570 : protoName: 'nodeType')
6571 0 : ..aInt64(10, _omitFieldNames ? '' : 'lowestBlockNum',
6572 : protoName: 'lowestBlockNum')
6573 0 : ..a<$core.List<$core.int>>(
6574 : 11, _omitFieldNames ? '' : 'codeVersion', $pb.PbFieldType.OY,
6575 : protoName: 'codeVersion')
6576 0 : ..hasRequiredFields = false;
6577 :
6578 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6579 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6580 : 'Will be removed in next major version')
6581 0 : HelloMessage clone() => HelloMessage()..mergeFromMessage(this);
6582 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6583 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6584 : 'Will be removed in next major version')
6585 : HelloMessage copyWith(void Function(HelloMessage) updates) =>
6586 0 : super.copyWith((message) => updates(message as HelloMessage))
6587 : as HelloMessage;
6588 :
6589 0 : $pb.BuilderInfo get info_ => _i;
6590 :
6591 0 : @$core.pragma('dart2js:noInline')
6592 0 : static HelloMessage create() => HelloMessage._();
6593 0 : HelloMessage createEmptyInstance() => create();
6594 0 : static $pb.PbList<HelloMessage> createRepeated() =>
6595 0 : $pb.PbList<HelloMessage>();
6596 0 : @$core.pragma('dart2js:noInline')
6597 : static HelloMessage getDefault() => _defaultInstance ??=
6598 0 : $pb.GeneratedMessage.$_defaultFor<HelloMessage>(create);
6599 : static HelloMessage? _defaultInstance;
6600 :
6601 0 : @$pb.TagNumber(1)
6602 0 : $13.Endpoint get from => $_getN(0);
6603 0 : @$pb.TagNumber(1)
6604 : set from($13.Endpoint v) {
6605 0 : setField(1, v);
6606 : }
6607 :
6608 0 : @$pb.TagNumber(1)
6609 0 : $core.bool hasFrom() => $_has(0);
6610 0 : @$pb.TagNumber(1)
6611 0 : void clearFrom() => clearField(1);
6612 0 : @$pb.TagNumber(1)
6613 0 : $13.Endpoint ensureFrom() => $_ensure(0);
6614 :
6615 0 : @$pb.TagNumber(2)
6616 0 : $core.int get version => $_getIZ(1);
6617 0 : @$pb.TagNumber(2)
6618 : set version($core.int v) {
6619 0 : $_setSignedInt32(1, v);
6620 : }
6621 :
6622 0 : @$pb.TagNumber(2)
6623 0 : $core.bool hasVersion() => $_has(1);
6624 0 : @$pb.TagNumber(2)
6625 0 : void clearVersion() => clearField(2);
6626 :
6627 0 : @$pb.TagNumber(3)
6628 0 : $fixnum.Int64 get timestamp => $_getI64(2);
6629 0 : @$pb.TagNumber(3)
6630 : set timestamp($fixnum.Int64 v) {
6631 0 : $_setInt64(2, v);
6632 : }
6633 :
6634 0 : @$pb.TagNumber(3)
6635 0 : $core.bool hasTimestamp() => $_has(2);
6636 0 : @$pb.TagNumber(3)
6637 0 : void clearTimestamp() => clearField(3);
6638 :
6639 0 : @$pb.TagNumber(4)
6640 0 : HelloMessage_BlockId get genesisBlockId => $_getN(3);
6641 0 : @$pb.TagNumber(4)
6642 : set genesisBlockId(HelloMessage_BlockId v) {
6643 0 : setField(4, v);
6644 : }
6645 :
6646 0 : @$pb.TagNumber(4)
6647 0 : $core.bool hasGenesisBlockId() => $_has(3);
6648 0 : @$pb.TagNumber(4)
6649 0 : void clearGenesisBlockId() => clearField(4);
6650 0 : @$pb.TagNumber(4)
6651 0 : HelloMessage_BlockId ensureGenesisBlockId() => $_ensure(3);
6652 :
6653 0 : @$pb.TagNumber(5)
6654 0 : HelloMessage_BlockId get solidBlockId => $_getN(4);
6655 0 : @$pb.TagNumber(5)
6656 : set solidBlockId(HelloMessage_BlockId v) {
6657 0 : setField(5, v);
6658 : }
6659 :
6660 0 : @$pb.TagNumber(5)
6661 0 : $core.bool hasSolidBlockId() => $_has(4);
6662 0 : @$pb.TagNumber(5)
6663 0 : void clearSolidBlockId() => clearField(5);
6664 0 : @$pb.TagNumber(5)
6665 0 : HelloMessage_BlockId ensureSolidBlockId() => $_ensure(4);
6666 :
6667 0 : @$pb.TagNumber(6)
6668 0 : HelloMessage_BlockId get headBlockId => $_getN(5);
6669 0 : @$pb.TagNumber(6)
6670 : set headBlockId(HelloMessage_BlockId v) {
6671 0 : setField(6, v);
6672 : }
6673 :
6674 0 : @$pb.TagNumber(6)
6675 0 : $core.bool hasHeadBlockId() => $_has(5);
6676 0 : @$pb.TagNumber(6)
6677 0 : void clearHeadBlockId() => clearField(6);
6678 0 : @$pb.TagNumber(6)
6679 0 : HelloMessage_BlockId ensureHeadBlockId() => $_ensure(5);
6680 :
6681 0 : @$pb.TagNumber(7)
6682 0 : $core.List<$core.int> get address => $_getN(6);
6683 0 : @$pb.TagNumber(7)
6684 : set address($core.List<$core.int> v) {
6685 0 : $_setBytes(6, v);
6686 : }
6687 :
6688 0 : @$pb.TagNumber(7)
6689 0 : $core.bool hasAddress() => $_has(6);
6690 0 : @$pb.TagNumber(7)
6691 0 : void clearAddress() => clearField(7);
6692 :
6693 0 : @$pb.TagNumber(8)
6694 0 : $core.List<$core.int> get signature => $_getN(7);
6695 0 : @$pb.TagNumber(8)
6696 : set signature($core.List<$core.int> v) {
6697 0 : $_setBytes(7, v);
6698 : }
6699 :
6700 0 : @$pb.TagNumber(8)
6701 0 : $core.bool hasSignature() => $_has(7);
6702 0 : @$pb.TagNumber(8)
6703 0 : void clearSignature() => clearField(8);
6704 :
6705 0 : @$pb.TagNumber(9)
6706 0 : $core.int get nodeType => $_getIZ(8);
6707 0 : @$pb.TagNumber(9)
6708 : set nodeType($core.int v) {
6709 0 : $_setSignedInt32(8, v);
6710 : }
6711 :
6712 0 : @$pb.TagNumber(9)
6713 0 : $core.bool hasNodeType() => $_has(8);
6714 0 : @$pb.TagNumber(9)
6715 0 : void clearNodeType() => clearField(9);
6716 :
6717 0 : @$pb.TagNumber(10)
6718 0 : $fixnum.Int64 get lowestBlockNum => $_getI64(9);
6719 0 : @$pb.TagNumber(10)
6720 : set lowestBlockNum($fixnum.Int64 v) {
6721 0 : $_setInt64(9, v);
6722 : }
6723 :
6724 0 : @$pb.TagNumber(10)
6725 0 : $core.bool hasLowestBlockNum() => $_has(9);
6726 0 : @$pb.TagNumber(10)
6727 0 : void clearLowestBlockNum() => clearField(10);
6728 :
6729 0 : @$pb.TagNumber(11)
6730 0 : $core.List<$core.int> get codeVersion => $_getN(10);
6731 0 : @$pb.TagNumber(11)
6732 : set codeVersion($core.List<$core.int> v) {
6733 0 : $_setBytes(10, v);
6734 : }
6735 :
6736 0 : @$pb.TagNumber(11)
6737 0 : $core.bool hasCodeVersion() => $_has(10);
6738 0 : @$pb.TagNumber(11)
6739 0 : void clearCodeVersion() => clearField(11);
6740 : }
6741 :
6742 : class InternalTransaction_CallValueInfo extends $pb.GeneratedMessage {
6743 0 : factory InternalTransaction_CallValueInfo({
6744 : $fixnum.Int64? callValue,
6745 : $core.String? tokenId,
6746 : }) {
6747 0 : final $result = create();
6748 : if (callValue != null) {
6749 0 : $result.callValue = callValue;
6750 : }
6751 : if (tokenId != null) {
6752 0 : $result.tokenId = tokenId;
6753 : }
6754 : return $result;
6755 : }
6756 0 : InternalTransaction_CallValueInfo._() : super();
6757 0 : factory InternalTransaction_CallValueInfo.fromBuffer($core.List<$core.int> i,
6758 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6759 0 : create()..mergeFromBuffer(i, r);
6760 0 : factory InternalTransaction_CallValueInfo.fromJson($core.String i,
6761 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6762 0 : create()..mergeFromJson(i, r);
6763 :
6764 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6765 : _omitMessageNames ? '' : 'InternalTransaction.CallValueInfo',
6766 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6767 : createEmptyInstance: create)
6768 0 : ..aInt64(1, _omitFieldNames ? '' : 'callValue', protoName: 'callValue')
6769 0 : ..aOS(2, _omitFieldNames ? '' : 'tokenId', protoName: 'tokenId')
6770 0 : ..hasRequiredFields = false;
6771 :
6772 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6773 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6774 : 'Will be removed in next major version')
6775 : InternalTransaction_CallValueInfo clone() =>
6776 0 : InternalTransaction_CallValueInfo()..mergeFromMessage(this);
6777 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6778 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6779 : 'Will be removed in next major version')
6780 : InternalTransaction_CallValueInfo copyWith(
6781 : void Function(InternalTransaction_CallValueInfo) updates) =>
6782 0 : super.copyWith((message) =>
6783 0 : updates(message as InternalTransaction_CallValueInfo))
6784 : as InternalTransaction_CallValueInfo;
6785 :
6786 0 : $pb.BuilderInfo get info_ => _i;
6787 :
6788 0 : @$core.pragma('dart2js:noInline')
6789 : static InternalTransaction_CallValueInfo create() =>
6790 0 : InternalTransaction_CallValueInfo._();
6791 0 : InternalTransaction_CallValueInfo createEmptyInstance() => create();
6792 0 : static $pb.PbList<InternalTransaction_CallValueInfo> createRepeated() =>
6793 0 : $pb.PbList<InternalTransaction_CallValueInfo>();
6794 0 : @$core.pragma('dart2js:noInline')
6795 : static InternalTransaction_CallValueInfo getDefault() => _defaultInstance ??=
6796 0 : $pb.GeneratedMessage.$_defaultFor<InternalTransaction_CallValueInfo>(
6797 : create);
6798 : static InternalTransaction_CallValueInfo? _defaultInstance;
6799 :
6800 : /// trx (TBD: or token) value
6801 0 : @$pb.TagNumber(1)
6802 0 : $fixnum.Int64 get callValue => $_getI64(0);
6803 0 : @$pb.TagNumber(1)
6804 : set callValue($fixnum.Int64 v) {
6805 0 : $_setInt64(0, v);
6806 : }
6807 :
6808 0 : @$pb.TagNumber(1)
6809 0 : $core.bool hasCallValue() => $_has(0);
6810 0 : @$pb.TagNumber(1)
6811 0 : void clearCallValue() => clearField(1);
6812 :
6813 : /// TBD: tokenName, trx should be empty
6814 0 : @$pb.TagNumber(2)
6815 0 : $core.String get tokenId => $_getSZ(1);
6816 0 : @$pb.TagNumber(2)
6817 : set tokenId($core.String v) {
6818 0 : $_setString(1, v);
6819 : }
6820 :
6821 0 : @$pb.TagNumber(2)
6822 0 : $core.bool hasTokenId() => $_has(1);
6823 0 : @$pb.TagNumber(2)
6824 0 : void clearTokenId() => clearField(2);
6825 : }
6826 :
6827 : class InternalTransaction extends $pb.GeneratedMessage {
6828 0 : factory InternalTransaction({
6829 : $core.List<$core.int>? hash,
6830 : $core.List<$core.int>? callerAddress,
6831 : $core.List<$core.int>? transferToAddress,
6832 : $core.Iterable<InternalTransaction_CallValueInfo>? callValueInfo,
6833 : $core.List<$core.int>? note,
6834 : $core.bool? rejected,
6835 : $core.String? extra,
6836 : }) {
6837 0 : final $result = create();
6838 : if (hash != null) {
6839 0 : $result.hash = hash;
6840 : }
6841 : if (callerAddress != null) {
6842 0 : $result.callerAddress = callerAddress;
6843 : }
6844 : if (transferToAddress != null) {
6845 0 : $result.transferToAddress = transferToAddress;
6846 : }
6847 : if (callValueInfo != null) {
6848 0 : $result.callValueInfo.addAll(callValueInfo);
6849 : }
6850 : if (note != null) {
6851 0 : $result.note = note;
6852 : }
6853 : if (rejected != null) {
6854 0 : $result.rejected = rejected;
6855 : }
6856 : if (extra != null) {
6857 0 : $result.extra = extra;
6858 : }
6859 : return $result;
6860 : }
6861 0 : InternalTransaction._() : super();
6862 0 : factory InternalTransaction.fromBuffer($core.List<$core.int> i,
6863 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6864 0 : create()..mergeFromBuffer(i, r);
6865 0 : factory InternalTransaction.fromJson($core.String i,
6866 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6867 0 : create()..mergeFromJson(i, r);
6868 :
6869 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6870 : _omitMessageNames ? '' : 'InternalTransaction',
6871 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6872 : createEmptyInstance: create)
6873 0 : ..a<$core.List<$core.int>>(
6874 : 1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
6875 0 : ..a<$core.List<$core.int>>(
6876 : 2, _omitFieldNames ? '' : 'callerAddress', $pb.PbFieldType.OY)
6877 0 : ..a<$core.List<$core.int>>(
6878 : 3, _omitFieldNames ? '' : 'transferToAddress', $pb.PbFieldType.OY,
6879 : protoName: 'transferTo_address')
6880 0 : ..pc<InternalTransaction_CallValueInfo>(
6881 : 4, _omitFieldNames ? '' : 'callValueInfo', $pb.PbFieldType.PM,
6882 : protoName: 'callValueInfo',
6883 : subBuilder: InternalTransaction_CallValueInfo.create)
6884 0 : ..a<$core.List<$core.int>>(
6885 : 5, _omitFieldNames ? '' : 'note', $pb.PbFieldType.OY)
6886 0 : ..aOB(6, _omitFieldNames ? '' : 'rejected')
6887 0 : ..aOS(7, _omitFieldNames ? '' : 'extra')
6888 0 : ..hasRequiredFields = false;
6889 :
6890 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6891 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6892 : 'Will be removed in next major version')
6893 0 : InternalTransaction clone() => InternalTransaction()..mergeFromMessage(this);
6894 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6895 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6896 : 'Will be removed in next major version')
6897 : InternalTransaction copyWith(void Function(InternalTransaction) updates) =>
6898 0 : super.copyWith((message) => updates(message as InternalTransaction))
6899 : as InternalTransaction;
6900 :
6901 0 : $pb.BuilderInfo get info_ => _i;
6902 :
6903 0 : @$core.pragma('dart2js:noInline')
6904 0 : static InternalTransaction create() => InternalTransaction._();
6905 0 : InternalTransaction createEmptyInstance() => create();
6906 0 : static $pb.PbList<InternalTransaction> createRepeated() =>
6907 0 : $pb.PbList<InternalTransaction>();
6908 0 : @$core.pragma('dart2js:noInline')
6909 : static InternalTransaction getDefault() => _defaultInstance ??=
6910 0 : $pb.GeneratedMessage.$_defaultFor<InternalTransaction>(create);
6911 : static InternalTransaction? _defaultInstance;
6912 :
6913 : /// internalTransaction identity, the root InternalTransaction hash
6914 : /// should equals to root transaction id.
6915 0 : @$pb.TagNumber(1)
6916 0 : $core.List<$core.int> get hash => $_getN(0);
6917 0 : @$pb.TagNumber(1)
6918 : set hash($core.List<$core.int> v) {
6919 0 : $_setBytes(0, v);
6920 : }
6921 :
6922 0 : @$pb.TagNumber(1)
6923 0 : $core.bool hasHash() => $_has(0);
6924 0 : @$pb.TagNumber(1)
6925 0 : void clearHash() => clearField(1);
6926 :
6927 : /// the one send trx (TBD: or token) via function
6928 0 : @$pb.TagNumber(2)
6929 0 : $core.List<$core.int> get callerAddress => $_getN(1);
6930 0 : @$pb.TagNumber(2)
6931 : set callerAddress($core.List<$core.int> v) {
6932 0 : $_setBytes(1, v);
6933 : }
6934 :
6935 0 : @$pb.TagNumber(2)
6936 0 : $core.bool hasCallerAddress() => $_has(1);
6937 0 : @$pb.TagNumber(2)
6938 0 : void clearCallerAddress() => clearField(2);
6939 :
6940 : /// the one recieve trx (TBD: or token) via function
6941 0 : @$pb.TagNumber(3)
6942 0 : $core.List<$core.int> get transferToAddress => $_getN(2);
6943 0 : @$pb.TagNumber(3)
6944 : set transferToAddress($core.List<$core.int> v) {
6945 0 : $_setBytes(2, v);
6946 : }
6947 :
6948 0 : @$pb.TagNumber(3)
6949 0 : $core.bool hasTransferToAddress() => $_has(2);
6950 0 : @$pb.TagNumber(3)
6951 0 : void clearTransferToAddress() => clearField(3);
6952 :
6953 0 : @$pb.TagNumber(4)
6954 : $core.List<InternalTransaction_CallValueInfo> get callValueInfo =>
6955 0 : $_getList(3);
6956 :
6957 0 : @$pb.TagNumber(5)
6958 0 : $core.List<$core.int> get note => $_getN(4);
6959 0 : @$pb.TagNumber(5)
6960 : set note($core.List<$core.int> v) {
6961 0 : $_setBytes(4, v);
6962 : }
6963 :
6964 0 : @$pb.TagNumber(5)
6965 0 : $core.bool hasNote() => $_has(4);
6966 0 : @$pb.TagNumber(5)
6967 0 : void clearNote() => clearField(5);
6968 :
6969 0 : @$pb.TagNumber(6)
6970 0 : $core.bool get rejected => $_getBF(5);
6971 0 : @$pb.TagNumber(6)
6972 : set rejected($core.bool v) {
6973 0 : $_setBool(5, v);
6974 : }
6975 :
6976 0 : @$pb.TagNumber(6)
6977 0 : $core.bool hasRejected() => $_has(5);
6978 0 : @$pb.TagNumber(6)
6979 0 : void clearRejected() => clearField(6);
6980 :
6981 0 : @$pb.TagNumber(7)
6982 0 : $core.String get extra => $_getSZ(6);
6983 0 : @$pb.TagNumber(7)
6984 : set extra($core.String v) {
6985 0 : $_setString(6, v);
6986 : }
6987 :
6988 0 : @$pb.TagNumber(7)
6989 0 : $core.bool hasExtra() => $_has(6);
6990 0 : @$pb.TagNumber(7)
6991 0 : void clearExtra() => clearField(7);
6992 : }
6993 :
6994 : class DelegatedResourceAccountIndex extends $pb.GeneratedMessage {
6995 0 : factory DelegatedResourceAccountIndex({
6996 : $core.List<$core.int>? account,
6997 : $core.Iterable<$core.List<$core.int>>? fromAccounts,
6998 : $core.Iterable<$core.List<$core.int>>? toAccounts,
6999 : $fixnum.Int64? timestamp,
7000 : }) {
7001 0 : final $result = create();
7002 : if (account != null) {
7003 0 : $result.account = account;
7004 : }
7005 : if (fromAccounts != null) {
7006 0 : $result.fromAccounts.addAll(fromAccounts);
7007 : }
7008 : if (toAccounts != null) {
7009 0 : $result.toAccounts.addAll(toAccounts);
7010 : }
7011 : if (timestamp != null) {
7012 0 : $result.timestamp = timestamp;
7013 : }
7014 : return $result;
7015 : }
7016 0 : DelegatedResourceAccountIndex._() : super();
7017 0 : factory DelegatedResourceAccountIndex.fromBuffer($core.List<$core.int> i,
7018 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7019 0 : create()..mergeFromBuffer(i, r);
7020 0 : factory DelegatedResourceAccountIndex.fromJson($core.String i,
7021 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7022 0 : create()..mergeFromJson(i, r);
7023 :
7024 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
7025 : _omitMessageNames ? '' : 'DelegatedResourceAccountIndex',
7026 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
7027 : createEmptyInstance: create)
7028 0 : ..a<$core.List<$core.int>>(
7029 : 1, _omitFieldNames ? '' : 'account', $pb.PbFieldType.OY)
7030 0 : ..p<$core.List<$core.int>>(
7031 : 2, _omitFieldNames ? '' : 'fromAccounts', $pb.PbFieldType.PY,
7032 : protoName: 'fromAccounts')
7033 0 : ..p<$core.List<$core.int>>(
7034 : 3, _omitFieldNames ? '' : 'toAccounts', $pb.PbFieldType.PY,
7035 : protoName: 'toAccounts')
7036 0 : ..aInt64(4, _omitFieldNames ? '' : 'timestamp')
7037 0 : ..hasRequiredFields = false;
7038 :
7039 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7040 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
7041 : 'Will be removed in next major version')
7042 : DelegatedResourceAccountIndex clone() =>
7043 0 : DelegatedResourceAccountIndex()..mergeFromMessage(this);
7044 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7045 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
7046 : 'Will be removed in next major version')
7047 : DelegatedResourceAccountIndex copyWith(
7048 : void Function(DelegatedResourceAccountIndex) updates) =>
7049 0 : super.copyWith(
7050 0 : (message) => updates(message as DelegatedResourceAccountIndex))
7051 : as DelegatedResourceAccountIndex;
7052 :
7053 0 : $pb.BuilderInfo get info_ => _i;
7054 :
7055 0 : @$core.pragma('dart2js:noInline')
7056 : static DelegatedResourceAccountIndex create() =>
7057 0 : DelegatedResourceAccountIndex._();
7058 0 : DelegatedResourceAccountIndex createEmptyInstance() => create();
7059 0 : static $pb.PbList<DelegatedResourceAccountIndex> createRepeated() =>
7060 0 : $pb.PbList<DelegatedResourceAccountIndex>();
7061 0 : @$core.pragma('dart2js:noInline')
7062 : static DelegatedResourceAccountIndex getDefault() => _defaultInstance ??=
7063 0 : $pb.GeneratedMessage.$_defaultFor<DelegatedResourceAccountIndex>(create);
7064 : static DelegatedResourceAccountIndex? _defaultInstance;
7065 :
7066 0 : @$pb.TagNumber(1)
7067 0 : $core.List<$core.int> get account => $_getN(0);
7068 0 : @$pb.TagNumber(1)
7069 : set account($core.List<$core.int> v) {
7070 0 : $_setBytes(0, v);
7071 : }
7072 :
7073 0 : @$pb.TagNumber(1)
7074 0 : $core.bool hasAccount() => $_has(0);
7075 0 : @$pb.TagNumber(1)
7076 0 : void clearAccount() => clearField(1);
7077 :
7078 0 : @$pb.TagNumber(2)
7079 0 : $core.List<$core.List<$core.int>> get fromAccounts => $_getList(1);
7080 :
7081 0 : @$pb.TagNumber(3)
7082 0 : $core.List<$core.List<$core.int>> get toAccounts => $_getList(2);
7083 :
7084 0 : @$pb.TagNumber(4)
7085 0 : $fixnum.Int64 get timestamp => $_getI64(3);
7086 0 : @$pb.TagNumber(4)
7087 : set timestamp($fixnum.Int64 v) {
7088 0 : $_setInt64(3, v);
7089 : }
7090 :
7091 0 : @$pb.TagNumber(4)
7092 0 : $core.bool hasTimestamp() => $_has(3);
7093 0 : @$pb.TagNumber(4)
7094 0 : void clearTimestamp() => clearField(4);
7095 : }
7096 :
7097 : class NodeInfo_PeerInfo extends $pb.GeneratedMessage {
7098 0 : factory NodeInfo_PeerInfo({
7099 : $core.String? lastSyncBlock,
7100 : $fixnum.Int64? remainNum,
7101 : $fixnum.Int64? lastBlockUpdateTime,
7102 : $core.bool? syncFlag,
7103 : $fixnum.Int64? headBlockTimeWeBothHave,
7104 : $core.bool? needSyncFromPeer,
7105 : $core.bool? needSyncFromUs,
7106 : $core.String? host,
7107 : $core.int? port,
7108 : $core.String? nodeId,
7109 : $fixnum.Int64? connectTime,
7110 : $core.double? avgLatency,
7111 : $core.int? syncToFetchSize,
7112 : $fixnum.Int64? syncToFetchSizePeekNum,
7113 : $core.int? syncBlockRequestedSize,
7114 : $fixnum.Int64? unFetchSynNum,
7115 : $core.int? blockInPorcSize,
7116 : $core.String? headBlockWeBothHave,
7117 : $core.bool? isActive,
7118 : $core.int? score,
7119 : $core.int? nodeCount,
7120 : $fixnum.Int64? inFlow,
7121 : $core.int? disconnectTimes,
7122 : $core.String? localDisconnectReason,
7123 : $core.String? remoteDisconnectReason,
7124 : }) {
7125 0 : final $result = create();
7126 : if (lastSyncBlock != null) {
7127 0 : $result.lastSyncBlock = lastSyncBlock;
7128 : }
7129 : if (remainNum != null) {
7130 0 : $result.remainNum = remainNum;
7131 : }
7132 : if (lastBlockUpdateTime != null) {
7133 0 : $result.lastBlockUpdateTime = lastBlockUpdateTime;
7134 : }
7135 : if (syncFlag != null) {
7136 0 : $result.syncFlag = syncFlag;
7137 : }
7138 : if (headBlockTimeWeBothHave != null) {
7139 0 : $result.headBlockTimeWeBothHave = headBlockTimeWeBothHave;
7140 : }
7141 : if (needSyncFromPeer != null) {
7142 0 : $result.needSyncFromPeer = needSyncFromPeer;
7143 : }
7144 : if (needSyncFromUs != null) {
7145 0 : $result.needSyncFromUs = needSyncFromUs;
7146 : }
7147 : if (host != null) {
7148 0 : $result.host = host;
7149 : }
7150 : if (port != null) {
7151 0 : $result.port = port;
7152 : }
7153 : if (nodeId != null) {
7154 0 : $result.nodeId = nodeId;
7155 : }
7156 : if (connectTime != null) {
7157 0 : $result.connectTime = connectTime;
7158 : }
7159 : if (avgLatency != null) {
7160 0 : $result.avgLatency = avgLatency;
7161 : }
7162 : if (syncToFetchSize != null) {
7163 0 : $result.syncToFetchSize = syncToFetchSize;
7164 : }
7165 : if (syncToFetchSizePeekNum != null) {
7166 0 : $result.syncToFetchSizePeekNum = syncToFetchSizePeekNum;
7167 : }
7168 : if (syncBlockRequestedSize != null) {
7169 0 : $result.syncBlockRequestedSize = syncBlockRequestedSize;
7170 : }
7171 : if (unFetchSynNum != null) {
7172 0 : $result.unFetchSynNum = unFetchSynNum;
7173 : }
7174 : if (blockInPorcSize != null) {
7175 0 : $result.blockInPorcSize = blockInPorcSize;
7176 : }
7177 : if (headBlockWeBothHave != null) {
7178 0 : $result.headBlockWeBothHave = headBlockWeBothHave;
7179 : }
7180 : if (isActive != null) {
7181 0 : $result.isActive = isActive;
7182 : }
7183 : if (score != null) {
7184 0 : $result.score = score;
7185 : }
7186 : if (nodeCount != null) {
7187 0 : $result.nodeCount = nodeCount;
7188 : }
7189 : if (inFlow != null) {
7190 0 : $result.inFlow = inFlow;
7191 : }
7192 : if (disconnectTimes != null) {
7193 0 : $result.disconnectTimes = disconnectTimes;
7194 : }
7195 : if (localDisconnectReason != null) {
7196 0 : $result.localDisconnectReason = localDisconnectReason;
7197 : }
7198 : if (remoteDisconnectReason != null) {
7199 0 : $result.remoteDisconnectReason = remoteDisconnectReason;
7200 : }
7201 : return $result;
7202 : }
7203 0 : NodeInfo_PeerInfo._() : super();
7204 0 : factory NodeInfo_PeerInfo.fromBuffer($core.List<$core.int> i,
7205 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7206 0 : create()..mergeFromBuffer(i, r);
7207 0 : factory NodeInfo_PeerInfo.fromJson($core.String i,
7208 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7209 0 : create()..mergeFromJson(i, r);
7210 :
7211 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
7212 : _omitMessageNames ? '' : 'NodeInfo.PeerInfo',
7213 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
7214 : createEmptyInstance: create)
7215 0 : ..aOS(1, _omitFieldNames ? '' : 'lastSyncBlock', protoName: 'lastSyncBlock')
7216 0 : ..aInt64(2, _omitFieldNames ? '' : 'remainNum', protoName: 'remainNum')
7217 0 : ..aInt64(3, _omitFieldNames ? '' : 'lastBlockUpdateTime',
7218 : protoName: 'lastBlockUpdateTime')
7219 0 : ..aOB(4, _omitFieldNames ? '' : 'syncFlag', protoName: 'syncFlag')
7220 0 : ..aInt64(5, _omitFieldNames ? '' : 'headBlockTimeWeBothHave',
7221 : protoName: 'headBlockTimeWeBothHave')
7222 0 : ..aOB(6, _omitFieldNames ? '' : 'needSyncFromPeer',
7223 : protoName: 'needSyncFromPeer')
7224 0 : ..aOB(7, _omitFieldNames ? '' : 'needSyncFromUs',
7225 : protoName: 'needSyncFromUs')
7226 0 : ..aOS(8, _omitFieldNames ? '' : 'host')
7227 0 : ..a<$core.int>(9, _omitFieldNames ? '' : 'port', $pb.PbFieldType.O3)
7228 0 : ..aOS(10, _omitFieldNames ? '' : 'nodeId', protoName: 'nodeId')
7229 0 : ..aInt64(11, _omitFieldNames ? '' : 'connectTime', protoName: 'connectTime')
7230 0 : ..a<$core.double>(
7231 : 12, _omitFieldNames ? '' : 'avgLatency', $pb.PbFieldType.OD,
7232 : protoName: 'avgLatency')
7233 0 : ..a<$core.int>(
7234 : 13, _omitFieldNames ? '' : 'syncToFetchSize', $pb.PbFieldType.O3,
7235 : protoName: 'syncToFetchSize')
7236 0 : ..aInt64(14, _omitFieldNames ? '' : 'syncToFetchSizePeekNum',
7237 : protoName: 'syncToFetchSizePeekNum')
7238 0 : ..a<$core.int>(
7239 : 15, _omitFieldNames ? '' : 'syncBlockRequestedSize', $pb.PbFieldType.O3,
7240 : protoName: 'syncBlockRequestedSize')
7241 0 : ..aInt64(16, _omitFieldNames ? '' : 'unFetchSynNum',
7242 : protoName: 'unFetchSynNum')
7243 0 : ..a<$core.int>(
7244 : 17, _omitFieldNames ? '' : 'blockInPorcSize', $pb.PbFieldType.O3,
7245 : protoName: 'blockInPorcSize')
7246 0 : ..aOS(18, _omitFieldNames ? '' : 'headBlockWeBothHave',
7247 : protoName: 'headBlockWeBothHave')
7248 0 : ..aOB(19, _omitFieldNames ? '' : 'isActive', protoName: 'isActive')
7249 0 : ..a<$core.int>(20, _omitFieldNames ? '' : 'score', $pb.PbFieldType.O3)
7250 0 : ..a<$core.int>(21, _omitFieldNames ? '' : 'nodeCount', $pb.PbFieldType.O3,
7251 : protoName: 'nodeCount')
7252 0 : ..aInt64(22, _omitFieldNames ? '' : 'inFlow', protoName: 'inFlow')
7253 0 : ..a<$core.int>(
7254 : 23, _omitFieldNames ? '' : 'disconnectTimes', $pb.PbFieldType.O3,
7255 : protoName: 'disconnectTimes')
7256 0 : ..aOS(24, _omitFieldNames ? '' : 'localDisconnectReason',
7257 : protoName: 'localDisconnectReason')
7258 0 : ..aOS(25, _omitFieldNames ? '' : 'remoteDisconnectReason',
7259 : protoName: 'remoteDisconnectReason')
7260 0 : ..hasRequiredFields = false;
7261 :
7262 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7263 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
7264 : 'Will be removed in next major version')
7265 0 : NodeInfo_PeerInfo clone() => NodeInfo_PeerInfo()..mergeFromMessage(this);
7266 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7267 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
7268 : 'Will be removed in next major version')
7269 : NodeInfo_PeerInfo copyWith(void Function(NodeInfo_PeerInfo) updates) =>
7270 0 : super.copyWith((message) => updates(message as NodeInfo_PeerInfo))
7271 : as NodeInfo_PeerInfo;
7272 :
7273 0 : $pb.BuilderInfo get info_ => _i;
7274 :
7275 0 : @$core.pragma('dart2js:noInline')
7276 0 : static NodeInfo_PeerInfo create() => NodeInfo_PeerInfo._();
7277 0 : NodeInfo_PeerInfo createEmptyInstance() => create();
7278 0 : static $pb.PbList<NodeInfo_PeerInfo> createRepeated() =>
7279 0 : $pb.PbList<NodeInfo_PeerInfo>();
7280 0 : @$core.pragma('dart2js:noInline')
7281 : static NodeInfo_PeerInfo getDefault() => _defaultInstance ??=
7282 0 : $pb.GeneratedMessage.$_defaultFor<NodeInfo_PeerInfo>(create);
7283 : static NodeInfo_PeerInfo? _defaultInstance;
7284 :
7285 0 : @$pb.TagNumber(1)
7286 0 : $core.String get lastSyncBlock => $_getSZ(0);
7287 0 : @$pb.TagNumber(1)
7288 : set lastSyncBlock($core.String v) {
7289 0 : $_setString(0, v);
7290 : }
7291 :
7292 0 : @$pb.TagNumber(1)
7293 0 : $core.bool hasLastSyncBlock() => $_has(0);
7294 0 : @$pb.TagNumber(1)
7295 0 : void clearLastSyncBlock() => clearField(1);
7296 :
7297 0 : @$pb.TagNumber(2)
7298 0 : $fixnum.Int64 get remainNum => $_getI64(1);
7299 0 : @$pb.TagNumber(2)
7300 : set remainNum($fixnum.Int64 v) {
7301 0 : $_setInt64(1, v);
7302 : }
7303 :
7304 0 : @$pb.TagNumber(2)
7305 0 : $core.bool hasRemainNum() => $_has(1);
7306 0 : @$pb.TagNumber(2)
7307 0 : void clearRemainNum() => clearField(2);
7308 :
7309 0 : @$pb.TagNumber(3)
7310 0 : $fixnum.Int64 get lastBlockUpdateTime => $_getI64(2);
7311 0 : @$pb.TagNumber(3)
7312 : set lastBlockUpdateTime($fixnum.Int64 v) {
7313 0 : $_setInt64(2, v);
7314 : }
7315 :
7316 0 : @$pb.TagNumber(3)
7317 0 : $core.bool hasLastBlockUpdateTime() => $_has(2);
7318 0 : @$pb.TagNumber(3)
7319 0 : void clearLastBlockUpdateTime() => clearField(3);
7320 :
7321 0 : @$pb.TagNumber(4)
7322 0 : $core.bool get syncFlag => $_getBF(3);
7323 0 : @$pb.TagNumber(4)
7324 : set syncFlag($core.bool v) {
7325 0 : $_setBool(3, v);
7326 : }
7327 :
7328 0 : @$pb.TagNumber(4)
7329 0 : $core.bool hasSyncFlag() => $_has(3);
7330 0 : @$pb.TagNumber(4)
7331 0 : void clearSyncFlag() => clearField(4);
7332 :
7333 0 : @$pb.TagNumber(5)
7334 0 : $fixnum.Int64 get headBlockTimeWeBothHave => $_getI64(4);
7335 0 : @$pb.TagNumber(5)
7336 : set headBlockTimeWeBothHave($fixnum.Int64 v) {
7337 0 : $_setInt64(4, v);
7338 : }
7339 :
7340 0 : @$pb.TagNumber(5)
7341 0 : $core.bool hasHeadBlockTimeWeBothHave() => $_has(4);
7342 0 : @$pb.TagNumber(5)
7343 0 : void clearHeadBlockTimeWeBothHave() => clearField(5);
7344 :
7345 0 : @$pb.TagNumber(6)
7346 0 : $core.bool get needSyncFromPeer => $_getBF(5);
7347 0 : @$pb.TagNumber(6)
7348 : set needSyncFromPeer($core.bool v) {
7349 0 : $_setBool(5, v);
7350 : }
7351 :
7352 0 : @$pb.TagNumber(6)
7353 0 : $core.bool hasNeedSyncFromPeer() => $_has(5);
7354 0 : @$pb.TagNumber(6)
7355 0 : void clearNeedSyncFromPeer() => clearField(6);
7356 :
7357 0 : @$pb.TagNumber(7)
7358 0 : $core.bool get needSyncFromUs => $_getBF(6);
7359 0 : @$pb.TagNumber(7)
7360 : set needSyncFromUs($core.bool v) {
7361 0 : $_setBool(6, v);
7362 : }
7363 :
7364 0 : @$pb.TagNumber(7)
7365 0 : $core.bool hasNeedSyncFromUs() => $_has(6);
7366 0 : @$pb.TagNumber(7)
7367 0 : void clearNeedSyncFromUs() => clearField(7);
7368 :
7369 0 : @$pb.TagNumber(8)
7370 0 : $core.String get host => $_getSZ(7);
7371 0 : @$pb.TagNumber(8)
7372 : set host($core.String v) {
7373 0 : $_setString(7, v);
7374 : }
7375 :
7376 0 : @$pb.TagNumber(8)
7377 0 : $core.bool hasHost() => $_has(7);
7378 0 : @$pb.TagNumber(8)
7379 0 : void clearHost() => clearField(8);
7380 :
7381 0 : @$pb.TagNumber(9)
7382 0 : $core.int get port => $_getIZ(8);
7383 0 : @$pb.TagNumber(9)
7384 : set port($core.int v) {
7385 0 : $_setSignedInt32(8, v);
7386 : }
7387 :
7388 0 : @$pb.TagNumber(9)
7389 0 : $core.bool hasPort() => $_has(8);
7390 0 : @$pb.TagNumber(9)
7391 0 : void clearPort() => clearField(9);
7392 :
7393 0 : @$pb.TagNumber(10)
7394 0 : $core.String get nodeId => $_getSZ(9);
7395 0 : @$pb.TagNumber(10)
7396 : set nodeId($core.String v) {
7397 0 : $_setString(9, v);
7398 : }
7399 :
7400 0 : @$pb.TagNumber(10)
7401 0 : $core.bool hasNodeId() => $_has(9);
7402 0 : @$pb.TagNumber(10)
7403 0 : void clearNodeId() => clearField(10);
7404 :
7405 0 : @$pb.TagNumber(11)
7406 0 : $fixnum.Int64 get connectTime => $_getI64(10);
7407 0 : @$pb.TagNumber(11)
7408 : set connectTime($fixnum.Int64 v) {
7409 0 : $_setInt64(10, v);
7410 : }
7411 :
7412 0 : @$pb.TagNumber(11)
7413 0 : $core.bool hasConnectTime() => $_has(10);
7414 0 : @$pb.TagNumber(11)
7415 0 : void clearConnectTime() => clearField(11);
7416 :
7417 0 : @$pb.TagNumber(12)
7418 0 : $core.double get avgLatency => $_getN(11);
7419 0 : @$pb.TagNumber(12)
7420 : set avgLatency($core.double v) {
7421 0 : $_setDouble(11, v);
7422 : }
7423 :
7424 0 : @$pb.TagNumber(12)
7425 0 : $core.bool hasAvgLatency() => $_has(11);
7426 0 : @$pb.TagNumber(12)
7427 0 : void clearAvgLatency() => clearField(12);
7428 :
7429 0 : @$pb.TagNumber(13)
7430 0 : $core.int get syncToFetchSize => $_getIZ(12);
7431 0 : @$pb.TagNumber(13)
7432 : set syncToFetchSize($core.int v) {
7433 0 : $_setSignedInt32(12, v);
7434 : }
7435 :
7436 0 : @$pb.TagNumber(13)
7437 0 : $core.bool hasSyncToFetchSize() => $_has(12);
7438 0 : @$pb.TagNumber(13)
7439 0 : void clearSyncToFetchSize() => clearField(13);
7440 :
7441 0 : @$pb.TagNumber(14)
7442 0 : $fixnum.Int64 get syncToFetchSizePeekNum => $_getI64(13);
7443 0 : @$pb.TagNumber(14)
7444 : set syncToFetchSizePeekNum($fixnum.Int64 v) {
7445 0 : $_setInt64(13, v);
7446 : }
7447 :
7448 0 : @$pb.TagNumber(14)
7449 0 : $core.bool hasSyncToFetchSizePeekNum() => $_has(13);
7450 0 : @$pb.TagNumber(14)
7451 0 : void clearSyncToFetchSizePeekNum() => clearField(14);
7452 :
7453 0 : @$pb.TagNumber(15)
7454 0 : $core.int get syncBlockRequestedSize => $_getIZ(14);
7455 0 : @$pb.TagNumber(15)
7456 : set syncBlockRequestedSize($core.int v) {
7457 0 : $_setSignedInt32(14, v);
7458 : }
7459 :
7460 0 : @$pb.TagNumber(15)
7461 0 : $core.bool hasSyncBlockRequestedSize() => $_has(14);
7462 0 : @$pb.TagNumber(15)
7463 0 : void clearSyncBlockRequestedSize() => clearField(15);
7464 :
7465 0 : @$pb.TagNumber(16)
7466 0 : $fixnum.Int64 get unFetchSynNum => $_getI64(15);
7467 0 : @$pb.TagNumber(16)
7468 : set unFetchSynNum($fixnum.Int64 v) {
7469 0 : $_setInt64(15, v);
7470 : }
7471 :
7472 0 : @$pb.TagNumber(16)
7473 0 : $core.bool hasUnFetchSynNum() => $_has(15);
7474 0 : @$pb.TagNumber(16)
7475 0 : void clearUnFetchSynNum() => clearField(16);
7476 :
7477 0 : @$pb.TagNumber(17)
7478 0 : $core.int get blockInPorcSize => $_getIZ(16);
7479 0 : @$pb.TagNumber(17)
7480 : set blockInPorcSize($core.int v) {
7481 0 : $_setSignedInt32(16, v);
7482 : }
7483 :
7484 0 : @$pb.TagNumber(17)
7485 0 : $core.bool hasBlockInPorcSize() => $_has(16);
7486 0 : @$pb.TagNumber(17)
7487 0 : void clearBlockInPorcSize() => clearField(17);
7488 :
7489 0 : @$pb.TagNumber(18)
7490 0 : $core.String get headBlockWeBothHave => $_getSZ(17);
7491 0 : @$pb.TagNumber(18)
7492 : set headBlockWeBothHave($core.String v) {
7493 0 : $_setString(17, v);
7494 : }
7495 :
7496 0 : @$pb.TagNumber(18)
7497 0 : $core.bool hasHeadBlockWeBothHave() => $_has(17);
7498 0 : @$pb.TagNumber(18)
7499 0 : void clearHeadBlockWeBothHave() => clearField(18);
7500 :
7501 0 : @$pb.TagNumber(19)
7502 0 : $core.bool get isActive => $_getBF(18);
7503 0 : @$pb.TagNumber(19)
7504 : set isActive($core.bool v) {
7505 0 : $_setBool(18, v);
7506 : }
7507 :
7508 0 : @$pb.TagNumber(19)
7509 0 : $core.bool hasIsActive() => $_has(18);
7510 0 : @$pb.TagNumber(19)
7511 0 : void clearIsActive() => clearField(19);
7512 :
7513 0 : @$pb.TagNumber(20)
7514 0 : $core.int get score => $_getIZ(19);
7515 0 : @$pb.TagNumber(20)
7516 : set score($core.int v) {
7517 0 : $_setSignedInt32(19, v);
7518 : }
7519 :
7520 0 : @$pb.TagNumber(20)
7521 0 : $core.bool hasScore() => $_has(19);
7522 0 : @$pb.TagNumber(20)
7523 0 : void clearScore() => clearField(20);
7524 :
7525 0 : @$pb.TagNumber(21)
7526 0 : $core.int get nodeCount => $_getIZ(20);
7527 0 : @$pb.TagNumber(21)
7528 : set nodeCount($core.int v) {
7529 0 : $_setSignedInt32(20, v);
7530 : }
7531 :
7532 0 : @$pb.TagNumber(21)
7533 0 : $core.bool hasNodeCount() => $_has(20);
7534 0 : @$pb.TagNumber(21)
7535 0 : void clearNodeCount() => clearField(21);
7536 :
7537 0 : @$pb.TagNumber(22)
7538 0 : $fixnum.Int64 get inFlow => $_getI64(21);
7539 0 : @$pb.TagNumber(22)
7540 : set inFlow($fixnum.Int64 v) {
7541 0 : $_setInt64(21, v);
7542 : }
7543 :
7544 0 : @$pb.TagNumber(22)
7545 0 : $core.bool hasInFlow() => $_has(21);
7546 0 : @$pb.TagNumber(22)
7547 0 : void clearInFlow() => clearField(22);
7548 :
7549 0 : @$pb.TagNumber(23)
7550 0 : $core.int get disconnectTimes => $_getIZ(22);
7551 0 : @$pb.TagNumber(23)
7552 : set disconnectTimes($core.int v) {
7553 0 : $_setSignedInt32(22, v);
7554 : }
7555 :
7556 0 : @$pb.TagNumber(23)
7557 0 : $core.bool hasDisconnectTimes() => $_has(22);
7558 0 : @$pb.TagNumber(23)
7559 0 : void clearDisconnectTimes() => clearField(23);
7560 :
7561 0 : @$pb.TagNumber(24)
7562 0 : $core.String get localDisconnectReason => $_getSZ(23);
7563 0 : @$pb.TagNumber(24)
7564 : set localDisconnectReason($core.String v) {
7565 0 : $_setString(23, v);
7566 : }
7567 :
7568 0 : @$pb.TagNumber(24)
7569 0 : $core.bool hasLocalDisconnectReason() => $_has(23);
7570 0 : @$pb.TagNumber(24)
7571 0 : void clearLocalDisconnectReason() => clearField(24);
7572 :
7573 0 : @$pb.TagNumber(25)
7574 0 : $core.String get remoteDisconnectReason => $_getSZ(24);
7575 0 : @$pb.TagNumber(25)
7576 : set remoteDisconnectReason($core.String v) {
7577 0 : $_setString(24, v);
7578 : }
7579 :
7580 0 : @$pb.TagNumber(25)
7581 0 : $core.bool hasRemoteDisconnectReason() => $_has(24);
7582 0 : @$pb.TagNumber(25)
7583 0 : void clearRemoteDisconnectReason() => clearField(25);
7584 : }
7585 :
7586 : class NodeInfo_ConfigNodeInfo extends $pb.GeneratedMessage {
7587 0 : factory NodeInfo_ConfigNodeInfo({
7588 : $core.String? codeVersion,
7589 : $core.String? p2pVersion,
7590 : $core.int? listenPort,
7591 : $core.bool? discoverEnable,
7592 : $core.int? activeNodeSize,
7593 : $core.int? passiveNodeSize,
7594 : $core.int? sendNodeSize,
7595 : $core.int? maxConnectCount,
7596 : $core.int? sameIpMaxConnectCount,
7597 : $core.int? backupListenPort,
7598 : $core.int? backupMemberSize,
7599 : $core.int? backupPriority,
7600 : $core.int? dbVersion,
7601 : $core.int? minParticipationRate,
7602 : $core.bool? supportConstant,
7603 : $core.double? minTimeRatio,
7604 : $core.double? maxTimeRatio,
7605 : $fixnum.Int64? allowCreationOfContracts,
7606 : $fixnum.Int64? allowAdaptiveEnergy,
7607 : }) {
7608 0 : final $result = create();
7609 : if (codeVersion != null) {
7610 0 : $result.codeVersion = codeVersion;
7611 : }
7612 : if (p2pVersion != null) {
7613 0 : $result.p2pVersion = p2pVersion;
7614 : }
7615 : if (listenPort != null) {
7616 0 : $result.listenPort = listenPort;
7617 : }
7618 : if (discoverEnable != null) {
7619 0 : $result.discoverEnable = discoverEnable;
7620 : }
7621 : if (activeNodeSize != null) {
7622 0 : $result.activeNodeSize = activeNodeSize;
7623 : }
7624 : if (passiveNodeSize != null) {
7625 0 : $result.passiveNodeSize = passiveNodeSize;
7626 : }
7627 : if (sendNodeSize != null) {
7628 0 : $result.sendNodeSize = sendNodeSize;
7629 : }
7630 : if (maxConnectCount != null) {
7631 0 : $result.maxConnectCount = maxConnectCount;
7632 : }
7633 : if (sameIpMaxConnectCount != null) {
7634 0 : $result.sameIpMaxConnectCount = sameIpMaxConnectCount;
7635 : }
7636 : if (backupListenPort != null) {
7637 0 : $result.backupListenPort = backupListenPort;
7638 : }
7639 : if (backupMemberSize != null) {
7640 0 : $result.backupMemberSize = backupMemberSize;
7641 : }
7642 : if (backupPriority != null) {
7643 0 : $result.backupPriority = backupPriority;
7644 : }
7645 : if (dbVersion != null) {
7646 0 : $result.dbVersion = dbVersion;
7647 : }
7648 : if (minParticipationRate != null) {
7649 0 : $result.minParticipationRate = minParticipationRate;
7650 : }
7651 : if (supportConstant != null) {
7652 0 : $result.supportConstant = supportConstant;
7653 : }
7654 : if (minTimeRatio != null) {
7655 0 : $result.minTimeRatio = minTimeRatio;
7656 : }
7657 : if (maxTimeRatio != null) {
7658 0 : $result.maxTimeRatio = maxTimeRatio;
7659 : }
7660 : if (allowCreationOfContracts != null) {
7661 0 : $result.allowCreationOfContracts = allowCreationOfContracts;
7662 : }
7663 : if (allowAdaptiveEnergy != null) {
7664 0 : $result.allowAdaptiveEnergy = allowAdaptiveEnergy;
7665 : }
7666 : return $result;
7667 : }
7668 0 : NodeInfo_ConfigNodeInfo._() : super();
7669 0 : factory NodeInfo_ConfigNodeInfo.fromBuffer($core.List<$core.int> i,
7670 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7671 0 : create()..mergeFromBuffer(i, r);
7672 0 : factory NodeInfo_ConfigNodeInfo.fromJson($core.String i,
7673 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7674 0 : create()..mergeFromJson(i, r);
7675 :
7676 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
7677 : _omitMessageNames ? '' : 'NodeInfo.ConfigNodeInfo',
7678 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
7679 : createEmptyInstance: create)
7680 0 : ..aOS(1, _omitFieldNames ? '' : 'codeVersion', protoName: 'codeVersion')
7681 0 : ..aOS(2, _omitFieldNames ? '' : 'p2pVersion', protoName: 'p2pVersion')
7682 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'listenPort', $pb.PbFieldType.O3,
7683 : protoName: 'listenPort')
7684 0 : ..aOB(4, _omitFieldNames ? '' : 'discoverEnable',
7685 : protoName: 'discoverEnable')
7686 0 : ..a<$core.int>(
7687 : 5, _omitFieldNames ? '' : 'activeNodeSize', $pb.PbFieldType.O3,
7688 : protoName: 'activeNodeSize')
7689 0 : ..a<$core.int>(
7690 : 6, _omitFieldNames ? '' : 'passiveNodeSize', $pb.PbFieldType.O3,
7691 : protoName: 'passiveNodeSize')
7692 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'sendNodeSize', $pb.PbFieldType.O3,
7693 : protoName: 'sendNodeSize')
7694 0 : ..a<$core.int>(
7695 : 8, _omitFieldNames ? '' : 'maxConnectCount', $pb.PbFieldType.O3,
7696 : protoName: 'maxConnectCount')
7697 0 : ..a<$core.int>(
7698 : 9, _omitFieldNames ? '' : 'sameIpMaxConnectCount', $pb.PbFieldType.O3,
7699 : protoName: 'sameIpMaxConnectCount')
7700 0 : ..a<$core.int>(
7701 : 10, _omitFieldNames ? '' : 'backupListenPort', $pb.PbFieldType.O3,
7702 : protoName: 'backupListenPort')
7703 0 : ..a<$core.int>(
7704 : 11, _omitFieldNames ? '' : 'backupMemberSize', $pb.PbFieldType.O3,
7705 : protoName: 'backupMemberSize')
7706 0 : ..a<$core.int>(
7707 : 12, _omitFieldNames ? '' : 'backupPriority', $pb.PbFieldType.O3,
7708 : protoName: 'backupPriority')
7709 0 : ..a<$core.int>(13, _omitFieldNames ? '' : 'dbVersion', $pb.PbFieldType.O3,
7710 : protoName: 'dbVersion')
7711 0 : ..a<$core.int>(
7712 : 14, _omitFieldNames ? '' : 'minParticipationRate', $pb.PbFieldType.O3,
7713 : protoName: 'minParticipationRate')
7714 0 : ..aOB(15, _omitFieldNames ? '' : 'supportConstant',
7715 : protoName: 'supportConstant')
7716 0 : ..a<$core.double>(
7717 : 16, _omitFieldNames ? '' : 'minTimeRatio', $pb.PbFieldType.OD,
7718 : protoName: 'minTimeRatio')
7719 0 : ..a<$core.double>(
7720 : 17, _omitFieldNames ? '' : 'maxTimeRatio', $pb.PbFieldType.OD,
7721 : protoName: 'maxTimeRatio')
7722 0 : ..aInt64(18, _omitFieldNames ? '' : 'allowCreationOfContracts',
7723 : protoName: 'allowCreationOfContracts')
7724 0 : ..aInt64(19, _omitFieldNames ? '' : 'allowAdaptiveEnergy',
7725 : protoName: 'allowAdaptiveEnergy')
7726 0 : ..hasRequiredFields = false;
7727 :
7728 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7729 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
7730 : 'Will be removed in next major version')
7731 : NodeInfo_ConfigNodeInfo clone() =>
7732 0 : NodeInfo_ConfigNodeInfo()..mergeFromMessage(this);
7733 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7734 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
7735 : 'Will be removed in next major version')
7736 : NodeInfo_ConfigNodeInfo copyWith(
7737 : void Function(NodeInfo_ConfigNodeInfo) updates) =>
7738 0 : super.copyWith((message) => updates(message as NodeInfo_ConfigNodeInfo))
7739 : as NodeInfo_ConfigNodeInfo;
7740 :
7741 0 : $pb.BuilderInfo get info_ => _i;
7742 :
7743 0 : @$core.pragma('dart2js:noInline')
7744 0 : static NodeInfo_ConfigNodeInfo create() => NodeInfo_ConfigNodeInfo._();
7745 0 : NodeInfo_ConfigNodeInfo createEmptyInstance() => create();
7746 0 : static $pb.PbList<NodeInfo_ConfigNodeInfo> createRepeated() =>
7747 0 : $pb.PbList<NodeInfo_ConfigNodeInfo>();
7748 0 : @$core.pragma('dart2js:noInline')
7749 : static NodeInfo_ConfigNodeInfo getDefault() => _defaultInstance ??=
7750 0 : $pb.GeneratedMessage.$_defaultFor<NodeInfo_ConfigNodeInfo>(create);
7751 : static NodeInfo_ConfigNodeInfo? _defaultInstance;
7752 :
7753 0 : @$pb.TagNumber(1)
7754 0 : $core.String get codeVersion => $_getSZ(0);
7755 0 : @$pb.TagNumber(1)
7756 : set codeVersion($core.String v) {
7757 0 : $_setString(0, v);
7758 : }
7759 :
7760 0 : @$pb.TagNumber(1)
7761 0 : $core.bool hasCodeVersion() => $_has(0);
7762 0 : @$pb.TagNumber(1)
7763 0 : void clearCodeVersion() => clearField(1);
7764 :
7765 0 : @$pb.TagNumber(2)
7766 0 : $core.String get p2pVersion => $_getSZ(1);
7767 0 : @$pb.TagNumber(2)
7768 : set p2pVersion($core.String v) {
7769 0 : $_setString(1, v);
7770 : }
7771 :
7772 0 : @$pb.TagNumber(2)
7773 0 : $core.bool hasP2pVersion() => $_has(1);
7774 0 : @$pb.TagNumber(2)
7775 0 : void clearP2pVersion() => clearField(2);
7776 :
7777 0 : @$pb.TagNumber(3)
7778 0 : $core.int get listenPort => $_getIZ(2);
7779 0 : @$pb.TagNumber(3)
7780 : set listenPort($core.int v) {
7781 0 : $_setSignedInt32(2, v);
7782 : }
7783 :
7784 0 : @$pb.TagNumber(3)
7785 0 : $core.bool hasListenPort() => $_has(2);
7786 0 : @$pb.TagNumber(3)
7787 0 : void clearListenPort() => clearField(3);
7788 :
7789 0 : @$pb.TagNumber(4)
7790 0 : $core.bool get discoverEnable => $_getBF(3);
7791 0 : @$pb.TagNumber(4)
7792 : set discoverEnable($core.bool v) {
7793 0 : $_setBool(3, v);
7794 : }
7795 :
7796 0 : @$pb.TagNumber(4)
7797 0 : $core.bool hasDiscoverEnable() => $_has(3);
7798 0 : @$pb.TagNumber(4)
7799 0 : void clearDiscoverEnable() => clearField(4);
7800 :
7801 0 : @$pb.TagNumber(5)
7802 0 : $core.int get activeNodeSize => $_getIZ(4);
7803 0 : @$pb.TagNumber(5)
7804 : set activeNodeSize($core.int v) {
7805 0 : $_setSignedInt32(4, v);
7806 : }
7807 :
7808 0 : @$pb.TagNumber(5)
7809 0 : $core.bool hasActiveNodeSize() => $_has(4);
7810 0 : @$pb.TagNumber(5)
7811 0 : void clearActiveNodeSize() => clearField(5);
7812 :
7813 0 : @$pb.TagNumber(6)
7814 0 : $core.int get passiveNodeSize => $_getIZ(5);
7815 0 : @$pb.TagNumber(6)
7816 : set passiveNodeSize($core.int v) {
7817 0 : $_setSignedInt32(5, v);
7818 : }
7819 :
7820 0 : @$pb.TagNumber(6)
7821 0 : $core.bool hasPassiveNodeSize() => $_has(5);
7822 0 : @$pb.TagNumber(6)
7823 0 : void clearPassiveNodeSize() => clearField(6);
7824 :
7825 0 : @$pb.TagNumber(7)
7826 0 : $core.int get sendNodeSize => $_getIZ(6);
7827 0 : @$pb.TagNumber(7)
7828 : set sendNodeSize($core.int v) {
7829 0 : $_setSignedInt32(6, v);
7830 : }
7831 :
7832 0 : @$pb.TagNumber(7)
7833 0 : $core.bool hasSendNodeSize() => $_has(6);
7834 0 : @$pb.TagNumber(7)
7835 0 : void clearSendNodeSize() => clearField(7);
7836 :
7837 0 : @$pb.TagNumber(8)
7838 0 : $core.int get maxConnectCount => $_getIZ(7);
7839 0 : @$pb.TagNumber(8)
7840 : set maxConnectCount($core.int v) {
7841 0 : $_setSignedInt32(7, v);
7842 : }
7843 :
7844 0 : @$pb.TagNumber(8)
7845 0 : $core.bool hasMaxConnectCount() => $_has(7);
7846 0 : @$pb.TagNumber(8)
7847 0 : void clearMaxConnectCount() => clearField(8);
7848 :
7849 0 : @$pb.TagNumber(9)
7850 0 : $core.int get sameIpMaxConnectCount => $_getIZ(8);
7851 0 : @$pb.TagNumber(9)
7852 : set sameIpMaxConnectCount($core.int v) {
7853 0 : $_setSignedInt32(8, v);
7854 : }
7855 :
7856 0 : @$pb.TagNumber(9)
7857 0 : $core.bool hasSameIpMaxConnectCount() => $_has(8);
7858 0 : @$pb.TagNumber(9)
7859 0 : void clearSameIpMaxConnectCount() => clearField(9);
7860 :
7861 0 : @$pb.TagNumber(10)
7862 0 : $core.int get backupListenPort => $_getIZ(9);
7863 0 : @$pb.TagNumber(10)
7864 : set backupListenPort($core.int v) {
7865 0 : $_setSignedInt32(9, v);
7866 : }
7867 :
7868 0 : @$pb.TagNumber(10)
7869 0 : $core.bool hasBackupListenPort() => $_has(9);
7870 0 : @$pb.TagNumber(10)
7871 0 : void clearBackupListenPort() => clearField(10);
7872 :
7873 0 : @$pb.TagNumber(11)
7874 0 : $core.int get backupMemberSize => $_getIZ(10);
7875 0 : @$pb.TagNumber(11)
7876 : set backupMemberSize($core.int v) {
7877 0 : $_setSignedInt32(10, v);
7878 : }
7879 :
7880 0 : @$pb.TagNumber(11)
7881 0 : $core.bool hasBackupMemberSize() => $_has(10);
7882 0 : @$pb.TagNumber(11)
7883 0 : void clearBackupMemberSize() => clearField(11);
7884 :
7885 0 : @$pb.TagNumber(12)
7886 0 : $core.int get backupPriority => $_getIZ(11);
7887 0 : @$pb.TagNumber(12)
7888 : set backupPriority($core.int v) {
7889 0 : $_setSignedInt32(11, v);
7890 : }
7891 :
7892 0 : @$pb.TagNumber(12)
7893 0 : $core.bool hasBackupPriority() => $_has(11);
7894 0 : @$pb.TagNumber(12)
7895 0 : void clearBackupPriority() => clearField(12);
7896 :
7897 0 : @$pb.TagNumber(13)
7898 0 : $core.int get dbVersion => $_getIZ(12);
7899 0 : @$pb.TagNumber(13)
7900 : set dbVersion($core.int v) {
7901 0 : $_setSignedInt32(12, v);
7902 : }
7903 :
7904 0 : @$pb.TagNumber(13)
7905 0 : $core.bool hasDbVersion() => $_has(12);
7906 0 : @$pb.TagNumber(13)
7907 0 : void clearDbVersion() => clearField(13);
7908 :
7909 0 : @$pb.TagNumber(14)
7910 0 : $core.int get minParticipationRate => $_getIZ(13);
7911 0 : @$pb.TagNumber(14)
7912 : set minParticipationRate($core.int v) {
7913 0 : $_setSignedInt32(13, v);
7914 : }
7915 :
7916 0 : @$pb.TagNumber(14)
7917 0 : $core.bool hasMinParticipationRate() => $_has(13);
7918 0 : @$pb.TagNumber(14)
7919 0 : void clearMinParticipationRate() => clearField(14);
7920 :
7921 0 : @$pb.TagNumber(15)
7922 0 : $core.bool get supportConstant => $_getBF(14);
7923 0 : @$pb.TagNumber(15)
7924 : set supportConstant($core.bool v) {
7925 0 : $_setBool(14, v);
7926 : }
7927 :
7928 0 : @$pb.TagNumber(15)
7929 0 : $core.bool hasSupportConstant() => $_has(14);
7930 0 : @$pb.TagNumber(15)
7931 0 : void clearSupportConstant() => clearField(15);
7932 :
7933 0 : @$pb.TagNumber(16)
7934 0 : $core.double get minTimeRatio => $_getN(15);
7935 0 : @$pb.TagNumber(16)
7936 : set minTimeRatio($core.double v) {
7937 0 : $_setDouble(15, v);
7938 : }
7939 :
7940 0 : @$pb.TagNumber(16)
7941 0 : $core.bool hasMinTimeRatio() => $_has(15);
7942 0 : @$pb.TagNumber(16)
7943 0 : void clearMinTimeRatio() => clearField(16);
7944 :
7945 0 : @$pb.TagNumber(17)
7946 0 : $core.double get maxTimeRatio => $_getN(16);
7947 0 : @$pb.TagNumber(17)
7948 : set maxTimeRatio($core.double v) {
7949 0 : $_setDouble(16, v);
7950 : }
7951 :
7952 0 : @$pb.TagNumber(17)
7953 0 : $core.bool hasMaxTimeRatio() => $_has(16);
7954 0 : @$pb.TagNumber(17)
7955 0 : void clearMaxTimeRatio() => clearField(17);
7956 :
7957 0 : @$pb.TagNumber(18)
7958 0 : $fixnum.Int64 get allowCreationOfContracts => $_getI64(17);
7959 0 : @$pb.TagNumber(18)
7960 : set allowCreationOfContracts($fixnum.Int64 v) {
7961 0 : $_setInt64(17, v);
7962 : }
7963 :
7964 0 : @$pb.TagNumber(18)
7965 0 : $core.bool hasAllowCreationOfContracts() => $_has(17);
7966 0 : @$pb.TagNumber(18)
7967 0 : void clearAllowCreationOfContracts() => clearField(18);
7968 :
7969 0 : @$pb.TagNumber(19)
7970 0 : $fixnum.Int64 get allowAdaptiveEnergy => $_getI64(18);
7971 0 : @$pb.TagNumber(19)
7972 : set allowAdaptiveEnergy($fixnum.Int64 v) {
7973 0 : $_setInt64(18, v);
7974 : }
7975 :
7976 0 : @$pb.TagNumber(19)
7977 0 : $core.bool hasAllowAdaptiveEnergy() => $_has(18);
7978 0 : @$pb.TagNumber(19)
7979 0 : void clearAllowAdaptiveEnergy() => clearField(19);
7980 : }
7981 :
7982 : class NodeInfo_MachineInfo_MemoryDescInfo extends $pb.GeneratedMessage {
7983 0 : factory NodeInfo_MachineInfo_MemoryDescInfo({
7984 : $core.String? name,
7985 : $fixnum.Int64? initSize,
7986 : $fixnum.Int64? useSize,
7987 : $fixnum.Int64? maxSize,
7988 : $core.double? useRate,
7989 : }) {
7990 0 : final $result = create();
7991 : if (name != null) {
7992 0 : $result.name = name;
7993 : }
7994 : if (initSize != null) {
7995 0 : $result.initSize = initSize;
7996 : }
7997 : if (useSize != null) {
7998 0 : $result.useSize = useSize;
7999 : }
8000 : if (maxSize != null) {
8001 0 : $result.maxSize = maxSize;
8002 : }
8003 : if (useRate != null) {
8004 0 : $result.useRate = useRate;
8005 : }
8006 : return $result;
8007 : }
8008 0 : NodeInfo_MachineInfo_MemoryDescInfo._() : super();
8009 0 : factory NodeInfo_MachineInfo_MemoryDescInfo.fromBuffer(
8010 : $core.List<$core.int> i,
8011 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8012 0 : create()..mergeFromBuffer(i, r);
8013 0 : factory NodeInfo_MachineInfo_MemoryDescInfo.fromJson($core.String i,
8014 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8015 0 : create()..mergeFromJson(i, r);
8016 :
8017 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8018 : _omitMessageNames ? '' : 'NodeInfo.MachineInfo.MemoryDescInfo',
8019 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8020 : createEmptyInstance: create)
8021 0 : ..aOS(1, _omitFieldNames ? '' : 'name')
8022 0 : ..aInt64(2, _omitFieldNames ? '' : 'initSize', protoName: 'initSize')
8023 0 : ..aInt64(3, _omitFieldNames ? '' : 'useSize', protoName: 'useSize')
8024 0 : ..aInt64(4, _omitFieldNames ? '' : 'maxSize', protoName: 'maxSize')
8025 0 : ..a<$core.double>(5, _omitFieldNames ? '' : 'useRate', $pb.PbFieldType.OD,
8026 : protoName: 'useRate')
8027 0 : ..hasRequiredFields = false;
8028 :
8029 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8030 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8031 : 'Will be removed in next major version')
8032 : NodeInfo_MachineInfo_MemoryDescInfo clone() =>
8033 0 : NodeInfo_MachineInfo_MemoryDescInfo()..mergeFromMessage(this);
8034 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8035 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8036 : 'Will be removed in next major version')
8037 : NodeInfo_MachineInfo_MemoryDescInfo copyWith(
8038 : void Function(NodeInfo_MachineInfo_MemoryDescInfo) updates) =>
8039 0 : super.copyWith((message) =>
8040 0 : updates(message as NodeInfo_MachineInfo_MemoryDescInfo))
8041 : as NodeInfo_MachineInfo_MemoryDescInfo;
8042 :
8043 0 : $pb.BuilderInfo get info_ => _i;
8044 :
8045 0 : @$core.pragma('dart2js:noInline')
8046 : static NodeInfo_MachineInfo_MemoryDescInfo create() =>
8047 0 : NodeInfo_MachineInfo_MemoryDescInfo._();
8048 0 : NodeInfo_MachineInfo_MemoryDescInfo createEmptyInstance() => create();
8049 0 : static $pb.PbList<NodeInfo_MachineInfo_MemoryDescInfo> createRepeated() =>
8050 0 : $pb.PbList<NodeInfo_MachineInfo_MemoryDescInfo>();
8051 0 : @$core.pragma('dart2js:noInline')
8052 : static NodeInfo_MachineInfo_MemoryDescInfo getDefault() =>
8053 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<
8054 : NodeInfo_MachineInfo_MemoryDescInfo>(create);
8055 : static NodeInfo_MachineInfo_MemoryDescInfo? _defaultInstance;
8056 :
8057 0 : @$pb.TagNumber(1)
8058 0 : $core.String get name => $_getSZ(0);
8059 0 : @$pb.TagNumber(1)
8060 : set name($core.String v) {
8061 0 : $_setString(0, v);
8062 : }
8063 :
8064 0 : @$pb.TagNumber(1)
8065 0 : $core.bool hasName() => $_has(0);
8066 0 : @$pb.TagNumber(1)
8067 0 : void clearName() => clearField(1);
8068 :
8069 0 : @$pb.TagNumber(2)
8070 0 : $fixnum.Int64 get initSize => $_getI64(1);
8071 0 : @$pb.TagNumber(2)
8072 : set initSize($fixnum.Int64 v) {
8073 0 : $_setInt64(1, v);
8074 : }
8075 :
8076 0 : @$pb.TagNumber(2)
8077 0 : $core.bool hasInitSize() => $_has(1);
8078 0 : @$pb.TagNumber(2)
8079 0 : void clearInitSize() => clearField(2);
8080 :
8081 0 : @$pb.TagNumber(3)
8082 0 : $fixnum.Int64 get useSize => $_getI64(2);
8083 0 : @$pb.TagNumber(3)
8084 : set useSize($fixnum.Int64 v) {
8085 0 : $_setInt64(2, v);
8086 : }
8087 :
8088 0 : @$pb.TagNumber(3)
8089 0 : $core.bool hasUseSize() => $_has(2);
8090 0 : @$pb.TagNumber(3)
8091 0 : void clearUseSize() => clearField(3);
8092 :
8093 0 : @$pb.TagNumber(4)
8094 0 : $fixnum.Int64 get maxSize => $_getI64(3);
8095 0 : @$pb.TagNumber(4)
8096 : set maxSize($fixnum.Int64 v) {
8097 0 : $_setInt64(3, v);
8098 : }
8099 :
8100 0 : @$pb.TagNumber(4)
8101 0 : $core.bool hasMaxSize() => $_has(3);
8102 0 : @$pb.TagNumber(4)
8103 0 : void clearMaxSize() => clearField(4);
8104 :
8105 0 : @$pb.TagNumber(5)
8106 0 : $core.double get useRate => $_getN(4);
8107 0 : @$pb.TagNumber(5)
8108 : set useRate($core.double v) {
8109 0 : $_setDouble(4, v);
8110 : }
8111 :
8112 0 : @$pb.TagNumber(5)
8113 0 : $core.bool hasUseRate() => $_has(4);
8114 0 : @$pb.TagNumber(5)
8115 0 : void clearUseRate() => clearField(5);
8116 : }
8117 :
8118 : class NodeInfo_MachineInfo_DeadLockThreadInfo extends $pb.GeneratedMessage {
8119 0 : factory NodeInfo_MachineInfo_DeadLockThreadInfo({
8120 : $core.String? name,
8121 : $core.String? lockName,
8122 : $core.String? lockOwner,
8123 : $core.String? state,
8124 : $fixnum.Int64? blockTime,
8125 : $fixnum.Int64? waitTime,
8126 : $core.String? stackTrace,
8127 : }) {
8128 0 : final $result = create();
8129 : if (name != null) {
8130 0 : $result.name = name;
8131 : }
8132 : if (lockName != null) {
8133 0 : $result.lockName = lockName;
8134 : }
8135 : if (lockOwner != null) {
8136 0 : $result.lockOwner = lockOwner;
8137 : }
8138 : if (state != null) {
8139 0 : $result.state = state;
8140 : }
8141 : if (blockTime != null) {
8142 0 : $result.blockTime = blockTime;
8143 : }
8144 : if (waitTime != null) {
8145 0 : $result.waitTime = waitTime;
8146 : }
8147 : if (stackTrace != null) {
8148 0 : $result.stackTrace = stackTrace;
8149 : }
8150 : return $result;
8151 : }
8152 0 : NodeInfo_MachineInfo_DeadLockThreadInfo._() : super();
8153 0 : factory NodeInfo_MachineInfo_DeadLockThreadInfo.fromBuffer(
8154 : $core.List<$core.int> i,
8155 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8156 0 : create()..mergeFromBuffer(i, r);
8157 0 : factory NodeInfo_MachineInfo_DeadLockThreadInfo.fromJson($core.String i,
8158 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8159 0 : create()..mergeFromJson(i, r);
8160 :
8161 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8162 : _omitMessageNames ? '' : 'NodeInfo.MachineInfo.DeadLockThreadInfo',
8163 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8164 : createEmptyInstance: create)
8165 0 : ..aOS(1, _omitFieldNames ? '' : 'name')
8166 0 : ..aOS(2, _omitFieldNames ? '' : 'lockName', protoName: 'lockName')
8167 0 : ..aOS(3, _omitFieldNames ? '' : 'lockOwner', protoName: 'lockOwner')
8168 0 : ..aOS(4, _omitFieldNames ? '' : 'state')
8169 0 : ..aInt64(5, _omitFieldNames ? '' : 'blockTime', protoName: 'blockTime')
8170 0 : ..aInt64(6, _omitFieldNames ? '' : 'waitTime', protoName: 'waitTime')
8171 0 : ..aOS(7, _omitFieldNames ? '' : 'stackTrace', protoName: 'stackTrace')
8172 0 : ..hasRequiredFields = false;
8173 :
8174 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8175 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8176 : 'Will be removed in next major version')
8177 : NodeInfo_MachineInfo_DeadLockThreadInfo clone() =>
8178 0 : NodeInfo_MachineInfo_DeadLockThreadInfo()..mergeFromMessage(this);
8179 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8180 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8181 : 'Will be removed in next major version')
8182 : NodeInfo_MachineInfo_DeadLockThreadInfo copyWith(
8183 : void Function(NodeInfo_MachineInfo_DeadLockThreadInfo) updates) =>
8184 0 : super.copyWith((message) =>
8185 0 : updates(message as NodeInfo_MachineInfo_DeadLockThreadInfo))
8186 : as NodeInfo_MachineInfo_DeadLockThreadInfo;
8187 :
8188 0 : $pb.BuilderInfo get info_ => _i;
8189 :
8190 0 : @$core.pragma('dart2js:noInline')
8191 : static NodeInfo_MachineInfo_DeadLockThreadInfo create() =>
8192 0 : NodeInfo_MachineInfo_DeadLockThreadInfo._();
8193 0 : NodeInfo_MachineInfo_DeadLockThreadInfo createEmptyInstance() => create();
8194 0 : static $pb.PbList<NodeInfo_MachineInfo_DeadLockThreadInfo> createRepeated() =>
8195 0 : $pb.PbList<NodeInfo_MachineInfo_DeadLockThreadInfo>();
8196 0 : @$core.pragma('dart2js:noInline')
8197 : static NodeInfo_MachineInfo_DeadLockThreadInfo getDefault() =>
8198 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<
8199 : NodeInfo_MachineInfo_DeadLockThreadInfo>(create);
8200 : static NodeInfo_MachineInfo_DeadLockThreadInfo? _defaultInstance;
8201 :
8202 0 : @$pb.TagNumber(1)
8203 0 : $core.String get name => $_getSZ(0);
8204 0 : @$pb.TagNumber(1)
8205 : set name($core.String v) {
8206 0 : $_setString(0, v);
8207 : }
8208 :
8209 0 : @$pb.TagNumber(1)
8210 0 : $core.bool hasName() => $_has(0);
8211 0 : @$pb.TagNumber(1)
8212 0 : void clearName() => clearField(1);
8213 :
8214 0 : @$pb.TagNumber(2)
8215 0 : $core.String get lockName => $_getSZ(1);
8216 0 : @$pb.TagNumber(2)
8217 : set lockName($core.String v) {
8218 0 : $_setString(1, v);
8219 : }
8220 :
8221 0 : @$pb.TagNumber(2)
8222 0 : $core.bool hasLockName() => $_has(1);
8223 0 : @$pb.TagNumber(2)
8224 0 : void clearLockName() => clearField(2);
8225 :
8226 0 : @$pb.TagNumber(3)
8227 0 : $core.String get lockOwner => $_getSZ(2);
8228 0 : @$pb.TagNumber(3)
8229 : set lockOwner($core.String v) {
8230 0 : $_setString(2, v);
8231 : }
8232 :
8233 0 : @$pb.TagNumber(3)
8234 0 : $core.bool hasLockOwner() => $_has(2);
8235 0 : @$pb.TagNumber(3)
8236 0 : void clearLockOwner() => clearField(3);
8237 :
8238 0 : @$pb.TagNumber(4)
8239 0 : $core.String get state => $_getSZ(3);
8240 0 : @$pb.TagNumber(4)
8241 : set state($core.String v) {
8242 0 : $_setString(3, v);
8243 : }
8244 :
8245 0 : @$pb.TagNumber(4)
8246 0 : $core.bool hasState() => $_has(3);
8247 0 : @$pb.TagNumber(4)
8248 0 : void clearState() => clearField(4);
8249 :
8250 0 : @$pb.TagNumber(5)
8251 0 : $fixnum.Int64 get blockTime => $_getI64(4);
8252 0 : @$pb.TagNumber(5)
8253 : set blockTime($fixnum.Int64 v) {
8254 0 : $_setInt64(4, v);
8255 : }
8256 :
8257 0 : @$pb.TagNumber(5)
8258 0 : $core.bool hasBlockTime() => $_has(4);
8259 0 : @$pb.TagNumber(5)
8260 0 : void clearBlockTime() => clearField(5);
8261 :
8262 0 : @$pb.TagNumber(6)
8263 0 : $fixnum.Int64 get waitTime => $_getI64(5);
8264 0 : @$pb.TagNumber(6)
8265 : set waitTime($fixnum.Int64 v) {
8266 0 : $_setInt64(5, v);
8267 : }
8268 :
8269 0 : @$pb.TagNumber(6)
8270 0 : $core.bool hasWaitTime() => $_has(5);
8271 0 : @$pb.TagNumber(6)
8272 0 : void clearWaitTime() => clearField(6);
8273 :
8274 0 : @$pb.TagNumber(7)
8275 0 : $core.String get stackTrace => $_getSZ(6);
8276 0 : @$pb.TagNumber(7)
8277 : set stackTrace($core.String v) {
8278 0 : $_setString(6, v);
8279 : }
8280 :
8281 0 : @$pb.TagNumber(7)
8282 0 : $core.bool hasStackTrace() => $_has(6);
8283 0 : @$pb.TagNumber(7)
8284 0 : void clearStackTrace() => clearField(7);
8285 : }
8286 :
8287 : class NodeInfo_MachineInfo extends $pb.GeneratedMessage {
8288 0 : factory NodeInfo_MachineInfo({
8289 : $core.int? threadCount,
8290 : $core.int? deadLockThreadCount,
8291 : $core.int? cpuCount,
8292 : $fixnum.Int64? totalMemory,
8293 : $fixnum.Int64? freeMemory,
8294 : $core.double? cpuRate,
8295 : $core.String? javaVersion,
8296 : $core.String? osName,
8297 : $fixnum.Int64? jvmTotalMemory,
8298 : $fixnum.Int64? jvmFreeMemory,
8299 : $core.double? processCpuRate,
8300 : $core.Iterable<NodeInfo_MachineInfo_MemoryDescInfo>? memoryDescInfoList,
8301 : $core.Iterable<NodeInfo_MachineInfo_DeadLockThreadInfo>?
8302 : deadLockThreadInfoList,
8303 : }) {
8304 0 : final $result = create();
8305 : if (threadCount != null) {
8306 0 : $result.threadCount = threadCount;
8307 : }
8308 : if (deadLockThreadCount != null) {
8309 0 : $result.deadLockThreadCount = deadLockThreadCount;
8310 : }
8311 : if (cpuCount != null) {
8312 0 : $result.cpuCount = cpuCount;
8313 : }
8314 : if (totalMemory != null) {
8315 0 : $result.totalMemory = totalMemory;
8316 : }
8317 : if (freeMemory != null) {
8318 0 : $result.freeMemory = freeMemory;
8319 : }
8320 : if (cpuRate != null) {
8321 0 : $result.cpuRate = cpuRate;
8322 : }
8323 : if (javaVersion != null) {
8324 0 : $result.javaVersion = javaVersion;
8325 : }
8326 : if (osName != null) {
8327 0 : $result.osName = osName;
8328 : }
8329 : if (jvmTotalMemory != null) {
8330 0 : $result.jvmTotalMemory = jvmTotalMemory;
8331 : }
8332 : if (jvmFreeMemory != null) {
8333 0 : $result.jvmFreeMemory = jvmFreeMemory;
8334 : }
8335 : if (processCpuRate != null) {
8336 0 : $result.processCpuRate = processCpuRate;
8337 : }
8338 : if (memoryDescInfoList != null) {
8339 0 : $result.memoryDescInfoList.addAll(memoryDescInfoList);
8340 : }
8341 : if (deadLockThreadInfoList != null) {
8342 0 : $result.deadLockThreadInfoList.addAll(deadLockThreadInfoList);
8343 : }
8344 : return $result;
8345 : }
8346 0 : NodeInfo_MachineInfo._() : super();
8347 0 : factory NodeInfo_MachineInfo.fromBuffer($core.List<$core.int> i,
8348 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8349 0 : create()..mergeFromBuffer(i, r);
8350 0 : factory NodeInfo_MachineInfo.fromJson($core.String i,
8351 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8352 0 : create()..mergeFromJson(i, r);
8353 :
8354 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8355 : _omitMessageNames ? '' : 'NodeInfo.MachineInfo',
8356 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8357 : createEmptyInstance: create)
8358 0 : ..a<$core.int>(1, _omitFieldNames ? '' : 'threadCount', $pb.PbFieldType.O3,
8359 : protoName: 'threadCount')
8360 0 : ..a<$core.int>(
8361 : 2, _omitFieldNames ? '' : 'deadLockThreadCount', $pb.PbFieldType.O3,
8362 : protoName: 'deadLockThreadCount')
8363 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'cpuCount', $pb.PbFieldType.O3,
8364 : protoName: 'cpuCount')
8365 0 : ..aInt64(4, _omitFieldNames ? '' : 'totalMemory', protoName: 'totalMemory')
8366 0 : ..aInt64(5, _omitFieldNames ? '' : 'freeMemory', protoName: 'freeMemory')
8367 0 : ..a<$core.double>(6, _omitFieldNames ? '' : 'cpuRate', $pb.PbFieldType.OD,
8368 : protoName: 'cpuRate')
8369 0 : ..aOS(7, _omitFieldNames ? '' : 'javaVersion', protoName: 'javaVersion')
8370 0 : ..aOS(8, _omitFieldNames ? '' : 'osName', protoName: 'osName')
8371 0 : ..aInt64(9, _omitFieldNames ? '' : 'jvmTotalMemory',
8372 : protoName: 'jvmTotalMemory')
8373 0 : ..aInt64(10, _omitFieldNames ? '' : 'jvmFreeMemory',
8374 : protoName: 'jvmFreeMemory')
8375 0 : ..a<$core.double>(
8376 : 11, _omitFieldNames ? '' : 'processCpuRate', $pb.PbFieldType.OD,
8377 : protoName: 'processCpuRate')
8378 0 : ..pc<NodeInfo_MachineInfo_MemoryDescInfo>(
8379 : 12, _omitFieldNames ? '' : 'memoryDescInfoList', $pb.PbFieldType.PM,
8380 : protoName: 'memoryDescInfoList',
8381 : subBuilder: NodeInfo_MachineInfo_MemoryDescInfo.create)
8382 0 : ..pc<NodeInfo_MachineInfo_DeadLockThreadInfo>(
8383 : 13, _omitFieldNames ? '' : 'deadLockThreadInfoList', $pb.PbFieldType.PM,
8384 : protoName: 'deadLockThreadInfoList',
8385 : subBuilder: NodeInfo_MachineInfo_DeadLockThreadInfo.create)
8386 0 : ..hasRequiredFields = false;
8387 :
8388 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8389 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8390 : 'Will be removed in next major version')
8391 : NodeInfo_MachineInfo clone() =>
8392 0 : NodeInfo_MachineInfo()..mergeFromMessage(this);
8393 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8394 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8395 : 'Will be removed in next major version')
8396 : NodeInfo_MachineInfo copyWith(void Function(NodeInfo_MachineInfo) updates) =>
8397 0 : super.copyWith((message) => updates(message as NodeInfo_MachineInfo))
8398 : as NodeInfo_MachineInfo;
8399 :
8400 0 : $pb.BuilderInfo get info_ => _i;
8401 :
8402 0 : @$core.pragma('dart2js:noInline')
8403 0 : static NodeInfo_MachineInfo create() => NodeInfo_MachineInfo._();
8404 0 : NodeInfo_MachineInfo createEmptyInstance() => create();
8405 0 : static $pb.PbList<NodeInfo_MachineInfo> createRepeated() =>
8406 0 : $pb.PbList<NodeInfo_MachineInfo>();
8407 0 : @$core.pragma('dart2js:noInline')
8408 : static NodeInfo_MachineInfo getDefault() => _defaultInstance ??=
8409 0 : $pb.GeneratedMessage.$_defaultFor<NodeInfo_MachineInfo>(create);
8410 : static NodeInfo_MachineInfo? _defaultInstance;
8411 :
8412 0 : @$pb.TagNumber(1)
8413 0 : $core.int get threadCount => $_getIZ(0);
8414 0 : @$pb.TagNumber(1)
8415 : set threadCount($core.int v) {
8416 0 : $_setSignedInt32(0, v);
8417 : }
8418 :
8419 0 : @$pb.TagNumber(1)
8420 0 : $core.bool hasThreadCount() => $_has(0);
8421 0 : @$pb.TagNumber(1)
8422 0 : void clearThreadCount() => clearField(1);
8423 :
8424 0 : @$pb.TagNumber(2)
8425 0 : $core.int get deadLockThreadCount => $_getIZ(1);
8426 0 : @$pb.TagNumber(2)
8427 : set deadLockThreadCount($core.int v) {
8428 0 : $_setSignedInt32(1, v);
8429 : }
8430 :
8431 0 : @$pb.TagNumber(2)
8432 0 : $core.bool hasDeadLockThreadCount() => $_has(1);
8433 0 : @$pb.TagNumber(2)
8434 0 : void clearDeadLockThreadCount() => clearField(2);
8435 :
8436 0 : @$pb.TagNumber(3)
8437 0 : $core.int get cpuCount => $_getIZ(2);
8438 0 : @$pb.TagNumber(3)
8439 : set cpuCount($core.int v) {
8440 0 : $_setSignedInt32(2, v);
8441 : }
8442 :
8443 0 : @$pb.TagNumber(3)
8444 0 : $core.bool hasCpuCount() => $_has(2);
8445 0 : @$pb.TagNumber(3)
8446 0 : void clearCpuCount() => clearField(3);
8447 :
8448 0 : @$pb.TagNumber(4)
8449 0 : $fixnum.Int64 get totalMemory => $_getI64(3);
8450 0 : @$pb.TagNumber(4)
8451 : set totalMemory($fixnum.Int64 v) {
8452 0 : $_setInt64(3, v);
8453 : }
8454 :
8455 0 : @$pb.TagNumber(4)
8456 0 : $core.bool hasTotalMemory() => $_has(3);
8457 0 : @$pb.TagNumber(4)
8458 0 : void clearTotalMemory() => clearField(4);
8459 :
8460 0 : @$pb.TagNumber(5)
8461 0 : $fixnum.Int64 get freeMemory => $_getI64(4);
8462 0 : @$pb.TagNumber(5)
8463 : set freeMemory($fixnum.Int64 v) {
8464 0 : $_setInt64(4, v);
8465 : }
8466 :
8467 0 : @$pb.TagNumber(5)
8468 0 : $core.bool hasFreeMemory() => $_has(4);
8469 0 : @$pb.TagNumber(5)
8470 0 : void clearFreeMemory() => clearField(5);
8471 :
8472 0 : @$pb.TagNumber(6)
8473 0 : $core.double get cpuRate => $_getN(5);
8474 0 : @$pb.TagNumber(6)
8475 : set cpuRate($core.double v) {
8476 0 : $_setDouble(5, v);
8477 : }
8478 :
8479 0 : @$pb.TagNumber(6)
8480 0 : $core.bool hasCpuRate() => $_has(5);
8481 0 : @$pb.TagNumber(6)
8482 0 : void clearCpuRate() => clearField(6);
8483 :
8484 0 : @$pb.TagNumber(7)
8485 0 : $core.String get javaVersion => $_getSZ(6);
8486 0 : @$pb.TagNumber(7)
8487 : set javaVersion($core.String v) {
8488 0 : $_setString(6, v);
8489 : }
8490 :
8491 0 : @$pb.TagNumber(7)
8492 0 : $core.bool hasJavaVersion() => $_has(6);
8493 0 : @$pb.TagNumber(7)
8494 0 : void clearJavaVersion() => clearField(7);
8495 :
8496 0 : @$pb.TagNumber(8)
8497 0 : $core.String get osName => $_getSZ(7);
8498 0 : @$pb.TagNumber(8)
8499 : set osName($core.String v) {
8500 0 : $_setString(7, v);
8501 : }
8502 :
8503 0 : @$pb.TagNumber(8)
8504 0 : $core.bool hasOsName() => $_has(7);
8505 0 : @$pb.TagNumber(8)
8506 0 : void clearOsName() => clearField(8);
8507 :
8508 0 : @$pb.TagNumber(9)
8509 0 : $fixnum.Int64 get jvmTotalMemory => $_getI64(8);
8510 0 : @$pb.TagNumber(9)
8511 : set jvmTotalMemory($fixnum.Int64 v) {
8512 0 : $_setInt64(8, v);
8513 : }
8514 :
8515 0 : @$pb.TagNumber(9)
8516 0 : $core.bool hasJvmTotalMemory() => $_has(8);
8517 0 : @$pb.TagNumber(9)
8518 0 : void clearJvmTotalMemory() => clearField(9);
8519 :
8520 0 : @$pb.TagNumber(10)
8521 0 : $fixnum.Int64 get jvmFreeMemory => $_getI64(9);
8522 0 : @$pb.TagNumber(10)
8523 : set jvmFreeMemory($fixnum.Int64 v) {
8524 0 : $_setInt64(9, v);
8525 : }
8526 :
8527 0 : @$pb.TagNumber(10)
8528 0 : $core.bool hasJvmFreeMemory() => $_has(9);
8529 0 : @$pb.TagNumber(10)
8530 0 : void clearJvmFreeMemory() => clearField(10);
8531 :
8532 0 : @$pb.TagNumber(11)
8533 0 : $core.double get processCpuRate => $_getN(10);
8534 0 : @$pb.TagNumber(11)
8535 : set processCpuRate($core.double v) {
8536 0 : $_setDouble(10, v);
8537 : }
8538 :
8539 0 : @$pb.TagNumber(11)
8540 0 : $core.bool hasProcessCpuRate() => $_has(10);
8541 0 : @$pb.TagNumber(11)
8542 0 : void clearProcessCpuRate() => clearField(11);
8543 :
8544 0 : @$pb.TagNumber(12)
8545 : $core.List<NodeInfo_MachineInfo_MemoryDescInfo> get memoryDescInfoList =>
8546 0 : $_getList(11);
8547 :
8548 0 : @$pb.TagNumber(13)
8549 : $core.List<NodeInfo_MachineInfo_DeadLockThreadInfo>
8550 0 : get deadLockThreadInfoList => $_getList(12);
8551 : }
8552 :
8553 : class NodeInfo extends $pb.GeneratedMessage {
8554 0 : factory NodeInfo({
8555 : $fixnum.Int64? beginSyncNum,
8556 : $core.String? block,
8557 : $core.String? solidityBlock,
8558 : $core.int? currentConnectCount,
8559 : $core.int? activeConnectCount,
8560 : $core.int? passiveConnectCount,
8561 : $fixnum.Int64? totalFlow,
8562 : $core.Iterable<NodeInfo_PeerInfo>? peerInfoList,
8563 : NodeInfo_ConfigNodeInfo? configNodeInfo,
8564 : NodeInfo_MachineInfo? machineInfo,
8565 : $core.Map<$core.String, $core.String>? cheatWitnessInfoMap,
8566 : }) {
8567 0 : final $result = create();
8568 : if (beginSyncNum != null) {
8569 0 : $result.beginSyncNum = beginSyncNum;
8570 : }
8571 : if (block != null) {
8572 0 : $result.block = block;
8573 : }
8574 : if (solidityBlock != null) {
8575 0 : $result.solidityBlock = solidityBlock;
8576 : }
8577 : if (currentConnectCount != null) {
8578 0 : $result.currentConnectCount = currentConnectCount;
8579 : }
8580 : if (activeConnectCount != null) {
8581 0 : $result.activeConnectCount = activeConnectCount;
8582 : }
8583 : if (passiveConnectCount != null) {
8584 0 : $result.passiveConnectCount = passiveConnectCount;
8585 : }
8586 : if (totalFlow != null) {
8587 0 : $result.totalFlow = totalFlow;
8588 : }
8589 : if (peerInfoList != null) {
8590 0 : $result.peerInfoList.addAll(peerInfoList);
8591 : }
8592 : if (configNodeInfo != null) {
8593 0 : $result.configNodeInfo = configNodeInfo;
8594 : }
8595 : if (machineInfo != null) {
8596 0 : $result.machineInfo = machineInfo;
8597 : }
8598 : if (cheatWitnessInfoMap != null) {
8599 0 : $result.cheatWitnessInfoMap.addAll(cheatWitnessInfoMap);
8600 : }
8601 : return $result;
8602 : }
8603 0 : NodeInfo._() : super();
8604 0 : factory NodeInfo.fromBuffer($core.List<$core.int> i,
8605 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8606 0 : create()..mergeFromBuffer(i, r);
8607 0 : factory NodeInfo.fromJson($core.String i,
8608 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8609 0 : create()..mergeFromJson(i, r);
8610 :
8611 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8612 : _omitMessageNames ? '' : 'NodeInfo',
8613 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8614 : createEmptyInstance: create)
8615 0 : ..aInt64(1, _omitFieldNames ? '' : 'beginSyncNum',
8616 : protoName: 'beginSyncNum')
8617 0 : ..aOS(2, _omitFieldNames ? '' : 'block')
8618 0 : ..aOS(3, _omitFieldNames ? '' : 'solidityBlock', protoName: 'solidityBlock')
8619 0 : ..a<$core.int>(
8620 : 4, _omitFieldNames ? '' : 'currentConnectCount', $pb.PbFieldType.O3,
8621 : protoName: 'currentConnectCount')
8622 0 : ..a<$core.int>(
8623 : 5, _omitFieldNames ? '' : 'activeConnectCount', $pb.PbFieldType.O3,
8624 : protoName: 'activeConnectCount')
8625 0 : ..a<$core.int>(
8626 : 6, _omitFieldNames ? '' : 'passiveConnectCount', $pb.PbFieldType.O3,
8627 : protoName: 'passiveConnectCount')
8628 0 : ..aInt64(7, _omitFieldNames ? '' : 'totalFlow', protoName: 'totalFlow')
8629 0 : ..pc<NodeInfo_PeerInfo>(
8630 : 8, _omitFieldNames ? '' : 'peerInfoList', $pb.PbFieldType.PM,
8631 : protoName: 'peerInfoList', subBuilder: NodeInfo_PeerInfo.create)
8632 0 : ..aOM<NodeInfo_ConfigNodeInfo>(9, _omitFieldNames ? '' : 'configNodeInfo',
8633 : protoName: 'configNodeInfo', subBuilder: NodeInfo_ConfigNodeInfo.create)
8634 0 : ..aOM<NodeInfo_MachineInfo>(10, _omitFieldNames ? '' : 'machineInfo',
8635 : protoName: 'machineInfo', subBuilder: NodeInfo_MachineInfo.create)
8636 0 : ..m<$core.String, $core.String>(
8637 : 11, _omitFieldNames ? '' : 'cheatWitnessInfoMap',
8638 : protoName: 'cheatWitnessInfoMap',
8639 : entryClassName: 'NodeInfo.CheatWitnessInfoMapEntry',
8640 : keyFieldType: $pb.PbFieldType.OS,
8641 : valueFieldType: $pb.PbFieldType.OS,
8642 : packageName: const $pb.PackageName('protocol'))
8643 0 : ..hasRequiredFields = false;
8644 :
8645 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8646 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8647 : 'Will be removed in next major version')
8648 0 : NodeInfo clone() => NodeInfo()..mergeFromMessage(this);
8649 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8650 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8651 : 'Will be removed in next major version')
8652 : NodeInfo copyWith(void Function(NodeInfo) updates) =>
8653 0 : super.copyWith((message) => updates(message as NodeInfo)) as NodeInfo;
8654 :
8655 0 : $pb.BuilderInfo get info_ => _i;
8656 :
8657 0 : @$core.pragma('dart2js:noInline')
8658 0 : static NodeInfo create() => NodeInfo._();
8659 0 : NodeInfo createEmptyInstance() => create();
8660 0 : static $pb.PbList<NodeInfo> createRepeated() => $pb.PbList<NodeInfo>();
8661 0 : @$core.pragma('dart2js:noInline')
8662 : static NodeInfo getDefault() =>
8663 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NodeInfo>(create);
8664 : static NodeInfo? _defaultInstance;
8665 :
8666 0 : @$pb.TagNumber(1)
8667 0 : $fixnum.Int64 get beginSyncNum => $_getI64(0);
8668 0 : @$pb.TagNumber(1)
8669 : set beginSyncNum($fixnum.Int64 v) {
8670 0 : $_setInt64(0, v);
8671 : }
8672 :
8673 0 : @$pb.TagNumber(1)
8674 0 : $core.bool hasBeginSyncNum() => $_has(0);
8675 0 : @$pb.TagNumber(1)
8676 0 : void clearBeginSyncNum() => clearField(1);
8677 :
8678 0 : @$pb.TagNumber(2)
8679 0 : $core.String get block => $_getSZ(1);
8680 0 : @$pb.TagNumber(2)
8681 : set block($core.String v) {
8682 0 : $_setString(1, v);
8683 : }
8684 :
8685 0 : @$pb.TagNumber(2)
8686 0 : $core.bool hasBlock() => $_has(1);
8687 0 : @$pb.TagNumber(2)
8688 0 : void clearBlock() => clearField(2);
8689 :
8690 0 : @$pb.TagNumber(3)
8691 0 : $core.String get solidityBlock => $_getSZ(2);
8692 0 : @$pb.TagNumber(3)
8693 : set solidityBlock($core.String v) {
8694 0 : $_setString(2, v);
8695 : }
8696 :
8697 0 : @$pb.TagNumber(3)
8698 0 : $core.bool hasSolidityBlock() => $_has(2);
8699 0 : @$pb.TagNumber(3)
8700 0 : void clearSolidityBlock() => clearField(3);
8701 :
8702 : /// connect information
8703 0 : @$pb.TagNumber(4)
8704 0 : $core.int get currentConnectCount => $_getIZ(3);
8705 0 : @$pb.TagNumber(4)
8706 : set currentConnectCount($core.int v) {
8707 0 : $_setSignedInt32(3, v);
8708 : }
8709 :
8710 0 : @$pb.TagNumber(4)
8711 0 : $core.bool hasCurrentConnectCount() => $_has(3);
8712 0 : @$pb.TagNumber(4)
8713 0 : void clearCurrentConnectCount() => clearField(4);
8714 :
8715 0 : @$pb.TagNumber(5)
8716 0 : $core.int get activeConnectCount => $_getIZ(4);
8717 0 : @$pb.TagNumber(5)
8718 : set activeConnectCount($core.int v) {
8719 0 : $_setSignedInt32(4, v);
8720 : }
8721 :
8722 0 : @$pb.TagNumber(5)
8723 0 : $core.bool hasActiveConnectCount() => $_has(4);
8724 0 : @$pb.TagNumber(5)
8725 0 : void clearActiveConnectCount() => clearField(5);
8726 :
8727 0 : @$pb.TagNumber(6)
8728 0 : $core.int get passiveConnectCount => $_getIZ(5);
8729 0 : @$pb.TagNumber(6)
8730 : set passiveConnectCount($core.int v) {
8731 0 : $_setSignedInt32(5, v);
8732 : }
8733 :
8734 0 : @$pb.TagNumber(6)
8735 0 : $core.bool hasPassiveConnectCount() => $_has(5);
8736 0 : @$pb.TagNumber(6)
8737 0 : void clearPassiveConnectCount() => clearField(6);
8738 :
8739 0 : @$pb.TagNumber(7)
8740 0 : $fixnum.Int64 get totalFlow => $_getI64(6);
8741 0 : @$pb.TagNumber(7)
8742 : set totalFlow($fixnum.Int64 v) {
8743 0 : $_setInt64(6, v);
8744 : }
8745 :
8746 0 : @$pb.TagNumber(7)
8747 0 : $core.bool hasTotalFlow() => $_has(6);
8748 0 : @$pb.TagNumber(7)
8749 0 : void clearTotalFlow() => clearField(7);
8750 :
8751 0 : @$pb.TagNumber(8)
8752 0 : $core.List<NodeInfo_PeerInfo> get peerInfoList => $_getList(7);
8753 :
8754 0 : @$pb.TagNumber(9)
8755 0 : NodeInfo_ConfigNodeInfo get configNodeInfo => $_getN(8);
8756 0 : @$pb.TagNumber(9)
8757 : set configNodeInfo(NodeInfo_ConfigNodeInfo v) {
8758 0 : setField(9, v);
8759 : }
8760 :
8761 0 : @$pb.TagNumber(9)
8762 0 : $core.bool hasConfigNodeInfo() => $_has(8);
8763 0 : @$pb.TagNumber(9)
8764 0 : void clearConfigNodeInfo() => clearField(9);
8765 0 : @$pb.TagNumber(9)
8766 0 : NodeInfo_ConfigNodeInfo ensureConfigNodeInfo() => $_ensure(8);
8767 :
8768 0 : @$pb.TagNumber(10)
8769 0 : NodeInfo_MachineInfo get machineInfo => $_getN(9);
8770 0 : @$pb.TagNumber(10)
8771 : set machineInfo(NodeInfo_MachineInfo v) {
8772 0 : setField(10, v);
8773 : }
8774 :
8775 0 : @$pb.TagNumber(10)
8776 0 : $core.bool hasMachineInfo() => $_has(9);
8777 0 : @$pb.TagNumber(10)
8778 0 : void clearMachineInfo() => clearField(10);
8779 0 : @$pb.TagNumber(10)
8780 0 : NodeInfo_MachineInfo ensureMachineInfo() => $_ensure(9);
8781 :
8782 0 : @$pb.TagNumber(11)
8783 0 : $core.Map<$core.String, $core.String> get cheatWitnessInfoMap => $_getMap(10);
8784 : }
8785 :
8786 : class MetricsInfo_NodeInfo extends $pb.GeneratedMessage {
8787 0 : factory MetricsInfo_NodeInfo({
8788 : $core.String? ip,
8789 : $core.int? nodeType,
8790 : $core.String? version,
8791 : $core.int? backupStatus,
8792 : }) {
8793 0 : final $result = create();
8794 : if (ip != null) {
8795 0 : $result.ip = ip;
8796 : }
8797 : if (nodeType != null) {
8798 0 : $result.nodeType = nodeType;
8799 : }
8800 : if (version != null) {
8801 0 : $result.version = version;
8802 : }
8803 : if (backupStatus != null) {
8804 0 : $result.backupStatus = backupStatus;
8805 : }
8806 : return $result;
8807 : }
8808 0 : MetricsInfo_NodeInfo._() : super();
8809 0 : factory MetricsInfo_NodeInfo.fromBuffer($core.List<$core.int> i,
8810 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8811 0 : create()..mergeFromBuffer(i, r);
8812 0 : factory MetricsInfo_NodeInfo.fromJson($core.String i,
8813 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8814 0 : create()..mergeFromJson(i, r);
8815 :
8816 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8817 : _omitMessageNames ? '' : 'MetricsInfo.NodeInfo',
8818 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8819 : createEmptyInstance: create)
8820 0 : ..aOS(1, _omitFieldNames ? '' : 'ip')
8821 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'nodeType', $pb.PbFieldType.O3,
8822 : protoName: 'nodeType')
8823 0 : ..aOS(3, _omitFieldNames ? '' : 'version')
8824 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'backupStatus', $pb.PbFieldType.O3,
8825 : protoName: 'backupStatus')
8826 0 : ..hasRequiredFields = false;
8827 :
8828 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8829 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8830 : 'Will be removed in next major version')
8831 : MetricsInfo_NodeInfo clone() =>
8832 0 : MetricsInfo_NodeInfo()..mergeFromMessage(this);
8833 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8834 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8835 : 'Will be removed in next major version')
8836 : MetricsInfo_NodeInfo copyWith(void Function(MetricsInfo_NodeInfo) updates) =>
8837 0 : super.copyWith((message) => updates(message as MetricsInfo_NodeInfo))
8838 : as MetricsInfo_NodeInfo;
8839 :
8840 0 : $pb.BuilderInfo get info_ => _i;
8841 :
8842 0 : @$core.pragma('dart2js:noInline')
8843 0 : static MetricsInfo_NodeInfo create() => MetricsInfo_NodeInfo._();
8844 0 : MetricsInfo_NodeInfo createEmptyInstance() => create();
8845 0 : static $pb.PbList<MetricsInfo_NodeInfo> createRepeated() =>
8846 0 : $pb.PbList<MetricsInfo_NodeInfo>();
8847 0 : @$core.pragma('dart2js:noInline')
8848 : static MetricsInfo_NodeInfo getDefault() => _defaultInstance ??=
8849 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NodeInfo>(create);
8850 : static MetricsInfo_NodeInfo? _defaultInstance;
8851 :
8852 0 : @$pb.TagNumber(1)
8853 0 : $core.String get ip => $_getSZ(0);
8854 0 : @$pb.TagNumber(1)
8855 : set ip($core.String v) {
8856 0 : $_setString(0, v);
8857 : }
8858 :
8859 0 : @$pb.TagNumber(1)
8860 0 : $core.bool hasIp() => $_has(0);
8861 0 : @$pb.TagNumber(1)
8862 0 : void clearIp() => clearField(1);
8863 :
8864 0 : @$pb.TagNumber(2)
8865 0 : $core.int get nodeType => $_getIZ(1);
8866 0 : @$pb.TagNumber(2)
8867 : set nodeType($core.int v) {
8868 0 : $_setSignedInt32(1, v);
8869 : }
8870 :
8871 0 : @$pb.TagNumber(2)
8872 0 : $core.bool hasNodeType() => $_has(1);
8873 0 : @$pb.TagNumber(2)
8874 0 : void clearNodeType() => clearField(2);
8875 :
8876 0 : @$pb.TagNumber(3)
8877 0 : $core.String get version => $_getSZ(2);
8878 0 : @$pb.TagNumber(3)
8879 : set version($core.String v) {
8880 0 : $_setString(2, v);
8881 : }
8882 :
8883 0 : @$pb.TagNumber(3)
8884 0 : $core.bool hasVersion() => $_has(2);
8885 0 : @$pb.TagNumber(3)
8886 0 : void clearVersion() => clearField(3);
8887 :
8888 0 : @$pb.TagNumber(4)
8889 0 : $core.int get backupStatus => $_getIZ(3);
8890 0 : @$pb.TagNumber(4)
8891 : set backupStatus($core.int v) {
8892 0 : $_setSignedInt32(3, v);
8893 : }
8894 :
8895 0 : @$pb.TagNumber(4)
8896 0 : $core.bool hasBackupStatus() => $_has(3);
8897 0 : @$pb.TagNumber(4)
8898 0 : void clearBackupStatus() => clearField(4);
8899 : }
8900 :
8901 : class MetricsInfo_BlockChainInfo_Witness extends $pb.GeneratedMessage {
8902 0 : factory MetricsInfo_BlockChainInfo_Witness({
8903 : $core.String? address,
8904 : $core.int? version,
8905 : }) {
8906 0 : final $result = create();
8907 : if (address != null) {
8908 0 : $result.address = address;
8909 : }
8910 : if (version != null) {
8911 0 : $result.version = version;
8912 : }
8913 : return $result;
8914 : }
8915 0 : MetricsInfo_BlockChainInfo_Witness._() : super();
8916 0 : factory MetricsInfo_BlockChainInfo_Witness.fromBuffer($core.List<$core.int> i,
8917 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8918 0 : create()..mergeFromBuffer(i, r);
8919 0 : factory MetricsInfo_BlockChainInfo_Witness.fromJson($core.String i,
8920 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8921 0 : create()..mergeFromJson(i, r);
8922 :
8923 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8924 : _omitMessageNames ? '' : 'MetricsInfo.BlockChainInfo.Witness',
8925 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8926 : createEmptyInstance: create)
8927 0 : ..aOS(1, _omitFieldNames ? '' : 'address')
8928 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
8929 0 : ..hasRequiredFields = false;
8930 :
8931 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8932 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8933 : 'Will be removed in next major version')
8934 : MetricsInfo_BlockChainInfo_Witness clone() =>
8935 0 : MetricsInfo_BlockChainInfo_Witness()..mergeFromMessage(this);
8936 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8937 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8938 : 'Will be removed in next major version')
8939 : MetricsInfo_BlockChainInfo_Witness copyWith(
8940 : void Function(MetricsInfo_BlockChainInfo_Witness) updates) =>
8941 0 : super.copyWith((message) =>
8942 0 : updates(message as MetricsInfo_BlockChainInfo_Witness))
8943 : as MetricsInfo_BlockChainInfo_Witness;
8944 :
8945 0 : $pb.BuilderInfo get info_ => _i;
8946 :
8947 0 : @$core.pragma('dart2js:noInline')
8948 : static MetricsInfo_BlockChainInfo_Witness create() =>
8949 0 : MetricsInfo_BlockChainInfo_Witness._();
8950 0 : MetricsInfo_BlockChainInfo_Witness createEmptyInstance() => create();
8951 0 : static $pb.PbList<MetricsInfo_BlockChainInfo_Witness> createRepeated() =>
8952 0 : $pb.PbList<MetricsInfo_BlockChainInfo_Witness>();
8953 0 : @$core.pragma('dart2js:noInline')
8954 : static MetricsInfo_BlockChainInfo_Witness getDefault() => _defaultInstance ??=
8955 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_BlockChainInfo_Witness>(
8956 : create);
8957 : static MetricsInfo_BlockChainInfo_Witness? _defaultInstance;
8958 :
8959 0 : @$pb.TagNumber(1)
8960 0 : $core.String get address => $_getSZ(0);
8961 0 : @$pb.TagNumber(1)
8962 : set address($core.String v) {
8963 0 : $_setString(0, v);
8964 : }
8965 :
8966 0 : @$pb.TagNumber(1)
8967 0 : $core.bool hasAddress() => $_has(0);
8968 0 : @$pb.TagNumber(1)
8969 0 : void clearAddress() => clearField(1);
8970 :
8971 0 : @$pb.TagNumber(2)
8972 0 : $core.int get version => $_getIZ(1);
8973 0 : @$pb.TagNumber(2)
8974 : set version($core.int v) {
8975 0 : $_setSignedInt32(1, v);
8976 : }
8977 :
8978 0 : @$pb.TagNumber(2)
8979 0 : $core.bool hasVersion() => $_has(1);
8980 0 : @$pb.TagNumber(2)
8981 0 : void clearVersion() => clearField(2);
8982 : }
8983 :
8984 : class MetricsInfo_BlockChainInfo_DupWitness extends $pb.GeneratedMessage {
8985 0 : factory MetricsInfo_BlockChainInfo_DupWitness({
8986 : $core.String? address,
8987 : $fixnum.Int64? blockNum,
8988 : $core.int? count,
8989 : }) {
8990 0 : final $result = create();
8991 : if (address != null) {
8992 0 : $result.address = address;
8993 : }
8994 : if (blockNum != null) {
8995 0 : $result.blockNum = blockNum;
8996 : }
8997 : if (count != null) {
8998 0 : $result.count = count;
8999 : }
9000 : return $result;
9001 : }
9002 0 : MetricsInfo_BlockChainInfo_DupWitness._() : super();
9003 0 : factory MetricsInfo_BlockChainInfo_DupWitness.fromBuffer(
9004 : $core.List<$core.int> i,
9005 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9006 0 : create()..mergeFromBuffer(i, r);
9007 0 : factory MetricsInfo_BlockChainInfo_DupWitness.fromJson($core.String i,
9008 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9009 0 : create()..mergeFromJson(i, r);
9010 :
9011 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9012 : _omitMessageNames ? '' : 'MetricsInfo.BlockChainInfo.DupWitness',
9013 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9014 : createEmptyInstance: create)
9015 0 : ..aOS(1, _omitFieldNames ? '' : 'address')
9016 0 : ..aInt64(2, _omitFieldNames ? '' : 'blockNum', protoName: 'blockNum')
9017 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
9018 0 : ..hasRequiredFields = false;
9019 :
9020 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9021 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9022 : 'Will be removed in next major version')
9023 : MetricsInfo_BlockChainInfo_DupWitness clone() =>
9024 0 : MetricsInfo_BlockChainInfo_DupWitness()..mergeFromMessage(this);
9025 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9026 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9027 : 'Will be removed in next major version')
9028 : MetricsInfo_BlockChainInfo_DupWitness copyWith(
9029 : void Function(MetricsInfo_BlockChainInfo_DupWitness) updates) =>
9030 0 : super.copyWith((message) =>
9031 0 : updates(message as MetricsInfo_BlockChainInfo_DupWitness))
9032 : as MetricsInfo_BlockChainInfo_DupWitness;
9033 :
9034 0 : $pb.BuilderInfo get info_ => _i;
9035 :
9036 0 : @$core.pragma('dart2js:noInline')
9037 : static MetricsInfo_BlockChainInfo_DupWitness create() =>
9038 0 : MetricsInfo_BlockChainInfo_DupWitness._();
9039 0 : MetricsInfo_BlockChainInfo_DupWitness createEmptyInstance() => create();
9040 0 : static $pb.PbList<MetricsInfo_BlockChainInfo_DupWitness> createRepeated() =>
9041 0 : $pb.PbList<MetricsInfo_BlockChainInfo_DupWitness>();
9042 0 : @$core.pragma('dart2js:noInline')
9043 : static MetricsInfo_BlockChainInfo_DupWitness getDefault() =>
9044 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<
9045 : MetricsInfo_BlockChainInfo_DupWitness>(create);
9046 : static MetricsInfo_BlockChainInfo_DupWitness? _defaultInstance;
9047 :
9048 0 : @$pb.TagNumber(1)
9049 0 : $core.String get address => $_getSZ(0);
9050 0 : @$pb.TagNumber(1)
9051 : set address($core.String v) {
9052 0 : $_setString(0, v);
9053 : }
9054 :
9055 0 : @$pb.TagNumber(1)
9056 0 : $core.bool hasAddress() => $_has(0);
9057 0 : @$pb.TagNumber(1)
9058 0 : void clearAddress() => clearField(1);
9059 :
9060 0 : @$pb.TagNumber(2)
9061 0 : $fixnum.Int64 get blockNum => $_getI64(1);
9062 0 : @$pb.TagNumber(2)
9063 : set blockNum($fixnum.Int64 v) {
9064 0 : $_setInt64(1, v);
9065 : }
9066 :
9067 0 : @$pb.TagNumber(2)
9068 0 : $core.bool hasBlockNum() => $_has(1);
9069 0 : @$pb.TagNumber(2)
9070 0 : void clearBlockNum() => clearField(2);
9071 :
9072 0 : @$pb.TagNumber(3)
9073 0 : $core.int get count => $_getIZ(2);
9074 0 : @$pb.TagNumber(3)
9075 : set count($core.int v) {
9076 0 : $_setSignedInt32(2, v);
9077 : }
9078 :
9079 0 : @$pb.TagNumber(3)
9080 0 : $core.bool hasCount() => $_has(2);
9081 0 : @$pb.TagNumber(3)
9082 0 : void clearCount() => clearField(3);
9083 : }
9084 :
9085 : class MetricsInfo_BlockChainInfo extends $pb.GeneratedMessage {
9086 0 : factory MetricsInfo_BlockChainInfo({
9087 : $fixnum.Int64? headBlockNum,
9088 : $fixnum.Int64? headBlockTimestamp,
9089 : $core.String? headBlockHash,
9090 : $core.int? forkCount,
9091 : $core.int? failForkCount,
9092 : MetricsInfo_RateInfo? blockProcessTime,
9093 : MetricsInfo_RateInfo? tps,
9094 : $core.int? transactionCacheSize,
9095 : MetricsInfo_RateInfo? missedTransaction,
9096 : $core.Iterable<MetricsInfo_BlockChainInfo_Witness>? witnesses,
9097 : $fixnum.Int64? failProcessBlockNum,
9098 : $core.String? failProcessBlockReason,
9099 : $core.Iterable<MetricsInfo_BlockChainInfo_DupWitness>? dupWitness,
9100 : }) {
9101 0 : final $result = create();
9102 : if (headBlockNum != null) {
9103 0 : $result.headBlockNum = headBlockNum;
9104 : }
9105 : if (headBlockTimestamp != null) {
9106 0 : $result.headBlockTimestamp = headBlockTimestamp;
9107 : }
9108 : if (headBlockHash != null) {
9109 0 : $result.headBlockHash = headBlockHash;
9110 : }
9111 : if (forkCount != null) {
9112 0 : $result.forkCount = forkCount;
9113 : }
9114 : if (failForkCount != null) {
9115 0 : $result.failForkCount = failForkCount;
9116 : }
9117 : if (blockProcessTime != null) {
9118 0 : $result.blockProcessTime = blockProcessTime;
9119 : }
9120 : if (tps != null) {
9121 0 : $result.tps = tps;
9122 : }
9123 : if (transactionCacheSize != null) {
9124 0 : $result.transactionCacheSize = transactionCacheSize;
9125 : }
9126 : if (missedTransaction != null) {
9127 0 : $result.missedTransaction = missedTransaction;
9128 : }
9129 : if (witnesses != null) {
9130 0 : $result.witnesses.addAll(witnesses);
9131 : }
9132 : if (failProcessBlockNum != null) {
9133 0 : $result.failProcessBlockNum = failProcessBlockNum;
9134 : }
9135 : if (failProcessBlockReason != null) {
9136 0 : $result.failProcessBlockReason = failProcessBlockReason;
9137 : }
9138 : if (dupWitness != null) {
9139 0 : $result.dupWitness.addAll(dupWitness);
9140 : }
9141 : return $result;
9142 : }
9143 0 : MetricsInfo_BlockChainInfo._() : super();
9144 0 : factory MetricsInfo_BlockChainInfo.fromBuffer($core.List<$core.int> i,
9145 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9146 0 : create()..mergeFromBuffer(i, r);
9147 0 : factory MetricsInfo_BlockChainInfo.fromJson($core.String i,
9148 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9149 0 : create()..mergeFromJson(i, r);
9150 :
9151 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9152 : _omitMessageNames ? '' : 'MetricsInfo.BlockChainInfo',
9153 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9154 : createEmptyInstance: create)
9155 0 : ..aInt64(1, _omitFieldNames ? '' : 'headBlockNum',
9156 : protoName: 'headBlockNum')
9157 0 : ..aInt64(2, _omitFieldNames ? '' : 'headBlockTimestamp',
9158 : protoName: 'headBlockTimestamp')
9159 0 : ..aOS(3, _omitFieldNames ? '' : 'headBlockHash', protoName: 'headBlockHash')
9160 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'forkCount', $pb.PbFieldType.O3,
9161 : protoName: 'forkCount')
9162 0 : ..a<$core.int>(
9163 : 5, _omitFieldNames ? '' : 'failForkCount', $pb.PbFieldType.O3,
9164 : protoName: 'failForkCount')
9165 0 : ..aOM<MetricsInfo_RateInfo>(6, _omitFieldNames ? '' : 'blockProcessTime',
9166 : protoName: 'blockProcessTime', subBuilder: MetricsInfo_RateInfo.create)
9167 0 : ..aOM<MetricsInfo_RateInfo>(7, _omitFieldNames ? '' : 'tps',
9168 : subBuilder: MetricsInfo_RateInfo.create)
9169 0 : ..a<$core.int>(
9170 : 8, _omitFieldNames ? '' : 'transactionCacheSize', $pb.PbFieldType.O3,
9171 : protoName: 'transactionCacheSize')
9172 0 : ..aOM<MetricsInfo_RateInfo>(9, _omitFieldNames ? '' : 'missedTransaction',
9173 : protoName: 'missedTransaction', subBuilder: MetricsInfo_RateInfo.create)
9174 0 : ..pc<MetricsInfo_BlockChainInfo_Witness>(
9175 : 10, _omitFieldNames ? '' : 'witnesses', $pb.PbFieldType.PM,
9176 : subBuilder: MetricsInfo_BlockChainInfo_Witness.create)
9177 0 : ..aInt64(11, _omitFieldNames ? '' : 'failProcessBlockNum',
9178 : protoName: 'failProcessBlockNum')
9179 0 : ..aOS(12, _omitFieldNames ? '' : 'failProcessBlockReason',
9180 : protoName: 'failProcessBlockReason')
9181 0 : ..pc<MetricsInfo_BlockChainInfo_DupWitness>(
9182 : 13, _omitFieldNames ? '' : 'dupWitness', $pb.PbFieldType.PM,
9183 : protoName: 'dupWitness',
9184 : subBuilder: MetricsInfo_BlockChainInfo_DupWitness.create)
9185 0 : ..hasRequiredFields = false;
9186 :
9187 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9188 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9189 : 'Will be removed in next major version')
9190 : MetricsInfo_BlockChainInfo clone() =>
9191 0 : MetricsInfo_BlockChainInfo()..mergeFromMessage(this);
9192 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9193 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9194 : 'Will be removed in next major version')
9195 : MetricsInfo_BlockChainInfo copyWith(
9196 : void Function(MetricsInfo_BlockChainInfo) updates) =>
9197 0 : super.copyWith(
9198 0 : (message) => updates(message as MetricsInfo_BlockChainInfo))
9199 : as MetricsInfo_BlockChainInfo;
9200 :
9201 0 : $pb.BuilderInfo get info_ => _i;
9202 :
9203 0 : @$core.pragma('dart2js:noInline')
9204 0 : static MetricsInfo_BlockChainInfo create() => MetricsInfo_BlockChainInfo._();
9205 0 : MetricsInfo_BlockChainInfo createEmptyInstance() => create();
9206 0 : static $pb.PbList<MetricsInfo_BlockChainInfo> createRepeated() =>
9207 0 : $pb.PbList<MetricsInfo_BlockChainInfo>();
9208 0 : @$core.pragma('dart2js:noInline')
9209 : static MetricsInfo_BlockChainInfo getDefault() => _defaultInstance ??=
9210 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_BlockChainInfo>(create);
9211 : static MetricsInfo_BlockChainInfo? _defaultInstance;
9212 :
9213 0 : @$pb.TagNumber(1)
9214 0 : $fixnum.Int64 get headBlockNum => $_getI64(0);
9215 0 : @$pb.TagNumber(1)
9216 : set headBlockNum($fixnum.Int64 v) {
9217 0 : $_setInt64(0, v);
9218 : }
9219 :
9220 0 : @$pb.TagNumber(1)
9221 0 : $core.bool hasHeadBlockNum() => $_has(0);
9222 0 : @$pb.TagNumber(1)
9223 0 : void clearHeadBlockNum() => clearField(1);
9224 :
9225 0 : @$pb.TagNumber(2)
9226 0 : $fixnum.Int64 get headBlockTimestamp => $_getI64(1);
9227 0 : @$pb.TagNumber(2)
9228 : set headBlockTimestamp($fixnum.Int64 v) {
9229 0 : $_setInt64(1, v);
9230 : }
9231 :
9232 0 : @$pb.TagNumber(2)
9233 0 : $core.bool hasHeadBlockTimestamp() => $_has(1);
9234 0 : @$pb.TagNumber(2)
9235 0 : void clearHeadBlockTimestamp() => clearField(2);
9236 :
9237 0 : @$pb.TagNumber(3)
9238 0 : $core.String get headBlockHash => $_getSZ(2);
9239 0 : @$pb.TagNumber(3)
9240 : set headBlockHash($core.String v) {
9241 0 : $_setString(2, v);
9242 : }
9243 :
9244 0 : @$pb.TagNumber(3)
9245 0 : $core.bool hasHeadBlockHash() => $_has(2);
9246 0 : @$pb.TagNumber(3)
9247 0 : void clearHeadBlockHash() => clearField(3);
9248 :
9249 0 : @$pb.TagNumber(4)
9250 0 : $core.int get forkCount => $_getIZ(3);
9251 0 : @$pb.TagNumber(4)
9252 : set forkCount($core.int v) {
9253 0 : $_setSignedInt32(3, v);
9254 : }
9255 :
9256 0 : @$pb.TagNumber(4)
9257 0 : $core.bool hasForkCount() => $_has(3);
9258 0 : @$pb.TagNumber(4)
9259 0 : void clearForkCount() => clearField(4);
9260 :
9261 0 : @$pb.TagNumber(5)
9262 0 : $core.int get failForkCount => $_getIZ(4);
9263 0 : @$pb.TagNumber(5)
9264 : set failForkCount($core.int v) {
9265 0 : $_setSignedInt32(4, v);
9266 : }
9267 :
9268 0 : @$pb.TagNumber(5)
9269 0 : $core.bool hasFailForkCount() => $_has(4);
9270 0 : @$pb.TagNumber(5)
9271 0 : void clearFailForkCount() => clearField(5);
9272 :
9273 0 : @$pb.TagNumber(6)
9274 0 : MetricsInfo_RateInfo get blockProcessTime => $_getN(5);
9275 0 : @$pb.TagNumber(6)
9276 : set blockProcessTime(MetricsInfo_RateInfo v) {
9277 0 : setField(6, v);
9278 : }
9279 :
9280 0 : @$pb.TagNumber(6)
9281 0 : $core.bool hasBlockProcessTime() => $_has(5);
9282 0 : @$pb.TagNumber(6)
9283 0 : void clearBlockProcessTime() => clearField(6);
9284 0 : @$pb.TagNumber(6)
9285 0 : MetricsInfo_RateInfo ensureBlockProcessTime() => $_ensure(5);
9286 :
9287 0 : @$pb.TagNumber(7)
9288 0 : MetricsInfo_RateInfo get tps => $_getN(6);
9289 0 : @$pb.TagNumber(7)
9290 : set tps(MetricsInfo_RateInfo v) {
9291 0 : setField(7, v);
9292 : }
9293 :
9294 0 : @$pb.TagNumber(7)
9295 0 : $core.bool hasTps() => $_has(6);
9296 0 : @$pb.TagNumber(7)
9297 0 : void clearTps() => clearField(7);
9298 0 : @$pb.TagNumber(7)
9299 0 : MetricsInfo_RateInfo ensureTps() => $_ensure(6);
9300 :
9301 0 : @$pb.TagNumber(8)
9302 0 : $core.int get transactionCacheSize => $_getIZ(7);
9303 0 : @$pb.TagNumber(8)
9304 : set transactionCacheSize($core.int v) {
9305 0 : $_setSignedInt32(7, v);
9306 : }
9307 :
9308 0 : @$pb.TagNumber(8)
9309 0 : $core.bool hasTransactionCacheSize() => $_has(7);
9310 0 : @$pb.TagNumber(8)
9311 0 : void clearTransactionCacheSize() => clearField(8);
9312 :
9313 0 : @$pb.TagNumber(9)
9314 0 : MetricsInfo_RateInfo get missedTransaction => $_getN(8);
9315 0 : @$pb.TagNumber(9)
9316 : set missedTransaction(MetricsInfo_RateInfo v) {
9317 0 : setField(9, v);
9318 : }
9319 :
9320 0 : @$pb.TagNumber(9)
9321 0 : $core.bool hasMissedTransaction() => $_has(8);
9322 0 : @$pb.TagNumber(9)
9323 0 : void clearMissedTransaction() => clearField(9);
9324 0 : @$pb.TagNumber(9)
9325 0 : MetricsInfo_RateInfo ensureMissedTransaction() => $_ensure(8);
9326 :
9327 0 : @$pb.TagNumber(10)
9328 0 : $core.List<MetricsInfo_BlockChainInfo_Witness> get witnesses => $_getList(9);
9329 :
9330 0 : @$pb.TagNumber(11)
9331 0 : $fixnum.Int64 get failProcessBlockNum => $_getI64(10);
9332 0 : @$pb.TagNumber(11)
9333 : set failProcessBlockNum($fixnum.Int64 v) {
9334 0 : $_setInt64(10, v);
9335 : }
9336 :
9337 0 : @$pb.TagNumber(11)
9338 0 : $core.bool hasFailProcessBlockNum() => $_has(10);
9339 0 : @$pb.TagNumber(11)
9340 0 : void clearFailProcessBlockNum() => clearField(11);
9341 :
9342 0 : @$pb.TagNumber(12)
9343 0 : $core.String get failProcessBlockReason => $_getSZ(11);
9344 0 : @$pb.TagNumber(12)
9345 : set failProcessBlockReason($core.String v) {
9346 0 : $_setString(11, v);
9347 : }
9348 :
9349 0 : @$pb.TagNumber(12)
9350 0 : $core.bool hasFailProcessBlockReason() => $_has(11);
9351 0 : @$pb.TagNumber(12)
9352 0 : void clearFailProcessBlockReason() => clearField(12);
9353 :
9354 0 : @$pb.TagNumber(13)
9355 : $core.List<MetricsInfo_BlockChainInfo_DupWitness> get dupWitness =>
9356 0 : $_getList(12);
9357 : }
9358 :
9359 : class MetricsInfo_RateInfo extends $pb.GeneratedMessage {
9360 0 : factory MetricsInfo_RateInfo({
9361 : $fixnum.Int64? count,
9362 : $core.double? meanRate,
9363 : $core.double? oneMinuteRate,
9364 : $core.double? fiveMinuteRate,
9365 : $core.double? fifteenMinuteRate,
9366 : }) {
9367 0 : final $result = create();
9368 : if (count != null) {
9369 0 : $result.count = count;
9370 : }
9371 : if (meanRate != null) {
9372 0 : $result.meanRate = meanRate;
9373 : }
9374 : if (oneMinuteRate != null) {
9375 0 : $result.oneMinuteRate = oneMinuteRate;
9376 : }
9377 : if (fiveMinuteRate != null) {
9378 0 : $result.fiveMinuteRate = fiveMinuteRate;
9379 : }
9380 : if (fifteenMinuteRate != null) {
9381 0 : $result.fifteenMinuteRate = fifteenMinuteRate;
9382 : }
9383 : return $result;
9384 : }
9385 0 : MetricsInfo_RateInfo._() : super();
9386 0 : factory MetricsInfo_RateInfo.fromBuffer($core.List<$core.int> i,
9387 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9388 0 : create()..mergeFromBuffer(i, r);
9389 0 : factory MetricsInfo_RateInfo.fromJson($core.String i,
9390 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9391 0 : create()..mergeFromJson(i, r);
9392 :
9393 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9394 : _omitMessageNames ? '' : 'MetricsInfo.RateInfo',
9395 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9396 : createEmptyInstance: create)
9397 0 : ..aInt64(1, _omitFieldNames ? '' : 'count')
9398 0 : ..a<$core.double>(2, _omitFieldNames ? '' : 'meanRate', $pb.PbFieldType.OD,
9399 : protoName: 'meanRate')
9400 0 : ..a<$core.double>(
9401 : 3, _omitFieldNames ? '' : 'oneMinuteRate', $pb.PbFieldType.OD,
9402 : protoName: 'oneMinuteRate')
9403 0 : ..a<$core.double>(
9404 : 4, _omitFieldNames ? '' : 'fiveMinuteRate', $pb.PbFieldType.OD,
9405 : protoName: 'fiveMinuteRate')
9406 0 : ..a<$core.double>(
9407 : 5, _omitFieldNames ? '' : 'fifteenMinuteRate', $pb.PbFieldType.OD,
9408 : protoName: 'fifteenMinuteRate')
9409 0 : ..hasRequiredFields = false;
9410 :
9411 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9412 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9413 : 'Will be removed in next major version')
9414 : MetricsInfo_RateInfo clone() =>
9415 0 : MetricsInfo_RateInfo()..mergeFromMessage(this);
9416 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9417 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9418 : 'Will be removed in next major version')
9419 : MetricsInfo_RateInfo copyWith(void Function(MetricsInfo_RateInfo) updates) =>
9420 0 : super.copyWith((message) => updates(message as MetricsInfo_RateInfo))
9421 : as MetricsInfo_RateInfo;
9422 :
9423 0 : $pb.BuilderInfo get info_ => _i;
9424 :
9425 0 : @$core.pragma('dart2js:noInline')
9426 0 : static MetricsInfo_RateInfo create() => MetricsInfo_RateInfo._();
9427 0 : MetricsInfo_RateInfo createEmptyInstance() => create();
9428 0 : static $pb.PbList<MetricsInfo_RateInfo> createRepeated() =>
9429 0 : $pb.PbList<MetricsInfo_RateInfo>();
9430 0 : @$core.pragma('dart2js:noInline')
9431 : static MetricsInfo_RateInfo getDefault() => _defaultInstance ??=
9432 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_RateInfo>(create);
9433 : static MetricsInfo_RateInfo? _defaultInstance;
9434 :
9435 0 : @$pb.TagNumber(1)
9436 0 : $fixnum.Int64 get count => $_getI64(0);
9437 0 : @$pb.TagNumber(1)
9438 : set count($fixnum.Int64 v) {
9439 0 : $_setInt64(0, v);
9440 : }
9441 :
9442 0 : @$pb.TagNumber(1)
9443 0 : $core.bool hasCount() => $_has(0);
9444 0 : @$pb.TagNumber(1)
9445 0 : void clearCount() => clearField(1);
9446 :
9447 0 : @$pb.TagNumber(2)
9448 0 : $core.double get meanRate => $_getN(1);
9449 0 : @$pb.TagNumber(2)
9450 : set meanRate($core.double v) {
9451 0 : $_setDouble(1, v);
9452 : }
9453 :
9454 0 : @$pb.TagNumber(2)
9455 0 : $core.bool hasMeanRate() => $_has(1);
9456 0 : @$pb.TagNumber(2)
9457 0 : void clearMeanRate() => clearField(2);
9458 :
9459 0 : @$pb.TagNumber(3)
9460 0 : $core.double get oneMinuteRate => $_getN(2);
9461 0 : @$pb.TagNumber(3)
9462 : set oneMinuteRate($core.double v) {
9463 0 : $_setDouble(2, v);
9464 : }
9465 :
9466 0 : @$pb.TagNumber(3)
9467 0 : $core.bool hasOneMinuteRate() => $_has(2);
9468 0 : @$pb.TagNumber(3)
9469 0 : void clearOneMinuteRate() => clearField(3);
9470 :
9471 0 : @$pb.TagNumber(4)
9472 0 : $core.double get fiveMinuteRate => $_getN(3);
9473 0 : @$pb.TagNumber(4)
9474 : set fiveMinuteRate($core.double v) {
9475 0 : $_setDouble(3, v);
9476 : }
9477 :
9478 0 : @$pb.TagNumber(4)
9479 0 : $core.bool hasFiveMinuteRate() => $_has(3);
9480 0 : @$pb.TagNumber(4)
9481 0 : void clearFiveMinuteRate() => clearField(4);
9482 :
9483 0 : @$pb.TagNumber(5)
9484 0 : $core.double get fifteenMinuteRate => $_getN(4);
9485 0 : @$pb.TagNumber(5)
9486 : set fifteenMinuteRate($core.double v) {
9487 0 : $_setDouble(4, v);
9488 : }
9489 :
9490 0 : @$pb.TagNumber(5)
9491 0 : $core.bool hasFifteenMinuteRate() => $_has(4);
9492 0 : @$pb.TagNumber(5)
9493 0 : void clearFifteenMinuteRate() => clearField(5);
9494 : }
9495 :
9496 : class MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo extends $pb.GeneratedMessage {
9497 0 : factory MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo({
9498 : $core.String? name,
9499 : MetricsInfo_RateInfo? qps,
9500 : MetricsInfo_RateInfo? failQps,
9501 : MetricsInfo_RateInfo? outTraffic,
9502 : }) {
9503 0 : final $result = create();
9504 : if (name != null) {
9505 0 : $result.name = name;
9506 : }
9507 : if (qps != null) {
9508 0 : $result.qps = qps;
9509 : }
9510 : if (failQps != null) {
9511 0 : $result.failQps = failQps;
9512 : }
9513 : if (outTraffic != null) {
9514 0 : $result.outTraffic = outTraffic;
9515 : }
9516 : return $result;
9517 : }
9518 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo._() : super();
9519 0 : factory MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.fromBuffer(
9520 : $core.List<$core.int> i,
9521 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9522 0 : create()..mergeFromBuffer(i, r);
9523 0 : factory MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.fromJson($core.String i,
9524 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9525 0 : create()..mergeFromJson(i, r);
9526 :
9527 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9528 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo',
9529 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9530 : createEmptyInstance: create)
9531 0 : ..aOS(1, _omitFieldNames ? '' : 'name')
9532 0 : ..aOM<MetricsInfo_RateInfo>(2, _omitFieldNames ? '' : 'qps',
9533 : subBuilder: MetricsInfo_RateInfo.create)
9534 0 : ..aOM<MetricsInfo_RateInfo>(3, _omitFieldNames ? '' : 'failQps',
9535 : protoName: 'failQps', subBuilder: MetricsInfo_RateInfo.create)
9536 0 : ..aOM<MetricsInfo_RateInfo>(4, _omitFieldNames ? '' : 'outTraffic',
9537 : protoName: 'outTraffic', subBuilder: MetricsInfo_RateInfo.create)
9538 0 : ..hasRequiredFields = false;
9539 :
9540 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9541 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9542 : 'Will be removed in next major version')
9543 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo clone() =>
9544 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo()..mergeFromMessage(this);
9545 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9546 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9547 : 'Will be removed in next major version')
9548 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo copyWith(
9549 : void Function(MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) updates) =>
9550 0 : super.copyWith((message) =>
9551 0 : updates(message as MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo))
9552 : as MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo;
9553 :
9554 0 : $pb.BuilderInfo get info_ => _i;
9555 :
9556 0 : @$core.pragma('dart2js:noInline')
9557 : static MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo create() =>
9558 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo._();
9559 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo createEmptyInstance() => create();
9560 0 : static $pb.PbList<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>
9561 : createRepeated() =>
9562 0 : $pb.PbList<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>();
9563 0 : @$core.pragma('dart2js:noInline')
9564 : static MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo getDefault() =>
9565 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<
9566 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>(create);
9567 : static MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo? _defaultInstance;
9568 :
9569 0 : @$pb.TagNumber(1)
9570 0 : $core.String get name => $_getSZ(0);
9571 0 : @$pb.TagNumber(1)
9572 : set name($core.String v) {
9573 0 : $_setString(0, v);
9574 : }
9575 :
9576 0 : @$pb.TagNumber(1)
9577 0 : $core.bool hasName() => $_has(0);
9578 0 : @$pb.TagNumber(1)
9579 0 : void clearName() => clearField(1);
9580 :
9581 0 : @$pb.TagNumber(2)
9582 0 : MetricsInfo_RateInfo get qps => $_getN(1);
9583 0 : @$pb.TagNumber(2)
9584 : set qps(MetricsInfo_RateInfo v) {
9585 0 : setField(2, v);
9586 : }
9587 :
9588 0 : @$pb.TagNumber(2)
9589 0 : $core.bool hasQps() => $_has(1);
9590 0 : @$pb.TagNumber(2)
9591 0 : void clearQps() => clearField(2);
9592 0 : @$pb.TagNumber(2)
9593 0 : MetricsInfo_RateInfo ensureQps() => $_ensure(1);
9594 :
9595 0 : @$pb.TagNumber(3)
9596 0 : MetricsInfo_RateInfo get failQps => $_getN(2);
9597 0 : @$pb.TagNumber(3)
9598 : set failQps(MetricsInfo_RateInfo v) {
9599 0 : setField(3, v);
9600 : }
9601 :
9602 0 : @$pb.TagNumber(3)
9603 0 : $core.bool hasFailQps() => $_has(2);
9604 0 : @$pb.TagNumber(3)
9605 0 : void clearFailQps() => clearField(3);
9606 0 : @$pb.TagNumber(3)
9607 0 : MetricsInfo_RateInfo ensureFailQps() => $_ensure(2);
9608 :
9609 0 : @$pb.TagNumber(4)
9610 0 : MetricsInfo_RateInfo get outTraffic => $_getN(3);
9611 0 : @$pb.TagNumber(4)
9612 : set outTraffic(MetricsInfo_RateInfo v) {
9613 0 : setField(4, v);
9614 : }
9615 :
9616 0 : @$pb.TagNumber(4)
9617 0 : $core.bool hasOutTraffic() => $_has(3);
9618 0 : @$pb.TagNumber(4)
9619 0 : void clearOutTraffic() => clearField(4);
9620 0 : @$pb.TagNumber(4)
9621 0 : MetricsInfo_RateInfo ensureOutTraffic() => $_ensure(3);
9622 : }
9623 :
9624 : class MetricsInfo_NetInfo_ApiInfo extends $pb.GeneratedMessage {
9625 0 : factory MetricsInfo_NetInfo_ApiInfo({
9626 : MetricsInfo_RateInfo? qps,
9627 : MetricsInfo_RateInfo? failQps,
9628 : MetricsInfo_RateInfo? outTraffic,
9629 : $core.Iterable<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>? detail,
9630 : }) {
9631 0 : final $result = create();
9632 : if (qps != null) {
9633 0 : $result.qps = qps;
9634 : }
9635 : if (failQps != null) {
9636 0 : $result.failQps = failQps;
9637 : }
9638 : if (outTraffic != null) {
9639 0 : $result.outTraffic = outTraffic;
9640 : }
9641 : if (detail != null) {
9642 0 : $result.detail.addAll(detail);
9643 : }
9644 : return $result;
9645 : }
9646 0 : MetricsInfo_NetInfo_ApiInfo._() : super();
9647 0 : factory MetricsInfo_NetInfo_ApiInfo.fromBuffer($core.List<$core.int> i,
9648 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9649 0 : create()..mergeFromBuffer(i, r);
9650 0 : factory MetricsInfo_NetInfo_ApiInfo.fromJson($core.String i,
9651 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9652 0 : create()..mergeFromJson(i, r);
9653 :
9654 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9655 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.ApiInfo',
9656 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9657 : createEmptyInstance: create)
9658 0 : ..aOM<MetricsInfo_RateInfo>(1, _omitFieldNames ? '' : 'qps',
9659 : subBuilder: MetricsInfo_RateInfo.create)
9660 0 : ..aOM<MetricsInfo_RateInfo>(2, _omitFieldNames ? '' : 'failQps',
9661 : protoName: 'failQps', subBuilder: MetricsInfo_RateInfo.create)
9662 0 : ..aOM<MetricsInfo_RateInfo>(3, _omitFieldNames ? '' : 'outTraffic',
9663 : protoName: 'outTraffic', subBuilder: MetricsInfo_RateInfo.create)
9664 0 : ..pc<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>(
9665 : 4, _omitFieldNames ? '' : 'detail', $pb.PbFieldType.PM,
9666 : subBuilder: MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.create)
9667 0 : ..hasRequiredFields = false;
9668 :
9669 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9670 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9671 : 'Will be removed in next major version')
9672 : MetricsInfo_NetInfo_ApiInfo clone() =>
9673 0 : MetricsInfo_NetInfo_ApiInfo()..mergeFromMessage(this);
9674 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9675 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9676 : 'Will be removed in next major version')
9677 : MetricsInfo_NetInfo_ApiInfo copyWith(
9678 : void Function(MetricsInfo_NetInfo_ApiInfo) updates) =>
9679 0 : super.copyWith(
9680 0 : (message) => updates(message as MetricsInfo_NetInfo_ApiInfo))
9681 : as MetricsInfo_NetInfo_ApiInfo;
9682 :
9683 0 : $pb.BuilderInfo get info_ => _i;
9684 :
9685 0 : @$core.pragma('dart2js:noInline')
9686 : static MetricsInfo_NetInfo_ApiInfo create() =>
9687 0 : MetricsInfo_NetInfo_ApiInfo._();
9688 0 : MetricsInfo_NetInfo_ApiInfo createEmptyInstance() => create();
9689 0 : static $pb.PbList<MetricsInfo_NetInfo_ApiInfo> createRepeated() =>
9690 0 : $pb.PbList<MetricsInfo_NetInfo_ApiInfo>();
9691 0 : @$core.pragma('dart2js:noInline')
9692 : static MetricsInfo_NetInfo_ApiInfo getDefault() => _defaultInstance ??=
9693 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_ApiInfo>(create);
9694 : static MetricsInfo_NetInfo_ApiInfo? _defaultInstance;
9695 :
9696 0 : @$pb.TagNumber(1)
9697 0 : MetricsInfo_RateInfo get qps => $_getN(0);
9698 0 : @$pb.TagNumber(1)
9699 : set qps(MetricsInfo_RateInfo v) {
9700 0 : setField(1, v);
9701 : }
9702 :
9703 0 : @$pb.TagNumber(1)
9704 0 : $core.bool hasQps() => $_has(0);
9705 0 : @$pb.TagNumber(1)
9706 0 : void clearQps() => clearField(1);
9707 0 : @$pb.TagNumber(1)
9708 0 : MetricsInfo_RateInfo ensureQps() => $_ensure(0);
9709 :
9710 0 : @$pb.TagNumber(2)
9711 0 : MetricsInfo_RateInfo get failQps => $_getN(1);
9712 0 : @$pb.TagNumber(2)
9713 : set failQps(MetricsInfo_RateInfo v) {
9714 0 : setField(2, v);
9715 : }
9716 :
9717 0 : @$pb.TagNumber(2)
9718 0 : $core.bool hasFailQps() => $_has(1);
9719 0 : @$pb.TagNumber(2)
9720 0 : void clearFailQps() => clearField(2);
9721 0 : @$pb.TagNumber(2)
9722 0 : MetricsInfo_RateInfo ensureFailQps() => $_ensure(1);
9723 :
9724 0 : @$pb.TagNumber(3)
9725 0 : MetricsInfo_RateInfo get outTraffic => $_getN(2);
9726 0 : @$pb.TagNumber(3)
9727 : set outTraffic(MetricsInfo_RateInfo v) {
9728 0 : setField(3, v);
9729 : }
9730 :
9731 0 : @$pb.TagNumber(3)
9732 0 : $core.bool hasOutTraffic() => $_has(2);
9733 0 : @$pb.TagNumber(3)
9734 0 : void clearOutTraffic() => clearField(3);
9735 0 : @$pb.TagNumber(3)
9736 0 : MetricsInfo_RateInfo ensureOutTraffic() => $_ensure(2);
9737 :
9738 0 : @$pb.TagNumber(4)
9739 : $core.List<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo> get detail =>
9740 0 : $_getList(3);
9741 : }
9742 :
9743 : class MetricsInfo_NetInfo_DisconnectionDetailInfo extends $pb.GeneratedMessage {
9744 0 : factory MetricsInfo_NetInfo_DisconnectionDetailInfo({
9745 : $core.String? reason,
9746 : $core.int? count,
9747 : }) {
9748 0 : final $result = create();
9749 : if (reason != null) {
9750 0 : $result.reason = reason;
9751 : }
9752 : if (count != null) {
9753 0 : $result.count = count;
9754 : }
9755 : return $result;
9756 : }
9757 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo._() : super();
9758 0 : factory MetricsInfo_NetInfo_DisconnectionDetailInfo.fromBuffer(
9759 : $core.List<$core.int> i,
9760 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9761 0 : create()..mergeFromBuffer(i, r);
9762 0 : factory MetricsInfo_NetInfo_DisconnectionDetailInfo.fromJson($core.String i,
9763 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9764 0 : create()..mergeFromJson(i, r);
9765 :
9766 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9767 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.DisconnectionDetailInfo',
9768 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9769 : createEmptyInstance: create)
9770 0 : ..aOS(1, _omitFieldNames ? '' : 'reason')
9771 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
9772 0 : ..hasRequiredFields = false;
9773 :
9774 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9775 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9776 : 'Will be removed in next major version')
9777 : MetricsInfo_NetInfo_DisconnectionDetailInfo clone() =>
9778 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo()..mergeFromMessage(this);
9779 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9780 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9781 : 'Will be removed in next major version')
9782 : MetricsInfo_NetInfo_DisconnectionDetailInfo copyWith(
9783 : void Function(MetricsInfo_NetInfo_DisconnectionDetailInfo) updates) =>
9784 0 : super.copyWith((message) =>
9785 0 : updates(message as MetricsInfo_NetInfo_DisconnectionDetailInfo))
9786 : as MetricsInfo_NetInfo_DisconnectionDetailInfo;
9787 :
9788 0 : $pb.BuilderInfo get info_ => _i;
9789 :
9790 0 : @$core.pragma('dart2js:noInline')
9791 : static MetricsInfo_NetInfo_DisconnectionDetailInfo create() =>
9792 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo._();
9793 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo createEmptyInstance() => create();
9794 0 : static $pb.PbList<MetricsInfo_NetInfo_DisconnectionDetailInfo>
9795 : createRepeated() =>
9796 0 : $pb.PbList<MetricsInfo_NetInfo_DisconnectionDetailInfo>();
9797 0 : @$core.pragma('dart2js:noInline')
9798 : static MetricsInfo_NetInfo_DisconnectionDetailInfo getDefault() =>
9799 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<
9800 : MetricsInfo_NetInfo_DisconnectionDetailInfo>(create);
9801 : static MetricsInfo_NetInfo_DisconnectionDetailInfo? _defaultInstance;
9802 :
9803 0 : @$pb.TagNumber(1)
9804 0 : $core.String get reason => $_getSZ(0);
9805 0 : @$pb.TagNumber(1)
9806 : set reason($core.String v) {
9807 0 : $_setString(0, v);
9808 : }
9809 :
9810 0 : @$pb.TagNumber(1)
9811 0 : $core.bool hasReason() => $_has(0);
9812 0 : @$pb.TagNumber(1)
9813 0 : void clearReason() => clearField(1);
9814 :
9815 0 : @$pb.TagNumber(2)
9816 0 : $core.int get count => $_getIZ(1);
9817 0 : @$pb.TagNumber(2)
9818 : set count($core.int v) {
9819 0 : $_setSignedInt32(1, v);
9820 : }
9821 :
9822 0 : @$pb.TagNumber(2)
9823 0 : $core.bool hasCount() => $_has(1);
9824 0 : @$pb.TagNumber(2)
9825 0 : void clearCount() => clearField(2);
9826 : }
9827 :
9828 : class MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo
9829 : extends $pb.GeneratedMessage {
9830 0 : factory MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo({
9831 : $core.String? witness,
9832 : $core.int? top99,
9833 : $core.int? top95,
9834 : $core.int? top75,
9835 : $core.int? count,
9836 : $core.int? delay1S,
9837 : $core.int? delay2S,
9838 : $core.int? delay3S,
9839 : }) {
9840 0 : final $result = create();
9841 : if (witness != null) {
9842 0 : $result.witness = witness;
9843 : }
9844 : if (top99 != null) {
9845 0 : $result.top99 = top99;
9846 : }
9847 : if (top95 != null) {
9848 0 : $result.top95 = top95;
9849 : }
9850 : if (top75 != null) {
9851 0 : $result.top75 = top75;
9852 : }
9853 : if (count != null) {
9854 0 : $result.count = count;
9855 : }
9856 : if (delay1S != null) {
9857 0 : $result.delay1S = delay1S;
9858 : }
9859 : if (delay2S != null) {
9860 0 : $result.delay2S = delay2S;
9861 : }
9862 : if (delay3S != null) {
9863 0 : $result.delay3S = delay3S;
9864 : }
9865 : return $result;
9866 : }
9867 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo._() : super();
9868 0 : factory MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.fromBuffer(
9869 : $core.List<$core.int> i,
9870 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9871 0 : create()..mergeFromBuffer(i, r);
9872 0 : factory MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.fromJson(
9873 : $core.String i,
9874 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9875 0 : create()..mergeFromJson(i, r);
9876 :
9877 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9878 : _omitMessageNames
9879 : ? ''
9880 : : 'MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo',
9881 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9882 : createEmptyInstance: create)
9883 0 : ..aOS(1, _omitFieldNames ? '' : 'witness')
9884 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'top99', $pb.PbFieldType.O3)
9885 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'top95', $pb.PbFieldType.O3)
9886 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'top75', $pb.PbFieldType.O3)
9887 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
9888 0 : ..a<$core.int>(6, _omitFieldNames ? '' : 'delay1S', $pb.PbFieldType.O3,
9889 : protoName: 'delay1S')
9890 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'delay2S', $pb.PbFieldType.O3,
9891 : protoName: 'delay2S')
9892 0 : ..a<$core.int>(8, _omitFieldNames ? '' : 'delay3S', $pb.PbFieldType.O3,
9893 : protoName: 'delay3S')
9894 0 : ..hasRequiredFields = false;
9895 :
9896 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9897 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9898 : 'Will be removed in next major version')
9899 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo clone() =>
9900 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo()
9901 0 : ..mergeFromMessage(this);
9902 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9903 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9904 : 'Will be removed in next major version')
9905 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo copyWith(
9906 : void Function(MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo)
9907 : updates) =>
9908 0 : super.copyWith((message) => updates(
9909 : message as MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo))
9910 : as MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo;
9911 :
9912 0 : $pb.BuilderInfo get info_ => _i;
9913 :
9914 0 : @$core.pragma('dart2js:noInline')
9915 : static MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo create() =>
9916 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo._();
9917 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo createEmptyInstance() =>
9918 0 : create();
9919 0 : static $pb.PbList<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>
9920 : createRepeated() =>
9921 0 : $pb.PbList<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>();
9922 0 : @$core.pragma('dart2js:noInline')
9923 : static MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo getDefault() =>
9924 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<
9925 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>(create);
9926 : static MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo? _defaultInstance;
9927 :
9928 0 : @$pb.TagNumber(1)
9929 0 : $core.String get witness => $_getSZ(0);
9930 0 : @$pb.TagNumber(1)
9931 : set witness($core.String v) {
9932 0 : $_setString(0, v);
9933 : }
9934 :
9935 0 : @$pb.TagNumber(1)
9936 0 : $core.bool hasWitness() => $_has(0);
9937 0 : @$pb.TagNumber(1)
9938 0 : void clearWitness() => clearField(1);
9939 :
9940 0 : @$pb.TagNumber(2)
9941 0 : $core.int get top99 => $_getIZ(1);
9942 0 : @$pb.TagNumber(2)
9943 : set top99($core.int v) {
9944 0 : $_setSignedInt32(1, v);
9945 : }
9946 :
9947 0 : @$pb.TagNumber(2)
9948 0 : $core.bool hasTop99() => $_has(1);
9949 0 : @$pb.TagNumber(2)
9950 0 : void clearTop99() => clearField(2);
9951 :
9952 0 : @$pb.TagNumber(3)
9953 0 : $core.int get top95 => $_getIZ(2);
9954 0 : @$pb.TagNumber(3)
9955 : set top95($core.int v) {
9956 0 : $_setSignedInt32(2, v);
9957 : }
9958 :
9959 0 : @$pb.TagNumber(3)
9960 0 : $core.bool hasTop95() => $_has(2);
9961 0 : @$pb.TagNumber(3)
9962 0 : void clearTop95() => clearField(3);
9963 :
9964 0 : @$pb.TagNumber(4)
9965 0 : $core.int get top75 => $_getIZ(3);
9966 0 : @$pb.TagNumber(4)
9967 : set top75($core.int v) {
9968 0 : $_setSignedInt32(3, v);
9969 : }
9970 :
9971 0 : @$pb.TagNumber(4)
9972 0 : $core.bool hasTop75() => $_has(3);
9973 0 : @$pb.TagNumber(4)
9974 0 : void clearTop75() => clearField(4);
9975 :
9976 0 : @$pb.TagNumber(5)
9977 0 : $core.int get count => $_getIZ(4);
9978 0 : @$pb.TagNumber(5)
9979 : set count($core.int v) {
9980 0 : $_setSignedInt32(4, v);
9981 : }
9982 :
9983 0 : @$pb.TagNumber(5)
9984 0 : $core.bool hasCount() => $_has(4);
9985 0 : @$pb.TagNumber(5)
9986 0 : void clearCount() => clearField(5);
9987 :
9988 0 : @$pb.TagNumber(6)
9989 0 : $core.int get delay1S => $_getIZ(5);
9990 0 : @$pb.TagNumber(6)
9991 : set delay1S($core.int v) {
9992 0 : $_setSignedInt32(5, v);
9993 : }
9994 :
9995 0 : @$pb.TagNumber(6)
9996 0 : $core.bool hasDelay1S() => $_has(5);
9997 0 : @$pb.TagNumber(6)
9998 0 : void clearDelay1S() => clearField(6);
9999 :
10000 0 : @$pb.TagNumber(7)
10001 0 : $core.int get delay2S => $_getIZ(6);
10002 0 : @$pb.TagNumber(7)
10003 : set delay2S($core.int v) {
10004 0 : $_setSignedInt32(6, v);
10005 : }
10006 :
10007 0 : @$pb.TagNumber(7)
10008 0 : $core.bool hasDelay2S() => $_has(6);
10009 0 : @$pb.TagNumber(7)
10010 0 : void clearDelay2S() => clearField(7);
10011 :
10012 0 : @$pb.TagNumber(8)
10013 0 : $core.int get delay3S => $_getIZ(7);
10014 0 : @$pb.TagNumber(8)
10015 : set delay3S($core.int v) {
10016 0 : $_setSignedInt32(7, v);
10017 : }
10018 :
10019 0 : @$pb.TagNumber(8)
10020 0 : $core.bool hasDelay3S() => $_has(7);
10021 0 : @$pb.TagNumber(8)
10022 0 : void clearDelay3S() => clearField(8);
10023 : }
10024 :
10025 : class MetricsInfo_NetInfo_LatencyInfo extends $pb.GeneratedMessage {
10026 0 : factory MetricsInfo_NetInfo_LatencyInfo({
10027 : $core.int? top99,
10028 : $core.int? top95,
10029 : $core.int? top75,
10030 : $core.int? totalCount,
10031 : $core.int? delay1S,
10032 : $core.int? delay2S,
10033 : $core.int? delay3S,
10034 : $core.Iterable<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>? detail,
10035 : }) {
10036 0 : final $result = create();
10037 : if (top99 != null) {
10038 0 : $result.top99 = top99;
10039 : }
10040 : if (top95 != null) {
10041 0 : $result.top95 = top95;
10042 : }
10043 : if (top75 != null) {
10044 0 : $result.top75 = top75;
10045 : }
10046 : if (totalCount != null) {
10047 0 : $result.totalCount = totalCount;
10048 : }
10049 : if (delay1S != null) {
10050 0 : $result.delay1S = delay1S;
10051 : }
10052 : if (delay2S != null) {
10053 0 : $result.delay2S = delay2S;
10054 : }
10055 : if (delay3S != null) {
10056 0 : $result.delay3S = delay3S;
10057 : }
10058 : if (detail != null) {
10059 0 : $result.detail.addAll(detail);
10060 : }
10061 : return $result;
10062 : }
10063 0 : MetricsInfo_NetInfo_LatencyInfo._() : super();
10064 0 : factory MetricsInfo_NetInfo_LatencyInfo.fromBuffer($core.List<$core.int> i,
10065 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10066 0 : create()..mergeFromBuffer(i, r);
10067 0 : factory MetricsInfo_NetInfo_LatencyInfo.fromJson($core.String i,
10068 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10069 0 : create()..mergeFromJson(i, r);
10070 :
10071 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10072 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.LatencyInfo',
10073 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10074 : createEmptyInstance: create)
10075 0 : ..a<$core.int>(1, _omitFieldNames ? '' : 'top99', $pb.PbFieldType.O3)
10076 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'top95', $pb.PbFieldType.O3)
10077 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'top75', $pb.PbFieldType.O3)
10078 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'totalCount', $pb.PbFieldType.O3,
10079 : protoName: 'totalCount')
10080 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'delay1S', $pb.PbFieldType.O3,
10081 : protoName: 'delay1S')
10082 0 : ..a<$core.int>(6, _omitFieldNames ? '' : 'delay2S', $pb.PbFieldType.O3,
10083 : protoName: 'delay2S')
10084 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'delay3S', $pb.PbFieldType.O3,
10085 : protoName: 'delay3S')
10086 0 : ..pc<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>(
10087 : 8, _omitFieldNames ? '' : 'detail', $pb.PbFieldType.PM,
10088 : subBuilder: MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.create)
10089 0 : ..hasRequiredFields = false;
10090 :
10091 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10092 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10093 : 'Will be removed in next major version')
10094 : MetricsInfo_NetInfo_LatencyInfo clone() =>
10095 0 : MetricsInfo_NetInfo_LatencyInfo()..mergeFromMessage(this);
10096 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10097 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10098 : 'Will be removed in next major version')
10099 : MetricsInfo_NetInfo_LatencyInfo copyWith(
10100 : void Function(MetricsInfo_NetInfo_LatencyInfo) updates) =>
10101 0 : super.copyWith(
10102 0 : (message) => updates(message as MetricsInfo_NetInfo_LatencyInfo))
10103 : as MetricsInfo_NetInfo_LatencyInfo;
10104 :
10105 0 : $pb.BuilderInfo get info_ => _i;
10106 :
10107 0 : @$core.pragma('dart2js:noInline')
10108 : static MetricsInfo_NetInfo_LatencyInfo create() =>
10109 0 : MetricsInfo_NetInfo_LatencyInfo._();
10110 0 : MetricsInfo_NetInfo_LatencyInfo createEmptyInstance() => create();
10111 0 : static $pb.PbList<MetricsInfo_NetInfo_LatencyInfo> createRepeated() =>
10112 0 : $pb.PbList<MetricsInfo_NetInfo_LatencyInfo>();
10113 0 : @$core.pragma('dart2js:noInline')
10114 : static MetricsInfo_NetInfo_LatencyInfo getDefault() => _defaultInstance ??=
10115 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_LatencyInfo>(
10116 : create);
10117 : static MetricsInfo_NetInfo_LatencyInfo? _defaultInstance;
10118 :
10119 0 : @$pb.TagNumber(1)
10120 0 : $core.int get top99 => $_getIZ(0);
10121 0 : @$pb.TagNumber(1)
10122 : set top99($core.int v) {
10123 0 : $_setSignedInt32(0, v);
10124 : }
10125 :
10126 0 : @$pb.TagNumber(1)
10127 0 : $core.bool hasTop99() => $_has(0);
10128 0 : @$pb.TagNumber(1)
10129 0 : void clearTop99() => clearField(1);
10130 :
10131 0 : @$pb.TagNumber(2)
10132 0 : $core.int get top95 => $_getIZ(1);
10133 0 : @$pb.TagNumber(2)
10134 : set top95($core.int v) {
10135 0 : $_setSignedInt32(1, v);
10136 : }
10137 :
10138 0 : @$pb.TagNumber(2)
10139 0 : $core.bool hasTop95() => $_has(1);
10140 0 : @$pb.TagNumber(2)
10141 0 : void clearTop95() => clearField(2);
10142 :
10143 0 : @$pb.TagNumber(3)
10144 0 : $core.int get top75 => $_getIZ(2);
10145 0 : @$pb.TagNumber(3)
10146 : set top75($core.int v) {
10147 0 : $_setSignedInt32(2, v);
10148 : }
10149 :
10150 0 : @$pb.TagNumber(3)
10151 0 : $core.bool hasTop75() => $_has(2);
10152 0 : @$pb.TagNumber(3)
10153 0 : void clearTop75() => clearField(3);
10154 :
10155 0 : @$pb.TagNumber(4)
10156 0 : $core.int get totalCount => $_getIZ(3);
10157 0 : @$pb.TagNumber(4)
10158 : set totalCount($core.int v) {
10159 0 : $_setSignedInt32(3, v);
10160 : }
10161 :
10162 0 : @$pb.TagNumber(4)
10163 0 : $core.bool hasTotalCount() => $_has(3);
10164 0 : @$pb.TagNumber(4)
10165 0 : void clearTotalCount() => clearField(4);
10166 :
10167 0 : @$pb.TagNumber(5)
10168 0 : $core.int get delay1S => $_getIZ(4);
10169 0 : @$pb.TagNumber(5)
10170 : set delay1S($core.int v) {
10171 0 : $_setSignedInt32(4, v);
10172 : }
10173 :
10174 0 : @$pb.TagNumber(5)
10175 0 : $core.bool hasDelay1S() => $_has(4);
10176 0 : @$pb.TagNumber(5)
10177 0 : void clearDelay1S() => clearField(5);
10178 :
10179 0 : @$pb.TagNumber(6)
10180 0 : $core.int get delay2S => $_getIZ(5);
10181 0 : @$pb.TagNumber(6)
10182 : set delay2S($core.int v) {
10183 0 : $_setSignedInt32(5, v);
10184 : }
10185 :
10186 0 : @$pb.TagNumber(6)
10187 0 : $core.bool hasDelay2S() => $_has(5);
10188 0 : @$pb.TagNumber(6)
10189 0 : void clearDelay2S() => clearField(6);
10190 :
10191 0 : @$pb.TagNumber(7)
10192 0 : $core.int get delay3S => $_getIZ(6);
10193 0 : @$pb.TagNumber(7)
10194 : set delay3S($core.int v) {
10195 0 : $_setSignedInt32(6, v);
10196 : }
10197 :
10198 0 : @$pb.TagNumber(7)
10199 0 : $core.bool hasDelay3S() => $_has(6);
10200 0 : @$pb.TagNumber(7)
10201 0 : void clearDelay3S() => clearField(7);
10202 :
10203 0 : @$pb.TagNumber(8)
10204 : $core.List<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo> get detail =>
10205 0 : $_getList(7);
10206 : }
10207 :
10208 : class MetricsInfo_NetInfo extends $pb.GeneratedMessage {
10209 0 : factory MetricsInfo_NetInfo({
10210 : $core.int? errorProtoCount,
10211 : MetricsInfo_NetInfo_ApiInfo? api,
10212 : $core.int? connectionCount,
10213 : $core.int? validConnectionCount,
10214 : MetricsInfo_RateInfo? tcpInTraffic,
10215 : MetricsInfo_RateInfo? tcpOutTraffic,
10216 : $core.int? disconnectionCount,
10217 : $core.Iterable<MetricsInfo_NetInfo_DisconnectionDetailInfo>?
10218 : disconnectionDetail,
10219 : MetricsInfo_RateInfo? udpInTraffic,
10220 : MetricsInfo_RateInfo? udpOutTraffic,
10221 : MetricsInfo_NetInfo_LatencyInfo? latency,
10222 : }) {
10223 0 : final $result = create();
10224 : if (errorProtoCount != null) {
10225 0 : $result.errorProtoCount = errorProtoCount;
10226 : }
10227 : if (api != null) {
10228 0 : $result.api = api;
10229 : }
10230 : if (connectionCount != null) {
10231 0 : $result.connectionCount = connectionCount;
10232 : }
10233 : if (validConnectionCount != null) {
10234 0 : $result.validConnectionCount = validConnectionCount;
10235 : }
10236 : if (tcpInTraffic != null) {
10237 0 : $result.tcpInTraffic = tcpInTraffic;
10238 : }
10239 : if (tcpOutTraffic != null) {
10240 0 : $result.tcpOutTraffic = tcpOutTraffic;
10241 : }
10242 : if (disconnectionCount != null) {
10243 0 : $result.disconnectionCount = disconnectionCount;
10244 : }
10245 : if (disconnectionDetail != null) {
10246 0 : $result.disconnectionDetail.addAll(disconnectionDetail);
10247 : }
10248 : if (udpInTraffic != null) {
10249 0 : $result.udpInTraffic = udpInTraffic;
10250 : }
10251 : if (udpOutTraffic != null) {
10252 0 : $result.udpOutTraffic = udpOutTraffic;
10253 : }
10254 : if (latency != null) {
10255 0 : $result.latency = latency;
10256 : }
10257 : return $result;
10258 : }
10259 0 : MetricsInfo_NetInfo._() : super();
10260 0 : factory MetricsInfo_NetInfo.fromBuffer($core.List<$core.int> i,
10261 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10262 0 : create()..mergeFromBuffer(i, r);
10263 0 : factory MetricsInfo_NetInfo.fromJson($core.String i,
10264 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10265 0 : create()..mergeFromJson(i, r);
10266 :
10267 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10268 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo',
10269 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10270 : createEmptyInstance: create)
10271 0 : ..a<$core.int>(
10272 : 1, _omitFieldNames ? '' : 'errorProtoCount', $pb.PbFieldType.O3,
10273 : protoName: 'errorProtoCount')
10274 0 : ..aOM<MetricsInfo_NetInfo_ApiInfo>(2, _omitFieldNames ? '' : 'api',
10275 : subBuilder: MetricsInfo_NetInfo_ApiInfo.create)
10276 0 : ..a<$core.int>(
10277 : 3, _omitFieldNames ? '' : 'connectionCount', $pb.PbFieldType.O3,
10278 : protoName: 'connectionCount')
10279 0 : ..a<$core.int>(
10280 : 4, _omitFieldNames ? '' : 'validConnectionCount', $pb.PbFieldType.O3,
10281 : protoName: 'validConnectionCount')
10282 0 : ..aOM<MetricsInfo_RateInfo>(5, _omitFieldNames ? '' : 'tcpInTraffic',
10283 : protoName: 'tcpInTraffic', subBuilder: MetricsInfo_RateInfo.create)
10284 0 : ..aOM<MetricsInfo_RateInfo>(6, _omitFieldNames ? '' : 'tcpOutTraffic',
10285 : protoName: 'tcpOutTraffic', subBuilder: MetricsInfo_RateInfo.create)
10286 0 : ..a<$core.int>(
10287 : 7, _omitFieldNames ? '' : 'disconnectionCount', $pb.PbFieldType.O3,
10288 : protoName: 'disconnectionCount')
10289 0 : ..pc<MetricsInfo_NetInfo_DisconnectionDetailInfo>(
10290 : 8, _omitFieldNames ? '' : 'disconnectionDetail', $pb.PbFieldType.PM,
10291 : protoName: 'disconnectionDetail',
10292 : subBuilder: MetricsInfo_NetInfo_DisconnectionDetailInfo.create)
10293 0 : ..aOM<MetricsInfo_RateInfo>(9, _omitFieldNames ? '' : 'udpInTraffic',
10294 : protoName: 'udpInTraffic', subBuilder: MetricsInfo_RateInfo.create)
10295 0 : ..aOM<MetricsInfo_RateInfo>(10, _omitFieldNames ? '' : 'udpOutTraffic',
10296 : protoName: 'udpOutTraffic', subBuilder: MetricsInfo_RateInfo.create)
10297 0 : ..aOM<MetricsInfo_NetInfo_LatencyInfo>(11, _omitFieldNames ? '' : 'latency',
10298 : subBuilder: MetricsInfo_NetInfo_LatencyInfo.create)
10299 0 : ..hasRequiredFields = false;
10300 :
10301 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10302 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10303 : 'Will be removed in next major version')
10304 0 : MetricsInfo_NetInfo clone() => MetricsInfo_NetInfo()..mergeFromMessage(this);
10305 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10306 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10307 : 'Will be removed in next major version')
10308 : MetricsInfo_NetInfo copyWith(void Function(MetricsInfo_NetInfo) updates) =>
10309 0 : super.copyWith((message) => updates(message as MetricsInfo_NetInfo))
10310 : as MetricsInfo_NetInfo;
10311 :
10312 0 : $pb.BuilderInfo get info_ => _i;
10313 :
10314 0 : @$core.pragma('dart2js:noInline')
10315 0 : static MetricsInfo_NetInfo create() => MetricsInfo_NetInfo._();
10316 0 : MetricsInfo_NetInfo createEmptyInstance() => create();
10317 0 : static $pb.PbList<MetricsInfo_NetInfo> createRepeated() =>
10318 0 : $pb.PbList<MetricsInfo_NetInfo>();
10319 0 : @$core.pragma('dart2js:noInline')
10320 : static MetricsInfo_NetInfo getDefault() => _defaultInstance ??=
10321 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo>(create);
10322 : static MetricsInfo_NetInfo? _defaultInstance;
10323 :
10324 0 : @$pb.TagNumber(1)
10325 0 : $core.int get errorProtoCount => $_getIZ(0);
10326 0 : @$pb.TagNumber(1)
10327 : set errorProtoCount($core.int v) {
10328 0 : $_setSignedInt32(0, v);
10329 : }
10330 :
10331 0 : @$pb.TagNumber(1)
10332 0 : $core.bool hasErrorProtoCount() => $_has(0);
10333 0 : @$pb.TagNumber(1)
10334 0 : void clearErrorProtoCount() => clearField(1);
10335 :
10336 0 : @$pb.TagNumber(2)
10337 0 : MetricsInfo_NetInfo_ApiInfo get api => $_getN(1);
10338 0 : @$pb.TagNumber(2)
10339 : set api(MetricsInfo_NetInfo_ApiInfo v) {
10340 0 : setField(2, v);
10341 : }
10342 :
10343 0 : @$pb.TagNumber(2)
10344 0 : $core.bool hasApi() => $_has(1);
10345 0 : @$pb.TagNumber(2)
10346 0 : void clearApi() => clearField(2);
10347 0 : @$pb.TagNumber(2)
10348 0 : MetricsInfo_NetInfo_ApiInfo ensureApi() => $_ensure(1);
10349 :
10350 0 : @$pb.TagNumber(3)
10351 0 : $core.int get connectionCount => $_getIZ(2);
10352 0 : @$pb.TagNumber(3)
10353 : set connectionCount($core.int v) {
10354 0 : $_setSignedInt32(2, v);
10355 : }
10356 :
10357 0 : @$pb.TagNumber(3)
10358 0 : $core.bool hasConnectionCount() => $_has(2);
10359 0 : @$pb.TagNumber(3)
10360 0 : void clearConnectionCount() => clearField(3);
10361 :
10362 0 : @$pb.TagNumber(4)
10363 0 : $core.int get validConnectionCount => $_getIZ(3);
10364 0 : @$pb.TagNumber(4)
10365 : set validConnectionCount($core.int v) {
10366 0 : $_setSignedInt32(3, v);
10367 : }
10368 :
10369 0 : @$pb.TagNumber(4)
10370 0 : $core.bool hasValidConnectionCount() => $_has(3);
10371 0 : @$pb.TagNumber(4)
10372 0 : void clearValidConnectionCount() => clearField(4);
10373 :
10374 0 : @$pb.TagNumber(5)
10375 0 : MetricsInfo_RateInfo get tcpInTraffic => $_getN(4);
10376 0 : @$pb.TagNumber(5)
10377 : set tcpInTraffic(MetricsInfo_RateInfo v) {
10378 0 : setField(5, v);
10379 : }
10380 :
10381 0 : @$pb.TagNumber(5)
10382 0 : $core.bool hasTcpInTraffic() => $_has(4);
10383 0 : @$pb.TagNumber(5)
10384 0 : void clearTcpInTraffic() => clearField(5);
10385 0 : @$pb.TagNumber(5)
10386 0 : MetricsInfo_RateInfo ensureTcpInTraffic() => $_ensure(4);
10387 :
10388 0 : @$pb.TagNumber(6)
10389 0 : MetricsInfo_RateInfo get tcpOutTraffic => $_getN(5);
10390 0 : @$pb.TagNumber(6)
10391 : set tcpOutTraffic(MetricsInfo_RateInfo v) {
10392 0 : setField(6, v);
10393 : }
10394 :
10395 0 : @$pb.TagNumber(6)
10396 0 : $core.bool hasTcpOutTraffic() => $_has(5);
10397 0 : @$pb.TagNumber(6)
10398 0 : void clearTcpOutTraffic() => clearField(6);
10399 0 : @$pb.TagNumber(6)
10400 0 : MetricsInfo_RateInfo ensureTcpOutTraffic() => $_ensure(5);
10401 :
10402 0 : @$pb.TagNumber(7)
10403 0 : $core.int get disconnectionCount => $_getIZ(6);
10404 0 : @$pb.TagNumber(7)
10405 : set disconnectionCount($core.int v) {
10406 0 : $_setSignedInt32(6, v);
10407 : }
10408 :
10409 0 : @$pb.TagNumber(7)
10410 0 : $core.bool hasDisconnectionCount() => $_has(6);
10411 0 : @$pb.TagNumber(7)
10412 0 : void clearDisconnectionCount() => clearField(7);
10413 :
10414 0 : @$pb.TagNumber(8)
10415 : $core.List<MetricsInfo_NetInfo_DisconnectionDetailInfo>
10416 0 : get disconnectionDetail => $_getList(7);
10417 :
10418 0 : @$pb.TagNumber(9)
10419 0 : MetricsInfo_RateInfo get udpInTraffic => $_getN(8);
10420 0 : @$pb.TagNumber(9)
10421 : set udpInTraffic(MetricsInfo_RateInfo v) {
10422 0 : setField(9, v);
10423 : }
10424 :
10425 0 : @$pb.TagNumber(9)
10426 0 : $core.bool hasUdpInTraffic() => $_has(8);
10427 0 : @$pb.TagNumber(9)
10428 0 : void clearUdpInTraffic() => clearField(9);
10429 0 : @$pb.TagNumber(9)
10430 0 : MetricsInfo_RateInfo ensureUdpInTraffic() => $_ensure(8);
10431 :
10432 0 : @$pb.TagNumber(10)
10433 0 : MetricsInfo_RateInfo get udpOutTraffic => $_getN(9);
10434 0 : @$pb.TagNumber(10)
10435 : set udpOutTraffic(MetricsInfo_RateInfo v) {
10436 0 : setField(10, v);
10437 : }
10438 :
10439 0 : @$pb.TagNumber(10)
10440 0 : $core.bool hasUdpOutTraffic() => $_has(9);
10441 0 : @$pb.TagNumber(10)
10442 0 : void clearUdpOutTraffic() => clearField(10);
10443 0 : @$pb.TagNumber(10)
10444 0 : MetricsInfo_RateInfo ensureUdpOutTraffic() => $_ensure(9);
10445 :
10446 0 : @$pb.TagNumber(11)
10447 0 : MetricsInfo_NetInfo_LatencyInfo get latency => $_getN(10);
10448 0 : @$pb.TagNumber(11)
10449 : set latency(MetricsInfo_NetInfo_LatencyInfo v) {
10450 0 : setField(11, v);
10451 : }
10452 :
10453 0 : @$pb.TagNumber(11)
10454 0 : $core.bool hasLatency() => $_has(10);
10455 0 : @$pb.TagNumber(11)
10456 0 : void clearLatency() => clearField(11);
10457 0 : @$pb.TagNumber(11)
10458 0 : MetricsInfo_NetInfo_LatencyInfo ensureLatency() => $_ensure(10);
10459 : }
10460 :
10461 : class MetricsInfo extends $pb.GeneratedMessage {
10462 0 : factory MetricsInfo({
10463 : $fixnum.Int64? interval,
10464 : MetricsInfo_NodeInfo? node,
10465 : MetricsInfo_BlockChainInfo? blockchain,
10466 : MetricsInfo_NetInfo? net,
10467 : }) {
10468 0 : final $result = create();
10469 : if (interval != null) {
10470 0 : $result.interval = interval;
10471 : }
10472 : if (node != null) {
10473 0 : $result.node = node;
10474 : }
10475 : if (blockchain != null) {
10476 0 : $result.blockchain = blockchain;
10477 : }
10478 : if (net != null) {
10479 0 : $result.net = net;
10480 : }
10481 : return $result;
10482 : }
10483 0 : MetricsInfo._() : super();
10484 0 : factory MetricsInfo.fromBuffer($core.List<$core.int> i,
10485 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10486 0 : create()..mergeFromBuffer(i, r);
10487 0 : factory MetricsInfo.fromJson($core.String i,
10488 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10489 0 : create()..mergeFromJson(i, r);
10490 :
10491 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10492 : _omitMessageNames ? '' : 'MetricsInfo',
10493 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10494 : createEmptyInstance: create)
10495 0 : ..aInt64(1, _omitFieldNames ? '' : 'interval')
10496 0 : ..aOM<MetricsInfo_NodeInfo>(2, _omitFieldNames ? '' : 'node',
10497 : subBuilder: MetricsInfo_NodeInfo.create)
10498 0 : ..aOM<MetricsInfo_BlockChainInfo>(3, _omitFieldNames ? '' : 'blockchain',
10499 : subBuilder: MetricsInfo_BlockChainInfo.create)
10500 0 : ..aOM<MetricsInfo_NetInfo>(4, _omitFieldNames ? '' : 'net',
10501 : subBuilder: MetricsInfo_NetInfo.create)
10502 0 : ..hasRequiredFields = false;
10503 :
10504 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10505 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10506 : 'Will be removed in next major version')
10507 0 : MetricsInfo clone() => MetricsInfo()..mergeFromMessage(this);
10508 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10509 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10510 : 'Will be removed in next major version')
10511 : MetricsInfo copyWith(void Function(MetricsInfo) updates) =>
10512 0 : super.copyWith((message) => updates(message as MetricsInfo))
10513 : as MetricsInfo;
10514 :
10515 0 : $pb.BuilderInfo get info_ => _i;
10516 :
10517 0 : @$core.pragma('dart2js:noInline')
10518 0 : static MetricsInfo create() => MetricsInfo._();
10519 0 : MetricsInfo createEmptyInstance() => create();
10520 0 : static $pb.PbList<MetricsInfo> createRepeated() => $pb.PbList<MetricsInfo>();
10521 0 : @$core.pragma('dart2js:noInline')
10522 : static MetricsInfo getDefault() => _defaultInstance ??=
10523 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo>(create);
10524 : static MetricsInfo? _defaultInstance;
10525 :
10526 0 : @$pb.TagNumber(1)
10527 0 : $fixnum.Int64 get interval => $_getI64(0);
10528 0 : @$pb.TagNumber(1)
10529 : set interval($fixnum.Int64 v) {
10530 0 : $_setInt64(0, v);
10531 : }
10532 :
10533 0 : @$pb.TagNumber(1)
10534 0 : $core.bool hasInterval() => $_has(0);
10535 0 : @$pb.TagNumber(1)
10536 0 : void clearInterval() => clearField(1);
10537 :
10538 0 : @$pb.TagNumber(2)
10539 0 : MetricsInfo_NodeInfo get node => $_getN(1);
10540 0 : @$pb.TagNumber(2)
10541 : set node(MetricsInfo_NodeInfo v) {
10542 0 : setField(2, v);
10543 : }
10544 :
10545 0 : @$pb.TagNumber(2)
10546 0 : $core.bool hasNode() => $_has(1);
10547 0 : @$pb.TagNumber(2)
10548 0 : void clearNode() => clearField(2);
10549 0 : @$pb.TagNumber(2)
10550 0 : MetricsInfo_NodeInfo ensureNode() => $_ensure(1);
10551 :
10552 0 : @$pb.TagNumber(3)
10553 0 : MetricsInfo_BlockChainInfo get blockchain => $_getN(2);
10554 0 : @$pb.TagNumber(3)
10555 : set blockchain(MetricsInfo_BlockChainInfo v) {
10556 0 : setField(3, v);
10557 : }
10558 :
10559 0 : @$pb.TagNumber(3)
10560 0 : $core.bool hasBlockchain() => $_has(2);
10561 0 : @$pb.TagNumber(3)
10562 0 : void clearBlockchain() => clearField(3);
10563 0 : @$pb.TagNumber(3)
10564 0 : MetricsInfo_BlockChainInfo ensureBlockchain() => $_ensure(2);
10565 :
10566 0 : @$pb.TagNumber(4)
10567 0 : MetricsInfo_NetInfo get net => $_getN(3);
10568 0 : @$pb.TagNumber(4)
10569 : set net(MetricsInfo_NetInfo v) {
10570 0 : setField(4, v);
10571 : }
10572 :
10573 0 : @$pb.TagNumber(4)
10574 0 : $core.bool hasNet() => $_has(3);
10575 0 : @$pb.TagNumber(4)
10576 0 : void clearNet() => clearField(4);
10577 0 : @$pb.TagNumber(4)
10578 0 : MetricsInfo_NetInfo ensureNet() => $_ensure(3);
10579 : }
10580 :
10581 : class PBFTMessage_Raw extends $pb.GeneratedMessage {
10582 0 : factory PBFTMessage_Raw({
10583 : PBFTMessage_MsgType? msgType,
10584 : PBFTMessage_DataType? dataType,
10585 : $fixnum.Int64? viewN,
10586 : $fixnum.Int64? epoch,
10587 : $core.List<$core.int>? data,
10588 : }) {
10589 0 : final $result = create();
10590 : if (msgType != null) {
10591 0 : $result.msgType = msgType;
10592 : }
10593 : if (dataType != null) {
10594 0 : $result.dataType = dataType;
10595 : }
10596 : if (viewN != null) {
10597 0 : $result.viewN = viewN;
10598 : }
10599 : if (epoch != null) {
10600 0 : $result.epoch = epoch;
10601 : }
10602 : if (data != null) {
10603 0 : $result.data = data;
10604 : }
10605 : return $result;
10606 : }
10607 0 : PBFTMessage_Raw._() : super();
10608 0 : factory PBFTMessage_Raw.fromBuffer($core.List<$core.int> i,
10609 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10610 0 : create()..mergeFromBuffer(i, r);
10611 0 : factory PBFTMessage_Raw.fromJson($core.String i,
10612 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10613 0 : create()..mergeFromJson(i, r);
10614 :
10615 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10616 : _omitMessageNames ? '' : 'PBFTMessage.Raw',
10617 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10618 : createEmptyInstance: create)
10619 0 : ..e<PBFTMessage_MsgType>(
10620 : 1, _omitFieldNames ? '' : 'msgType', $pb.PbFieldType.OE,
10621 : defaultOrMaker: PBFTMessage_MsgType.VIEW_CHANGE,
10622 : valueOf: PBFTMessage_MsgType.valueOf,
10623 : enumValues: PBFTMessage_MsgType.values)
10624 0 : ..e<PBFTMessage_DataType>(
10625 : 2, _omitFieldNames ? '' : 'dataType', $pb.PbFieldType.OE,
10626 : defaultOrMaker: PBFTMessage_DataType.BLOCK,
10627 : valueOf: PBFTMessage_DataType.valueOf,
10628 : enumValues: PBFTMessage_DataType.values)
10629 0 : ..aInt64(3, _omitFieldNames ? '' : 'viewN')
10630 0 : ..aInt64(4, _omitFieldNames ? '' : 'epoch')
10631 0 : ..a<$core.List<$core.int>>(
10632 : 5, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
10633 0 : ..hasRequiredFields = false;
10634 :
10635 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10636 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10637 : 'Will be removed in next major version')
10638 0 : PBFTMessage_Raw clone() => PBFTMessage_Raw()..mergeFromMessage(this);
10639 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10640 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10641 : 'Will be removed in next major version')
10642 : PBFTMessage_Raw copyWith(void Function(PBFTMessage_Raw) updates) =>
10643 0 : super.copyWith((message) => updates(message as PBFTMessage_Raw))
10644 : as PBFTMessage_Raw;
10645 :
10646 0 : $pb.BuilderInfo get info_ => _i;
10647 :
10648 0 : @$core.pragma('dart2js:noInline')
10649 0 : static PBFTMessage_Raw create() => PBFTMessage_Raw._();
10650 0 : PBFTMessage_Raw createEmptyInstance() => create();
10651 0 : static $pb.PbList<PBFTMessage_Raw> createRepeated() =>
10652 0 : $pb.PbList<PBFTMessage_Raw>();
10653 0 : @$core.pragma('dart2js:noInline')
10654 : static PBFTMessage_Raw getDefault() => _defaultInstance ??=
10655 0 : $pb.GeneratedMessage.$_defaultFor<PBFTMessage_Raw>(create);
10656 : static PBFTMessage_Raw? _defaultInstance;
10657 :
10658 0 : @$pb.TagNumber(1)
10659 0 : PBFTMessage_MsgType get msgType => $_getN(0);
10660 0 : @$pb.TagNumber(1)
10661 : set msgType(PBFTMessage_MsgType v) {
10662 0 : setField(1, v);
10663 : }
10664 :
10665 0 : @$pb.TagNumber(1)
10666 0 : $core.bool hasMsgType() => $_has(0);
10667 0 : @$pb.TagNumber(1)
10668 0 : void clearMsgType() => clearField(1);
10669 :
10670 0 : @$pb.TagNumber(2)
10671 0 : PBFTMessage_DataType get dataType => $_getN(1);
10672 0 : @$pb.TagNumber(2)
10673 : set dataType(PBFTMessage_DataType v) {
10674 0 : setField(2, v);
10675 : }
10676 :
10677 0 : @$pb.TagNumber(2)
10678 0 : $core.bool hasDataType() => $_has(1);
10679 0 : @$pb.TagNumber(2)
10680 0 : void clearDataType() => clearField(2);
10681 :
10682 0 : @$pb.TagNumber(3)
10683 0 : $fixnum.Int64 get viewN => $_getI64(2);
10684 0 : @$pb.TagNumber(3)
10685 : set viewN($fixnum.Int64 v) {
10686 0 : $_setInt64(2, v);
10687 : }
10688 :
10689 0 : @$pb.TagNumber(3)
10690 0 : $core.bool hasViewN() => $_has(2);
10691 0 : @$pb.TagNumber(3)
10692 0 : void clearViewN() => clearField(3);
10693 :
10694 0 : @$pb.TagNumber(4)
10695 0 : $fixnum.Int64 get epoch => $_getI64(3);
10696 0 : @$pb.TagNumber(4)
10697 : set epoch($fixnum.Int64 v) {
10698 0 : $_setInt64(3, v);
10699 : }
10700 :
10701 0 : @$pb.TagNumber(4)
10702 0 : $core.bool hasEpoch() => $_has(3);
10703 0 : @$pb.TagNumber(4)
10704 0 : void clearEpoch() => clearField(4);
10705 :
10706 0 : @$pb.TagNumber(5)
10707 0 : $core.List<$core.int> get data => $_getN(4);
10708 0 : @$pb.TagNumber(5)
10709 : set data($core.List<$core.int> v) {
10710 0 : $_setBytes(4, v);
10711 : }
10712 :
10713 0 : @$pb.TagNumber(5)
10714 0 : $core.bool hasData() => $_has(4);
10715 0 : @$pb.TagNumber(5)
10716 0 : void clearData() => clearField(5);
10717 : }
10718 :
10719 : class PBFTMessage extends $pb.GeneratedMessage {
10720 0 : factory PBFTMessage({
10721 : PBFTMessage_Raw? rawData,
10722 : $core.List<$core.int>? signature,
10723 : }) {
10724 0 : final $result = create();
10725 : if (rawData != null) {
10726 0 : $result.rawData = rawData;
10727 : }
10728 : if (signature != null) {
10729 0 : $result.signature = signature;
10730 : }
10731 : return $result;
10732 : }
10733 0 : PBFTMessage._() : super();
10734 0 : factory PBFTMessage.fromBuffer($core.List<$core.int> i,
10735 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10736 0 : create()..mergeFromBuffer(i, r);
10737 0 : factory PBFTMessage.fromJson($core.String i,
10738 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10739 0 : create()..mergeFromJson(i, r);
10740 :
10741 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10742 : _omitMessageNames ? '' : 'PBFTMessage',
10743 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10744 : createEmptyInstance: create)
10745 0 : ..aOM<PBFTMessage_Raw>(1, _omitFieldNames ? '' : 'rawData',
10746 : subBuilder: PBFTMessage_Raw.create)
10747 0 : ..a<$core.List<$core.int>>(
10748 : 2, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
10749 0 : ..hasRequiredFields = false;
10750 :
10751 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10752 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10753 : 'Will be removed in next major version')
10754 0 : PBFTMessage clone() => PBFTMessage()..mergeFromMessage(this);
10755 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10756 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10757 : 'Will be removed in next major version')
10758 : PBFTMessage copyWith(void Function(PBFTMessage) updates) =>
10759 0 : super.copyWith((message) => updates(message as PBFTMessage))
10760 : as PBFTMessage;
10761 :
10762 0 : $pb.BuilderInfo get info_ => _i;
10763 :
10764 0 : @$core.pragma('dart2js:noInline')
10765 0 : static PBFTMessage create() => PBFTMessage._();
10766 0 : PBFTMessage createEmptyInstance() => create();
10767 0 : static $pb.PbList<PBFTMessage> createRepeated() => $pb.PbList<PBFTMessage>();
10768 0 : @$core.pragma('dart2js:noInline')
10769 : static PBFTMessage getDefault() => _defaultInstance ??=
10770 0 : $pb.GeneratedMessage.$_defaultFor<PBFTMessage>(create);
10771 : static PBFTMessage? _defaultInstance;
10772 :
10773 0 : @$pb.TagNumber(1)
10774 0 : PBFTMessage_Raw get rawData => $_getN(0);
10775 0 : @$pb.TagNumber(1)
10776 : set rawData(PBFTMessage_Raw v) {
10777 0 : setField(1, v);
10778 : }
10779 :
10780 0 : @$pb.TagNumber(1)
10781 0 : $core.bool hasRawData() => $_has(0);
10782 0 : @$pb.TagNumber(1)
10783 0 : void clearRawData() => clearField(1);
10784 0 : @$pb.TagNumber(1)
10785 0 : PBFTMessage_Raw ensureRawData() => $_ensure(0);
10786 :
10787 0 : @$pb.TagNumber(2)
10788 0 : $core.List<$core.int> get signature => $_getN(1);
10789 0 : @$pb.TagNumber(2)
10790 : set signature($core.List<$core.int> v) {
10791 0 : $_setBytes(1, v);
10792 : }
10793 :
10794 0 : @$pb.TagNumber(2)
10795 0 : $core.bool hasSignature() => $_has(1);
10796 0 : @$pb.TagNumber(2)
10797 0 : void clearSignature() => clearField(2);
10798 : }
10799 :
10800 : class PBFTCommitResult extends $pb.GeneratedMessage {
10801 0 : factory PBFTCommitResult({
10802 : $core.List<$core.int>? data,
10803 : $core.Iterable<$core.List<$core.int>>? signature,
10804 : }) {
10805 0 : final $result = create();
10806 : if (data != null) {
10807 0 : $result.data = data;
10808 : }
10809 : if (signature != null) {
10810 0 : $result.signature.addAll(signature);
10811 : }
10812 : return $result;
10813 : }
10814 0 : PBFTCommitResult._() : super();
10815 0 : factory PBFTCommitResult.fromBuffer($core.List<$core.int> i,
10816 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10817 0 : create()..mergeFromBuffer(i, r);
10818 0 : factory PBFTCommitResult.fromJson($core.String i,
10819 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10820 0 : create()..mergeFromJson(i, r);
10821 :
10822 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10823 : _omitMessageNames ? '' : 'PBFTCommitResult',
10824 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10825 : createEmptyInstance: create)
10826 0 : ..a<$core.List<$core.int>>(
10827 : 1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
10828 0 : ..p<$core.List<$core.int>>(
10829 : 2, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.PY)
10830 0 : ..hasRequiredFields = false;
10831 :
10832 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10833 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10834 : 'Will be removed in next major version')
10835 0 : PBFTCommitResult clone() => PBFTCommitResult()..mergeFromMessage(this);
10836 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10837 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10838 : 'Will be removed in next major version')
10839 : PBFTCommitResult copyWith(void Function(PBFTCommitResult) updates) =>
10840 0 : super.copyWith((message) => updates(message as PBFTCommitResult))
10841 : as PBFTCommitResult;
10842 :
10843 0 : $pb.BuilderInfo get info_ => _i;
10844 :
10845 0 : @$core.pragma('dart2js:noInline')
10846 0 : static PBFTCommitResult create() => PBFTCommitResult._();
10847 0 : PBFTCommitResult createEmptyInstance() => create();
10848 0 : static $pb.PbList<PBFTCommitResult> createRepeated() =>
10849 0 : $pb.PbList<PBFTCommitResult>();
10850 0 : @$core.pragma('dart2js:noInline')
10851 : static PBFTCommitResult getDefault() => _defaultInstance ??=
10852 0 : $pb.GeneratedMessage.$_defaultFor<PBFTCommitResult>(create);
10853 : static PBFTCommitResult? _defaultInstance;
10854 :
10855 0 : @$pb.TagNumber(1)
10856 0 : $core.List<$core.int> get data => $_getN(0);
10857 0 : @$pb.TagNumber(1)
10858 : set data($core.List<$core.int> v) {
10859 0 : $_setBytes(0, v);
10860 : }
10861 :
10862 0 : @$pb.TagNumber(1)
10863 0 : $core.bool hasData() => $_has(0);
10864 0 : @$pb.TagNumber(1)
10865 0 : void clearData() => clearField(1);
10866 :
10867 0 : @$pb.TagNumber(2)
10868 0 : $core.List<$core.List<$core.int>> get signature => $_getList(1);
10869 : }
10870 :
10871 : class SRL extends $pb.GeneratedMessage {
10872 0 : factory SRL({
10873 : $core.Iterable<$core.List<$core.int>>? srAddress,
10874 : }) {
10875 0 : final $result = create();
10876 : if (srAddress != null) {
10877 0 : $result.srAddress.addAll(srAddress);
10878 : }
10879 : return $result;
10880 : }
10881 0 : SRL._() : super();
10882 0 : factory SRL.fromBuffer($core.List<$core.int> i,
10883 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10884 0 : create()..mergeFromBuffer(i, r);
10885 0 : factory SRL.fromJson($core.String i,
10886 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10887 0 : create()..mergeFromJson(i, r);
10888 :
10889 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
10890 : _omitMessageNames ? '' : 'SRL',
10891 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10892 : createEmptyInstance: create)
10893 0 : ..p<$core.List<$core.int>>(
10894 : 1, _omitFieldNames ? '' : 'srAddress', $pb.PbFieldType.PY,
10895 : protoName: 'srAddress')
10896 0 : ..hasRequiredFields = false;
10897 :
10898 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10899 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10900 : 'Will be removed in next major version')
10901 0 : SRL clone() => SRL()..mergeFromMessage(this);
10902 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10903 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10904 : 'Will be removed in next major version')
10905 : SRL copyWith(void Function(SRL) updates) =>
10906 0 : super.copyWith((message) => updates(message as SRL)) as SRL;
10907 :
10908 0 : $pb.BuilderInfo get info_ => _i;
10909 :
10910 0 : @$core.pragma('dart2js:noInline')
10911 0 : static SRL create() => SRL._();
10912 0 : SRL createEmptyInstance() => create();
10913 0 : static $pb.PbList<SRL> createRepeated() => $pb.PbList<SRL>();
10914 0 : @$core.pragma('dart2js:noInline')
10915 : static SRL getDefault() =>
10916 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SRL>(create);
10917 : static SRL? _defaultInstance;
10918 :
10919 0 : @$pb.TagNumber(1)
10920 0 : $core.List<$core.List<$core.int>> get srAddress => $_getList(0);
10921 : }
10922 :
10923 : const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
10924 : const _omitMessageNames =
10925 : $core.bool.fromEnvironment('protobuf.omit_message_names');
|