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(_omitMessageNames ? '' : 'AccountId',
48 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
49 : createEmptyInstance: create)
50 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'name', $pb.PbFieldType.OY)
51 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
52 0 : ..hasRequiredFields = false;
53 :
54 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
55 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
56 : 'Will be removed in next major version')
57 0 : AccountId clone() => AccountId()..mergeFromMessage(this);
58 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
59 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
60 : 'Will be removed in next major version')
61 : AccountId copyWith(void Function(AccountId) updates) =>
62 0 : super.copyWith((message) => updates(message as AccountId)) as AccountId;
63 :
64 0 : $pb.BuilderInfo get info_ => _i;
65 :
66 0 : @$core.pragma('dart2js:noInline')
67 0 : static AccountId create() => AccountId._();
68 0 : AccountId createEmptyInstance() => create();
69 0 : static $pb.PbList<AccountId> createRepeated() => $pb.PbList<AccountId>();
70 0 : @$core.pragma('dart2js:noInline')
71 : static AccountId getDefault() =>
72 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountId>(create);
73 : static AccountId? _defaultInstance;
74 :
75 0 : @$pb.TagNumber(1)
76 0 : $core.List<$core.int> get name => $_getN(0);
77 0 : @$pb.TagNumber(1)
78 : set name($core.List<$core.int> v) {
79 0 : $_setBytes(0, v);
80 : }
81 :
82 0 : @$pb.TagNumber(1)
83 0 : $core.bool hasName() => $_has(0);
84 0 : @$pb.TagNumber(1)
85 0 : void clearName() => clearField(1);
86 :
87 0 : @$pb.TagNumber(2)
88 0 : $core.List<$core.int> get address => $_getN(1);
89 0 : @$pb.TagNumber(2)
90 : set address($core.List<$core.int> v) {
91 0 : $_setBytes(1, v);
92 : }
93 :
94 0 : @$pb.TagNumber(2)
95 0 : $core.bool hasAddress() => $_has(1);
96 0 : @$pb.TagNumber(2)
97 0 : void clearAddress() => clearField(2);
98 : }
99 :
100 : /// vote message
101 : class Vote extends $pb.GeneratedMessage {
102 0 : factory Vote({
103 : $core.List<$core.int>? voteAddress,
104 : $fixnum.Int64? voteCount,
105 : }) {
106 0 : final $result = create();
107 : if (voteAddress != null) {
108 0 : $result.voteAddress = voteAddress;
109 : }
110 : if (voteCount != null) {
111 0 : $result.voteCount = voteCount;
112 : }
113 : return $result;
114 : }
115 0 : Vote._() : super();
116 0 : factory Vote.fromBuffer($core.List<$core.int> i,
117 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
118 0 : create()..mergeFromBuffer(i, r);
119 0 : factory Vote.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
120 0 : create()..mergeFromJson(i, r);
121 :
122 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Vote',
123 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
124 : createEmptyInstance: create)
125 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'voteAddress', $pb.PbFieldType.OY)
126 0 : ..aInt64(2, _omitFieldNames ? '' : 'voteCount')
127 0 : ..hasRequiredFields = false;
128 :
129 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
130 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
131 : 'Will be removed in next major version')
132 0 : Vote clone() => Vote()..mergeFromMessage(this);
133 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
134 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
135 : 'Will be removed in next major version')
136 : Vote copyWith(void Function(Vote) updates) =>
137 0 : super.copyWith((message) => updates(message as Vote)) as Vote;
138 :
139 0 : $pb.BuilderInfo get info_ => _i;
140 :
141 0 : @$core.pragma('dart2js:noInline')
142 0 : static Vote create() => Vote._();
143 0 : Vote createEmptyInstance() => create();
144 0 : static $pb.PbList<Vote> createRepeated() => $pb.PbList<Vote>();
145 0 : @$core.pragma('dart2js:noInline')
146 0 : static Vote getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Vote>(create);
147 : static Vote? _defaultInstance;
148 :
149 : /// the super rep address
150 0 : @$pb.TagNumber(1)
151 0 : $core.List<$core.int> get voteAddress => $_getN(0);
152 0 : @$pb.TagNumber(1)
153 : set voteAddress($core.List<$core.int> v) {
154 0 : $_setBytes(0, v);
155 : }
156 :
157 0 : @$pb.TagNumber(1)
158 0 : $core.bool hasVoteAddress() => $_has(0);
159 0 : @$pb.TagNumber(1)
160 0 : void clearVoteAddress() => clearField(1);
161 :
162 : /// the vote num to this super rep.
163 0 : @$pb.TagNumber(2)
164 0 : $fixnum.Int64 get voteCount => $_getI64(1);
165 0 : @$pb.TagNumber(2)
166 : set voteCount($fixnum.Int64 v) {
167 0 : $_setInt64(1, v);
168 : }
169 :
170 0 : @$pb.TagNumber(2)
171 0 : $core.bool hasVoteCount() => $_has(1);
172 0 : @$pb.TagNumber(2)
173 0 : void clearVoteCount() => clearField(2);
174 : }
175 :
176 : /// Proposal
177 : class Proposal extends $pb.GeneratedMessage {
178 0 : factory Proposal({
179 : $fixnum.Int64? proposalId,
180 : $core.List<$core.int>? proposerAddress,
181 : $core.Map<$fixnum.Int64, $fixnum.Int64>? parameters,
182 : $fixnum.Int64? expirationTime,
183 : $fixnum.Int64? createTime,
184 : $core.Iterable<$core.List<$core.int>>? approvals,
185 : Proposal_State? state,
186 : }) {
187 0 : final $result = create();
188 : if (proposalId != null) {
189 0 : $result.proposalId = proposalId;
190 : }
191 : if (proposerAddress != null) {
192 0 : $result.proposerAddress = proposerAddress;
193 : }
194 : if (parameters != null) {
195 0 : $result.parameters.addAll(parameters);
196 : }
197 : if (expirationTime != null) {
198 0 : $result.expirationTime = expirationTime;
199 : }
200 : if (createTime != null) {
201 0 : $result.createTime = createTime;
202 : }
203 : if (approvals != null) {
204 0 : $result.approvals.addAll(approvals);
205 : }
206 : if (state != null) {
207 0 : $result.state = state;
208 : }
209 : return $result;
210 : }
211 0 : Proposal._() : super();
212 0 : factory Proposal.fromBuffer($core.List<$core.int> i,
213 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
214 0 : create()..mergeFromBuffer(i, r);
215 0 : factory Proposal.fromJson($core.String i,
216 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
217 0 : create()..mergeFromJson(i, r);
218 :
219 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Proposal',
220 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
221 : createEmptyInstance: create)
222 0 : ..aInt64(1, _omitFieldNames ? '' : 'proposalId')
223 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'proposerAddress', $pb.PbFieldType.OY)
224 0 : ..m<$fixnum.Int64, $fixnum.Int64>(3, _omitFieldNames ? '' : 'parameters',
225 : entryClassName: 'Proposal.ParametersEntry',
226 : keyFieldType: $pb.PbFieldType.O6,
227 : valueFieldType: $pb.PbFieldType.O6,
228 : packageName: const $pb.PackageName('protocol'))
229 0 : ..aInt64(4, _omitFieldNames ? '' : 'expirationTime')
230 0 : ..aInt64(5, _omitFieldNames ? '' : 'createTime')
231 0 : ..p<$core.List<$core.int>>(6, _omitFieldNames ? '' : 'approvals', $pb.PbFieldType.PY)
232 0 : ..e<Proposal_State>(7, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE,
233 : defaultOrMaker: Proposal_State.PENDING,
234 : valueOf: Proposal_State.valueOf,
235 : enumValues: Proposal_State.values)
236 0 : ..hasRequiredFields = false;
237 :
238 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
239 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
240 : 'Will be removed in next major version')
241 0 : Proposal clone() => Proposal()..mergeFromMessage(this);
242 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
243 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
244 : 'Will be removed in next major version')
245 : Proposal copyWith(void Function(Proposal) updates) =>
246 0 : super.copyWith((message) => updates(message as Proposal)) as Proposal;
247 :
248 0 : $pb.BuilderInfo get info_ => _i;
249 :
250 0 : @$core.pragma('dart2js:noInline')
251 0 : static Proposal create() => Proposal._();
252 0 : Proposal createEmptyInstance() => create();
253 0 : static $pb.PbList<Proposal> createRepeated() => $pb.PbList<Proposal>();
254 0 : @$core.pragma('dart2js:noInline')
255 : static Proposal getDefault() =>
256 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Proposal>(create);
257 : static Proposal? _defaultInstance;
258 :
259 0 : @$pb.TagNumber(1)
260 0 : $fixnum.Int64 get proposalId => $_getI64(0);
261 0 : @$pb.TagNumber(1)
262 : set proposalId($fixnum.Int64 v) {
263 0 : $_setInt64(0, v);
264 : }
265 :
266 0 : @$pb.TagNumber(1)
267 0 : $core.bool hasProposalId() => $_has(0);
268 0 : @$pb.TagNumber(1)
269 0 : void clearProposalId() => clearField(1);
270 :
271 0 : @$pb.TagNumber(2)
272 0 : $core.List<$core.int> get proposerAddress => $_getN(1);
273 0 : @$pb.TagNumber(2)
274 : set proposerAddress($core.List<$core.int> v) {
275 0 : $_setBytes(1, v);
276 : }
277 :
278 0 : @$pb.TagNumber(2)
279 0 : $core.bool hasProposerAddress() => $_has(1);
280 0 : @$pb.TagNumber(2)
281 0 : void clearProposerAddress() => clearField(2);
282 :
283 0 : @$pb.TagNumber(3)
284 0 : $core.Map<$fixnum.Int64, $fixnum.Int64> get parameters => $_getMap(2);
285 :
286 0 : @$pb.TagNumber(4)
287 0 : $fixnum.Int64 get expirationTime => $_getI64(3);
288 0 : @$pb.TagNumber(4)
289 : set expirationTime($fixnum.Int64 v) {
290 0 : $_setInt64(3, v);
291 : }
292 :
293 0 : @$pb.TagNumber(4)
294 0 : $core.bool hasExpirationTime() => $_has(3);
295 0 : @$pb.TagNumber(4)
296 0 : void clearExpirationTime() => clearField(4);
297 :
298 0 : @$pb.TagNumber(5)
299 0 : $fixnum.Int64 get createTime => $_getI64(4);
300 0 : @$pb.TagNumber(5)
301 : set createTime($fixnum.Int64 v) {
302 0 : $_setInt64(4, v);
303 : }
304 :
305 0 : @$pb.TagNumber(5)
306 0 : $core.bool hasCreateTime() => $_has(4);
307 0 : @$pb.TagNumber(5)
308 0 : void clearCreateTime() => clearField(5);
309 :
310 0 : @$pb.TagNumber(6)
311 0 : $core.List<$core.List<$core.int>> get approvals => $_getList(5);
312 :
313 0 : @$pb.TagNumber(7)
314 0 : Proposal_State get state => $_getN(6);
315 0 : @$pb.TagNumber(7)
316 : set state(Proposal_State v) {
317 0 : setField(7, v);
318 : }
319 :
320 0 : @$pb.TagNumber(7)
321 0 : $core.bool hasState() => $_has(6);
322 0 : @$pb.TagNumber(7)
323 0 : void clearState() => clearField(7);
324 : }
325 :
326 : /// Exchange
327 : class Exchange extends $pb.GeneratedMessage {
328 0 : factory Exchange({
329 : $fixnum.Int64? exchangeId,
330 : $core.List<$core.int>? creatorAddress,
331 : $fixnum.Int64? createTime,
332 : $core.List<$core.int>? firstTokenId,
333 : $fixnum.Int64? firstTokenBalance,
334 : $core.List<$core.int>? secondTokenId,
335 : $fixnum.Int64? secondTokenBalance,
336 : }) {
337 0 : final $result = create();
338 : if (exchangeId != null) {
339 0 : $result.exchangeId = exchangeId;
340 : }
341 : if (creatorAddress != null) {
342 0 : $result.creatorAddress = creatorAddress;
343 : }
344 : if (createTime != null) {
345 0 : $result.createTime = createTime;
346 : }
347 : if (firstTokenId != null) {
348 0 : $result.firstTokenId = firstTokenId;
349 : }
350 : if (firstTokenBalance != null) {
351 0 : $result.firstTokenBalance = firstTokenBalance;
352 : }
353 : if (secondTokenId != null) {
354 0 : $result.secondTokenId = secondTokenId;
355 : }
356 : if (secondTokenBalance != null) {
357 0 : $result.secondTokenBalance = secondTokenBalance;
358 : }
359 : return $result;
360 : }
361 0 : Exchange._() : super();
362 0 : factory Exchange.fromBuffer($core.List<$core.int> i,
363 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
364 0 : create()..mergeFromBuffer(i, r);
365 0 : factory Exchange.fromJson($core.String i,
366 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
367 0 : create()..mergeFromJson(i, r);
368 :
369 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Exchange',
370 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
371 : createEmptyInstance: create)
372 0 : ..aInt64(1, _omitFieldNames ? '' : 'exchangeId')
373 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'creatorAddress', $pb.PbFieldType.OY)
374 0 : ..aInt64(3, _omitFieldNames ? '' : 'createTime')
375 0 : ..a<$core.List<$core.int>>(6, _omitFieldNames ? '' : 'firstTokenId', $pb.PbFieldType.OY)
376 0 : ..aInt64(7, _omitFieldNames ? '' : 'firstTokenBalance')
377 0 : ..a<$core.List<$core.int>>(8, _omitFieldNames ? '' : 'secondTokenId', $pb.PbFieldType.OY)
378 0 : ..aInt64(9, _omitFieldNames ? '' : 'secondTokenBalance')
379 0 : ..hasRequiredFields = false;
380 :
381 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
382 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
383 : 'Will be removed in next major version')
384 0 : Exchange clone() => Exchange()..mergeFromMessage(this);
385 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
386 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
387 : 'Will be removed in next major version')
388 : Exchange copyWith(void Function(Exchange) updates) =>
389 0 : super.copyWith((message) => updates(message as Exchange)) as Exchange;
390 :
391 0 : $pb.BuilderInfo get info_ => _i;
392 :
393 0 : @$core.pragma('dart2js:noInline')
394 0 : static Exchange create() => Exchange._();
395 0 : Exchange createEmptyInstance() => create();
396 0 : static $pb.PbList<Exchange> createRepeated() => $pb.PbList<Exchange>();
397 0 : @$core.pragma('dart2js:noInline')
398 : static Exchange getDefault() =>
399 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Exchange>(create);
400 : static Exchange? _defaultInstance;
401 :
402 0 : @$pb.TagNumber(1)
403 0 : $fixnum.Int64 get exchangeId => $_getI64(0);
404 0 : @$pb.TagNumber(1)
405 : set exchangeId($fixnum.Int64 v) {
406 0 : $_setInt64(0, v);
407 : }
408 :
409 0 : @$pb.TagNumber(1)
410 0 : $core.bool hasExchangeId() => $_has(0);
411 0 : @$pb.TagNumber(1)
412 0 : void clearExchangeId() => clearField(1);
413 :
414 0 : @$pb.TagNumber(2)
415 0 : $core.List<$core.int> get creatorAddress => $_getN(1);
416 0 : @$pb.TagNumber(2)
417 : set creatorAddress($core.List<$core.int> v) {
418 0 : $_setBytes(1, v);
419 : }
420 :
421 0 : @$pb.TagNumber(2)
422 0 : $core.bool hasCreatorAddress() => $_has(1);
423 0 : @$pb.TagNumber(2)
424 0 : void clearCreatorAddress() => clearField(2);
425 :
426 0 : @$pb.TagNumber(3)
427 0 : $fixnum.Int64 get createTime => $_getI64(2);
428 0 : @$pb.TagNumber(3)
429 : set createTime($fixnum.Int64 v) {
430 0 : $_setInt64(2, v);
431 : }
432 :
433 0 : @$pb.TagNumber(3)
434 0 : $core.bool hasCreateTime() => $_has(2);
435 0 : @$pb.TagNumber(3)
436 0 : void clearCreateTime() => clearField(3);
437 :
438 0 : @$pb.TagNumber(6)
439 0 : $core.List<$core.int> get firstTokenId => $_getN(3);
440 0 : @$pb.TagNumber(6)
441 : set firstTokenId($core.List<$core.int> v) {
442 0 : $_setBytes(3, v);
443 : }
444 :
445 0 : @$pb.TagNumber(6)
446 0 : $core.bool hasFirstTokenId() => $_has(3);
447 0 : @$pb.TagNumber(6)
448 0 : void clearFirstTokenId() => clearField(6);
449 :
450 0 : @$pb.TagNumber(7)
451 0 : $fixnum.Int64 get firstTokenBalance => $_getI64(4);
452 0 : @$pb.TagNumber(7)
453 : set firstTokenBalance($fixnum.Int64 v) {
454 0 : $_setInt64(4, v);
455 : }
456 :
457 0 : @$pb.TagNumber(7)
458 0 : $core.bool hasFirstTokenBalance() => $_has(4);
459 0 : @$pb.TagNumber(7)
460 0 : void clearFirstTokenBalance() => clearField(7);
461 :
462 0 : @$pb.TagNumber(8)
463 0 : $core.List<$core.int> get secondTokenId => $_getN(5);
464 0 : @$pb.TagNumber(8)
465 : set secondTokenId($core.List<$core.int> v) {
466 0 : $_setBytes(5, v);
467 : }
468 :
469 0 : @$pb.TagNumber(8)
470 0 : $core.bool hasSecondTokenId() => $_has(5);
471 0 : @$pb.TagNumber(8)
472 0 : void clearSecondTokenId() => clearField(8);
473 :
474 0 : @$pb.TagNumber(9)
475 0 : $fixnum.Int64 get secondTokenBalance => $_getI64(6);
476 0 : @$pb.TagNumber(9)
477 : set secondTokenBalance($fixnum.Int64 v) {
478 0 : $_setInt64(6, v);
479 : }
480 :
481 0 : @$pb.TagNumber(9)
482 0 : $core.bool hasSecondTokenBalance() => $_has(6);
483 0 : @$pb.TagNumber(9)
484 0 : void clearSecondTokenBalance() => clearField(9);
485 : }
486 :
487 : /// market
488 : class MarketOrder extends $pb.GeneratedMessage {
489 0 : factory MarketOrder({
490 : $core.List<$core.int>? orderId,
491 : $core.List<$core.int>? ownerAddress,
492 : $fixnum.Int64? createTime,
493 : $core.List<$core.int>? sellTokenId,
494 : $fixnum.Int64? sellTokenQuantity,
495 : $core.List<$core.int>? buyTokenId,
496 : $fixnum.Int64? buyTokenQuantity,
497 : $fixnum.Int64? sellTokenQuantityRemain,
498 : $fixnum.Int64? sellTokenQuantityReturn,
499 : MarketOrder_State? state,
500 : $core.List<$core.int>? prev,
501 : $core.List<$core.int>? next,
502 : }) {
503 0 : final $result = create();
504 : if (orderId != null) {
505 0 : $result.orderId = orderId;
506 : }
507 : if (ownerAddress != null) {
508 0 : $result.ownerAddress = ownerAddress;
509 : }
510 : if (createTime != null) {
511 0 : $result.createTime = createTime;
512 : }
513 : if (sellTokenId != null) {
514 0 : $result.sellTokenId = sellTokenId;
515 : }
516 : if (sellTokenQuantity != null) {
517 0 : $result.sellTokenQuantity = sellTokenQuantity;
518 : }
519 : if (buyTokenId != null) {
520 0 : $result.buyTokenId = buyTokenId;
521 : }
522 : if (buyTokenQuantity != null) {
523 0 : $result.buyTokenQuantity = buyTokenQuantity;
524 : }
525 : if (sellTokenQuantityRemain != null) {
526 0 : $result.sellTokenQuantityRemain = sellTokenQuantityRemain;
527 : }
528 : if (sellTokenQuantityReturn != null) {
529 0 : $result.sellTokenQuantityReturn = sellTokenQuantityReturn;
530 : }
531 : if (state != null) {
532 0 : $result.state = state;
533 : }
534 : if (prev != null) {
535 0 : $result.prev = prev;
536 : }
537 : if (next != null) {
538 0 : $result.next = next;
539 : }
540 : return $result;
541 : }
542 0 : MarketOrder._() : super();
543 0 : factory MarketOrder.fromBuffer($core.List<$core.int> i,
544 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
545 0 : create()..mergeFromBuffer(i, r);
546 0 : factory MarketOrder.fromJson($core.String i,
547 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
548 0 : create()..mergeFromJson(i, r);
549 :
550 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketOrder',
551 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
552 : createEmptyInstance: create)
553 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'orderId', $pb.PbFieldType.OY)
554 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
555 0 : ..aInt64(3, _omitFieldNames ? '' : 'createTime')
556 0 : ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'sellTokenId', $pb.PbFieldType.OY)
557 0 : ..aInt64(5, _omitFieldNames ? '' : 'sellTokenQuantity')
558 0 : ..a<$core.List<$core.int>>(6, _omitFieldNames ? '' : 'buyTokenId', $pb.PbFieldType.OY)
559 0 : ..aInt64(7, _omitFieldNames ? '' : 'buyTokenQuantity')
560 0 : ..aInt64(9, _omitFieldNames ? '' : 'sellTokenQuantityRemain')
561 0 : ..aInt64(10, _omitFieldNames ? '' : 'sellTokenQuantityReturn')
562 0 : ..e<MarketOrder_State>(11, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE,
563 : defaultOrMaker: MarketOrder_State.ACTIVE,
564 : valueOf: MarketOrder_State.valueOf,
565 : enumValues: MarketOrder_State.values)
566 0 : ..a<$core.List<$core.int>>(12, _omitFieldNames ? '' : 'prev', $pb.PbFieldType.OY)
567 0 : ..a<$core.List<$core.int>>(13, _omitFieldNames ? '' : 'next', $pb.PbFieldType.OY)
568 0 : ..hasRequiredFields = false;
569 :
570 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
571 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
572 : 'Will be removed in next major version')
573 0 : MarketOrder clone() => MarketOrder()..mergeFromMessage(this);
574 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
575 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
576 : 'Will be removed in next major version')
577 : MarketOrder copyWith(void Function(MarketOrder) updates) =>
578 0 : super.copyWith((message) => updates(message as MarketOrder)) as MarketOrder;
579 :
580 0 : $pb.BuilderInfo get info_ => _i;
581 :
582 0 : @$core.pragma('dart2js:noInline')
583 0 : static MarketOrder create() => MarketOrder._();
584 0 : MarketOrder createEmptyInstance() => create();
585 0 : static $pb.PbList<MarketOrder> createRepeated() => $pb.PbList<MarketOrder>();
586 0 : @$core.pragma('dart2js:noInline')
587 : static MarketOrder getDefault() =>
588 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketOrder>(create);
589 : static MarketOrder? _defaultInstance;
590 :
591 0 : @$pb.TagNumber(1)
592 0 : $core.List<$core.int> get orderId => $_getN(0);
593 0 : @$pb.TagNumber(1)
594 : set orderId($core.List<$core.int> v) {
595 0 : $_setBytes(0, v);
596 : }
597 :
598 0 : @$pb.TagNumber(1)
599 0 : $core.bool hasOrderId() => $_has(0);
600 0 : @$pb.TagNumber(1)
601 0 : void clearOrderId() => clearField(1);
602 :
603 0 : @$pb.TagNumber(2)
604 0 : $core.List<$core.int> get ownerAddress => $_getN(1);
605 0 : @$pb.TagNumber(2)
606 : set ownerAddress($core.List<$core.int> v) {
607 0 : $_setBytes(1, v);
608 : }
609 :
610 0 : @$pb.TagNumber(2)
611 0 : $core.bool hasOwnerAddress() => $_has(1);
612 0 : @$pb.TagNumber(2)
613 0 : void clearOwnerAddress() => clearField(2);
614 :
615 0 : @$pb.TagNumber(3)
616 0 : $fixnum.Int64 get createTime => $_getI64(2);
617 0 : @$pb.TagNumber(3)
618 : set createTime($fixnum.Int64 v) {
619 0 : $_setInt64(2, v);
620 : }
621 :
622 0 : @$pb.TagNumber(3)
623 0 : $core.bool hasCreateTime() => $_has(2);
624 0 : @$pb.TagNumber(3)
625 0 : void clearCreateTime() => clearField(3);
626 :
627 0 : @$pb.TagNumber(4)
628 0 : $core.List<$core.int> get sellTokenId => $_getN(3);
629 0 : @$pb.TagNumber(4)
630 : set sellTokenId($core.List<$core.int> v) {
631 0 : $_setBytes(3, v);
632 : }
633 :
634 0 : @$pb.TagNumber(4)
635 0 : $core.bool hasSellTokenId() => $_has(3);
636 0 : @$pb.TagNumber(4)
637 0 : void clearSellTokenId() => clearField(4);
638 :
639 0 : @$pb.TagNumber(5)
640 0 : $fixnum.Int64 get sellTokenQuantity => $_getI64(4);
641 0 : @$pb.TagNumber(5)
642 : set sellTokenQuantity($fixnum.Int64 v) {
643 0 : $_setInt64(4, v);
644 : }
645 :
646 0 : @$pb.TagNumber(5)
647 0 : $core.bool hasSellTokenQuantity() => $_has(4);
648 0 : @$pb.TagNumber(5)
649 0 : void clearSellTokenQuantity() => clearField(5);
650 :
651 0 : @$pb.TagNumber(6)
652 0 : $core.List<$core.int> get buyTokenId => $_getN(5);
653 0 : @$pb.TagNumber(6)
654 : set buyTokenId($core.List<$core.int> v) {
655 0 : $_setBytes(5, v);
656 : }
657 :
658 0 : @$pb.TagNumber(6)
659 0 : $core.bool hasBuyTokenId() => $_has(5);
660 0 : @$pb.TagNumber(6)
661 0 : void clearBuyTokenId() => clearField(6);
662 :
663 0 : @$pb.TagNumber(7)
664 0 : $fixnum.Int64 get buyTokenQuantity => $_getI64(6);
665 0 : @$pb.TagNumber(7)
666 : set buyTokenQuantity($fixnum.Int64 v) {
667 0 : $_setInt64(6, v);
668 : }
669 :
670 0 : @$pb.TagNumber(7)
671 0 : $core.bool hasBuyTokenQuantity() => $_has(6);
672 0 : @$pb.TagNumber(7)
673 0 : void clearBuyTokenQuantity() => clearField(7);
674 :
675 0 : @$pb.TagNumber(9)
676 0 : $fixnum.Int64 get sellTokenQuantityRemain => $_getI64(7);
677 0 : @$pb.TagNumber(9)
678 : set sellTokenQuantityRemain($fixnum.Int64 v) {
679 0 : $_setInt64(7, v);
680 : }
681 :
682 0 : @$pb.TagNumber(9)
683 0 : $core.bool hasSellTokenQuantityRemain() => $_has(7);
684 0 : @$pb.TagNumber(9)
685 0 : void clearSellTokenQuantityRemain() => clearField(9);
686 :
687 : /// When state != ACTIVE and sell_token_quantity_return !=0,
688 : /// it means that some sell tokens are returned to the account due to insufficient remaining amount
689 0 : @$pb.TagNumber(10)
690 0 : $fixnum.Int64 get sellTokenQuantityReturn => $_getI64(8);
691 0 : @$pb.TagNumber(10)
692 : set sellTokenQuantityReturn($fixnum.Int64 v) {
693 0 : $_setInt64(8, v);
694 : }
695 :
696 0 : @$pb.TagNumber(10)
697 0 : $core.bool hasSellTokenQuantityReturn() => $_has(8);
698 0 : @$pb.TagNumber(10)
699 0 : void clearSellTokenQuantityReturn() => clearField(10);
700 :
701 0 : @$pb.TagNumber(11)
702 0 : MarketOrder_State get state => $_getN(9);
703 0 : @$pb.TagNumber(11)
704 : set state(MarketOrder_State v) {
705 0 : setField(11, v);
706 : }
707 :
708 0 : @$pb.TagNumber(11)
709 0 : $core.bool hasState() => $_has(9);
710 0 : @$pb.TagNumber(11)
711 0 : void clearState() => clearField(11);
712 :
713 0 : @$pb.TagNumber(12)
714 0 : $core.List<$core.int> get prev => $_getN(10);
715 0 : @$pb.TagNumber(12)
716 : set prev($core.List<$core.int> v) {
717 0 : $_setBytes(10, v);
718 : }
719 :
720 0 : @$pb.TagNumber(12)
721 0 : $core.bool hasPrev() => $_has(10);
722 0 : @$pb.TagNumber(12)
723 0 : void clearPrev() => clearField(12);
724 :
725 0 : @$pb.TagNumber(13)
726 0 : $core.List<$core.int> get next => $_getN(11);
727 0 : @$pb.TagNumber(13)
728 : set next($core.List<$core.int> v) {
729 0 : $_setBytes(11, v);
730 : }
731 :
732 0 : @$pb.TagNumber(13)
733 0 : $core.bool hasNext() => $_has(11);
734 0 : @$pb.TagNumber(13)
735 0 : void clearNext() => clearField(13);
736 : }
737 :
738 : class MarketOrderList extends $pb.GeneratedMessage {
739 0 : factory MarketOrderList({
740 : $core.Iterable<MarketOrder>? orders,
741 : }) {
742 0 : final $result = create();
743 : if (orders != null) {
744 0 : $result.orders.addAll(orders);
745 : }
746 : return $result;
747 : }
748 0 : MarketOrderList._() : super();
749 0 : factory MarketOrderList.fromBuffer($core.List<$core.int> i,
750 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
751 0 : create()..mergeFromBuffer(i, r);
752 0 : factory MarketOrderList.fromJson($core.String i,
753 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
754 0 : create()..mergeFromJson(i, r);
755 :
756 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketOrderList',
757 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
758 : createEmptyInstance: create)
759 0 : ..pc<MarketOrder>(1, _omitFieldNames ? '' : 'orders', $pb.PbFieldType.PM,
760 : subBuilder: MarketOrder.create)
761 0 : ..hasRequiredFields = false;
762 :
763 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
764 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
765 : 'Will be removed in next major version')
766 0 : MarketOrderList clone() => MarketOrderList()..mergeFromMessage(this);
767 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
768 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
769 : 'Will be removed in next major version')
770 : MarketOrderList copyWith(void Function(MarketOrderList) updates) =>
771 0 : super.copyWith((message) => updates(message as MarketOrderList)) as MarketOrderList;
772 :
773 0 : $pb.BuilderInfo get info_ => _i;
774 :
775 0 : @$core.pragma('dart2js:noInline')
776 0 : static MarketOrderList create() => MarketOrderList._();
777 0 : MarketOrderList createEmptyInstance() => create();
778 0 : static $pb.PbList<MarketOrderList> createRepeated() => $pb.PbList<MarketOrderList>();
779 0 : @$core.pragma('dart2js:noInline')
780 : static MarketOrderList getDefault() =>
781 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketOrderList>(create);
782 : static MarketOrderList? _defaultInstance;
783 :
784 0 : @$pb.TagNumber(1)
785 0 : $core.List<MarketOrder> get orders => $_getList(0);
786 : }
787 :
788 : class MarketOrderPairList extends $pb.GeneratedMessage {
789 0 : factory MarketOrderPairList({
790 : $core.Iterable<MarketOrderPair>? orderPair,
791 : }) {
792 0 : final $result = create();
793 : if (orderPair != null) {
794 0 : $result.orderPair.addAll(orderPair);
795 : }
796 : return $result;
797 : }
798 0 : MarketOrderPairList._() : super();
799 0 : factory MarketOrderPairList.fromBuffer($core.List<$core.int> i,
800 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
801 0 : create()..mergeFromBuffer(i, r);
802 0 : factory MarketOrderPairList.fromJson($core.String i,
803 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
804 0 : create()..mergeFromJson(i, r);
805 :
806 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketOrderPairList',
807 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
808 : createEmptyInstance: create)
809 0 : ..pc<MarketOrderPair>(1, _omitFieldNames ? '' : 'orderPair', $pb.PbFieldType.PM,
810 : protoName: 'orderPair', subBuilder: MarketOrderPair.create)
811 0 : ..hasRequiredFields = false;
812 :
813 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
814 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
815 : 'Will be removed in next major version')
816 0 : MarketOrderPairList clone() => MarketOrderPairList()..mergeFromMessage(this);
817 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
818 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
819 : 'Will be removed in next major version')
820 : MarketOrderPairList copyWith(void Function(MarketOrderPairList) updates) =>
821 0 : super.copyWith((message) => updates(message as MarketOrderPairList)) as MarketOrderPairList;
822 :
823 0 : $pb.BuilderInfo get info_ => _i;
824 :
825 0 : @$core.pragma('dart2js:noInline')
826 0 : static MarketOrderPairList create() => MarketOrderPairList._();
827 0 : MarketOrderPairList createEmptyInstance() => create();
828 0 : static $pb.PbList<MarketOrderPairList> createRepeated() => $pb.PbList<MarketOrderPairList>();
829 0 : @$core.pragma('dart2js:noInline')
830 : static MarketOrderPairList getDefault() =>
831 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketOrderPairList>(create);
832 : static MarketOrderPairList? _defaultInstance;
833 :
834 0 : @$pb.TagNumber(1)
835 0 : $core.List<MarketOrderPair> get orderPair => $_getList(0);
836 : }
837 :
838 : class MarketOrderPair extends $pb.GeneratedMessage {
839 0 : factory MarketOrderPair({
840 : $core.List<$core.int>? sellTokenId,
841 : $core.List<$core.int>? buyTokenId,
842 : }) {
843 0 : final $result = create();
844 : if (sellTokenId != null) {
845 0 : $result.sellTokenId = sellTokenId;
846 : }
847 : if (buyTokenId != null) {
848 0 : $result.buyTokenId = buyTokenId;
849 : }
850 : return $result;
851 : }
852 0 : MarketOrderPair._() : super();
853 0 : factory MarketOrderPair.fromBuffer($core.List<$core.int> i,
854 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
855 0 : create()..mergeFromBuffer(i, r);
856 0 : factory MarketOrderPair.fromJson($core.String i,
857 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
858 0 : create()..mergeFromJson(i, r);
859 :
860 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketOrderPair',
861 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
862 : createEmptyInstance: create)
863 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'sellTokenId', $pb.PbFieldType.OY)
864 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'buyTokenId', $pb.PbFieldType.OY)
865 0 : ..hasRequiredFields = false;
866 :
867 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
868 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
869 : 'Will be removed in next major version')
870 0 : MarketOrderPair clone() => MarketOrderPair()..mergeFromMessage(this);
871 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
872 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
873 : 'Will be removed in next major version')
874 : MarketOrderPair copyWith(void Function(MarketOrderPair) updates) =>
875 0 : super.copyWith((message) => updates(message as MarketOrderPair)) as MarketOrderPair;
876 :
877 0 : $pb.BuilderInfo get info_ => _i;
878 :
879 0 : @$core.pragma('dart2js:noInline')
880 0 : static MarketOrderPair create() => MarketOrderPair._();
881 0 : MarketOrderPair createEmptyInstance() => create();
882 0 : static $pb.PbList<MarketOrderPair> createRepeated() => $pb.PbList<MarketOrderPair>();
883 0 : @$core.pragma('dart2js:noInline')
884 : static MarketOrderPair getDefault() =>
885 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketOrderPair>(create);
886 : static MarketOrderPair? _defaultInstance;
887 :
888 0 : @$pb.TagNumber(1)
889 0 : $core.List<$core.int> get sellTokenId => $_getN(0);
890 0 : @$pb.TagNumber(1)
891 : set sellTokenId($core.List<$core.int> v) {
892 0 : $_setBytes(0, v);
893 : }
894 :
895 0 : @$pb.TagNumber(1)
896 0 : $core.bool hasSellTokenId() => $_has(0);
897 0 : @$pb.TagNumber(1)
898 0 : void clearSellTokenId() => clearField(1);
899 :
900 0 : @$pb.TagNumber(2)
901 0 : $core.List<$core.int> get buyTokenId => $_getN(1);
902 0 : @$pb.TagNumber(2)
903 : set buyTokenId($core.List<$core.int> v) {
904 0 : $_setBytes(1, v);
905 : }
906 :
907 0 : @$pb.TagNumber(2)
908 0 : $core.bool hasBuyTokenId() => $_has(1);
909 0 : @$pb.TagNumber(2)
910 0 : void clearBuyTokenId() => clearField(2);
911 : }
912 :
913 : class MarketAccountOrder extends $pb.GeneratedMessage {
914 0 : factory MarketAccountOrder({
915 : $core.List<$core.int>? ownerAddress,
916 : $core.Iterable<$core.List<$core.int>>? orders,
917 : $fixnum.Int64? count,
918 : $fixnum.Int64? totalCount,
919 : }) {
920 0 : final $result = create();
921 : if (ownerAddress != null) {
922 0 : $result.ownerAddress = ownerAddress;
923 : }
924 : if (orders != null) {
925 0 : $result.orders.addAll(orders);
926 : }
927 : if (count != null) {
928 0 : $result.count = count;
929 : }
930 : if (totalCount != null) {
931 0 : $result.totalCount = totalCount;
932 : }
933 : return $result;
934 : }
935 0 : MarketAccountOrder._() : super();
936 0 : factory MarketAccountOrder.fromBuffer($core.List<$core.int> i,
937 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
938 0 : create()..mergeFromBuffer(i, r);
939 0 : factory MarketAccountOrder.fromJson($core.String i,
940 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
941 0 : create()..mergeFromJson(i, r);
942 :
943 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketAccountOrder',
944 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
945 : createEmptyInstance: create)
946 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
947 0 : ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'orders', $pb.PbFieldType.PY)
948 0 : ..aInt64(3, _omitFieldNames ? '' : 'count')
949 0 : ..aInt64(4, _omitFieldNames ? '' : 'totalCount')
950 0 : ..hasRequiredFields = false;
951 :
952 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
953 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
954 : 'Will be removed in next major version')
955 0 : MarketAccountOrder clone() => MarketAccountOrder()..mergeFromMessage(this);
956 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
957 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
958 : 'Will be removed in next major version')
959 : MarketAccountOrder copyWith(void Function(MarketAccountOrder) updates) =>
960 0 : super.copyWith((message) => updates(message as MarketAccountOrder)) as MarketAccountOrder;
961 :
962 0 : $pb.BuilderInfo get info_ => _i;
963 :
964 0 : @$core.pragma('dart2js:noInline')
965 0 : static MarketAccountOrder create() => MarketAccountOrder._();
966 0 : MarketAccountOrder createEmptyInstance() => create();
967 0 : static $pb.PbList<MarketAccountOrder> createRepeated() => $pb.PbList<MarketAccountOrder>();
968 0 : @$core.pragma('dart2js:noInline')
969 : static MarketAccountOrder getDefault() =>
970 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketAccountOrder>(create);
971 : static MarketAccountOrder? _defaultInstance;
972 :
973 0 : @$pb.TagNumber(1)
974 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
975 0 : @$pb.TagNumber(1)
976 : set ownerAddress($core.List<$core.int> v) {
977 0 : $_setBytes(0, v);
978 : }
979 :
980 0 : @$pb.TagNumber(1)
981 0 : $core.bool hasOwnerAddress() => $_has(0);
982 0 : @$pb.TagNumber(1)
983 0 : void clearOwnerAddress() => clearField(1);
984 :
985 0 : @$pb.TagNumber(2)
986 0 : $core.List<$core.List<$core.int>> get orders => $_getList(1);
987 :
988 0 : @$pb.TagNumber(3)
989 0 : $fixnum.Int64 get count => $_getI64(2);
990 0 : @$pb.TagNumber(3)
991 : set count($fixnum.Int64 v) {
992 0 : $_setInt64(2, v);
993 : }
994 :
995 0 : @$pb.TagNumber(3)
996 0 : $core.bool hasCount() => $_has(2);
997 0 : @$pb.TagNumber(3)
998 0 : void clearCount() => clearField(3);
999 :
1000 0 : @$pb.TagNumber(4)
1001 0 : $fixnum.Int64 get totalCount => $_getI64(3);
1002 0 : @$pb.TagNumber(4)
1003 : set totalCount($fixnum.Int64 v) {
1004 0 : $_setInt64(3, v);
1005 : }
1006 :
1007 0 : @$pb.TagNumber(4)
1008 0 : $core.bool hasTotalCount() => $_has(3);
1009 0 : @$pb.TagNumber(4)
1010 0 : void clearTotalCount() => clearField(4);
1011 : }
1012 :
1013 : class MarketPrice extends $pb.GeneratedMessage {
1014 0 : factory MarketPrice({
1015 : $fixnum.Int64? sellTokenQuantity,
1016 : $fixnum.Int64? buyTokenQuantity,
1017 : }) {
1018 0 : final $result = create();
1019 : if (sellTokenQuantity != null) {
1020 0 : $result.sellTokenQuantity = sellTokenQuantity;
1021 : }
1022 : if (buyTokenQuantity != null) {
1023 0 : $result.buyTokenQuantity = buyTokenQuantity;
1024 : }
1025 : return $result;
1026 : }
1027 0 : MarketPrice._() : super();
1028 0 : factory MarketPrice.fromBuffer($core.List<$core.int> i,
1029 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1030 0 : create()..mergeFromBuffer(i, r);
1031 0 : factory MarketPrice.fromJson($core.String i,
1032 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1033 0 : create()..mergeFromJson(i, r);
1034 :
1035 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketPrice',
1036 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1037 : createEmptyInstance: create)
1038 0 : ..aInt64(1, _omitFieldNames ? '' : 'sellTokenQuantity')
1039 0 : ..aInt64(2, _omitFieldNames ? '' : 'buyTokenQuantity')
1040 0 : ..hasRequiredFields = false;
1041 :
1042 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1043 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1044 : 'Will be removed in next major version')
1045 0 : MarketPrice clone() => MarketPrice()..mergeFromMessage(this);
1046 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1047 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1048 : 'Will be removed in next major version')
1049 : MarketPrice copyWith(void Function(MarketPrice) updates) =>
1050 0 : super.copyWith((message) => updates(message as MarketPrice)) as MarketPrice;
1051 :
1052 0 : $pb.BuilderInfo get info_ => _i;
1053 :
1054 0 : @$core.pragma('dart2js:noInline')
1055 0 : static MarketPrice create() => MarketPrice._();
1056 0 : MarketPrice createEmptyInstance() => create();
1057 0 : static $pb.PbList<MarketPrice> createRepeated() => $pb.PbList<MarketPrice>();
1058 0 : @$core.pragma('dart2js:noInline')
1059 : static MarketPrice getDefault() =>
1060 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketPrice>(create);
1061 : static MarketPrice? _defaultInstance;
1062 :
1063 0 : @$pb.TagNumber(1)
1064 0 : $fixnum.Int64 get sellTokenQuantity => $_getI64(0);
1065 0 : @$pb.TagNumber(1)
1066 : set sellTokenQuantity($fixnum.Int64 v) {
1067 0 : $_setInt64(0, v);
1068 : }
1069 :
1070 0 : @$pb.TagNumber(1)
1071 0 : $core.bool hasSellTokenQuantity() => $_has(0);
1072 0 : @$pb.TagNumber(1)
1073 0 : void clearSellTokenQuantity() => clearField(1);
1074 :
1075 0 : @$pb.TagNumber(2)
1076 0 : $fixnum.Int64 get buyTokenQuantity => $_getI64(1);
1077 0 : @$pb.TagNumber(2)
1078 : set buyTokenQuantity($fixnum.Int64 v) {
1079 0 : $_setInt64(1, v);
1080 : }
1081 :
1082 0 : @$pb.TagNumber(2)
1083 0 : $core.bool hasBuyTokenQuantity() => $_has(1);
1084 0 : @$pb.TagNumber(2)
1085 0 : void clearBuyTokenQuantity() => clearField(2);
1086 : }
1087 :
1088 : class MarketPriceList extends $pb.GeneratedMessage {
1089 0 : factory MarketPriceList({
1090 : $core.List<$core.int>? sellTokenId,
1091 : $core.List<$core.int>? buyTokenId,
1092 : $core.Iterable<MarketPrice>? prices,
1093 : }) {
1094 0 : final $result = create();
1095 : if (sellTokenId != null) {
1096 0 : $result.sellTokenId = sellTokenId;
1097 : }
1098 : if (buyTokenId != null) {
1099 0 : $result.buyTokenId = buyTokenId;
1100 : }
1101 : if (prices != null) {
1102 0 : $result.prices.addAll(prices);
1103 : }
1104 : return $result;
1105 : }
1106 0 : MarketPriceList._() : super();
1107 0 : factory MarketPriceList.fromBuffer($core.List<$core.int> i,
1108 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1109 0 : create()..mergeFromBuffer(i, r);
1110 0 : factory MarketPriceList.fromJson($core.String i,
1111 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1112 0 : create()..mergeFromJson(i, r);
1113 :
1114 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketPriceList',
1115 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1116 : createEmptyInstance: create)
1117 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'sellTokenId', $pb.PbFieldType.OY)
1118 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'buyTokenId', $pb.PbFieldType.OY)
1119 0 : ..pc<MarketPrice>(3, _omitFieldNames ? '' : 'prices', $pb.PbFieldType.PM,
1120 : subBuilder: MarketPrice.create)
1121 0 : ..hasRequiredFields = false;
1122 :
1123 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1124 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1125 : 'Will be removed in next major version')
1126 0 : MarketPriceList clone() => MarketPriceList()..mergeFromMessage(this);
1127 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1128 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1129 : 'Will be removed in next major version')
1130 : MarketPriceList copyWith(void Function(MarketPriceList) updates) =>
1131 0 : super.copyWith((message) => updates(message as MarketPriceList)) as MarketPriceList;
1132 :
1133 0 : $pb.BuilderInfo get info_ => _i;
1134 :
1135 0 : @$core.pragma('dart2js:noInline')
1136 0 : static MarketPriceList create() => MarketPriceList._();
1137 0 : MarketPriceList createEmptyInstance() => create();
1138 0 : static $pb.PbList<MarketPriceList> createRepeated() => $pb.PbList<MarketPriceList>();
1139 0 : @$core.pragma('dart2js:noInline')
1140 : static MarketPriceList getDefault() =>
1141 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketPriceList>(create);
1142 : static MarketPriceList? _defaultInstance;
1143 :
1144 0 : @$pb.TagNumber(1)
1145 0 : $core.List<$core.int> get sellTokenId => $_getN(0);
1146 0 : @$pb.TagNumber(1)
1147 : set sellTokenId($core.List<$core.int> v) {
1148 0 : $_setBytes(0, v);
1149 : }
1150 :
1151 0 : @$pb.TagNumber(1)
1152 0 : $core.bool hasSellTokenId() => $_has(0);
1153 0 : @$pb.TagNumber(1)
1154 0 : void clearSellTokenId() => clearField(1);
1155 :
1156 0 : @$pb.TagNumber(2)
1157 0 : $core.List<$core.int> get buyTokenId => $_getN(1);
1158 0 : @$pb.TagNumber(2)
1159 : set buyTokenId($core.List<$core.int> v) {
1160 0 : $_setBytes(1, v);
1161 : }
1162 :
1163 0 : @$pb.TagNumber(2)
1164 0 : $core.bool hasBuyTokenId() => $_has(1);
1165 0 : @$pb.TagNumber(2)
1166 0 : void clearBuyTokenId() => clearField(2);
1167 :
1168 0 : @$pb.TagNumber(3)
1169 0 : $core.List<MarketPrice> get prices => $_getList(2);
1170 : }
1171 :
1172 : class MarketOrderIdList extends $pb.GeneratedMessage {
1173 0 : factory MarketOrderIdList({
1174 : $core.List<$core.int>? head,
1175 : $core.List<$core.int>? tail,
1176 : }) {
1177 0 : final $result = create();
1178 : if (head != null) {
1179 0 : $result.head = head;
1180 : }
1181 : if (tail != null) {
1182 0 : $result.tail = tail;
1183 : }
1184 : return $result;
1185 : }
1186 0 : MarketOrderIdList._() : super();
1187 0 : factory MarketOrderIdList.fromBuffer($core.List<$core.int> i,
1188 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1189 0 : create()..mergeFromBuffer(i, r);
1190 0 : factory MarketOrderIdList.fromJson($core.String i,
1191 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1192 0 : create()..mergeFromJson(i, r);
1193 :
1194 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketOrderIdList',
1195 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1196 : createEmptyInstance: create)
1197 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'head', $pb.PbFieldType.OY)
1198 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'tail', $pb.PbFieldType.OY)
1199 0 : ..hasRequiredFields = false;
1200 :
1201 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1202 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1203 : 'Will be removed in next major version')
1204 0 : MarketOrderIdList clone() => MarketOrderIdList()..mergeFromMessage(this);
1205 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1206 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1207 : 'Will be removed in next major version')
1208 : MarketOrderIdList copyWith(void Function(MarketOrderIdList) updates) =>
1209 0 : super.copyWith((message) => updates(message as MarketOrderIdList)) as MarketOrderIdList;
1210 :
1211 0 : $pb.BuilderInfo get info_ => _i;
1212 :
1213 0 : @$core.pragma('dart2js:noInline')
1214 0 : static MarketOrderIdList create() => MarketOrderIdList._();
1215 0 : MarketOrderIdList createEmptyInstance() => create();
1216 0 : static $pb.PbList<MarketOrderIdList> createRepeated() => $pb.PbList<MarketOrderIdList>();
1217 0 : @$core.pragma('dart2js:noInline')
1218 : static MarketOrderIdList getDefault() =>
1219 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketOrderIdList>(create);
1220 : static MarketOrderIdList? _defaultInstance;
1221 :
1222 0 : @$pb.TagNumber(1)
1223 0 : $core.List<$core.int> get head => $_getN(0);
1224 0 : @$pb.TagNumber(1)
1225 : set head($core.List<$core.int> v) {
1226 0 : $_setBytes(0, v);
1227 : }
1228 :
1229 0 : @$pb.TagNumber(1)
1230 0 : $core.bool hasHead() => $_has(0);
1231 0 : @$pb.TagNumber(1)
1232 0 : void clearHead() => clearField(1);
1233 :
1234 0 : @$pb.TagNumber(2)
1235 0 : $core.List<$core.int> get tail => $_getN(1);
1236 0 : @$pb.TagNumber(2)
1237 : set tail($core.List<$core.int> v) {
1238 0 : $_setBytes(1, v);
1239 : }
1240 :
1241 0 : @$pb.TagNumber(2)
1242 0 : $core.bool hasTail() => $_has(1);
1243 0 : @$pb.TagNumber(2)
1244 0 : void clearTail() => clearField(2);
1245 : }
1246 :
1247 : class ChainParameters_ChainParameter extends $pb.GeneratedMessage {
1248 0 : factory ChainParameters_ChainParameter({
1249 : $core.String? key,
1250 : $fixnum.Int64? value,
1251 : }) {
1252 0 : final $result = create();
1253 : if (key != null) {
1254 0 : $result.key = key;
1255 : }
1256 : if (value != null) {
1257 0 : $result.value = value;
1258 : }
1259 : return $result;
1260 : }
1261 0 : ChainParameters_ChainParameter._() : super();
1262 0 : factory ChainParameters_ChainParameter.fromBuffer($core.List<$core.int> i,
1263 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1264 0 : create()..mergeFromBuffer(i, r);
1265 0 : factory ChainParameters_ChainParameter.fromJson($core.String i,
1266 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1267 0 : create()..mergeFromJson(i, r);
1268 :
1269 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1270 : _omitMessageNames ? '' : 'ChainParameters.ChainParameter',
1271 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1272 : createEmptyInstance: create)
1273 0 : ..aOS(1, _omitFieldNames ? '' : 'key')
1274 0 : ..aInt64(2, _omitFieldNames ? '' : 'value')
1275 0 : ..hasRequiredFields = false;
1276 :
1277 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1278 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1279 : 'Will be removed in next major version')
1280 : ChainParameters_ChainParameter clone() =>
1281 0 : ChainParameters_ChainParameter()..mergeFromMessage(this);
1282 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1283 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1284 : 'Will be removed in next major version')
1285 : ChainParameters_ChainParameter copyWith(void Function(ChainParameters_ChainParameter) updates) =>
1286 0 : super.copyWith((message) => updates(message as ChainParameters_ChainParameter))
1287 : as ChainParameters_ChainParameter;
1288 :
1289 0 : $pb.BuilderInfo get info_ => _i;
1290 :
1291 0 : @$core.pragma('dart2js:noInline')
1292 0 : static ChainParameters_ChainParameter create() => ChainParameters_ChainParameter._();
1293 0 : ChainParameters_ChainParameter createEmptyInstance() => create();
1294 0 : static $pb.PbList<ChainParameters_ChainParameter> createRepeated() =>
1295 0 : $pb.PbList<ChainParameters_ChainParameter>();
1296 0 : @$core.pragma('dart2js:noInline')
1297 : static ChainParameters_ChainParameter getDefault() => _defaultInstance ??=
1298 0 : $pb.GeneratedMessage.$_defaultFor<ChainParameters_ChainParameter>(create);
1299 : static ChainParameters_ChainParameter? _defaultInstance;
1300 :
1301 0 : @$pb.TagNumber(1)
1302 0 : $core.String get key => $_getSZ(0);
1303 0 : @$pb.TagNumber(1)
1304 : set key($core.String v) {
1305 0 : $_setString(0, v);
1306 : }
1307 :
1308 0 : @$pb.TagNumber(1)
1309 0 : $core.bool hasKey() => $_has(0);
1310 0 : @$pb.TagNumber(1)
1311 0 : void clearKey() => clearField(1);
1312 :
1313 0 : @$pb.TagNumber(2)
1314 0 : $fixnum.Int64 get value => $_getI64(1);
1315 0 : @$pb.TagNumber(2)
1316 : set value($fixnum.Int64 v) {
1317 0 : $_setInt64(1, v);
1318 : }
1319 :
1320 0 : @$pb.TagNumber(2)
1321 0 : $core.bool hasValue() => $_has(1);
1322 0 : @$pb.TagNumber(2)
1323 0 : void clearValue() => clearField(2);
1324 : }
1325 :
1326 : class ChainParameters extends $pb.GeneratedMessage {
1327 0 : factory ChainParameters({
1328 : $core.Iterable<ChainParameters_ChainParameter>? chainParameter,
1329 : }) {
1330 0 : final $result = create();
1331 : if (chainParameter != null) {
1332 0 : $result.chainParameter.addAll(chainParameter);
1333 : }
1334 : return $result;
1335 : }
1336 0 : ChainParameters._() : super();
1337 0 : factory ChainParameters.fromBuffer($core.List<$core.int> i,
1338 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1339 0 : create()..mergeFromBuffer(i, r);
1340 0 : factory ChainParameters.fromJson($core.String i,
1341 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1342 0 : create()..mergeFromJson(i, r);
1343 :
1344 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChainParameters',
1345 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1346 : createEmptyInstance: create)
1347 0 : ..pc<ChainParameters_ChainParameter>(
1348 : 1, _omitFieldNames ? '' : 'chainParameter', $pb.PbFieldType.PM,
1349 : protoName: 'chainParameter', subBuilder: ChainParameters_ChainParameter.create)
1350 0 : ..hasRequiredFields = false;
1351 :
1352 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1353 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1354 : 'Will be removed in next major version')
1355 0 : ChainParameters clone() => ChainParameters()..mergeFromMessage(this);
1356 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1357 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1358 : 'Will be removed in next major version')
1359 : ChainParameters copyWith(void Function(ChainParameters) updates) =>
1360 0 : super.copyWith((message) => updates(message as ChainParameters)) as ChainParameters;
1361 :
1362 0 : $pb.BuilderInfo get info_ => _i;
1363 :
1364 0 : @$core.pragma('dart2js:noInline')
1365 0 : static ChainParameters create() => ChainParameters._();
1366 0 : ChainParameters createEmptyInstance() => create();
1367 0 : static $pb.PbList<ChainParameters> createRepeated() => $pb.PbList<ChainParameters>();
1368 0 : @$core.pragma('dart2js:noInline')
1369 : static ChainParameters getDefault() =>
1370 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ChainParameters>(create);
1371 : static ChainParameters? _defaultInstance;
1372 :
1373 0 : @$pb.TagNumber(1)
1374 0 : $core.List<ChainParameters_ChainParameter> get chainParameter => $_getList(0);
1375 : }
1376 :
1377 : /// frozen balance
1378 : class Account_Frozen extends $pb.GeneratedMessage {
1379 0 : factory Account_Frozen({
1380 : $fixnum.Int64? frozenBalance,
1381 : $fixnum.Int64? expireTime,
1382 : }) {
1383 0 : final $result = create();
1384 : if (frozenBalance != null) {
1385 0 : $result.frozenBalance = frozenBalance;
1386 : }
1387 : if (expireTime != null) {
1388 0 : $result.expireTime = expireTime;
1389 : }
1390 : return $result;
1391 : }
1392 0 : Account_Frozen._() : super();
1393 0 : factory Account_Frozen.fromBuffer($core.List<$core.int> i,
1394 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1395 0 : create()..mergeFromBuffer(i, r);
1396 0 : factory Account_Frozen.fromJson($core.String i,
1397 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1398 0 : create()..mergeFromJson(i, r);
1399 :
1400 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Account.Frozen',
1401 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1402 : createEmptyInstance: create)
1403 0 : ..aInt64(1, _omitFieldNames ? '' : 'frozenBalance')
1404 0 : ..aInt64(2, _omitFieldNames ? '' : 'expireTime')
1405 0 : ..hasRequiredFields = false;
1406 :
1407 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1408 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1409 : 'Will be removed in next major version')
1410 0 : Account_Frozen clone() => Account_Frozen()..mergeFromMessage(this);
1411 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1412 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1413 : 'Will be removed in next major version')
1414 : Account_Frozen copyWith(void Function(Account_Frozen) updates) =>
1415 0 : super.copyWith((message) => updates(message as Account_Frozen)) as Account_Frozen;
1416 :
1417 0 : $pb.BuilderInfo get info_ => _i;
1418 :
1419 0 : @$core.pragma('dart2js:noInline')
1420 0 : static Account_Frozen create() => Account_Frozen._();
1421 0 : Account_Frozen createEmptyInstance() => create();
1422 0 : static $pb.PbList<Account_Frozen> createRepeated() => $pb.PbList<Account_Frozen>();
1423 0 : @$core.pragma('dart2js:noInline')
1424 : static Account_Frozen getDefault() =>
1425 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Account_Frozen>(create);
1426 : static Account_Frozen? _defaultInstance;
1427 :
1428 0 : @$pb.TagNumber(1)
1429 0 : $fixnum.Int64 get frozenBalance => $_getI64(0);
1430 0 : @$pb.TagNumber(1)
1431 : set frozenBalance($fixnum.Int64 v) {
1432 0 : $_setInt64(0, v);
1433 : }
1434 :
1435 0 : @$pb.TagNumber(1)
1436 0 : $core.bool hasFrozenBalance() => $_has(0);
1437 0 : @$pb.TagNumber(1)
1438 0 : void clearFrozenBalance() => clearField(1);
1439 :
1440 0 : @$pb.TagNumber(2)
1441 0 : $fixnum.Int64 get expireTime => $_getI64(1);
1442 0 : @$pb.TagNumber(2)
1443 : set expireTime($fixnum.Int64 v) {
1444 0 : $_setInt64(1, v);
1445 : }
1446 :
1447 0 : @$pb.TagNumber(2)
1448 0 : $core.bool hasExpireTime() => $_has(1);
1449 0 : @$pb.TagNumber(2)
1450 0 : void clearExpireTime() => clearField(2);
1451 : }
1452 :
1453 : class Account_AccountResource extends $pb.GeneratedMessage {
1454 0 : factory Account_AccountResource({
1455 : $fixnum.Int64? energyUsage,
1456 : Account_Frozen? frozenBalanceForEnergy,
1457 : $fixnum.Int64? latestConsumeTimeForEnergy,
1458 : $fixnum.Int64? acquiredDelegatedFrozenBalanceForEnergy,
1459 : $fixnum.Int64? delegatedFrozenBalanceForEnergy,
1460 : $fixnum.Int64? storageLimit,
1461 : $fixnum.Int64? storageUsage,
1462 : $fixnum.Int64? latestExchangeStorageTime,
1463 : $fixnum.Int64? energyWindowSize,
1464 : $fixnum.Int64? delegatedFrozenV2BalanceForEnergy,
1465 : $fixnum.Int64? acquiredDelegatedFrozenV2BalanceForEnergy,
1466 : $core.bool? energyWindowOptimized,
1467 : }) {
1468 0 : final $result = create();
1469 : if (energyUsage != null) {
1470 0 : $result.energyUsage = energyUsage;
1471 : }
1472 : if (frozenBalanceForEnergy != null) {
1473 0 : $result.frozenBalanceForEnergy = frozenBalanceForEnergy;
1474 : }
1475 : if (latestConsumeTimeForEnergy != null) {
1476 0 : $result.latestConsumeTimeForEnergy = latestConsumeTimeForEnergy;
1477 : }
1478 : if (acquiredDelegatedFrozenBalanceForEnergy != null) {
1479 0 : $result.acquiredDelegatedFrozenBalanceForEnergy = acquiredDelegatedFrozenBalanceForEnergy;
1480 : }
1481 : if (delegatedFrozenBalanceForEnergy != null) {
1482 0 : $result.delegatedFrozenBalanceForEnergy = delegatedFrozenBalanceForEnergy;
1483 : }
1484 : if (storageLimit != null) {
1485 0 : $result.storageLimit = storageLimit;
1486 : }
1487 : if (storageUsage != null) {
1488 0 : $result.storageUsage = storageUsage;
1489 : }
1490 : if (latestExchangeStorageTime != null) {
1491 0 : $result.latestExchangeStorageTime = latestExchangeStorageTime;
1492 : }
1493 : if (energyWindowSize != null) {
1494 0 : $result.energyWindowSize = energyWindowSize;
1495 : }
1496 : if (delegatedFrozenV2BalanceForEnergy != null) {
1497 0 : $result.delegatedFrozenV2BalanceForEnergy = delegatedFrozenV2BalanceForEnergy;
1498 : }
1499 : if (acquiredDelegatedFrozenV2BalanceForEnergy != null) {
1500 0 : $result.acquiredDelegatedFrozenV2BalanceForEnergy = acquiredDelegatedFrozenV2BalanceForEnergy;
1501 : }
1502 : if (energyWindowOptimized != null) {
1503 0 : $result.energyWindowOptimized = energyWindowOptimized;
1504 : }
1505 : return $result;
1506 : }
1507 0 : Account_AccountResource._() : super();
1508 0 : factory Account_AccountResource.fromBuffer($core.List<$core.int> i,
1509 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1510 0 : create()..mergeFromBuffer(i, r);
1511 0 : factory Account_AccountResource.fromJson($core.String i,
1512 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1513 0 : create()..mergeFromJson(i, r);
1514 :
1515 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1516 : _omitMessageNames ? '' : 'Account.AccountResource',
1517 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1518 : createEmptyInstance: create)
1519 0 : ..aInt64(1, _omitFieldNames ? '' : 'energyUsage')
1520 0 : ..aOM<Account_Frozen>(2, _omitFieldNames ? '' : 'frozenBalanceForEnergy',
1521 : subBuilder: Account_Frozen.create)
1522 0 : ..aInt64(3, _omitFieldNames ? '' : 'latestConsumeTimeForEnergy')
1523 0 : ..aInt64(4, _omitFieldNames ? '' : 'acquiredDelegatedFrozenBalanceForEnergy')
1524 0 : ..aInt64(5, _omitFieldNames ? '' : 'delegatedFrozenBalanceForEnergy')
1525 0 : ..aInt64(6, _omitFieldNames ? '' : 'storageLimit')
1526 0 : ..aInt64(7, _omitFieldNames ? '' : 'storageUsage')
1527 0 : ..aInt64(8, _omitFieldNames ? '' : 'latestExchangeStorageTime')
1528 0 : ..aInt64(9, _omitFieldNames ? '' : 'energyWindowSize')
1529 0 : ..aInt64(10, _omitFieldNames ? '' : 'delegatedFrozenV2BalanceForEnergy',
1530 : protoName: 'delegated_frozenV2_balance_for_energy')
1531 0 : ..aInt64(11, _omitFieldNames ? '' : 'acquiredDelegatedFrozenV2BalanceForEnergy',
1532 : protoName: 'acquired_delegated_frozenV2_balance_for_energy')
1533 0 : ..aOB(12, _omitFieldNames ? '' : 'energyWindowOptimized')
1534 0 : ..hasRequiredFields = false;
1535 :
1536 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1537 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1538 : 'Will be removed in next major version')
1539 0 : Account_AccountResource clone() => Account_AccountResource()..mergeFromMessage(this);
1540 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1541 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1542 : 'Will be removed in next major version')
1543 : Account_AccountResource copyWith(void Function(Account_AccountResource) updates) =>
1544 0 : super.copyWith((message) => updates(message as Account_AccountResource))
1545 : as Account_AccountResource;
1546 :
1547 0 : $pb.BuilderInfo get info_ => _i;
1548 :
1549 0 : @$core.pragma('dart2js:noInline')
1550 0 : static Account_AccountResource create() => Account_AccountResource._();
1551 0 : Account_AccountResource createEmptyInstance() => create();
1552 0 : static $pb.PbList<Account_AccountResource> createRepeated() =>
1553 0 : $pb.PbList<Account_AccountResource>();
1554 0 : @$core.pragma('dart2js:noInline')
1555 : static Account_AccountResource getDefault() =>
1556 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Account_AccountResource>(create);
1557 : static Account_AccountResource? _defaultInstance;
1558 :
1559 : /// energy resource, get from frozen
1560 0 : @$pb.TagNumber(1)
1561 0 : $fixnum.Int64 get energyUsage => $_getI64(0);
1562 0 : @$pb.TagNumber(1)
1563 : set energyUsage($fixnum.Int64 v) {
1564 0 : $_setInt64(0, v);
1565 : }
1566 :
1567 0 : @$pb.TagNumber(1)
1568 0 : $core.bool hasEnergyUsage() => $_has(0);
1569 0 : @$pb.TagNumber(1)
1570 0 : void clearEnergyUsage() => clearField(1);
1571 :
1572 : /// the frozen balance for energy
1573 0 : @$pb.TagNumber(2)
1574 0 : Account_Frozen get frozenBalanceForEnergy => $_getN(1);
1575 0 : @$pb.TagNumber(2)
1576 : set frozenBalanceForEnergy(Account_Frozen v) {
1577 0 : setField(2, v);
1578 : }
1579 :
1580 0 : @$pb.TagNumber(2)
1581 0 : $core.bool hasFrozenBalanceForEnergy() => $_has(1);
1582 0 : @$pb.TagNumber(2)
1583 0 : void clearFrozenBalanceForEnergy() => clearField(2);
1584 0 : @$pb.TagNumber(2)
1585 0 : Account_Frozen ensureFrozenBalanceForEnergy() => $_ensure(1);
1586 :
1587 0 : @$pb.TagNumber(3)
1588 0 : $fixnum.Int64 get latestConsumeTimeForEnergy => $_getI64(2);
1589 0 : @$pb.TagNumber(3)
1590 : set latestConsumeTimeForEnergy($fixnum.Int64 v) {
1591 0 : $_setInt64(2, v);
1592 : }
1593 :
1594 0 : @$pb.TagNumber(3)
1595 0 : $core.bool hasLatestConsumeTimeForEnergy() => $_has(2);
1596 0 : @$pb.TagNumber(3)
1597 0 : void clearLatestConsumeTimeForEnergy() => clearField(3);
1598 :
1599 : /// Frozen balance provided by other accounts to this account
1600 0 : @$pb.TagNumber(4)
1601 0 : $fixnum.Int64 get acquiredDelegatedFrozenBalanceForEnergy => $_getI64(3);
1602 0 : @$pb.TagNumber(4)
1603 : set acquiredDelegatedFrozenBalanceForEnergy($fixnum.Int64 v) {
1604 0 : $_setInt64(3, v);
1605 : }
1606 :
1607 0 : @$pb.TagNumber(4)
1608 0 : $core.bool hasAcquiredDelegatedFrozenBalanceForEnergy() => $_has(3);
1609 0 : @$pb.TagNumber(4)
1610 0 : void clearAcquiredDelegatedFrozenBalanceForEnergy() => clearField(4);
1611 :
1612 : /// Frozen balances provided to other accounts
1613 0 : @$pb.TagNumber(5)
1614 0 : $fixnum.Int64 get delegatedFrozenBalanceForEnergy => $_getI64(4);
1615 0 : @$pb.TagNumber(5)
1616 : set delegatedFrozenBalanceForEnergy($fixnum.Int64 v) {
1617 0 : $_setInt64(4, v);
1618 : }
1619 :
1620 0 : @$pb.TagNumber(5)
1621 0 : $core.bool hasDelegatedFrozenBalanceForEnergy() => $_has(4);
1622 0 : @$pb.TagNumber(5)
1623 0 : void clearDelegatedFrozenBalanceForEnergy() => clearField(5);
1624 :
1625 : /// storage resource, get from market
1626 0 : @$pb.TagNumber(6)
1627 0 : $fixnum.Int64 get storageLimit => $_getI64(5);
1628 0 : @$pb.TagNumber(6)
1629 : set storageLimit($fixnum.Int64 v) {
1630 0 : $_setInt64(5, v);
1631 : }
1632 :
1633 0 : @$pb.TagNumber(6)
1634 0 : $core.bool hasStorageLimit() => $_has(5);
1635 0 : @$pb.TagNumber(6)
1636 0 : void clearStorageLimit() => clearField(6);
1637 :
1638 0 : @$pb.TagNumber(7)
1639 0 : $fixnum.Int64 get storageUsage => $_getI64(6);
1640 0 : @$pb.TagNumber(7)
1641 : set storageUsage($fixnum.Int64 v) {
1642 0 : $_setInt64(6, v);
1643 : }
1644 :
1645 0 : @$pb.TagNumber(7)
1646 0 : $core.bool hasStorageUsage() => $_has(6);
1647 0 : @$pb.TagNumber(7)
1648 0 : void clearStorageUsage() => clearField(7);
1649 :
1650 0 : @$pb.TagNumber(8)
1651 0 : $fixnum.Int64 get latestExchangeStorageTime => $_getI64(7);
1652 0 : @$pb.TagNumber(8)
1653 : set latestExchangeStorageTime($fixnum.Int64 v) {
1654 0 : $_setInt64(7, v);
1655 : }
1656 :
1657 0 : @$pb.TagNumber(8)
1658 0 : $core.bool hasLatestExchangeStorageTime() => $_has(7);
1659 0 : @$pb.TagNumber(8)
1660 0 : void clearLatestExchangeStorageTime() => clearField(8);
1661 :
1662 0 : @$pb.TagNumber(9)
1663 0 : $fixnum.Int64 get energyWindowSize => $_getI64(8);
1664 0 : @$pb.TagNumber(9)
1665 : set energyWindowSize($fixnum.Int64 v) {
1666 0 : $_setInt64(8, v);
1667 : }
1668 :
1669 0 : @$pb.TagNumber(9)
1670 0 : $core.bool hasEnergyWindowSize() => $_has(8);
1671 0 : @$pb.TagNumber(9)
1672 0 : void clearEnergyWindowSize() => clearField(9);
1673 :
1674 0 : @$pb.TagNumber(10)
1675 0 : $fixnum.Int64 get delegatedFrozenV2BalanceForEnergy => $_getI64(9);
1676 0 : @$pb.TagNumber(10)
1677 : set delegatedFrozenV2BalanceForEnergy($fixnum.Int64 v) {
1678 0 : $_setInt64(9, v);
1679 : }
1680 :
1681 0 : @$pb.TagNumber(10)
1682 0 : $core.bool hasDelegatedFrozenV2BalanceForEnergy() => $_has(9);
1683 0 : @$pb.TagNumber(10)
1684 0 : void clearDelegatedFrozenV2BalanceForEnergy() => clearField(10);
1685 :
1686 0 : @$pb.TagNumber(11)
1687 0 : $fixnum.Int64 get acquiredDelegatedFrozenV2BalanceForEnergy => $_getI64(10);
1688 0 : @$pb.TagNumber(11)
1689 : set acquiredDelegatedFrozenV2BalanceForEnergy($fixnum.Int64 v) {
1690 0 : $_setInt64(10, v);
1691 : }
1692 :
1693 0 : @$pb.TagNumber(11)
1694 0 : $core.bool hasAcquiredDelegatedFrozenV2BalanceForEnergy() => $_has(10);
1695 0 : @$pb.TagNumber(11)
1696 0 : void clearAcquiredDelegatedFrozenV2BalanceForEnergy() => clearField(11);
1697 :
1698 0 : @$pb.TagNumber(12)
1699 0 : $core.bool get energyWindowOptimized => $_getBF(11);
1700 0 : @$pb.TagNumber(12)
1701 : set energyWindowOptimized($core.bool v) {
1702 0 : $_setBool(11, v);
1703 : }
1704 :
1705 0 : @$pb.TagNumber(12)
1706 0 : $core.bool hasEnergyWindowOptimized() => $_has(11);
1707 0 : @$pb.TagNumber(12)
1708 0 : void clearEnergyWindowOptimized() => clearField(12);
1709 : }
1710 :
1711 : class Account_FreezeV2 extends $pb.GeneratedMessage {
1712 0 : factory Account_FreezeV2({
1713 : $14.ResourceCode? type,
1714 : $fixnum.Int64? amount,
1715 : }) {
1716 0 : final $result = create();
1717 : if (type != null) {
1718 0 : $result.type = type;
1719 : }
1720 : if (amount != null) {
1721 0 : $result.amount = amount;
1722 : }
1723 : return $result;
1724 : }
1725 0 : Account_FreezeV2._() : super();
1726 0 : factory Account_FreezeV2.fromBuffer($core.List<$core.int> i,
1727 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1728 0 : create()..mergeFromBuffer(i, r);
1729 0 : factory Account_FreezeV2.fromJson($core.String i,
1730 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1731 0 : create()..mergeFromJson(i, r);
1732 :
1733 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Account.FreezeV2',
1734 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1735 : createEmptyInstance: create)
1736 0 : ..e<$14.ResourceCode>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
1737 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1738 : valueOf: $14.ResourceCode.valueOf,
1739 : enumValues: $14.ResourceCode.values)
1740 0 : ..aInt64(2, _omitFieldNames ? '' : 'amount')
1741 0 : ..hasRequiredFields = false;
1742 :
1743 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1744 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1745 : 'Will be removed in next major version')
1746 0 : Account_FreezeV2 clone() => Account_FreezeV2()..mergeFromMessage(this);
1747 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1748 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1749 : 'Will be removed in next major version')
1750 : Account_FreezeV2 copyWith(void Function(Account_FreezeV2) updates) =>
1751 0 : super.copyWith((message) => updates(message as Account_FreezeV2)) as Account_FreezeV2;
1752 :
1753 0 : $pb.BuilderInfo get info_ => _i;
1754 :
1755 0 : @$core.pragma('dart2js:noInline')
1756 0 : static Account_FreezeV2 create() => Account_FreezeV2._();
1757 0 : Account_FreezeV2 createEmptyInstance() => create();
1758 0 : static $pb.PbList<Account_FreezeV2> createRepeated() => $pb.PbList<Account_FreezeV2>();
1759 0 : @$core.pragma('dart2js:noInline')
1760 : static Account_FreezeV2 getDefault() =>
1761 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Account_FreezeV2>(create);
1762 : static Account_FreezeV2? _defaultInstance;
1763 :
1764 0 : @$pb.TagNumber(1)
1765 0 : $14.ResourceCode get type => $_getN(0);
1766 0 : @$pb.TagNumber(1)
1767 : set type($14.ResourceCode v) {
1768 0 : setField(1, v);
1769 : }
1770 :
1771 0 : @$pb.TagNumber(1)
1772 0 : $core.bool hasType() => $_has(0);
1773 0 : @$pb.TagNumber(1)
1774 0 : void clearType() => clearField(1);
1775 :
1776 0 : @$pb.TagNumber(2)
1777 0 : $fixnum.Int64 get amount => $_getI64(1);
1778 0 : @$pb.TagNumber(2)
1779 : set amount($fixnum.Int64 v) {
1780 0 : $_setInt64(1, v);
1781 : }
1782 :
1783 0 : @$pb.TagNumber(2)
1784 0 : $core.bool hasAmount() => $_has(1);
1785 0 : @$pb.TagNumber(2)
1786 0 : void clearAmount() => clearField(2);
1787 : }
1788 :
1789 : class Account_UnFreezeV2 extends $pb.GeneratedMessage {
1790 0 : factory Account_UnFreezeV2({
1791 : $14.ResourceCode? type,
1792 : $fixnum.Int64? unfreezeAmount,
1793 : $fixnum.Int64? unfreezeExpireTime,
1794 : }) {
1795 0 : final $result = create();
1796 : if (type != null) {
1797 0 : $result.type = type;
1798 : }
1799 : if (unfreezeAmount != null) {
1800 0 : $result.unfreezeAmount = unfreezeAmount;
1801 : }
1802 : if (unfreezeExpireTime != null) {
1803 0 : $result.unfreezeExpireTime = unfreezeExpireTime;
1804 : }
1805 : return $result;
1806 : }
1807 0 : Account_UnFreezeV2._() : super();
1808 0 : factory Account_UnFreezeV2.fromBuffer($core.List<$core.int> i,
1809 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1810 0 : create()..mergeFromBuffer(i, r);
1811 0 : factory Account_UnFreezeV2.fromJson($core.String i,
1812 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1813 0 : create()..mergeFromJson(i, r);
1814 :
1815 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Account.UnFreezeV2',
1816 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1817 : createEmptyInstance: create)
1818 0 : ..e<$14.ResourceCode>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
1819 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1820 : valueOf: $14.ResourceCode.valueOf,
1821 : enumValues: $14.ResourceCode.values)
1822 0 : ..aInt64(3, _omitFieldNames ? '' : 'unfreezeAmount')
1823 0 : ..aInt64(4, _omitFieldNames ? '' : 'unfreezeExpireTime')
1824 0 : ..hasRequiredFields = false;
1825 :
1826 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1827 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1828 : 'Will be removed in next major version')
1829 0 : Account_UnFreezeV2 clone() => Account_UnFreezeV2()..mergeFromMessage(this);
1830 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1831 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1832 : 'Will be removed in next major version')
1833 : Account_UnFreezeV2 copyWith(void Function(Account_UnFreezeV2) updates) =>
1834 0 : super.copyWith((message) => updates(message as Account_UnFreezeV2)) as Account_UnFreezeV2;
1835 :
1836 0 : $pb.BuilderInfo get info_ => _i;
1837 :
1838 0 : @$core.pragma('dart2js:noInline')
1839 0 : static Account_UnFreezeV2 create() => Account_UnFreezeV2._();
1840 0 : Account_UnFreezeV2 createEmptyInstance() => create();
1841 0 : static $pb.PbList<Account_UnFreezeV2> createRepeated() => $pb.PbList<Account_UnFreezeV2>();
1842 0 : @$core.pragma('dart2js:noInline')
1843 : static Account_UnFreezeV2 getDefault() =>
1844 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Account_UnFreezeV2>(create);
1845 : static Account_UnFreezeV2? _defaultInstance;
1846 :
1847 0 : @$pb.TagNumber(1)
1848 0 : $14.ResourceCode get type => $_getN(0);
1849 0 : @$pb.TagNumber(1)
1850 : set type($14.ResourceCode v) {
1851 0 : setField(1, v);
1852 : }
1853 :
1854 0 : @$pb.TagNumber(1)
1855 0 : $core.bool hasType() => $_has(0);
1856 0 : @$pb.TagNumber(1)
1857 0 : void clearType() => clearField(1);
1858 :
1859 0 : @$pb.TagNumber(3)
1860 0 : $fixnum.Int64 get unfreezeAmount => $_getI64(1);
1861 0 : @$pb.TagNumber(3)
1862 : set unfreezeAmount($fixnum.Int64 v) {
1863 0 : $_setInt64(1, v);
1864 : }
1865 :
1866 0 : @$pb.TagNumber(3)
1867 0 : $core.bool hasUnfreezeAmount() => $_has(1);
1868 0 : @$pb.TagNumber(3)
1869 0 : void clearUnfreezeAmount() => clearField(3);
1870 :
1871 0 : @$pb.TagNumber(4)
1872 0 : $fixnum.Int64 get unfreezeExpireTime => $_getI64(2);
1873 0 : @$pb.TagNumber(4)
1874 : set unfreezeExpireTime($fixnum.Int64 v) {
1875 0 : $_setInt64(2, v);
1876 : }
1877 :
1878 0 : @$pb.TagNumber(4)
1879 0 : $core.bool hasUnfreezeExpireTime() => $_has(2);
1880 0 : @$pb.TagNumber(4)
1881 0 : void clearUnfreezeExpireTime() => clearField(4);
1882 : }
1883 :
1884 : /// Account
1885 : class Account extends $pb.GeneratedMessage {
1886 0 : factory Account({
1887 : $core.List<$core.int>? accountName,
1888 : AccountType? type,
1889 : $core.List<$core.int>? address,
1890 : $fixnum.Int64? balance,
1891 : $core.Iterable<Vote>? votes,
1892 : $core.Map<$core.String, $fixnum.Int64>? asset,
1893 : $core.Iterable<Account_Frozen>? frozen,
1894 : $fixnum.Int64? netUsage,
1895 : $fixnum.Int64? createTime,
1896 : $fixnum.Int64? latestOprationTime,
1897 : $fixnum.Int64? allowance,
1898 : $fixnum.Int64? latestWithdrawTime,
1899 : $core.List<$core.int>? code,
1900 : $core.bool? isWitness,
1901 : $core.bool? isCommittee,
1902 : $core.Iterable<Account_Frozen>? frozenSupply,
1903 : $core.List<$core.int>? assetIssuedName,
1904 : $core.Map<$core.String, $fixnum.Int64>? latestAssetOperationTime,
1905 : $fixnum.Int64? freeNetUsage,
1906 : $core.Map<$core.String, $fixnum.Int64>? freeAssetNetUsage,
1907 : $fixnum.Int64? latestConsumeTime,
1908 : $fixnum.Int64? latestConsumeFreeTime,
1909 : $core.List<$core.int>? accountId,
1910 : $fixnum.Int64? netWindowSize,
1911 : $core.bool? netWindowOptimized,
1912 : Account_AccountResource? accountResource,
1913 : $core.List<$core.int>? codeHash,
1914 : Permission? ownerPermission,
1915 : Permission? witnessPermission,
1916 : $core.Iterable<Permission>? activePermission,
1917 : $core.Iterable<Account_FreezeV2>? frozenV2,
1918 : $core.Iterable<Account_UnFreezeV2>? unfrozenV2,
1919 : $fixnum.Int64? delegatedFrozenV2BalanceForBandwidth,
1920 : $fixnum.Int64? acquiredDelegatedFrozenV2BalanceForBandwidth,
1921 : $fixnum.Int64? acquiredDelegatedFrozenBalanceForBandwidth,
1922 : $fixnum.Int64? delegatedFrozenBalanceForBandwidth,
1923 : $fixnum.Int64? oldTronPower,
1924 : Account_Frozen? tronPower,
1925 : $core.Map<$core.String, $fixnum.Int64>? assetV2,
1926 : $core.List<$core.int>? assetIssuedID,
1927 : $core.Map<$core.String, $fixnum.Int64>? latestAssetOperationTimeV2,
1928 : $core.Map<$core.String, $fixnum.Int64>? freeAssetNetUsageV2,
1929 : $core.bool? assetOptimized,
1930 : }) {
1931 0 : final $result = create();
1932 : if (accountName != null) {
1933 0 : $result.accountName = accountName;
1934 : }
1935 : if (type != null) {
1936 0 : $result.type = type;
1937 : }
1938 : if (address != null) {
1939 0 : $result.address = address;
1940 : }
1941 : if (balance != null) {
1942 0 : $result.balance = balance;
1943 : }
1944 : if (votes != null) {
1945 0 : $result.votes.addAll(votes);
1946 : }
1947 : if (asset != null) {
1948 0 : $result.asset.addAll(asset);
1949 : }
1950 : if (frozen != null) {
1951 0 : $result.frozen.addAll(frozen);
1952 : }
1953 : if (netUsage != null) {
1954 0 : $result.netUsage = netUsage;
1955 : }
1956 : if (createTime != null) {
1957 0 : $result.createTime = createTime;
1958 : }
1959 : if (latestOprationTime != null) {
1960 0 : $result.latestOprationTime = latestOprationTime;
1961 : }
1962 : if (allowance != null) {
1963 0 : $result.allowance = allowance;
1964 : }
1965 : if (latestWithdrawTime != null) {
1966 0 : $result.latestWithdrawTime = latestWithdrawTime;
1967 : }
1968 : if (code != null) {
1969 0 : $result.code = code;
1970 : }
1971 : if (isWitness != null) {
1972 0 : $result.isWitness = isWitness;
1973 : }
1974 : if (isCommittee != null) {
1975 0 : $result.isCommittee = isCommittee;
1976 : }
1977 : if (frozenSupply != null) {
1978 0 : $result.frozenSupply.addAll(frozenSupply);
1979 : }
1980 : if (assetIssuedName != null) {
1981 0 : $result.assetIssuedName = assetIssuedName;
1982 : }
1983 : if (latestAssetOperationTime != null) {
1984 0 : $result.latestAssetOperationTime.addAll(latestAssetOperationTime);
1985 : }
1986 : if (freeNetUsage != null) {
1987 0 : $result.freeNetUsage = freeNetUsage;
1988 : }
1989 : if (freeAssetNetUsage != null) {
1990 0 : $result.freeAssetNetUsage.addAll(freeAssetNetUsage);
1991 : }
1992 : if (latestConsumeTime != null) {
1993 0 : $result.latestConsumeTime = latestConsumeTime;
1994 : }
1995 : if (latestConsumeFreeTime != null) {
1996 0 : $result.latestConsumeFreeTime = latestConsumeFreeTime;
1997 : }
1998 : if (accountId != null) {
1999 0 : $result.accountId = accountId;
2000 : }
2001 : if (netWindowSize != null) {
2002 0 : $result.netWindowSize = netWindowSize;
2003 : }
2004 : if (netWindowOptimized != null) {
2005 0 : $result.netWindowOptimized = netWindowOptimized;
2006 : }
2007 : if (accountResource != null) {
2008 0 : $result.accountResource = accountResource;
2009 : }
2010 : if (codeHash != null) {
2011 0 : $result.codeHash = codeHash;
2012 : }
2013 : if (ownerPermission != null) {
2014 0 : $result.ownerPermission = ownerPermission;
2015 : }
2016 : if (witnessPermission != null) {
2017 0 : $result.witnessPermission = witnessPermission;
2018 : }
2019 : if (activePermission != null) {
2020 0 : $result.activePermission.addAll(activePermission);
2021 : }
2022 : if (frozenV2 != null) {
2023 0 : $result.frozenV2.addAll(frozenV2);
2024 : }
2025 : if (unfrozenV2 != null) {
2026 0 : $result.unfrozenV2.addAll(unfrozenV2);
2027 : }
2028 : if (delegatedFrozenV2BalanceForBandwidth != null) {
2029 0 : $result.delegatedFrozenV2BalanceForBandwidth = delegatedFrozenV2BalanceForBandwidth;
2030 : }
2031 : if (acquiredDelegatedFrozenV2BalanceForBandwidth != null) {
2032 0 : $result.acquiredDelegatedFrozenV2BalanceForBandwidth =
2033 : acquiredDelegatedFrozenV2BalanceForBandwidth;
2034 : }
2035 : if (acquiredDelegatedFrozenBalanceForBandwidth != null) {
2036 0 : $result.acquiredDelegatedFrozenBalanceForBandwidth =
2037 : acquiredDelegatedFrozenBalanceForBandwidth;
2038 : }
2039 : if (delegatedFrozenBalanceForBandwidth != null) {
2040 0 : $result.delegatedFrozenBalanceForBandwidth = delegatedFrozenBalanceForBandwidth;
2041 : }
2042 : if (oldTronPower != null) {
2043 0 : $result.oldTronPower = oldTronPower;
2044 : }
2045 : if (tronPower != null) {
2046 0 : $result.tronPower = tronPower;
2047 : }
2048 : if (assetV2 != null) {
2049 0 : $result.assetV2.addAll(assetV2);
2050 : }
2051 : if (assetIssuedID != null) {
2052 0 : $result.assetIssuedID = assetIssuedID;
2053 : }
2054 : if (latestAssetOperationTimeV2 != null) {
2055 0 : $result.latestAssetOperationTimeV2.addAll(latestAssetOperationTimeV2);
2056 : }
2057 : if (freeAssetNetUsageV2 != null) {
2058 0 : $result.freeAssetNetUsageV2.addAll(freeAssetNetUsageV2);
2059 : }
2060 : if (assetOptimized != null) {
2061 0 : $result.assetOptimized = assetOptimized;
2062 : }
2063 : return $result;
2064 : }
2065 0 : Account._() : super();
2066 0 : factory Account.fromBuffer($core.List<$core.int> i,
2067 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2068 0 : create()..mergeFromBuffer(i, r);
2069 0 : factory Account.fromJson($core.String i,
2070 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2071 0 : create()..mergeFromJson(i, r);
2072 :
2073 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Account',
2074 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2075 : createEmptyInstance: create)
2076 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'accountName', $pb.PbFieldType.OY)
2077 0 : ..e<AccountType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
2078 : defaultOrMaker: AccountType.Normal,
2079 : valueOf: AccountType.valueOf,
2080 : enumValues: AccountType.values)
2081 0 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
2082 0 : ..aInt64(4, _omitFieldNames ? '' : 'balance')
2083 0 : ..pc<Vote>(5, _omitFieldNames ? '' : 'votes', $pb.PbFieldType.PM, subBuilder: Vote.create)
2084 0 : ..m<$core.String, $fixnum.Int64>(6, _omitFieldNames ? '' : 'asset',
2085 : entryClassName: 'Account.AssetEntry',
2086 : keyFieldType: $pb.PbFieldType.OS,
2087 : valueFieldType: $pb.PbFieldType.O6,
2088 : packageName: const $pb.PackageName('protocol'))
2089 0 : ..pc<Account_Frozen>(7, _omitFieldNames ? '' : 'frozen', $pb.PbFieldType.PM,
2090 : subBuilder: Account_Frozen.create)
2091 0 : ..aInt64(8, _omitFieldNames ? '' : 'netUsage')
2092 0 : ..aInt64(9, _omitFieldNames ? '' : 'createTime')
2093 0 : ..aInt64(10, _omitFieldNames ? '' : 'latestOprationTime')
2094 0 : ..aInt64(11, _omitFieldNames ? '' : 'allowance')
2095 0 : ..aInt64(12, _omitFieldNames ? '' : 'latestWithdrawTime')
2096 0 : ..a<$core.List<$core.int>>(13, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OY)
2097 0 : ..aOB(14, _omitFieldNames ? '' : 'isWitness')
2098 0 : ..aOB(15, _omitFieldNames ? '' : 'isCommittee')
2099 0 : ..pc<Account_Frozen>(16, _omitFieldNames ? '' : 'frozenSupply', $pb.PbFieldType.PM,
2100 : subBuilder: Account_Frozen.create)
2101 0 : ..a<$core.List<$core.int>>(17, _omitFieldNames ? '' : 'assetIssuedName', $pb.PbFieldType.OY)
2102 0 : ..m<$core.String, $fixnum.Int64>(18, _omitFieldNames ? '' : 'latestAssetOperationTime',
2103 : entryClassName: 'Account.LatestAssetOperationTimeEntry',
2104 : keyFieldType: $pb.PbFieldType.OS,
2105 : valueFieldType: $pb.PbFieldType.O6,
2106 : packageName: const $pb.PackageName('protocol'))
2107 0 : ..aInt64(19, _omitFieldNames ? '' : 'freeNetUsage')
2108 0 : ..m<$core.String, $fixnum.Int64>(20, _omitFieldNames ? '' : 'freeAssetNetUsage',
2109 : entryClassName: 'Account.FreeAssetNetUsageEntry',
2110 : keyFieldType: $pb.PbFieldType.OS,
2111 : valueFieldType: $pb.PbFieldType.O6,
2112 : packageName: const $pb.PackageName('protocol'))
2113 0 : ..aInt64(21, _omitFieldNames ? '' : 'latestConsumeTime')
2114 0 : ..aInt64(22, _omitFieldNames ? '' : 'latestConsumeFreeTime')
2115 0 : ..a<$core.List<$core.int>>(23, _omitFieldNames ? '' : 'accountId', $pb.PbFieldType.OY)
2116 0 : ..aInt64(24, _omitFieldNames ? '' : 'netWindowSize')
2117 0 : ..aOB(25, _omitFieldNames ? '' : 'netWindowOptimized')
2118 0 : ..aOM<Account_AccountResource>(26, _omitFieldNames ? '' : 'accountResource',
2119 : subBuilder: Account_AccountResource.create)
2120 0 : ..a<$core.List<$core.int>>(30, _omitFieldNames ? '' : 'codeHash', $pb.PbFieldType.OY,
2121 : protoName: 'codeHash')
2122 0 : ..aOM<Permission>(31, _omitFieldNames ? '' : 'ownerPermission', subBuilder: Permission.create)
2123 0 : ..aOM<Permission>(32, _omitFieldNames ? '' : 'witnessPermission', subBuilder: Permission.create)
2124 0 : ..pc<Permission>(33, _omitFieldNames ? '' : 'activePermission', $pb.PbFieldType.PM,
2125 : subBuilder: Permission.create)
2126 0 : ..pc<Account_FreezeV2>(34, _omitFieldNames ? '' : 'frozenV2', $pb.PbFieldType.PM,
2127 : protoName: 'frozenV2', subBuilder: Account_FreezeV2.create)
2128 0 : ..pc<Account_UnFreezeV2>(35, _omitFieldNames ? '' : 'unfrozenV2', $pb.PbFieldType.PM,
2129 : protoName: 'unfrozenV2', subBuilder: Account_UnFreezeV2.create)
2130 0 : ..aInt64(36, _omitFieldNames ? '' : 'delegatedFrozenV2BalanceForBandwidth',
2131 : protoName: 'delegated_frozenV2_balance_for_bandwidth')
2132 0 : ..aInt64(37, _omitFieldNames ? '' : 'acquiredDelegatedFrozenV2BalanceForBandwidth',
2133 : protoName: 'acquired_delegated_frozenV2_balance_for_bandwidth')
2134 0 : ..aInt64(41, _omitFieldNames ? '' : 'acquiredDelegatedFrozenBalanceForBandwidth')
2135 0 : ..aInt64(42, _omitFieldNames ? '' : 'delegatedFrozenBalanceForBandwidth')
2136 0 : ..aInt64(46, _omitFieldNames ? '' : 'oldTronPower')
2137 0 : ..aOM<Account_Frozen>(47, _omitFieldNames ? '' : 'tronPower', subBuilder: Account_Frozen.create)
2138 0 : ..m<$core.String, $fixnum.Int64>(56, _omitFieldNames ? '' : 'assetV2',
2139 : protoName: 'assetV2',
2140 : entryClassName: 'Account.AssetV2Entry',
2141 : keyFieldType: $pb.PbFieldType.OS,
2142 : valueFieldType: $pb.PbFieldType.O6,
2143 : packageName: const $pb.PackageName('protocol'))
2144 0 : ..a<$core.List<$core.int>>(57, _omitFieldNames ? '' : 'assetIssuedID', $pb.PbFieldType.OY,
2145 : protoName: 'asset_issued_ID')
2146 0 : ..m<$core.String, $fixnum.Int64>(58, _omitFieldNames ? '' : 'latestAssetOperationTimeV2',
2147 : protoName: 'latest_asset_operation_timeV2',
2148 : entryClassName: 'Account.LatestAssetOperationTimeV2Entry',
2149 : keyFieldType: $pb.PbFieldType.OS,
2150 : valueFieldType: $pb.PbFieldType.O6,
2151 : packageName: const $pb.PackageName('protocol'))
2152 0 : ..m<$core.String, $fixnum.Int64>(59, _omitFieldNames ? '' : 'freeAssetNetUsageV2',
2153 : protoName: 'free_asset_net_usageV2',
2154 : entryClassName: 'Account.FreeAssetNetUsageV2Entry',
2155 : keyFieldType: $pb.PbFieldType.OS,
2156 : valueFieldType: $pb.PbFieldType.O6,
2157 : packageName: const $pb.PackageName('protocol'))
2158 0 : ..aOB(60, _omitFieldNames ? '' : 'assetOptimized')
2159 0 : ..hasRequiredFields = false;
2160 :
2161 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2162 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2163 : 'Will be removed in next major version')
2164 0 : Account clone() => Account()..mergeFromMessage(this);
2165 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2166 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2167 : 'Will be removed in next major version')
2168 : Account copyWith(void Function(Account) updates) =>
2169 0 : super.copyWith((message) => updates(message as Account)) as Account;
2170 :
2171 0 : $pb.BuilderInfo get info_ => _i;
2172 :
2173 0 : @$core.pragma('dart2js:noInline')
2174 0 : static Account create() => Account._();
2175 0 : Account createEmptyInstance() => create();
2176 0 : static $pb.PbList<Account> createRepeated() => $pb.PbList<Account>();
2177 0 : @$core.pragma('dart2js:noInline')
2178 : static Account getDefault() =>
2179 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Account>(create);
2180 : static Account? _defaultInstance;
2181 :
2182 : /// account nick name
2183 0 : @$pb.TagNumber(1)
2184 0 : $core.List<$core.int> get accountName => $_getN(0);
2185 0 : @$pb.TagNumber(1)
2186 : set accountName($core.List<$core.int> v) {
2187 0 : $_setBytes(0, v);
2188 : }
2189 :
2190 0 : @$pb.TagNumber(1)
2191 0 : $core.bool hasAccountName() => $_has(0);
2192 0 : @$pb.TagNumber(1)
2193 0 : void clearAccountName() => clearField(1);
2194 :
2195 0 : @$pb.TagNumber(2)
2196 0 : AccountType get type => $_getN(1);
2197 0 : @$pb.TagNumber(2)
2198 : set type(AccountType v) {
2199 0 : setField(2, v);
2200 : }
2201 :
2202 0 : @$pb.TagNumber(2)
2203 0 : $core.bool hasType() => $_has(1);
2204 0 : @$pb.TagNumber(2)
2205 0 : void clearType() => clearField(2);
2206 :
2207 : /// the create address
2208 0 : @$pb.TagNumber(3)
2209 0 : $core.List<$core.int> get address => $_getN(2);
2210 0 : @$pb.TagNumber(3)
2211 : set address($core.List<$core.int> v) {
2212 0 : $_setBytes(2, v);
2213 : }
2214 :
2215 0 : @$pb.TagNumber(3)
2216 0 : $core.bool hasAddress() => $_has(2);
2217 0 : @$pb.TagNumber(3)
2218 0 : void clearAddress() => clearField(3);
2219 :
2220 : /// the trx balance
2221 0 : @$pb.TagNumber(4)
2222 0 : $fixnum.Int64 get balance => $_getI64(3);
2223 0 : @$pb.TagNumber(4)
2224 : set balance($fixnum.Int64 v) {
2225 0 : $_setInt64(3, v);
2226 : }
2227 :
2228 0 : @$pb.TagNumber(4)
2229 0 : $core.bool hasBalance() => $_has(3);
2230 0 : @$pb.TagNumber(4)
2231 0 : void clearBalance() => clearField(4);
2232 :
2233 : /// the votes
2234 0 : @$pb.TagNumber(5)
2235 0 : $core.List<Vote> get votes => $_getList(4);
2236 :
2237 : /// the other asset owned by this account
2238 0 : @$pb.TagNumber(6)
2239 0 : $core.Map<$core.String, $fixnum.Int64> get asset => $_getMap(5);
2240 :
2241 : /// the frozen balance for bandwidth
2242 0 : @$pb.TagNumber(7)
2243 0 : $core.List<Account_Frozen> get frozen => $_getList(6);
2244 :
2245 : /// bandwidth, get from frozen
2246 0 : @$pb.TagNumber(8)
2247 0 : $fixnum.Int64 get netUsage => $_getI64(7);
2248 0 : @$pb.TagNumber(8)
2249 : set netUsage($fixnum.Int64 v) {
2250 0 : $_setInt64(7, v);
2251 : }
2252 :
2253 0 : @$pb.TagNumber(8)
2254 0 : $core.bool hasNetUsage() => $_has(7);
2255 0 : @$pb.TagNumber(8)
2256 0 : void clearNetUsage() => clearField(8);
2257 :
2258 : /// this account create time
2259 0 : @$pb.TagNumber(9)
2260 0 : $fixnum.Int64 get createTime => $_getI64(8);
2261 0 : @$pb.TagNumber(9)
2262 : set createTime($fixnum.Int64 v) {
2263 0 : $_setInt64(8, v);
2264 : }
2265 :
2266 0 : @$pb.TagNumber(9)
2267 0 : $core.bool hasCreateTime() => $_has(8);
2268 0 : @$pb.TagNumber(9)
2269 0 : void clearCreateTime() => clearField(9);
2270 :
2271 : /// this last operation time, including transfer, voting and so on. //FIXME fix grammar
2272 0 : @$pb.TagNumber(10)
2273 0 : $fixnum.Int64 get latestOprationTime => $_getI64(9);
2274 0 : @$pb.TagNumber(10)
2275 : set latestOprationTime($fixnum.Int64 v) {
2276 0 : $_setInt64(9, v);
2277 : }
2278 :
2279 0 : @$pb.TagNumber(10)
2280 0 : $core.bool hasLatestOprationTime() => $_has(9);
2281 0 : @$pb.TagNumber(10)
2282 0 : void clearLatestOprationTime() => clearField(10);
2283 :
2284 : /// witness block producing allowance
2285 0 : @$pb.TagNumber(11)
2286 0 : $fixnum.Int64 get allowance => $_getI64(10);
2287 0 : @$pb.TagNumber(11)
2288 : set allowance($fixnum.Int64 v) {
2289 0 : $_setInt64(10, v);
2290 : }
2291 :
2292 0 : @$pb.TagNumber(11)
2293 0 : $core.bool hasAllowance() => $_has(10);
2294 0 : @$pb.TagNumber(11)
2295 0 : void clearAllowance() => clearField(11);
2296 :
2297 : /// last withdraw time
2298 0 : @$pb.TagNumber(12)
2299 0 : $fixnum.Int64 get latestWithdrawTime => $_getI64(11);
2300 0 : @$pb.TagNumber(12)
2301 : set latestWithdrawTime($fixnum.Int64 v) {
2302 0 : $_setInt64(11, v);
2303 : }
2304 :
2305 0 : @$pb.TagNumber(12)
2306 0 : $core.bool hasLatestWithdrawTime() => $_has(11);
2307 0 : @$pb.TagNumber(12)
2308 0 : void clearLatestWithdrawTime() => clearField(12);
2309 :
2310 : /// not used so far
2311 0 : @$pb.TagNumber(13)
2312 0 : $core.List<$core.int> get code => $_getN(12);
2313 0 : @$pb.TagNumber(13)
2314 : set code($core.List<$core.int> v) {
2315 0 : $_setBytes(12, v);
2316 : }
2317 :
2318 0 : @$pb.TagNumber(13)
2319 0 : $core.bool hasCode() => $_has(12);
2320 0 : @$pb.TagNumber(13)
2321 0 : void clearCode() => clearField(13);
2322 :
2323 0 : @$pb.TagNumber(14)
2324 0 : $core.bool get isWitness => $_getBF(13);
2325 0 : @$pb.TagNumber(14)
2326 : set isWitness($core.bool v) {
2327 0 : $_setBool(13, v);
2328 : }
2329 :
2330 0 : @$pb.TagNumber(14)
2331 0 : $core.bool hasIsWitness() => $_has(13);
2332 0 : @$pb.TagNumber(14)
2333 0 : void clearIsWitness() => clearField(14);
2334 :
2335 0 : @$pb.TagNumber(15)
2336 0 : $core.bool get isCommittee => $_getBF(14);
2337 0 : @$pb.TagNumber(15)
2338 : set isCommittee($core.bool v) {
2339 0 : $_setBool(14, v);
2340 : }
2341 :
2342 0 : @$pb.TagNumber(15)
2343 0 : $core.bool hasIsCommittee() => $_has(14);
2344 0 : @$pb.TagNumber(15)
2345 0 : void clearIsCommittee() => clearField(15);
2346 :
2347 : /// frozen asset(for asset issuer)
2348 0 : @$pb.TagNumber(16)
2349 0 : $core.List<Account_Frozen> get frozenSupply => $_getList(15);
2350 :
2351 : /// asset_issued_name
2352 0 : @$pb.TagNumber(17)
2353 0 : $core.List<$core.int> get assetIssuedName => $_getN(16);
2354 0 : @$pb.TagNumber(17)
2355 : set assetIssuedName($core.List<$core.int> v) {
2356 0 : $_setBytes(16, v);
2357 : }
2358 :
2359 0 : @$pb.TagNumber(17)
2360 0 : $core.bool hasAssetIssuedName() => $_has(16);
2361 0 : @$pb.TagNumber(17)
2362 0 : void clearAssetIssuedName() => clearField(17);
2363 :
2364 0 : @$pb.TagNumber(18)
2365 0 : $core.Map<$core.String, $fixnum.Int64> get latestAssetOperationTime => $_getMap(17);
2366 :
2367 0 : @$pb.TagNumber(19)
2368 0 : $fixnum.Int64 get freeNetUsage => $_getI64(18);
2369 0 : @$pb.TagNumber(19)
2370 : set freeNetUsage($fixnum.Int64 v) {
2371 0 : $_setInt64(18, v);
2372 : }
2373 :
2374 0 : @$pb.TagNumber(19)
2375 0 : $core.bool hasFreeNetUsage() => $_has(18);
2376 0 : @$pb.TagNumber(19)
2377 0 : void clearFreeNetUsage() => clearField(19);
2378 :
2379 0 : @$pb.TagNumber(20)
2380 0 : $core.Map<$core.String, $fixnum.Int64> get freeAssetNetUsage => $_getMap(19);
2381 :
2382 0 : @$pb.TagNumber(21)
2383 0 : $fixnum.Int64 get latestConsumeTime => $_getI64(20);
2384 0 : @$pb.TagNumber(21)
2385 : set latestConsumeTime($fixnum.Int64 v) {
2386 0 : $_setInt64(20, v);
2387 : }
2388 :
2389 0 : @$pb.TagNumber(21)
2390 0 : $core.bool hasLatestConsumeTime() => $_has(20);
2391 0 : @$pb.TagNumber(21)
2392 0 : void clearLatestConsumeTime() => clearField(21);
2393 :
2394 0 : @$pb.TagNumber(22)
2395 0 : $fixnum.Int64 get latestConsumeFreeTime => $_getI64(21);
2396 0 : @$pb.TagNumber(22)
2397 : set latestConsumeFreeTime($fixnum.Int64 v) {
2398 0 : $_setInt64(21, v);
2399 : }
2400 :
2401 0 : @$pb.TagNumber(22)
2402 0 : $core.bool hasLatestConsumeFreeTime() => $_has(21);
2403 0 : @$pb.TagNumber(22)
2404 0 : void clearLatestConsumeFreeTime() => clearField(22);
2405 :
2406 : /// the identity of this account, case insensitive
2407 0 : @$pb.TagNumber(23)
2408 0 : $core.List<$core.int> get accountId => $_getN(22);
2409 0 : @$pb.TagNumber(23)
2410 : set accountId($core.List<$core.int> v) {
2411 0 : $_setBytes(22, v);
2412 : }
2413 :
2414 0 : @$pb.TagNumber(23)
2415 0 : $core.bool hasAccountId() => $_has(22);
2416 0 : @$pb.TagNumber(23)
2417 0 : void clearAccountId() => clearField(23);
2418 :
2419 0 : @$pb.TagNumber(24)
2420 0 : $fixnum.Int64 get netWindowSize => $_getI64(23);
2421 0 : @$pb.TagNumber(24)
2422 : set netWindowSize($fixnum.Int64 v) {
2423 0 : $_setInt64(23, v);
2424 : }
2425 :
2426 0 : @$pb.TagNumber(24)
2427 0 : $core.bool hasNetWindowSize() => $_has(23);
2428 0 : @$pb.TagNumber(24)
2429 0 : void clearNetWindowSize() => clearField(24);
2430 :
2431 0 : @$pb.TagNumber(25)
2432 0 : $core.bool get netWindowOptimized => $_getBF(24);
2433 0 : @$pb.TagNumber(25)
2434 : set netWindowOptimized($core.bool v) {
2435 0 : $_setBool(24, v);
2436 : }
2437 :
2438 0 : @$pb.TagNumber(25)
2439 0 : $core.bool hasNetWindowOptimized() => $_has(24);
2440 0 : @$pb.TagNumber(25)
2441 0 : void clearNetWindowOptimized() => clearField(25);
2442 :
2443 0 : @$pb.TagNumber(26)
2444 0 : Account_AccountResource get accountResource => $_getN(25);
2445 0 : @$pb.TagNumber(26)
2446 : set accountResource(Account_AccountResource v) {
2447 0 : setField(26, v);
2448 : }
2449 :
2450 0 : @$pb.TagNumber(26)
2451 0 : $core.bool hasAccountResource() => $_has(25);
2452 0 : @$pb.TagNumber(26)
2453 0 : void clearAccountResource() => clearField(26);
2454 0 : @$pb.TagNumber(26)
2455 0 : Account_AccountResource ensureAccountResource() => $_ensure(25);
2456 :
2457 0 : @$pb.TagNumber(30)
2458 0 : $core.List<$core.int> get codeHash => $_getN(26);
2459 0 : @$pb.TagNumber(30)
2460 : set codeHash($core.List<$core.int> v) {
2461 0 : $_setBytes(26, v);
2462 : }
2463 :
2464 0 : @$pb.TagNumber(30)
2465 0 : $core.bool hasCodeHash() => $_has(26);
2466 0 : @$pb.TagNumber(30)
2467 0 : void clearCodeHash() => clearField(30);
2468 :
2469 0 : @$pb.TagNumber(31)
2470 0 : Permission get ownerPermission => $_getN(27);
2471 0 : @$pb.TagNumber(31)
2472 : set ownerPermission(Permission v) {
2473 0 : setField(31, v);
2474 : }
2475 :
2476 0 : @$pb.TagNumber(31)
2477 0 : $core.bool hasOwnerPermission() => $_has(27);
2478 0 : @$pb.TagNumber(31)
2479 0 : void clearOwnerPermission() => clearField(31);
2480 0 : @$pb.TagNumber(31)
2481 0 : Permission ensureOwnerPermission() => $_ensure(27);
2482 :
2483 0 : @$pb.TagNumber(32)
2484 0 : Permission get witnessPermission => $_getN(28);
2485 0 : @$pb.TagNumber(32)
2486 : set witnessPermission(Permission v) {
2487 0 : setField(32, v);
2488 : }
2489 :
2490 0 : @$pb.TagNumber(32)
2491 0 : $core.bool hasWitnessPermission() => $_has(28);
2492 0 : @$pb.TagNumber(32)
2493 0 : void clearWitnessPermission() => clearField(32);
2494 0 : @$pb.TagNumber(32)
2495 0 : Permission ensureWitnessPermission() => $_ensure(28);
2496 :
2497 0 : @$pb.TagNumber(33)
2498 0 : $core.List<Permission> get activePermission => $_getList(29);
2499 :
2500 0 : @$pb.TagNumber(34)
2501 0 : $core.List<Account_FreezeV2> get frozenV2 => $_getList(30);
2502 :
2503 0 : @$pb.TagNumber(35)
2504 0 : $core.List<Account_UnFreezeV2> get unfrozenV2 => $_getList(31);
2505 :
2506 0 : @$pb.TagNumber(36)
2507 0 : $fixnum.Int64 get delegatedFrozenV2BalanceForBandwidth => $_getI64(32);
2508 0 : @$pb.TagNumber(36)
2509 : set delegatedFrozenV2BalanceForBandwidth($fixnum.Int64 v) {
2510 0 : $_setInt64(32, v);
2511 : }
2512 :
2513 0 : @$pb.TagNumber(36)
2514 0 : $core.bool hasDelegatedFrozenV2BalanceForBandwidth() => $_has(32);
2515 0 : @$pb.TagNumber(36)
2516 0 : void clearDelegatedFrozenV2BalanceForBandwidth() => clearField(36);
2517 :
2518 0 : @$pb.TagNumber(37)
2519 0 : $fixnum.Int64 get acquiredDelegatedFrozenV2BalanceForBandwidth => $_getI64(33);
2520 0 : @$pb.TagNumber(37)
2521 : set acquiredDelegatedFrozenV2BalanceForBandwidth($fixnum.Int64 v) {
2522 0 : $_setInt64(33, v);
2523 : }
2524 :
2525 0 : @$pb.TagNumber(37)
2526 0 : $core.bool hasAcquiredDelegatedFrozenV2BalanceForBandwidth() => $_has(33);
2527 0 : @$pb.TagNumber(37)
2528 0 : void clearAcquiredDelegatedFrozenV2BalanceForBandwidth() => clearField(37);
2529 :
2530 : /// Frozen balance provided by other accounts to this account
2531 0 : @$pb.TagNumber(41)
2532 0 : $fixnum.Int64 get acquiredDelegatedFrozenBalanceForBandwidth => $_getI64(34);
2533 0 : @$pb.TagNumber(41)
2534 : set acquiredDelegatedFrozenBalanceForBandwidth($fixnum.Int64 v) {
2535 0 : $_setInt64(34, v);
2536 : }
2537 :
2538 0 : @$pb.TagNumber(41)
2539 0 : $core.bool hasAcquiredDelegatedFrozenBalanceForBandwidth() => $_has(34);
2540 0 : @$pb.TagNumber(41)
2541 0 : void clearAcquiredDelegatedFrozenBalanceForBandwidth() => clearField(41);
2542 :
2543 : /// Freeze and provide balances to other accounts
2544 0 : @$pb.TagNumber(42)
2545 0 : $fixnum.Int64 get delegatedFrozenBalanceForBandwidth => $_getI64(35);
2546 0 : @$pb.TagNumber(42)
2547 : set delegatedFrozenBalanceForBandwidth($fixnum.Int64 v) {
2548 0 : $_setInt64(35, v);
2549 : }
2550 :
2551 0 : @$pb.TagNumber(42)
2552 0 : $core.bool hasDelegatedFrozenBalanceForBandwidth() => $_has(35);
2553 0 : @$pb.TagNumber(42)
2554 0 : void clearDelegatedFrozenBalanceForBandwidth() => clearField(42);
2555 :
2556 0 : @$pb.TagNumber(46)
2557 0 : $fixnum.Int64 get oldTronPower => $_getI64(36);
2558 0 : @$pb.TagNumber(46)
2559 : set oldTronPower($fixnum.Int64 v) {
2560 0 : $_setInt64(36, v);
2561 : }
2562 :
2563 0 : @$pb.TagNumber(46)
2564 0 : $core.bool hasOldTronPower() => $_has(36);
2565 0 : @$pb.TagNumber(46)
2566 0 : void clearOldTronPower() => clearField(46);
2567 :
2568 0 : @$pb.TagNumber(47)
2569 0 : Account_Frozen get tronPower => $_getN(37);
2570 0 : @$pb.TagNumber(47)
2571 : set tronPower(Account_Frozen v) {
2572 0 : setField(47, v);
2573 : }
2574 :
2575 0 : @$pb.TagNumber(47)
2576 0 : $core.bool hasTronPower() => $_has(37);
2577 0 : @$pb.TagNumber(47)
2578 0 : void clearTronPower() => clearField(47);
2579 0 : @$pb.TagNumber(47)
2580 0 : Account_Frozen ensureTronPower() => $_ensure(37);
2581 :
2582 : /// the other asset owned by this account,key is assetId
2583 0 : @$pb.TagNumber(56)
2584 0 : $core.Map<$core.String, $fixnum.Int64> get assetV2 => $_getMap(38);
2585 :
2586 0 : @$pb.TagNumber(57)
2587 0 : $core.List<$core.int> get assetIssuedID => $_getN(39);
2588 0 : @$pb.TagNumber(57)
2589 : set assetIssuedID($core.List<$core.int> v) {
2590 0 : $_setBytes(39, v);
2591 : }
2592 :
2593 0 : @$pb.TagNumber(57)
2594 0 : $core.bool hasAssetIssuedID() => $_has(39);
2595 0 : @$pb.TagNumber(57)
2596 0 : void clearAssetIssuedID() => clearField(57);
2597 :
2598 0 : @$pb.TagNumber(58)
2599 0 : $core.Map<$core.String, $fixnum.Int64> get latestAssetOperationTimeV2 => $_getMap(40);
2600 :
2601 0 : @$pb.TagNumber(59)
2602 0 : $core.Map<$core.String, $fixnum.Int64> get freeAssetNetUsageV2 => $_getMap(41);
2603 :
2604 0 : @$pb.TagNumber(60)
2605 0 : $core.bool get assetOptimized => $_getBF(42);
2606 0 : @$pb.TagNumber(60)
2607 : set assetOptimized($core.bool v) {
2608 0 : $_setBool(42, v);
2609 : }
2610 :
2611 0 : @$pb.TagNumber(60)
2612 0 : $core.bool hasAssetOptimized() => $_has(42);
2613 0 : @$pb.TagNumber(60)
2614 0 : void clearAssetOptimized() => clearField(60);
2615 : }
2616 :
2617 : class Key extends $pb.GeneratedMessage {
2618 0 : factory Key({
2619 : $core.List<$core.int>? address,
2620 : $fixnum.Int64? weight,
2621 : }) {
2622 0 : final $result = create();
2623 : if (address != null) {
2624 0 : $result.address = address;
2625 : }
2626 : if (weight != null) {
2627 0 : $result.weight = weight;
2628 : }
2629 : return $result;
2630 : }
2631 0 : Key._() : super();
2632 0 : factory Key.fromBuffer($core.List<$core.int> i,
2633 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2634 0 : create()..mergeFromBuffer(i, r);
2635 0 : factory Key.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2636 0 : create()..mergeFromJson(i, r);
2637 :
2638 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Key',
2639 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2640 : createEmptyInstance: create)
2641 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
2642 0 : ..aInt64(2, _omitFieldNames ? '' : 'weight')
2643 0 : ..hasRequiredFields = false;
2644 :
2645 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2646 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2647 : 'Will be removed in next major version')
2648 0 : Key clone() => Key()..mergeFromMessage(this);
2649 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2650 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2651 : 'Will be removed in next major version')
2652 : Key copyWith(void Function(Key) updates) =>
2653 0 : super.copyWith((message) => updates(message as Key)) as Key;
2654 :
2655 0 : $pb.BuilderInfo get info_ => _i;
2656 :
2657 0 : @$core.pragma('dart2js:noInline')
2658 0 : static Key create() => Key._();
2659 0 : Key createEmptyInstance() => create();
2660 0 : static $pb.PbList<Key> createRepeated() => $pb.PbList<Key>();
2661 0 : @$core.pragma('dart2js:noInline')
2662 0 : static Key getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Key>(create);
2663 : static Key? _defaultInstance;
2664 :
2665 0 : @$pb.TagNumber(1)
2666 0 : $core.List<$core.int> get address => $_getN(0);
2667 0 : @$pb.TagNumber(1)
2668 : set address($core.List<$core.int> v) {
2669 0 : $_setBytes(0, v);
2670 : }
2671 :
2672 0 : @$pb.TagNumber(1)
2673 0 : $core.bool hasAddress() => $_has(0);
2674 0 : @$pb.TagNumber(1)
2675 0 : void clearAddress() => clearField(1);
2676 :
2677 0 : @$pb.TagNumber(2)
2678 0 : $fixnum.Int64 get weight => $_getI64(1);
2679 0 : @$pb.TagNumber(2)
2680 : set weight($fixnum.Int64 v) {
2681 0 : $_setInt64(1, v);
2682 : }
2683 :
2684 0 : @$pb.TagNumber(2)
2685 0 : $core.bool hasWeight() => $_has(1);
2686 0 : @$pb.TagNumber(2)
2687 0 : void clearWeight() => clearField(2);
2688 : }
2689 :
2690 : class DelegatedResource extends $pb.GeneratedMessage {
2691 0 : factory DelegatedResource({
2692 : $core.List<$core.int>? from,
2693 : $core.List<$core.int>? to,
2694 : $fixnum.Int64? frozenBalanceForBandwidth,
2695 : $fixnum.Int64? frozenBalanceForEnergy,
2696 : $fixnum.Int64? expireTimeForBandwidth,
2697 : $fixnum.Int64? expireTimeForEnergy,
2698 : }) {
2699 0 : final $result = create();
2700 : if (from != null) {
2701 0 : $result.from = from;
2702 : }
2703 : if (to != null) {
2704 0 : $result.to = to;
2705 : }
2706 : if (frozenBalanceForBandwidth != null) {
2707 0 : $result.frozenBalanceForBandwidth = frozenBalanceForBandwidth;
2708 : }
2709 : if (frozenBalanceForEnergy != null) {
2710 0 : $result.frozenBalanceForEnergy = frozenBalanceForEnergy;
2711 : }
2712 : if (expireTimeForBandwidth != null) {
2713 0 : $result.expireTimeForBandwidth = expireTimeForBandwidth;
2714 : }
2715 : if (expireTimeForEnergy != null) {
2716 0 : $result.expireTimeForEnergy = expireTimeForEnergy;
2717 : }
2718 : return $result;
2719 : }
2720 0 : DelegatedResource._() : super();
2721 0 : factory DelegatedResource.fromBuffer($core.List<$core.int> i,
2722 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2723 0 : create()..mergeFromBuffer(i, r);
2724 0 : factory DelegatedResource.fromJson($core.String i,
2725 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2726 0 : create()..mergeFromJson(i, r);
2727 :
2728 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DelegatedResource',
2729 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2730 : createEmptyInstance: create)
2731 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'from', $pb.PbFieldType.OY)
2732 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'to', $pb.PbFieldType.OY)
2733 0 : ..aInt64(3, _omitFieldNames ? '' : 'frozenBalanceForBandwidth')
2734 0 : ..aInt64(4, _omitFieldNames ? '' : 'frozenBalanceForEnergy')
2735 0 : ..aInt64(5, _omitFieldNames ? '' : 'expireTimeForBandwidth')
2736 0 : ..aInt64(6, _omitFieldNames ? '' : 'expireTimeForEnergy')
2737 0 : ..hasRequiredFields = false;
2738 :
2739 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2740 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2741 : 'Will be removed in next major version')
2742 0 : DelegatedResource clone() => DelegatedResource()..mergeFromMessage(this);
2743 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2744 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2745 : 'Will be removed in next major version')
2746 : DelegatedResource copyWith(void Function(DelegatedResource) updates) =>
2747 0 : super.copyWith((message) => updates(message as DelegatedResource)) as DelegatedResource;
2748 :
2749 0 : $pb.BuilderInfo get info_ => _i;
2750 :
2751 0 : @$core.pragma('dart2js:noInline')
2752 0 : static DelegatedResource create() => DelegatedResource._();
2753 0 : DelegatedResource createEmptyInstance() => create();
2754 0 : static $pb.PbList<DelegatedResource> createRepeated() => $pb.PbList<DelegatedResource>();
2755 0 : @$core.pragma('dart2js:noInline')
2756 : static DelegatedResource getDefault() =>
2757 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DelegatedResource>(create);
2758 : static DelegatedResource? _defaultInstance;
2759 :
2760 0 : @$pb.TagNumber(1)
2761 0 : $core.List<$core.int> get from => $_getN(0);
2762 0 : @$pb.TagNumber(1)
2763 : set from($core.List<$core.int> v) {
2764 0 : $_setBytes(0, v);
2765 : }
2766 :
2767 0 : @$pb.TagNumber(1)
2768 0 : $core.bool hasFrom() => $_has(0);
2769 0 : @$pb.TagNumber(1)
2770 0 : void clearFrom() => clearField(1);
2771 :
2772 0 : @$pb.TagNumber(2)
2773 0 : $core.List<$core.int> get to => $_getN(1);
2774 0 : @$pb.TagNumber(2)
2775 : set to($core.List<$core.int> v) {
2776 0 : $_setBytes(1, v);
2777 : }
2778 :
2779 0 : @$pb.TagNumber(2)
2780 0 : $core.bool hasTo() => $_has(1);
2781 0 : @$pb.TagNumber(2)
2782 0 : void clearTo() => clearField(2);
2783 :
2784 0 : @$pb.TagNumber(3)
2785 0 : $fixnum.Int64 get frozenBalanceForBandwidth => $_getI64(2);
2786 0 : @$pb.TagNumber(3)
2787 : set frozenBalanceForBandwidth($fixnum.Int64 v) {
2788 0 : $_setInt64(2, v);
2789 : }
2790 :
2791 0 : @$pb.TagNumber(3)
2792 0 : $core.bool hasFrozenBalanceForBandwidth() => $_has(2);
2793 0 : @$pb.TagNumber(3)
2794 0 : void clearFrozenBalanceForBandwidth() => clearField(3);
2795 :
2796 0 : @$pb.TagNumber(4)
2797 0 : $fixnum.Int64 get frozenBalanceForEnergy => $_getI64(3);
2798 0 : @$pb.TagNumber(4)
2799 : set frozenBalanceForEnergy($fixnum.Int64 v) {
2800 0 : $_setInt64(3, v);
2801 : }
2802 :
2803 0 : @$pb.TagNumber(4)
2804 0 : $core.bool hasFrozenBalanceForEnergy() => $_has(3);
2805 0 : @$pb.TagNumber(4)
2806 0 : void clearFrozenBalanceForEnergy() => clearField(4);
2807 :
2808 0 : @$pb.TagNumber(5)
2809 0 : $fixnum.Int64 get expireTimeForBandwidth => $_getI64(4);
2810 0 : @$pb.TagNumber(5)
2811 : set expireTimeForBandwidth($fixnum.Int64 v) {
2812 0 : $_setInt64(4, v);
2813 : }
2814 :
2815 0 : @$pb.TagNumber(5)
2816 0 : $core.bool hasExpireTimeForBandwidth() => $_has(4);
2817 0 : @$pb.TagNumber(5)
2818 0 : void clearExpireTimeForBandwidth() => clearField(5);
2819 :
2820 0 : @$pb.TagNumber(6)
2821 0 : $fixnum.Int64 get expireTimeForEnergy => $_getI64(5);
2822 0 : @$pb.TagNumber(6)
2823 : set expireTimeForEnergy($fixnum.Int64 v) {
2824 0 : $_setInt64(5, v);
2825 : }
2826 :
2827 0 : @$pb.TagNumber(6)
2828 0 : $core.bool hasExpireTimeForEnergy() => $_has(5);
2829 0 : @$pb.TagNumber(6)
2830 0 : void clearExpireTimeForEnergy() => clearField(6);
2831 : }
2832 :
2833 : class authority extends $pb.GeneratedMessage {
2834 0 : factory authority({
2835 : AccountId? account,
2836 : $core.List<$core.int>? permissionName,
2837 : }) {
2838 0 : final $result = create();
2839 : if (account != null) {
2840 0 : $result.account = account;
2841 : }
2842 : if (permissionName != null) {
2843 0 : $result.permissionName = permissionName;
2844 : }
2845 : return $result;
2846 : }
2847 0 : authority._() : super();
2848 0 : factory authority.fromBuffer($core.List<$core.int> i,
2849 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2850 0 : create()..mergeFromBuffer(i, r);
2851 0 : factory authority.fromJson($core.String i,
2852 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2853 0 : create()..mergeFromJson(i, r);
2854 :
2855 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'authority',
2856 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2857 : createEmptyInstance: create)
2858 0 : ..aOM<AccountId>(1, _omitFieldNames ? '' : 'account', subBuilder: AccountId.create)
2859 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'permissionName', $pb.PbFieldType.OY)
2860 0 : ..hasRequiredFields = false;
2861 :
2862 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2863 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2864 : 'Will be removed in next major version')
2865 0 : authority clone() => authority()..mergeFromMessage(this);
2866 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2867 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2868 : 'Will be removed in next major version')
2869 : authority copyWith(void Function(authority) updates) =>
2870 0 : super.copyWith((message) => updates(message as authority)) as authority;
2871 :
2872 0 : $pb.BuilderInfo get info_ => _i;
2873 :
2874 0 : @$core.pragma('dart2js:noInline')
2875 0 : static authority create() => authority._();
2876 0 : authority createEmptyInstance() => create();
2877 0 : static $pb.PbList<authority> createRepeated() => $pb.PbList<authority>();
2878 0 : @$core.pragma('dart2js:noInline')
2879 : static authority getDefault() =>
2880 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<authority>(create);
2881 : static authority? _defaultInstance;
2882 :
2883 0 : @$pb.TagNumber(1)
2884 0 : AccountId get account => $_getN(0);
2885 0 : @$pb.TagNumber(1)
2886 : set account(AccountId v) {
2887 0 : setField(1, v);
2888 : }
2889 :
2890 0 : @$pb.TagNumber(1)
2891 0 : $core.bool hasAccount() => $_has(0);
2892 0 : @$pb.TagNumber(1)
2893 0 : void clearAccount() => clearField(1);
2894 0 : @$pb.TagNumber(1)
2895 0 : AccountId ensureAccount() => $_ensure(0);
2896 :
2897 0 : @$pb.TagNumber(2)
2898 0 : $core.List<$core.int> get permissionName => $_getN(1);
2899 0 : @$pb.TagNumber(2)
2900 : set permissionName($core.List<$core.int> v) {
2901 0 : $_setBytes(1, v);
2902 : }
2903 :
2904 0 : @$pb.TagNumber(2)
2905 0 : $core.bool hasPermissionName() => $_has(1);
2906 0 : @$pb.TagNumber(2)
2907 0 : void clearPermissionName() => clearField(2);
2908 : }
2909 :
2910 : class Permission extends $pb.GeneratedMessage {
2911 0 : factory Permission({
2912 : Permission_PermissionType? type,
2913 : $core.int? id,
2914 : $core.String? permissionName,
2915 : $fixnum.Int64? threshold,
2916 : $core.int? parentId,
2917 : $core.List<$core.int>? operations,
2918 : $core.Iterable<Key>? keys,
2919 : }) {
2920 0 : final $result = create();
2921 : if (type != null) {
2922 0 : $result.type = type;
2923 : }
2924 : if (id != null) {
2925 0 : $result.id = id;
2926 : }
2927 : if (permissionName != null) {
2928 0 : $result.permissionName = permissionName;
2929 : }
2930 : if (threshold != null) {
2931 0 : $result.threshold = threshold;
2932 : }
2933 : if (parentId != null) {
2934 0 : $result.parentId = parentId;
2935 : }
2936 : if (operations != null) {
2937 0 : $result.operations = operations;
2938 : }
2939 : if (keys != null) {
2940 0 : $result.keys.addAll(keys);
2941 : }
2942 : return $result;
2943 : }
2944 0 : Permission._() : super();
2945 0 : factory Permission.fromBuffer($core.List<$core.int> i,
2946 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2947 0 : create()..mergeFromBuffer(i, r);
2948 0 : factory Permission.fromJson($core.String i,
2949 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
2950 0 : create()..mergeFromJson(i, r);
2951 :
2952 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Permission',
2953 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
2954 : createEmptyInstance: create)
2955 0 : ..e<Permission_PermissionType>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
2956 : defaultOrMaker: Permission_PermissionType.Owner,
2957 : valueOf: Permission_PermissionType.valueOf,
2958 : enumValues: Permission_PermissionType.values)
2959 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
2960 0 : ..aOS(3, _omitFieldNames ? '' : 'permissionName')
2961 0 : ..aInt64(4, _omitFieldNames ? '' : 'threshold')
2962 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'parentId', $pb.PbFieldType.O3)
2963 0 : ..a<$core.List<$core.int>>(6, _omitFieldNames ? '' : 'operations', $pb.PbFieldType.OY)
2964 0 : ..pc<Key>(7, _omitFieldNames ? '' : 'keys', $pb.PbFieldType.PM, subBuilder: Key.create)
2965 0 : ..hasRequiredFields = false;
2966 :
2967 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2968 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
2969 : 'Will be removed in next major version')
2970 0 : Permission clone() => Permission()..mergeFromMessage(this);
2971 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
2972 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
2973 : 'Will be removed in next major version')
2974 : Permission copyWith(void Function(Permission) updates) =>
2975 0 : super.copyWith((message) => updates(message as Permission)) as Permission;
2976 :
2977 0 : $pb.BuilderInfo get info_ => _i;
2978 :
2979 0 : @$core.pragma('dart2js:noInline')
2980 0 : static Permission create() => Permission._();
2981 0 : Permission createEmptyInstance() => create();
2982 0 : static $pb.PbList<Permission> createRepeated() => $pb.PbList<Permission>();
2983 0 : @$core.pragma('dart2js:noInline')
2984 : static Permission getDefault() =>
2985 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Permission>(create);
2986 : static Permission? _defaultInstance;
2987 :
2988 0 : @$pb.TagNumber(1)
2989 0 : Permission_PermissionType get type => $_getN(0);
2990 0 : @$pb.TagNumber(1)
2991 : set type(Permission_PermissionType v) {
2992 0 : setField(1, v);
2993 : }
2994 :
2995 0 : @$pb.TagNumber(1)
2996 0 : $core.bool hasType() => $_has(0);
2997 0 : @$pb.TagNumber(1)
2998 0 : void clearType() => clearField(1);
2999 :
3000 0 : @$pb.TagNumber(2)
3001 0 : $core.int get id => $_getIZ(1);
3002 0 : @$pb.TagNumber(2)
3003 : set id($core.int v) {
3004 0 : $_setSignedInt32(1, v);
3005 : }
3006 :
3007 0 : @$pb.TagNumber(2)
3008 0 : $core.bool hasId() => $_has(1);
3009 0 : @$pb.TagNumber(2)
3010 0 : void clearId() => clearField(2);
3011 :
3012 0 : @$pb.TagNumber(3)
3013 0 : $core.String get permissionName => $_getSZ(2);
3014 0 : @$pb.TagNumber(3)
3015 : set permissionName($core.String v) {
3016 0 : $_setString(2, v);
3017 : }
3018 :
3019 0 : @$pb.TagNumber(3)
3020 0 : $core.bool hasPermissionName() => $_has(2);
3021 0 : @$pb.TagNumber(3)
3022 0 : void clearPermissionName() => clearField(3);
3023 :
3024 0 : @$pb.TagNumber(4)
3025 0 : $fixnum.Int64 get threshold => $_getI64(3);
3026 0 : @$pb.TagNumber(4)
3027 : set threshold($fixnum.Int64 v) {
3028 0 : $_setInt64(3, v);
3029 : }
3030 :
3031 0 : @$pb.TagNumber(4)
3032 0 : $core.bool hasThreshold() => $_has(3);
3033 0 : @$pb.TagNumber(4)
3034 0 : void clearThreshold() => clearField(4);
3035 :
3036 0 : @$pb.TagNumber(5)
3037 0 : $core.int get parentId => $_getIZ(4);
3038 0 : @$pb.TagNumber(5)
3039 : set parentId($core.int v) {
3040 0 : $_setSignedInt32(4, v);
3041 : }
3042 :
3043 0 : @$pb.TagNumber(5)
3044 0 : $core.bool hasParentId() => $_has(4);
3045 0 : @$pb.TagNumber(5)
3046 0 : void clearParentId() => clearField(5);
3047 :
3048 0 : @$pb.TagNumber(6)
3049 0 : $core.List<$core.int> get operations => $_getN(5);
3050 0 : @$pb.TagNumber(6)
3051 : set operations($core.List<$core.int> v) {
3052 0 : $_setBytes(5, v);
3053 : }
3054 :
3055 0 : @$pb.TagNumber(6)
3056 0 : $core.bool hasOperations() => $_has(5);
3057 0 : @$pb.TagNumber(6)
3058 0 : void clearOperations() => clearField(6);
3059 :
3060 0 : @$pb.TagNumber(7)
3061 0 : $core.List<Key> get keys => $_getList(6);
3062 : }
3063 :
3064 : /// Witness
3065 : class Witness extends $pb.GeneratedMessage {
3066 0 : factory Witness({
3067 : $core.List<$core.int>? address,
3068 : $fixnum.Int64? voteCount,
3069 : $core.List<$core.int>? pubKey,
3070 : $core.String? url,
3071 : $fixnum.Int64? totalProduced,
3072 : $fixnum.Int64? totalMissed,
3073 : $fixnum.Int64? latestBlockNum,
3074 : $fixnum.Int64? latestSlotNum,
3075 : $core.bool? isJobs,
3076 : }) {
3077 0 : final $result = create();
3078 : if (address != null) {
3079 0 : $result.address = address;
3080 : }
3081 : if (voteCount != null) {
3082 0 : $result.voteCount = voteCount;
3083 : }
3084 : if (pubKey != null) {
3085 0 : $result.pubKey = pubKey;
3086 : }
3087 : if (url != null) {
3088 0 : $result.url = url;
3089 : }
3090 : if (totalProduced != null) {
3091 0 : $result.totalProduced = totalProduced;
3092 : }
3093 : if (totalMissed != null) {
3094 0 : $result.totalMissed = totalMissed;
3095 : }
3096 : if (latestBlockNum != null) {
3097 0 : $result.latestBlockNum = latestBlockNum;
3098 : }
3099 : if (latestSlotNum != null) {
3100 0 : $result.latestSlotNum = latestSlotNum;
3101 : }
3102 : if (isJobs != null) {
3103 0 : $result.isJobs = isJobs;
3104 : }
3105 : return $result;
3106 : }
3107 0 : Witness._() : super();
3108 0 : factory Witness.fromBuffer($core.List<$core.int> i,
3109 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3110 0 : create()..mergeFromBuffer(i, r);
3111 0 : factory Witness.fromJson($core.String i,
3112 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3113 0 : create()..mergeFromJson(i, r);
3114 :
3115 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Witness',
3116 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3117 : createEmptyInstance: create)
3118 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
3119 0 : ..aInt64(2, _omitFieldNames ? '' : 'voteCount', protoName: 'voteCount')
3120 0 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'pubKey', $pb.PbFieldType.OY,
3121 : protoName: 'pubKey')
3122 0 : ..aOS(4, _omitFieldNames ? '' : 'url')
3123 0 : ..aInt64(5, _omitFieldNames ? '' : 'totalProduced', protoName: 'totalProduced')
3124 0 : ..aInt64(6, _omitFieldNames ? '' : 'totalMissed', protoName: 'totalMissed')
3125 0 : ..aInt64(7, _omitFieldNames ? '' : 'latestBlockNum', protoName: 'latestBlockNum')
3126 0 : ..aInt64(8, _omitFieldNames ? '' : 'latestSlotNum', protoName: 'latestSlotNum')
3127 0 : ..aOB(9, _omitFieldNames ? '' : 'isJobs', protoName: 'isJobs')
3128 0 : ..hasRequiredFields = false;
3129 :
3130 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3131 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3132 : 'Will be removed in next major version')
3133 0 : Witness clone() => Witness()..mergeFromMessage(this);
3134 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3135 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3136 : 'Will be removed in next major version')
3137 : Witness copyWith(void Function(Witness) updates) =>
3138 0 : super.copyWith((message) => updates(message as Witness)) as Witness;
3139 :
3140 0 : $pb.BuilderInfo get info_ => _i;
3141 :
3142 0 : @$core.pragma('dart2js:noInline')
3143 0 : static Witness create() => Witness._();
3144 0 : Witness createEmptyInstance() => create();
3145 0 : static $pb.PbList<Witness> createRepeated() => $pb.PbList<Witness>();
3146 0 : @$core.pragma('dart2js:noInline')
3147 : static Witness getDefault() =>
3148 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Witness>(create);
3149 : static Witness? _defaultInstance;
3150 :
3151 0 : @$pb.TagNumber(1)
3152 0 : $core.List<$core.int> get address => $_getN(0);
3153 0 : @$pb.TagNumber(1)
3154 : set address($core.List<$core.int> v) {
3155 0 : $_setBytes(0, v);
3156 : }
3157 :
3158 0 : @$pb.TagNumber(1)
3159 0 : $core.bool hasAddress() => $_has(0);
3160 0 : @$pb.TagNumber(1)
3161 0 : void clearAddress() => clearField(1);
3162 :
3163 0 : @$pb.TagNumber(2)
3164 0 : $fixnum.Int64 get voteCount => $_getI64(1);
3165 0 : @$pb.TagNumber(2)
3166 : set voteCount($fixnum.Int64 v) {
3167 0 : $_setInt64(1, v);
3168 : }
3169 :
3170 0 : @$pb.TagNumber(2)
3171 0 : $core.bool hasVoteCount() => $_has(1);
3172 0 : @$pb.TagNumber(2)
3173 0 : void clearVoteCount() => clearField(2);
3174 :
3175 0 : @$pb.TagNumber(3)
3176 0 : $core.List<$core.int> get pubKey => $_getN(2);
3177 0 : @$pb.TagNumber(3)
3178 : set pubKey($core.List<$core.int> v) {
3179 0 : $_setBytes(2, v);
3180 : }
3181 :
3182 0 : @$pb.TagNumber(3)
3183 0 : $core.bool hasPubKey() => $_has(2);
3184 0 : @$pb.TagNumber(3)
3185 0 : void clearPubKey() => clearField(3);
3186 :
3187 0 : @$pb.TagNumber(4)
3188 0 : $core.String get url => $_getSZ(3);
3189 0 : @$pb.TagNumber(4)
3190 : set url($core.String v) {
3191 0 : $_setString(3, v);
3192 : }
3193 :
3194 0 : @$pb.TagNumber(4)
3195 0 : $core.bool hasUrl() => $_has(3);
3196 0 : @$pb.TagNumber(4)
3197 0 : void clearUrl() => clearField(4);
3198 :
3199 0 : @$pb.TagNumber(5)
3200 0 : $fixnum.Int64 get totalProduced => $_getI64(4);
3201 0 : @$pb.TagNumber(5)
3202 : set totalProduced($fixnum.Int64 v) {
3203 0 : $_setInt64(4, v);
3204 : }
3205 :
3206 0 : @$pb.TagNumber(5)
3207 0 : $core.bool hasTotalProduced() => $_has(4);
3208 0 : @$pb.TagNumber(5)
3209 0 : void clearTotalProduced() => clearField(5);
3210 :
3211 0 : @$pb.TagNumber(6)
3212 0 : $fixnum.Int64 get totalMissed => $_getI64(5);
3213 0 : @$pb.TagNumber(6)
3214 : set totalMissed($fixnum.Int64 v) {
3215 0 : $_setInt64(5, v);
3216 : }
3217 :
3218 0 : @$pb.TagNumber(6)
3219 0 : $core.bool hasTotalMissed() => $_has(5);
3220 0 : @$pb.TagNumber(6)
3221 0 : void clearTotalMissed() => clearField(6);
3222 :
3223 0 : @$pb.TagNumber(7)
3224 0 : $fixnum.Int64 get latestBlockNum => $_getI64(6);
3225 0 : @$pb.TagNumber(7)
3226 : set latestBlockNum($fixnum.Int64 v) {
3227 0 : $_setInt64(6, v);
3228 : }
3229 :
3230 0 : @$pb.TagNumber(7)
3231 0 : $core.bool hasLatestBlockNum() => $_has(6);
3232 0 : @$pb.TagNumber(7)
3233 0 : void clearLatestBlockNum() => clearField(7);
3234 :
3235 0 : @$pb.TagNumber(8)
3236 0 : $fixnum.Int64 get latestSlotNum => $_getI64(7);
3237 0 : @$pb.TagNumber(8)
3238 : set latestSlotNum($fixnum.Int64 v) {
3239 0 : $_setInt64(7, v);
3240 : }
3241 :
3242 0 : @$pb.TagNumber(8)
3243 0 : $core.bool hasLatestSlotNum() => $_has(7);
3244 0 : @$pb.TagNumber(8)
3245 0 : void clearLatestSlotNum() => clearField(8);
3246 :
3247 0 : @$pb.TagNumber(9)
3248 0 : $core.bool get isJobs => $_getBF(8);
3249 0 : @$pb.TagNumber(9)
3250 : set isJobs($core.bool v) {
3251 0 : $_setBool(8, v);
3252 : }
3253 :
3254 0 : @$pb.TagNumber(9)
3255 0 : $core.bool hasIsJobs() => $_has(8);
3256 0 : @$pb.TagNumber(9)
3257 0 : void clearIsJobs() => clearField(9);
3258 : }
3259 :
3260 : /// Vote Change
3261 : class Votes extends $pb.GeneratedMessage {
3262 0 : factory Votes({
3263 : $core.List<$core.int>? address,
3264 : $core.Iterable<Vote>? oldVotes,
3265 : $core.Iterable<Vote>? newVotes,
3266 : }) {
3267 0 : final $result = create();
3268 : if (address != null) {
3269 0 : $result.address = address;
3270 : }
3271 : if (oldVotes != null) {
3272 0 : $result.oldVotes.addAll(oldVotes);
3273 : }
3274 : if (newVotes != null) {
3275 0 : $result.newVotes.addAll(newVotes);
3276 : }
3277 : return $result;
3278 : }
3279 0 : Votes._() : super();
3280 0 : factory Votes.fromBuffer($core.List<$core.int> i,
3281 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3282 0 : create()..mergeFromBuffer(i, r);
3283 0 : factory Votes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3284 0 : create()..mergeFromJson(i, r);
3285 :
3286 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Votes',
3287 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3288 : createEmptyInstance: create)
3289 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
3290 0 : ..pc<Vote>(2, _omitFieldNames ? '' : 'oldVotes', $pb.PbFieldType.PM, subBuilder: Vote.create)
3291 0 : ..pc<Vote>(3, _omitFieldNames ? '' : 'newVotes', $pb.PbFieldType.PM, subBuilder: Vote.create)
3292 0 : ..hasRequiredFields = false;
3293 :
3294 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3295 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3296 : 'Will be removed in next major version')
3297 0 : Votes clone() => Votes()..mergeFromMessage(this);
3298 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3299 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3300 : 'Will be removed in next major version')
3301 : Votes copyWith(void Function(Votes) updates) =>
3302 0 : super.copyWith((message) => updates(message as Votes)) as Votes;
3303 :
3304 0 : $pb.BuilderInfo get info_ => _i;
3305 :
3306 0 : @$core.pragma('dart2js:noInline')
3307 0 : static Votes create() => Votes._();
3308 0 : Votes createEmptyInstance() => create();
3309 0 : static $pb.PbList<Votes> createRepeated() => $pb.PbList<Votes>();
3310 0 : @$core.pragma('dart2js:noInline')
3311 : static Votes getDefault() =>
3312 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Votes>(create);
3313 : static Votes? _defaultInstance;
3314 :
3315 0 : @$pb.TagNumber(1)
3316 0 : $core.List<$core.int> get address => $_getN(0);
3317 0 : @$pb.TagNumber(1)
3318 : set address($core.List<$core.int> v) {
3319 0 : $_setBytes(0, v);
3320 : }
3321 :
3322 0 : @$pb.TagNumber(1)
3323 0 : $core.bool hasAddress() => $_has(0);
3324 0 : @$pb.TagNumber(1)
3325 0 : void clearAddress() => clearField(1);
3326 :
3327 0 : @$pb.TagNumber(2)
3328 0 : $core.List<Vote> get oldVotes => $_getList(1);
3329 :
3330 0 : @$pb.TagNumber(3)
3331 0 : $core.List<Vote> get newVotes => $_getList(2);
3332 : }
3333 :
3334 : class TXOutput extends $pb.GeneratedMessage {
3335 0 : factory TXOutput({
3336 : $fixnum.Int64? value,
3337 : $core.List<$core.int>? pubKeyHash,
3338 : }) {
3339 0 : final $result = create();
3340 : if (value != null) {
3341 0 : $result.value = value;
3342 : }
3343 : if (pubKeyHash != null) {
3344 0 : $result.pubKeyHash = pubKeyHash;
3345 : }
3346 : return $result;
3347 : }
3348 0 : TXOutput._() : super();
3349 0 : factory TXOutput.fromBuffer($core.List<$core.int> i,
3350 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3351 0 : create()..mergeFromBuffer(i, r);
3352 0 : factory TXOutput.fromJson($core.String i,
3353 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3354 0 : create()..mergeFromJson(i, r);
3355 :
3356 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TXOutput',
3357 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3358 : createEmptyInstance: create)
3359 0 : ..aInt64(1, _omitFieldNames ? '' : 'value')
3360 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'pubKeyHash', $pb.PbFieldType.OY,
3361 : protoName: 'pubKeyHash')
3362 0 : ..hasRequiredFields = false;
3363 :
3364 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3365 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3366 : 'Will be removed in next major version')
3367 0 : TXOutput clone() => TXOutput()..mergeFromMessage(this);
3368 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3369 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3370 : 'Will be removed in next major version')
3371 : TXOutput copyWith(void Function(TXOutput) updates) =>
3372 0 : super.copyWith((message) => updates(message as TXOutput)) as TXOutput;
3373 :
3374 0 : $pb.BuilderInfo get info_ => _i;
3375 :
3376 0 : @$core.pragma('dart2js:noInline')
3377 0 : static TXOutput create() => TXOutput._();
3378 0 : TXOutput createEmptyInstance() => create();
3379 0 : static $pb.PbList<TXOutput> createRepeated() => $pb.PbList<TXOutput>();
3380 0 : @$core.pragma('dart2js:noInline')
3381 : static TXOutput getDefault() =>
3382 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXOutput>(create);
3383 : static TXOutput? _defaultInstance;
3384 :
3385 0 : @$pb.TagNumber(1)
3386 0 : $fixnum.Int64 get value => $_getI64(0);
3387 0 : @$pb.TagNumber(1)
3388 : set value($fixnum.Int64 v) {
3389 0 : $_setInt64(0, v);
3390 : }
3391 :
3392 0 : @$pb.TagNumber(1)
3393 0 : $core.bool hasValue() => $_has(0);
3394 0 : @$pb.TagNumber(1)
3395 0 : void clearValue() => clearField(1);
3396 :
3397 0 : @$pb.TagNumber(2)
3398 0 : $core.List<$core.int> get pubKeyHash => $_getN(1);
3399 0 : @$pb.TagNumber(2)
3400 : set pubKeyHash($core.List<$core.int> v) {
3401 0 : $_setBytes(1, v);
3402 : }
3403 :
3404 0 : @$pb.TagNumber(2)
3405 0 : $core.bool hasPubKeyHash() => $_has(1);
3406 0 : @$pb.TagNumber(2)
3407 0 : void clearPubKeyHash() => clearField(2);
3408 : }
3409 :
3410 : class TXInput_raw extends $pb.GeneratedMessage {
3411 0 : factory TXInput_raw({
3412 : $core.List<$core.int>? txID,
3413 : $fixnum.Int64? vout,
3414 : $core.List<$core.int>? pubKey,
3415 : }) {
3416 0 : final $result = create();
3417 : if (txID != null) {
3418 0 : $result.txID = txID;
3419 : }
3420 : if (vout != null) {
3421 0 : $result.vout = vout;
3422 : }
3423 : if (pubKey != null) {
3424 0 : $result.pubKey = pubKey;
3425 : }
3426 : return $result;
3427 : }
3428 0 : TXInput_raw._() : super();
3429 0 : factory TXInput_raw.fromBuffer($core.List<$core.int> i,
3430 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3431 0 : create()..mergeFromBuffer(i, r);
3432 0 : factory TXInput_raw.fromJson($core.String i,
3433 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3434 0 : create()..mergeFromJson(i, r);
3435 :
3436 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TXInput.raw',
3437 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3438 : createEmptyInstance: create)
3439 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'txID', $pb.PbFieldType.OY,
3440 : protoName: 'txID')
3441 0 : ..aInt64(2, _omitFieldNames ? '' : 'vout')
3442 0 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'pubKey', $pb.PbFieldType.OY,
3443 : protoName: 'pubKey')
3444 0 : ..hasRequiredFields = false;
3445 :
3446 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3447 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3448 : 'Will be removed in next major version')
3449 0 : TXInput_raw clone() => TXInput_raw()..mergeFromMessage(this);
3450 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3451 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3452 : 'Will be removed in next major version')
3453 : TXInput_raw copyWith(void Function(TXInput_raw) updates) =>
3454 0 : super.copyWith((message) => updates(message as TXInput_raw)) as TXInput_raw;
3455 :
3456 0 : $pb.BuilderInfo get info_ => _i;
3457 :
3458 0 : @$core.pragma('dart2js:noInline')
3459 0 : static TXInput_raw create() => TXInput_raw._();
3460 0 : TXInput_raw createEmptyInstance() => create();
3461 0 : static $pb.PbList<TXInput_raw> createRepeated() => $pb.PbList<TXInput_raw>();
3462 0 : @$core.pragma('dart2js:noInline')
3463 : static TXInput_raw getDefault() =>
3464 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXInput_raw>(create);
3465 : static TXInput_raw? _defaultInstance;
3466 :
3467 0 : @$pb.TagNumber(1)
3468 0 : $core.List<$core.int> get txID => $_getN(0);
3469 0 : @$pb.TagNumber(1)
3470 : set txID($core.List<$core.int> v) {
3471 0 : $_setBytes(0, v);
3472 : }
3473 :
3474 0 : @$pb.TagNumber(1)
3475 0 : $core.bool hasTxID() => $_has(0);
3476 0 : @$pb.TagNumber(1)
3477 0 : void clearTxID() => clearField(1);
3478 :
3479 0 : @$pb.TagNumber(2)
3480 0 : $fixnum.Int64 get vout => $_getI64(1);
3481 0 : @$pb.TagNumber(2)
3482 : set vout($fixnum.Int64 v) {
3483 0 : $_setInt64(1, v);
3484 : }
3485 :
3486 0 : @$pb.TagNumber(2)
3487 0 : $core.bool hasVout() => $_has(1);
3488 0 : @$pb.TagNumber(2)
3489 0 : void clearVout() => clearField(2);
3490 :
3491 0 : @$pb.TagNumber(3)
3492 0 : $core.List<$core.int> get pubKey => $_getN(2);
3493 0 : @$pb.TagNumber(3)
3494 : set pubKey($core.List<$core.int> v) {
3495 0 : $_setBytes(2, v);
3496 : }
3497 :
3498 0 : @$pb.TagNumber(3)
3499 0 : $core.bool hasPubKey() => $_has(2);
3500 0 : @$pb.TagNumber(3)
3501 0 : void clearPubKey() => clearField(3);
3502 : }
3503 :
3504 : class TXInput extends $pb.GeneratedMessage {
3505 0 : factory TXInput({
3506 : TXInput_raw? rawData,
3507 : $core.List<$core.int>? signature,
3508 : }) {
3509 0 : final $result = create();
3510 : if (rawData != null) {
3511 0 : $result.rawData = rawData;
3512 : }
3513 : if (signature != null) {
3514 0 : $result.signature = signature;
3515 : }
3516 : return $result;
3517 : }
3518 0 : TXInput._() : super();
3519 0 : factory TXInput.fromBuffer($core.List<$core.int> i,
3520 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3521 0 : create()..mergeFromBuffer(i, r);
3522 0 : factory TXInput.fromJson($core.String i,
3523 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3524 0 : create()..mergeFromJson(i, r);
3525 :
3526 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TXInput',
3527 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3528 : createEmptyInstance: create)
3529 0 : ..aOM<TXInput_raw>(1, _omitFieldNames ? '' : 'rawData', subBuilder: TXInput_raw.create)
3530 0 : ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
3531 0 : ..hasRequiredFields = false;
3532 :
3533 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3534 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3535 : 'Will be removed in next major version')
3536 0 : TXInput clone() => TXInput()..mergeFromMessage(this);
3537 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3538 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3539 : 'Will be removed in next major version')
3540 : TXInput copyWith(void Function(TXInput) updates) =>
3541 0 : super.copyWith((message) => updates(message as TXInput)) as TXInput;
3542 :
3543 0 : $pb.BuilderInfo get info_ => _i;
3544 :
3545 0 : @$core.pragma('dart2js:noInline')
3546 0 : static TXInput create() => TXInput._();
3547 0 : TXInput createEmptyInstance() => create();
3548 0 : static $pb.PbList<TXInput> createRepeated() => $pb.PbList<TXInput>();
3549 0 : @$core.pragma('dart2js:noInline')
3550 : static TXInput getDefault() =>
3551 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXInput>(create);
3552 : static TXInput? _defaultInstance;
3553 :
3554 0 : @$pb.TagNumber(1)
3555 0 : TXInput_raw get rawData => $_getN(0);
3556 0 : @$pb.TagNumber(1)
3557 : set rawData(TXInput_raw v) {
3558 0 : setField(1, v);
3559 : }
3560 :
3561 0 : @$pb.TagNumber(1)
3562 0 : $core.bool hasRawData() => $_has(0);
3563 0 : @$pb.TagNumber(1)
3564 0 : void clearRawData() => clearField(1);
3565 0 : @$pb.TagNumber(1)
3566 0 : TXInput_raw ensureRawData() => $_ensure(0);
3567 :
3568 0 : @$pb.TagNumber(4)
3569 0 : $core.List<$core.int> get signature => $_getN(1);
3570 0 : @$pb.TagNumber(4)
3571 : set signature($core.List<$core.int> v) {
3572 0 : $_setBytes(1, v);
3573 : }
3574 :
3575 0 : @$pb.TagNumber(4)
3576 0 : $core.bool hasSignature() => $_has(1);
3577 0 : @$pb.TagNumber(4)
3578 0 : void clearSignature() => clearField(4);
3579 : }
3580 :
3581 : class TXOutputs extends $pb.GeneratedMessage {
3582 0 : factory TXOutputs({
3583 : $core.Iterable<TXOutput>? outputs,
3584 : }) {
3585 0 : final $result = create();
3586 : if (outputs != null) {
3587 0 : $result.outputs.addAll(outputs);
3588 : }
3589 : return $result;
3590 : }
3591 0 : TXOutputs._() : super();
3592 0 : factory TXOutputs.fromBuffer($core.List<$core.int> i,
3593 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3594 0 : create()..mergeFromBuffer(i, r);
3595 0 : factory TXOutputs.fromJson($core.String i,
3596 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3597 0 : create()..mergeFromJson(i, r);
3598 :
3599 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TXOutputs',
3600 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3601 : createEmptyInstance: create)
3602 0 : ..pc<TXOutput>(1, _omitFieldNames ? '' : 'outputs', $pb.PbFieldType.PM,
3603 : subBuilder: TXOutput.create)
3604 0 : ..hasRequiredFields = false;
3605 :
3606 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3607 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3608 : 'Will be removed in next major version')
3609 0 : TXOutputs clone() => TXOutputs()..mergeFromMessage(this);
3610 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3611 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3612 : 'Will be removed in next major version')
3613 : TXOutputs copyWith(void Function(TXOutputs) updates) =>
3614 0 : super.copyWith((message) => updates(message as TXOutputs)) as TXOutputs;
3615 :
3616 0 : $pb.BuilderInfo get info_ => _i;
3617 :
3618 0 : @$core.pragma('dart2js:noInline')
3619 0 : static TXOutputs create() => TXOutputs._();
3620 0 : TXOutputs createEmptyInstance() => create();
3621 0 : static $pb.PbList<TXOutputs> createRepeated() => $pb.PbList<TXOutputs>();
3622 0 : @$core.pragma('dart2js:noInline')
3623 : static TXOutputs getDefault() =>
3624 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TXOutputs>(create);
3625 : static TXOutputs? _defaultInstance;
3626 :
3627 0 : @$pb.TagNumber(1)
3628 0 : $core.List<TXOutput> get outputs => $_getList(0);
3629 : }
3630 :
3631 : class ResourceReceipt extends $pb.GeneratedMessage {
3632 0 : factory ResourceReceipt({
3633 : $fixnum.Int64? energyUsage,
3634 : $fixnum.Int64? energyFee,
3635 : $fixnum.Int64? originEnergyUsage,
3636 : $fixnum.Int64? energyUsageTotal,
3637 : $fixnum.Int64? netUsage,
3638 : $fixnum.Int64? netFee,
3639 : Transaction_Result_contractResult? result,
3640 : $fixnum.Int64? energyPenaltyTotal,
3641 : }) {
3642 0 : final $result = create();
3643 : if (energyUsage != null) {
3644 0 : $result.energyUsage = energyUsage;
3645 : }
3646 : if (energyFee != null) {
3647 0 : $result.energyFee = energyFee;
3648 : }
3649 : if (originEnergyUsage != null) {
3650 0 : $result.originEnergyUsage = originEnergyUsage;
3651 : }
3652 : if (energyUsageTotal != null) {
3653 0 : $result.energyUsageTotal = energyUsageTotal;
3654 : }
3655 : if (netUsage != null) {
3656 0 : $result.netUsage = netUsage;
3657 : }
3658 : if (netFee != null) {
3659 0 : $result.netFee = netFee;
3660 : }
3661 : if (result != null) {
3662 0 : $result.result = result;
3663 : }
3664 : if (energyPenaltyTotal != null) {
3665 0 : $result.energyPenaltyTotal = energyPenaltyTotal;
3666 : }
3667 : return $result;
3668 : }
3669 0 : ResourceReceipt._() : super();
3670 0 : factory ResourceReceipt.fromBuffer($core.List<$core.int> i,
3671 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3672 0 : create()..mergeFromBuffer(i, r);
3673 0 : factory ResourceReceipt.fromJson($core.String i,
3674 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3675 0 : create()..mergeFromJson(i, r);
3676 :
3677 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceReceipt',
3678 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3679 : createEmptyInstance: create)
3680 0 : ..aInt64(1, _omitFieldNames ? '' : 'energyUsage')
3681 0 : ..aInt64(2, _omitFieldNames ? '' : 'energyFee')
3682 0 : ..aInt64(3, _omitFieldNames ? '' : 'originEnergyUsage')
3683 0 : ..aInt64(4, _omitFieldNames ? '' : 'energyUsageTotal')
3684 0 : ..aInt64(5, _omitFieldNames ? '' : 'netUsage')
3685 0 : ..aInt64(6, _omitFieldNames ? '' : 'netFee')
3686 0 : ..e<Transaction_Result_contractResult>(7, _omitFieldNames ? '' : 'result', $pb.PbFieldType.OE,
3687 : defaultOrMaker: Transaction_Result_contractResult.DEFAULT,
3688 : valueOf: Transaction_Result_contractResult.valueOf,
3689 : enumValues: Transaction_Result_contractResult.values)
3690 0 : ..aInt64(8, _omitFieldNames ? '' : 'energyPenaltyTotal')
3691 0 : ..hasRequiredFields = false;
3692 :
3693 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3694 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3695 : 'Will be removed in next major version')
3696 0 : ResourceReceipt clone() => ResourceReceipt()..mergeFromMessage(this);
3697 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3698 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3699 : 'Will be removed in next major version')
3700 : ResourceReceipt copyWith(void Function(ResourceReceipt) updates) =>
3701 0 : super.copyWith((message) => updates(message as ResourceReceipt)) as ResourceReceipt;
3702 :
3703 0 : $pb.BuilderInfo get info_ => _i;
3704 :
3705 0 : @$core.pragma('dart2js:noInline')
3706 0 : static ResourceReceipt create() => ResourceReceipt._();
3707 0 : ResourceReceipt createEmptyInstance() => create();
3708 0 : static $pb.PbList<ResourceReceipt> createRepeated() => $pb.PbList<ResourceReceipt>();
3709 0 : @$core.pragma('dart2js:noInline')
3710 : static ResourceReceipt getDefault() =>
3711 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ResourceReceipt>(create);
3712 : static ResourceReceipt? _defaultInstance;
3713 :
3714 0 : @$pb.TagNumber(1)
3715 0 : $fixnum.Int64 get energyUsage => $_getI64(0);
3716 0 : @$pb.TagNumber(1)
3717 : set energyUsage($fixnum.Int64 v) {
3718 0 : $_setInt64(0, v);
3719 : }
3720 :
3721 0 : @$pb.TagNumber(1)
3722 0 : $core.bool hasEnergyUsage() => $_has(0);
3723 0 : @$pb.TagNumber(1)
3724 0 : void clearEnergyUsage() => clearField(1);
3725 :
3726 0 : @$pb.TagNumber(2)
3727 0 : $fixnum.Int64 get energyFee => $_getI64(1);
3728 0 : @$pb.TagNumber(2)
3729 : set energyFee($fixnum.Int64 v) {
3730 0 : $_setInt64(1, v);
3731 : }
3732 :
3733 0 : @$pb.TagNumber(2)
3734 0 : $core.bool hasEnergyFee() => $_has(1);
3735 0 : @$pb.TagNumber(2)
3736 0 : void clearEnergyFee() => clearField(2);
3737 :
3738 0 : @$pb.TagNumber(3)
3739 0 : $fixnum.Int64 get originEnergyUsage => $_getI64(2);
3740 0 : @$pb.TagNumber(3)
3741 : set originEnergyUsage($fixnum.Int64 v) {
3742 0 : $_setInt64(2, v);
3743 : }
3744 :
3745 0 : @$pb.TagNumber(3)
3746 0 : $core.bool hasOriginEnergyUsage() => $_has(2);
3747 0 : @$pb.TagNumber(3)
3748 0 : void clearOriginEnergyUsage() => clearField(3);
3749 :
3750 0 : @$pb.TagNumber(4)
3751 0 : $fixnum.Int64 get energyUsageTotal => $_getI64(3);
3752 0 : @$pb.TagNumber(4)
3753 : set energyUsageTotal($fixnum.Int64 v) {
3754 0 : $_setInt64(3, v);
3755 : }
3756 :
3757 0 : @$pb.TagNumber(4)
3758 0 : $core.bool hasEnergyUsageTotal() => $_has(3);
3759 0 : @$pb.TagNumber(4)
3760 0 : void clearEnergyUsageTotal() => clearField(4);
3761 :
3762 0 : @$pb.TagNumber(5)
3763 0 : $fixnum.Int64 get netUsage => $_getI64(4);
3764 0 : @$pb.TagNumber(5)
3765 : set netUsage($fixnum.Int64 v) {
3766 0 : $_setInt64(4, v);
3767 : }
3768 :
3769 0 : @$pb.TagNumber(5)
3770 0 : $core.bool hasNetUsage() => $_has(4);
3771 0 : @$pb.TagNumber(5)
3772 0 : void clearNetUsage() => clearField(5);
3773 :
3774 0 : @$pb.TagNumber(6)
3775 0 : $fixnum.Int64 get netFee => $_getI64(5);
3776 0 : @$pb.TagNumber(6)
3777 : set netFee($fixnum.Int64 v) {
3778 0 : $_setInt64(5, v);
3779 : }
3780 :
3781 0 : @$pb.TagNumber(6)
3782 0 : $core.bool hasNetFee() => $_has(5);
3783 0 : @$pb.TagNumber(6)
3784 0 : void clearNetFee() => clearField(6);
3785 :
3786 0 : @$pb.TagNumber(7)
3787 0 : Transaction_Result_contractResult get result => $_getN(6);
3788 0 : @$pb.TagNumber(7)
3789 : set result(Transaction_Result_contractResult v) {
3790 0 : setField(7, v);
3791 : }
3792 :
3793 0 : @$pb.TagNumber(7)
3794 0 : $core.bool hasResult() => $_has(6);
3795 0 : @$pb.TagNumber(7)
3796 0 : void clearResult() => clearField(7);
3797 :
3798 0 : @$pb.TagNumber(8)
3799 0 : $fixnum.Int64 get energyPenaltyTotal => $_getI64(7);
3800 0 : @$pb.TagNumber(8)
3801 : set energyPenaltyTotal($fixnum.Int64 v) {
3802 0 : $_setInt64(7, v);
3803 : }
3804 :
3805 0 : @$pb.TagNumber(8)
3806 0 : $core.bool hasEnergyPenaltyTotal() => $_has(7);
3807 0 : @$pb.TagNumber(8)
3808 0 : void clearEnergyPenaltyTotal() => clearField(8);
3809 : }
3810 :
3811 : class MarketOrderDetail extends $pb.GeneratedMessage {
3812 0 : factory MarketOrderDetail({
3813 : $core.List<$core.int>? makerOrderId,
3814 : $core.List<$core.int>? takerOrderId,
3815 : $fixnum.Int64? fillSellQuantity,
3816 : $fixnum.Int64? fillBuyQuantity,
3817 : }) {
3818 0 : final $result = create();
3819 : if (makerOrderId != null) {
3820 0 : $result.makerOrderId = makerOrderId;
3821 : }
3822 : if (takerOrderId != null) {
3823 0 : $result.takerOrderId = takerOrderId;
3824 : }
3825 : if (fillSellQuantity != null) {
3826 0 : $result.fillSellQuantity = fillSellQuantity;
3827 : }
3828 : if (fillBuyQuantity != null) {
3829 0 : $result.fillBuyQuantity = fillBuyQuantity;
3830 : }
3831 : return $result;
3832 : }
3833 0 : MarketOrderDetail._() : super();
3834 0 : factory MarketOrderDetail.fromBuffer($core.List<$core.int> i,
3835 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3836 0 : create()..mergeFromBuffer(i, r);
3837 0 : factory MarketOrderDetail.fromJson($core.String i,
3838 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3839 0 : create()..mergeFromJson(i, r);
3840 :
3841 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarketOrderDetail',
3842 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3843 : createEmptyInstance: create)
3844 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'makerOrderId', $pb.PbFieldType.OY,
3845 : protoName: 'makerOrderId')
3846 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'takerOrderId', $pb.PbFieldType.OY,
3847 : protoName: 'takerOrderId')
3848 0 : ..aInt64(3, _omitFieldNames ? '' : 'fillSellQuantity', protoName: 'fillSellQuantity')
3849 0 : ..aInt64(4, _omitFieldNames ? '' : 'fillBuyQuantity', protoName: 'fillBuyQuantity')
3850 0 : ..hasRequiredFields = false;
3851 :
3852 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3853 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3854 : 'Will be removed in next major version')
3855 0 : MarketOrderDetail clone() => MarketOrderDetail()..mergeFromMessage(this);
3856 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3857 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3858 : 'Will be removed in next major version')
3859 : MarketOrderDetail copyWith(void Function(MarketOrderDetail) updates) =>
3860 0 : super.copyWith((message) => updates(message as MarketOrderDetail)) as MarketOrderDetail;
3861 :
3862 0 : $pb.BuilderInfo get info_ => _i;
3863 :
3864 0 : @$core.pragma('dart2js:noInline')
3865 0 : static MarketOrderDetail create() => MarketOrderDetail._();
3866 0 : MarketOrderDetail createEmptyInstance() => create();
3867 0 : static $pb.PbList<MarketOrderDetail> createRepeated() => $pb.PbList<MarketOrderDetail>();
3868 0 : @$core.pragma('dart2js:noInline')
3869 : static MarketOrderDetail getDefault() =>
3870 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MarketOrderDetail>(create);
3871 : static MarketOrderDetail? _defaultInstance;
3872 :
3873 0 : @$pb.TagNumber(1)
3874 0 : $core.List<$core.int> get makerOrderId => $_getN(0);
3875 0 : @$pb.TagNumber(1)
3876 : set makerOrderId($core.List<$core.int> v) {
3877 0 : $_setBytes(0, v);
3878 : }
3879 :
3880 0 : @$pb.TagNumber(1)
3881 0 : $core.bool hasMakerOrderId() => $_has(0);
3882 0 : @$pb.TagNumber(1)
3883 0 : void clearMakerOrderId() => clearField(1);
3884 :
3885 0 : @$pb.TagNumber(2)
3886 0 : $core.List<$core.int> get takerOrderId => $_getN(1);
3887 0 : @$pb.TagNumber(2)
3888 : set takerOrderId($core.List<$core.int> v) {
3889 0 : $_setBytes(1, v);
3890 : }
3891 :
3892 0 : @$pb.TagNumber(2)
3893 0 : $core.bool hasTakerOrderId() => $_has(1);
3894 0 : @$pb.TagNumber(2)
3895 0 : void clearTakerOrderId() => clearField(2);
3896 :
3897 0 : @$pb.TagNumber(3)
3898 0 : $fixnum.Int64 get fillSellQuantity => $_getI64(2);
3899 0 : @$pb.TagNumber(3)
3900 : set fillSellQuantity($fixnum.Int64 v) {
3901 0 : $_setInt64(2, v);
3902 : }
3903 :
3904 0 : @$pb.TagNumber(3)
3905 0 : $core.bool hasFillSellQuantity() => $_has(2);
3906 0 : @$pb.TagNumber(3)
3907 0 : void clearFillSellQuantity() => clearField(3);
3908 :
3909 0 : @$pb.TagNumber(4)
3910 0 : $fixnum.Int64 get fillBuyQuantity => $_getI64(3);
3911 0 : @$pb.TagNumber(4)
3912 : set fillBuyQuantity($fixnum.Int64 v) {
3913 0 : $_setInt64(3, v);
3914 : }
3915 :
3916 0 : @$pb.TagNumber(4)
3917 0 : $core.bool hasFillBuyQuantity() => $_has(3);
3918 0 : @$pb.TagNumber(4)
3919 0 : void clearFillBuyQuantity() => clearField(4);
3920 : }
3921 :
3922 : class Transaction_Contract extends $pb.GeneratedMessage {
3923 1 : factory Transaction_Contract({
3924 : Transaction_Contract_ContractType? type,
3925 : $12.Any? parameter,
3926 : $core.List<$core.int>? provider,
3927 : $core.List<$core.int>? contractName,
3928 : $core.int? permissionId,
3929 : }) {
3930 1 : final $result = create();
3931 : if (type != null) {
3932 1 : $result.type = type;
3933 : }
3934 : if (parameter != null) {
3935 1 : $result.parameter = parameter;
3936 : }
3937 : if (provider != null) {
3938 0 : $result.provider = provider;
3939 : }
3940 : if (contractName != null) {
3941 0 : $result.contractName = contractName;
3942 : }
3943 : if (permissionId != null) {
3944 0 : $result.permissionId = permissionId;
3945 : }
3946 : return $result;
3947 : }
3948 4 : Transaction_Contract._() : super();
3949 0 : factory Transaction_Contract.fromBuffer($core.List<$core.int> i,
3950 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3951 0 : create()..mergeFromBuffer(i, r);
3952 0 : factory Transaction_Contract.fromJson($core.String i,
3953 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
3954 0 : create()..mergeFromJson(i, r);
3955 :
3956 6 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transaction.Contract',
3957 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
3958 : createEmptyInstance: create)
3959 2 : ..e<Transaction_Contract_ContractType>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
3960 : defaultOrMaker: Transaction_Contract_ContractType.AccountCreateContract,
3961 : valueOf: Transaction_Contract_ContractType.valueOf,
3962 : enumValues: Transaction_Contract_ContractType.values)
3963 2 : ..aOM<$12.Any>(2, _omitFieldNames ? '' : 'parameter', subBuilder: $12.Any.create)
3964 2 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'provider', $pb.PbFieldType.OY)
3965 2 : ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'ContractName', $pb.PbFieldType.OY,
3966 : protoName: 'ContractName')
3967 2 : ..a<$core.int>(5, _omitFieldNames ? '' : 'PermissionId', $pb.PbFieldType.O3,
3968 : protoName: 'Permission_id')
3969 2 : ..hasRequiredFields = false;
3970 :
3971 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3972 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3973 : 'Will be removed in next major version')
3974 0 : Transaction_Contract clone() => Transaction_Contract()..mergeFromMessage(this);
3975 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
3976 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3977 : 'Will be removed in next major version')
3978 : Transaction_Contract copyWith(void Function(Transaction_Contract) updates) =>
3979 0 : super.copyWith((message) => updates(message as Transaction_Contract)) as Transaction_Contract;
3980 :
3981 4 : $pb.BuilderInfo get info_ => _i;
3982 :
3983 2 : @$core.pragma('dart2js:noInline')
3984 2 : static Transaction_Contract create() => Transaction_Contract._();
3985 0 : Transaction_Contract createEmptyInstance() => create();
3986 0 : static $pb.PbList<Transaction_Contract> createRepeated() => $pb.PbList<Transaction_Contract>();
3987 0 : @$core.pragma('dart2js:noInline')
3988 : static Transaction_Contract getDefault() =>
3989 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Transaction_Contract>(create);
3990 : static Transaction_Contract? _defaultInstance;
3991 :
3992 1 : @$pb.TagNumber(1)
3993 1 : Transaction_Contract_ContractType get type => $_getN(0);
3994 1 : @$pb.TagNumber(1)
3995 : set type(Transaction_Contract_ContractType v) {
3996 1 : setField(1, v);
3997 : }
3998 :
3999 0 : @$pb.TagNumber(1)
4000 0 : $core.bool hasType() => $_has(0);
4001 0 : @$pb.TagNumber(1)
4002 0 : void clearType() => clearField(1);
4003 :
4004 2 : @$pb.TagNumber(2)
4005 2 : $12.Any get parameter => $_getN(1);
4006 1 : @$pb.TagNumber(2)
4007 : set parameter($12.Any v) {
4008 1 : setField(2, v);
4009 : }
4010 :
4011 0 : @$pb.TagNumber(2)
4012 0 : $core.bool hasParameter() => $_has(1);
4013 0 : @$pb.TagNumber(2)
4014 0 : void clearParameter() => clearField(2);
4015 0 : @$pb.TagNumber(2)
4016 0 : $12.Any ensureParameter() => $_ensure(1);
4017 :
4018 0 : @$pb.TagNumber(3)
4019 0 : $core.List<$core.int> get provider => $_getN(2);
4020 0 : @$pb.TagNumber(3)
4021 : set provider($core.List<$core.int> v) {
4022 0 : $_setBytes(2, v);
4023 : }
4024 :
4025 0 : @$pb.TagNumber(3)
4026 0 : $core.bool hasProvider() => $_has(2);
4027 0 : @$pb.TagNumber(3)
4028 0 : void clearProvider() => clearField(3);
4029 :
4030 0 : @$pb.TagNumber(4)
4031 0 : $core.List<$core.int> get contractName => $_getN(3);
4032 0 : @$pb.TagNumber(4)
4033 : set contractName($core.List<$core.int> v) {
4034 0 : $_setBytes(3, v);
4035 : }
4036 :
4037 0 : @$pb.TagNumber(4)
4038 0 : $core.bool hasContractName() => $_has(3);
4039 0 : @$pb.TagNumber(4)
4040 0 : void clearContractName() => clearField(4);
4041 :
4042 0 : @$pb.TagNumber(5)
4043 0 : $core.int get permissionId => $_getIZ(4);
4044 0 : @$pb.TagNumber(5)
4045 : set permissionId($core.int v) {
4046 0 : $_setSignedInt32(4, v);
4047 : }
4048 :
4049 0 : @$pb.TagNumber(5)
4050 0 : $core.bool hasPermissionId() => $_has(4);
4051 0 : @$pb.TagNumber(5)
4052 0 : void clearPermissionId() => clearField(5);
4053 : }
4054 :
4055 : class Transaction_Result extends $pb.GeneratedMessage {
4056 0 : factory Transaction_Result({
4057 : $fixnum.Int64? fee,
4058 : Transaction_Result_code? ret,
4059 : Transaction_Result_contractResult? contractRet,
4060 : $core.String? assetIssueID,
4061 : $fixnum.Int64? withdrawAmount,
4062 : $fixnum.Int64? unfreezeAmount,
4063 : $fixnum.Int64? exchangeReceivedAmount,
4064 : $fixnum.Int64? exchangeInjectAnotherAmount,
4065 : $fixnum.Int64? exchangeWithdrawAnotherAmount,
4066 : $fixnum.Int64? exchangeId,
4067 : $fixnum.Int64? shieldedTransactionFee,
4068 : $core.List<$core.int>? orderId,
4069 : $core.Iterable<MarketOrderDetail>? orderDetails,
4070 : $fixnum.Int64? withdrawExpireAmount,
4071 : $core.Map<$core.String, $fixnum.Int64>? cancelUnfreezeV2Amount,
4072 : }) {
4073 0 : final $result = create();
4074 : if (fee != null) {
4075 0 : $result.fee = fee;
4076 : }
4077 : if (ret != null) {
4078 0 : $result.ret = ret;
4079 : }
4080 : if (contractRet != null) {
4081 0 : $result.contractRet = contractRet;
4082 : }
4083 : if (assetIssueID != null) {
4084 0 : $result.assetIssueID = assetIssueID;
4085 : }
4086 : if (withdrawAmount != null) {
4087 0 : $result.withdrawAmount = withdrawAmount;
4088 : }
4089 : if (unfreezeAmount != null) {
4090 0 : $result.unfreezeAmount = unfreezeAmount;
4091 : }
4092 : if (exchangeReceivedAmount != null) {
4093 0 : $result.exchangeReceivedAmount = exchangeReceivedAmount;
4094 : }
4095 : if (exchangeInjectAnotherAmount != null) {
4096 0 : $result.exchangeInjectAnotherAmount = exchangeInjectAnotherAmount;
4097 : }
4098 : if (exchangeWithdrawAnotherAmount != null) {
4099 0 : $result.exchangeWithdrawAnotherAmount = exchangeWithdrawAnotherAmount;
4100 : }
4101 : if (exchangeId != null) {
4102 0 : $result.exchangeId = exchangeId;
4103 : }
4104 : if (shieldedTransactionFee != null) {
4105 0 : $result.shieldedTransactionFee = shieldedTransactionFee;
4106 : }
4107 : if (orderId != null) {
4108 0 : $result.orderId = orderId;
4109 : }
4110 : if (orderDetails != null) {
4111 0 : $result.orderDetails.addAll(orderDetails);
4112 : }
4113 : if (withdrawExpireAmount != null) {
4114 0 : $result.withdrawExpireAmount = withdrawExpireAmount;
4115 : }
4116 : if (cancelUnfreezeV2Amount != null) {
4117 0 : $result.cancelUnfreezeV2Amount.addAll(cancelUnfreezeV2Amount);
4118 : }
4119 : return $result;
4120 : }
4121 0 : Transaction_Result._() : super();
4122 0 : factory Transaction_Result.fromBuffer($core.List<$core.int> i,
4123 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4124 0 : create()..mergeFromBuffer(i, r);
4125 0 : factory Transaction_Result.fromJson($core.String i,
4126 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4127 0 : create()..mergeFromJson(i, r);
4128 :
4129 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transaction.Result',
4130 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4131 : createEmptyInstance: create)
4132 0 : ..aInt64(1, _omitFieldNames ? '' : 'fee')
4133 0 : ..e<Transaction_Result_code>(2, _omitFieldNames ? '' : 'ret', $pb.PbFieldType.OE,
4134 : defaultOrMaker: Transaction_Result_code.SUCESS,
4135 : valueOf: Transaction_Result_code.valueOf,
4136 : enumValues: Transaction_Result_code.values)
4137 0 : ..e<Transaction_Result_contractResult>(
4138 : 3, _omitFieldNames ? '' : 'contractRet', $pb.PbFieldType.OE,
4139 : protoName: 'contractRet',
4140 : defaultOrMaker: Transaction_Result_contractResult.DEFAULT,
4141 : valueOf: Transaction_Result_contractResult.valueOf,
4142 : enumValues: Transaction_Result_contractResult.values)
4143 0 : ..aOS(14, _omitFieldNames ? '' : 'assetIssueID', protoName: 'assetIssueID')
4144 0 : ..aInt64(15, _omitFieldNames ? '' : 'withdrawAmount')
4145 0 : ..aInt64(16, _omitFieldNames ? '' : 'unfreezeAmount')
4146 0 : ..aInt64(18, _omitFieldNames ? '' : 'exchangeReceivedAmount')
4147 0 : ..aInt64(19, _omitFieldNames ? '' : 'exchangeInjectAnotherAmount')
4148 0 : ..aInt64(20, _omitFieldNames ? '' : 'exchangeWithdrawAnotherAmount')
4149 0 : ..aInt64(21, _omitFieldNames ? '' : 'exchangeId')
4150 0 : ..aInt64(22, _omitFieldNames ? '' : 'shieldedTransactionFee')
4151 0 : ..a<$core.List<$core.int>>(25, _omitFieldNames ? '' : 'orderId', $pb.PbFieldType.OY,
4152 : protoName: 'orderId')
4153 0 : ..pc<MarketOrderDetail>(26, _omitFieldNames ? '' : 'orderDetails', $pb.PbFieldType.PM,
4154 : protoName: 'orderDetails', subBuilder: MarketOrderDetail.create)
4155 0 : ..aInt64(27, _omitFieldNames ? '' : 'withdrawExpireAmount')
4156 0 : ..m<$core.String, $fixnum.Int64>(28, _omitFieldNames ? '' : 'cancelUnfreezeV2Amount',
4157 : protoName: 'cancel_unfreezeV2_amount',
4158 : entryClassName: 'Transaction.Result.CancelUnfreezeV2AmountEntry',
4159 : keyFieldType: $pb.PbFieldType.OS,
4160 : valueFieldType: $pb.PbFieldType.O6,
4161 : packageName: const $pb.PackageName('protocol'))
4162 0 : ..hasRequiredFields = false;
4163 :
4164 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4165 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4166 : 'Will be removed in next major version')
4167 0 : Transaction_Result clone() => Transaction_Result()..mergeFromMessage(this);
4168 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4169 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4170 : 'Will be removed in next major version')
4171 : Transaction_Result copyWith(void Function(Transaction_Result) updates) =>
4172 0 : super.copyWith((message) => updates(message as Transaction_Result)) as Transaction_Result;
4173 :
4174 0 : $pb.BuilderInfo get info_ => _i;
4175 :
4176 0 : @$core.pragma('dart2js:noInline')
4177 0 : static Transaction_Result create() => Transaction_Result._();
4178 0 : Transaction_Result createEmptyInstance() => create();
4179 0 : static $pb.PbList<Transaction_Result> createRepeated() => $pb.PbList<Transaction_Result>();
4180 0 : @$core.pragma('dart2js:noInline')
4181 : static Transaction_Result getDefault() =>
4182 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Transaction_Result>(create);
4183 : static Transaction_Result? _defaultInstance;
4184 :
4185 0 : @$pb.TagNumber(1)
4186 0 : $fixnum.Int64 get fee => $_getI64(0);
4187 0 : @$pb.TagNumber(1)
4188 : set fee($fixnum.Int64 v) {
4189 0 : $_setInt64(0, v);
4190 : }
4191 :
4192 0 : @$pb.TagNumber(1)
4193 0 : $core.bool hasFee() => $_has(0);
4194 0 : @$pb.TagNumber(1)
4195 0 : void clearFee() => clearField(1);
4196 :
4197 0 : @$pb.TagNumber(2)
4198 0 : Transaction_Result_code get ret => $_getN(1);
4199 0 : @$pb.TagNumber(2)
4200 : set ret(Transaction_Result_code v) {
4201 0 : setField(2, v);
4202 : }
4203 :
4204 0 : @$pb.TagNumber(2)
4205 0 : $core.bool hasRet() => $_has(1);
4206 0 : @$pb.TagNumber(2)
4207 0 : void clearRet() => clearField(2);
4208 :
4209 0 : @$pb.TagNumber(3)
4210 0 : Transaction_Result_contractResult get contractRet => $_getN(2);
4211 0 : @$pb.TagNumber(3)
4212 : set contractRet(Transaction_Result_contractResult v) {
4213 0 : setField(3, v);
4214 : }
4215 :
4216 0 : @$pb.TagNumber(3)
4217 0 : $core.bool hasContractRet() => $_has(2);
4218 0 : @$pb.TagNumber(3)
4219 0 : void clearContractRet() => clearField(3);
4220 :
4221 0 : @$pb.TagNumber(14)
4222 0 : $core.String get assetIssueID => $_getSZ(3);
4223 0 : @$pb.TagNumber(14)
4224 : set assetIssueID($core.String v) {
4225 0 : $_setString(3, v);
4226 : }
4227 :
4228 0 : @$pb.TagNumber(14)
4229 0 : $core.bool hasAssetIssueID() => $_has(3);
4230 0 : @$pb.TagNumber(14)
4231 0 : void clearAssetIssueID() => clearField(14);
4232 :
4233 0 : @$pb.TagNumber(15)
4234 0 : $fixnum.Int64 get withdrawAmount => $_getI64(4);
4235 0 : @$pb.TagNumber(15)
4236 : set withdrawAmount($fixnum.Int64 v) {
4237 0 : $_setInt64(4, v);
4238 : }
4239 :
4240 0 : @$pb.TagNumber(15)
4241 0 : $core.bool hasWithdrawAmount() => $_has(4);
4242 0 : @$pb.TagNumber(15)
4243 0 : void clearWithdrawAmount() => clearField(15);
4244 :
4245 0 : @$pb.TagNumber(16)
4246 0 : $fixnum.Int64 get unfreezeAmount => $_getI64(5);
4247 0 : @$pb.TagNumber(16)
4248 : set unfreezeAmount($fixnum.Int64 v) {
4249 0 : $_setInt64(5, v);
4250 : }
4251 :
4252 0 : @$pb.TagNumber(16)
4253 0 : $core.bool hasUnfreezeAmount() => $_has(5);
4254 0 : @$pb.TagNumber(16)
4255 0 : void clearUnfreezeAmount() => clearField(16);
4256 :
4257 0 : @$pb.TagNumber(18)
4258 0 : $fixnum.Int64 get exchangeReceivedAmount => $_getI64(6);
4259 0 : @$pb.TagNumber(18)
4260 : set exchangeReceivedAmount($fixnum.Int64 v) {
4261 0 : $_setInt64(6, v);
4262 : }
4263 :
4264 0 : @$pb.TagNumber(18)
4265 0 : $core.bool hasExchangeReceivedAmount() => $_has(6);
4266 0 : @$pb.TagNumber(18)
4267 0 : void clearExchangeReceivedAmount() => clearField(18);
4268 :
4269 0 : @$pb.TagNumber(19)
4270 0 : $fixnum.Int64 get exchangeInjectAnotherAmount => $_getI64(7);
4271 0 : @$pb.TagNumber(19)
4272 : set exchangeInjectAnotherAmount($fixnum.Int64 v) {
4273 0 : $_setInt64(7, v);
4274 : }
4275 :
4276 0 : @$pb.TagNumber(19)
4277 0 : $core.bool hasExchangeInjectAnotherAmount() => $_has(7);
4278 0 : @$pb.TagNumber(19)
4279 0 : void clearExchangeInjectAnotherAmount() => clearField(19);
4280 :
4281 0 : @$pb.TagNumber(20)
4282 0 : $fixnum.Int64 get exchangeWithdrawAnotherAmount => $_getI64(8);
4283 0 : @$pb.TagNumber(20)
4284 : set exchangeWithdrawAnotherAmount($fixnum.Int64 v) {
4285 0 : $_setInt64(8, v);
4286 : }
4287 :
4288 0 : @$pb.TagNumber(20)
4289 0 : $core.bool hasExchangeWithdrawAnotherAmount() => $_has(8);
4290 0 : @$pb.TagNumber(20)
4291 0 : void clearExchangeWithdrawAnotherAmount() => clearField(20);
4292 :
4293 0 : @$pb.TagNumber(21)
4294 0 : $fixnum.Int64 get exchangeId => $_getI64(9);
4295 0 : @$pb.TagNumber(21)
4296 : set exchangeId($fixnum.Int64 v) {
4297 0 : $_setInt64(9, v);
4298 : }
4299 :
4300 0 : @$pb.TagNumber(21)
4301 0 : $core.bool hasExchangeId() => $_has(9);
4302 0 : @$pb.TagNumber(21)
4303 0 : void clearExchangeId() => clearField(21);
4304 :
4305 0 : @$pb.TagNumber(22)
4306 0 : $fixnum.Int64 get shieldedTransactionFee => $_getI64(10);
4307 0 : @$pb.TagNumber(22)
4308 : set shieldedTransactionFee($fixnum.Int64 v) {
4309 0 : $_setInt64(10, v);
4310 : }
4311 :
4312 0 : @$pb.TagNumber(22)
4313 0 : $core.bool hasShieldedTransactionFee() => $_has(10);
4314 0 : @$pb.TagNumber(22)
4315 0 : void clearShieldedTransactionFee() => clearField(22);
4316 :
4317 0 : @$pb.TagNumber(25)
4318 0 : $core.List<$core.int> get orderId => $_getN(11);
4319 0 : @$pb.TagNumber(25)
4320 : set orderId($core.List<$core.int> v) {
4321 0 : $_setBytes(11, v);
4322 : }
4323 :
4324 0 : @$pb.TagNumber(25)
4325 0 : $core.bool hasOrderId() => $_has(11);
4326 0 : @$pb.TagNumber(25)
4327 0 : void clearOrderId() => clearField(25);
4328 :
4329 0 : @$pb.TagNumber(26)
4330 0 : $core.List<MarketOrderDetail> get orderDetails => $_getList(12);
4331 :
4332 0 : @$pb.TagNumber(27)
4333 0 : $fixnum.Int64 get withdrawExpireAmount => $_getI64(13);
4334 0 : @$pb.TagNumber(27)
4335 : set withdrawExpireAmount($fixnum.Int64 v) {
4336 0 : $_setInt64(13, v);
4337 : }
4338 :
4339 0 : @$pb.TagNumber(27)
4340 0 : $core.bool hasWithdrawExpireAmount() => $_has(13);
4341 0 : @$pb.TagNumber(27)
4342 0 : void clearWithdrawExpireAmount() => clearField(27);
4343 :
4344 0 : @$pb.TagNumber(28)
4345 0 : $core.Map<$core.String, $fixnum.Int64> get cancelUnfreezeV2Amount => $_getMap(14);
4346 : }
4347 :
4348 : class Transaction_raw extends $pb.GeneratedMessage {
4349 1 : factory Transaction_raw({
4350 : $core.List<$core.int>? refBlockBytes,
4351 : $fixnum.Int64? refBlockNum,
4352 : $core.List<$core.int>? refBlockHash,
4353 : $fixnum.Int64? expiration,
4354 : $core.Iterable<authority>? auths,
4355 : $core.List<$core.int>? data,
4356 : $core.Iterable<Transaction_Contract>? contract,
4357 : $core.List<$core.int>? scripts,
4358 : $fixnum.Int64? timestamp,
4359 : $fixnum.Int64? feeLimit,
4360 : }) {
4361 1 : final $result = create();
4362 : if (refBlockBytes != null) {
4363 1 : $result.refBlockBytes = refBlockBytes;
4364 : }
4365 : if (refBlockNum != null) {
4366 0 : $result.refBlockNum = refBlockNum;
4367 : }
4368 : if (refBlockHash != null) {
4369 1 : $result.refBlockHash = refBlockHash;
4370 : }
4371 : if (expiration != null) {
4372 1 : $result.expiration = expiration;
4373 : }
4374 : if (auths != null) {
4375 0 : $result.auths.addAll(auths);
4376 : }
4377 : if (data != null) {
4378 0 : $result.data = data;
4379 : }
4380 : if (contract != null) {
4381 2 : $result.contract.addAll(contract);
4382 : }
4383 : if (scripts != null) {
4384 0 : $result.scripts = scripts;
4385 : }
4386 : if (timestamp != null) {
4387 1 : $result.timestamp = timestamp;
4388 : }
4389 : if (feeLimit != null) {
4390 1 : $result.feeLimit = feeLimit;
4391 : }
4392 : return $result;
4393 : }
4394 4 : Transaction_raw._() : super();
4395 1 : factory Transaction_raw.fromBuffer($core.List<$core.int> i,
4396 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4397 2 : create()..mergeFromBuffer(i, r);
4398 0 : factory Transaction_raw.fromJson($core.String i,
4399 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4400 0 : create()..mergeFromJson(i, r);
4401 :
4402 6 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transaction.raw',
4403 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4404 : createEmptyInstance: create)
4405 2 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'refBlockBytes', $pb.PbFieldType.OY)
4406 2 : ..aInt64(3, _omitFieldNames ? '' : 'refBlockNum')
4407 2 : ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'refBlockHash', $pb.PbFieldType.OY)
4408 2 : ..aInt64(8, _omitFieldNames ? '' : 'expiration')
4409 2 : ..pc<authority>(9, _omitFieldNames ? '' : 'auths', $pb.PbFieldType.PM,
4410 : subBuilder: authority.create)
4411 2 : ..a<$core.List<$core.int>>(10, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
4412 2 : ..pc<Transaction_Contract>(11, _omitFieldNames ? '' : 'contract', $pb.PbFieldType.PM,
4413 : subBuilder: Transaction_Contract.create)
4414 2 : ..a<$core.List<$core.int>>(12, _omitFieldNames ? '' : 'scripts', $pb.PbFieldType.OY)
4415 2 : ..aInt64(14, _omitFieldNames ? '' : 'timestamp')
4416 2 : ..aInt64(18, _omitFieldNames ? '' : 'feeLimit')
4417 2 : ..hasRequiredFields = false;
4418 :
4419 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4420 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4421 : 'Will be removed in next major version')
4422 0 : Transaction_raw clone() => Transaction_raw()..mergeFromMessage(this);
4423 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4424 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4425 : 'Will be removed in next major version')
4426 : Transaction_raw copyWith(void Function(Transaction_raw) updates) =>
4427 0 : super.copyWith((message) => updates(message as Transaction_raw)) as Transaction_raw;
4428 :
4429 4 : $pb.BuilderInfo get info_ => _i;
4430 :
4431 2 : @$core.pragma('dart2js:noInline')
4432 2 : static Transaction_raw create() => Transaction_raw._();
4433 0 : Transaction_raw createEmptyInstance() => create();
4434 0 : static $pb.PbList<Transaction_raw> createRepeated() => $pb.PbList<Transaction_raw>();
4435 0 : @$core.pragma('dart2js:noInline')
4436 : static Transaction_raw getDefault() =>
4437 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Transaction_raw>(create);
4438 : static Transaction_raw? _defaultInstance;
4439 :
4440 1 : @$pb.TagNumber(1)
4441 1 : $core.List<$core.int> get refBlockBytes => $_getN(0);
4442 1 : @$pb.TagNumber(1)
4443 : set refBlockBytes($core.List<$core.int> v) {
4444 1 : $_setBytes(0, v);
4445 : }
4446 :
4447 0 : @$pb.TagNumber(1)
4448 0 : $core.bool hasRefBlockBytes() => $_has(0);
4449 0 : @$pb.TagNumber(1)
4450 0 : void clearRefBlockBytes() => clearField(1);
4451 :
4452 0 : @$pb.TagNumber(3)
4453 0 : $fixnum.Int64 get refBlockNum => $_getI64(1);
4454 0 : @$pb.TagNumber(3)
4455 : set refBlockNum($fixnum.Int64 v) {
4456 0 : $_setInt64(1, v);
4457 : }
4458 :
4459 0 : @$pb.TagNumber(3)
4460 0 : $core.bool hasRefBlockNum() => $_has(1);
4461 0 : @$pb.TagNumber(3)
4462 0 : void clearRefBlockNum() => clearField(3);
4463 :
4464 1 : @$pb.TagNumber(4)
4465 1 : $core.List<$core.int> get refBlockHash => $_getN(2);
4466 1 : @$pb.TagNumber(4)
4467 : set refBlockHash($core.List<$core.int> v) {
4468 1 : $_setBytes(2, v);
4469 : }
4470 :
4471 0 : @$pb.TagNumber(4)
4472 0 : $core.bool hasRefBlockHash() => $_has(2);
4473 0 : @$pb.TagNumber(4)
4474 0 : void clearRefBlockHash() => clearField(4);
4475 :
4476 1 : @$pb.TagNumber(8)
4477 1 : $fixnum.Int64 get expiration => $_getI64(3);
4478 1 : @$pb.TagNumber(8)
4479 : set expiration($fixnum.Int64 v) {
4480 1 : $_setInt64(3, v);
4481 : }
4482 :
4483 0 : @$pb.TagNumber(8)
4484 0 : $core.bool hasExpiration() => $_has(3);
4485 0 : @$pb.TagNumber(8)
4486 0 : void clearExpiration() => clearField(8);
4487 :
4488 0 : @$pb.TagNumber(9)
4489 0 : $core.List<authority> get auths => $_getList(4);
4490 :
4491 : /// data not used
4492 0 : @$pb.TagNumber(10)
4493 0 : $core.List<$core.int> get data => $_getN(5);
4494 0 : @$pb.TagNumber(10)
4495 : set data($core.List<$core.int> v) {
4496 0 : $_setBytes(5, v);
4497 : }
4498 :
4499 0 : @$pb.TagNumber(10)
4500 0 : $core.bool hasData() => $_has(5);
4501 0 : @$pb.TagNumber(10)
4502 0 : void clearData() => clearField(10);
4503 :
4504 : /// only support size = 1, repeated list here for extension
4505 2 : @$pb.TagNumber(11)
4506 2 : $core.List<Transaction_Contract> get contract => $_getList(6);
4507 :
4508 : /// scripts not used
4509 0 : @$pb.TagNumber(12)
4510 0 : $core.List<$core.int> get scripts => $_getN(7);
4511 0 : @$pb.TagNumber(12)
4512 : set scripts($core.List<$core.int> v) {
4513 0 : $_setBytes(7, v);
4514 : }
4515 :
4516 0 : @$pb.TagNumber(12)
4517 0 : $core.bool hasScripts() => $_has(7);
4518 0 : @$pb.TagNumber(12)
4519 0 : void clearScripts() => clearField(12);
4520 :
4521 1 : @$pb.TagNumber(14)
4522 1 : $fixnum.Int64 get timestamp => $_getI64(8);
4523 1 : @$pb.TagNumber(14)
4524 : set timestamp($fixnum.Int64 v) {
4525 1 : $_setInt64(8, v);
4526 : }
4527 :
4528 0 : @$pb.TagNumber(14)
4529 0 : $core.bool hasTimestamp() => $_has(8);
4530 0 : @$pb.TagNumber(14)
4531 0 : void clearTimestamp() => clearField(14);
4532 :
4533 1 : @$pb.TagNumber(18)
4534 1 : $fixnum.Int64 get feeLimit => $_getI64(9);
4535 1 : @$pb.TagNumber(18)
4536 : set feeLimit($fixnum.Int64 v) {
4537 1 : $_setInt64(9, v);
4538 : }
4539 :
4540 0 : @$pb.TagNumber(18)
4541 0 : $core.bool hasFeeLimit() => $_has(9);
4542 0 : @$pb.TagNumber(18)
4543 0 : void clearFeeLimit() => clearField(18);
4544 : }
4545 :
4546 : class Transaction extends $pb.GeneratedMessage {
4547 0 : factory Transaction({
4548 : Transaction_raw? rawData,
4549 : $core.Iterable<$core.List<$core.int>>? signature,
4550 : $core.Iterable<Transaction_Result>? ret,
4551 : }) {
4552 0 : final $result = create();
4553 : if (rawData != null) {
4554 0 : $result.rawData = rawData;
4555 : }
4556 : if (signature != null) {
4557 0 : $result.signature.addAll(signature);
4558 : }
4559 : if (ret != null) {
4560 0 : $result.ret.addAll(ret);
4561 : }
4562 : return $result;
4563 : }
4564 2 : Transaction._() : super();
4565 1 : factory Transaction.fromBuffer($core.List<$core.int> i,
4566 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4567 2 : create()..mergeFromBuffer(i, r);
4568 0 : factory Transaction.fromJson($core.String i,
4569 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4570 0 : create()..mergeFromJson(i, r);
4571 :
4572 3 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transaction',
4573 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4574 : createEmptyInstance: create)
4575 1 : ..aOM<Transaction_raw>(1, _omitFieldNames ? '' : 'rawData', subBuilder: Transaction_raw.create)
4576 1 : ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.PY)
4577 1 : ..pc<Transaction_Result>(5, _omitFieldNames ? '' : 'ret', $pb.PbFieldType.PM,
4578 : subBuilder: Transaction_Result.create)
4579 1 : ..hasRequiredFields = false;
4580 :
4581 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4582 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4583 : 'Will be removed in next major version')
4584 0 : Transaction clone() => Transaction()..mergeFromMessage(this);
4585 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4586 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4587 : 'Will be removed in next major version')
4588 : Transaction copyWith(void Function(Transaction) updates) =>
4589 0 : super.copyWith((message) => updates(message as Transaction)) as Transaction;
4590 :
4591 2 : $pb.BuilderInfo get info_ => _i;
4592 :
4593 1 : @$core.pragma('dart2js:noInline')
4594 1 : static Transaction create() => Transaction._();
4595 0 : Transaction createEmptyInstance() => create();
4596 0 : static $pb.PbList<Transaction> createRepeated() => $pb.PbList<Transaction>();
4597 0 : @$core.pragma('dart2js:noInline')
4598 : static Transaction getDefault() =>
4599 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Transaction>(create);
4600 : static Transaction? _defaultInstance;
4601 :
4602 1 : @$pb.TagNumber(1)
4603 1 : Transaction_raw get rawData => $_getN(0);
4604 0 : @$pb.TagNumber(1)
4605 : set rawData(Transaction_raw v) {
4606 0 : setField(1, v);
4607 : }
4608 :
4609 0 : @$pb.TagNumber(1)
4610 0 : $core.bool hasRawData() => $_has(0);
4611 0 : @$pb.TagNumber(1)
4612 0 : void clearRawData() => clearField(1);
4613 0 : @$pb.TagNumber(1)
4614 0 : Transaction_raw ensureRawData() => $_ensure(0);
4615 :
4616 : /// only support size = 1, repeated list here for muti-sig extension
4617 1 : @$pb.TagNumber(2)
4618 1 : $core.List<$core.List<$core.int>> get signature => $_getList(1);
4619 :
4620 0 : @$pb.TagNumber(5)
4621 0 : $core.List<Transaction_Result> get ret => $_getList(2);
4622 : }
4623 :
4624 : class TransactionInfo_Log extends $pb.GeneratedMessage {
4625 0 : factory TransactionInfo_Log({
4626 : $core.List<$core.int>? address,
4627 : $core.Iterable<$core.List<$core.int>>? topics,
4628 : $core.List<$core.int>? data,
4629 : }) {
4630 0 : final $result = create();
4631 : if (address != null) {
4632 0 : $result.address = address;
4633 : }
4634 : if (topics != null) {
4635 0 : $result.topics.addAll(topics);
4636 : }
4637 : if (data != null) {
4638 0 : $result.data = data;
4639 : }
4640 : return $result;
4641 : }
4642 0 : TransactionInfo_Log._() : super();
4643 0 : factory TransactionInfo_Log.fromBuffer($core.List<$core.int> i,
4644 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4645 0 : create()..mergeFromBuffer(i, r);
4646 0 : factory TransactionInfo_Log.fromJson($core.String i,
4647 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4648 0 : create()..mergeFromJson(i, r);
4649 :
4650 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransactionInfo.Log',
4651 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4652 : createEmptyInstance: create)
4653 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
4654 0 : ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'topics', $pb.PbFieldType.PY)
4655 0 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
4656 0 : ..hasRequiredFields = false;
4657 :
4658 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4659 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4660 : 'Will be removed in next major version')
4661 0 : TransactionInfo_Log clone() => TransactionInfo_Log()..mergeFromMessage(this);
4662 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4663 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4664 : 'Will be removed in next major version')
4665 : TransactionInfo_Log copyWith(void Function(TransactionInfo_Log) updates) =>
4666 0 : super.copyWith((message) => updates(message as TransactionInfo_Log)) as TransactionInfo_Log;
4667 :
4668 0 : $pb.BuilderInfo get info_ => _i;
4669 :
4670 0 : @$core.pragma('dart2js:noInline')
4671 0 : static TransactionInfo_Log create() => TransactionInfo_Log._();
4672 0 : TransactionInfo_Log createEmptyInstance() => create();
4673 0 : static $pb.PbList<TransactionInfo_Log> createRepeated() => $pb.PbList<TransactionInfo_Log>();
4674 0 : @$core.pragma('dart2js:noInline')
4675 : static TransactionInfo_Log getDefault() =>
4676 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TransactionInfo_Log>(create);
4677 : static TransactionInfo_Log? _defaultInstance;
4678 :
4679 0 : @$pb.TagNumber(1)
4680 0 : $core.List<$core.int> get address => $_getN(0);
4681 0 : @$pb.TagNumber(1)
4682 : set address($core.List<$core.int> v) {
4683 0 : $_setBytes(0, v);
4684 : }
4685 :
4686 0 : @$pb.TagNumber(1)
4687 0 : $core.bool hasAddress() => $_has(0);
4688 0 : @$pb.TagNumber(1)
4689 0 : void clearAddress() => clearField(1);
4690 :
4691 0 : @$pb.TagNumber(2)
4692 0 : $core.List<$core.List<$core.int>> get topics => $_getList(1);
4693 :
4694 0 : @$pb.TagNumber(3)
4695 0 : $core.List<$core.int> get data => $_getN(2);
4696 0 : @$pb.TagNumber(3)
4697 : set data($core.List<$core.int> v) {
4698 0 : $_setBytes(2, v);
4699 : }
4700 :
4701 0 : @$pb.TagNumber(3)
4702 0 : $core.bool hasData() => $_has(2);
4703 0 : @$pb.TagNumber(3)
4704 0 : void clearData() => clearField(3);
4705 : }
4706 :
4707 : class TransactionInfo extends $pb.GeneratedMessage {
4708 0 : factory TransactionInfo({
4709 : $core.List<$core.int>? id,
4710 : $fixnum.Int64? fee,
4711 : $fixnum.Int64? blockNumber,
4712 : $fixnum.Int64? blockTimeStamp,
4713 : $core.Iterable<$core.List<$core.int>>? contractResult,
4714 : $core.List<$core.int>? contractAddress,
4715 : ResourceReceipt? receipt,
4716 : $core.Iterable<TransactionInfo_Log>? log,
4717 : TransactionInfo_code? result,
4718 : $core.List<$core.int>? resMessage,
4719 : $core.String? assetIssueID,
4720 : $fixnum.Int64? withdrawAmount,
4721 : $fixnum.Int64? unfreezeAmount,
4722 : $core.Iterable<InternalTransaction>? internalTransactions,
4723 : $fixnum.Int64? exchangeReceivedAmount,
4724 : $fixnum.Int64? exchangeInjectAnotherAmount,
4725 : $fixnum.Int64? exchangeWithdrawAnotherAmount,
4726 : $fixnum.Int64? exchangeId,
4727 : $fixnum.Int64? shieldedTransactionFee,
4728 : $core.List<$core.int>? orderId,
4729 : $core.Iterable<MarketOrderDetail>? orderDetails,
4730 : $fixnum.Int64? packingFee,
4731 : $fixnum.Int64? withdrawExpireAmount,
4732 : $core.Map<$core.String, $fixnum.Int64>? cancelUnfreezeV2Amount,
4733 : }) {
4734 0 : final $result = create();
4735 : if (id != null) {
4736 0 : $result.id = id;
4737 : }
4738 : if (fee != null) {
4739 0 : $result.fee = fee;
4740 : }
4741 : if (blockNumber != null) {
4742 0 : $result.blockNumber = blockNumber;
4743 : }
4744 : if (blockTimeStamp != null) {
4745 0 : $result.blockTimeStamp = blockTimeStamp;
4746 : }
4747 : if (contractResult != null) {
4748 0 : $result.contractResult.addAll(contractResult);
4749 : }
4750 : if (contractAddress != null) {
4751 0 : $result.contractAddress = contractAddress;
4752 : }
4753 : if (receipt != null) {
4754 0 : $result.receipt = receipt;
4755 : }
4756 : if (log != null) {
4757 0 : $result.log.addAll(log);
4758 : }
4759 : if (result != null) {
4760 0 : $result.result = result;
4761 : }
4762 : if (resMessage != null) {
4763 0 : $result.resMessage = resMessage;
4764 : }
4765 : if (assetIssueID != null) {
4766 0 : $result.assetIssueID = assetIssueID;
4767 : }
4768 : if (withdrawAmount != null) {
4769 0 : $result.withdrawAmount = withdrawAmount;
4770 : }
4771 : if (unfreezeAmount != null) {
4772 0 : $result.unfreezeAmount = unfreezeAmount;
4773 : }
4774 : if (internalTransactions != null) {
4775 0 : $result.internalTransactions.addAll(internalTransactions);
4776 : }
4777 : if (exchangeReceivedAmount != null) {
4778 0 : $result.exchangeReceivedAmount = exchangeReceivedAmount;
4779 : }
4780 : if (exchangeInjectAnotherAmount != null) {
4781 0 : $result.exchangeInjectAnotherAmount = exchangeInjectAnotherAmount;
4782 : }
4783 : if (exchangeWithdrawAnotherAmount != null) {
4784 0 : $result.exchangeWithdrawAnotherAmount = exchangeWithdrawAnotherAmount;
4785 : }
4786 : if (exchangeId != null) {
4787 0 : $result.exchangeId = exchangeId;
4788 : }
4789 : if (shieldedTransactionFee != null) {
4790 0 : $result.shieldedTransactionFee = shieldedTransactionFee;
4791 : }
4792 : if (orderId != null) {
4793 0 : $result.orderId = orderId;
4794 : }
4795 : if (orderDetails != null) {
4796 0 : $result.orderDetails.addAll(orderDetails);
4797 : }
4798 : if (packingFee != null) {
4799 0 : $result.packingFee = packingFee;
4800 : }
4801 : if (withdrawExpireAmount != null) {
4802 0 : $result.withdrawExpireAmount = withdrawExpireAmount;
4803 : }
4804 : if (cancelUnfreezeV2Amount != null) {
4805 0 : $result.cancelUnfreezeV2Amount.addAll(cancelUnfreezeV2Amount);
4806 : }
4807 : return $result;
4808 : }
4809 0 : TransactionInfo._() : super();
4810 0 : factory TransactionInfo.fromBuffer($core.List<$core.int> i,
4811 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4812 0 : create()..mergeFromBuffer(i, r);
4813 0 : factory TransactionInfo.fromJson($core.String i,
4814 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
4815 0 : create()..mergeFromJson(i, r);
4816 :
4817 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransactionInfo',
4818 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
4819 : createEmptyInstance: create)
4820 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OY)
4821 0 : ..aInt64(2, _omitFieldNames ? '' : 'fee')
4822 0 : ..aInt64(3, _omitFieldNames ? '' : 'blockNumber', protoName: 'blockNumber')
4823 0 : ..aInt64(4, _omitFieldNames ? '' : 'blockTimeStamp', protoName: 'blockTimeStamp')
4824 0 : ..p<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'contractResult', $pb.PbFieldType.PY,
4825 : protoName: 'contractResult')
4826 0 : ..a<$core.List<$core.int>>(6, _omitFieldNames ? '' : 'contractAddress', $pb.PbFieldType.OY)
4827 0 : ..aOM<ResourceReceipt>(7, _omitFieldNames ? '' : 'receipt', subBuilder: ResourceReceipt.create)
4828 0 : ..pc<TransactionInfo_Log>(8, _omitFieldNames ? '' : 'log', $pb.PbFieldType.PM,
4829 : subBuilder: TransactionInfo_Log.create)
4830 0 : ..e<TransactionInfo_code>(9, _omitFieldNames ? '' : 'result', $pb.PbFieldType.OE,
4831 : defaultOrMaker: TransactionInfo_code.SUCESS,
4832 : valueOf: TransactionInfo_code.valueOf,
4833 : enumValues: TransactionInfo_code.values)
4834 0 : ..a<$core.List<$core.int>>(10, _omitFieldNames ? '' : 'resMessage', $pb.PbFieldType.OY,
4835 : protoName: 'resMessage')
4836 0 : ..aOS(14, _omitFieldNames ? '' : 'assetIssueID', protoName: 'assetIssueID')
4837 0 : ..aInt64(15, _omitFieldNames ? '' : 'withdrawAmount')
4838 0 : ..aInt64(16, _omitFieldNames ? '' : 'unfreezeAmount')
4839 0 : ..pc<InternalTransaction>(17, _omitFieldNames ? '' : 'internalTransactions', $pb.PbFieldType.PM,
4840 : subBuilder: InternalTransaction.create)
4841 0 : ..aInt64(18, _omitFieldNames ? '' : 'exchangeReceivedAmount')
4842 0 : ..aInt64(19, _omitFieldNames ? '' : 'exchangeInjectAnotherAmount')
4843 0 : ..aInt64(20, _omitFieldNames ? '' : 'exchangeWithdrawAnotherAmount')
4844 0 : ..aInt64(21, _omitFieldNames ? '' : 'exchangeId')
4845 0 : ..aInt64(22, _omitFieldNames ? '' : 'shieldedTransactionFee')
4846 0 : ..a<$core.List<$core.int>>(25, _omitFieldNames ? '' : 'orderId', $pb.PbFieldType.OY,
4847 : protoName: 'orderId')
4848 0 : ..pc<MarketOrderDetail>(26, _omitFieldNames ? '' : 'orderDetails', $pb.PbFieldType.PM,
4849 : protoName: 'orderDetails', subBuilder: MarketOrderDetail.create)
4850 0 : ..aInt64(27, _omitFieldNames ? '' : 'packingFee', protoName: 'packingFee')
4851 0 : ..aInt64(28, _omitFieldNames ? '' : 'withdrawExpireAmount')
4852 0 : ..m<$core.String, $fixnum.Int64>(29, _omitFieldNames ? '' : 'cancelUnfreezeV2Amount',
4853 : protoName: 'cancel_unfreezeV2_amount',
4854 : entryClassName: 'TransactionInfo.CancelUnfreezeV2AmountEntry',
4855 : keyFieldType: $pb.PbFieldType.OS,
4856 : valueFieldType: $pb.PbFieldType.O6,
4857 : packageName: const $pb.PackageName('protocol'))
4858 0 : ..hasRequiredFields = false;
4859 :
4860 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4861 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4862 : 'Will be removed in next major version')
4863 0 : TransactionInfo clone() => TransactionInfo()..mergeFromMessage(this);
4864 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
4865 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4866 : 'Will be removed in next major version')
4867 : TransactionInfo copyWith(void Function(TransactionInfo) updates) =>
4868 0 : super.copyWith((message) => updates(message as TransactionInfo)) as TransactionInfo;
4869 :
4870 0 : $pb.BuilderInfo get info_ => _i;
4871 :
4872 0 : @$core.pragma('dart2js:noInline')
4873 0 : static TransactionInfo create() => TransactionInfo._();
4874 0 : TransactionInfo createEmptyInstance() => create();
4875 0 : static $pb.PbList<TransactionInfo> createRepeated() => $pb.PbList<TransactionInfo>();
4876 0 : @$core.pragma('dart2js:noInline')
4877 : static TransactionInfo getDefault() =>
4878 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TransactionInfo>(create);
4879 : static TransactionInfo? _defaultInstance;
4880 :
4881 0 : @$pb.TagNumber(1)
4882 0 : $core.List<$core.int> get id => $_getN(0);
4883 0 : @$pb.TagNumber(1)
4884 : set id($core.List<$core.int> v) {
4885 0 : $_setBytes(0, v);
4886 : }
4887 :
4888 0 : @$pb.TagNumber(1)
4889 0 : $core.bool hasId() => $_has(0);
4890 0 : @$pb.TagNumber(1)
4891 0 : void clearId() => clearField(1);
4892 :
4893 0 : @$pb.TagNumber(2)
4894 0 : $fixnum.Int64 get fee => $_getI64(1);
4895 0 : @$pb.TagNumber(2)
4896 : set fee($fixnum.Int64 v) {
4897 0 : $_setInt64(1, v);
4898 : }
4899 :
4900 0 : @$pb.TagNumber(2)
4901 0 : $core.bool hasFee() => $_has(1);
4902 0 : @$pb.TagNumber(2)
4903 0 : void clearFee() => clearField(2);
4904 :
4905 0 : @$pb.TagNumber(3)
4906 0 : $fixnum.Int64 get blockNumber => $_getI64(2);
4907 0 : @$pb.TagNumber(3)
4908 : set blockNumber($fixnum.Int64 v) {
4909 0 : $_setInt64(2, v);
4910 : }
4911 :
4912 0 : @$pb.TagNumber(3)
4913 0 : $core.bool hasBlockNumber() => $_has(2);
4914 0 : @$pb.TagNumber(3)
4915 0 : void clearBlockNumber() => clearField(3);
4916 :
4917 0 : @$pb.TagNumber(4)
4918 0 : $fixnum.Int64 get blockTimeStamp => $_getI64(3);
4919 0 : @$pb.TagNumber(4)
4920 : set blockTimeStamp($fixnum.Int64 v) {
4921 0 : $_setInt64(3, v);
4922 : }
4923 :
4924 0 : @$pb.TagNumber(4)
4925 0 : $core.bool hasBlockTimeStamp() => $_has(3);
4926 0 : @$pb.TagNumber(4)
4927 0 : void clearBlockTimeStamp() => clearField(4);
4928 :
4929 0 : @$pb.TagNumber(5)
4930 0 : $core.List<$core.List<$core.int>> get contractResult => $_getList(4);
4931 :
4932 0 : @$pb.TagNumber(6)
4933 0 : $core.List<$core.int> get contractAddress => $_getN(5);
4934 0 : @$pb.TagNumber(6)
4935 : set contractAddress($core.List<$core.int> v) {
4936 0 : $_setBytes(5, v);
4937 : }
4938 :
4939 0 : @$pb.TagNumber(6)
4940 0 : $core.bool hasContractAddress() => $_has(5);
4941 0 : @$pb.TagNumber(6)
4942 0 : void clearContractAddress() => clearField(6);
4943 :
4944 0 : @$pb.TagNumber(7)
4945 0 : ResourceReceipt get receipt => $_getN(6);
4946 0 : @$pb.TagNumber(7)
4947 : set receipt(ResourceReceipt v) {
4948 0 : setField(7, v);
4949 : }
4950 :
4951 0 : @$pb.TagNumber(7)
4952 0 : $core.bool hasReceipt() => $_has(6);
4953 0 : @$pb.TagNumber(7)
4954 0 : void clearReceipt() => clearField(7);
4955 0 : @$pb.TagNumber(7)
4956 0 : ResourceReceipt ensureReceipt() => $_ensure(6);
4957 :
4958 0 : @$pb.TagNumber(8)
4959 0 : $core.List<TransactionInfo_Log> get log => $_getList(7);
4960 :
4961 0 : @$pb.TagNumber(9)
4962 0 : TransactionInfo_code get result => $_getN(8);
4963 0 : @$pb.TagNumber(9)
4964 : set result(TransactionInfo_code v) {
4965 0 : setField(9, v);
4966 : }
4967 :
4968 0 : @$pb.TagNumber(9)
4969 0 : $core.bool hasResult() => $_has(8);
4970 0 : @$pb.TagNumber(9)
4971 0 : void clearResult() => clearField(9);
4972 :
4973 0 : @$pb.TagNumber(10)
4974 0 : $core.List<$core.int> get resMessage => $_getN(9);
4975 0 : @$pb.TagNumber(10)
4976 : set resMessage($core.List<$core.int> v) {
4977 0 : $_setBytes(9, v);
4978 : }
4979 :
4980 0 : @$pb.TagNumber(10)
4981 0 : $core.bool hasResMessage() => $_has(9);
4982 0 : @$pb.TagNumber(10)
4983 0 : void clearResMessage() => clearField(10);
4984 :
4985 0 : @$pb.TagNumber(14)
4986 0 : $core.String get assetIssueID => $_getSZ(10);
4987 0 : @$pb.TagNumber(14)
4988 : set assetIssueID($core.String v) {
4989 0 : $_setString(10, v);
4990 : }
4991 :
4992 0 : @$pb.TagNumber(14)
4993 0 : $core.bool hasAssetIssueID() => $_has(10);
4994 0 : @$pb.TagNumber(14)
4995 0 : void clearAssetIssueID() => clearField(14);
4996 :
4997 0 : @$pb.TagNumber(15)
4998 0 : $fixnum.Int64 get withdrawAmount => $_getI64(11);
4999 0 : @$pb.TagNumber(15)
5000 : set withdrawAmount($fixnum.Int64 v) {
5001 0 : $_setInt64(11, v);
5002 : }
5003 :
5004 0 : @$pb.TagNumber(15)
5005 0 : $core.bool hasWithdrawAmount() => $_has(11);
5006 0 : @$pb.TagNumber(15)
5007 0 : void clearWithdrawAmount() => clearField(15);
5008 :
5009 0 : @$pb.TagNumber(16)
5010 0 : $fixnum.Int64 get unfreezeAmount => $_getI64(12);
5011 0 : @$pb.TagNumber(16)
5012 : set unfreezeAmount($fixnum.Int64 v) {
5013 0 : $_setInt64(12, v);
5014 : }
5015 :
5016 0 : @$pb.TagNumber(16)
5017 0 : $core.bool hasUnfreezeAmount() => $_has(12);
5018 0 : @$pb.TagNumber(16)
5019 0 : void clearUnfreezeAmount() => clearField(16);
5020 :
5021 0 : @$pb.TagNumber(17)
5022 0 : $core.List<InternalTransaction> get internalTransactions => $_getList(13);
5023 :
5024 0 : @$pb.TagNumber(18)
5025 0 : $fixnum.Int64 get exchangeReceivedAmount => $_getI64(14);
5026 0 : @$pb.TagNumber(18)
5027 : set exchangeReceivedAmount($fixnum.Int64 v) {
5028 0 : $_setInt64(14, v);
5029 : }
5030 :
5031 0 : @$pb.TagNumber(18)
5032 0 : $core.bool hasExchangeReceivedAmount() => $_has(14);
5033 0 : @$pb.TagNumber(18)
5034 0 : void clearExchangeReceivedAmount() => clearField(18);
5035 :
5036 0 : @$pb.TagNumber(19)
5037 0 : $fixnum.Int64 get exchangeInjectAnotherAmount => $_getI64(15);
5038 0 : @$pb.TagNumber(19)
5039 : set exchangeInjectAnotherAmount($fixnum.Int64 v) {
5040 0 : $_setInt64(15, v);
5041 : }
5042 :
5043 0 : @$pb.TagNumber(19)
5044 0 : $core.bool hasExchangeInjectAnotherAmount() => $_has(15);
5045 0 : @$pb.TagNumber(19)
5046 0 : void clearExchangeInjectAnotherAmount() => clearField(19);
5047 :
5048 0 : @$pb.TagNumber(20)
5049 0 : $fixnum.Int64 get exchangeWithdrawAnotherAmount => $_getI64(16);
5050 0 : @$pb.TagNumber(20)
5051 : set exchangeWithdrawAnotherAmount($fixnum.Int64 v) {
5052 0 : $_setInt64(16, v);
5053 : }
5054 :
5055 0 : @$pb.TagNumber(20)
5056 0 : $core.bool hasExchangeWithdrawAnotherAmount() => $_has(16);
5057 0 : @$pb.TagNumber(20)
5058 0 : void clearExchangeWithdrawAnotherAmount() => clearField(20);
5059 :
5060 0 : @$pb.TagNumber(21)
5061 0 : $fixnum.Int64 get exchangeId => $_getI64(17);
5062 0 : @$pb.TagNumber(21)
5063 : set exchangeId($fixnum.Int64 v) {
5064 0 : $_setInt64(17, v);
5065 : }
5066 :
5067 0 : @$pb.TagNumber(21)
5068 0 : $core.bool hasExchangeId() => $_has(17);
5069 0 : @$pb.TagNumber(21)
5070 0 : void clearExchangeId() => clearField(21);
5071 :
5072 0 : @$pb.TagNumber(22)
5073 0 : $fixnum.Int64 get shieldedTransactionFee => $_getI64(18);
5074 0 : @$pb.TagNumber(22)
5075 : set shieldedTransactionFee($fixnum.Int64 v) {
5076 0 : $_setInt64(18, v);
5077 : }
5078 :
5079 0 : @$pb.TagNumber(22)
5080 0 : $core.bool hasShieldedTransactionFee() => $_has(18);
5081 0 : @$pb.TagNumber(22)
5082 0 : void clearShieldedTransactionFee() => clearField(22);
5083 :
5084 0 : @$pb.TagNumber(25)
5085 0 : $core.List<$core.int> get orderId => $_getN(19);
5086 0 : @$pb.TagNumber(25)
5087 : set orderId($core.List<$core.int> v) {
5088 0 : $_setBytes(19, v);
5089 : }
5090 :
5091 0 : @$pb.TagNumber(25)
5092 0 : $core.bool hasOrderId() => $_has(19);
5093 0 : @$pb.TagNumber(25)
5094 0 : void clearOrderId() => clearField(25);
5095 :
5096 0 : @$pb.TagNumber(26)
5097 0 : $core.List<MarketOrderDetail> get orderDetails => $_getList(20);
5098 :
5099 0 : @$pb.TagNumber(27)
5100 0 : $fixnum.Int64 get packingFee => $_getI64(21);
5101 0 : @$pb.TagNumber(27)
5102 : set packingFee($fixnum.Int64 v) {
5103 0 : $_setInt64(21, v);
5104 : }
5105 :
5106 0 : @$pb.TagNumber(27)
5107 0 : $core.bool hasPackingFee() => $_has(21);
5108 0 : @$pb.TagNumber(27)
5109 0 : void clearPackingFee() => clearField(27);
5110 :
5111 0 : @$pb.TagNumber(28)
5112 0 : $fixnum.Int64 get withdrawExpireAmount => $_getI64(22);
5113 0 : @$pb.TagNumber(28)
5114 : set withdrawExpireAmount($fixnum.Int64 v) {
5115 0 : $_setInt64(22, v);
5116 : }
5117 :
5118 0 : @$pb.TagNumber(28)
5119 0 : $core.bool hasWithdrawExpireAmount() => $_has(22);
5120 0 : @$pb.TagNumber(28)
5121 0 : void clearWithdrawExpireAmount() => clearField(28);
5122 :
5123 0 : @$pb.TagNumber(29)
5124 0 : $core.Map<$core.String, $fixnum.Int64> get cancelUnfreezeV2Amount => $_getMap(23);
5125 : }
5126 :
5127 : class TransactionRet extends $pb.GeneratedMessage {
5128 0 : factory TransactionRet({
5129 : $fixnum.Int64? blockNumber,
5130 : $fixnum.Int64? blockTimeStamp,
5131 : $core.Iterable<TransactionInfo>? transactioninfo,
5132 : }) {
5133 0 : final $result = create();
5134 : if (blockNumber != null) {
5135 0 : $result.blockNumber = blockNumber;
5136 : }
5137 : if (blockTimeStamp != null) {
5138 0 : $result.blockTimeStamp = blockTimeStamp;
5139 : }
5140 : if (transactioninfo != null) {
5141 0 : $result.transactioninfo.addAll(transactioninfo);
5142 : }
5143 : return $result;
5144 : }
5145 0 : TransactionRet._() : super();
5146 0 : factory TransactionRet.fromBuffer($core.List<$core.int> i,
5147 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5148 0 : create()..mergeFromBuffer(i, r);
5149 0 : factory TransactionRet.fromJson($core.String i,
5150 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5151 0 : create()..mergeFromJson(i, r);
5152 :
5153 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransactionRet',
5154 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5155 : createEmptyInstance: create)
5156 0 : ..aInt64(1, _omitFieldNames ? '' : 'blockNumber', protoName: 'blockNumber')
5157 0 : ..aInt64(2, _omitFieldNames ? '' : 'blockTimeStamp', protoName: 'blockTimeStamp')
5158 0 : ..pc<TransactionInfo>(3, _omitFieldNames ? '' : 'transactioninfo', $pb.PbFieldType.PM,
5159 : subBuilder: TransactionInfo.create)
5160 0 : ..hasRequiredFields = false;
5161 :
5162 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5163 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5164 : 'Will be removed in next major version')
5165 0 : TransactionRet clone() => TransactionRet()..mergeFromMessage(this);
5166 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5167 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5168 : 'Will be removed in next major version')
5169 : TransactionRet copyWith(void Function(TransactionRet) updates) =>
5170 0 : super.copyWith((message) => updates(message as TransactionRet)) as TransactionRet;
5171 :
5172 0 : $pb.BuilderInfo get info_ => _i;
5173 :
5174 0 : @$core.pragma('dart2js:noInline')
5175 0 : static TransactionRet create() => TransactionRet._();
5176 0 : TransactionRet createEmptyInstance() => create();
5177 0 : static $pb.PbList<TransactionRet> createRepeated() => $pb.PbList<TransactionRet>();
5178 0 : @$core.pragma('dart2js:noInline')
5179 : static TransactionRet getDefault() =>
5180 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TransactionRet>(create);
5181 : static TransactionRet? _defaultInstance;
5182 :
5183 0 : @$pb.TagNumber(1)
5184 0 : $fixnum.Int64 get blockNumber => $_getI64(0);
5185 0 : @$pb.TagNumber(1)
5186 : set blockNumber($fixnum.Int64 v) {
5187 0 : $_setInt64(0, v);
5188 : }
5189 :
5190 0 : @$pb.TagNumber(1)
5191 0 : $core.bool hasBlockNumber() => $_has(0);
5192 0 : @$pb.TagNumber(1)
5193 0 : void clearBlockNumber() => clearField(1);
5194 :
5195 0 : @$pb.TagNumber(2)
5196 0 : $fixnum.Int64 get blockTimeStamp => $_getI64(1);
5197 0 : @$pb.TagNumber(2)
5198 : set blockTimeStamp($fixnum.Int64 v) {
5199 0 : $_setInt64(1, v);
5200 : }
5201 :
5202 0 : @$pb.TagNumber(2)
5203 0 : $core.bool hasBlockTimeStamp() => $_has(1);
5204 0 : @$pb.TagNumber(2)
5205 0 : void clearBlockTimeStamp() => clearField(2);
5206 :
5207 0 : @$pb.TagNumber(3)
5208 0 : $core.List<TransactionInfo> get transactioninfo => $_getList(2);
5209 : }
5210 :
5211 : class Transactions extends $pb.GeneratedMessage {
5212 0 : factory Transactions({
5213 : $core.Iterable<Transaction>? transactions,
5214 : }) {
5215 0 : final $result = create();
5216 : if (transactions != null) {
5217 0 : $result.transactions.addAll(transactions);
5218 : }
5219 : return $result;
5220 : }
5221 0 : Transactions._() : super();
5222 0 : factory Transactions.fromBuffer($core.List<$core.int> i,
5223 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5224 0 : create()..mergeFromBuffer(i, r);
5225 0 : factory Transactions.fromJson($core.String i,
5226 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5227 0 : create()..mergeFromJson(i, r);
5228 :
5229 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transactions',
5230 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5231 : createEmptyInstance: create)
5232 0 : ..pc<Transaction>(1, _omitFieldNames ? '' : 'transactions', $pb.PbFieldType.PM,
5233 : subBuilder: Transaction.create)
5234 0 : ..hasRequiredFields = false;
5235 :
5236 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5237 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5238 : 'Will be removed in next major version')
5239 0 : Transactions clone() => Transactions()..mergeFromMessage(this);
5240 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5241 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5242 : 'Will be removed in next major version')
5243 : Transactions copyWith(void Function(Transactions) updates) =>
5244 0 : super.copyWith((message) => updates(message as Transactions)) as Transactions;
5245 :
5246 0 : $pb.BuilderInfo get info_ => _i;
5247 :
5248 0 : @$core.pragma('dart2js:noInline')
5249 0 : static Transactions create() => Transactions._();
5250 0 : Transactions createEmptyInstance() => create();
5251 0 : static $pb.PbList<Transactions> createRepeated() => $pb.PbList<Transactions>();
5252 0 : @$core.pragma('dart2js:noInline')
5253 : static Transactions getDefault() =>
5254 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Transactions>(create);
5255 : static Transactions? _defaultInstance;
5256 :
5257 0 : @$pb.TagNumber(1)
5258 0 : $core.List<Transaction> get transactions => $_getList(0);
5259 : }
5260 :
5261 : class BlockHeader_raw extends $pb.GeneratedMessage {
5262 0 : factory BlockHeader_raw({
5263 : $fixnum.Int64? timestamp,
5264 : $core.List<$core.int>? txTrieRoot,
5265 : $core.List<$core.int>? parentHash,
5266 : $fixnum.Int64? number,
5267 : $fixnum.Int64? witnessId,
5268 : $core.List<$core.int>? witnessAddress,
5269 : $core.int? version,
5270 : $core.List<$core.int>? accountStateRoot,
5271 : }) {
5272 0 : final $result = create();
5273 : if (timestamp != null) {
5274 0 : $result.timestamp = timestamp;
5275 : }
5276 : if (txTrieRoot != null) {
5277 0 : $result.txTrieRoot = txTrieRoot;
5278 : }
5279 : if (parentHash != null) {
5280 0 : $result.parentHash = parentHash;
5281 : }
5282 : if (number != null) {
5283 0 : $result.number = number;
5284 : }
5285 : if (witnessId != null) {
5286 0 : $result.witnessId = witnessId;
5287 : }
5288 : if (witnessAddress != null) {
5289 0 : $result.witnessAddress = witnessAddress;
5290 : }
5291 : if (version != null) {
5292 0 : $result.version = version;
5293 : }
5294 : if (accountStateRoot != null) {
5295 0 : $result.accountStateRoot = accountStateRoot;
5296 : }
5297 : return $result;
5298 : }
5299 0 : BlockHeader_raw._() : super();
5300 0 : factory BlockHeader_raw.fromBuffer($core.List<$core.int> i,
5301 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5302 0 : create()..mergeFromBuffer(i, r);
5303 0 : factory BlockHeader_raw.fromJson($core.String i,
5304 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5305 0 : create()..mergeFromJson(i, r);
5306 :
5307 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockHeader.raw',
5308 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5309 : createEmptyInstance: create)
5310 0 : ..aInt64(1, _omitFieldNames ? '' : 'timestamp')
5311 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'txTrieRoot', $pb.PbFieldType.OY,
5312 : protoName: 'txTrieRoot')
5313 0 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'parentHash', $pb.PbFieldType.OY,
5314 : protoName: 'parentHash')
5315 0 : ..aInt64(7, _omitFieldNames ? '' : 'number')
5316 0 : ..aInt64(8, _omitFieldNames ? '' : 'witnessId')
5317 0 : ..a<$core.List<$core.int>>(9, _omitFieldNames ? '' : 'witnessAddress', $pb.PbFieldType.OY)
5318 0 : ..a<$core.int>(10, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
5319 0 : ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'accountStateRoot', $pb.PbFieldType.OY,
5320 : protoName: 'accountStateRoot')
5321 0 : ..hasRequiredFields = false;
5322 :
5323 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5324 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5325 : 'Will be removed in next major version')
5326 0 : BlockHeader_raw clone() => BlockHeader_raw()..mergeFromMessage(this);
5327 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5328 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5329 : 'Will be removed in next major version')
5330 : BlockHeader_raw copyWith(void Function(BlockHeader_raw) updates) =>
5331 0 : super.copyWith((message) => updates(message as BlockHeader_raw)) as BlockHeader_raw;
5332 :
5333 0 : $pb.BuilderInfo get info_ => _i;
5334 :
5335 0 : @$core.pragma('dart2js:noInline')
5336 0 : static BlockHeader_raw create() => BlockHeader_raw._();
5337 0 : BlockHeader_raw createEmptyInstance() => create();
5338 0 : static $pb.PbList<BlockHeader_raw> createRepeated() => $pb.PbList<BlockHeader_raw>();
5339 0 : @$core.pragma('dart2js:noInline')
5340 : static BlockHeader_raw getDefault() =>
5341 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BlockHeader_raw>(create);
5342 : static BlockHeader_raw? _defaultInstance;
5343 :
5344 0 : @$pb.TagNumber(1)
5345 0 : $fixnum.Int64 get timestamp => $_getI64(0);
5346 0 : @$pb.TagNumber(1)
5347 : set timestamp($fixnum.Int64 v) {
5348 0 : $_setInt64(0, v);
5349 : }
5350 :
5351 0 : @$pb.TagNumber(1)
5352 0 : $core.bool hasTimestamp() => $_has(0);
5353 0 : @$pb.TagNumber(1)
5354 0 : void clearTimestamp() => clearField(1);
5355 :
5356 0 : @$pb.TagNumber(2)
5357 0 : $core.List<$core.int> get txTrieRoot => $_getN(1);
5358 0 : @$pb.TagNumber(2)
5359 : set txTrieRoot($core.List<$core.int> v) {
5360 0 : $_setBytes(1, v);
5361 : }
5362 :
5363 0 : @$pb.TagNumber(2)
5364 0 : $core.bool hasTxTrieRoot() => $_has(1);
5365 0 : @$pb.TagNumber(2)
5366 0 : void clearTxTrieRoot() => clearField(2);
5367 :
5368 0 : @$pb.TagNumber(3)
5369 0 : $core.List<$core.int> get parentHash => $_getN(2);
5370 0 : @$pb.TagNumber(3)
5371 : set parentHash($core.List<$core.int> v) {
5372 0 : $_setBytes(2, v);
5373 : }
5374 :
5375 0 : @$pb.TagNumber(3)
5376 0 : $core.bool hasParentHash() => $_has(2);
5377 0 : @$pb.TagNumber(3)
5378 0 : void clearParentHash() => clearField(3);
5379 :
5380 : /// bytes nonce = 5;
5381 : /// bytes difficulty = 6;
5382 0 : @$pb.TagNumber(7)
5383 0 : $fixnum.Int64 get number => $_getI64(3);
5384 0 : @$pb.TagNumber(7)
5385 : set number($fixnum.Int64 v) {
5386 0 : $_setInt64(3, v);
5387 : }
5388 :
5389 0 : @$pb.TagNumber(7)
5390 0 : $core.bool hasNumber() => $_has(3);
5391 0 : @$pb.TagNumber(7)
5392 0 : void clearNumber() => clearField(7);
5393 :
5394 0 : @$pb.TagNumber(8)
5395 0 : $fixnum.Int64 get witnessId => $_getI64(4);
5396 0 : @$pb.TagNumber(8)
5397 : set witnessId($fixnum.Int64 v) {
5398 0 : $_setInt64(4, v);
5399 : }
5400 :
5401 0 : @$pb.TagNumber(8)
5402 0 : $core.bool hasWitnessId() => $_has(4);
5403 0 : @$pb.TagNumber(8)
5404 0 : void clearWitnessId() => clearField(8);
5405 :
5406 0 : @$pb.TagNumber(9)
5407 0 : $core.List<$core.int> get witnessAddress => $_getN(5);
5408 0 : @$pb.TagNumber(9)
5409 : set witnessAddress($core.List<$core.int> v) {
5410 0 : $_setBytes(5, v);
5411 : }
5412 :
5413 0 : @$pb.TagNumber(9)
5414 0 : $core.bool hasWitnessAddress() => $_has(5);
5415 0 : @$pb.TagNumber(9)
5416 0 : void clearWitnessAddress() => clearField(9);
5417 :
5418 0 : @$pb.TagNumber(10)
5419 0 : $core.int get version => $_getIZ(6);
5420 0 : @$pb.TagNumber(10)
5421 : set version($core.int v) {
5422 0 : $_setSignedInt32(6, v);
5423 : }
5424 :
5425 0 : @$pb.TagNumber(10)
5426 0 : $core.bool hasVersion() => $_has(6);
5427 0 : @$pb.TagNumber(10)
5428 0 : void clearVersion() => clearField(10);
5429 :
5430 0 : @$pb.TagNumber(11)
5431 0 : $core.List<$core.int> get accountStateRoot => $_getN(7);
5432 0 : @$pb.TagNumber(11)
5433 : set accountStateRoot($core.List<$core.int> v) {
5434 0 : $_setBytes(7, v);
5435 : }
5436 :
5437 0 : @$pb.TagNumber(11)
5438 0 : $core.bool hasAccountStateRoot() => $_has(7);
5439 0 : @$pb.TagNumber(11)
5440 0 : void clearAccountStateRoot() => clearField(11);
5441 : }
5442 :
5443 : class BlockHeader extends $pb.GeneratedMessage {
5444 0 : factory BlockHeader({
5445 : BlockHeader_raw? rawData,
5446 : $core.List<$core.int>? witnessSignature,
5447 : }) {
5448 0 : final $result = create();
5449 : if (rawData != null) {
5450 0 : $result.rawData = rawData;
5451 : }
5452 : if (witnessSignature != null) {
5453 0 : $result.witnessSignature = witnessSignature;
5454 : }
5455 : return $result;
5456 : }
5457 0 : BlockHeader._() : super();
5458 0 : factory BlockHeader.fromBuffer($core.List<$core.int> i,
5459 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5460 0 : create()..mergeFromBuffer(i, r);
5461 0 : factory BlockHeader.fromJson($core.String i,
5462 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5463 0 : create()..mergeFromJson(i, r);
5464 :
5465 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockHeader',
5466 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5467 : createEmptyInstance: create)
5468 0 : ..aOM<BlockHeader_raw>(1, _omitFieldNames ? '' : 'rawData', subBuilder: BlockHeader_raw.create)
5469 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'witnessSignature', $pb.PbFieldType.OY)
5470 0 : ..hasRequiredFields = false;
5471 :
5472 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5473 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5474 : 'Will be removed in next major version')
5475 0 : BlockHeader clone() => BlockHeader()..mergeFromMessage(this);
5476 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5477 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5478 : 'Will be removed in next major version')
5479 : BlockHeader copyWith(void Function(BlockHeader) updates) =>
5480 0 : super.copyWith((message) => updates(message as BlockHeader)) as BlockHeader;
5481 :
5482 0 : $pb.BuilderInfo get info_ => _i;
5483 :
5484 0 : @$core.pragma('dart2js:noInline')
5485 0 : static BlockHeader create() => BlockHeader._();
5486 0 : BlockHeader createEmptyInstance() => create();
5487 0 : static $pb.PbList<BlockHeader> createRepeated() => $pb.PbList<BlockHeader>();
5488 0 : @$core.pragma('dart2js:noInline')
5489 : static BlockHeader getDefault() =>
5490 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BlockHeader>(create);
5491 : static BlockHeader? _defaultInstance;
5492 :
5493 0 : @$pb.TagNumber(1)
5494 0 : BlockHeader_raw get rawData => $_getN(0);
5495 0 : @$pb.TagNumber(1)
5496 : set rawData(BlockHeader_raw v) {
5497 0 : setField(1, v);
5498 : }
5499 :
5500 0 : @$pb.TagNumber(1)
5501 0 : $core.bool hasRawData() => $_has(0);
5502 0 : @$pb.TagNumber(1)
5503 0 : void clearRawData() => clearField(1);
5504 0 : @$pb.TagNumber(1)
5505 0 : BlockHeader_raw ensureRawData() => $_ensure(0);
5506 :
5507 0 : @$pb.TagNumber(2)
5508 0 : $core.List<$core.int> get witnessSignature => $_getN(1);
5509 0 : @$pb.TagNumber(2)
5510 : set witnessSignature($core.List<$core.int> v) {
5511 0 : $_setBytes(1, v);
5512 : }
5513 :
5514 0 : @$pb.TagNumber(2)
5515 0 : $core.bool hasWitnessSignature() => $_has(1);
5516 0 : @$pb.TagNumber(2)
5517 0 : void clearWitnessSignature() => clearField(2);
5518 : }
5519 :
5520 : /// block
5521 : class Block extends $pb.GeneratedMessage {
5522 0 : factory Block({
5523 : $core.Iterable<Transaction>? transactions,
5524 : BlockHeader? blockHeader,
5525 : }) {
5526 0 : final $result = create();
5527 : if (transactions != null) {
5528 0 : $result.transactions.addAll(transactions);
5529 : }
5530 : if (blockHeader != null) {
5531 0 : $result.blockHeader = blockHeader;
5532 : }
5533 : return $result;
5534 : }
5535 0 : Block._() : super();
5536 0 : factory Block.fromBuffer($core.List<$core.int> i,
5537 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5538 0 : create()..mergeFromBuffer(i, r);
5539 0 : factory Block.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5540 0 : create()..mergeFromJson(i, r);
5541 :
5542 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Block',
5543 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5544 : createEmptyInstance: create)
5545 0 : ..pc<Transaction>(1, _omitFieldNames ? '' : 'transactions', $pb.PbFieldType.PM,
5546 : subBuilder: Transaction.create)
5547 0 : ..aOM<BlockHeader>(2, _omitFieldNames ? '' : 'blockHeader', subBuilder: BlockHeader.create)
5548 0 : ..hasRequiredFields = false;
5549 :
5550 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5551 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5552 : 'Will be removed in next major version')
5553 0 : Block clone() => Block()..mergeFromMessage(this);
5554 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5555 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5556 : 'Will be removed in next major version')
5557 : Block copyWith(void Function(Block) updates) =>
5558 0 : super.copyWith((message) => updates(message as Block)) as Block;
5559 :
5560 0 : $pb.BuilderInfo get info_ => _i;
5561 :
5562 0 : @$core.pragma('dart2js:noInline')
5563 0 : static Block create() => Block._();
5564 0 : Block createEmptyInstance() => create();
5565 0 : static $pb.PbList<Block> createRepeated() => $pb.PbList<Block>();
5566 0 : @$core.pragma('dart2js:noInline')
5567 : static Block getDefault() =>
5568 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Block>(create);
5569 : static Block? _defaultInstance;
5570 :
5571 0 : @$pb.TagNumber(1)
5572 0 : $core.List<Transaction> get transactions => $_getList(0);
5573 :
5574 0 : @$pb.TagNumber(2)
5575 0 : BlockHeader get blockHeader => $_getN(1);
5576 0 : @$pb.TagNumber(2)
5577 : set blockHeader(BlockHeader v) {
5578 0 : setField(2, v);
5579 : }
5580 :
5581 0 : @$pb.TagNumber(2)
5582 0 : $core.bool hasBlockHeader() => $_has(1);
5583 0 : @$pb.TagNumber(2)
5584 0 : void clearBlockHeader() => clearField(2);
5585 0 : @$pb.TagNumber(2)
5586 0 : BlockHeader ensureBlockHeader() => $_ensure(1);
5587 : }
5588 :
5589 : class ChainInventory_BlockId extends $pb.GeneratedMessage {
5590 0 : factory ChainInventory_BlockId({
5591 : $core.List<$core.int>? hash,
5592 : $fixnum.Int64? number,
5593 : }) {
5594 0 : final $result = create();
5595 : if (hash != null) {
5596 0 : $result.hash = hash;
5597 : }
5598 : if (number != null) {
5599 0 : $result.number = number;
5600 : }
5601 : return $result;
5602 : }
5603 0 : ChainInventory_BlockId._() : super();
5604 0 : factory ChainInventory_BlockId.fromBuffer($core.List<$core.int> i,
5605 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5606 0 : create()..mergeFromBuffer(i, r);
5607 0 : factory ChainInventory_BlockId.fromJson($core.String i,
5608 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5609 0 : create()..mergeFromJson(i, r);
5610 :
5611 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5612 : _omitMessageNames ? '' : 'ChainInventory.BlockId',
5613 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5614 : createEmptyInstance: create)
5615 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
5616 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
5617 0 : ..hasRequiredFields = false;
5618 :
5619 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5620 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5621 : 'Will be removed in next major version')
5622 0 : ChainInventory_BlockId clone() => ChainInventory_BlockId()..mergeFromMessage(this);
5623 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5624 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5625 : 'Will be removed in next major version')
5626 : ChainInventory_BlockId copyWith(void Function(ChainInventory_BlockId) updates) =>
5627 0 : super.copyWith((message) => updates(message as ChainInventory_BlockId))
5628 : as ChainInventory_BlockId;
5629 :
5630 0 : $pb.BuilderInfo get info_ => _i;
5631 :
5632 0 : @$core.pragma('dart2js:noInline')
5633 0 : static ChainInventory_BlockId create() => ChainInventory_BlockId._();
5634 0 : ChainInventory_BlockId createEmptyInstance() => create();
5635 0 : static $pb.PbList<ChainInventory_BlockId> createRepeated() =>
5636 0 : $pb.PbList<ChainInventory_BlockId>();
5637 0 : @$core.pragma('dart2js:noInline')
5638 : static ChainInventory_BlockId getDefault() =>
5639 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ChainInventory_BlockId>(create);
5640 : static ChainInventory_BlockId? _defaultInstance;
5641 :
5642 0 : @$pb.TagNumber(1)
5643 0 : $core.List<$core.int> get hash => $_getN(0);
5644 0 : @$pb.TagNumber(1)
5645 : set hash($core.List<$core.int> v) {
5646 0 : $_setBytes(0, v);
5647 : }
5648 :
5649 0 : @$pb.TagNumber(1)
5650 0 : $core.bool hasHash() => $_has(0);
5651 0 : @$pb.TagNumber(1)
5652 0 : void clearHash() => clearField(1);
5653 :
5654 0 : @$pb.TagNumber(2)
5655 0 : $fixnum.Int64 get number => $_getI64(1);
5656 0 : @$pb.TagNumber(2)
5657 : set number($fixnum.Int64 v) {
5658 0 : $_setInt64(1, v);
5659 : }
5660 :
5661 0 : @$pb.TagNumber(2)
5662 0 : $core.bool hasNumber() => $_has(1);
5663 0 : @$pb.TagNumber(2)
5664 0 : void clearNumber() => clearField(2);
5665 : }
5666 :
5667 : class ChainInventory extends $pb.GeneratedMessage {
5668 0 : factory ChainInventory({
5669 : $core.Iterable<ChainInventory_BlockId>? ids,
5670 : $fixnum.Int64? remainNum,
5671 : }) {
5672 0 : final $result = create();
5673 : if (ids != null) {
5674 0 : $result.ids.addAll(ids);
5675 : }
5676 : if (remainNum != null) {
5677 0 : $result.remainNum = remainNum;
5678 : }
5679 : return $result;
5680 : }
5681 0 : ChainInventory._() : super();
5682 0 : factory ChainInventory.fromBuffer($core.List<$core.int> i,
5683 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5684 0 : create()..mergeFromBuffer(i, r);
5685 0 : factory ChainInventory.fromJson($core.String i,
5686 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5687 0 : create()..mergeFromJson(i, r);
5688 :
5689 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChainInventory',
5690 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5691 : createEmptyInstance: create)
5692 0 : ..pc<ChainInventory_BlockId>(1, _omitFieldNames ? '' : 'ids', $pb.PbFieldType.PM,
5693 : subBuilder: ChainInventory_BlockId.create)
5694 0 : ..aInt64(2, _omitFieldNames ? '' : 'remainNum')
5695 0 : ..hasRequiredFields = false;
5696 :
5697 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5698 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5699 : 'Will be removed in next major version')
5700 0 : ChainInventory clone() => ChainInventory()..mergeFromMessage(this);
5701 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5702 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5703 : 'Will be removed in next major version')
5704 : ChainInventory copyWith(void Function(ChainInventory) updates) =>
5705 0 : super.copyWith((message) => updates(message as ChainInventory)) as ChainInventory;
5706 :
5707 0 : $pb.BuilderInfo get info_ => _i;
5708 :
5709 0 : @$core.pragma('dart2js:noInline')
5710 0 : static ChainInventory create() => ChainInventory._();
5711 0 : ChainInventory createEmptyInstance() => create();
5712 0 : static $pb.PbList<ChainInventory> createRepeated() => $pb.PbList<ChainInventory>();
5713 0 : @$core.pragma('dart2js:noInline')
5714 : static ChainInventory getDefault() =>
5715 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ChainInventory>(create);
5716 : static ChainInventory? _defaultInstance;
5717 :
5718 0 : @$pb.TagNumber(1)
5719 0 : $core.List<ChainInventory_BlockId> get ids => $_getList(0);
5720 :
5721 0 : @$pb.TagNumber(2)
5722 0 : $fixnum.Int64 get remainNum => $_getI64(1);
5723 0 : @$pb.TagNumber(2)
5724 : set remainNum($fixnum.Int64 v) {
5725 0 : $_setInt64(1, v);
5726 : }
5727 :
5728 0 : @$pb.TagNumber(2)
5729 0 : $core.bool hasRemainNum() => $_has(1);
5730 0 : @$pb.TagNumber(2)
5731 0 : void clearRemainNum() => clearField(2);
5732 : }
5733 :
5734 : class BlockInventory_BlockId extends $pb.GeneratedMessage {
5735 0 : factory BlockInventory_BlockId({
5736 : $core.List<$core.int>? hash,
5737 : $fixnum.Int64? number,
5738 : }) {
5739 0 : final $result = create();
5740 : if (hash != null) {
5741 0 : $result.hash = hash;
5742 : }
5743 : if (number != null) {
5744 0 : $result.number = number;
5745 : }
5746 : return $result;
5747 : }
5748 0 : BlockInventory_BlockId._() : super();
5749 0 : factory BlockInventory_BlockId.fromBuffer($core.List<$core.int> i,
5750 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5751 0 : create()..mergeFromBuffer(i, r);
5752 0 : factory BlockInventory_BlockId.fromJson($core.String i,
5753 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5754 0 : create()..mergeFromJson(i, r);
5755 :
5756 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
5757 : _omitMessageNames ? '' : 'BlockInventory.BlockId',
5758 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5759 : createEmptyInstance: create)
5760 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
5761 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
5762 0 : ..hasRequiredFields = false;
5763 :
5764 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5765 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5766 : 'Will be removed in next major version')
5767 0 : BlockInventory_BlockId clone() => BlockInventory_BlockId()..mergeFromMessage(this);
5768 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5769 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5770 : 'Will be removed in next major version')
5771 : BlockInventory_BlockId copyWith(void Function(BlockInventory_BlockId) updates) =>
5772 0 : super.copyWith((message) => updates(message as BlockInventory_BlockId))
5773 : as BlockInventory_BlockId;
5774 :
5775 0 : $pb.BuilderInfo get info_ => _i;
5776 :
5777 0 : @$core.pragma('dart2js:noInline')
5778 0 : static BlockInventory_BlockId create() => BlockInventory_BlockId._();
5779 0 : BlockInventory_BlockId createEmptyInstance() => create();
5780 0 : static $pb.PbList<BlockInventory_BlockId> createRepeated() =>
5781 0 : $pb.PbList<BlockInventory_BlockId>();
5782 0 : @$core.pragma('dart2js:noInline')
5783 : static BlockInventory_BlockId getDefault() =>
5784 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BlockInventory_BlockId>(create);
5785 : static BlockInventory_BlockId? _defaultInstance;
5786 :
5787 0 : @$pb.TagNumber(1)
5788 0 : $core.List<$core.int> get hash => $_getN(0);
5789 0 : @$pb.TagNumber(1)
5790 : set hash($core.List<$core.int> v) {
5791 0 : $_setBytes(0, v);
5792 : }
5793 :
5794 0 : @$pb.TagNumber(1)
5795 0 : $core.bool hasHash() => $_has(0);
5796 0 : @$pb.TagNumber(1)
5797 0 : void clearHash() => clearField(1);
5798 :
5799 0 : @$pb.TagNumber(2)
5800 0 : $fixnum.Int64 get number => $_getI64(1);
5801 0 : @$pb.TagNumber(2)
5802 : set number($fixnum.Int64 v) {
5803 0 : $_setInt64(1, v);
5804 : }
5805 :
5806 0 : @$pb.TagNumber(2)
5807 0 : $core.bool hasNumber() => $_has(1);
5808 0 : @$pb.TagNumber(2)
5809 0 : void clearNumber() => clearField(2);
5810 : }
5811 :
5812 : /// Inventory
5813 : class BlockInventory extends $pb.GeneratedMessage {
5814 0 : factory BlockInventory({
5815 : $core.Iterable<BlockInventory_BlockId>? ids,
5816 : BlockInventory_Type? type,
5817 : }) {
5818 0 : final $result = create();
5819 : if (ids != null) {
5820 0 : $result.ids.addAll(ids);
5821 : }
5822 : if (type != null) {
5823 0 : $result.type = type;
5824 : }
5825 : return $result;
5826 : }
5827 0 : BlockInventory._() : super();
5828 0 : factory BlockInventory.fromBuffer($core.List<$core.int> i,
5829 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5830 0 : create()..mergeFromBuffer(i, r);
5831 0 : factory BlockInventory.fromJson($core.String i,
5832 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5833 0 : create()..mergeFromJson(i, r);
5834 :
5835 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockInventory',
5836 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5837 : createEmptyInstance: create)
5838 0 : ..pc<BlockInventory_BlockId>(1, _omitFieldNames ? '' : 'ids', $pb.PbFieldType.PM,
5839 : subBuilder: BlockInventory_BlockId.create)
5840 0 : ..e<BlockInventory_Type>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
5841 : defaultOrMaker: BlockInventory_Type.SYNC,
5842 : valueOf: BlockInventory_Type.valueOf,
5843 : enumValues: BlockInventory_Type.values)
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 0 : BlockInventory clone() => BlockInventory()..mergeFromMessage(this);
5850 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5851 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5852 : 'Will be removed in next major version')
5853 : BlockInventory copyWith(void Function(BlockInventory) updates) =>
5854 0 : super.copyWith((message) => updates(message as BlockInventory)) as BlockInventory;
5855 :
5856 0 : $pb.BuilderInfo get info_ => _i;
5857 :
5858 0 : @$core.pragma('dart2js:noInline')
5859 0 : static BlockInventory create() => BlockInventory._();
5860 0 : BlockInventory createEmptyInstance() => create();
5861 0 : static $pb.PbList<BlockInventory> createRepeated() => $pb.PbList<BlockInventory>();
5862 0 : @$core.pragma('dart2js:noInline')
5863 : static BlockInventory getDefault() =>
5864 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BlockInventory>(create);
5865 : static BlockInventory? _defaultInstance;
5866 :
5867 0 : @$pb.TagNumber(1)
5868 0 : $core.List<BlockInventory_BlockId> get ids => $_getList(0);
5869 :
5870 0 : @$pb.TagNumber(2)
5871 0 : BlockInventory_Type get type => $_getN(1);
5872 0 : @$pb.TagNumber(2)
5873 : set type(BlockInventory_Type v) {
5874 0 : setField(2, v);
5875 : }
5876 :
5877 0 : @$pb.TagNumber(2)
5878 0 : $core.bool hasType() => $_has(1);
5879 0 : @$pb.TagNumber(2)
5880 0 : void clearType() => clearField(2);
5881 : }
5882 :
5883 : class Inventory extends $pb.GeneratedMessage {
5884 0 : factory Inventory({
5885 : Inventory_InventoryType? type,
5886 : $core.Iterable<$core.List<$core.int>>? ids,
5887 : }) {
5888 0 : final $result = create();
5889 : if (type != null) {
5890 0 : $result.type = type;
5891 : }
5892 : if (ids != null) {
5893 0 : $result.ids.addAll(ids);
5894 : }
5895 : return $result;
5896 : }
5897 0 : Inventory._() : super();
5898 0 : factory Inventory.fromBuffer($core.List<$core.int> i,
5899 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5900 0 : create()..mergeFromBuffer(i, r);
5901 0 : factory Inventory.fromJson($core.String i,
5902 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5903 0 : create()..mergeFromJson(i, r);
5904 :
5905 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Inventory',
5906 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5907 : createEmptyInstance: create)
5908 0 : ..e<Inventory_InventoryType>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
5909 : defaultOrMaker: Inventory_InventoryType.TRX,
5910 : valueOf: Inventory_InventoryType.valueOf,
5911 : enumValues: Inventory_InventoryType.values)
5912 0 : ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'ids', $pb.PbFieldType.PY)
5913 0 : ..hasRequiredFields = false;
5914 :
5915 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5916 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5917 : 'Will be removed in next major version')
5918 0 : Inventory clone() => Inventory()..mergeFromMessage(this);
5919 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5920 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
5921 : 'Will be removed in next major version')
5922 : Inventory copyWith(void Function(Inventory) updates) =>
5923 0 : super.copyWith((message) => updates(message as Inventory)) as Inventory;
5924 :
5925 0 : $pb.BuilderInfo get info_ => _i;
5926 :
5927 0 : @$core.pragma('dart2js:noInline')
5928 0 : static Inventory create() => Inventory._();
5929 0 : Inventory createEmptyInstance() => create();
5930 0 : static $pb.PbList<Inventory> createRepeated() => $pb.PbList<Inventory>();
5931 0 : @$core.pragma('dart2js:noInline')
5932 : static Inventory getDefault() =>
5933 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Inventory>(create);
5934 : static Inventory? _defaultInstance;
5935 :
5936 0 : @$pb.TagNumber(1)
5937 0 : Inventory_InventoryType get type => $_getN(0);
5938 0 : @$pb.TagNumber(1)
5939 : set type(Inventory_InventoryType v) {
5940 0 : setField(1, v);
5941 : }
5942 :
5943 0 : @$pb.TagNumber(1)
5944 0 : $core.bool hasType() => $_has(0);
5945 0 : @$pb.TagNumber(1)
5946 0 : void clearType() => clearField(1);
5947 :
5948 0 : @$pb.TagNumber(2)
5949 0 : $core.List<$core.List<$core.int>> get ids => $_getList(1);
5950 : }
5951 :
5952 : class Items extends $pb.GeneratedMessage {
5953 0 : factory Items({
5954 : Items_ItemType? type,
5955 : $core.Iterable<Block>? blocks,
5956 : $core.Iterable<BlockHeader>? blockHeaders,
5957 : $core.Iterable<Transaction>? transactions,
5958 : }) {
5959 0 : final $result = create();
5960 : if (type != null) {
5961 0 : $result.type = type;
5962 : }
5963 : if (blocks != null) {
5964 0 : $result.blocks.addAll(blocks);
5965 : }
5966 : if (blockHeaders != null) {
5967 0 : $result.blockHeaders.addAll(blockHeaders);
5968 : }
5969 : if (transactions != null) {
5970 0 : $result.transactions.addAll(transactions);
5971 : }
5972 : return $result;
5973 : }
5974 0 : Items._() : super();
5975 0 : factory Items.fromBuffer($core.List<$core.int> i,
5976 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5977 0 : create()..mergeFromBuffer(i, r);
5978 0 : factory Items.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
5979 0 : create()..mergeFromJson(i, r);
5980 :
5981 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Items',
5982 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
5983 : createEmptyInstance: create)
5984 0 : ..e<Items_ItemType>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE,
5985 : defaultOrMaker: Items_ItemType.ERR,
5986 : valueOf: Items_ItemType.valueOf,
5987 : enumValues: Items_ItemType.values)
5988 0 : ..pc<Block>(2, _omitFieldNames ? '' : 'blocks', $pb.PbFieldType.PM, subBuilder: Block.create)
5989 0 : ..pc<BlockHeader>(3, _omitFieldNames ? '' : 'blockHeaders', $pb.PbFieldType.PM,
5990 : subBuilder: BlockHeader.create)
5991 0 : ..pc<Transaction>(4, _omitFieldNames ? '' : 'transactions', $pb.PbFieldType.PM,
5992 : subBuilder: Transaction.create)
5993 0 : ..hasRequiredFields = false;
5994 :
5995 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
5996 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
5997 : 'Will be removed in next major version')
5998 0 : Items clone() => Items()..mergeFromMessage(this);
5999 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6000 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6001 : 'Will be removed in next major version')
6002 : Items copyWith(void Function(Items) updates) =>
6003 0 : super.copyWith((message) => updates(message as Items)) as Items;
6004 :
6005 0 : $pb.BuilderInfo get info_ => _i;
6006 :
6007 0 : @$core.pragma('dart2js:noInline')
6008 0 : static Items create() => Items._();
6009 0 : Items createEmptyInstance() => create();
6010 0 : static $pb.PbList<Items> createRepeated() => $pb.PbList<Items>();
6011 0 : @$core.pragma('dart2js:noInline')
6012 : static Items getDefault() =>
6013 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Items>(create);
6014 : static Items? _defaultInstance;
6015 :
6016 0 : @$pb.TagNumber(1)
6017 0 : Items_ItemType get type => $_getN(0);
6018 0 : @$pb.TagNumber(1)
6019 : set type(Items_ItemType v) {
6020 0 : setField(1, v);
6021 : }
6022 :
6023 0 : @$pb.TagNumber(1)
6024 0 : $core.bool hasType() => $_has(0);
6025 0 : @$pb.TagNumber(1)
6026 0 : void clearType() => clearField(1);
6027 :
6028 0 : @$pb.TagNumber(2)
6029 0 : $core.List<Block> get blocks => $_getList(1);
6030 :
6031 0 : @$pb.TagNumber(3)
6032 0 : $core.List<BlockHeader> get blockHeaders => $_getList(2);
6033 :
6034 0 : @$pb.TagNumber(4)
6035 0 : $core.List<Transaction> get transactions => $_getList(3);
6036 : }
6037 :
6038 : /// DynamicProperties
6039 : class DynamicProperties extends $pb.GeneratedMessage {
6040 0 : factory DynamicProperties({
6041 : $fixnum.Int64? lastSolidityBlockNum,
6042 : }) {
6043 0 : final $result = create();
6044 : if (lastSolidityBlockNum != null) {
6045 0 : $result.lastSolidityBlockNum = lastSolidityBlockNum;
6046 : }
6047 : return $result;
6048 : }
6049 0 : DynamicProperties._() : super();
6050 0 : factory DynamicProperties.fromBuffer($core.List<$core.int> i,
6051 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6052 0 : create()..mergeFromBuffer(i, r);
6053 0 : factory DynamicProperties.fromJson($core.String i,
6054 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6055 0 : create()..mergeFromJson(i, r);
6056 :
6057 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DynamicProperties',
6058 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6059 : createEmptyInstance: create)
6060 0 : ..aInt64(1, _omitFieldNames ? '' : 'lastSolidityBlockNum')
6061 0 : ..hasRequiredFields = false;
6062 :
6063 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6064 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6065 : 'Will be removed in next major version')
6066 0 : DynamicProperties clone() => DynamicProperties()..mergeFromMessage(this);
6067 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6068 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6069 : 'Will be removed in next major version')
6070 : DynamicProperties copyWith(void Function(DynamicProperties) updates) =>
6071 0 : super.copyWith((message) => updates(message as DynamicProperties)) as DynamicProperties;
6072 :
6073 0 : $pb.BuilderInfo get info_ => _i;
6074 :
6075 0 : @$core.pragma('dart2js:noInline')
6076 0 : static DynamicProperties create() => DynamicProperties._();
6077 0 : DynamicProperties createEmptyInstance() => create();
6078 0 : static $pb.PbList<DynamicProperties> createRepeated() => $pb.PbList<DynamicProperties>();
6079 0 : @$core.pragma('dart2js:noInline')
6080 : static DynamicProperties getDefault() =>
6081 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DynamicProperties>(create);
6082 : static DynamicProperties? _defaultInstance;
6083 :
6084 0 : @$pb.TagNumber(1)
6085 0 : $fixnum.Int64 get lastSolidityBlockNum => $_getI64(0);
6086 0 : @$pb.TagNumber(1)
6087 : set lastSolidityBlockNum($fixnum.Int64 v) {
6088 0 : $_setInt64(0, v);
6089 : }
6090 :
6091 0 : @$pb.TagNumber(1)
6092 0 : $core.bool hasLastSolidityBlockNum() => $_has(0);
6093 0 : @$pb.TagNumber(1)
6094 0 : void clearLastSolidityBlockNum() => clearField(1);
6095 : }
6096 :
6097 : class DisconnectMessage extends $pb.GeneratedMessage {
6098 0 : factory DisconnectMessage({
6099 : ReasonCode? reason,
6100 : }) {
6101 0 : final $result = create();
6102 : if (reason != null) {
6103 0 : $result.reason = reason;
6104 : }
6105 : return $result;
6106 : }
6107 0 : DisconnectMessage._() : super();
6108 0 : factory DisconnectMessage.fromBuffer($core.List<$core.int> i,
6109 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6110 0 : create()..mergeFromBuffer(i, r);
6111 0 : factory DisconnectMessage.fromJson($core.String i,
6112 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6113 0 : create()..mergeFromJson(i, r);
6114 :
6115 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisconnectMessage',
6116 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6117 : createEmptyInstance: create)
6118 0 : ..e<ReasonCode>(1, _omitFieldNames ? '' : 'reason', $pb.PbFieldType.OE,
6119 : defaultOrMaker: ReasonCode.REQUESTED,
6120 : valueOf: ReasonCode.valueOf,
6121 : enumValues: ReasonCode.values)
6122 0 : ..hasRequiredFields = false;
6123 :
6124 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6125 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6126 : 'Will be removed in next major version')
6127 0 : DisconnectMessage clone() => DisconnectMessage()..mergeFromMessage(this);
6128 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6129 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6130 : 'Will be removed in next major version')
6131 : DisconnectMessage copyWith(void Function(DisconnectMessage) updates) =>
6132 0 : super.copyWith((message) => updates(message as DisconnectMessage)) as DisconnectMessage;
6133 :
6134 0 : $pb.BuilderInfo get info_ => _i;
6135 :
6136 0 : @$core.pragma('dart2js:noInline')
6137 0 : static DisconnectMessage create() => DisconnectMessage._();
6138 0 : DisconnectMessage createEmptyInstance() => create();
6139 0 : static $pb.PbList<DisconnectMessage> createRepeated() => $pb.PbList<DisconnectMessage>();
6140 0 : @$core.pragma('dart2js:noInline')
6141 : static DisconnectMessage getDefault() =>
6142 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DisconnectMessage>(create);
6143 : static DisconnectMessage? _defaultInstance;
6144 :
6145 0 : @$pb.TagNumber(1)
6146 0 : ReasonCode get reason => $_getN(0);
6147 0 : @$pb.TagNumber(1)
6148 : set reason(ReasonCode v) {
6149 0 : setField(1, v);
6150 : }
6151 :
6152 0 : @$pb.TagNumber(1)
6153 0 : $core.bool hasReason() => $_has(0);
6154 0 : @$pb.TagNumber(1)
6155 0 : void clearReason() => clearField(1);
6156 : }
6157 :
6158 : class HelloMessage_BlockId extends $pb.GeneratedMessage {
6159 0 : factory HelloMessage_BlockId({
6160 : $core.List<$core.int>? hash,
6161 : $fixnum.Int64? number,
6162 : }) {
6163 0 : final $result = create();
6164 : if (hash != null) {
6165 0 : $result.hash = hash;
6166 : }
6167 : if (number != null) {
6168 0 : $result.number = number;
6169 : }
6170 : return $result;
6171 : }
6172 0 : HelloMessage_BlockId._() : super();
6173 0 : factory HelloMessage_BlockId.fromBuffer($core.List<$core.int> i,
6174 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6175 0 : create()..mergeFromBuffer(i, r);
6176 0 : factory HelloMessage_BlockId.fromJson($core.String i,
6177 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6178 0 : create()..mergeFromJson(i, r);
6179 :
6180 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HelloMessage.BlockId',
6181 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6182 : createEmptyInstance: create)
6183 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
6184 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
6185 0 : ..hasRequiredFields = false;
6186 :
6187 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6188 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6189 : 'Will be removed in next major version')
6190 0 : HelloMessage_BlockId clone() => HelloMessage_BlockId()..mergeFromMessage(this);
6191 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6192 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6193 : 'Will be removed in next major version')
6194 : HelloMessage_BlockId copyWith(void Function(HelloMessage_BlockId) updates) =>
6195 0 : super.copyWith((message) => updates(message as HelloMessage_BlockId)) as HelloMessage_BlockId;
6196 :
6197 0 : $pb.BuilderInfo get info_ => _i;
6198 :
6199 0 : @$core.pragma('dart2js:noInline')
6200 0 : static HelloMessage_BlockId create() => HelloMessage_BlockId._();
6201 0 : HelloMessage_BlockId createEmptyInstance() => create();
6202 0 : static $pb.PbList<HelloMessage_BlockId> createRepeated() => $pb.PbList<HelloMessage_BlockId>();
6203 0 : @$core.pragma('dart2js:noInline')
6204 : static HelloMessage_BlockId getDefault() =>
6205 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HelloMessage_BlockId>(create);
6206 : static HelloMessage_BlockId? _defaultInstance;
6207 :
6208 0 : @$pb.TagNumber(1)
6209 0 : $core.List<$core.int> get hash => $_getN(0);
6210 0 : @$pb.TagNumber(1)
6211 : set hash($core.List<$core.int> v) {
6212 0 : $_setBytes(0, v);
6213 : }
6214 :
6215 0 : @$pb.TagNumber(1)
6216 0 : $core.bool hasHash() => $_has(0);
6217 0 : @$pb.TagNumber(1)
6218 0 : void clearHash() => clearField(1);
6219 :
6220 0 : @$pb.TagNumber(2)
6221 0 : $fixnum.Int64 get number => $_getI64(1);
6222 0 : @$pb.TagNumber(2)
6223 : set number($fixnum.Int64 v) {
6224 0 : $_setInt64(1, v);
6225 : }
6226 :
6227 0 : @$pb.TagNumber(2)
6228 0 : $core.bool hasNumber() => $_has(1);
6229 0 : @$pb.TagNumber(2)
6230 0 : void clearNumber() => clearField(2);
6231 : }
6232 :
6233 : class HelloMessage extends $pb.GeneratedMessage {
6234 0 : factory HelloMessage({
6235 : $13.Endpoint? from,
6236 : $core.int? version,
6237 : $fixnum.Int64? timestamp,
6238 : HelloMessage_BlockId? genesisBlockId,
6239 : HelloMessage_BlockId? solidBlockId,
6240 : HelloMessage_BlockId? headBlockId,
6241 : $core.List<$core.int>? address,
6242 : $core.List<$core.int>? signature,
6243 : $core.int? nodeType,
6244 : $fixnum.Int64? lowestBlockNum,
6245 : $core.List<$core.int>? codeVersion,
6246 : }) {
6247 0 : final $result = create();
6248 : if (from != null) {
6249 0 : $result.from = from;
6250 : }
6251 : if (version != null) {
6252 0 : $result.version = version;
6253 : }
6254 : if (timestamp != null) {
6255 0 : $result.timestamp = timestamp;
6256 : }
6257 : if (genesisBlockId != null) {
6258 0 : $result.genesisBlockId = genesisBlockId;
6259 : }
6260 : if (solidBlockId != null) {
6261 0 : $result.solidBlockId = solidBlockId;
6262 : }
6263 : if (headBlockId != null) {
6264 0 : $result.headBlockId = headBlockId;
6265 : }
6266 : if (address != null) {
6267 0 : $result.address = address;
6268 : }
6269 : if (signature != null) {
6270 0 : $result.signature = signature;
6271 : }
6272 : if (nodeType != null) {
6273 0 : $result.nodeType = nodeType;
6274 : }
6275 : if (lowestBlockNum != null) {
6276 0 : $result.lowestBlockNum = lowestBlockNum;
6277 : }
6278 : if (codeVersion != null) {
6279 0 : $result.codeVersion = codeVersion;
6280 : }
6281 : return $result;
6282 : }
6283 0 : HelloMessage._() : super();
6284 0 : factory HelloMessage.fromBuffer($core.List<$core.int> i,
6285 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6286 0 : create()..mergeFromBuffer(i, r);
6287 0 : factory HelloMessage.fromJson($core.String i,
6288 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6289 0 : create()..mergeFromJson(i, r);
6290 :
6291 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HelloMessage',
6292 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6293 : createEmptyInstance: create)
6294 0 : ..aOM<$13.Endpoint>(1, _omitFieldNames ? '' : 'from', subBuilder: $13.Endpoint.create)
6295 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
6296 0 : ..aInt64(3, _omitFieldNames ? '' : 'timestamp')
6297 0 : ..aOM<HelloMessage_BlockId>(4, _omitFieldNames ? '' : 'genesisBlockId',
6298 : protoName: 'genesisBlockId', subBuilder: HelloMessage_BlockId.create)
6299 0 : ..aOM<HelloMessage_BlockId>(5, _omitFieldNames ? '' : 'solidBlockId',
6300 : protoName: 'solidBlockId', subBuilder: HelloMessage_BlockId.create)
6301 0 : ..aOM<HelloMessage_BlockId>(6, _omitFieldNames ? '' : 'headBlockId',
6302 : protoName: 'headBlockId', subBuilder: HelloMessage_BlockId.create)
6303 0 : ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
6304 0 : ..a<$core.List<$core.int>>(8, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
6305 0 : ..a<$core.int>(9, _omitFieldNames ? '' : 'nodeType', $pb.PbFieldType.O3, protoName: 'nodeType')
6306 0 : ..aInt64(10, _omitFieldNames ? '' : 'lowestBlockNum', protoName: 'lowestBlockNum')
6307 0 : ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'codeVersion', $pb.PbFieldType.OY,
6308 : protoName: 'codeVersion')
6309 0 : ..hasRequiredFields = false;
6310 :
6311 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6312 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6313 : 'Will be removed in next major version')
6314 0 : HelloMessage clone() => HelloMessage()..mergeFromMessage(this);
6315 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6316 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6317 : 'Will be removed in next major version')
6318 : HelloMessage copyWith(void Function(HelloMessage) updates) =>
6319 0 : super.copyWith((message) => updates(message as HelloMessage)) as HelloMessage;
6320 :
6321 0 : $pb.BuilderInfo get info_ => _i;
6322 :
6323 0 : @$core.pragma('dart2js:noInline')
6324 0 : static HelloMessage create() => HelloMessage._();
6325 0 : HelloMessage createEmptyInstance() => create();
6326 0 : static $pb.PbList<HelloMessage> createRepeated() => $pb.PbList<HelloMessage>();
6327 0 : @$core.pragma('dart2js:noInline')
6328 : static HelloMessage getDefault() =>
6329 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HelloMessage>(create);
6330 : static HelloMessage? _defaultInstance;
6331 :
6332 0 : @$pb.TagNumber(1)
6333 0 : $13.Endpoint get from => $_getN(0);
6334 0 : @$pb.TagNumber(1)
6335 : set from($13.Endpoint v) {
6336 0 : setField(1, v);
6337 : }
6338 :
6339 0 : @$pb.TagNumber(1)
6340 0 : $core.bool hasFrom() => $_has(0);
6341 0 : @$pb.TagNumber(1)
6342 0 : void clearFrom() => clearField(1);
6343 0 : @$pb.TagNumber(1)
6344 0 : $13.Endpoint ensureFrom() => $_ensure(0);
6345 :
6346 0 : @$pb.TagNumber(2)
6347 0 : $core.int get version => $_getIZ(1);
6348 0 : @$pb.TagNumber(2)
6349 : set version($core.int v) {
6350 0 : $_setSignedInt32(1, v);
6351 : }
6352 :
6353 0 : @$pb.TagNumber(2)
6354 0 : $core.bool hasVersion() => $_has(1);
6355 0 : @$pb.TagNumber(2)
6356 0 : void clearVersion() => clearField(2);
6357 :
6358 0 : @$pb.TagNumber(3)
6359 0 : $fixnum.Int64 get timestamp => $_getI64(2);
6360 0 : @$pb.TagNumber(3)
6361 : set timestamp($fixnum.Int64 v) {
6362 0 : $_setInt64(2, v);
6363 : }
6364 :
6365 0 : @$pb.TagNumber(3)
6366 0 : $core.bool hasTimestamp() => $_has(2);
6367 0 : @$pb.TagNumber(3)
6368 0 : void clearTimestamp() => clearField(3);
6369 :
6370 0 : @$pb.TagNumber(4)
6371 0 : HelloMessage_BlockId get genesisBlockId => $_getN(3);
6372 0 : @$pb.TagNumber(4)
6373 : set genesisBlockId(HelloMessage_BlockId v) {
6374 0 : setField(4, v);
6375 : }
6376 :
6377 0 : @$pb.TagNumber(4)
6378 0 : $core.bool hasGenesisBlockId() => $_has(3);
6379 0 : @$pb.TagNumber(4)
6380 0 : void clearGenesisBlockId() => clearField(4);
6381 0 : @$pb.TagNumber(4)
6382 0 : HelloMessage_BlockId ensureGenesisBlockId() => $_ensure(3);
6383 :
6384 0 : @$pb.TagNumber(5)
6385 0 : HelloMessage_BlockId get solidBlockId => $_getN(4);
6386 0 : @$pb.TagNumber(5)
6387 : set solidBlockId(HelloMessage_BlockId v) {
6388 0 : setField(5, v);
6389 : }
6390 :
6391 0 : @$pb.TagNumber(5)
6392 0 : $core.bool hasSolidBlockId() => $_has(4);
6393 0 : @$pb.TagNumber(5)
6394 0 : void clearSolidBlockId() => clearField(5);
6395 0 : @$pb.TagNumber(5)
6396 0 : HelloMessage_BlockId ensureSolidBlockId() => $_ensure(4);
6397 :
6398 0 : @$pb.TagNumber(6)
6399 0 : HelloMessage_BlockId get headBlockId => $_getN(5);
6400 0 : @$pb.TagNumber(6)
6401 : set headBlockId(HelloMessage_BlockId v) {
6402 0 : setField(6, v);
6403 : }
6404 :
6405 0 : @$pb.TagNumber(6)
6406 0 : $core.bool hasHeadBlockId() => $_has(5);
6407 0 : @$pb.TagNumber(6)
6408 0 : void clearHeadBlockId() => clearField(6);
6409 0 : @$pb.TagNumber(6)
6410 0 : HelloMessage_BlockId ensureHeadBlockId() => $_ensure(5);
6411 :
6412 0 : @$pb.TagNumber(7)
6413 0 : $core.List<$core.int> get address => $_getN(6);
6414 0 : @$pb.TagNumber(7)
6415 : set address($core.List<$core.int> v) {
6416 0 : $_setBytes(6, v);
6417 : }
6418 :
6419 0 : @$pb.TagNumber(7)
6420 0 : $core.bool hasAddress() => $_has(6);
6421 0 : @$pb.TagNumber(7)
6422 0 : void clearAddress() => clearField(7);
6423 :
6424 0 : @$pb.TagNumber(8)
6425 0 : $core.List<$core.int> get signature => $_getN(7);
6426 0 : @$pb.TagNumber(8)
6427 : set signature($core.List<$core.int> v) {
6428 0 : $_setBytes(7, v);
6429 : }
6430 :
6431 0 : @$pb.TagNumber(8)
6432 0 : $core.bool hasSignature() => $_has(7);
6433 0 : @$pb.TagNumber(8)
6434 0 : void clearSignature() => clearField(8);
6435 :
6436 0 : @$pb.TagNumber(9)
6437 0 : $core.int get nodeType => $_getIZ(8);
6438 0 : @$pb.TagNumber(9)
6439 : set nodeType($core.int v) {
6440 0 : $_setSignedInt32(8, v);
6441 : }
6442 :
6443 0 : @$pb.TagNumber(9)
6444 0 : $core.bool hasNodeType() => $_has(8);
6445 0 : @$pb.TagNumber(9)
6446 0 : void clearNodeType() => clearField(9);
6447 :
6448 0 : @$pb.TagNumber(10)
6449 0 : $fixnum.Int64 get lowestBlockNum => $_getI64(9);
6450 0 : @$pb.TagNumber(10)
6451 : set lowestBlockNum($fixnum.Int64 v) {
6452 0 : $_setInt64(9, v);
6453 : }
6454 :
6455 0 : @$pb.TagNumber(10)
6456 0 : $core.bool hasLowestBlockNum() => $_has(9);
6457 0 : @$pb.TagNumber(10)
6458 0 : void clearLowestBlockNum() => clearField(10);
6459 :
6460 0 : @$pb.TagNumber(11)
6461 0 : $core.List<$core.int> get codeVersion => $_getN(10);
6462 0 : @$pb.TagNumber(11)
6463 : set codeVersion($core.List<$core.int> v) {
6464 0 : $_setBytes(10, v);
6465 : }
6466 :
6467 0 : @$pb.TagNumber(11)
6468 0 : $core.bool hasCodeVersion() => $_has(10);
6469 0 : @$pb.TagNumber(11)
6470 0 : void clearCodeVersion() => clearField(11);
6471 : }
6472 :
6473 : class InternalTransaction_CallValueInfo extends $pb.GeneratedMessage {
6474 0 : factory InternalTransaction_CallValueInfo({
6475 : $fixnum.Int64? callValue,
6476 : $core.String? tokenId,
6477 : }) {
6478 0 : final $result = create();
6479 : if (callValue != null) {
6480 0 : $result.callValue = callValue;
6481 : }
6482 : if (tokenId != null) {
6483 0 : $result.tokenId = tokenId;
6484 : }
6485 : return $result;
6486 : }
6487 0 : InternalTransaction_CallValueInfo._() : super();
6488 0 : factory InternalTransaction_CallValueInfo.fromBuffer($core.List<$core.int> i,
6489 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6490 0 : create()..mergeFromBuffer(i, r);
6491 0 : factory InternalTransaction_CallValueInfo.fromJson($core.String i,
6492 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6493 0 : create()..mergeFromJson(i, r);
6494 :
6495 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6496 : _omitMessageNames ? '' : 'InternalTransaction.CallValueInfo',
6497 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6498 : createEmptyInstance: create)
6499 0 : ..aInt64(1, _omitFieldNames ? '' : 'callValue', protoName: 'callValue')
6500 0 : ..aOS(2, _omitFieldNames ? '' : 'tokenId', protoName: 'tokenId')
6501 0 : ..hasRequiredFields = false;
6502 :
6503 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6504 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6505 : 'Will be removed in next major version')
6506 : InternalTransaction_CallValueInfo clone() =>
6507 0 : InternalTransaction_CallValueInfo()..mergeFromMessage(this);
6508 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6509 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6510 : 'Will be removed in next major version')
6511 : InternalTransaction_CallValueInfo copyWith(
6512 : void Function(InternalTransaction_CallValueInfo) updates) =>
6513 0 : super.copyWith((message) => updates(message as InternalTransaction_CallValueInfo))
6514 : as InternalTransaction_CallValueInfo;
6515 :
6516 0 : $pb.BuilderInfo get info_ => _i;
6517 :
6518 0 : @$core.pragma('dart2js:noInline')
6519 0 : static InternalTransaction_CallValueInfo create() => InternalTransaction_CallValueInfo._();
6520 0 : InternalTransaction_CallValueInfo createEmptyInstance() => create();
6521 0 : static $pb.PbList<InternalTransaction_CallValueInfo> createRepeated() =>
6522 0 : $pb.PbList<InternalTransaction_CallValueInfo>();
6523 0 : @$core.pragma('dart2js:noInline')
6524 : static InternalTransaction_CallValueInfo getDefault() => _defaultInstance ??=
6525 0 : $pb.GeneratedMessage.$_defaultFor<InternalTransaction_CallValueInfo>(create);
6526 : static InternalTransaction_CallValueInfo? _defaultInstance;
6527 :
6528 : /// trx (TBD: or token) value
6529 0 : @$pb.TagNumber(1)
6530 0 : $fixnum.Int64 get callValue => $_getI64(0);
6531 0 : @$pb.TagNumber(1)
6532 : set callValue($fixnum.Int64 v) {
6533 0 : $_setInt64(0, v);
6534 : }
6535 :
6536 0 : @$pb.TagNumber(1)
6537 0 : $core.bool hasCallValue() => $_has(0);
6538 0 : @$pb.TagNumber(1)
6539 0 : void clearCallValue() => clearField(1);
6540 :
6541 : /// TBD: tokenName, trx should be empty
6542 0 : @$pb.TagNumber(2)
6543 0 : $core.String get tokenId => $_getSZ(1);
6544 0 : @$pb.TagNumber(2)
6545 : set tokenId($core.String v) {
6546 0 : $_setString(1, v);
6547 : }
6548 :
6549 0 : @$pb.TagNumber(2)
6550 0 : $core.bool hasTokenId() => $_has(1);
6551 0 : @$pb.TagNumber(2)
6552 0 : void clearTokenId() => clearField(2);
6553 : }
6554 :
6555 : class InternalTransaction extends $pb.GeneratedMessage {
6556 0 : factory InternalTransaction({
6557 : $core.List<$core.int>? hash,
6558 : $core.List<$core.int>? callerAddress,
6559 : $core.List<$core.int>? transferToAddress,
6560 : $core.Iterable<InternalTransaction_CallValueInfo>? callValueInfo,
6561 : $core.List<$core.int>? note,
6562 : $core.bool? rejected,
6563 : $core.String? extra,
6564 : }) {
6565 0 : final $result = create();
6566 : if (hash != null) {
6567 0 : $result.hash = hash;
6568 : }
6569 : if (callerAddress != null) {
6570 0 : $result.callerAddress = callerAddress;
6571 : }
6572 : if (transferToAddress != null) {
6573 0 : $result.transferToAddress = transferToAddress;
6574 : }
6575 : if (callValueInfo != null) {
6576 0 : $result.callValueInfo.addAll(callValueInfo);
6577 : }
6578 : if (note != null) {
6579 0 : $result.note = note;
6580 : }
6581 : if (rejected != null) {
6582 0 : $result.rejected = rejected;
6583 : }
6584 : if (extra != null) {
6585 0 : $result.extra = extra;
6586 : }
6587 : return $result;
6588 : }
6589 0 : InternalTransaction._() : super();
6590 0 : factory InternalTransaction.fromBuffer($core.List<$core.int> i,
6591 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6592 0 : create()..mergeFromBuffer(i, r);
6593 0 : factory InternalTransaction.fromJson($core.String i,
6594 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6595 0 : create()..mergeFromJson(i, r);
6596 :
6597 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InternalTransaction',
6598 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6599 : createEmptyInstance: create)
6600 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
6601 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'callerAddress', $pb.PbFieldType.OY)
6602 0 : ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'transferToAddress', $pb.PbFieldType.OY,
6603 : protoName: 'transferTo_address')
6604 0 : ..pc<InternalTransaction_CallValueInfo>(
6605 : 4, _omitFieldNames ? '' : 'callValueInfo', $pb.PbFieldType.PM,
6606 : protoName: 'callValueInfo', subBuilder: InternalTransaction_CallValueInfo.create)
6607 0 : ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'note', $pb.PbFieldType.OY)
6608 0 : ..aOB(6, _omitFieldNames ? '' : 'rejected')
6609 0 : ..aOS(7, _omitFieldNames ? '' : 'extra')
6610 0 : ..hasRequiredFields = false;
6611 :
6612 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6613 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6614 : 'Will be removed in next major version')
6615 0 : InternalTransaction clone() => InternalTransaction()..mergeFromMessage(this);
6616 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6617 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6618 : 'Will be removed in next major version')
6619 : InternalTransaction copyWith(void Function(InternalTransaction) updates) =>
6620 0 : super.copyWith((message) => updates(message as InternalTransaction)) as InternalTransaction;
6621 :
6622 0 : $pb.BuilderInfo get info_ => _i;
6623 :
6624 0 : @$core.pragma('dart2js:noInline')
6625 0 : static InternalTransaction create() => InternalTransaction._();
6626 0 : InternalTransaction createEmptyInstance() => create();
6627 0 : static $pb.PbList<InternalTransaction> createRepeated() => $pb.PbList<InternalTransaction>();
6628 0 : @$core.pragma('dart2js:noInline')
6629 : static InternalTransaction getDefault() =>
6630 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<InternalTransaction>(create);
6631 : static InternalTransaction? _defaultInstance;
6632 :
6633 : /// internalTransaction identity, the root InternalTransaction hash
6634 : /// should equals to root transaction id.
6635 0 : @$pb.TagNumber(1)
6636 0 : $core.List<$core.int> get hash => $_getN(0);
6637 0 : @$pb.TagNumber(1)
6638 : set hash($core.List<$core.int> v) {
6639 0 : $_setBytes(0, v);
6640 : }
6641 :
6642 0 : @$pb.TagNumber(1)
6643 0 : $core.bool hasHash() => $_has(0);
6644 0 : @$pb.TagNumber(1)
6645 0 : void clearHash() => clearField(1);
6646 :
6647 : /// the one send trx (TBD: or token) via function
6648 0 : @$pb.TagNumber(2)
6649 0 : $core.List<$core.int> get callerAddress => $_getN(1);
6650 0 : @$pb.TagNumber(2)
6651 : set callerAddress($core.List<$core.int> v) {
6652 0 : $_setBytes(1, v);
6653 : }
6654 :
6655 0 : @$pb.TagNumber(2)
6656 0 : $core.bool hasCallerAddress() => $_has(1);
6657 0 : @$pb.TagNumber(2)
6658 0 : void clearCallerAddress() => clearField(2);
6659 :
6660 : /// the one recieve trx (TBD: or token) via function
6661 0 : @$pb.TagNumber(3)
6662 0 : $core.List<$core.int> get transferToAddress => $_getN(2);
6663 0 : @$pb.TagNumber(3)
6664 : set transferToAddress($core.List<$core.int> v) {
6665 0 : $_setBytes(2, v);
6666 : }
6667 :
6668 0 : @$pb.TagNumber(3)
6669 0 : $core.bool hasTransferToAddress() => $_has(2);
6670 0 : @$pb.TagNumber(3)
6671 0 : void clearTransferToAddress() => clearField(3);
6672 :
6673 0 : @$pb.TagNumber(4)
6674 0 : $core.List<InternalTransaction_CallValueInfo> get callValueInfo => $_getList(3);
6675 :
6676 0 : @$pb.TagNumber(5)
6677 0 : $core.List<$core.int> get note => $_getN(4);
6678 0 : @$pb.TagNumber(5)
6679 : set note($core.List<$core.int> v) {
6680 0 : $_setBytes(4, v);
6681 : }
6682 :
6683 0 : @$pb.TagNumber(5)
6684 0 : $core.bool hasNote() => $_has(4);
6685 0 : @$pb.TagNumber(5)
6686 0 : void clearNote() => clearField(5);
6687 :
6688 0 : @$pb.TagNumber(6)
6689 0 : $core.bool get rejected => $_getBF(5);
6690 0 : @$pb.TagNumber(6)
6691 : set rejected($core.bool v) {
6692 0 : $_setBool(5, v);
6693 : }
6694 :
6695 0 : @$pb.TagNumber(6)
6696 0 : $core.bool hasRejected() => $_has(5);
6697 0 : @$pb.TagNumber(6)
6698 0 : void clearRejected() => clearField(6);
6699 :
6700 0 : @$pb.TagNumber(7)
6701 0 : $core.String get extra => $_getSZ(6);
6702 0 : @$pb.TagNumber(7)
6703 : set extra($core.String v) {
6704 0 : $_setString(6, v);
6705 : }
6706 :
6707 0 : @$pb.TagNumber(7)
6708 0 : $core.bool hasExtra() => $_has(6);
6709 0 : @$pb.TagNumber(7)
6710 0 : void clearExtra() => clearField(7);
6711 : }
6712 :
6713 : class DelegatedResourceAccountIndex extends $pb.GeneratedMessage {
6714 0 : factory DelegatedResourceAccountIndex({
6715 : $core.List<$core.int>? account,
6716 : $core.Iterable<$core.List<$core.int>>? fromAccounts,
6717 : $core.Iterable<$core.List<$core.int>>? toAccounts,
6718 : $fixnum.Int64? timestamp,
6719 : }) {
6720 0 : final $result = create();
6721 : if (account != null) {
6722 0 : $result.account = account;
6723 : }
6724 : if (fromAccounts != null) {
6725 0 : $result.fromAccounts.addAll(fromAccounts);
6726 : }
6727 : if (toAccounts != null) {
6728 0 : $result.toAccounts.addAll(toAccounts);
6729 : }
6730 : if (timestamp != null) {
6731 0 : $result.timestamp = timestamp;
6732 : }
6733 : return $result;
6734 : }
6735 0 : DelegatedResourceAccountIndex._() : super();
6736 0 : factory DelegatedResourceAccountIndex.fromBuffer($core.List<$core.int> i,
6737 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6738 0 : create()..mergeFromBuffer(i, r);
6739 0 : factory DelegatedResourceAccountIndex.fromJson($core.String i,
6740 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6741 0 : create()..mergeFromJson(i, r);
6742 :
6743 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
6744 : _omitMessageNames ? '' : 'DelegatedResourceAccountIndex',
6745 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6746 : createEmptyInstance: create)
6747 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'account', $pb.PbFieldType.OY)
6748 0 : ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'fromAccounts', $pb.PbFieldType.PY,
6749 : protoName: 'fromAccounts')
6750 0 : ..p<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'toAccounts', $pb.PbFieldType.PY,
6751 : protoName: 'toAccounts')
6752 0 : ..aInt64(4, _omitFieldNames ? '' : 'timestamp')
6753 0 : ..hasRequiredFields = false;
6754 :
6755 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6756 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6757 : 'Will be removed in next major version')
6758 0 : DelegatedResourceAccountIndex clone() => DelegatedResourceAccountIndex()..mergeFromMessage(this);
6759 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6760 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6761 : 'Will be removed in next major version')
6762 : DelegatedResourceAccountIndex copyWith(void Function(DelegatedResourceAccountIndex) updates) =>
6763 0 : super.copyWith((message) => updates(message as DelegatedResourceAccountIndex))
6764 : as DelegatedResourceAccountIndex;
6765 :
6766 0 : $pb.BuilderInfo get info_ => _i;
6767 :
6768 0 : @$core.pragma('dart2js:noInline')
6769 0 : static DelegatedResourceAccountIndex create() => DelegatedResourceAccountIndex._();
6770 0 : DelegatedResourceAccountIndex createEmptyInstance() => create();
6771 0 : static $pb.PbList<DelegatedResourceAccountIndex> createRepeated() =>
6772 0 : $pb.PbList<DelegatedResourceAccountIndex>();
6773 0 : @$core.pragma('dart2js:noInline')
6774 : static DelegatedResourceAccountIndex getDefault() =>
6775 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DelegatedResourceAccountIndex>(create);
6776 : static DelegatedResourceAccountIndex? _defaultInstance;
6777 :
6778 0 : @$pb.TagNumber(1)
6779 0 : $core.List<$core.int> get account => $_getN(0);
6780 0 : @$pb.TagNumber(1)
6781 : set account($core.List<$core.int> v) {
6782 0 : $_setBytes(0, v);
6783 : }
6784 :
6785 0 : @$pb.TagNumber(1)
6786 0 : $core.bool hasAccount() => $_has(0);
6787 0 : @$pb.TagNumber(1)
6788 0 : void clearAccount() => clearField(1);
6789 :
6790 0 : @$pb.TagNumber(2)
6791 0 : $core.List<$core.List<$core.int>> get fromAccounts => $_getList(1);
6792 :
6793 0 : @$pb.TagNumber(3)
6794 0 : $core.List<$core.List<$core.int>> get toAccounts => $_getList(2);
6795 :
6796 0 : @$pb.TagNumber(4)
6797 0 : $fixnum.Int64 get timestamp => $_getI64(3);
6798 0 : @$pb.TagNumber(4)
6799 : set timestamp($fixnum.Int64 v) {
6800 0 : $_setInt64(3, v);
6801 : }
6802 :
6803 0 : @$pb.TagNumber(4)
6804 0 : $core.bool hasTimestamp() => $_has(3);
6805 0 : @$pb.TagNumber(4)
6806 0 : void clearTimestamp() => clearField(4);
6807 : }
6808 :
6809 : class NodeInfo_PeerInfo extends $pb.GeneratedMessage {
6810 0 : factory NodeInfo_PeerInfo({
6811 : $core.String? lastSyncBlock,
6812 : $fixnum.Int64? remainNum,
6813 : $fixnum.Int64? lastBlockUpdateTime,
6814 : $core.bool? syncFlag,
6815 : $fixnum.Int64? headBlockTimeWeBothHave,
6816 : $core.bool? needSyncFromPeer,
6817 : $core.bool? needSyncFromUs,
6818 : $core.String? host,
6819 : $core.int? port,
6820 : $core.String? nodeId,
6821 : $fixnum.Int64? connectTime,
6822 : $core.double? avgLatency,
6823 : $core.int? syncToFetchSize,
6824 : $fixnum.Int64? syncToFetchSizePeekNum,
6825 : $core.int? syncBlockRequestedSize,
6826 : $fixnum.Int64? unFetchSynNum,
6827 : $core.int? blockInPorcSize,
6828 : $core.String? headBlockWeBothHave,
6829 : $core.bool? isActive,
6830 : $core.int? score,
6831 : $core.int? nodeCount,
6832 : $fixnum.Int64? inFlow,
6833 : $core.int? disconnectTimes,
6834 : $core.String? localDisconnectReason,
6835 : $core.String? remoteDisconnectReason,
6836 : }) {
6837 0 : final $result = create();
6838 : if (lastSyncBlock != null) {
6839 0 : $result.lastSyncBlock = lastSyncBlock;
6840 : }
6841 : if (remainNum != null) {
6842 0 : $result.remainNum = remainNum;
6843 : }
6844 : if (lastBlockUpdateTime != null) {
6845 0 : $result.lastBlockUpdateTime = lastBlockUpdateTime;
6846 : }
6847 : if (syncFlag != null) {
6848 0 : $result.syncFlag = syncFlag;
6849 : }
6850 : if (headBlockTimeWeBothHave != null) {
6851 0 : $result.headBlockTimeWeBothHave = headBlockTimeWeBothHave;
6852 : }
6853 : if (needSyncFromPeer != null) {
6854 0 : $result.needSyncFromPeer = needSyncFromPeer;
6855 : }
6856 : if (needSyncFromUs != null) {
6857 0 : $result.needSyncFromUs = needSyncFromUs;
6858 : }
6859 : if (host != null) {
6860 0 : $result.host = host;
6861 : }
6862 : if (port != null) {
6863 0 : $result.port = port;
6864 : }
6865 : if (nodeId != null) {
6866 0 : $result.nodeId = nodeId;
6867 : }
6868 : if (connectTime != null) {
6869 0 : $result.connectTime = connectTime;
6870 : }
6871 : if (avgLatency != null) {
6872 0 : $result.avgLatency = avgLatency;
6873 : }
6874 : if (syncToFetchSize != null) {
6875 0 : $result.syncToFetchSize = syncToFetchSize;
6876 : }
6877 : if (syncToFetchSizePeekNum != null) {
6878 0 : $result.syncToFetchSizePeekNum = syncToFetchSizePeekNum;
6879 : }
6880 : if (syncBlockRequestedSize != null) {
6881 0 : $result.syncBlockRequestedSize = syncBlockRequestedSize;
6882 : }
6883 : if (unFetchSynNum != null) {
6884 0 : $result.unFetchSynNum = unFetchSynNum;
6885 : }
6886 : if (blockInPorcSize != null) {
6887 0 : $result.blockInPorcSize = blockInPorcSize;
6888 : }
6889 : if (headBlockWeBothHave != null) {
6890 0 : $result.headBlockWeBothHave = headBlockWeBothHave;
6891 : }
6892 : if (isActive != null) {
6893 0 : $result.isActive = isActive;
6894 : }
6895 : if (score != null) {
6896 0 : $result.score = score;
6897 : }
6898 : if (nodeCount != null) {
6899 0 : $result.nodeCount = nodeCount;
6900 : }
6901 : if (inFlow != null) {
6902 0 : $result.inFlow = inFlow;
6903 : }
6904 : if (disconnectTimes != null) {
6905 0 : $result.disconnectTimes = disconnectTimes;
6906 : }
6907 : if (localDisconnectReason != null) {
6908 0 : $result.localDisconnectReason = localDisconnectReason;
6909 : }
6910 : if (remoteDisconnectReason != null) {
6911 0 : $result.remoteDisconnectReason = remoteDisconnectReason;
6912 : }
6913 : return $result;
6914 : }
6915 0 : NodeInfo_PeerInfo._() : super();
6916 0 : factory NodeInfo_PeerInfo.fromBuffer($core.List<$core.int> i,
6917 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6918 0 : create()..mergeFromBuffer(i, r);
6919 0 : factory NodeInfo_PeerInfo.fromJson($core.String i,
6920 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
6921 0 : create()..mergeFromJson(i, r);
6922 :
6923 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeInfo.PeerInfo',
6924 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
6925 : createEmptyInstance: create)
6926 0 : ..aOS(1, _omitFieldNames ? '' : 'lastSyncBlock', protoName: 'lastSyncBlock')
6927 0 : ..aInt64(2, _omitFieldNames ? '' : 'remainNum', protoName: 'remainNum')
6928 0 : ..aInt64(3, _omitFieldNames ? '' : 'lastBlockUpdateTime', protoName: 'lastBlockUpdateTime')
6929 0 : ..aOB(4, _omitFieldNames ? '' : 'syncFlag', protoName: 'syncFlag')
6930 0 : ..aInt64(5, _omitFieldNames ? '' : 'headBlockTimeWeBothHave',
6931 : protoName: 'headBlockTimeWeBothHave')
6932 0 : ..aOB(6, _omitFieldNames ? '' : 'needSyncFromPeer', protoName: 'needSyncFromPeer')
6933 0 : ..aOB(7, _omitFieldNames ? '' : 'needSyncFromUs', protoName: 'needSyncFromUs')
6934 0 : ..aOS(8, _omitFieldNames ? '' : 'host')
6935 0 : ..a<$core.int>(9, _omitFieldNames ? '' : 'port', $pb.PbFieldType.O3)
6936 0 : ..aOS(10, _omitFieldNames ? '' : 'nodeId', protoName: 'nodeId')
6937 0 : ..aInt64(11, _omitFieldNames ? '' : 'connectTime', protoName: 'connectTime')
6938 0 : ..a<$core.double>(12, _omitFieldNames ? '' : 'avgLatency', $pb.PbFieldType.OD,
6939 : protoName: 'avgLatency')
6940 0 : ..a<$core.int>(13, _omitFieldNames ? '' : 'syncToFetchSize', $pb.PbFieldType.O3,
6941 : protoName: 'syncToFetchSize')
6942 0 : ..aInt64(14, _omitFieldNames ? '' : 'syncToFetchSizePeekNum',
6943 : protoName: 'syncToFetchSizePeekNum')
6944 0 : ..a<$core.int>(15, _omitFieldNames ? '' : 'syncBlockRequestedSize', $pb.PbFieldType.O3,
6945 : protoName: 'syncBlockRequestedSize')
6946 0 : ..aInt64(16, _omitFieldNames ? '' : 'unFetchSynNum', protoName: 'unFetchSynNum')
6947 0 : ..a<$core.int>(17, _omitFieldNames ? '' : 'blockInPorcSize', $pb.PbFieldType.O3,
6948 : protoName: 'blockInPorcSize')
6949 0 : ..aOS(18, _omitFieldNames ? '' : 'headBlockWeBothHave', protoName: 'headBlockWeBothHave')
6950 0 : ..aOB(19, _omitFieldNames ? '' : 'isActive', protoName: 'isActive')
6951 0 : ..a<$core.int>(20, _omitFieldNames ? '' : 'score', $pb.PbFieldType.O3)
6952 0 : ..a<$core.int>(21, _omitFieldNames ? '' : 'nodeCount', $pb.PbFieldType.O3,
6953 : protoName: 'nodeCount')
6954 0 : ..aInt64(22, _omitFieldNames ? '' : 'inFlow', protoName: 'inFlow')
6955 0 : ..a<$core.int>(23, _omitFieldNames ? '' : 'disconnectTimes', $pb.PbFieldType.O3,
6956 : protoName: 'disconnectTimes')
6957 0 : ..aOS(24, _omitFieldNames ? '' : 'localDisconnectReason', protoName: 'localDisconnectReason')
6958 0 : ..aOS(25, _omitFieldNames ? '' : 'remoteDisconnectReason', protoName: 'remoteDisconnectReason')
6959 0 : ..hasRequiredFields = false;
6960 :
6961 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6962 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
6963 : 'Will be removed in next major version')
6964 0 : NodeInfo_PeerInfo clone() => NodeInfo_PeerInfo()..mergeFromMessage(this);
6965 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
6966 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
6967 : 'Will be removed in next major version')
6968 : NodeInfo_PeerInfo copyWith(void Function(NodeInfo_PeerInfo) updates) =>
6969 0 : super.copyWith((message) => updates(message as NodeInfo_PeerInfo)) as NodeInfo_PeerInfo;
6970 :
6971 0 : $pb.BuilderInfo get info_ => _i;
6972 :
6973 0 : @$core.pragma('dart2js:noInline')
6974 0 : static NodeInfo_PeerInfo create() => NodeInfo_PeerInfo._();
6975 0 : NodeInfo_PeerInfo createEmptyInstance() => create();
6976 0 : static $pb.PbList<NodeInfo_PeerInfo> createRepeated() => $pb.PbList<NodeInfo_PeerInfo>();
6977 0 : @$core.pragma('dart2js:noInline')
6978 : static NodeInfo_PeerInfo getDefault() =>
6979 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NodeInfo_PeerInfo>(create);
6980 : static NodeInfo_PeerInfo? _defaultInstance;
6981 :
6982 0 : @$pb.TagNumber(1)
6983 0 : $core.String get lastSyncBlock => $_getSZ(0);
6984 0 : @$pb.TagNumber(1)
6985 : set lastSyncBlock($core.String v) {
6986 0 : $_setString(0, v);
6987 : }
6988 :
6989 0 : @$pb.TagNumber(1)
6990 0 : $core.bool hasLastSyncBlock() => $_has(0);
6991 0 : @$pb.TagNumber(1)
6992 0 : void clearLastSyncBlock() => clearField(1);
6993 :
6994 0 : @$pb.TagNumber(2)
6995 0 : $fixnum.Int64 get remainNum => $_getI64(1);
6996 0 : @$pb.TagNumber(2)
6997 : set remainNum($fixnum.Int64 v) {
6998 0 : $_setInt64(1, v);
6999 : }
7000 :
7001 0 : @$pb.TagNumber(2)
7002 0 : $core.bool hasRemainNum() => $_has(1);
7003 0 : @$pb.TagNumber(2)
7004 0 : void clearRemainNum() => clearField(2);
7005 :
7006 0 : @$pb.TagNumber(3)
7007 0 : $fixnum.Int64 get lastBlockUpdateTime => $_getI64(2);
7008 0 : @$pb.TagNumber(3)
7009 : set lastBlockUpdateTime($fixnum.Int64 v) {
7010 0 : $_setInt64(2, v);
7011 : }
7012 :
7013 0 : @$pb.TagNumber(3)
7014 0 : $core.bool hasLastBlockUpdateTime() => $_has(2);
7015 0 : @$pb.TagNumber(3)
7016 0 : void clearLastBlockUpdateTime() => clearField(3);
7017 :
7018 0 : @$pb.TagNumber(4)
7019 0 : $core.bool get syncFlag => $_getBF(3);
7020 0 : @$pb.TagNumber(4)
7021 : set syncFlag($core.bool v) {
7022 0 : $_setBool(3, v);
7023 : }
7024 :
7025 0 : @$pb.TagNumber(4)
7026 0 : $core.bool hasSyncFlag() => $_has(3);
7027 0 : @$pb.TagNumber(4)
7028 0 : void clearSyncFlag() => clearField(4);
7029 :
7030 0 : @$pb.TagNumber(5)
7031 0 : $fixnum.Int64 get headBlockTimeWeBothHave => $_getI64(4);
7032 0 : @$pb.TagNumber(5)
7033 : set headBlockTimeWeBothHave($fixnum.Int64 v) {
7034 0 : $_setInt64(4, v);
7035 : }
7036 :
7037 0 : @$pb.TagNumber(5)
7038 0 : $core.bool hasHeadBlockTimeWeBothHave() => $_has(4);
7039 0 : @$pb.TagNumber(5)
7040 0 : void clearHeadBlockTimeWeBothHave() => clearField(5);
7041 :
7042 0 : @$pb.TagNumber(6)
7043 0 : $core.bool get needSyncFromPeer => $_getBF(5);
7044 0 : @$pb.TagNumber(6)
7045 : set needSyncFromPeer($core.bool v) {
7046 0 : $_setBool(5, v);
7047 : }
7048 :
7049 0 : @$pb.TagNumber(6)
7050 0 : $core.bool hasNeedSyncFromPeer() => $_has(5);
7051 0 : @$pb.TagNumber(6)
7052 0 : void clearNeedSyncFromPeer() => clearField(6);
7053 :
7054 0 : @$pb.TagNumber(7)
7055 0 : $core.bool get needSyncFromUs => $_getBF(6);
7056 0 : @$pb.TagNumber(7)
7057 : set needSyncFromUs($core.bool v) {
7058 0 : $_setBool(6, v);
7059 : }
7060 :
7061 0 : @$pb.TagNumber(7)
7062 0 : $core.bool hasNeedSyncFromUs() => $_has(6);
7063 0 : @$pb.TagNumber(7)
7064 0 : void clearNeedSyncFromUs() => clearField(7);
7065 :
7066 0 : @$pb.TagNumber(8)
7067 0 : $core.String get host => $_getSZ(7);
7068 0 : @$pb.TagNumber(8)
7069 : set host($core.String v) {
7070 0 : $_setString(7, v);
7071 : }
7072 :
7073 0 : @$pb.TagNumber(8)
7074 0 : $core.bool hasHost() => $_has(7);
7075 0 : @$pb.TagNumber(8)
7076 0 : void clearHost() => clearField(8);
7077 :
7078 0 : @$pb.TagNumber(9)
7079 0 : $core.int get port => $_getIZ(8);
7080 0 : @$pb.TagNumber(9)
7081 : set port($core.int v) {
7082 0 : $_setSignedInt32(8, v);
7083 : }
7084 :
7085 0 : @$pb.TagNumber(9)
7086 0 : $core.bool hasPort() => $_has(8);
7087 0 : @$pb.TagNumber(9)
7088 0 : void clearPort() => clearField(9);
7089 :
7090 0 : @$pb.TagNumber(10)
7091 0 : $core.String get nodeId => $_getSZ(9);
7092 0 : @$pb.TagNumber(10)
7093 : set nodeId($core.String v) {
7094 0 : $_setString(9, v);
7095 : }
7096 :
7097 0 : @$pb.TagNumber(10)
7098 0 : $core.bool hasNodeId() => $_has(9);
7099 0 : @$pb.TagNumber(10)
7100 0 : void clearNodeId() => clearField(10);
7101 :
7102 0 : @$pb.TagNumber(11)
7103 0 : $fixnum.Int64 get connectTime => $_getI64(10);
7104 0 : @$pb.TagNumber(11)
7105 : set connectTime($fixnum.Int64 v) {
7106 0 : $_setInt64(10, v);
7107 : }
7108 :
7109 0 : @$pb.TagNumber(11)
7110 0 : $core.bool hasConnectTime() => $_has(10);
7111 0 : @$pb.TagNumber(11)
7112 0 : void clearConnectTime() => clearField(11);
7113 :
7114 0 : @$pb.TagNumber(12)
7115 0 : $core.double get avgLatency => $_getN(11);
7116 0 : @$pb.TagNumber(12)
7117 : set avgLatency($core.double v) {
7118 0 : $_setDouble(11, v);
7119 : }
7120 :
7121 0 : @$pb.TagNumber(12)
7122 0 : $core.bool hasAvgLatency() => $_has(11);
7123 0 : @$pb.TagNumber(12)
7124 0 : void clearAvgLatency() => clearField(12);
7125 :
7126 0 : @$pb.TagNumber(13)
7127 0 : $core.int get syncToFetchSize => $_getIZ(12);
7128 0 : @$pb.TagNumber(13)
7129 : set syncToFetchSize($core.int v) {
7130 0 : $_setSignedInt32(12, v);
7131 : }
7132 :
7133 0 : @$pb.TagNumber(13)
7134 0 : $core.bool hasSyncToFetchSize() => $_has(12);
7135 0 : @$pb.TagNumber(13)
7136 0 : void clearSyncToFetchSize() => clearField(13);
7137 :
7138 0 : @$pb.TagNumber(14)
7139 0 : $fixnum.Int64 get syncToFetchSizePeekNum => $_getI64(13);
7140 0 : @$pb.TagNumber(14)
7141 : set syncToFetchSizePeekNum($fixnum.Int64 v) {
7142 0 : $_setInt64(13, v);
7143 : }
7144 :
7145 0 : @$pb.TagNumber(14)
7146 0 : $core.bool hasSyncToFetchSizePeekNum() => $_has(13);
7147 0 : @$pb.TagNumber(14)
7148 0 : void clearSyncToFetchSizePeekNum() => clearField(14);
7149 :
7150 0 : @$pb.TagNumber(15)
7151 0 : $core.int get syncBlockRequestedSize => $_getIZ(14);
7152 0 : @$pb.TagNumber(15)
7153 : set syncBlockRequestedSize($core.int v) {
7154 0 : $_setSignedInt32(14, v);
7155 : }
7156 :
7157 0 : @$pb.TagNumber(15)
7158 0 : $core.bool hasSyncBlockRequestedSize() => $_has(14);
7159 0 : @$pb.TagNumber(15)
7160 0 : void clearSyncBlockRequestedSize() => clearField(15);
7161 :
7162 0 : @$pb.TagNumber(16)
7163 0 : $fixnum.Int64 get unFetchSynNum => $_getI64(15);
7164 0 : @$pb.TagNumber(16)
7165 : set unFetchSynNum($fixnum.Int64 v) {
7166 0 : $_setInt64(15, v);
7167 : }
7168 :
7169 0 : @$pb.TagNumber(16)
7170 0 : $core.bool hasUnFetchSynNum() => $_has(15);
7171 0 : @$pb.TagNumber(16)
7172 0 : void clearUnFetchSynNum() => clearField(16);
7173 :
7174 0 : @$pb.TagNumber(17)
7175 0 : $core.int get blockInPorcSize => $_getIZ(16);
7176 0 : @$pb.TagNumber(17)
7177 : set blockInPorcSize($core.int v) {
7178 0 : $_setSignedInt32(16, v);
7179 : }
7180 :
7181 0 : @$pb.TagNumber(17)
7182 0 : $core.bool hasBlockInPorcSize() => $_has(16);
7183 0 : @$pb.TagNumber(17)
7184 0 : void clearBlockInPorcSize() => clearField(17);
7185 :
7186 0 : @$pb.TagNumber(18)
7187 0 : $core.String get headBlockWeBothHave => $_getSZ(17);
7188 0 : @$pb.TagNumber(18)
7189 : set headBlockWeBothHave($core.String v) {
7190 0 : $_setString(17, v);
7191 : }
7192 :
7193 0 : @$pb.TagNumber(18)
7194 0 : $core.bool hasHeadBlockWeBothHave() => $_has(17);
7195 0 : @$pb.TagNumber(18)
7196 0 : void clearHeadBlockWeBothHave() => clearField(18);
7197 :
7198 0 : @$pb.TagNumber(19)
7199 0 : $core.bool get isActive => $_getBF(18);
7200 0 : @$pb.TagNumber(19)
7201 : set isActive($core.bool v) {
7202 0 : $_setBool(18, v);
7203 : }
7204 :
7205 0 : @$pb.TagNumber(19)
7206 0 : $core.bool hasIsActive() => $_has(18);
7207 0 : @$pb.TagNumber(19)
7208 0 : void clearIsActive() => clearField(19);
7209 :
7210 0 : @$pb.TagNumber(20)
7211 0 : $core.int get score => $_getIZ(19);
7212 0 : @$pb.TagNumber(20)
7213 : set score($core.int v) {
7214 0 : $_setSignedInt32(19, v);
7215 : }
7216 :
7217 0 : @$pb.TagNumber(20)
7218 0 : $core.bool hasScore() => $_has(19);
7219 0 : @$pb.TagNumber(20)
7220 0 : void clearScore() => clearField(20);
7221 :
7222 0 : @$pb.TagNumber(21)
7223 0 : $core.int get nodeCount => $_getIZ(20);
7224 0 : @$pb.TagNumber(21)
7225 : set nodeCount($core.int v) {
7226 0 : $_setSignedInt32(20, v);
7227 : }
7228 :
7229 0 : @$pb.TagNumber(21)
7230 0 : $core.bool hasNodeCount() => $_has(20);
7231 0 : @$pb.TagNumber(21)
7232 0 : void clearNodeCount() => clearField(21);
7233 :
7234 0 : @$pb.TagNumber(22)
7235 0 : $fixnum.Int64 get inFlow => $_getI64(21);
7236 0 : @$pb.TagNumber(22)
7237 : set inFlow($fixnum.Int64 v) {
7238 0 : $_setInt64(21, v);
7239 : }
7240 :
7241 0 : @$pb.TagNumber(22)
7242 0 : $core.bool hasInFlow() => $_has(21);
7243 0 : @$pb.TagNumber(22)
7244 0 : void clearInFlow() => clearField(22);
7245 :
7246 0 : @$pb.TagNumber(23)
7247 0 : $core.int get disconnectTimes => $_getIZ(22);
7248 0 : @$pb.TagNumber(23)
7249 : set disconnectTimes($core.int v) {
7250 0 : $_setSignedInt32(22, v);
7251 : }
7252 :
7253 0 : @$pb.TagNumber(23)
7254 0 : $core.bool hasDisconnectTimes() => $_has(22);
7255 0 : @$pb.TagNumber(23)
7256 0 : void clearDisconnectTimes() => clearField(23);
7257 :
7258 0 : @$pb.TagNumber(24)
7259 0 : $core.String get localDisconnectReason => $_getSZ(23);
7260 0 : @$pb.TagNumber(24)
7261 : set localDisconnectReason($core.String v) {
7262 0 : $_setString(23, v);
7263 : }
7264 :
7265 0 : @$pb.TagNumber(24)
7266 0 : $core.bool hasLocalDisconnectReason() => $_has(23);
7267 0 : @$pb.TagNumber(24)
7268 0 : void clearLocalDisconnectReason() => clearField(24);
7269 :
7270 0 : @$pb.TagNumber(25)
7271 0 : $core.String get remoteDisconnectReason => $_getSZ(24);
7272 0 : @$pb.TagNumber(25)
7273 : set remoteDisconnectReason($core.String v) {
7274 0 : $_setString(24, v);
7275 : }
7276 :
7277 0 : @$pb.TagNumber(25)
7278 0 : $core.bool hasRemoteDisconnectReason() => $_has(24);
7279 0 : @$pb.TagNumber(25)
7280 0 : void clearRemoteDisconnectReason() => clearField(25);
7281 : }
7282 :
7283 : class NodeInfo_ConfigNodeInfo extends $pb.GeneratedMessage {
7284 0 : factory NodeInfo_ConfigNodeInfo({
7285 : $core.String? codeVersion,
7286 : $core.String? p2pVersion,
7287 : $core.int? listenPort,
7288 : $core.bool? discoverEnable,
7289 : $core.int? activeNodeSize,
7290 : $core.int? passiveNodeSize,
7291 : $core.int? sendNodeSize,
7292 : $core.int? maxConnectCount,
7293 : $core.int? sameIpMaxConnectCount,
7294 : $core.int? backupListenPort,
7295 : $core.int? backupMemberSize,
7296 : $core.int? backupPriority,
7297 : $core.int? dbVersion,
7298 : $core.int? minParticipationRate,
7299 : $core.bool? supportConstant,
7300 : $core.double? minTimeRatio,
7301 : $core.double? maxTimeRatio,
7302 : $fixnum.Int64? allowCreationOfContracts,
7303 : $fixnum.Int64? allowAdaptiveEnergy,
7304 : }) {
7305 0 : final $result = create();
7306 : if (codeVersion != null) {
7307 0 : $result.codeVersion = codeVersion;
7308 : }
7309 : if (p2pVersion != null) {
7310 0 : $result.p2pVersion = p2pVersion;
7311 : }
7312 : if (listenPort != null) {
7313 0 : $result.listenPort = listenPort;
7314 : }
7315 : if (discoverEnable != null) {
7316 0 : $result.discoverEnable = discoverEnable;
7317 : }
7318 : if (activeNodeSize != null) {
7319 0 : $result.activeNodeSize = activeNodeSize;
7320 : }
7321 : if (passiveNodeSize != null) {
7322 0 : $result.passiveNodeSize = passiveNodeSize;
7323 : }
7324 : if (sendNodeSize != null) {
7325 0 : $result.sendNodeSize = sendNodeSize;
7326 : }
7327 : if (maxConnectCount != null) {
7328 0 : $result.maxConnectCount = maxConnectCount;
7329 : }
7330 : if (sameIpMaxConnectCount != null) {
7331 0 : $result.sameIpMaxConnectCount = sameIpMaxConnectCount;
7332 : }
7333 : if (backupListenPort != null) {
7334 0 : $result.backupListenPort = backupListenPort;
7335 : }
7336 : if (backupMemberSize != null) {
7337 0 : $result.backupMemberSize = backupMemberSize;
7338 : }
7339 : if (backupPriority != null) {
7340 0 : $result.backupPriority = backupPriority;
7341 : }
7342 : if (dbVersion != null) {
7343 0 : $result.dbVersion = dbVersion;
7344 : }
7345 : if (minParticipationRate != null) {
7346 0 : $result.minParticipationRate = minParticipationRate;
7347 : }
7348 : if (supportConstant != null) {
7349 0 : $result.supportConstant = supportConstant;
7350 : }
7351 : if (minTimeRatio != null) {
7352 0 : $result.minTimeRatio = minTimeRatio;
7353 : }
7354 : if (maxTimeRatio != null) {
7355 0 : $result.maxTimeRatio = maxTimeRatio;
7356 : }
7357 : if (allowCreationOfContracts != null) {
7358 0 : $result.allowCreationOfContracts = allowCreationOfContracts;
7359 : }
7360 : if (allowAdaptiveEnergy != null) {
7361 0 : $result.allowAdaptiveEnergy = allowAdaptiveEnergy;
7362 : }
7363 : return $result;
7364 : }
7365 0 : NodeInfo_ConfigNodeInfo._() : super();
7366 0 : factory NodeInfo_ConfigNodeInfo.fromBuffer($core.List<$core.int> i,
7367 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7368 0 : create()..mergeFromBuffer(i, r);
7369 0 : factory NodeInfo_ConfigNodeInfo.fromJson($core.String i,
7370 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7371 0 : create()..mergeFromJson(i, r);
7372 :
7373 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
7374 : _omitMessageNames ? '' : 'NodeInfo.ConfigNodeInfo',
7375 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
7376 : createEmptyInstance: create)
7377 0 : ..aOS(1, _omitFieldNames ? '' : 'codeVersion', protoName: 'codeVersion')
7378 0 : ..aOS(2, _omitFieldNames ? '' : 'p2pVersion', protoName: 'p2pVersion')
7379 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'listenPort', $pb.PbFieldType.O3,
7380 : protoName: 'listenPort')
7381 0 : ..aOB(4, _omitFieldNames ? '' : 'discoverEnable', protoName: 'discoverEnable')
7382 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'activeNodeSize', $pb.PbFieldType.O3,
7383 : protoName: 'activeNodeSize')
7384 0 : ..a<$core.int>(6, _omitFieldNames ? '' : 'passiveNodeSize', $pb.PbFieldType.O3,
7385 : protoName: 'passiveNodeSize')
7386 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'sendNodeSize', $pb.PbFieldType.O3,
7387 : protoName: 'sendNodeSize')
7388 0 : ..a<$core.int>(8, _omitFieldNames ? '' : 'maxConnectCount', $pb.PbFieldType.O3,
7389 : protoName: 'maxConnectCount')
7390 0 : ..a<$core.int>(9, _omitFieldNames ? '' : 'sameIpMaxConnectCount', $pb.PbFieldType.O3,
7391 : protoName: 'sameIpMaxConnectCount')
7392 0 : ..a<$core.int>(10, _omitFieldNames ? '' : 'backupListenPort', $pb.PbFieldType.O3,
7393 : protoName: 'backupListenPort')
7394 0 : ..a<$core.int>(11, _omitFieldNames ? '' : 'backupMemberSize', $pb.PbFieldType.O3,
7395 : protoName: 'backupMemberSize')
7396 0 : ..a<$core.int>(12, _omitFieldNames ? '' : 'backupPriority', $pb.PbFieldType.O3,
7397 : protoName: 'backupPriority')
7398 0 : ..a<$core.int>(13, _omitFieldNames ? '' : 'dbVersion', $pb.PbFieldType.O3,
7399 : protoName: 'dbVersion')
7400 0 : ..a<$core.int>(14, _omitFieldNames ? '' : 'minParticipationRate', $pb.PbFieldType.O3,
7401 : protoName: 'minParticipationRate')
7402 0 : ..aOB(15, _omitFieldNames ? '' : 'supportConstant', protoName: 'supportConstant')
7403 0 : ..a<$core.double>(16, _omitFieldNames ? '' : 'minTimeRatio', $pb.PbFieldType.OD,
7404 : protoName: 'minTimeRatio')
7405 0 : ..a<$core.double>(17, _omitFieldNames ? '' : 'maxTimeRatio', $pb.PbFieldType.OD,
7406 : protoName: 'maxTimeRatio')
7407 0 : ..aInt64(18, _omitFieldNames ? '' : 'allowCreationOfContracts',
7408 : protoName: 'allowCreationOfContracts')
7409 0 : ..aInt64(19, _omitFieldNames ? '' : 'allowAdaptiveEnergy', protoName: 'allowAdaptiveEnergy')
7410 0 : ..hasRequiredFields = false;
7411 :
7412 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7413 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
7414 : 'Will be removed in next major version')
7415 0 : NodeInfo_ConfigNodeInfo clone() => NodeInfo_ConfigNodeInfo()..mergeFromMessage(this);
7416 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7417 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
7418 : 'Will be removed in next major version')
7419 : NodeInfo_ConfigNodeInfo copyWith(void Function(NodeInfo_ConfigNodeInfo) updates) =>
7420 0 : super.copyWith((message) => updates(message as NodeInfo_ConfigNodeInfo))
7421 : as NodeInfo_ConfigNodeInfo;
7422 :
7423 0 : $pb.BuilderInfo get info_ => _i;
7424 :
7425 0 : @$core.pragma('dart2js:noInline')
7426 0 : static NodeInfo_ConfigNodeInfo create() => NodeInfo_ConfigNodeInfo._();
7427 0 : NodeInfo_ConfigNodeInfo createEmptyInstance() => create();
7428 0 : static $pb.PbList<NodeInfo_ConfigNodeInfo> createRepeated() =>
7429 0 : $pb.PbList<NodeInfo_ConfigNodeInfo>();
7430 0 : @$core.pragma('dart2js:noInline')
7431 : static NodeInfo_ConfigNodeInfo getDefault() =>
7432 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NodeInfo_ConfigNodeInfo>(create);
7433 : static NodeInfo_ConfigNodeInfo? _defaultInstance;
7434 :
7435 0 : @$pb.TagNumber(1)
7436 0 : $core.String get codeVersion => $_getSZ(0);
7437 0 : @$pb.TagNumber(1)
7438 : set codeVersion($core.String v) {
7439 0 : $_setString(0, v);
7440 : }
7441 :
7442 0 : @$pb.TagNumber(1)
7443 0 : $core.bool hasCodeVersion() => $_has(0);
7444 0 : @$pb.TagNumber(1)
7445 0 : void clearCodeVersion() => clearField(1);
7446 :
7447 0 : @$pb.TagNumber(2)
7448 0 : $core.String get p2pVersion => $_getSZ(1);
7449 0 : @$pb.TagNumber(2)
7450 : set p2pVersion($core.String v) {
7451 0 : $_setString(1, v);
7452 : }
7453 :
7454 0 : @$pb.TagNumber(2)
7455 0 : $core.bool hasP2pVersion() => $_has(1);
7456 0 : @$pb.TagNumber(2)
7457 0 : void clearP2pVersion() => clearField(2);
7458 :
7459 0 : @$pb.TagNumber(3)
7460 0 : $core.int get listenPort => $_getIZ(2);
7461 0 : @$pb.TagNumber(3)
7462 : set listenPort($core.int v) {
7463 0 : $_setSignedInt32(2, v);
7464 : }
7465 :
7466 0 : @$pb.TagNumber(3)
7467 0 : $core.bool hasListenPort() => $_has(2);
7468 0 : @$pb.TagNumber(3)
7469 0 : void clearListenPort() => clearField(3);
7470 :
7471 0 : @$pb.TagNumber(4)
7472 0 : $core.bool get discoverEnable => $_getBF(3);
7473 0 : @$pb.TagNumber(4)
7474 : set discoverEnable($core.bool v) {
7475 0 : $_setBool(3, v);
7476 : }
7477 :
7478 0 : @$pb.TagNumber(4)
7479 0 : $core.bool hasDiscoverEnable() => $_has(3);
7480 0 : @$pb.TagNumber(4)
7481 0 : void clearDiscoverEnable() => clearField(4);
7482 :
7483 0 : @$pb.TagNumber(5)
7484 0 : $core.int get activeNodeSize => $_getIZ(4);
7485 0 : @$pb.TagNumber(5)
7486 : set activeNodeSize($core.int v) {
7487 0 : $_setSignedInt32(4, v);
7488 : }
7489 :
7490 0 : @$pb.TagNumber(5)
7491 0 : $core.bool hasActiveNodeSize() => $_has(4);
7492 0 : @$pb.TagNumber(5)
7493 0 : void clearActiveNodeSize() => clearField(5);
7494 :
7495 0 : @$pb.TagNumber(6)
7496 0 : $core.int get passiveNodeSize => $_getIZ(5);
7497 0 : @$pb.TagNumber(6)
7498 : set passiveNodeSize($core.int v) {
7499 0 : $_setSignedInt32(5, v);
7500 : }
7501 :
7502 0 : @$pb.TagNumber(6)
7503 0 : $core.bool hasPassiveNodeSize() => $_has(5);
7504 0 : @$pb.TagNumber(6)
7505 0 : void clearPassiveNodeSize() => clearField(6);
7506 :
7507 0 : @$pb.TagNumber(7)
7508 0 : $core.int get sendNodeSize => $_getIZ(6);
7509 0 : @$pb.TagNumber(7)
7510 : set sendNodeSize($core.int v) {
7511 0 : $_setSignedInt32(6, v);
7512 : }
7513 :
7514 0 : @$pb.TagNumber(7)
7515 0 : $core.bool hasSendNodeSize() => $_has(6);
7516 0 : @$pb.TagNumber(7)
7517 0 : void clearSendNodeSize() => clearField(7);
7518 :
7519 0 : @$pb.TagNumber(8)
7520 0 : $core.int get maxConnectCount => $_getIZ(7);
7521 0 : @$pb.TagNumber(8)
7522 : set maxConnectCount($core.int v) {
7523 0 : $_setSignedInt32(7, v);
7524 : }
7525 :
7526 0 : @$pb.TagNumber(8)
7527 0 : $core.bool hasMaxConnectCount() => $_has(7);
7528 0 : @$pb.TagNumber(8)
7529 0 : void clearMaxConnectCount() => clearField(8);
7530 :
7531 0 : @$pb.TagNumber(9)
7532 0 : $core.int get sameIpMaxConnectCount => $_getIZ(8);
7533 0 : @$pb.TagNumber(9)
7534 : set sameIpMaxConnectCount($core.int v) {
7535 0 : $_setSignedInt32(8, v);
7536 : }
7537 :
7538 0 : @$pb.TagNumber(9)
7539 0 : $core.bool hasSameIpMaxConnectCount() => $_has(8);
7540 0 : @$pb.TagNumber(9)
7541 0 : void clearSameIpMaxConnectCount() => clearField(9);
7542 :
7543 0 : @$pb.TagNumber(10)
7544 0 : $core.int get backupListenPort => $_getIZ(9);
7545 0 : @$pb.TagNumber(10)
7546 : set backupListenPort($core.int v) {
7547 0 : $_setSignedInt32(9, v);
7548 : }
7549 :
7550 0 : @$pb.TagNumber(10)
7551 0 : $core.bool hasBackupListenPort() => $_has(9);
7552 0 : @$pb.TagNumber(10)
7553 0 : void clearBackupListenPort() => clearField(10);
7554 :
7555 0 : @$pb.TagNumber(11)
7556 0 : $core.int get backupMemberSize => $_getIZ(10);
7557 0 : @$pb.TagNumber(11)
7558 : set backupMemberSize($core.int v) {
7559 0 : $_setSignedInt32(10, v);
7560 : }
7561 :
7562 0 : @$pb.TagNumber(11)
7563 0 : $core.bool hasBackupMemberSize() => $_has(10);
7564 0 : @$pb.TagNumber(11)
7565 0 : void clearBackupMemberSize() => clearField(11);
7566 :
7567 0 : @$pb.TagNumber(12)
7568 0 : $core.int get backupPriority => $_getIZ(11);
7569 0 : @$pb.TagNumber(12)
7570 : set backupPriority($core.int v) {
7571 0 : $_setSignedInt32(11, v);
7572 : }
7573 :
7574 0 : @$pb.TagNumber(12)
7575 0 : $core.bool hasBackupPriority() => $_has(11);
7576 0 : @$pb.TagNumber(12)
7577 0 : void clearBackupPriority() => clearField(12);
7578 :
7579 0 : @$pb.TagNumber(13)
7580 0 : $core.int get dbVersion => $_getIZ(12);
7581 0 : @$pb.TagNumber(13)
7582 : set dbVersion($core.int v) {
7583 0 : $_setSignedInt32(12, v);
7584 : }
7585 :
7586 0 : @$pb.TagNumber(13)
7587 0 : $core.bool hasDbVersion() => $_has(12);
7588 0 : @$pb.TagNumber(13)
7589 0 : void clearDbVersion() => clearField(13);
7590 :
7591 0 : @$pb.TagNumber(14)
7592 0 : $core.int get minParticipationRate => $_getIZ(13);
7593 0 : @$pb.TagNumber(14)
7594 : set minParticipationRate($core.int v) {
7595 0 : $_setSignedInt32(13, v);
7596 : }
7597 :
7598 0 : @$pb.TagNumber(14)
7599 0 : $core.bool hasMinParticipationRate() => $_has(13);
7600 0 : @$pb.TagNumber(14)
7601 0 : void clearMinParticipationRate() => clearField(14);
7602 :
7603 0 : @$pb.TagNumber(15)
7604 0 : $core.bool get supportConstant => $_getBF(14);
7605 0 : @$pb.TagNumber(15)
7606 : set supportConstant($core.bool v) {
7607 0 : $_setBool(14, v);
7608 : }
7609 :
7610 0 : @$pb.TagNumber(15)
7611 0 : $core.bool hasSupportConstant() => $_has(14);
7612 0 : @$pb.TagNumber(15)
7613 0 : void clearSupportConstant() => clearField(15);
7614 :
7615 0 : @$pb.TagNumber(16)
7616 0 : $core.double get minTimeRatio => $_getN(15);
7617 0 : @$pb.TagNumber(16)
7618 : set minTimeRatio($core.double v) {
7619 0 : $_setDouble(15, v);
7620 : }
7621 :
7622 0 : @$pb.TagNumber(16)
7623 0 : $core.bool hasMinTimeRatio() => $_has(15);
7624 0 : @$pb.TagNumber(16)
7625 0 : void clearMinTimeRatio() => clearField(16);
7626 :
7627 0 : @$pb.TagNumber(17)
7628 0 : $core.double get maxTimeRatio => $_getN(16);
7629 0 : @$pb.TagNumber(17)
7630 : set maxTimeRatio($core.double v) {
7631 0 : $_setDouble(16, v);
7632 : }
7633 :
7634 0 : @$pb.TagNumber(17)
7635 0 : $core.bool hasMaxTimeRatio() => $_has(16);
7636 0 : @$pb.TagNumber(17)
7637 0 : void clearMaxTimeRatio() => clearField(17);
7638 :
7639 0 : @$pb.TagNumber(18)
7640 0 : $fixnum.Int64 get allowCreationOfContracts => $_getI64(17);
7641 0 : @$pb.TagNumber(18)
7642 : set allowCreationOfContracts($fixnum.Int64 v) {
7643 0 : $_setInt64(17, v);
7644 : }
7645 :
7646 0 : @$pb.TagNumber(18)
7647 0 : $core.bool hasAllowCreationOfContracts() => $_has(17);
7648 0 : @$pb.TagNumber(18)
7649 0 : void clearAllowCreationOfContracts() => clearField(18);
7650 :
7651 0 : @$pb.TagNumber(19)
7652 0 : $fixnum.Int64 get allowAdaptiveEnergy => $_getI64(18);
7653 0 : @$pb.TagNumber(19)
7654 : set allowAdaptiveEnergy($fixnum.Int64 v) {
7655 0 : $_setInt64(18, v);
7656 : }
7657 :
7658 0 : @$pb.TagNumber(19)
7659 0 : $core.bool hasAllowAdaptiveEnergy() => $_has(18);
7660 0 : @$pb.TagNumber(19)
7661 0 : void clearAllowAdaptiveEnergy() => clearField(19);
7662 : }
7663 :
7664 : class NodeInfo_MachineInfo_MemoryDescInfo extends $pb.GeneratedMessage {
7665 0 : factory NodeInfo_MachineInfo_MemoryDescInfo({
7666 : $core.String? name,
7667 : $fixnum.Int64? initSize,
7668 : $fixnum.Int64? useSize,
7669 : $fixnum.Int64? maxSize,
7670 : $core.double? useRate,
7671 : }) {
7672 0 : final $result = create();
7673 : if (name != null) {
7674 0 : $result.name = name;
7675 : }
7676 : if (initSize != null) {
7677 0 : $result.initSize = initSize;
7678 : }
7679 : if (useSize != null) {
7680 0 : $result.useSize = useSize;
7681 : }
7682 : if (maxSize != null) {
7683 0 : $result.maxSize = maxSize;
7684 : }
7685 : if (useRate != null) {
7686 0 : $result.useRate = useRate;
7687 : }
7688 : return $result;
7689 : }
7690 0 : NodeInfo_MachineInfo_MemoryDescInfo._() : super();
7691 0 : factory NodeInfo_MachineInfo_MemoryDescInfo.fromBuffer($core.List<$core.int> i,
7692 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7693 0 : create()..mergeFromBuffer(i, r);
7694 0 : factory NodeInfo_MachineInfo_MemoryDescInfo.fromJson($core.String i,
7695 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7696 0 : create()..mergeFromJson(i, r);
7697 :
7698 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
7699 : _omitMessageNames ? '' : 'NodeInfo.MachineInfo.MemoryDescInfo',
7700 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
7701 : createEmptyInstance: create)
7702 0 : ..aOS(1, _omitFieldNames ? '' : 'name')
7703 0 : ..aInt64(2, _omitFieldNames ? '' : 'initSize', protoName: 'initSize')
7704 0 : ..aInt64(3, _omitFieldNames ? '' : 'useSize', protoName: 'useSize')
7705 0 : ..aInt64(4, _omitFieldNames ? '' : 'maxSize', protoName: 'maxSize')
7706 0 : ..a<$core.double>(5, _omitFieldNames ? '' : 'useRate', $pb.PbFieldType.OD, protoName: 'useRate')
7707 0 : ..hasRequiredFields = false;
7708 :
7709 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7710 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
7711 : 'Will be removed in next major version')
7712 : NodeInfo_MachineInfo_MemoryDescInfo clone() =>
7713 0 : NodeInfo_MachineInfo_MemoryDescInfo()..mergeFromMessage(this);
7714 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7715 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
7716 : 'Will be removed in next major version')
7717 : NodeInfo_MachineInfo_MemoryDescInfo copyWith(
7718 : void Function(NodeInfo_MachineInfo_MemoryDescInfo) updates) =>
7719 0 : super.copyWith((message) => updates(message as NodeInfo_MachineInfo_MemoryDescInfo))
7720 : as NodeInfo_MachineInfo_MemoryDescInfo;
7721 :
7722 0 : $pb.BuilderInfo get info_ => _i;
7723 :
7724 0 : @$core.pragma('dart2js:noInline')
7725 0 : static NodeInfo_MachineInfo_MemoryDescInfo create() => NodeInfo_MachineInfo_MemoryDescInfo._();
7726 0 : NodeInfo_MachineInfo_MemoryDescInfo createEmptyInstance() => create();
7727 0 : static $pb.PbList<NodeInfo_MachineInfo_MemoryDescInfo> createRepeated() =>
7728 0 : $pb.PbList<NodeInfo_MachineInfo_MemoryDescInfo>();
7729 0 : @$core.pragma('dart2js:noInline')
7730 : static NodeInfo_MachineInfo_MemoryDescInfo getDefault() => _defaultInstance ??=
7731 0 : $pb.GeneratedMessage.$_defaultFor<NodeInfo_MachineInfo_MemoryDescInfo>(create);
7732 : static NodeInfo_MachineInfo_MemoryDescInfo? _defaultInstance;
7733 :
7734 0 : @$pb.TagNumber(1)
7735 0 : $core.String get name => $_getSZ(0);
7736 0 : @$pb.TagNumber(1)
7737 : set name($core.String v) {
7738 0 : $_setString(0, v);
7739 : }
7740 :
7741 0 : @$pb.TagNumber(1)
7742 0 : $core.bool hasName() => $_has(0);
7743 0 : @$pb.TagNumber(1)
7744 0 : void clearName() => clearField(1);
7745 :
7746 0 : @$pb.TagNumber(2)
7747 0 : $fixnum.Int64 get initSize => $_getI64(1);
7748 0 : @$pb.TagNumber(2)
7749 : set initSize($fixnum.Int64 v) {
7750 0 : $_setInt64(1, v);
7751 : }
7752 :
7753 0 : @$pb.TagNumber(2)
7754 0 : $core.bool hasInitSize() => $_has(1);
7755 0 : @$pb.TagNumber(2)
7756 0 : void clearInitSize() => clearField(2);
7757 :
7758 0 : @$pb.TagNumber(3)
7759 0 : $fixnum.Int64 get useSize => $_getI64(2);
7760 0 : @$pb.TagNumber(3)
7761 : set useSize($fixnum.Int64 v) {
7762 0 : $_setInt64(2, v);
7763 : }
7764 :
7765 0 : @$pb.TagNumber(3)
7766 0 : $core.bool hasUseSize() => $_has(2);
7767 0 : @$pb.TagNumber(3)
7768 0 : void clearUseSize() => clearField(3);
7769 :
7770 0 : @$pb.TagNumber(4)
7771 0 : $fixnum.Int64 get maxSize => $_getI64(3);
7772 0 : @$pb.TagNumber(4)
7773 : set maxSize($fixnum.Int64 v) {
7774 0 : $_setInt64(3, v);
7775 : }
7776 :
7777 0 : @$pb.TagNumber(4)
7778 0 : $core.bool hasMaxSize() => $_has(3);
7779 0 : @$pb.TagNumber(4)
7780 0 : void clearMaxSize() => clearField(4);
7781 :
7782 0 : @$pb.TagNumber(5)
7783 0 : $core.double get useRate => $_getN(4);
7784 0 : @$pb.TagNumber(5)
7785 : set useRate($core.double v) {
7786 0 : $_setDouble(4, v);
7787 : }
7788 :
7789 0 : @$pb.TagNumber(5)
7790 0 : $core.bool hasUseRate() => $_has(4);
7791 0 : @$pb.TagNumber(5)
7792 0 : void clearUseRate() => clearField(5);
7793 : }
7794 :
7795 : class NodeInfo_MachineInfo_DeadLockThreadInfo extends $pb.GeneratedMessage {
7796 0 : factory NodeInfo_MachineInfo_DeadLockThreadInfo({
7797 : $core.String? name,
7798 : $core.String? lockName,
7799 : $core.String? lockOwner,
7800 : $core.String? state,
7801 : $fixnum.Int64? blockTime,
7802 : $fixnum.Int64? waitTime,
7803 : $core.String? stackTrace,
7804 : }) {
7805 0 : final $result = create();
7806 : if (name != null) {
7807 0 : $result.name = name;
7808 : }
7809 : if (lockName != null) {
7810 0 : $result.lockName = lockName;
7811 : }
7812 : if (lockOwner != null) {
7813 0 : $result.lockOwner = lockOwner;
7814 : }
7815 : if (state != null) {
7816 0 : $result.state = state;
7817 : }
7818 : if (blockTime != null) {
7819 0 : $result.blockTime = blockTime;
7820 : }
7821 : if (waitTime != null) {
7822 0 : $result.waitTime = waitTime;
7823 : }
7824 : if (stackTrace != null) {
7825 0 : $result.stackTrace = stackTrace;
7826 : }
7827 : return $result;
7828 : }
7829 0 : NodeInfo_MachineInfo_DeadLockThreadInfo._() : super();
7830 0 : factory NodeInfo_MachineInfo_DeadLockThreadInfo.fromBuffer($core.List<$core.int> i,
7831 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7832 0 : create()..mergeFromBuffer(i, r);
7833 0 : factory NodeInfo_MachineInfo_DeadLockThreadInfo.fromJson($core.String i,
7834 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
7835 0 : create()..mergeFromJson(i, r);
7836 :
7837 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
7838 : _omitMessageNames ? '' : 'NodeInfo.MachineInfo.DeadLockThreadInfo',
7839 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
7840 : createEmptyInstance: create)
7841 0 : ..aOS(1, _omitFieldNames ? '' : 'name')
7842 0 : ..aOS(2, _omitFieldNames ? '' : 'lockName', protoName: 'lockName')
7843 0 : ..aOS(3, _omitFieldNames ? '' : 'lockOwner', protoName: 'lockOwner')
7844 0 : ..aOS(4, _omitFieldNames ? '' : 'state')
7845 0 : ..aInt64(5, _omitFieldNames ? '' : 'blockTime', protoName: 'blockTime')
7846 0 : ..aInt64(6, _omitFieldNames ? '' : 'waitTime', protoName: 'waitTime')
7847 0 : ..aOS(7, _omitFieldNames ? '' : 'stackTrace', protoName: 'stackTrace')
7848 0 : ..hasRequiredFields = false;
7849 :
7850 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7851 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
7852 : 'Will be removed in next major version')
7853 : NodeInfo_MachineInfo_DeadLockThreadInfo clone() =>
7854 0 : NodeInfo_MachineInfo_DeadLockThreadInfo()..mergeFromMessage(this);
7855 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
7856 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
7857 : 'Will be removed in next major version')
7858 : NodeInfo_MachineInfo_DeadLockThreadInfo copyWith(
7859 : void Function(NodeInfo_MachineInfo_DeadLockThreadInfo) updates) =>
7860 0 : super.copyWith((message) => updates(message as NodeInfo_MachineInfo_DeadLockThreadInfo))
7861 : as NodeInfo_MachineInfo_DeadLockThreadInfo;
7862 :
7863 0 : $pb.BuilderInfo get info_ => _i;
7864 :
7865 0 : @$core.pragma('dart2js:noInline')
7866 : static NodeInfo_MachineInfo_DeadLockThreadInfo create() =>
7867 0 : NodeInfo_MachineInfo_DeadLockThreadInfo._();
7868 0 : NodeInfo_MachineInfo_DeadLockThreadInfo createEmptyInstance() => create();
7869 0 : static $pb.PbList<NodeInfo_MachineInfo_DeadLockThreadInfo> createRepeated() =>
7870 0 : $pb.PbList<NodeInfo_MachineInfo_DeadLockThreadInfo>();
7871 0 : @$core.pragma('dart2js:noInline')
7872 : static NodeInfo_MachineInfo_DeadLockThreadInfo getDefault() => _defaultInstance ??=
7873 0 : $pb.GeneratedMessage.$_defaultFor<NodeInfo_MachineInfo_DeadLockThreadInfo>(create);
7874 : static NodeInfo_MachineInfo_DeadLockThreadInfo? _defaultInstance;
7875 :
7876 0 : @$pb.TagNumber(1)
7877 0 : $core.String get name => $_getSZ(0);
7878 0 : @$pb.TagNumber(1)
7879 : set name($core.String v) {
7880 0 : $_setString(0, v);
7881 : }
7882 :
7883 0 : @$pb.TagNumber(1)
7884 0 : $core.bool hasName() => $_has(0);
7885 0 : @$pb.TagNumber(1)
7886 0 : void clearName() => clearField(1);
7887 :
7888 0 : @$pb.TagNumber(2)
7889 0 : $core.String get lockName => $_getSZ(1);
7890 0 : @$pb.TagNumber(2)
7891 : set lockName($core.String v) {
7892 0 : $_setString(1, v);
7893 : }
7894 :
7895 0 : @$pb.TagNumber(2)
7896 0 : $core.bool hasLockName() => $_has(1);
7897 0 : @$pb.TagNumber(2)
7898 0 : void clearLockName() => clearField(2);
7899 :
7900 0 : @$pb.TagNumber(3)
7901 0 : $core.String get lockOwner => $_getSZ(2);
7902 0 : @$pb.TagNumber(3)
7903 : set lockOwner($core.String v) {
7904 0 : $_setString(2, v);
7905 : }
7906 :
7907 0 : @$pb.TagNumber(3)
7908 0 : $core.bool hasLockOwner() => $_has(2);
7909 0 : @$pb.TagNumber(3)
7910 0 : void clearLockOwner() => clearField(3);
7911 :
7912 0 : @$pb.TagNumber(4)
7913 0 : $core.String get state => $_getSZ(3);
7914 0 : @$pb.TagNumber(4)
7915 : set state($core.String v) {
7916 0 : $_setString(3, v);
7917 : }
7918 :
7919 0 : @$pb.TagNumber(4)
7920 0 : $core.bool hasState() => $_has(3);
7921 0 : @$pb.TagNumber(4)
7922 0 : void clearState() => clearField(4);
7923 :
7924 0 : @$pb.TagNumber(5)
7925 0 : $fixnum.Int64 get blockTime => $_getI64(4);
7926 0 : @$pb.TagNumber(5)
7927 : set blockTime($fixnum.Int64 v) {
7928 0 : $_setInt64(4, v);
7929 : }
7930 :
7931 0 : @$pb.TagNumber(5)
7932 0 : $core.bool hasBlockTime() => $_has(4);
7933 0 : @$pb.TagNumber(5)
7934 0 : void clearBlockTime() => clearField(5);
7935 :
7936 0 : @$pb.TagNumber(6)
7937 0 : $fixnum.Int64 get waitTime => $_getI64(5);
7938 0 : @$pb.TagNumber(6)
7939 : set waitTime($fixnum.Int64 v) {
7940 0 : $_setInt64(5, v);
7941 : }
7942 :
7943 0 : @$pb.TagNumber(6)
7944 0 : $core.bool hasWaitTime() => $_has(5);
7945 0 : @$pb.TagNumber(6)
7946 0 : void clearWaitTime() => clearField(6);
7947 :
7948 0 : @$pb.TagNumber(7)
7949 0 : $core.String get stackTrace => $_getSZ(6);
7950 0 : @$pb.TagNumber(7)
7951 : set stackTrace($core.String v) {
7952 0 : $_setString(6, v);
7953 : }
7954 :
7955 0 : @$pb.TagNumber(7)
7956 0 : $core.bool hasStackTrace() => $_has(6);
7957 0 : @$pb.TagNumber(7)
7958 0 : void clearStackTrace() => clearField(7);
7959 : }
7960 :
7961 : class NodeInfo_MachineInfo extends $pb.GeneratedMessage {
7962 0 : factory NodeInfo_MachineInfo({
7963 : $core.int? threadCount,
7964 : $core.int? deadLockThreadCount,
7965 : $core.int? cpuCount,
7966 : $fixnum.Int64? totalMemory,
7967 : $fixnum.Int64? freeMemory,
7968 : $core.double? cpuRate,
7969 : $core.String? javaVersion,
7970 : $core.String? osName,
7971 : $fixnum.Int64? jvmTotalMemory,
7972 : $fixnum.Int64? jvmFreeMemory,
7973 : $core.double? processCpuRate,
7974 : $core.Iterable<NodeInfo_MachineInfo_MemoryDescInfo>? memoryDescInfoList,
7975 : $core.Iterable<NodeInfo_MachineInfo_DeadLockThreadInfo>? deadLockThreadInfoList,
7976 : }) {
7977 0 : final $result = create();
7978 : if (threadCount != null) {
7979 0 : $result.threadCount = threadCount;
7980 : }
7981 : if (deadLockThreadCount != null) {
7982 0 : $result.deadLockThreadCount = deadLockThreadCount;
7983 : }
7984 : if (cpuCount != null) {
7985 0 : $result.cpuCount = cpuCount;
7986 : }
7987 : if (totalMemory != null) {
7988 0 : $result.totalMemory = totalMemory;
7989 : }
7990 : if (freeMemory != null) {
7991 0 : $result.freeMemory = freeMemory;
7992 : }
7993 : if (cpuRate != null) {
7994 0 : $result.cpuRate = cpuRate;
7995 : }
7996 : if (javaVersion != null) {
7997 0 : $result.javaVersion = javaVersion;
7998 : }
7999 : if (osName != null) {
8000 0 : $result.osName = osName;
8001 : }
8002 : if (jvmTotalMemory != null) {
8003 0 : $result.jvmTotalMemory = jvmTotalMemory;
8004 : }
8005 : if (jvmFreeMemory != null) {
8006 0 : $result.jvmFreeMemory = jvmFreeMemory;
8007 : }
8008 : if (processCpuRate != null) {
8009 0 : $result.processCpuRate = processCpuRate;
8010 : }
8011 : if (memoryDescInfoList != null) {
8012 0 : $result.memoryDescInfoList.addAll(memoryDescInfoList);
8013 : }
8014 : if (deadLockThreadInfoList != null) {
8015 0 : $result.deadLockThreadInfoList.addAll(deadLockThreadInfoList);
8016 : }
8017 : return $result;
8018 : }
8019 0 : NodeInfo_MachineInfo._() : super();
8020 0 : factory NodeInfo_MachineInfo.fromBuffer($core.List<$core.int> i,
8021 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8022 0 : create()..mergeFromBuffer(i, r);
8023 0 : factory NodeInfo_MachineInfo.fromJson($core.String i,
8024 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8025 0 : create()..mergeFromJson(i, r);
8026 :
8027 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeInfo.MachineInfo',
8028 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8029 : createEmptyInstance: create)
8030 0 : ..a<$core.int>(1, _omitFieldNames ? '' : 'threadCount', $pb.PbFieldType.O3,
8031 : protoName: 'threadCount')
8032 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'deadLockThreadCount', $pb.PbFieldType.O3,
8033 : protoName: 'deadLockThreadCount')
8034 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'cpuCount', $pb.PbFieldType.O3, protoName: 'cpuCount')
8035 0 : ..aInt64(4, _omitFieldNames ? '' : 'totalMemory', protoName: 'totalMemory')
8036 0 : ..aInt64(5, _omitFieldNames ? '' : 'freeMemory', protoName: 'freeMemory')
8037 0 : ..a<$core.double>(6, _omitFieldNames ? '' : 'cpuRate', $pb.PbFieldType.OD, protoName: 'cpuRate')
8038 0 : ..aOS(7, _omitFieldNames ? '' : 'javaVersion', protoName: 'javaVersion')
8039 0 : ..aOS(8, _omitFieldNames ? '' : 'osName', protoName: 'osName')
8040 0 : ..aInt64(9, _omitFieldNames ? '' : 'jvmTotalMemory', protoName: 'jvmTotalMemory')
8041 0 : ..aInt64(10, _omitFieldNames ? '' : 'jvmFreeMemory', protoName: 'jvmFreeMemory')
8042 0 : ..a<$core.double>(11, _omitFieldNames ? '' : 'processCpuRate', $pb.PbFieldType.OD,
8043 : protoName: 'processCpuRate')
8044 0 : ..pc<NodeInfo_MachineInfo_MemoryDescInfo>(
8045 : 12, _omitFieldNames ? '' : 'memoryDescInfoList', $pb.PbFieldType.PM,
8046 : protoName: 'memoryDescInfoList', subBuilder: NodeInfo_MachineInfo_MemoryDescInfo.create)
8047 0 : ..pc<NodeInfo_MachineInfo_DeadLockThreadInfo>(
8048 : 13, _omitFieldNames ? '' : 'deadLockThreadInfoList', $pb.PbFieldType.PM,
8049 : protoName: 'deadLockThreadInfoList',
8050 : subBuilder: NodeInfo_MachineInfo_DeadLockThreadInfo.create)
8051 0 : ..hasRequiredFields = false;
8052 :
8053 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8054 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8055 : 'Will be removed in next major version')
8056 0 : NodeInfo_MachineInfo clone() => NodeInfo_MachineInfo()..mergeFromMessage(this);
8057 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8058 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8059 : 'Will be removed in next major version')
8060 : NodeInfo_MachineInfo copyWith(void Function(NodeInfo_MachineInfo) updates) =>
8061 0 : super.copyWith((message) => updates(message as NodeInfo_MachineInfo)) as NodeInfo_MachineInfo;
8062 :
8063 0 : $pb.BuilderInfo get info_ => _i;
8064 :
8065 0 : @$core.pragma('dart2js:noInline')
8066 0 : static NodeInfo_MachineInfo create() => NodeInfo_MachineInfo._();
8067 0 : NodeInfo_MachineInfo createEmptyInstance() => create();
8068 0 : static $pb.PbList<NodeInfo_MachineInfo> createRepeated() => $pb.PbList<NodeInfo_MachineInfo>();
8069 0 : @$core.pragma('dart2js:noInline')
8070 : static NodeInfo_MachineInfo getDefault() =>
8071 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NodeInfo_MachineInfo>(create);
8072 : static NodeInfo_MachineInfo? _defaultInstance;
8073 :
8074 0 : @$pb.TagNumber(1)
8075 0 : $core.int get threadCount => $_getIZ(0);
8076 0 : @$pb.TagNumber(1)
8077 : set threadCount($core.int v) {
8078 0 : $_setSignedInt32(0, v);
8079 : }
8080 :
8081 0 : @$pb.TagNumber(1)
8082 0 : $core.bool hasThreadCount() => $_has(0);
8083 0 : @$pb.TagNumber(1)
8084 0 : void clearThreadCount() => clearField(1);
8085 :
8086 0 : @$pb.TagNumber(2)
8087 0 : $core.int get deadLockThreadCount => $_getIZ(1);
8088 0 : @$pb.TagNumber(2)
8089 : set deadLockThreadCount($core.int v) {
8090 0 : $_setSignedInt32(1, v);
8091 : }
8092 :
8093 0 : @$pb.TagNumber(2)
8094 0 : $core.bool hasDeadLockThreadCount() => $_has(1);
8095 0 : @$pb.TagNumber(2)
8096 0 : void clearDeadLockThreadCount() => clearField(2);
8097 :
8098 0 : @$pb.TagNumber(3)
8099 0 : $core.int get cpuCount => $_getIZ(2);
8100 0 : @$pb.TagNumber(3)
8101 : set cpuCount($core.int v) {
8102 0 : $_setSignedInt32(2, v);
8103 : }
8104 :
8105 0 : @$pb.TagNumber(3)
8106 0 : $core.bool hasCpuCount() => $_has(2);
8107 0 : @$pb.TagNumber(3)
8108 0 : void clearCpuCount() => clearField(3);
8109 :
8110 0 : @$pb.TagNumber(4)
8111 0 : $fixnum.Int64 get totalMemory => $_getI64(3);
8112 0 : @$pb.TagNumber(4)
8113 : set totalMemory($fixnum.Int64 v) {
8114 0 : $_setInt64(3, v);
8115 : }
8116 :
8117 0 : @$pb.TagNumber(4)
8118 0 : $core.bool hasTotalMemory() => $_has(3);
8119 0 : @$pb.TagNumber(4)
8120 0 : void clearTotalMemory() => clearField(4);
8121 :
8122 0 : @$pb.TagNumber(5)
8123 0 : $fixnum.Int64 get freeMemory => $_getI64(4);
8124 0 : @$pb.TagNumber(5)
8125 : set freeMemory($fixnum.Int64 v) {
8126 0 : $_setInt64(4, v);
8127 : }
8128 :
8129 0 : @$pb.TagNumber(5)
8130 0 : $core.bool hasFreeMemory() => $_has(4);
8131 0 : @$pb.TagNumber(5)
8132 0 : void clearFreeMemory() => clearField(5);
8133 :
8134 0 : @$pb.TagNumber(6)
8135 0 : $core.double get cpuRate => $_getN(5);
8136 0 : @$pb.TagNumber(6)
8137 : set cpuRate($core.double v) {
8138 0 : $_setDouble(5, v);
8139 : }
8140 :
8141 0 : @$pb.TagNumber(6)
8142 0 : $core.bool hasCpuRate() => $_has(5);
8143 0 : @$pb.TagNumber(6)
8144 0 : void clearCpuRate() => clearField(6);
8145 :
8146 0 : @$pb.TagNumber(7)
8147 0 : $core.String get javaVersion => $_getSZ(6);
8148 0 : @$pb.TagNumber(7)
8149 : set javaVersion($core.String v) {
8150 0 : $_setString(6, v);
8151 : }
8152 :
8153 0 : @$pb.TagNumber(7)
8154 0 : $core.bool hasJavaVersion() => $_has(6);
8155 0 : @$pb.TagNumber(7)
8156 0 : void clearJavaVersion() => clearField(7);
8157 :
8158 0 : @$pb.TagNumber(8)
8159 0 : $core.String get osName => $_getSZ(7);
8160 0 : @$pb.TagNumber(8)
8161 : set osName($core.String v) {
8162 0 : $_setString(7, v);
8163 : }
8164 :
8165 0 : @$pb.TagNumber(8)
8166 0 : $core.bool hasOsName() => $_has(7);
8167 0 : @$pb.TagNumber(8)
8168 0 : void clearOsName() => clearField(8);
8169 :
8170 0 : @$pb.TagNumber(9)
8171 0 : $fixnum.Int64 get jvmTotalMemory => $_getI64(8);
8172 0 : @$pb.TagNumber(9)
8173 : set jvmTotalMemory($fixnum.Int64 v) {
8174 0 : $_setInt64(8, v);
8175 : }
8176 :
8177 0 : @$pb.TagNumber(9)
8178 0 : $core.bool hasJvmTotalMemory() => $_has(8);
8179 0 : @$pb.TagNumber(9)
8180 0 : void clearJvmTotalMemory() => clearField(9);
8181 :
8182 0 : @$pb.TagNumber(10)
8183 0 : $fixnum.Int64 get jvmFreeMemory => $_getI64(9);
8184 0 : @$pb.TagNumber(10)
8185 : set jvmFreeMemory($fixnum.Int64 v) {
8186 0 : $_setInt64(9, v);
8187 : }
8188 :
8189 0 : @$pb.TagNumber(10)
8190 0 : $core.bool hasJvmFreeMemory() => $_has(9);
8191 0 : @$pb.TagNumber(10)
8192 0 : void clearJvmFreeMemory() => clearField(10);
8193 :
8194 0 : @$pb.TagNumber(11)
8195 0 : $core.double get processCpuRate => $_getN(10);
8196 0 : @$pb.TagNumber(11)
8197 : set processCpuRate($core.double v) {
8198 0 : $_setDouble(10, v);
8199 : }
8200 :
8201 0 : @$pb.TagNumber(11)
8202 0 : $core.bool hasProcessCpuRate() => $_has(10);
8203 0 : @$pb.TagNumber(11)
8204 0 : void clearProcessCpuRate() => clearField(11);
8205 :
8206 0 : @$pb.TagNumber(12)
8207 0 : $core.List<NodeInfo_MachineInfo_MemoryDescInfo> get memoryDescInfoList => $_getList(11);
8208 :
8209 0 : @$pb.TagNumber(13)
8210 0 : $core.List<NodeInfo_MachineInfo_DeadLockThreadInfo> get deadLockThreadInfoList => $_getList(12);
8211 : }
8212 :
8213 : class NodeInfo extends $pb.GeneratedMessage {
8214 0 : factory NodeInfo({
8215 : $fixnum.Int64? beginSyncNum,
8216 : $core.String? block,
8217 : $core.String? solidityBlock,
8218 : $core.int? currentConnectCount,
8219 : $core.int? activeConnectCount,
8220 : $core.int? passiveConnectCount,
8221 : $fixnum.Int64? totalFlow,
8222 : $core.Iterable<NodeInfo_PeerInfo>? peerInfoList,
8223 : NodeInfo_ConfigNodeInfo? configNodeInfo,
8224 : NodeInfo_MachineInfo? machineInfo,
8225 : $core.Map<$core.String, $core.String>? cheatWitnessInfoMap,
8226 : }) {
8227 0 : final $result = create();
8228 : if (beginSyncNum != null) {
8229 0 : $result.beginSyncNum = beginSyncNum;
8230 : }
8231 : if (block != null) {
8232 0 : $result.block = block;
8233 : }
8234 : if (solidityBlock != null) {
8235 0 : $result.solidityBlock = solidityBlock;
8236 : }
8237 : if (currentConnectCount != null) {
8238 0 : $result.currentConnectCount = currentConnectCount;
8239 : }
8240 : if (activeConnectCount != null) {
8241 0 : $result.activeConnectCount = activeConnectCount;
8242 : }
8243 : if (passiveConnectCount != null) {
8244 0 : $result.passiveConnectCount = passiveConnectCount;
8245 : }
8246 : if (totalFlow != null) {
8247 0 : $result.totalFlow = totalFlow;
8248 : }
8249 : if (peerInfoList != null) {
8250 0 : $result.peerInfoList.addAll(peerInfoList);
8251 : }
8252 : if (configNodeInfo != null) {
8253 0 : $result.configNodeInfo = configNodeInfo;
8254 : }
8255 : if (machineInfo != null) {
8256 0 : $result.machineInfo = machineInfo;
8257 : }
8258 : if (cheatWitnessInfoMap != null) {
8259 0 : $result.cheatWitnessInfoMap.addAll(cheatWitnessInfoMap);
8260 : }
8261 : return $result;
8262 : }
8263 0 : NodeInfo._() : super();
8264 0 : factory NodeInfo.fromBuffer($core.List<$core.int> i,
8265 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8266 0 : create()..mergeFromBuffer(i, r);
8267 0 : factory NodeInfo.fromJson($core.String i,
8268 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8269 0 : create()..mergeFromJson(i, r);
8270 :
8271 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeInfo',
8272 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8273 : createEmptyInstance: create)
8274 0 : ..aInt64(1, _omitFieldNames ? '' : 'beginSyncNum', protoName: 'beginSyncNum')
8275 0 : ..aOS(2, _omitFieldNames ? '' : 'block')
8276 0 : ..aOS(3, _omitFieldNames ? '' : 'solidityBlock', protoName: 'solidityBlock')
8277 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'currentConnectCount', $pb.PbFieldType.O3,
8278 : protoName: 'currentConnectCount')
8279 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'activeConnectCount', $pb.PbFieldType.O3,
8280 : protoName: 'activeConnectCount')
8281 0 : ..a<$core.int>(6, _omitFieldNames ? '' : 'passiveConnectCount', $pb.PbFieldType.O3,
8282 : protoName: 'passiveConnectCount')
8283 0 : ..aInt64(7, _omitFieldNames ? '' : 'totalFlow', protoName: 'totalFlow')
8284 0 : ..pc<NodeInfo_PeerInfo>(8, _omitFieldNames ? '' : 'peerInfoList', $pb.PbFieldType.PM,
8285 : protoName: 'peerInfoList', subBuilder: NodeInfo_PeerInfo.create)
8286 0 : ..aOM<NodeInfo_ConfigNodeInfo>(9, _omitFieldNames ? '' : 'configNodeInfo',
8287 : protoName: 'configNodeInfo', subBuilder: NodeInfo_ConfigNodeInfo.create)
8288 0 : ..aOM<NodeInfo_MachineInfo>(10, _omitFieldNames ? '' : 'machineInfo',
8289 : protoName: 'machineInfo', subBuilder: NodeInfo_MachineInfo.create)
8290 0 : ..m<$core.String, $core.String>(11, _omitFieldNames ? '' : 'cheatWitnessInfoMap',
8291 : protoName: 'cheatWitnessInfoMap',
8292 : entryClassName: 'NodeInfo.CheatWitnessInfoMapEntry',
8293 : keyFieldType: $pb.PbFieldType.OS,
8294 : valueFieldType: $pb.PbFieldType.OS,
8295 : packageName: const $pb.PackageName('protocol'))
8296 0 : ..hasRequiredFields = false;
8297 :
8298 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8299 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8300 : 'Will be removed in next major version')
8301 0 : NodeInfo clone() => NodeInfo()..mergeFromMessage(this);
8302 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8303 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8304 : 'Will be removed in next major version')
8305 : NodeInfo copyWith(void Function(NodeInfo) updates) =>
8306 0 : super.copyWith((message) => updates(message as NodeInfo)) as NodeInfo;
8307 :
8308 0 : $pb.BuilderInfo get info_ => _i;
8309 :
8310 0 : @$core.pragma('dart2js:noInline')
8311 0 : static NodeInfo create() => NodeInfo._();
8312 0 : NodeInfo createEmptyInstance() => create();
8313 0 : static $pb.PbList<NodeInfo> createRepeated() => $pb.PbList<NodeInfo>();
8314 0 : @$core.pragma('dart2js:noInline')
8315 : static NodeInfo getDefault() =>
8316 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NodeInfo>(create);
8317 : static NodeInfo? _defaultInstance;
8318 :
8319 0 : @$pb.TagNumber(1)
8320 0 : $fixnum.Int64 get beginSyncNum => $_getI64(0);
8321 0 : @$pb.TagNumber(1)
8322 : set beginSyncNum($fixnum.Int64 v) {
8323 0 : $_setInt64(0, v);
8324 : }
8325 :
8326 0 : @$pb.TagNumber(1)
8327 0 : $core.bool hasBeginSyncNum() => $_has(0);
8328 0 : @$pb.TagNumber(1)
8329 0 : void clearBeginSyncNum() => clearField(1);
8330 :
8331 0 : @$pb.TagNumber(2)
8332 0 : $core.String get block => $_getSZ(1);
8333 0 : @$pb.TagNumber(2)
8334 : set block($core.String v) {
8335 0 : $_setString(1, v);
8336 : }
8337 :
8338 0 : @$pb.TagNumber(2)
8339 0 : $core.bool hasBlock() => $_has(1);
8340 0 : @$pb.TagNumber(2)
8341 0 : void clearBlock() => clearField(2);
8342 :
8343 0 : @$pb.TagNumber(3)
8344 0 : $core.String get solidityBlock => $_getSZ(2);
8345 0 : @$pb.TagNumber(3)
8346 : set solidityBlock($core.String v) {
8347 0 : $_setString(2, v);
8348 : }
8349 :
8350 0 : @$pb.TagNumber(3)
8351 0 : $core.bool hasSolidityBlock() => $_has(2);
8352 0 : @$pb.TagNumber(3)
8353 0 : void clearSolidityBlock() => clearField(3);
8354 :
8355 : /// connect information
8356 0 : @$pb.TagNumber(4)
8357 0 : $core.int get currentConnectCount => $_getIZ(3);
8358 0 : @$pb.TagNumber(4)
8359 : set currentConnectCount($core.int v) {
8360 0 : $_setSignedInt32(3, v);
8361 : }
8362 :
8363 0 : @$pb.TagNumber(4)
8364 0 : $core.bool hasCurrentConnectCount() => $_has(3);
8365 0 : @$pb.TagNumber(4)
8366 0 : void clearCurrentConnectCount() => clearField(4);
8367 :
8368 0 : @$pb.TagNumber(5)
8369 0 : $core.int get activeConnectCount => $_getIZ(4);
8370 0 : @$pb.TagNumber(5)
8371 : set activeConnectCount($core.int v) {
8372 0 : $_setSignedInt32(4, v);
8373 : }
8374 :
8375 0 : @$pb.TagNumber(5)
8376 0 : $core.bool hasActiveConnectCount() => $_has(4);
8377 0 : @$pb.TagNumber(5)
8378 0 : void clearActiveConnectCount() => clearField(5);
8379 :
8380 0 : @$pb.TagNumber(6)
8381 0 : $core.int get passiveConnectCount => $_getIZ(5);
8382 0 : @$pb.TagNumber(6)
8383 : set passiveConnectCount($core.int v) {
8384 0 : $_setSignedInt32(5, v);
8385 : }
8386 :
8387 0 : @$pb.TagNumber(6)
8388 0 : $core.bool hasPassiveConnectCount() => $_has(5);
8389 0 : @$pb.TagNumber(6)
8390 0 : void clearPassiveConnectCount() => clearField(6);
8391 :
8392 0 : @$pb.TagNumber(7)
8393 0 : $fixnum.Int64 get totalFlow => $_getI64(6);
8394 0 : @$pb.TagNumber(7)
8395 : set totalFlow($fixnum.Int64 v) {
8396 0 : $_setInt64(6, v);
8397 : }
8398 :
8399 0 : @$pb.TagNumber(7)
8400 0 : $core.bool hasTotalFlow() => $_has(6);
8401 0 : @$pb.TagNumber(7)
8402 0 : void clearTotalFlow() => clearField(7);
8403 :
8404 0 : @$pb.TagNumber(8)
8405 0 : $core.List<NodeInfo_PeerInfo> get peerInfoList => $_getList(7);
8406 :
8407 0 : @$pb.TagNumber(9)
8408 0 : NodeInfo_ConfigNodeInfo get configNodeInfo => $_getN(8);
8409 0 : @$pb.TagNumber(9)
8410 : set configNodeInfo(NodeInfo_ConfigNodeInfo v) {
8411 0 : setField(9, v);
8412 : }
8413 :
8414 0 : @$pb.TagNumber(9)
8415 0 : $core.bool hasConfigNodeInfo() => $_has(8);
8416 0 : @$pb.TagNumber(9)
8417 0 : void clearConfigNodeInfo() => clearField(9);
8418 0 : @$pb.TagNumber(9)
8419 0 : NodeInfo_ConfigNodeInfo ensureConfigNodeInfo() => $_ensure(8);
8420 :
8421 0 : @$pb.TagNumber(10)
8422 0 : NodeInfo_MachineInfo get machineInfo => $_getN(9);
8423 0 : @$pb.TagNumber(10)
8424 : set machineInfo(NodeInfo_MachineInfo v) {
8425 0 : setField(10, v);
8426 : }
8427 :
8428 0 : @$pb.TagNumber(10)
8429 0 : $core.bool hasMachineInfo() => $_has(9);
8430 0 : @$pb.TagNumber(10)
8431 0 : void clearMachineInfo() => clearField(10);
8432 0 : @$pb.TagNumber(10)
8433 0 : NodeInfo_MachineInfo ensureMachineInfo() => $_ensure(9);
8434 :
8435 0 : @$pb.TagNumber(11)
8436 0 : $core.Map<$core.String, $core.String> get cheatWitnessInfoMap => $_getMap(10);
8437 : }
8438 :
8439 : class MetricsInfo_NodeInfo extends $pb.GeneratedMessage {
8440 0 : factory MetricsInfo_NodeInfo({
8441 : $core.String? ip,
8442 : $core.int? nodeType,
8443 : $core.String? version,
8444 : $core.int? backupStatus,
8445 : }) {
8446 0 : final $result = create();
8447 : if (ip != null) {
8448 0 : $result.ip = ip;
8449 : }
8450 : if (nodeType != null) {
8451 0 : $result.nodeType = nodeType;
8452 : }
8453 : if (version != null) {
8454 0 : $result.version = version;
8455 : }
8456 : if (backupStatus != null) {
8457 0 : $result.backupStatus = backupStatus;
8458 : }
8459 : return $result;
8460 : }
8461 0 : MetricsInfo_NodeInfo._() : super();
8462 0 : factory MetricsInfo_NodeInfo.fromBuffer($core.List<$core.int> i,
8463 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8464 0 : create()..mergeFromBuffer(i, r);
8465 0 : factory MetricsInfo_NodeInfo.fromJson($core.String i,
8466 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8467 0 : create()..mergeFromJson(i, r);
8468 :
8469 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsInfo.NodeInfo',
8470 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8471 : createEmptyInstance: create)
8472 0 : ..aOS(1, _omitFieldNames ? '' : 'ip')
8473 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'nodeType', $pb.PbFieldType.O3, protoName: 'nodeType')
8474 0 : ..aOS(3, _omitFieldNames ? '' : 'version')
8475 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'backupStatus', $pb.PbFieldType.O3,
8476 : protoName: 'backupStatus')
8477 0 : ..hasRequiredFields = false;
8478 :
8479 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8480 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8481 : 'Will be removed in next major version')
8482 0 : MetricsInfo_NodeInfo clone() => MetricsInfo_NodeInfo()..mergeFromMessage(this);
8483 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8484 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8485 : 'Will be removed in next major version')
8486 : MetricsInfo_NodeInfo copyWith(void Function(MetricsInfo_NodeInfo) updates) =>
8487 0 : super.copyWith((message) => updates(message as MetricsInfo_NodeInfo)) as MetricsInfo_NodeInfo;
8488 :
8489 0 : $pb.BuilderInfo get info_ => _i;
8490 :
8491 0 : @$core.pragma('dart2js:noInline')
8492 0 : static MetricsInfo_NodeInfo create() => MetricsInfo_NodeInfo._();
8493 0 : MetricsInfo_NodeInfo createEmptyInstance() => create();
8494 0 : static $pb.PbList<MetricsInfo_NodeInfo> createRepeated() => $pb.PbList<MetricsInfo_NodeInfo>();
8495 0 : @$core.pragma('dart2js:noInline')
8496 : static MetricsInfo_NodeInfo getDefault() =>
8497 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NodeInfo>(create);
8498 : static MetricsInfo_NodeInfo? _defaultInstance;
8499 :
8500 0 : @$pb.TagNumber(1)
8501 0 : $core.String get ip => $_getSZ(0);
8502 0 : @$pb.TagNumber(1)
8503 : set ip($core.String v) {
8504 0 : $_setString(0, v);
8505 : }
8506 :
8507 0 : @$pb.TagNumber(1)
8508 0 : $core.bool hasIp() => $_has(0);
8509 0 : @$pb.TagNumber(1)
8510 0 : void clearIp() => clearField(1);
8511 :
8512 0 : @$pb.TagNumber(2)
8513 0 : $core.int get nodeType => $_getIZ(1);
8514 0 : @$pb.TagNumber(2)
8515 : set nodeType($core.int v) {
8516 0 : $_setSignedInt32(1, v);
8517 : }
8518 :
8519 0 : @$pb.TagNumber(2)
8520 0 : $core.bool hasNodeType() => $_has(1);
8521 0 : @$pb.TagNumber(2)
8522 0 : void clearNodeType() => clearField(2);
8523 :
8524 0 : @$pb.TagNumber(3)
8525 0 : $core.String get version => $_getSZ(2);
8526 0 : @$pb.TagNumber(3)
8527 : set version($core.String v) {
8528 0 : $_setString(2, v);
8529 : }
8530 :
8531 0 : @$pb.TagNumber(3)
8532 0 : $core.bool hasVersion() => $_has(2);
8533 0 : @$pb.TagNumber(3)
8534 0 : void clearVersion() => clearField(3);
8535 :
8536 0 : @$pb.TagNumber(4)
8537 0 : $core.int get backupStatus => $_getIZ(3);
8538 0 : @$pb.TagNumber(4)
8539 : set backupStatus($core.int v) {
8540 0 : $_setSignedInt32(3, v);
8541 : }
8542 :
8543 0 : @$pb.TagNumber(4)
8544 0 : $core.bool hasBackupStatus() => $_has(3);
8545 0 : @$pb.TagNumber(4)
8546 0 : void clearBackupStatus() => clearField(4);
8547 : }
8548 :
8549 : class MetricsInfo_BlockChainInfo_Witness extends $pb.GeneratedMessage {
8550 0 : factory MetricsInfo_BlockChainInfo_Witness({
8551 : $core.String? address,
8552 : $core.int? version,
8553 : }) {
8554 0 : final $result = create();
8555 : if (address != null) {
8556 0 : $result.address = address;
8557 : }
8558 : if (version != null) {
8559 0 : $result.version = version;
8560 : }
8561 : return $result;
8562 : }
8563 0 : MetricsInfo_BlockChainInfo_Witness._() : super();
8564 0 : factory MetricsInfo_BlockChainInfo_Witness.fromBuffer($core.List<$core.int> i,
8565 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8566 0 : create()..mergeFromBuffer(i, r);
8567 0 : factory MetricsInfo_BlockChainInfo_Witness.fromJson($core.String i,
8568 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8569 0 : create()..mergeFromJson(i, r);
8570 :
8571 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8572 : _omitMessageNames ? '' : 'MetricsInfo.BlockChainInfo.Witness',
8573 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8574 : createEmptyInstance: create)
8575 0 : ..aOS(1, _omitFieldNames ? '' : 'address')
8576 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
8577 0 : ..hasRequiredFields = false;
8578 :
8579 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8580 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8581 : 'Will be removed in next major version')
8582 : MetricsInfo_BlockChainInfo_Witness clone() =>
8583 0 : MetricsInfo_BlockChainInfo_Witness()..mergeFromMessage(this);
8584 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8585 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8586 : 'Will be removed in next major version')
8587 : MetricsInfo_BlockChainInfo_Witness copyWith(
8588 : void Function(MetricsInfo_BlockChainInfo_Witness) updates) =>
8589 0 : super.copyWith((message) => updates(message as MetricsInfo_BlockChainInfo_Witness))
8590 : as MetricsInfo_BlockChainInfo_Witness;
8591 :
8592 0 : $pb.BuilderInfo get info_ => _i;
8593 :
8594 0 : @$core.pragma('dart2js:noInline')
8595 0 : static MetricsInfo_BlockChainInfo_Witness create() => MetricsInfo_BlockChainInfo_Witness._();
8596 0 : MetricsInfo_BlockChainInfo_Witness createEmptyInstance() => create();
8597 0 : static $pb.PbList<MetricsInfo_BlockChainInfo_Witness> createRepeated() =>
8598 0 : $pb.PbList<MetricsInfo_BlockChainInfo_Witness>();
8599 0 : @$core.pragma('dart2js:noInline')
8600 : static MetricsInfo_BlockChainInfo_Witness getDefault() => _defaultInstance ??=
8601 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_BlockChainInfo_Witness>(create);
8602 : static MetricsInfo_BlockChainInfo_Witness? _defaultInstance;
8603 :
8604 0 : @$pb.TagNumber(1)
8605 0 : $core.String get address => $_getSZ(0);
8606 0 : @$pb.TagNumber(1)
8607 : set address($core.String v) {
8608 0 : $_setString(0, v);
8609 : }
8610 :
8611 0 : @$pb.TagNumber(1)
8612 0 : $core.bool hasAddress() => $_has(0);
8613 0 : @$pb.TagNumber(1)
8614 0 : void clearAddress() => clearField(1);
8615 :
8616 0 : @$pb.TagNumber(2)
8617 0 : $core.int get version => $_getIZ(1);
8618 0 : @$pb.TagNumber(2)
8619 : set version($core.int v) {
8620 0 : $_setSignedInt32(1, v);
8621 : }
8622 :
8623 0 : @$pb.TagNumber(2)
8624 0 : $core.bool hasVersion() => $_has(1);
8625 0 : @$pb.TagNumber(2)
8626 0 : void clearVersion() => clearField(2);
8627 : }
8628 :
8629 : class MetricsInfo_BlockChainInfo_DupWitness extends $pb.GeneratedMessage {
8630 0 : factory MetricsInfo_BlockChainInfo_DupWitness({
8631 : $core.String? address,
8632 : $fixnum.Int64? blockNum,
8633 : $core.int? count,
8634 : }) {
8635 0 : final $result = create();
8636 : if (address != null) {
8637 0 : $result.address = address;
8638 : }
8639 : if (blockNum != null) {
8640 0 : $result.blockNum = blockNum;
8641 : }
8642 : if (count != null) {
8643 0 : $result.count = count;
8644 : }
8645 : return $result;
8646 : }
8647 0 : MetricsInfo_BlockChainInfo_DupWitness._() : super();
8648 0 : factory MetricsInfo_BlockChainInfo_DupWitness.fromBuffer($core.List<$core.int> i,
8649 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8650 0 : create()..mergeFromBuffer(i, r);
8651 0 : factory MetricsInfo_BlockChainInfo_DupWitness.fromJson($core.String i,
8652 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8653 0 : create()..mergeFromJson(i, r);
8654 :
8655 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8656 : _omitMessageNames ? '' : 'MetricsInfo.BlockChainInfo.DupWitness',
8657 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8658 : createEmptyInstance: create)
8659 0 : ..aOS(1, _omitFieldNames ? '' : 'address')
8660 0 : ..aInt64(2, _omitFieldNames ? '' : 'blockNum', protoName: 'blockNum')
8661 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
8662 0 : ..hasRequiredFields = false;
8663 :
8664 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8665 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8666 : 'Will be removed in next major version')
8667 : MetricsInfo_BlockChainInfo_DupWitness clone() =>
8668 0 : MetricsInfo_BlockChainInfo_DupWitness()..mergeFromMessage(this);
8669 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8670 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8671 : 'Will be removed in next major version')
8672 : MetricsInfo_BlockChainInfo_DupWitness copyWith(
8673 : void Function(MetricsInfo_BlockChainInfo_DupWitness) updates) =>
8674 0 : super.copyWith((message) => updates(message as MetricsInfo_BlockChainInfo_DupWitness))
8675 : as MetricsInfo_BlockChainInfo_DupWitness;
8676 :
8677 0 : $pb.BuilderInfo get info_ => _i;
8678 :
8679 0 : @$core.pragma('dart2js:noInline')
8680 : static MetricsInfo_BlockChainInfo_DupWitness create() =>
8681 0 : MetricsInfo_BlockChainInfo_DupWitness._();
8682 0 : MetricsInfo_BlockChainInfo_DupWitness createEmptyInstance() => create();
8683 0 : static $pb.PbList<MetricsInfo_BlockChainInfo_DupWitness> createRepeated() =>
8684 0 : $pb.PbList<MetricsInfo_BlockChainInfo_DupWitness>();
8685 0 : @$core.pragma('dart2js:noInline')
8686 : static MetricsInfo_BlockChainInfo_DupWitness getDefault() => _defaultInstance ??=
8687 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_BlockChainInfo_DupWitness>(create);
8688 : static MetricsInfo_BlockChainInfo_DupWitness? _defaultInstance;
8689 :
8690 0 : @$pb.TagNumber(1)
8691 0 : $core.String get address => $_getSZ(0);
8692 0 : @$pb.TagNumber(1)
8693 : set address($core.String v) {
8694 0 : $_setString(0, v);
8695 : }
8696 :
8697 0 : @$pb.TagNumber(1)
8698 0 : $core.bool hasAddress() => $_has(0);
8699 0 : @$pb.TagNumber(1)
8700 0 : void clearAddress() => clearField(1);
8701 :
8702 0 : @$pb.TagNumber(2)
8703 0 : $fixnum.Int64 get blockNum => $_getI64(1);
8704 0 : @$pb.TagNumber(2)
8705 : set blockNum($fixnum.Int64 v) {
8706 0 : $_setInt64(1, v);
8707 : }
8708 :
8709 0 : @$pb.TagNumber(2)
8710 0 : $core.bool hasBlockNum() => $_has(1);
8711 0 : @$pb.TagNumber(2)
8712 0 : void clearBlockNum() => clearField(2);
8713 :
8714 0 : @$pb.TagNumber(3)
8715 0 : $core.int get count => $_getIZ(2);
8716 0 : @$pb.TagNumber(3)
8717 : set count($core.int v) {
8718 0 : $_setSignedInt32(2, v);
8719 : }
8720 :
8721 0 : @$pb.TagNumber(3)
8722 0 : $core.bool hasCount() => $_has(2);
8723 0 : @$pb.TagNumber(3)
8724 0 : void clearCount() => clearField(3);
8725 : }
8726 :
8727 : class MetricsInfo_BlockChainInfo extends $pb.GeneratedMessage {
8728 0 : factory MetricsInfo_BlockChainInfo({
8729 : $fixnum.Int64? headBlockNum,
8730 : $fixnum.Int64? headBlockTimestamp,
8731 : $core.String? headBlockHash,
8732 : $core.int? forkCount,
8733 : $core.int? failForkCount,
8734 : MetricsInfo_RateInfo? blockProcessTime,
8735 : MetricsInfo_RateInfo? tps,
8736 : $core.int? transactionCacheSize,
8737 : MetricsInfo_RateInfo? missedTransaction,
8738 : $core.Iterable<MetricsInfo_BlockChainInfo_Witness>? witnesses,
8739 : $fixnum.Int64? failProcessBlockNum,
8740 : $core.String? failProcessBlockReason,
8741 : $core.Iterable<MetricsInfo_BlockChainInfo_DupWitness>? dupWitness,
8742 : }) {
8743 0 : final $result = create();
8744 : if (headBlockNum != null) {
8745 0 : $result.headBlockNum = headBlockNum;
8746 : }
8747 : if (headBlockTimestamp != null) {
8748 0 : $result.headBlockTimestamp = headBlockTimestamp;
8749 : }
8750 : if (headBlockHash != null) {
8751 0 : $result.headBlockHash = headBlockHash;
8752 : }
8753 : if (forkCount != null) {
8754 0 : $result.forkCount = forkCount;
8755 : }
8756 : if (failForkCount != null) {
8757 0 : $result.failForkCount = failForkCount;
8758 : }
8759 : if (blockProcessTime != null) {
8760 0 : $result.blockProcessTime = blockProcessTime;
8761 : }
8762 : if (tps != null) {
8763 0 : $result.tps = tps;
8764 : }
8765 : if (transactionCacheSize != null) {
8766 0 : $result.transactionCacheSize = transactionCacheSize;
8767 : }
8768 : if (missedTransaction != null) {
8769 0 : $result.missedTransaction = missedTransaction;
8770 : }
8771 : if (witnesses != null) {
8772 0 : $result.witnesses.addAll(witnesses);
8773 : }
8774 : if (failProcessBlockNum != null) {
8775 0 : $result.failProcessBlockNum = failProcessBlockNum;
8776 : }
8777 : if (failProcessBlockReason != null) {
8778 0 : $result.failProcessBlockReason = failProcessBlockReason;
8779 : }
8780 : if (dupWitness != null) {
8781 0 : $result.dupWitness.addAll(dupWitness);
8782 : }
8783 : return $result;
8784 : }
8785 0 : MetricsInfo_BlockChainInfo._() : super();
8786 0 : factory MetricsInfo_BlockChainInfo.fromBuffer($core.List<$core.int> i,
8787 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8788 0 : create()..mergeFromBuffer(i, r);
8789 0 : factory MetricsInfo_BlockChainInfo.fromJson($core.String i,
8790 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
8791 0 : create()..mergeFromJson(i, r);
8792 :
8793 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
8794 : _omitMessageNames ? '' : 'MetricsInfo.BlockChainInfo',
8795 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
8796 : createEmptyInstance: create)
8797 0 : ..aInt64(1, _omitFieldNames ? '' : 'headBlockNum', protoName: 'headBlockNum')
8798 0 : ..aInt64(2, _omitFieldNames ? '' : 'headBlockTimestamp', protoName: 'headBlockTimestamp')
8799 0 : ..aOS(3, _omitFieldNames ? '' : 'headBlockHash', protoName: 'headBlockHash')
8800 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'forkCount', $pb.PbFieldType.O3,
8801 : protoName: 'forkCount')
8802 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'failForkCount', $pb.PbFieldType.O3,
8803 : protoName: 'failForkCount')
8804 0 : ..aOM<MetricsInfo_RateInfo>(6, _omitFieldNames ? '' : 'blockProcessTime',
8805 : protoName: 'blockProcessTime', subBuilder: MetricsInfo_RateInfo.create)
8806 0 : ..aOM<MetricsInfo_RateInfo>(7, _omitFieldNames ? '' : 'tps',
8807 : subBuilder: MetricsInfo_RateInfo.create)
8808 0 : ..a<$core.int>(8, _omitFieldNames ? '' : 'transactionCacheSize', $pb.PbFieldType.O3,
8809 : protoName: 'transactionCacheSize')
8810 0 : ..aOM<MetricsInfo_RateInfo>(9, _omitFieldNames ? '' : 'missedTransaction',
8811 : protoName: 'missedTransaction', subBuilder: MetricsInfo_RateInfo.create)
8812 0 : ..pc<MetricsInfo_BlockChainInfo_Witness>(
8813 : 10, _omitFieldNames ? '' : 'witnesses', $pb.PbFieldType.PM,
8814 : subBuilder: MetricsInfo_BlockChainInfo_Witness.create)
8815 0 : ..aInt64(11, _omitFieldNames ? '' : 'failProcessBlockNum', protoName: 'failProcessBlockNum')
8816 0 : ..aOS(12, _omitFieldNames ? '' : 'failProcessBlockReason', protoName: 'failProcessBlockReason')
8817 0 : ..pc<MetricsInfo_BlockChainInfo_DupWitness>(
8818 : 13, _omitFieldNames ? '' : 'dupWitness', $pb.PbFieldType.PM,
8819 : protoName: 'dupWitness', subBuilder: MetricsInfo_BlockChainInfo_DupWitness.create)
8820 0 : ..hasRequiredFields = false;
8821 :
8822 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8823 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
8824 : 'Will be removed in next major version')
8825 0 : MetricsInfo_BlockChainInfo clone() => MetricsInfo_BlockChainInfo()..mergeFromMessage(this);
8826 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
8827 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
8828 : 'Will be removed in next major version')
8829 : MetricsInfo_BlockChainInfo copyWith(void Function(MetricsInfo_BlockChainInfo) updates) =>
8830 0 : super.copyWith((message) => updates(message as MetricsInfo_BlockChainInfo))
8831 : as MetricsInfo_BlockChainInfo;
8832 :
8833 0 : $pb.BuilderInfo get info_ => _i;
8834 :
8835 0 : @$core.pragma('dart2js:noInline')
8836 0 : static MetricsInfo_BlockChainInfo create() => MetricsInfo_BlockChainInfo._();
8837 0 : MetricsInfo_BlockChainInfo createEmptyInstance() => create();
8838 0 : static $pb.PbList<MetricsInfo_BlockChainInfo> createRepeated() =>
8839 0 : $pb.PbList<MetricsInfo_BlockChainInfo>();
8840 0 : @$core.pragma('dart2js:noInline')
8841 : static MetricsInfo_BlockChainInfo getDefault() =>
8842 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MetricsInfo_BlockChainInfo>(create);
8843 : static MetricsInfo_BlockChainInfo? _defaultInstance;
8844 :
8845 0 : @$pb.TagNumber(1)
8846 0 : $fixnum.Int64 get headBlockNum => $_getI64(0);
8847 0 : @$pb.TagNumber(1)
8848 : set headBlockNum($fixnum.Int64 v) {
8849 0 : $_setInt64(0, v);
8850 : }
8851 :
8852 0 : @$pb.TagNumber(1)
8853 0 : $core.bool hasHeadBlockNum() => $_has(0);
8854 0 : @$pb.TagNumber(1)
8855 0 : void clearHeadBlockNum() => clearField(1);
8856 :
8857 0 : @$pb.TagNumber(2)
8858 0 : $fixnum.Int64 get headBlockTimestamp => $_getI64(1);
8859 0 : @$pb.TagNumber(2)
8860 : set headBlockTimestamp($fixnum.Int64 v) {
8861 0 : $_setInt64(1, v);
8862 : }
8863 :
8864 0 : @$pb.TagNumber(2)
8865 0 : $core.bool hasHeadBlockTimestamp() => $_has(1);
8866 0 : @$pb.TagNumber(2)
8867 0 : void clearHeadBlockTimestamp() => clearField(2);
8868 :
8869 0 : @$pb.TagNumber(3)
8870 0 : $core.String get headBlockHash => $_getSZ(2);
8871 0 : @$pb.TagNumber(3)
8872 : set headBlockHash($core.String v) {
8873 0 : $_setString(2, v);
8874 : }
8875 :
8876 0 : @$pb.TagNumber(3)
8877 0 : $core.bool hasHeadBlockHash() => $_has(2);
8878 0 : @$pb.TagNumber(3)
8879 0 : void clearHeadBlockHash() => clearField(3);
8880 :
8881 0 : @$pb.TagNumber(4)
8882 0 : $core.int get forkCount => $_getIZ(3);
8883 0 : @$pb.TagNumber(4)
8884 : set forkCount($core.int v) {
8885 0 : $_setSignedInt32(3, v);
8886 : }
8887 :
8888 0 : @$pb.TagNumber(4)
8889 0 : $core.bool hasForkCount() => $_has(3);
8890 0 : @$pb.TagNumber(4)
8891 0 : void clearForkCount() => clearField(4);
8892 :
8893 0 : @$pb.TagNumber(5)
8894 0 : $core.int get failForkCount => $_getIZ(4);
8895 0 : @$pb.TagNumber(5)
8896 : set failForkCount($core.int v) {
8897 0 : $_setSignedInt32(4, v);
8898 : }
8899 :
8900 0 : @$pb.TagNumber(5)
8901 0 : $core.bool hasFailForkCount() => $_has(4);
8902 0 : @$pb.TagNumber(5)
8903 0 : void clearFailForkCount() => clearField(5);
8904 :
8905 0 : @$pb.TagNumber(6)
8906 0 : MetricsInfo_RateInfo get blockProcessTime => $_getN(5);
8907 0 : @$pb.TagNumber(6)
8908 : set blockProcessTime(MetricsInfo_RateInfo v) {
8909 0 : setField(6, v);
8910 : }
8911 :
8912 0 : @$pb.TagNumber(6)
8913 0 : $core.bool hasBlockProcessTime() => $_has(5);
8914 0 : @$pb.TagNumber(6)
8915 0 : void clearBlockProcessTime() => clearField(6);
8916 0 : @$pb.TagNumber(6)
8917 0 : MetricsInfo_RateInfo ensureBlockProcessTime() => $_ensure(5);
8918 :
8919 0 : @$pb.TagNumber(7)
8920 0 : MetricsInfo_RateInfo get tps => $_getN(6);
8921 0 : @$pb.TagNumber(7)
8922 : set tps(MetricsInfo_RateInfo v) {
8923 0 : setField(7, v);
8924 : }
8925 :
8926 0 : @$pb.TagNumber(7)
8927 0 : $core.bool hasTps() => $_has(6);
8928 0 : @$pb.TagNumber(7)
8929 0 : void clearTps() => clearField(7);
8930 0 : @$pb.TagNumber(7)
8931 0 : MetricsInfo_RateInfo ensureTps() => $_ensure(6);
8932 :
8933 0 : @$pb.TagNumber(8)
8934 0 : $core.int get transactionCacheSize => $_getIZ(7);
8935 0 : @$pb.TagNumber(8)
8936 : set transactionCacheSize($core.int v) {
8937 0 : $_setSignedInt32(7, v);
8938 : }
8939 :
8940 0 : @$pb.TagNumber(8)
8941 0 : $core.bool hasTransactionCacheSize() => $_has(7);
8942 0 : @$pb.TagNumber(8)
8943 0 : void clearTransactionCacheSize() => clearField(8);
8944 :
8945 0 : @$pb.TagNumber(9)
8946 0 : MetricsInfo_RateInfo get missedTransaction => $_getN(8);
8947 0 : @$pb.TagNumber(9)
8948 : set missedTransaction(MetricsInfo_RateInfo v) {
8949 0 : setField(9, v);
8950 : }
8951 :
8952 0 : @$pb.TagNumber(9)
8953 0 : $core.bool hasMissedTransaction() => $_has(8);
8954 0 : @$pb.TagNumber(9)
8955 0 : void clearMissedTransaction() => clearField(9);
8956 0 : @$pb.TagNumber(9)
8957 0 : MetricsInfo_RateInfo ensureMissedTransaction() => $_ensure(8);
8958 :
8959 0 : @$pb.TagNumber(10)
8960 0 : $core.List<MetricsInfo_BlockChainInfo_Witness> get witnesses => $_getList(9);
8961 :
8962 0 : @$pb.TagNumber(11)
8963 0 : $fixnum.Int64 get failProcessBlockNum => $_getI64(10);
8964 0 : @$pb.TagNumber(11)
8965 : set failProcessBlockNum($fixnum.Int64 v) {
8966 0 : $_setInt64(10, v);
8967 : }
8968 :
8969 0 : @$pb.TagNumber(11)
8970 0 : $core.bool hasFailProcessBlockNum() => $_has(10);
8971 0 : @$pb.TagNumber(11)
8972 0 : void clearFailProcessBlockNum() => clearField(11);
8973 :
8974 0 : @$pb.TagNumber(12)
8975 0 : $core.String get failProcessBlockReason => $_getSZ(11);
8976 0 : @$pb.TagNumber(12)
8977 : set failProcessBlockReason($core.String v) {
8978 0 : $_setString(11, v);
8979 : }
8980 :
8981 0 : @$pb.TagNumber(12)
8982 0 : $core.bool hasFailProcessBlockReason() => $_has(11);
8983 0 : @$pb.TagNumber(12)
8984 0 : void clearFailProcessBlockReason() => clearField(12);
8985 :
8986 0 : @$pb.TagNumber(13)
8987 0 : $core.List<MetricsInfo_BlockChainInfo_DupWitness> get dupWitness => $_getList(12);
8988 : }
8989 :
8990 : class MetricsInfo_RateInfo extends $pb.GeneratedMessage {
8991 0 : factory MetricsInfo_RateInfo({
8992 : $fixnum.Int64? count,
8993 : $core.double? meanRate,
8994 : $core.double? oneMinuteRate,
8995 : $core.double? fiveMinuteRate,
8996 : $core.double? fifteenMinuteRate,
8997 : }) {
8998 0 : final $result = create();
8999 : if (count != null) {
9000 0 : $result.count = count;
9001 : }
9002 : if (meanRate != null) {
9003 0 : $result.meanRate = meanRate;
9004 : }
9005 : if (oneMinuteRate != null) {
9006 0 : $result.oneMinuteRate = oneMinuteRate;
9007 : }
9008 : if (fiveMinuteRate != null) {
9009 0 : $result.fiveMinuteRate = fiveMinuteRate;
9010 : }
9011 : if (fifteenMinuteRate != null) {
9012 0 : $result.fifteenMinuteRate = fifteenMinuteRate;
9013 : }
9014 : return $result;
9015 : }
9016 0 : MetricsInfo_RateInfo._() : super();
9017 0 : factory MetricsInfo_RateInfo.fromBuffer($core.List<$core.int> i,
9018 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9019 0 : create()..mergeFromBuffer(i, r);
9020 0 : factory MetricsInfo_RateInfo.fromJson($core.String i,
9021 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9022 0 : create()..mergeFromJson(i, r);
9023 :
9024 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsInfo.RateInfo',
9025 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9026 : createEmptyInstance: create)
9027 0 : ..aInt64(1, _omitFieldNames ? '' : 'count')
9028 0 : ..a<$core.double>(2, _omitFieldNames ? '' : 'meanRate', $pb.PbFieldType.OD,
9029 : protoName: 'meanRate')
9030 0 : ..a<$core.double>(3, _omitFieldNames ? '' : 'oneMinuteRate', $pb.PbFieldType.OD,
9031 : protoName: 'oneMinuteRate')
9032 0 : ..a<$core.double>(4, _omitFieldNames ? '' : 'fiveMinuteRate', $pb.PbFieldType.OD,
9033 : protoName: 'fiveMinuteRate')
9034 0 : ..a<$core.double>(5, _omitFieldNames ? '' : 'fifteenMinuteRate', $pb.PbFieldType.OD,
9035 : protoName: 'fifteenMinuteRate')
9036 0 : ..hasRequiredFields = false;
9037 :
9038 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9039 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9040 : 'Will be removed in next major version')
9041 0 : MetricsInfo_RateInfo clone() => MetricsInfo_RateInfo()..mergeFromMessage(this);
9042 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9043 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9044 : 'Will be removed in next major version')
9045 : MetricsInfo_RateInfo copyWith(void Function(MetricsInfo_RateInfo) updates) =>
9046 0 : super.copyWith((message) => updates(message as MetricsInfo_RateInfo)) as MetricsInfo_RateInfo;
9047 :
9048 0 : $pb.BuilderInfo get info_ => _i;
9049 :
9050 0 : @$core.pragma('dart2js:noInline')
9051 0 : static MetricsInfo_RateInfo create() => MetricsInfo_RateInfo._();
9052 0 : MetricsInfo_RateInfo createEmptyInstance() => create();
9053 0 : static $pb.PbList<MetricsInfo_RateInfo> createRepeated() => $pb.PbList<MetricsInfo_RateInfo>();
9054 0 : @$core.pragma('dart2js:noInline')
9055 : static MetricsInfo_RateInfo getDefault() =>
9056 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MetricsInfo_RateInfo>(create);
9057 : static MetricsInfo_RateInfo? _defaultInstance;
9058 :
9059 0 : @$pb.TagNumber(1)
9060 0 : $fixnum.Int64 get count => $_getI64(0);
9061 0 : @$pb.TagNumber(1)
9062 : set count($fixnum.Int64 v) {
9063 0 : $_setInt64(0, v);
9064 : }
9065 :
9066 0 : @$pb.TagNumber(1)
9067 0 : $core.bool hasCount() => $_has(0);
9068 0 : @$pb.TagNumber(1)
9069 0 : void clearCount() => clearField(1);
9070 :
9071 0 : @$pb.TagNumber(2)
9072 0 : $core.double get meanRate => $_getN(1);
9073 0 : @$pb.TagNumber(2)
9074 : set meanRate($core.double v) {
9075 0 : $_setDouble(1, v);
9076 : }
9077 :
9078 0 : @$pb.TagNumber(2)
9079 0 : $core.bool hasMeanRate() => $_has(1);
9080 0 : @$pb.TagNumber(2)
9081 0 : void clearMeanRate() => clearField(2);
9082 :
9083 0 : @$pb.TagNumber(3)
9084 0 : $core.double get oneMinuteRate => $_getN(2);
9085 0 : @$pb.TagNumber(3)
9086 : set oneMinuteRate($core.double v) {
9087 0 : $_setDouble(2, v);
9088 : }
9089 :
9090 0 : @$pb.TagNumber(3)
9091 0 : $core.bool hasOneMinuteRate() => $_has(2);
9092 0 : @$pb.TagNumber(3)
9093 0 : void clearOneMinuteRate() => clearField(3);
9094 :
9095 0 : @$pb.TagNumber(4)
9096 0 : $core.double get fiveMinuteRate => $_getN(3);
9097 0 : @$pb.TagNumber(4)
9098 : set fiveMinuteRate($core.double v) {
9099 0 : $_setDouble(3, v);
9100 : }
9101 :
9102 0 : @$pb.TagNumber(4)
9103 0 : $core.bool hasFiveMinuteRate() => $_has(3);
9104 0 : @$pb.TagNumber(4)
9105 0 : void clearFiveMinuteRate() => clearField(4);
9106 :
9107 0 : @$pb.TagNumber(5)
9108 0 : $core.double get fifteenMinuteRate => $_getN(4);
9109 0 : @$pb.TagNumber(5)
9110 : set fifteenMinuteRate($core.double v) {
9111 0 : $_setDouble(4, v);
9112 : }
9113 :
9114 0 : @$pb.TagNumber(5)
9115 0 : $core.bool hasFifteenMinuteRate() => $_has(4);
9116 0 : @$pb.TagNumber(5)
9117 0 : void clearFifteenMinuteRate() => clearField(5);
9118 : }
9119 :
9120 : class MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo extends $pb.GeneratedMessage {
9121 0 : factory MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo({
9122 : $core.String? name,
9123 : MetricsInfo_RateInfo? qps,
9124 : MetricsInfo_RateInfo? failQps,
9125 : MetricsInfo_RateInfo? outTraffic,
9126 : }) {
9127 0 : final $result = create();
9128 : if (name != null) {
9129 0 : $result.name = name;
9130 : }
9131 : if (qps != null) {
9132 0 : $result.qps = qps;
9133 : }
9134 : if (failQps != null) {
9135 0 : $result.failQps = failQps;
9136 : }
9137 : if (outTraffic != null) {
9138 0 : $result.outTraffic = outTraffic;
9139 : }
9140 : return $result;
9141 : }
9142 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo._() : super();
9143 0 : factory MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.fromBuffer($core.List<$core.int> i,
9144 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9145 0 : create()..mergeFromBuffer(i, r);
9146 0 : factory MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.fromJson($core.String i,
9147 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9148 0 : create()..mergeFromJson(i, r);
9149 :
9150 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9151 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo',
9152 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9153 : createEmptyInstance: create)
9154 0 : ..aOS(1, _omitFieldNames ? '' : 'name')
9155 0 : ..aOM<MetricsInfo_RateInfo>(2, _omitFieldNames ? '' : 'qps',
9156 : subBuilder: MetricsInfo_RateInfo.create)
9157 0 : ..aOM<MetricsInfo_RateInfo>(3, _omitFieldNames ? '' : 'failQps',
9158 : protoName: 'failQps', subBuilder: MetricsInfo_RateInfo.create)
9159 0 : ..aOM<MetricsInfo_RateInfo>(4, _omitFieldNames ? '' : 'outTraffic',
9160 : protoName: 'outTraffic', subBuilder: MetricsInfo_RateInfo.create)
9161 0 : ..hasRequiredFields = false;
9162 :
9163 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9164 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9165 : 'Will be removed in next major version')
9166 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo clone() =>
9167 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo()..mergeFromMessage(this);
9168 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9169 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9170 : 'Will be removed in next major version')
9171 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo copyWith(
9172 : void Function(MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) updates) =>
9173 0 : super.copyWith((message) => updates(message as MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo))
9174 : as MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo;
9175 :
9176 0 : $pb.BuilderInfo get info_ => _i;
9177 :
9178 0 : @$core.pragma('dart2js:noInline')
9179 : static MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo create() =>
9180 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo._();
9181 0 : MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo createEmptyInstance() => create();
9182 0 : static $pb.PbList<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo> createRepeated() =>
9183 0 : $pb.PbList<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>();
9184 0 : @$core.pragma('dart2js:noInline')
9185 : static MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo getDefault() => _defaultInstance ??=
9186 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>(create);
9187 : static MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo? _defaultInstance;
9188 :
9189 0 : @$pb.TagNumber(1)
9190 0 : $core.String get name => $_getSZ(0);
9191 0 : @$pb.TagNumber(1)
9192 : set name($core.String v) {
9193 0 : $_setString(0, v);
9194 : }
9195 :
9196 0 : @$pb.TagNumber(1)
9197 0 : $core.bool hasName() => $_has(0);
9198 0 : @$pb.TagNumber(1)
9199 0 : void clearName() => clearField(1);
9200 :
9201 0 : @$pb.TagNumber(2)
9202 0 : MetricsInfo_RateInfo get qps => $_getN(1);
9203 0 : @$pb.TagNumber(2)
9204 : set qps(MetricsInfo_RateInfo v) {
9205 0 : setField(2, v);
9206 : }
9207 :
9208 0 : @$pb.TagNumber(2)
9209 0 : $core.bool hasQps() => $_has(1);
9210 0 : @$pb.TagNumber(2)
9211 0 : void clearQps() => clearField(2);
9212 0 : @$pb.TagNumber(2)
9213 0 : MetricsInfo_RateInfo ensureQps() => $_ensure(1);
9214 :
9215 0 : @$pb.TagNumber(3)
9216 0 : MetricsInfo_RateInfo get failQps => $_getN(2);
9217 0 : @$pb.TagNumber(3)
9218 : set failQps(MetricsInfo_RateInfo v) {
9219 0 : setField(3, v);
9220 : }
9221 :
9222 0 : @$pb.TagNumber(3)
9223 0 : $core.bool hasFailQps() => $_has(2);
9224 0 : @$pb.TagNumber(3)
9225 0 : void clearFailQps() => clearField(3);
9226 0 : @$pb.TagNumber(3)
9227 0 : MetricsInfo_RateInfo ensureFailQps() => $_ensure(2);
9228 :
9229 0 : @$pb.TagNumber(4)
9230 0 : MetricsInfo_RateInfo get outTraffic => $_getN(3);
9231 0 : @$pb.TagNumber(4)
9232 : set outTraffic(MetricsInfo_RateInfo v) {
9233 0 : setField(4, v);
9234 : }
9235 :
9236 0 : @$pb.TagNumber(4)
9237 0 : $core.bool hasOutTraffic() => $_has(3);
9238 0 : @$pb.TagNumber(4)
9239 0 : void clearOutTraffic() => clearField(4);
9240 0 : @$pb.TagNumber(4)
9241 0 : MetricsInfo_RateInfo ensureOutTraffic() => $_ensure(3);
9242 : }
9243 :
9244 : class MetricsInfo_NetInfo_ApiInfo extends $pb.GeneratedMessage {
9245 0 : factory MetricsInfo_NetInfo_ApiInfo({
9246 : MetricsInfo_RateInfo? qps,
9247 : MetricsInfo_RateInfo? failQps,
9248 : MetricsInfo_RateInfo? outTraffic,
9249 : $core.Iterable<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>? detail,
9250 : }) {
9251 0 : final $result = create();
9252 : if (qps != null) {
9253 0 : $result.qps = qps;
9254 : }
9255 : if (failQps != null) {
9256 0 : $result.failQps = failQps;
9257 : }
9258 : if (outTraffic != null) {
9259 0 : $result.outTraffic = outTraffic;
9260 : }
9261 : if (detail != null) {
9262 0 : $result.detail.addAll(detail);
9263 : }
9264 : return $result;
9265 : }
9266 0 : MetricsInfo_NetInfo_ApiInfo._() : super();
9267 0 : factory MetricsInfo_NetInfo_ApiInfo.fromBuffer($core.List<$core.int> i,
9268 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9269 0 : create()..mergeFromBuffer(i, r);
9270 0 : factory MetricsInfo_NetInfo_ApiInfo.fromJson($core.String i,
9271 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9272 0 : create()..mergeFromJson(i, r);
9273 :
9274 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9275 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.ApiInfo',
9276 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9277 : createEmptyInstance: create)
9278 0 : ..aOM<MetricsInfo_RateInfo>(1, _omitFieldNames ? '' : 'qps',
9279 : subBuilder: MetricsInfo_RateInfo.create)
9280 0 : ..aOM<MetricsInfo_RateInfo>(2, _omitFieldNames ? '' : 'failQps',
9281 : protoName: 'failQps', subBuilder: MetricsInfo_RateInfo.create)
9282 0 : ..aOM<MetricsInfo_RateInfo>(3, _omitFieldNames ? '' : 'outTraffic',
9283 : protoName: 'outTraffic', subBuilder: MetricsInfo_RateInfo.create)
9284 0 : ..pc<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo>(
9285 : 4, _omitFieldNames ? '' : 'detail', $pb.PbFieldType.PM,
9286 : subBuilder: MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.create)
9287 0 : ..hasRequiredFields = false;
9288 :
9289 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9290 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9291 : 'Will be removed in next major version')
9292 0 : MetricsInfo_NetInfo_ApiInfo clone() => MetricsInfo_NetInfo_ApiInfo()..mergeFromMessage(this);
9293 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9294 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9295 : 'Will be removed in next major version')
9296 : MetricsInfo_NetInfo_ApiInfo copyWith(void Function(MetricsInfo_NetInfo_ApiInfo) updates) =>
9297 0 : super.copyWith((message) => updates(message as MetricsInfo_NetInfo_ApiInfo))
9298 : as MetricsInfo_NetInfo_ApiInfo;
9299 :
9300 0 : $pb.BuilderInfo get info_ => _i;
9301 :
9302 0 : @$core.pragma('dart2js:noInline')
9303 0 : static MetricsInfo_NetInfo_ApiInfo create() => MetricsInfo_NetInfo_ApiInfo._();
9304 0 : MetricsInfo_NetInfo_ApiInfo createEmptyInstance() => create();
9305 0 : static $pb.PbList<MetricsInfo_NetInfo_ApiInfo> createRepeated() =>
9306 0 : $pb.PbList<MetricsInfo_NetInfo_ApiInfo>();
9307 0 : @$core.pragma('dart2js:noInline')
9308 : static MetricsInfo_NetInfo_ApiInfo getDefault() =>
9309 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_ApiInfo>(create);
9310 : static MetricsInfo_NetInfo_ApiInfo? _defaultInstance;
9311 :
9312 0 : @$pb.TagNumber(1)
9313 0 : MetricsInfo_RateInfo get qps => $_getN(0);
9314 0 : @$pb.TagNumber(1)
9315 : set qps(MetricsInfo_RateInfo v) {
9316 0 : setField(1, v);
9317 : }
9318 :
9319 0 : @$pb.TagNumber(1)
9320 0 : $core.bool hasQps() => $_has(0);
9321 0 : @$pb.TagNumber(1)
9322 0 : void clearQps() => clearField(1);
9323 0 : @$pb.TagNumber(1)
9324 0 : MetricsInfo_RateInfo ensureQps() => $_ensure(0);
9325 :
9326 0 : @$pb.TagNumber(2)
9327 0 : MetricsInfo_RateInfo get failQps => $_getN(1);
9328 0 : @$pb.TagNumber(2)
9329 : set failQps(MetricsInfo_RateInfo v) {
9330 0 : setField(2, v);
9331 : }
9332 :
9333 0 : @$pb.TagNumber(2)
9334 0 : $core.bool hasFailQps() => $_has(1);
9335 0 : @$pb.TagNumber(2)
9336 0 : void clearFailQps() => clearField(2);
9337 0 : @$pb.TagNumber(2)
9338 0 : MetricsInfo_RateInfo ensureFailQps() => $_ensure(1);
9339 :
9340 0 : @$pb.TagNumber(3)
9341 0 : MetricsInfo_RateInfo get outTraffic => $_getN(2);
9342 0 : @$pb.TagNumber(3)
9343 : set outTraffic(MetricsInfo_RateInfo v) {
9344 0 : setField(3, v);
9345 : }
9346 :
9347 0 : @$pb.TagNumber(3)
9348 0 : $core.bool hasOutTraffic() => $_has(2);
9349 0 : @$pb.TagNumber(3)
9350 0 : void clearOutTraffic() => clearField(3);
9351 0 : @$pb.TagNumber(3)
9352 0 : MetricsInfo_RateInfo ensureOutTraffic() => $_ensure(2);
9353 :
9354 0 : @$pb.TagNumber(4)
9355 0 : $core.List<MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo> get detail => $_getList(3);
9356 : }
9357 :
9358 : class MetricsInfo_NetInfo_DisconnectionDetailInfo extends $pb.GeneratedMessage {
9359 0 : factory MetricsInfo_NetInfo_DisconnectionDetailInfo({
9360 : $core.String? reason,
9361 : $core.int? count,
9362 : }) {
9363 0 : final $result = create();
9364 : if (reason != null) {
9365 0 : $result.reason = reason;
9366 : }
9367 : if (count != null) {
9368 0 : $result.count = count;
9369 : }
9370 : return $result;
9371 : }
9372 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo._() : super();
9373 0 : factory MetricsInfo_NetInfo_DisconnectionDetailInfo.fromBuffer($core.List<$core.int> i,
9374 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9375 0 : create()..mergeFromBuffer(i, r);
9376 0 : factory MetricsInfo_NetInfo_DisconnectionDetailInfo.fromJson($core.String i,
9377 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9378 0 : create()..mergeFromJson(i, r);
9379 :
9380 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9381 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.DisconnectionDetailInfo',
9382 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9383 : createEmptyInstance: create)
9384 0 : ..aOS(1, _omitFieldNames ? '' : 'reason')
9385 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
9386 0 : ..hasRequiredFields = false;
9387 :
9388 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9389 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9390 : 'Will be removed in next major version')
9391 : MetricsInfo_NetInfo_DisconnectionDetailInfo clone() =>
9392 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo()..mergeFromMessage(this);
9393 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9394 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9395 : 'Will be removed in next major version')
9396 : MetricsInfo_NetInfo_DisconnectionDetailInfo copyWith(
9397 : void Function(MetricsInfo_NetInfo_DisconnectionDetailInfo) updates) =>
9398 0 : super.copyWith((message) => updates(message as MetricsInfo_NetInfo_DisconnectionDetailInfo))
9399 : as MetricsInfo_NetInfo_DisconnectionDetailInfo;
9400 :
9401 0 : $pb.BuilderInfo get info_ => _i;
9402 :
9403 0 : @$core.pragma('dart2js:noInline')
9404 : static MetricsInfo_NetInfo_DisconnectionDetailInfo create() =>
9405 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo._();
9406 0 : MetricsInfo_NetInfo_DisconnectionDetailInfo createEmptyInstance() => create();
9407 0 : static $pb.PbList<MetricsInfo_NetInfo_DisconnectionDetailInfo> createRepeated() =>
9408 0 : $pb.PbList<MetricsInfo_NetInfo_DisconnectionDetailInfo>();
9409 0 : @$core.pragma('dart2js:noInline')
9410 : static MetricsInfo_NetInfo_DisconnectionDetailInfo getDefault() => _defaultInstance ??=
9411 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_DisconnectionDetailInfo>(create);
9412 : static MetricsInfo_NetInfo_DisconnectionDetailInfo? _defaultInstance;
9413 :
9414 0 : @$pb.TagNumber(1)
9415 0 : $core.String get reason => $_getSZ(0);
9416 0 : @$pb.TagNumber(1)
9417 : set reason($core.String v) {
9418 0 : $_setString(0, v);
9419 : }
9420 :
9421 0 : @$pb.TagNumber(1)
9422 0 : $core.bool hasReason() => $_has(0);
9423 0 : @$pb.TagNumber(1)
9424 0 : void clearReason() => clearField(1);
9425 :
9426 0 : @$pb.TagNumber(2)
9427 0 : $core.int get count => $_getIZ(1);
9428 0 : @$pb.TagNumber(2)
9429 : set count($core.int v) {
9430 0 : $_setSignedInt32(1, v);
9431 : }
9432 :
9433 0 : @$pb.TagNumber(2)
9434 0 : $core.bool hasCount() => $_has(1);
9435 0 : @$pb.TagNumber(2)
9436 0 : void clearCount() => clearField(2);
9437 : }
9438 :
9439 : class MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo extends $pb.GeneratedMessage {
9440 0 : factory MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo({
9441 : $core.String? witness,
9442 : $core.int? top99,
9443 : $core.int? top95,
9444 : $core.int? top75,
9445 : $core.int? count,
9446 : $core.int? delay1S,
9447 : $core.int? delay2S,
9448 : $core.int? delay3S,
9449 : }) {
9450 0 : final $result = create();
9451 : if (witness != null) {
9452 0 : $result.witness = witness;
9453 : }
9454 : if (top99 != null) {
9455 0 : $result.top99 = top99;
9456 : }
9457 : if (top95 != null) {
9458 0 : $result.top95 = top95;
9459 : }
9460 : if (top75 != null) {
9461 0 : $result.top75 = top75;
9462 : }
9463 : if (count != null) {
9464 0 : $result.count = count;
9465 : }
9466 : if (delay1S != null) {
9467 0 : $result.delay1S = delay1S;
9468 : }
9469 : if (delay2S != null) {
9470 0 : $result.delay2S = delay2S;
9471 : }
9472 : if (delay3S != null) {
9473 0 : $result.delay3S = delay3S;
9474 : }
9475 : return $result;
9476 : }
9477 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo._() : super();
9478 0 : factory MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.fromBuffer($core.List<$core.int> i,
9479 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9480 0 : create()..mergeFromBuffer(i, r);
9481 0 : factory MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.fromJson($core.String i,
9482 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9483 0 : create()..mergeFromJson(i, r);
9484 :
9485 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9486 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo',
9487 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9488 : createEmptyInstance: create)
9489 0 : ..aOS(1, _omitFieldNames ? '' : 'witness')
9490 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'top99', $pb.PbFieldType.O3)
9491 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'top95', $pb.PbFieldType.O3)
9492 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'top75', $pb.PbFieldType.O3)
9493 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
9494 0 : ..a<$core.int>(6, _omitFieldNames ? '' : 'delay1S', $pb.PbFieldType.O3, protoName: 'delay1S')
9495 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'delay2S', $pb.PbFieldType.O3, protoName: 'delay2S')
9496 0 : ..a<$core.int>(8, _omitFieldNames ? '' : 'delay3S', $pb.PbFieldType.O3, protoName: 'delay3S')
9497 0 : ..hasRequiredFields = false;
9498 :
9499 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9500 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9501 : 'Will be removed in next major version')
9502 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo clone() =>
9503 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo()..mergeFromMessage(this);
9504 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9505 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9506 : 'Will be removed in next major version')
9507 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo copyWith(
9508 : void Function(MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) updates) =>
9509 0 : super.copyWith(
9510 0 : (message) => updates(message as MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo))
9511 : as MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo;
9512 :
9513 0 : $pb.BuilderInfo get info_ => _i;
9514 :
9515 0 : @$core.pragma('dart2js:noInline')
9516 : static MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo create() =>
9517 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo._();
9518 0 : MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo createEmptyInstance() => create();
9519 0 : static $pb.PbList<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo> createRepeated() =>
9520 0 : $pb.PbList<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>();
9521 0 : @$core.pragma('dart2js:noInline')
9522 : static MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo getDefault() => _defaultInstance ??=
9523 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>(create);
9524 : static MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo? _defaultInstance;
9525 :
9526 0 : @$pb.TagNumber(1)
9527 0 : $core.String get witness => $_getSZ(0);
9528 0 : @$pb.TagNumber(1)
9529 : set witness($core.String v) {
9530 0 : $_setString(0, v);
9531 : }
9532 :
9533 0 : @$pb.TagNumber(1)
9534 0 : $core.bool hasWitness() => $_has(0);
9535 0 : @$pb.TagNumber(1)
9536 0 : void clearWitness() => clearField(1);
9537 :
9538 0 : @$pb.TagNumber(2)
9539 0 : $core.int get top99 => $_getIZ(1);
9540 0 : @$pb.TagNumber(2)
9541 : set top99($core.int v) {
9542 0 : $_setSignedInt32(1, v);
9543 : }
9544 :
9545 0 : @$pb.TagNumber(2)
9546 0 : $core.bool hasTop99() => $_has(1);
9547 0 : @$pb.TagNumber(2)
9548 0 : void clearTop99() => clearField(2);
9549 :
9550 0 : @$pb.TagNumber(3)
9551 0 : $core.int get top95 => $_getIZ(2);
9552 0 : @$pb.TagNumber(3)
9553 : set top95($core.int v) {
9554 0 : $_setSignedInt32(2, v);
9555 : }
9556 :
9557 0 : @$pb.TagNumber(3)
9558 0 : $core.bool hasTop95() => $_has(2);
9559 0 : @$pb.TagNumber(3)
9560 0 : void clearTop95() => clearField(3);
9561 :
9562 0 : @$pb.TagNumber(4)
9563 0 : $core.int get top75 => $_getIZ(3);
9564 0 : @$pb.TagNumber(4)
9565 : set top75($core.int v) {
9566 0 : $_setSignedInt32(3, v);
9567 : }
9568 :
9569 0 : @$pb.TagNumber(4)
9570 0 : $core.bool hasTop75() => $_has(3);
9571 0 : @$pb.TagNumber(4)
9572 0 : void clearTop75() => clearField(4);
9573 :
9574 0 : @$pb.TagNumber(5)
9575 0 : $core.int get count => $_getIZ(4);
9576 0 : @$pb.TagNumber(5)
9577 : set count($core.int v) {
9578 0 : $_setSignedInt32(4, v);
9579 : }
9580 :
9581 0 : @$pb.TagNumber(5)
9582 0 : $core.bool hasCount() => $_has(4);
9583 0 : @$pb.TagNumber(5)
9584 0 : void clearCount() => clearField(5);
9585 :
9586 0 : @$pb.TagNumber(6)
9587 0 : $core.int get delay1S => $_getIZ(5);
9588 0 : @$pb.TagNumber(6)
9589 : set delay1S($core.int v) {
9590 0 : $_setSignedInt32(5, v);
9591 : }
9592 :
9593 0 : @$pb.TagNumber(6)
9594 0 : $core.bool hasDelay1S() => $_has(5);
9595 0 : @$pb.TagNumber(6)
9596 0 : void clearDelay1S() => clearField(6);
9597 :
9598 0 : @$pb.TagNumber(7)
9599 0 : $core.int get delay2S => $_getIZ(6);
9600 0 : @$pb.TagNumber(7)
9601 : set delay2S($core.int v) {
9602 0 : $_setSignedInt32(6, v);
9603 : }
9604 :
9605 0 : @$pb.TagNumber(7)
9606 0 : $core.bool hasDelay2S() => $_has(6);
9607 0 : @$pb.TagNumber(7)
9608 0 : void clearDelay2S() => clearField(7);
9609 :
9610 0 : @$pb.TagNumber(8)
9611 0 : $core.int get delay3S => $_getIZ(7);
9612 0 : @$pb.TagNumber(8)
9613 : set delay3S($core.int v) {
9614 0 : $_setSignedInt32(7, v);
9615 : }
9616 :
9617 0 : @$pb.TagNumber(8)
9618 0 : $core.bool hasDelay3S() => $_has(7);
9619 0 : @$pb.TagNumber(8)
9620 0 : void clearDelay3S() => clearField(8);
9621 : }
9622 :
9623 : class MetricsInfo_NetInfo_LatencyInfo extends $pb.GeneratedMessage {
9624 0 : factory MetricsInfo_NetInfo_LatencyInfo({
9625 : $core.int? top99,
9626 : $core.int? top95,
9627 : $core.int? top75,
9628 : $core.int? totalCount,
9629 : $core.int? delay1S,
9630 : $core.int? delay2S,
9631 : $core.int? delay3S,
9632 : $core.Iterable<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>? detail,
9633 : }) {
9634 0 : final $result = create();
9635 : if (top99 != null) {
9636 0 : $result.top99 = top99;
9637 : }
9638 : if (top95 != null) {
9639 0 : $result.top95 = top95;
9640 : }
9641 : if (top75 != null) {
9642 0 : $result.top75 = top75;
9643 : }
9644 : if (totalCount != null) {
9645 0 : $result.totalCount = totalCount;
9646 : }
9647 : if (delay1S != null) {
9648 0 : $result.delay1S = delay1S;
9649 : }
9650 : if (delay2S != null) {
9651 0 : $result.delay2S = delay2S;
9652 : }
9653 : if (delay3S != null) {
9654 0 : $result.delay3S = delay3S;
9655 : }
9656 : if (detail != null) {
9657 0 : $result.detail.addAll(detail);
9658 : }
9659 : return $result;
9660 : }
9661 0 : MetricsInfo_NetInfo_LatencyInfo._() : super();
9662 0 : factory MetricsInfo_NetInfo_LatencyInfo.fromBuffer($core.List<$core.int> i,
9663 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9664 0 : create()..mergeFromBuffer(i, r);
9665 0 : factory MetricsInfo_NetInfo_LatencyInfo.fromJson($core.String i,
9666 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9667 0 : create()..mergeFromJson(i, r);
9668 :
9669 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
9670 : _omitMessageNames ? '' : 'MetricsInfo.NetInfo.LatencyInfo',
9671 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9672 : createEmptyInstance: create)
9673 0 : ..a<$core.int>(1, _omitFieldNames ? '' : 'top99', $pb.PbFieldType.O3)
9674 0 : ..a<$core.int>(2, _omitFieldNames ? '' : 'top95', $pb.PbFieldType.O3)
9675 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'top75', $pb.PbFieldType.O3)
9676 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'totalCount', $pb.PbFieldType.O3,
9677 : protoName: 'totalCount')
9678 0 : ..a<$core.int>(5, _omitFieldNames ? '' : 'delay1S', $pb.PbFieldType.O3, protoName: 'delay1S')
9679 0 : ..a<$core.int>(6, _omitFieldNames ? '' : 'delay2S', $pb.PbFieldType.O3, protoName: 'delay2S')
9680 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'delay3S', $pb.PbFieldType.O3, protoName: 'delay3S')
9681 0 : ..pc<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo>(
9682 : 8, _omitFieldNames ? '' : 'detail', $pb.PbFieldType.PM,
9683 : subBuilder: MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.create)
9684 0 : ..hasRequiredFields = false;
9685 :
9686 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9687 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9688 : 'Will be removed in next major version')
9689 : MetricsInfo_NetInfo_LatencyInfo clone() =>
9690 0 : MetricsInfo_NetInfo_LatencyInfo()..mergeFromMessage(this);
9691 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9692 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9693 : 'Will be removed in next major version')
9694 : MetricsInfo_NetInfo_LatencyInfo copyWith(
9695 : void Function(MetricsInfo_NetInfo_LatencyInfo) updates) =>
9696 0 : super.copyWith((message) => updates(message as MetricsInfo_NetInfo_LatencyInfo))
9697 : as MetricsInfo_NetInfo_LatencyInfo;
9698 :
9699 0 : $pb.BuilderInfo get info_ => _i;
9700 :
9701 0 : @$core.pragma('dart2js:noInline')
9702 0 : static MetricsInfo_NetInfo_LatencyInfo create() => MetricsInfo_NetInfo_LatencyInfo._();
9703 0 : MetricsInfo_NetInfo_LatencyInfo createEmptyInstance() => create();
9704 0 : static $pb.PbList<MetricsInfo_NetInfo_LatencyInfo> createRepeated() =>
9705 0 : $pb.PbList<MetricsInfo_NetInfo_LatencyInfo>();
9706 0 : @$core.pragma('dart2js:noInline')
9707 : static MetricsInfo_NetInfo_LatencyInfo getDefault() => _defaultInstance ??=
9708 0 : $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo_LatencyInfo>(create);
9709 : static MetricsInfo_NetInfo_LatencyInfo? _defaultInstance;
9710 :
9711 0 : @$pb.TagNumber(1)
9712 0 : $core.int get top99 => $_getIZ(0);
9713 0 : @$pb.TagNumber(1)
9714 : set top99($core.int v) {
9715 0 : $_setSignedInt32(0, v);
9716 : }
9717 :
9718 0 : @$pb.TagNumber(1)
9719 0 : $core.bool hasTop99() => $_has(0);
9720 0 : @$pb.TagNumber(1)
9721 0 : void clearTop99() => clearField(1);
9722 :
9723 0 : @$pb.TagNumber(2)
9724 0 : $core.int get top95 => $_getIZ(1);
9725 0 : @$pb.TagNumber(2)
9726 : set top95($core.int v) {
9727 0 : $_setSignedInt32(1, v);
9728 : }
9729 :
9730 0 : @$pb.TagNumber(2)
9731 0 : $core.bool hasTop95() => $_has(1);
9732 0 : @$pb.TagNumber(2)
9733 0 : void clearTop95() => clearField(2);
9734 :
9735 0 : @$pb.TagNumber(3)
9736 0 : $core.int get top75 => $_getIZ(2);
9737 0 : @$pb.TagNumber(3)
9738 : set top75($core.int v) {
9739 0 : $_setSignedInt32(2, v);
9740 : }
9741 :
9742 0 : @$pb.TagNumber(3)
9743 0 : $core.bool hasTop75() => $_has(2);
9744 0 : @$pb.TagNumber(3)
9745 0 : void clearTop75() => clearField(3);
9746 :
9747 0 : @$pb.TagNumber(4)
9748 0 : $core.int get totalCount => $_getIZ(3);
9749 0 : @$pb.TagNumber(4)
9750 : set totalCount($core.int v) {
9751 0 : $_setSignedInt32(3, v);
9752 : }
9753 :
9754 0 : @$pb.TagNumber(4)
9755 0 : $core.bool hasTotalCount() => $_has(3);
9756 0 : @$pb.TagNumber(4)
9757 0 : void clearTotalCount() => clearField(4);
9758 :
9759 0 : @$pb.TagNumber(5)
9760 0 : $core.int get delay1S => $_getIZ(4);
9761 0 : @$pb.TagNumber(5)
9762 : set delay1S($core.int v) {
9763 0 : $_setSignedInt32(4, v);
9764 : }
9765 :
9766 0 : @$pb.TagNumber(5)
9767 0 : $core.bool hasDelay1S() => $_has(4);
9768 0 : @$pb.TagNumber(5)
9769 0 : void clearDelay1S() => clearField(5);
9770 :
9771 0 : @$pb.TagNumber(6)
9772 0 : $core.int get delay2S => $_getIZ(5);
9773 0 : @$pb.TagNumber(6)
9774 : set delay2S($core.int v) {
9775 0 : $_setSignedInt32(5, v);
9776 : }
9777 :
9778 0 : @$pb.TagNumber(6)
9779 0 : $core.bool hasDelay2S() => $_has(5);
9780 0 : @$pb.TagNumber(6)
9781 0 : void clearDelay2S() => clearField(6);
9782 :
9783 0 : @$pb.TagNumber(7)
9784 0 : $core.int get delay3S => $_getIZ(6);
9785 0 : @$pb.TagNumber(7)
9786 : set delay3S($core.int v) {
9787 0 : $_setSignedInt32(6, v);
9788 : }
9789 :
9790 0 : @$pb.TagNumber(7)
9791 0 : $core.bool hasDelay3S() => $_has(6);
9792 0 : @$pb.TagNumber(7)
9793 0 : void clearDelay3S() => clearField(7);
9794 :
9795 0 : @$pb.TagNumber(8)
9796 0 : $core.List<MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo> get detail => $_getList(7);
9797 : }
9798 :
9799 : class MetricsInfo_NetInfo extends $pb.GeneratedMessage {
9800 0 : factory MetricsInfo_NetInfo({
9801 : $core.int? errorProtoCount,
9802 : MetricsInfo_NetInfo_ApiInfo? api,
9803 : $core.int? connectionCount,
9804 : $core.int? validConnectionCount,
9805 : MetricsInfo_RateInfo? tcpInTraffic,
9806 : MetricsInfo_RateInfo? tcpOutTraffic,
9807 : $core.int? disconnectionCount,
9808 : $core.Iterable<MetricsInfo_NetInfo_DisconnectionDetailInfo>? disconnectionDetail,
9809 : MetricsInfo_RateInfo? udpInTraffic,
9810 : MetricsInfo_RateInfo? udpOutTraffic,
9811 : MetricsInfo_NetInfo_LatencyInfo? latency,
9812 : }) {
9813 0 : final $result = create();
9814 : if (errorProtoCount != null) {
9815 0 : $result.errorProtoCount = errorProtoCount;
9816 : }
9817 : if (api != null) {
9818 0 : $result.api = api;
9819 : }
9820 : if (connectionCount != null) {
9821 0 : $result.connectionCount = connectionCount;
9822 : }
9823 : if (validConnectionCount != null) {
9824 0 : $result.validConnectionCount = validConnectionCount;
9825 : }
9826 : if (tcpInTraffic != null) {
9827 0 : $result.tcpInTraffic = tcpInTraffic;
9828 : }
9829 : if (tcpOutTraffic != null) {
9830 0 : $result.tcpOutTraffic = tcpOutTraffic;
9831 : }
9832 : if (disconnectionCount != null) {
9833 0 : $result.disconnectionCount = disconnectionCount;
9834 : }
9835 : if (disconnectionDetail != null) {
9836 0 : $result.disconnectionDetail.addAll(disconnectionDetail);
9837 : }
9838 : if (udpInTraffic != null) {
9839 0 : $result.udpInTraffic = udpInTraffic;
9840 : }
9841 : if (udpOutTraffic != null) {
9842 0 : $result.udpOutTraffic = udpOutTraffic;
9843 : }
9844 : if (latency != null) {
9845 0 : $result.latency = latency;
9846 : }
9847 : return $result;
9848 : }
9849 0 : MetricsInfo_NetInfo._() : super();
9850 0 : factory MetricsInfo_NetInfo.fromBuffer($core.List<$core.int> i,
9851 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9852 0 : create()..mergeFromBuffer(i, r);
9853 0 : factory MetricsInfo_NetInfo.fromJson($core.String i,
9854 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
9855 0 : create()..mergeFromJson(i, r);
9856 :
9857 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsInfo.NetInfo',
9858 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
9859 : createEmptyInstance: create)
9860 0 : ..a<$core.int>(1, _omitFieldNames ? '' : 'errorProtoCount', $pb.PbFieldType.O3,
9861 : protoName: 'errorProtoCount')
9862 0 : ..aOM<MetricsInfo_NetInfo_ApiInfo>(2, _omitFieldNames ? '' : 'api',
9863 : subBuilder: MetricsInfo_NetInfo_ApiInfo.create)
9864 0 : ..a<$core.int>(3, _omitFieldNames ? '' : 'connectionCount', $pb.PbFieldType.O3,
9865 : protoName: 'connectionCount')
9866 0 : ..a<$core.int>(4, _omitFieldNames ? '' : 'validConnectionCount', $pb.PbFieldType.O3,
9867 : protoName: 'validConnectionCount')
9868 0 : ..aOM<MetricsInfo_RateInfo>(5, _omitFieldNames ? '' : 'tcpInTraffic',
9869 : protoName: 'tcpInTraffic', subBuilder: MetricsInfo_RateInfo.create)
9870 0 : ..aOM<MetricsInfo_RateInfo>(6, _omitFieldNames ? '' : 'tcpOutTraffic',
9871 : protoName: 'tcpOutTraffic', subBuilder: MetricsInfo_RateInfo.create)
9872 0 : ..a<$core.int>(7, _omitFieldNames ? '' : 'disconnectionCount', $pb.PbFieldType.O3,
9873 : protoName: 'disconnectionCount')
9874 0 : ..pc<MetricsInfo_NetInfo_DisconnectionDetailInfo>(
9875 : 8, _omitFieldNames ? '' : 'disconnectionDetail', $pb.PbFieldType.PM,
9876 : protoName: 'disconnectionDetail',
9877 : subBuilder: MetricsInfo_NetInfo_DisconnectionDetailInfo.create)
9878 0 : ..aOM<MetricsInfo_RateInfo>(9, _omitFieldNames ? '' : 'udpInTraffic',
9879 : protoName: 'udpInTraffic', subBuilder: MetricsInfo_RateInfo.create)
9880 0 : ..aOM<MetricsInfo_RateInfo>(10, _omitFieldNames ? '' : 'udpOutTraffic',
9881 : protoName: 'udpOutTraffic', subBuilder: MetricsInfo_RateInfo.create)
9882 0 : ..aOM<MetricsInfo_NetInfo_LatencyInfo>(11, _omitFieldNames ? '' : 'latency',
9883 : subBuilder: MetricsInfo_NetInfo_LatencyInfo.create)
9884 0 : ..hasRequiredFields = false;
9885 :
9886 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9887 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
9888 : 'Will be removed in next major version')
9889 0 : MetricsInfo_NetInfo clone() => MetricsInfo_NetInfo()..mergeFromMessage(this);
9890 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
9891 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
9892 : 'Will be removed in next major version')
9893 : MetricsInfo_NetInfo copyWith(void Function(MetricsInfo_NetInfo) updates) =>
9894 0 : super.copyWith((message) => updates(message as MetricsInfo_NetInfo)) as MetricsInfo_NetInfo;
9895 :
9896 0 : $pb.BuilderInfo get info_ => _i;
9897 :
9898 0 : @$core.pragma('dart2js:noInline')
9899 0 : static MetricsInfo_NetInfo create() => MetricsInfo_NetInfo._();
9900 0 : MetricsInfo_NetInfo createEmptyInstance() => create();
9901 0 : static $pb.PbList<MetricsInfo_NetInfo> createRepeated() => $pb.PbList<MetricsInfo_NetInfo>();
9902 0 : @$core.pragma('dart2js:noInline')
9903 : static MetricsInfo_NetInfo getDefault() =>
9904 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MetricsInfo_NetInfo>(create);
9905 : static MetricsInfo_NetInfo? _defaultInstance;
9906 :
9907 0 : @$pb.TagNumber(1)
9908 0 : $core.int get errorProtoCount => $_getIZ(0);
9909 0 : @$pb.TagNumber(1)
9910 : set errorProtoCount($core.int v) {
9911 0 : $_setSignedInt32(0, v);
9912 : }
9913 :
9914 0 : @$pb.TagNumber(1)
9915 0 : $core.bool hasErrorProtoCount() => $_has(0);
9916 0 : @$pb.TagNumber(1)
9917 0 : void clearErrorProtoCount() => clearField(1);
9918 :
9919 0 : @$pb.TagNumber(2)
9920 0 : MetricsInfo_NetInfo_ApiInfo get api => $_getN(1);
9921 0 : @$pb.TagNumber(2)
9922 : set api(MetricsInfo_NetInfo_ApiInfo v) {
9923 0 : setField(2, v);
9924 : }
9925 :
9926 0 : @$pb.TagNumber(2)
9927 0 : $core.bool hasApi() => $_has(1);
9928 0 : @$pb.TagNumber(2)
9929 0 : void clearApi() => clearField(2);
9930 0 : @$pb.TagNumber(2)
9931 0 : MetricsInfo_NetInfo_ApiInfo ensureApi() => $_ensure(1);
9932 :
9933 0 : @$pb.TagNumber(3)
9934 0 : $core.int get connectionCount => $_getIZ(2);
9935 0 : @$pb.TagNumber(3)
9936 : set connectionCount($core.int v) {
9937 0 : $_setSignedInt32(2, v);
9938 : }
9939 :
9940 0 : @$pb.TagNumber(3)
9941 0 : $core.bool hasConnectionCount() => $_has(2);
9942 0 : @$pb.TagNumber(3)
9943 0 : void clearConnectionCount() => clearField(3);
9944 :
9945 0 : @$pb.TagNumber(4)
9946 0 : $core.int get validConnectionCount => $_getIZ(3);
9947 0 : @$pb.TagNumber(4)
9948 : set validConnectionCount($core.int v) {
9949 0 : $_setSignedInt32(3, v);
9950 : }
9951 :
9952 0 : @$pb.TagNumber(4)
9953 0 : $core.bool hasValidConnectionCount() => $_has(3);
9954 0 : @$pb.TagNumber(4)
9955 0 : void clearValidConnectionCount() => clearField(4);
9956 :
9957 0 : @$pb.TagNumber(5)
9958 0 : MetricsInfo_RateInfo get tcpInTraffic => $_getN(4);
9959 0 : @$pb.TagNumber(5)
9960 : set tcpInTraffic(MetricsInfo_RateInfo v) {
9961 0 : setField(5, v);
9962 : }
9963 :
9964 0 : @$pb.TagNumber(5)
9965 0 : $core.bool hasTcpInTraffic() => $_has(4);
9966 0 : @$pb.TagNumber(5)
9967 0 : void clearTcpInTraffic() => clearField(5);
9968 0 : @$pb.TagNumber(5)
9969 0 : MetricsInfo_RateInfo ensureTcpInTraffic() => $_ensure(4);
9970 :
9971 0 : @$pb.TagNumber(6)
9972 0 : MetricsInfo_RateInfo get tcpOutTraffic => $_getN(5);
9973 0 : @$pb.TagNumber(6)
9974 : set tcpOutTraffic(MetricsInfo_RateInfo v) {
9975 0 : setField(6, v);
9976 : }
9977 :
9978 0 : @$pb.TagNumber(6)
9979 0 : $core.bool hasTcpOutTraffic() => $_has(5);
9980 0 : @$pb.TagNumber(6)
9981 0 : void clearTcpOutTraffic() => clearField(6);
9982 0 : @$pb.TagNumber(6)
9983 0 : MetricsInfo_RateInfo ensureTcpOutTraffic() => $_ensure(5);
9984 :
9985 0 : @$pb.TagNumber(7)
9986 0 : $core.int get disconnectionCount => $_getIZ(6);
9987 0 : @$pb.TagNumber(7)
9988 : set disconnectionCount($core.int v) {
9989 0 : $_setSignedInt32(6, v);
9990 : }
9991 :
9992 0 : @$pb.TagNumber(7)
9993 0 : $core.bool hasDisconnectionCount() => $_has(6);
9994 0 : @$pb.TagNumber(7)
9995 0 : void clearDisconnectionCount() => clearField(7);
9996 :
9997 0 : @$pb.TagNumber(8)
9998 0 : $core.List<MetricsInfo_NetInfo_DisconnectionDetailInfo> get disconnectionDetail => $_getList(7);
9999 :
10000 0 : @$pb.TagNumber(9)
10001 0 : MetricsInfo_RateInfo get udpInTraffic => $_getN(8);
10002 0 : @$pb.TagNumber(9)
10003 : set udpInTraffic(MetricsInfo_RateInfo v) {
10004 0 : setField(9, v);
10005 : }
10006 :
10007 0 : @$pb.TagNumber(9)
10008 0 : $core.bool hasUdpInTraffic() => $_has(8);
10009 0 : @$pb.TagNumber(9)
10010 0 : void clearUdpInTraffic() => clearField(9);
10011 0 : @$pb.TagNumber(9)
10012 0 : MetricsInfo_RateInfo ensureUdpInTraffic() => $_ensure(8);
10013 :
10014 0 : @$pb.TagNumber(10)
10015 0 : MetricsInfo_RateInfo get udpOutTraffic => $_getN(9);
10016 0 : @$pb.TagNumber(10)
10017 : set udpOutTraffic(MetricsInfo_RateInfo v) {
10018 0 : setField(10, v);
10019 : }
10020 :
10021 0 : @$pb.TagNumber(10)
10022 0 : $core.bool hasUdpOutTraffic() => $_has(9);
10023 0 : @$pb.TagNumber(10)
10024 0 : void clearUdpOutTraffic() => clearField(10);
10025 0 : @$pb.TagNumber(10)
10026 0 : MetricsInfo_RateInfo ensureUdpOutTraffic() => $_ensure(9);
10027 :
10028 0 : @$pb.TagNumber(11)
10029 0 : MetricsInfo_NetInfo_LatencyInfo get latency => $_getN(10);
10030 0 : @$pb.TagNumber(11)
10031 : set latency(MetricsInfo_NetInfo_LatencyInfo v) {
10032 0 : setField(11, v);
10033 : }
10034 :
10035 0 : @$pb.TagNumber(11)
10036 0 : $core.bool hasLatency() => $_has(10);
10037 0 : @$pb.TagNumber(11)
10038 0 : void clearLatency() => clearField(11);
10039 0 : @$pb.TagNumber(11)
10040 0 : MetricsInfo_NetInfo_LatencyInfo ensureLatency() => $_ensure(10);
10041 : }
10042 :
10043 : class MetricsInfo extends $pb.GeneratedMessage {
10044 0 : factory MetricsInfo({
10045 : $fixnum.Int64? interval,
10046 : MetricsInfo_NodeInfo? node,
10047 : MetricsInfo_BlockChainInfo? blockchain,
10048 : MetricsInfo_NetInfo? net,
10049 : }) {
10050 0 : final $result = create();
10051 : if (interval != null) {
10052 0 : $result.interval = interval;
10053 : }
10054 : if (node != null) {
10055 0 : $result.node = node;
10056 : }
10057 : if (blockchain != null) {
10058 0 : $result.blockchain = blockchain;
10059 : }
10060 : if (net != null) {
10061 0 : $result.net = net;
10062 : }
10063 : return $result;
10064 : }
10065 0 : MetricsInfo._() : super();
10066 0 : factory MetricsInfo.fromBuffer($core.List<$core.int> i,
10067 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10068 0 : create()..mergeFromBuffer(i, r);
10069 0 : factory MetricsInfo.fromJson($core.String i,
10070 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10071 0 : create()..mergeFromJson(i, r);
10072 :
10073 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetricsInfo',
10074 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10075 : createEmptyInstance: create)
10076 0 : ..aInt64(1, _omitFieldNames ? '' : 'interval')
10077 0 : ..aOM<MetricsInfo_NodeInfo>(2, _omitFieldNames ? '' : 'node',
10078 : subBuilder: MetricsInfo_NodeInfo.create)
10079 0 : ..aOM<MetricsInfo_BlockChainInfo>(3, _omitFieldNames ? '' : 'blockchain',
10080 : subBuilder: MetricsInfo_BlockChainInfo.create)
10081 0 : ..aOM<MetricsInfo_NetInfo>(4, _omitFieldNames ? '' : 'net',
10082 : subBuilder: MetricsInfo_NetInfo.create)
10083 0 : ..hasRequiredFields = false;
10084 :
10085 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10086 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10087 : 'Will be removed in next major version')
10088 0 : MetricsInfo clone() => MetricsInfo()..mergeFromMessage(this);
10089 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10090 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10091 : 'Will be removed in next major version')
10092 : MetricsInfo copyWith(void Function(MetricsInfo) updates) =>
10093 0 : super.copyWith((message) => updates(message as MetricsInfo)) as MetricsInfo;
10094 :
10095 0 : $pb.BuilderInfo get info_ => _i;
10096 :
10097 0 : @$core.pragma('dart2js:noInline')
10098 0 : static MetricsInfo create() => MetricsInfo._();
10099 0 : MetricsInfo createEmptyInstance() => create();
10100 0 : static $pb.PbList<MetricsInfo> createRepeated() => $pb.PbList<MetricsInfo>();
10101 0 : @$core.pragma('dart2js:noInline')
10102 : static MetricsInfo getDefault() =>
10103 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MetricsInfo>(create);
10104 : static MetricsInfo? _defaultInstance;
10105 :
10106 0 : @$pb.TagNumber(1)
10107 0 : $fixnum.Int64 get interval => $_getI64(0);
10108 0 : @$pb.TagNumber(1)
10109 : set interval($fixnum.Int64 v) {
10110 0 : $_setInt64(0, v);
10111 : }
10112 :
10113 0 : @$pb.TagNumber(1)
10114 0 : $core.bool hasInterval() => $_has(0);
10115 0 : @$pb.TagNumber(1)
10116 0 : void clearInterval() => clearField(1);
10117 :
10118 0 : @$pb.TagNumber(2)
10119 0 : MetricsInfo_NodeInfo get node => $_getN(1);
10120 0 : @$pb.TagNumber(2)
10121 : set node(MetricsInfo_NodeInfo v) {
10122 0 : setField(2, v);
10123 : }
10124 :
10125 0 : @$pb.TagNumber(2)
10126 0 : $core.bool hasNode() => $_has(1);
10127 0 : @$pb.TagNumber(2)
10128 0 : void clearNode() => clearField(2);
10129 0 : @$pb.TagNumber(2)
10130 0 : MetricsInfo_NodeInfo ensureNode() => $_ensure(1);
10131 :
10132 0 : @$pb.TagNumber(3)
10133 0 : MetricsInfo_BlockChainInfo get blockchain => $_getN(2);
10134 0 : @$pb.TagNumber(3)
10135 : set blockchain(MetricsInfo_BlockChainInfo v) {
10136 0 : setField(3, v);
10137 : }
10138 :
10139 0 : @$pb.TagNumber(3)
10140 0 : $core.bool hasBlockchain() => $_has(2);
10141 0 : @$pb.TagNumber(3)
10142 0 : void clearBlockchain() => clearField(3);
10143 0 : @$pb.TagNumber(3)
10144 0 : MetricsInfo_BlockChainInfo ensureBlockchain() => $_ensure(2);
10145 :
10146 0 : @$pb.TagNumber(4)
10147 0 : MetricsInfo_NetInfo get net => $_getN(3);
10148 0 : @$pb.TagNumber(4)
10149 : set net(MetricsInfo_NetInfo v) {
10150 0 : setField(4, v);
10151 : }
10152 :
10153 0 : @$pb.TagNumber(4)
10154 0 : $core.bool hasNet() => $_has(3);
10155 0 : @$pb.TagNumber(4)
10156 0 : void clearNet() => clearField(4);
10157 0 : @$pb.TagNumber(4)
10158 0 : MetricsInfo_NetInfo ensureNet() => $_ensure(3);
10159 : }
10160 :
10161 : class PBFTMessage_Raw extends $pb.GeneratedMessage {
10162 0 : factory PBFTMessage_Raw({
10163 : PBFTMessage_MsgType? msgType,
10164 : PBFTMessage_DataType? dataType,
10165 : $fixnum.Int64? viewN,
10166 : $fixnum.Int64? epoch,
10167 : $core.List<$core.int>? data,
10168 : }) {
10169 0 : final $result = create();
10170 : if (msgType != null) {
10171 0 : $result.msgType = msgType;
10172 : }
10173 : if (dataType != null) {
10174 0 : $result.dataType = dataType;
10175 : }
10176 : if (viewN != null) {
10177 0 : $result.viewN = viewN;
10178 : }
10179 : if (epoch != null) {
10180 0 : $result.epoch = epoch;
10181 : }
10182 : if (data != null) {
10183 0 : $result.data = data;
10184 : }
10185 : return $result;
10186 : }
10187 0 : PBFTMessage_Raw._() : super();
10188 0 : factory PBFTMessage_Raw.fromBuffer($core.List<$core.int> i,
10189 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10190 0 : create()..mergeFromBuffer(i, r);
10191 0 : factory PBFTMessage_Raw.fromJson($core.String i,
10192 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10193 0 : create()..mergeFromJson(i, r);
10194 :
10195 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PBFTMessage.Raw',
10196 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10197 : createEmptyInstance: create)
10198 0 : ..e<PBFTMessage_MsgType>(1, _omitFieldNames ? '' : 'msgType', $pb.PbFieldType.OE,
10199 : defaultOrMaker: PBFTMessage_MsgType.VIEW_CHANGE,
10200 : valueOf: PBFTMessage_MsgType.valueOf,
10201 : enumValues: PBFTMessage_MsgType.values)
10202 0 : ..e<PBFTMessage_DataType>(2, _omitFieldNames ? '' : 'dataType', $pb.PbFieldType.OE,
10203 : defaultOrMaker: PBFTMessage_DataType.BLOCK,
10204 : valueOf: PBFTMessage_DataType.valueOf,
10205 : enumValues: PBFTMessage_DataType.values)
10206 0 : ..aInt64(3, _omitFieldNames ? '' : 'viewN')
10207 0 : ..aInt64(4, _omitFieldNames ? '' : 'epoch')
10208 0 : ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
10209 0 : ..hasRequiredFields = false;
10210 :
10211 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10212 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10213 : 'Will be removed in next major version')
10214 0 : PBFTMessage_Raw clone() => PBFTMessage_Raw()..mergeFromMessage(this);
10215 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10216 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10217 : 'Will be removed in next major version')
10218 : PBFTMessage_Raw copyWith(void Function(PBFTMessage_Raw) updates) =>
10219 0 : super.copyWith((message) => updates(message as PBFTMessage_Raw)) as PBFTMessage_Raw;
10220 :
10221 0 : $pb.BuilderInfo get info_ => _i;
10222 :
10223 0 : @$core.pragma('dart2js:noInline')
10224 0 : static PBFTMessage_Raw create() => PBFTMessage_Raw._();
10225 0 : PBFTMessage_Raw createEmptyInstance() => create();
10226 0 : static $pb.PbList<PBFTMessage_Raw> createRepeated() => $pb.PbList<PBFTMessage_Raw>();
10227 0 : @$core.pragma('dart2js:noInline')
10228 : static PBFTMessage_Raw getDefault() =>
10229 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PBFTMessage_Raw>(create);
10230 : static PBFTMessage_Raw? _defaultInstance;
10231 :
10232 0 : @$pb.TagNumber(1)
10233 0 : PBFTMessage_MsgType get msgType => $_getN(0);
10234 0 : @$pb.TagNumber(1)
10235 : set msgType(PBFTMessage_MsgType v) {
10236 0 : setField(1, v);
10237 : }
10238 :
10239 0 : @$pb.TagNumber(1)
10240 0 : $core.bool hasMsgType() => $_has(0);
10241 0 : @$pb.TagNumber(1)
10242 0 : void clearMsgType() => clearField(1);
10243 :
10244 0 : @$pb.TagNumber(2)
10245 0 : PBFTMessage_DataType get dataType => $_getN(1);
10246 0 : @$pb.TagNumber(2)
10247 : set dataType(PBFTMessage_DataType v) {
10248 0 : setField(2, v);
10249 : }
10250 :
10251 0 : @$pb.TagNumber(2)
10252 0 : $core.bool hasDataType() => $_has(1);
10253 0 : @$pb.TagNumber(2)
10254 0 : void clearDataType() => clearField(2);
10255 :
10256 0 : @$pb.TagNumber(3)
10257 0 : $fixnum.Int64 get viewN => $_getI64(2);
10258 0 : @$pb.TagNumber(3)
10259 : set viewN($fixnum.Int64 v) {
10260 0 : $_setInt64(2, v);
10261 : }
10262 :
10263 0 : @$pb.TagNumber(3)
10264 0 : $core.bool hasViewN() => $_has(2);
10265 0 : @$pb.TagNumber(3)
10266 0 : void clearViewN() => clearField(3);
10267 :
10268 0 : @$pb.TagNumber(4)
10269 0 : $fixnum.Int64 get epoch => $_getI64(3);
10270 0 : @$pb.TagNumber(4)
10271 : set epoch($fixnum.Int64 v) {
10272 0 : $_setInt64(3, v);
10273 : }
10274 :
10275 0 : @$pb.TagNumber(4)
10276 0 : $core.bool hasEpoch() => $_has(3);
10277 0 : @$pb.TagNumber(4)
10278 0 : void clearEpoch() => clearField(4);
10279 :
10280 0 : @$pb.TagNumber(5)
10281 0 : $core.List<$core.int> get data => $_getN(4);
10282 0 : @$pb.TagNumber(5)
10283 : set data($core.List<$core.int> v) {
10284 0 : $_setBytes(4, v);
10285 : }
10286 :
10287 0 : @$pb.TagNumber(5)
10288 0 : $core.bool hasData() => $_has(4);
10289 0 : @$pb.TagNumber(5)
10290 0 : void clearData() => clearField(5);
10291 : }
10292 :
10293 : class PBFTMessage extends $pb.GeneratedMessage {
10294 0 : factory PBFTMessage({
10295 : PBFTMessage_Raw? rawData,
10296 : $core.List<$core.int>? signature,
10297 : }) {
10298 0 : final $result = create();
10299 : if (rawData != null) {
10300 0 : $result.rawData = rawData;
10301 : }
10302 : if (signature != null) {
10303 0 : $result.signature = signature;
10304 : }
10305 : return $result;
10306 : }
10307 0 : PBFTMessage._() : super();
10308 0 : factory PBFTMessage.fromBuffer($core.List<$core.int> i,
10309 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10310 0 : create()..mergeFromBuffer(i, r);
10311 0 : factory PBFTMessage.fromJson($core.String i,
10312 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10313 0 : create()..mergeFromJson(i, r);
10314 :
10315 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PBFTMessage',
10316 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10317 : createEmptyInstance: create)
10318 0 : ..aOM<PBFTMessage_Raw>(1, _omitFieldNames ? '' : 'rawData', subBuilder: PBFTMessage_Raw.create)
10319 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
10320 0 : ..hasRequiredFields = false;
10321 :
10322 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10323 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10324 : 'Will be removed in next major version')
10325 0 : PBFTMessage clone() => PBFTMessage()..mergeFromMessage(this);
10326 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10327 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10328 : 'Will be removed in next major version')
10329 : PBFTMessage copyWith(void Function(PBFTMessage) updates) =>
10330 0 : super.copyWith((message) => updates(message as PBFTMessage)) as PBFTMessage;
10331 :
10332 0 : $pb.BuilderInfo get info_ => _i;
10333 :
10334 0 : @$core.pragma('dart2js:noInline')
10335 0 : static PBFTMessage create() => PBFTMessage._();
10336 0 : PBFTMessage createEmptyInstance() => create();
10337 0 : static $pb.PbList<PBFTMessage> createRepeated() => $pb.PbList<PBFTMessage>();
10338 0 : @$core.pragma('dart2js:noInline')
10339 : static PBFTMessage getDefault() =>
10340 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PBFTMessage>(create);
10341 : static PBFTMessage? _defaultInstance;
10342 :
10343 0 : @$pb.TagNumber(1)
10344 0 : PBFTMessage_Raw get rawData => $_getN(0);
10345 0 : @$pb.TagNumber(1)
10346 : set rawData(PBFTMessage_Raw v) {
10347 0 : setField(1, v);
10348 : }
10349 :
10350 0 : @$pb.TagNumber(1)
10351 0 : $core.bool hasRawData() => $_has(0);
10352 0 : @$pb.TagNumber(1)
10353 0 : void clearRawData() => clearField(1);
10354 0 : @$pb.TagNumber(1)
10355 0 : PBFTMessage_Raw ensureRawData() => $_ensure(0);
10356 :
10357 0 : @$pb.TagNumber(2)
10358 0 : $core.List<$core.int> get signature => $_getN(1);
10359 0 : @$pb.TagNumber(2)
10360 : set signature($core.List<$core.int> v) {
10361 0 : $_setBytes(1, v);
10362 : }
10363 :
10364 0 : @$pb.TagNumber(2)
10365 0 : $core.bool hasSignature() => $_has(1);
10366 0 : @$pb.TagNumber(2)
10367 0 : void clearSignature() => clearField(2);
10368 : }
10369 :
10370 : class PBFTCommitResult extends $pb.GeneratedMessage {
10371 0 : factory PBFTCommitResult({
10372 : $core.List<$core.int>? data,
10373 : $core.Iterable<$core.List<$core.int>>? signature,
10374 : }) {
10375 0 : final $result = create();
10376 : if (data != null) {
10377 0 : $result.data = data;
10378 : }
10379 : if (signature != null) {
10380 0 : $result.signature.addAll(signature);
10381 : }
10382 : return $result;
10383 : }
10384 0 : PBFTCommitResult._() : super();
10385 0 : factory PBFTCommitResult.fromBuffer($core.List<$core.int> i,
10386 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10387 0 : create()..mergeFromBuffer(i, r);
10388 0 : factory PBFTCommitResult.fromJson($core.String i,
10389 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10390 0 : create()..mergeFromJson(i, r);
10391 :
10392 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PBFTCommitResult',
10393 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10394 : createEmptyInstance: create)
10395 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
10396 0 : ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.PY)
10397 0 : ..hasRequiredFields = false;
10398 :
10399 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10400 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10401 : 'Will be removed in next major version')
10402 0 : PBFTCommitResult clone() => PBFTCommitResult()..mergeFromMessage(this);
10403 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10404 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10405 : 'Will be removed in next major version')
10406 : PBFTCommitResult copyWith(void Function(PBFTCommitResult) updates) =>
10407 0 : super.copyWith((message) => updates(message as PBFTCommitResult)) as PBFTCommitResult;
10408 :
10409 0 : $pb.BuilderInfo get info_ => _i;
10410 :
10411 0 : @$core.pragma('dart2js:noInline')
10412 0 : static PBFTCommitResult create() => PBFTCommitResult._();
10413 0 : PBFTCommitResult createEmptyInstance() => create();
10414 0 : static $pb.PbList<PBFTCommitResult> createRepeated() => $pb.PbList<PBFTCommitResult>();
10415 0 : @$core.pragma('dart2js:noInline')
10416 : static PBFTCommitResult getDefault() =>
10417 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PBFTCommitResult>(create);
10418 : static PBFTCommitResult? _defaultInstance;
10419 :
10420 0 : @$pb.TagNumber(1)
10421 0 : $core.List<$core.int> get data => $_getN(0);
10422 0 : @$pb.TagNumber(1)
10423 : set data($core.List<$core.int> v) {
10424 0 : $_setBytes(0, v);
10425 : }
10426 :
10427 0 : @$pb.TagNumber(1)
10428 0 : $core.bool hasData() => $_has(0);
10429 0 : @$pb.TagNumber(1)
10430 0 : void clearData() => clearField(1);
10431 :
10432 0 : @$pb.TagNumber(2)
10433 0 : $core.List<$core.List<$core.int>> get signature => $_getList(1);
10434 : }
10435 :
10436 : class SRL extends $pb.GeneratedMessage {
10437 0 : factory SRL({
10438 : $core.Iterable<$core.List<$core.int>>? srAddress,
10439 : }) {
10440 0 : final $result = create();
10441 : if (srAddress != null) {
10442 0 : $result.srAddress.addAll(srAddress);
10443 : }
10444 : return $result;
10445 : }
10446 0 : SRL._() : super();
10447 0 : factory SRL.fromBuffer($core.List<$core.int> i,
10448 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10449 0 : create()..mergeFromBuffer(i, r);
10450 0 : factory SRL.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
10451 0 : create()..mergeFromJson(i, r);
10452 :
10453 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SRL',
10454 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
10455 : createEmptyInstance: create)
10456 0 : ..p<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'srAddress', $pb.PbFieldType.PY,
10457 : protoName: 'srAddress')
10458 0 : ..hasRequiredFields = false;
10459 :
10460 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10461 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
10462 : 'Will be removed in next major version')
10463 0 : SRL clone() => SRL()..mergeFromMessage(this);
10464 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
10465 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
10466 : 'Will be removed in next major version')
10467 : SRL copyWith(void Function(SRL) updates) =>
10468 0 : super.copyWith((message) => updates(message as SRL)) as SRL;
10469 :
10470 0 : $pb.BuilderInfo get info_ => _i;
10471 :
10472 0 : @$core.pragma('dart2js:noInline')
10473 0 : static SRL create() => SRL._();
10474 0 : SRL createEmptyInstance() => create();
10475 0 : static $pb.PbList<SRL> createRepeated() => $pb.PbList<SRL>();
10476 0 : @$core.pragma('dart2js:noInline')
10477 0 : static SRL getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SRL>(create);
10478 : static SRL? _defaultInstance;
10479 :
10480 0 : @$pb.TagNumber(1)
10481 0 : $core.List<$core.List<$core.int>> get srAddress => $_getList(0);
10482 : }
10483 :
10484 : const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
10485 : const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|