primitives.pb.go raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.11
4 // protoc v3.21.12
5 // source: primitives.proto
6
7 package clngrpc
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 unsafe "unsafe"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type ChannelSide int32
25
26 const (
27 ChannelSide_LOCAL ChannelSide = 0
28 ChannelSide_REMOTE ChannelSide = 1
29 )
30
31 // Enum value maps for ChannelSide.
32 var (
33 ChannelSide_name = map[int32]string{
34 0: "LOCAL",
35 1: "REMOTE",
36 }
37 ChannelSide_value = map[string]int32{
38 "LOCAL": 0,
39 "REMOTE": 1,
40 }
41 )
42
43 func (x ChannelSide) Enum() *ChannelSide {
44 p := new(ChannelSide)
45 *p = x
46 return p
47 }
48
49 func (x ChannelSide) String() string {
50 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 }
52
53 func (ChannelSide) Descriptor() protoreflect.EnumDescriptor {
54 return file_primitives_proto_enumTypes[0].Descriptor()
55 }
56
57 func (ChannelSide) Type() protoreflect.EnumType {
58 return &file_primitives_proto_enumTypes[0]
59 }
60
61 func (x ChannelSide) Number() protoreflect.EnumNumber {
62 return protoreflect.EnumNumber(x)
63 }
64
65 // Deprecated: Use ChannelSide.Descriptor instead.
66 func (ChannelSide) EnumDescriptor() ([]byte, []int) {
67 return file_primitives_proto_rawDescGZIP(), []int{0}
68 }
69
70 type ChannelState int32
71
72 const (
73 ChannelState_Openingd ChannelState = 0
74 ChannelState_ChanneldAwaitingLockin ChannelState = 1
75 ChannelState_ChanneldNormal ChannelState = 2
76 ChannelState_ChanneldShuttingDown ChannelState = 3
77 ChannelState_ClosingdSigexchange ChannelState = 4
78 ChannelState_ClosingdComplete ChannelState = 5
79 ChannelState_AwaitingUnilateral ChannelState = 6
80 ChannelState_FundingSpendSeen ChannelState = 7
81 ChannelState_Onchain ChannelState = 8
82 ChannelState_DualopendOpenInit ChannelState = 9
83 ChannelState_DualopendAwaitingLockin ChannelState = 10
84 ChannelState_ChanneldAwaitingSplice ChannelState = 11
85 ChannelState_DualopendOpenCommitted ChannelState = 12
86 ChannelState_DualopendOpenCommittReady ChannelState = 13
87 ChannelState_Closed ChannelState = 14
88 )
89
90 // Enum value maps for ChannelState.
91 var (
92 ChannelState_name = map[int32]string{
93 0: "Openingd",
94 1: "ChanneldAwaitingLockin",
95 2: "ChanneldNormal",
96 3: "ChanneldShuttingDown",
97 4: "ClosingdSigexchange",
98 5: "ClosingdComplete",
99 6: "AwaitingUnilateral",
100 7: "FundingSpendSeen",
101 8: "Onchain",
102 9: "DualopendOpenInit",
103 10: "DualopendAwaitingLockin",
104 11: "ChanneldAwaitingSplice",
105 12: "DualopendOpenCommitted",
106 13: "DualopendOpenCommittReady",
107 14: "Closed",
108 }
109 ChannelState_value = map[string]int32{
110 "Openingd": 0,
111 "ChanneldAwaitingLockin": 1,
112 "ChanneldNormal": 2,
113 "ChanneldShuttingDown": 3,
114 "ClosingdSigexchange": 4,
115 "ClosingdComplete": 5,
116 "AwaitingUnilateral": 6,
117 "FundingSpendSeen": 7,
118 "Onchain": 8,
119 "DualopendOpenInit": 9,
120 "DualopendAwaitingLockin": 10,
121 "ChanneldAwaitingSplice": 11,
122 "DualopendOpenCommitted": 12,
123 "DualopendOpenCommittReady": 13,
124 "Closed": 14,
125 }
126 )
127
128 func (x ChannelState) Enum() *ChannelState {
129 p := new(ChannelState)
130 *p = x
131 return p
132 }
133
134 func (x ChannelState) String() string {
135 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
136 }
137
138 func (ChannelState) Descriptor() protoreflect.EnumDescriptor {
139 return file_primitives_proto_enumTypes[1].Descriptor()
140 }
141
142 func (ChannelState) Type() protoreflect.EnumType {
143 return &file_primitives_proto_enumTypes[1]
144 }
145
146 func (x ChannelState) Number() protoreflect.EnumNumber {
147 return protoreflect.EnumNumber(x)
148 }
149
150 // Deprecated: Use ChannelState.Descriptor instead.
151 func (ChannelState) EnumDescriptor() ([]byte, []int) {
152 return file_primitives_proto_rawDescGZIP(), []int{1}
153 }
154
155 type HtlcState int32
156
157 const (
158 HtlcState_SentAddHtlc HtlcState = 0
159 HtlcState_SentAddCommit HtlcState = 1
160 HtlcState_RcvdAddRevocation HtlcState = 2
161 HtlcState_RcvdAddAckCommit HtlcState = 3
162 HtlcState_SentAddAckRevocation HtlcState = 4
163 HtlcState_RcvdAddAckRevocation HtlcState = 5
164 HtlcState_RcvdRemoveHtlc HtlcState = 6
165 HtlcState_RcvdRemoveCommit HtlcState = 7
166 HtlcState_SentRemoveRevocation HtlcState = 8
167 HtlcState_SentRemoveAckCommit HtlcState = 9
168 HtlcState_RcvdRemoveAckRevocation HtlcState = 10
169 HtlcState_RcvdAddHtlc HtlcState = 11
170 HtlcState_RcvdAddCommit HtlcState = 12
171 HtlcState_SentAddRevocation HtlcState = 13
172 HtlcState_SentAddAckCommit HtlcState = 14
173 HtlcState_SentRemoveHtlc HtlcState = 15
174 HtlcState_SentRemoveCommit HtlcState = 16
175 HtlcState_RcvdRemoveRevocation HtlcState = 17
176 HtlcState_RcvdRemoveAckCommit HtlcState = 18
177 HtlcState_SentRemoveAckRevocation HtlcState = 19
178 )
179
180 // Enum value maps for HtlcState.
181 var (
182 HtlcState_name = map[int32]string{
183 0: "SentAddHtlc",
184 1: "SentAddCommit",
185 2: "RcvdAddRevocation",
186 3: "RcvdAddAckCommit",
187 4: "SentAddAckRevocation",
188 5: "RcvdAddAckRevocation",
189 6: "RcvdRemoveHtlc",
190 7: "RcvdRemoveCommit",
191 8: "SentRemoveRevocation",
192 9: "SentRemoveAckCommit",
193 10: "RcvdRemoveAckRevocation",
194 11: "RcvdAddHtlc",
195 12: "RcvdAddCommit",
196 13: "SentAddRevocation",
197 14: "SentAddAckCommit",
198 15: "SentRemoveHtlc",
199 16: "SentRemoveCommit",
200 17: "RcvdRemoveRevocation",
201 18: "RcvdRemoveAckCommit",
202 19: "SentRemoveAckRevocation",
203 }
204 HtlcState_value = map[string]int32{
205 "SentAddHtlc": 0,
206 "SentAddCommit": 1,
207 "RcvdAddRevocation": 2,
208 "RcvdAddAckCommit": 3,
209 "SentAddAckRevocation": 4,
210 "RcvdAddAckRevocation": 5,
211 "RcvdRemoveHtlc": 6,
212 "RcvdRemoveCommit": 7,
213 "SentRemoveRevocation": 8,
214 "SentRemoveAckCommit": 9,
215 "RcvdRemoveAckRevocation": 10,
216 "RcvdAddHtlc": 11,
217 "RcvdAddCommit": 12,
218 "SentAddRevocation": 13,
219 "SentAddAckCommit": 14,
220 "SentRemoveHtlc": 15,
221 "SentRemoveCommit": 16,
222 "RcvdRemoveRevocation": 17,
223 "RcvdRemoveAckCommit": 18,
224 "SentRemoveAckRevocation": 19,
225 }
226 )
227
228 func (x HtlcState) Enum() *HtlcState {
229 p := new(HtlcState)
230 *p = x
231 return p
232 }
233
234 func (x HtlcState) String() string {
235 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
236 }
237
238 func (HtlcState) Descriptor() protoreflect.EnumDescriptor {
239 return file_primitives_proto_enumTypes[2].Descriptor()
240 }
241
242 func (HtlcState) Type() protoreflect.EnumType {
243 return &file_primitives_proto_enumTypes[2]
244 }
245
246 func (x HtlcState) Number() protoreflect.EnumNumber {
247 return protoreflect.EnumNumber(x)
248 }
249
250 // Deprecated: Use HtlcState.Descriptor instead.
251 func (HtlcState) EnumDescriptor() ([]byte, []int) {
252 return file_primitives_proto_rawDescGZIP(), []int{2}
253 }
254
255 type ChannelTypeName int32
256
257 const (
258 ChannelTypeName_static_remotekey_even ChannelTypeName = 0
259 ChannelTypeName_anchor_outputs_even ChannelTypeName = 1
260 ChannelTypeName_anchors_zero_fee_htlc_tx_even ChannelTypeName = 2
261 ChannelTypeName_scid_alias_even ChannelTypeName = 3
262 ChannelTypeName_zeroconf_even ChannelTypeName = 4
263 ChannelTypeName_anchors_even ChannelTypeName = 5
264 )
265
266 // Enum value maps for ChannelTypeName.
267 var (
268 ChannelTypeName_name = map[int32]string{
269 0: "static_remotekey_even",
270 1: "anchor_outputs_even",
271 2: "anchors_zero_fee_htlc_tx_even",
272 3: "scid_alias_even",
273 4: "zeroconf_even",
274 5: "anchors_even",
275 }
276 ChannelTypeName_value = map[string]int32{
277 "static_remotekey_even": 0,
278 "anchor_outputs_even": 1,
279 "anchors_zero_fee_htlc_tx_even": 2,
280 "scid_alias_even": 3,
281 "zeroconf_even": 4,
282 "anchors_even": 5,
283 }
284 )
285
286 func (x ChannelTypeName) Enum() *ChannelTypeName {
287 p := new(ChannelTypeName)
288 *p = x
289 return p
290 }
291
292 func (x ChannelTypeName) String() string {
293 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
294 }
295
296 func (ChannelTypeName) Descriptor() protoreflect.EnumDescriptor {
297 return file_primitives_proto_enumTypes[3].Descriptor()
298 }
299
300 func (ChannelTypeName) Type() protoreflect.EnumType {
301 return &file_primitives_proto_enumTypes[3]
302 }
303
304 func (x ChannelTypeName) Number() protoreflect.EnumNumber {
305 return protoreflect.EnumNumber(x)
306 }
307
308 // Deprecated: Use ChannelTypeName.Descriptor instead.
309 func (ChannelTypeName) EnumDescriptor() ([]byte, []int) {
310 return file_primitives_proto_rawDescGZIP(), []int{3}
311 }
312
313 type AutocleanSubsystem int32
314
315 const (
316 AutocleanSubsystem_SUCCEEDEDFORWARDS AutocleanSubsystem = 0
317 AutocleanSubsystem_FAILEDFORWARDS AutocleanSubsystem = 1
318 AutocleanSubsystem_SUCCEEDEDPAYS AutocleanSubsystem = 2
319 AutocleanSubsystem_FAILEDPAYS AutocleanSubsystem = 3
320 AutocleanSubsystem_PAIDINVOICES AutocleanSubsystem = 4
321 AutocleanSubsystem_EXPIREDINVOICES AutocleanSubsystem = 5
322 )
323
324 // Enum value maps for AutocleanSubsystem.
325 var (
326 AutocleanSubsystem_name = map[int32]string{
327 0: "SUCCEEDEDFORWARDS",
328 1: "FAILEDFORWARDS",
329 2: "SUCCEEDEDPAYS",
330 3: "FAILEDPAYS",
331 4: "PAIDINVOICES",
332 5: "EXPIREDINVOICES",
333 }
334 AutocleanSubsystem_value = map[string]int32{
335 "SUCCEEDEDFORWARDS": 0,
336 "FAILEDFORWARDS": 1,
337 "SUCCEEDEDPAYS": 2,
338 "FAILEDPAYS": 3,
339 "PAIDINVOICES": 4,
340 "EXPIREDINVOICES": 5,
341 }
342 )
343
344 func (x AutocleanSubsystem) Enum() *AutocleanSubsystem {
345 p := new(AutocleanSubsystem)
346 *p = x
347 return p
348 }
349
350 func (x AutocleanSubsystem) String() string {
351 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
352 }
353
354 func (AutocleanSubsystem) Descriptor() protoreflect.EnumDescriptor {
355 return file_primitives_proto_enumTypes[4].Descriptor()
356 }
357
358 func (AutocleanSubsystem) Type() protoreflect.EnumType {
359 return &file_primitives_proto_enumTypes[4]
360 }
361
362 func (x AutocleanSubsystem) Number() protoreflect.EnumNumber {
363 return protoreflect.EnumNumber(x)
364 }
365
366 // Deprecated: Use AutocleanSubsystem.Descriptor instead.
367 func (AutocleanSubsystem) EnumDescriptor() ([]byte, []int) {
368 return file_primitives_proto_rawDescGZIP(), []int{4}
369 }
370
371 type PluginSubcommand int32
372
373 const (
374 PluginSubcommand_START PluginSubcommand = 0
375 PluginSubcommand_STOP PluginSubcommand = 1
376 PluginSubcommand_RESCAN PluginSubcommand = 2
377 PluginSubcommand_STARTDIR PluginSubcommand = 3
378 PluginSubcommand_LIST PluginSubcommand = 4
379 )
380
381 // Enum value maps for PluginSubcommand.
382 var (
383 PluginSubcommand_name = map[int32]string{
384 0: "START",
385 1: "STOP",
386 2: "RESCAN",
387 3: "STARTDIR",
388 4: "LIST",
389 }
390 PluginSubcommand_value = map[string]int32{
391 "START": 0,
392 "STOP": 1,
393 "RESCAN": 2,
394 "STARTDIR": 3,
395 "LIST": 4,
396 }
397 )
398
399 func (x PluginSubcommand) Enum() *PluginSubcommand {
400 p := new(PluginSubcommand)
401 *p = x
402 return p
403 }
404
405 func (x PluginSubcommand) String() string {
406 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
407 }
408
409 func (PluginSubcommand) Descriptor() protoreflect.EnumDescriptor {
410 return file_primitives_proto_enumTypes[5].Descriptor()
411 }
412
413 func (PluginSubcommand) Type() protoreflect.EnumType {
414 return &file_primitives_proto_enumTypes[5]
415 }
416
417 func (x PluginSubcommand) Number() protoreflect.EnumNumber {
418 return protoreflect.EnumNumber(x)
419 }
420
421 // Deprecated: Use PluginSubcommand.Descriptor instead.
422 func (PluginSubcommand) EnumDescriptor() ([]byte, []int) {
423 return file_primitives_proto_rawDescGZIP(), []int{5}
424 }
425
426 type Amount struct {
427 state protoimpl.MessageState `protogen:"open.v1"`
428 Msat uint64 `protobuf:"varint,1,opt,name=msat,proto3" json:"msat,omitempty"`
429 unknownFields protoimpl.UnknownFields
430 sizeCache protoimpl.SizeCache
431 }
432
433 func (x *Amount) Reset() {
434 *x = Amount{}
435 mi := &file_primitives_proto_msgTypes[0]
436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
437 ms.StoreMessageInfo(mi)
438 }
439
440 func (x *Amount) String() string {
441 return protoimpl.X.MessageStringOf(x)
442 }
443
444 func (*Amount) ProtoMessage() {}
445
446 func (x *Amount) ProtoReflect() protoreflect.Message {
447 mi := &file_primitives_proto_msgTypes[0]
448 if x != nil {
449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
450 if ms.LoadMessageInfo() == nil {
451 ms.StoreMessageInfo(mi)
452 }
453 return ms
454 }
455 return mi.MessageOf(x)
456 }
457
458 // Deprecated: Use Amount.ProtoReflect.Descriptor instead.
459 func (*Amount) Descriptor() ([]byte, []int) {
460 return file_primitives_proto_rawDescGZIP(), []int{0}
461 }
462
463 func (x *Amount) GetMsat() uint64 {
464 if x != nil {
465 return x.Msat
466 }
467 return 0
468 }
469
470 type AmountOrAll struct {
471 state protoimpl.MessageState `protogen:"open.v1"`
472 // Types that are valid to be assigned to Value:
473 //
474 // *AmountOrAll_Amount
475 // *AmountOrAll_All
476 Value isAmountOrAll_Value `protobuf_oneof:"value"`
477 unknownFields protoimpl.UnknownFields
478 sizeCache protoimpl.SizeCache
479 }
480
481 func (x *AmountOrAll) Reset() {
482 *x = AmountOrAll{}
483 mi := &file_primitives_proto_msgTypes[1]
484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
485 ms.StoreMessageInfo(mi)
486 }
487
488 func (x *AmountOrAll) String() string {
489 return protoimpl.X.MessageStringOf(x)
490 }
491
492 func (*AmountOrAll) ProtoMessage() {}
493
494 func (x *AmountOrAll) ProtoReflect() protoreflect.Message {
495 mi := &file_primitives_proto_msgTypes[1]
496 if x != nil {
497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
498 if ms.LoadMessageInfo() == nil {
499 ms.StoreMessageInfo(mi)
500 }
501 return ms
502 }
503 return mi.MessageOf(x)
504 }
505
506 // Deprecated: Use AmountOrAll.ProtoReflect.Descriptor instead.
507 func (*AmountOrAll) Descriptor() ([]byte, []int) {
508 return file_primitives_proto_rawDescGZIP(), []int{1}
509 }
510
511 func (x *AmountOrAll) GetValue() isAmountOrAll_Value {
512 if x != nil {
513 return x.Value
514 }
515 return nil
516 }
517
518 func (x *AmountOrAll) GetAmount() *Amount {
519 if x != nil {
520 if x, ok := x.Value.(*AmountOrAll_Amount); ok {
521 return x.Amount
522 }
523 }
524 return nil
525 }
526
527 func (x *AmountOrAll) GetAll() bool {
528 if x != nil {
529 if x, ok := x.Value.(*AmountOrAll_All); ok {
530 return x.All
531 }
532 }
533 return false
534 }
535
536 type isAmountOrAll_Value interface {
537 isAmountOrAll_Value()
538 }
539
540 type AmountOrAll_Amount struct {
541 Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3,oneof"`
542 }
543
544 type AmountOrAll_All struct {
545 All bool `protobuf:"varint,2,opt,name=all,proto3,oneof"`
546 }
547
548 func (*AmountOrAll_Amount) isAmountOrAll_Value() {}
549
550 func (*AmountOrAll_All) isAmountOrAll_Value() {}
551
552 type AmountOrAny struct {
553 state protoimpl.MessageState `protogen:"open.v1"`
554 // Types that are valid to be assigned to Value:
555 //
556 // *AmountOrAny_Amount
557 // *AmountOrAny_Any
558 Value isAmountOrAny_Value `protobuf_oneof:"value"`
559 unknownFields protoimpl.UnknownFields
560 sizeCache protoimpl.SizeCache
561 }
562
563 func (x *AmountOrAny) Reset() {
564 *x = AmountOrAny{}
565 mi := &file_primitives_proto_msgTypes[2]
566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567 ms.StoreMessageInfo(mi)
568 }
569
570 func (x *AmountOrAny) String() string {
571 return protoimpl.X.MessageStringOf(x)
572 }
573
574 func (*AmountOrAny) ProtoMessage() {}
575
576 func (x *AmountOrAny) ProtoReflect() protoreflect.Message {
577 mi := &file_primitives_proto_msgTypes[2]
578 if x != nil {
579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
580 if ms.LoadMessageInfo() == nil {
581 ms.StoreMessageInfo(mi)
582 }
583 return ms
584 }
585 return mi.MessageOf(x)
586 }
587
588 // Deprecated: Use AmountOrAny.ProtoReflect.Descriptor instead.
589 func (*AmountOrAny) Descriptor() ([]byte, []int) {
590 return file_primitives_proto_rawDescGZIP(), []int{2}
591 }
592
593 func (x *AmountOrAny) GetValue() isAmountOrAny_Value {
594 if x != nil {
595 return x.Value
596 }
597 return nil
598 }
599
600 func (x *AmountOrAny) GetAmount() *Amount {
601 if x != nil {
602 if x, ok := x.Value.(*AmountOrAny_Amount); ok {
603 return x.Amount
604 }
605 }
606 return nil
607 }
608
609 func (x *AmountOrAny) GetAny() bool {
610 if x != nil {
611 if x, ok := x.Value.(*AmountOrAny_Any); ok {
612 return x.Any
613 }
614 }
615 return false
616 }
617
618 type isAmountOrAny_Value interface {
619 isAmountOrAny_Value()
620 }
621
622 type AmountOrAny_Amount struct {
623 Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3,oneof"`
624 }
625
626 type AmountOrAny_Any struct {
627 Any bool `protobuf:"varint,2,opt,name=any,proto3,oneof"`
628 }
629
630 func (*AmountOrAny_Amount) isAmountOrAny_Value() {}
631
632 func (*AmountOrAny_Any) isAmountOrAny_Value() {}
633
634 type Outpoint struct {
635 state protoimpl.MessageState `protogen:"open.v1"`
636 Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
637 Outnum uint32 `protobuf:"varint,2,opt,name=outnum,proto3" json:"outnum,omitempty"`
638 unknownFields protoimpl.UnknownFields
639 sizeCache protoimpl.SizeCache
640 }
641
642 func (x *Outpoint) Reset() {
643 *x = Outpoint{}
644 mi := &file_primitives_proto_msgTypes[3]
645 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
646 ms.StoreMessageInfo(mi)
647 }
648
649 func (x *Outpoint) String() string {
650 return protoimpl.X.MessageStringOf(x)
651 }
652
653 func (*Outpoint) ProtoMessage() {}
654
655 func (x *Outpoint) ProtoReflect() protoreflect.Message {
656 mi := &file_primitives_proto_msgTypes[3]
657 if x != nil {
658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
659 if ms.LoadMessageInfo() == nil {
660 ms.StoreMessageInfo(mi)
661 }
662 return ms
663 }
664 return mi.MessageOf(x)
665 }
666
667 // Deprecated: Use Outpoint.ProtoReflect.Descriptor instead.
668 func (*Outpoint) Descriptor() ([]byte, []int) {
669 return file_primitives_proto_rawDescGZIP(), []int{3}
670 }
671
672 func (x *Outpoint) GetTxid() []byte {
673 if x != nil {
674 return x.Txid
675 }
676 return nil
677 }
678
679 func (x *Outpoint) GetOutnum() uint32 {
680 if x != nil {
681 return x.Outnum
682 }
683 return 0
684 }
685
686 type Feerate struct {
687 state protoimpl.MessageState `protogen:"open.v1"`
688 // Types that are valid to be assigned to Style:
689 //
690 // *Feerate_Slow
691 // *Feerate_Normal
692 // *Feerate_Urgent
693 // *Feerate_Perkb
694 // *Feerate_Perkw
695 Style isFeerate_Style `protobuf_oneof:"style"`
696 unknownFields protoimpl.UnknownFields
697 sizeCache protoimpl.SizeCache
698 }
699
700 func (x *Feerate) Reset() {
701 *x = Feerate{}
702 mi := &file_primitives_proto_msgTypes[4]
703 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
704 ms.StoreMessageInfo(mi)
705 }
706
707 func (x *Feerate) String() string {
708 return protoimpl.X.MessageStringOf(x)
709 }
710
711 func (*Feerate) ProtoMessage() {}
712
713 func (x *Feerate) ProtoReflect() protoreflect.Message {
714 mi := &file_primitives_proto_msgTypes[4]
715 if x != nil {
716 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
717 if ms.LoadMessageInfo() == nil {
718 ms.StoreMessageInfo(mi)
719 }
720 return ms
721 }
722 return mi.MessageOf(x)
723 }
724
725 // Deprecated: Use Feerate.ProtoReflect.Descriptor instead.
726 func (*Feerate) Descriptor() ([]byte, []int) {
727 return file_primitives_proto_rawDescGZIP(), []int{4}
728 }
729
730 func (x *Feerate) GetStyle() isFeerate_Style {
731 if x != nil {
732 return x.Style
733 }
734 return nil
735 }
736
737 func (x *Feerate) GetSlow() bool {
738 if x != nil {
739 if x, ok := x.Style.(*Feerate_Slow); ok {
740 return x.Slow
741 }
742 }
743 return false
744 }
745
746 func (x *Feerate) GetNormal() bool {
747 if x != nil {
748 if x, ok := x.Style.(*Feerate_Normal); ok {
749 return x.Normal
750 }
751 }
752 return false
753 }
754
755 func (x *Feerate) GetUrgent() bool {
756 if x != nil {
757 if x, ok := x.Style.(*Feerate_Urgent); ok {
758 return x.Urgent
759 }
760 }
761 return false
762 }
763
764 func (x *Feerate) GetPerkb() uint32 {
765 if x != nil {
766 if x, ok := x.Style.(*Feerate_Perkb); ok {
767 return x.Perkb
768 }
769 }
770 return 0
771 }
772
773 func (x *Feerate) GetPerkw() uint32 {
774 if x != nil {
775 if x, ok := x.Style.(*Feerate_Perkw); ok {
776 return x.Perkw
777 }
778 }
779 return 0
780 }
781
782 type isFeerate_Style interface {
783 isFeerate_Style()
784 }
785
786 type Feerate_Slow struct {
787 Slow bool `protobuf:"varint,1,opt,name=slow,proto3,oneof"`
788 }
789
790 type Feerate_Normal struct {
791 Normal bool `protobuf:"varint,2,opt,name=normal,proto3,oneof"`
792 }
793
794 type Feerate_Urgent struct {
795 Urgent bool `protobuf:"varint,3,opt,name=urgent,proto3,oneof"`
796 }
797
798 type Feerate_Perkb struct {
799 Perkb uint32 `protobuf:"varint,4,opt,name=perkb,proto3,oneof"`
800 }
801
802 type Feerate_Perkw struct {
803 Perkw uint32 `protobuf:"varint,5,opt,name=perkw,proto3,oneof"`
804 }
805
806 func (*Feerate_Slow) isFeerate_Style() {}
807
808 func (*Feerate_Normal) isFeerate_Style() {}
809
810 func (*Feerate_Urgent) isFeerate_Style() {}
811
812 func (*Feerate_Perkb) isFeerate_Style() {}
813
814 func (*Feerate_Perkw) isFeerate_Style() {}
815
816 type OutputDesc struct {
817 state protoimpl.MessageState `protogen:"open.v1"`
818 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
819 Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
820 unknownFields protoimpl.UnknownFields
821 sizeCache protoimpl.SizeCache
822 }
823
824 func (x *OutputDesc) Reset() {
825 *x = OutputDesc{}
826 mi := &file_primitives_proto_msgTypes[5]
827 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
828 ms.StoreMessageInfo(mi)
829 }
830
831 func (x *OutputDesc) String() string {
832 return protoimpl.X.MessageStringOf(x)
833 }
834
835 func (*OutputDesc) ProtoMessage() {}
836
837 func (x *OutputDesc) ProtoReflect() protoreflect.Message {
838 mi := &file_primitives_proto_msgTypes[5]
839 if x != nil {
840 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
841 if ms.LoadMessageInfo() == nil {
842 ms.StoreMessageInfo(mi)
843 }
844 return ms
845 }
846 return mi.MessageOf(x)
847 }
848
849 // Deprecated: Use OutputDesc.ProtoReflect.Descriptor instead.
850 func (*OutputDesc) Descriptor() ([]byte, []int) {
851 return file_primitives_proto_rawDescGZIP(), []int{5}
852 }
853
854 func (x *OutputDesc) GetAddress() string {
855 if x != nil {
856 return x.Address
857 }
858 return ""
859 }
860
861 func (x *OutputDesc) GetAmount() *Amount {
862 if x != nil {
863 return x.Amount
864 }
865 return nil
866 }
867
868 type RouteHop struct {
869 state protoimpl.MessageState `protogen:"open.v1"`
870 Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
871 Scid string `protobuf:"bytes,2,opt,name=scid,proto3" json:"scid,omitempty"`
872 Feebase *Amount `protobuf:"bytes,3,opt,name=feebase,proto3" json:"feebase,omitempty"`
873 Feeprop uint32 `protobuf:"varint,4,opt,name=feeprop,proto3" json:"feeprop,omitempty"`
874 Expirydelta uint32 `protobuf:"varint,5,opt,name=expirydelta,proto3" json:"expirydelta,omitempty"`
875 unknownFields protoimpl.UnknownFields
876 sizeCache protoimpl.SizeCache
877 }
878
879 func (x *RouteHop) Reset() {
880 *x = RouteHop{}
881 mi := &file_primitives_proto_msgTypes[6]
882 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
883 ms.StoreMessageInfo(mi)
884 }
885
886 func (x *RouteHop) String() string {
887 return protoimpl.X.MessageStringOf(x)
888 }
889
890 func (*RouteHop) ProtoMessage() {}
891
892 func (x *RouteHop) ProtoReflect() protoreflect.Message {
893 mi := &file_primitives_proto_msgTypes[6]
894 if x != nil {
895 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
896 if ms.LoadMessageInfo() == nil {
897 ms.StoreMessageInfo(mi)
898 }
899 return ms
900 }
901 return mi.MessageOf(x)
902 }
903
904 // Deprecated: Use RouteHop.ProtoReflect.Descriptor instead.
905 func (*RouteHop) Descriptor() ([]byte, []int) {
906 return file_primitives_proto_rawDescGZIP(), []int{6}
907 }
908
909 func (x *RouteHop) GetId() []byte {
910 if x != nil {
911 return x.Id
912 }
913 return nil
914 }
915
916 func (x *RouteHop) GetScid() string {
917 if x != nil {
918 return x.Scid
919 }
920 return ""
921 }
922
923 func (x *RouteHop) GetFeebase() *Amount {
924 if x != nil {
925 return x.Feebase
926 }
927 return nil
928 }
929
930 func (x *RouteHop) GetFeeprop() uint32 {
931 if x != nil {
932 return x.Feeprop
933 }
934 return 0
935 }
936
937 func (x *RouteHop) GetExpirydelta() uint32 {
938 if x != nil {
939 return x.Expirydelta
940 }
941 return 0
942 }
943
944 type Routehint struct {
945 state protoimpl.MessageState `protogen:"open.v1"`
946 Hops []*RouteHop `protobuf:"bytes,1,rep,name=hops,proto3" json:"hops,omitempty"`
947 unknownFields protoimpl.UnknownFields
948 sizeCache protoimpl.SizeCache
949 }
950
951 func (x *Routehint) Reset() {
952 *x = Routehint{}
953 mi := &file_primitives_proto_msgTypes[7]
954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
955 ms.StoreMessageInfo(mi)
956 }
957
958 func (x *Routehint) String() string {
959 return protoimpl.X.MessageStringOf(x)
960 }
961
962 func (*Routehint) ProtoMessage() {}
963
964 func (x *Routehint) ProtoReflect() protoreflect.Message {
965 mi := &file_primitives_proto_msgTypes[7]
966 if x != nil {
967 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
968 if ms.LoadMessageInfo() == nil {
969 ms.StoreMessageInfo(mi)
970 }
971 return ms
972 }
973 return mi.MessageOf(x)
974 }
975
976 // Deprecated: Use Routehint.ProtoReflect.Descriptor instead.
977 func (*Routehint) Descriptor() ([]byte, []int) {
978 return file_primitives_proto_rawDescGZIP(), []int{7}
979 }
980
981 func (x *Routehint) GetHops() []*RouteHop {
982 if x != nil {
983 return x.Hops
984 }
985 return nil
986 }
987
988 type RoutehintList struct {
989 state protoimpl.MessageState `protogen:"open.v1"`
990 Hints []*Routehint `protobuf:"bytes,2,rep,name=hints,proto3" json:"hints,omitempty"`
991 unknownFields protoimpl.UnknownFields
992 sizeCache protoimpl.SizeCache
993 }
994
995 func (x *RoutehintList) Reset() {
996 *x = RoutehintList{}
997 mi := &file_primitives_proto_msgTypes[8]
998 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
999 ms.StoreMessageInfo(mi)
1000 }
1001
1002 func (x *RoutehintList) String() string {
1003 return protoimpl.X.MessageStringOf(x)
1004 }
1005
1006 func (*RoutehintList) ProtoMessage() {}
1007
1008 func (x *RoutehintList) ProtoReflect() protoreflect.Message {
1009 mi := &file_primitives_proto_msgTypes[8]
1010 if x != nil {
1011 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1012 if ms.LoadMessageInfo() == nil {
1013 ms.StoreMessageInfo(mi)
1014 }
1015 return ms
1016 }
1017 return mi.MessageOf(x)
1018 }
1019
1020 // Deprecated: Use RoutehintList.ProtoReflect.Descriptor instead.
1021 func (*RoutehintList) Descriptor() ([]byte, []int) {
1022 return file_primitives_proto_rawDescGZIP(), []int{8}
1023 }
1024
1025 func (x *RoutehintList) GetHints() []*Routehint {
1026 if x != nil {
1027 return x.Hints
1028 }
1029 return nil
1030 }
1031
1032 type DecodeRouteHop struct {
1033 state protoimpl.MessageState `protogen:"open.v1"`
1034 Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
1035 ShortChannelId string `protobuf:"bytes,2,opt,name=short_channel_id,json=shortChannelId,proto3" json:"short_channel_id,omitempty"`
1036 FeeBaseMsat *Amount `protobuf:"bytes,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"`
1037 FeeProportionalMillionths uint32 `protobuf:"varint,4,opt,name=fee_proportional_millionths,json=feeProportionalMillionths,proto3" json:"fee_proportional_millionths,omitempty"`
1038 CltvExpiryDelta uint32 `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,proto3" json:"cltv_expiry_delta,omitempty"`
1039 unknownFields protoimpl.UnknownFields
1040 sizeCache protoimpl.SizeCache
1041 }
1042
1043 func (x *DecodeRouteHop) Reset() {
1044 *x = DecodeRouteHop{}
1045 mi := &file_primitives_proto_msgTypes[9]
1046 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1047 ms.StoreMessageInfo(mi)
1048 }
1049
1050 func (x *DecodeRouteHop) String() string {
1051 return protoimpl.X.MessageStringOf(x)
1052 }
1053
1054 func (*DecodeRouteHop) ProtoMessage() {}
1055
1056 func (x *DecodeRouteHop) ProtoReflect() protoreflect.Message {
1057 mi := &file_primitives_proto_msgTypes[9]
1058 if x != nil {
1059 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1060 if ms.LoadMessageInfo() == nil {
1061 ms.StoreMessageInfo(mi)
1062 }
1063 return ms
1064 }
1065 return mi.MessageOf(x)
1066 }
1067
1068 // Deprecated: Use DecodeRouteHop.ProtoReflect.Descriptor instead.
1069 func (*DecodeRouteHop) Descriptor() ([]byte, []int) {
1070 return file_primitives_proto_rawDescGZIP(), []int{9}
1071 }
1072
1073 func (x *DecodeRouteHop) GetPubkey() []byte {
1074 if x != nil {
1075 return x.Pubkey
1076 }
1077 return nil
1078 }
1079
1080 func (x *DecodeRouteHop) GetShortChannelId() string {
1081 if x != nil {
1082 return x.ShortChannelId
1083 }
1084 return ""
1085 }
1086
1087 func (x *DecodeRouteHop) GetFeeBaseMsat() *Amount {
1088 if x != nil {
1089 return x.FeeBaseMsat
1090 }
1091 return nil
1092 }
1093
1094 func (x *DecodeRouteHop) GetFeeProportionalMillionths() uint32 {
1095 if x != nil {
1096 return x.FeeProportionalMillionths
1097 }
1098 return 0
1099 }
1100
1101 func (x *DecodeRouteHop) GetCltvExpiryDelta() uint32 {
1102 if x != nil {
1103 return x.CltvExpiryDelta
1104 }
1105 return 0
1106 }
1107
1108 type DecodeRoutehint struct {
1109 state protoimpl.MessageState `protogen:"open.v1"`
1110 Hops []*DecodeRouteHop `protobuf:"bytes,1,rep,name=hops,proto3" json:"hops,omitempty"`
1111 unknownFields protoimpl.UnknownFields
1112 sizeCache protoimpl.SizeCache
1113 }
1114
1115 func (x *DecodeRoutehint) Reset() {
1116 *x = DecodeRoutehint{}
1117 mi := &file_primitives_proto_msgTypes[10]
1118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1119 ms.StoreMessageInfo(mi)
1120 }
1121
1122 func (x *DecodeRoutehint) String() string {
1123 return protoimpl.X.MessageStringOf(x)
1124 }
1125
1126 func (*DecodeRoutehint) ProtoMessage() {}
1127
1128 func (x *DecodeRoutehint) ProtoReflect() protoreflect.Message {
1129 mi := &file_primitives_proto_msgTypes[10]
1130 if x != nil {
1131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1132 if ms.LoadMessageInfo() == nil {
1133 ms.StoreMessageInfo(mi)
1134 }
1135 return ms
1136 }
1137 return mi.MessageOf(x)
1138 }
1139
1140 // Deprecated: Use DecodeRoutehint.ProtoReflect.Descriptor instead.
1141 func (*DecodeRoutehint) Descriptor() ([]byte, []int) {
1142 return file_primitives_proto_rawDescGZIP(), []int{10}
1143 }
1144
1145 func (x *DecodeRoutehint) GetHops() []*DecodeRouteHop {
1146 if x != nil {
1147 return x.Hops
1148 }
1149 return nil
1150 }
1151
1152 type DecodeRoutehintList struct {
1153 state protoimpl.MessageState `protogen:"open.v1"`
1154 Hints []*DecodeRoutehint `protobuf:"bytes,2,rep,name=hints,proto3" json:"hints,omitempty"`
1155 unknownFields protoimpl.UnknownFields
1156 sizeCache protoimpl.SizeCache
1157 }
1158
1159 func (x *DecodeRoutehintList) Reset() {
1160 *x = DecodeRoutehintList{}
1161 mi := &file_primitives_proto_msgTypes[11]
1162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1163 ms.StoreMessageInfo(mi)
1164 }
1165
1166 func (x *DecodeRoutehintList) String() string {
1167 return protoimpl.X.MessageStringOf(x)
1168 }
1169
1170 func (*DecodeRoutehintList) ProtoMessage() {}
1171
1172 func (x *DecodeRoutehintList) ProtoReflect() protoreflect.Message {
1173 mi := &file_primitives_proto_msgTypes[11]
1174 if x != nil {
1175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1176 if ms.LoadMessageInfo() == nil {
1177 ms.StoreMessageInfo(mi)
1178 }
1179 return ms
1180 }
1181 return mi.MessageOf(x)
1182 }
1183
1184 // Deprecated: Use DecodeRoutehintList.ProtoReflect.Descriptor instead.
1185 func (*DecodeRoutehintList) Descriptor() ([]byte, []int) {
1186 return file_primitives_proto_rawDescGZIP(), []int{11}
1187 }
1188
1189 func (x *DecodeRoutehintList) GetHints() []*DecodeRoutehint {
1190 if x != nil {
1191 return x.Hints
1192 }
1193 return nil
1194 }
1195
1196 type TlvEntry struct {
1197 state protoimpl.MessageState `protogen:"open.v1"`
1198 Type uint64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
1199 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1200 unknownFields protoimpl.UnknownFields
1201 sizeCache protoimpl.SizeCache
1202 }
1203
1204 func (x *TlvEntry) Reset() {
1205 *x = TlvEntry{}
1206 mi := &file_primitives_proto_msgTypes[12]
1207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1208 ms.StoreMessageInfo(mi)
1209 }
1210
1211 func (x *TlvEntry) String() string {
1212 return protoimpl.X.MessageStringOf(x)
1213 }
1214
1215 func (*TlvEntry) ProtoMessage() {}
1216
1217 func (x *TlvEntry) ProtoReflect() protoreflect.Message {
1218 mi := &file_primitives_proto_msgTypes[12]
1219 if x != nil {
1220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1221 if ms.LoadMessageInfo() == nil {
1222 ms.StoreMessageInfo(mi)
1223 }
1224 return ms
1225 }
1226 return mi.MessageOf(x)
1227 }
1228
1229 // Deprecated: Use TlvEntry.ProtoReflect.Descriptor instead.
1230 func (*TlvEntry) Descriptor() ([]byte, []int) {
1231 return file_primitives_proto_rawDescGZIP(), []int{12}
1232 }
1233
1234 func (x *TlvEntry) GetType() uint64 {
1235 if x != nil {
1236 return x.Type
1237 }
1238 return 0
1239 }
1240
1241 func (x *TlvEntry) GetValue() []byte {
1242 if x != nil {
1243 return x.Value
1244 }
1245 return nil
1246 }
1247
1248 type TlvStream struct {
1249 state protoimpl.MessageState `protogen:"open.v1"`
1250 Entries []*TlvEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
1251 unknownFields protoimpl.UnknownFields
1252 sizeCache protoimpl.SizeCache
1253 }
1254
1255 func (x *TlvStream) Reset() {
1256 *x = TlvStream{}
1257 mi := &file_primitives_proto_msgTypes[13]
1258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1259 ms.StoreMessageInfo(mi)
1260 }
1261
1262 func (x *TlvStream) String() string {
1263 return protoimpl.X.MessageStringOf(x)
1264 }
1265
1266 func (*TlvStream) ProtoMessage() {}
1267
1268 func (x *TlvStream) ProtoReflect() protoreflect.Message {
1269 mi := &file_primitives_proto_msgTypes[13]
1270 if x != nil {
1271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1272 if ms.LoadMessageInfo() == nil {
1273 ms.StoreMessageInfo(mi)
1274 }
1275 return ms
1276 }
1277 return mi.MessageOf(x)
1278 }
1279
1280 // Deprecated: Use TlvStream.ProtoReflect.Descriptor instead.
1281 func (*TlvStream) Descriptor() ([]byte, []int) {
1282 return file_primitives_proto_rawDescGZIP(), []int{13}
1283 }
1284
1285 func (x *TlvStream) GetEntries() []*TlvEntry {
1286 if x != nil {
1287 return x.Entries
1288 }
1289 return nil
1290 }
1291
1292 type JsonObjectOrArray struct {
1293 state protoimpl.MessageState `protogen:"open.v1"`
1294 // Types that are valid to be assigned to Structure:
1295 //
1296 // *JsonObjectOrArray_Object
1297 // *JsonObjectOrArray_Array
1298 Structure isJsonObjectOrArray_Structure `protobuf_oneof:"structure"`
1299 unknownFields protoimpl.UnknownFields
1300 sizeCache protoimpl.SizeCache
1301 }
1302
1303 func (x *JsonObjectOrArray) Reset() {
1304 *x = JsonObjectOrArray{}
1305 mi := &file_primitives_proto_msgTypes[14]
1306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1307 ms.StoreMessageInfo(mi)
1308 }
1309
1310 func (x *JsonObjectOrArray) String() string {
1311 return protoimpl.X.MessageStringOf(x)
1312 }
1313
1314 func (*JsonObjectOrArray) ProtoMessage() {}
1315
1316 func (x *JsonObjectOrArray) ProtoReflect() protoreflect.Message {
1317 mi := &file_primitives_proto_msgTypes[14]
1318 if x != nil {
1319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1320 if ms.LoadMessageInfo() == nil {
1321 ms.StoreMessageInfo(mi)
1322 }
1323 return ms
1324 }
1325 return mi.MessageOf(x)
1326 }
1327
1328 // Deprecated: Use JsonObjectOrArray.ProtoReflect.Descriptor instead.
1329 func (*JsonObjectOrArray) Descriptor() ([]byte, []int) {
1330 return file_primitives_proto_rawDescGZIP(), []int{14}
1331 }
1332
1333 func (x *JsonObjectOrArray) GetStructure() isJsonObjectOrArray_Structure {
1334 if x != nil {
1335 return x.Structure
1336 }
1337 return nil
1338 }
1339
1340 func (x *JsonObjectOrArray) GetObject() *JsonObject {
1341 if x != nil {
1342 if x, ok := x.Structure.(*JsonObjectOrArray_Object); ok {
1343 return x.Object
1344 }
1345 }
1346 return nil
1347 }
1348
1349 func (x *JsonObjectOrArray) GetArray() *JsonArray {
1350 if x != nil {
1351 if x, ok := x.Structure.(*JsonObjectOrArray_Array); ok {
1352 return x.Array
1353 }
1354 }
1355 return nil
1356 }
1357
1358 type isJsonObjectOrArray_Structure interface {
1359 isJsonObjectOrArray_Structure()
1360 }
1361
1362 type JsonObjectOrArray_Object struct {
1363 Object *JsonObject `protobuf:"bytes,1,opt,name=object,proto3,oneof"`
1364 }
1365
1366 type JsonObjectOrArray_Array struct {
1367 Array *JsonArray `protobuf:"bytes,2,opt,name=array,proto3,oneof"`
1368 }
1369
1370 func (*JsonObjectOrArray_Object) isJsonObjectOrArray_Structure() {}
1371
1372 func (*JsonObjectOrArray_Array) isJsonObjectOrArray_Structure() {}
1373
1374 type JsonObject struct {
1375 state protoimpl.MessageState `protogen:"open.v1"`
1376 Fields map[string]*JsonValue `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
1377 unknownFields protoimpl.UnknownFields
1378 sizeCache protoimpl.SizeCache
1379 }
1380
1381 func (x *JsonObject) Reset() {
1382 *x = JsonObject{}
1383 mi := &file_primitives_proto_msgTypes[15]
1384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1385 ms.StoreMessageInfo(mi)
1386 }
1387
1388 func (x *JsonObject) String() string {
1389 return protoimpl.X.MessageStringOf(x)
1390 }
1391
1392 func (*JsonObject) ProtoMessage() {}
1393
1394 func (x *JsonObject) ProtoReflect() protoreflect.Message {
1395 mi := &file_primitives_proto_msgTypes[15]
1396 if x != nil {
1397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1398 if ms.LoadMessageInfo() == nil {
1399 ms.StoreMessageInfo(mi)
1400 }
1401 return ms
1402 }
1403 return mi.MessageOf(x)
1404 }
1405
1406 // Deprecated: Use JsonObject.ProtoReflect.Descriptor instead.
1407 func (*JsonObject) Descriptor() ([]byte, []int) {
1408 return file_primitives_proto_rawDescGZIP(), []int{15}
1409 }
1410
1411 func (x *JsonObject) GetFields() map[string]*JsonValue {
1412 if x != nil {
1413 return x.Fields
1414 }
1415 return nil
1416 }
1417
1418 type JsonArray struct {
1419 state protoimpl.MessageState `protogen:"open.v1"`
1420 Values []*JsonValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
1421 unknownFields protoimpl.UnknownFields
1422 sizeCache protoimpl.SizeCache
1423 }
1424
1425 func (x *JsonArray) Reset() {
1426 *x = JsonArray{}
1427 mi := &file_primitives_proto_msgTypes[16]
1428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1429 ms.StoreMessageInfo(mi)
1430 }
1431
1432 func (x *JsonArray) String() string {
1433 return protoimpl.X.MessageStringOf(x)
1434 }
1435
1436 func (*JsonArray) ProtoMessage() {}
1437
1438 func (x *JsonArray) ProtoReflect() protoreflect.Message {
1439 mi := &file_primitives_proto_msgTypes[16]
1440 if x != nil {
1441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1442 if ms.LoadMessageInfo() == nil {
1443 ms.StoreMessageInfo(mi)
1444 }
1445 return ms
1446 }
1447 return mi.MessageOf(x)
1448 }
1449
1450 // Deprecated: Use JsonArray.ProtoReflect.Descriptor instead.
1451 func (*JsonArray) Descriptor() ([]byte, []int) {
1452 return file_primitives_proto_rawDescGZIP(), []int{16}
1453 }
1454
1455 func (x *JsonArray) GetValues() []*JsonValue {
1456 if x != nil {
1457 return x.Values
1458 }
1459 return nil
1460 }
1461
1462 type JsonValue struct {
1463 state protoimpl.MessageState `protogen:"open.v1"`
1464 // Types that are valid to be assigned to Kind:
1465 //
1466 // *JsonValue_BoolValue
1467 // *JsonValue_IntValue
1468 // *JsonValue_UintValue
1469 // *JsonValue_DoubleValue
1470 // *JsonValue_StringValue
1471 // *JsonValue_Array
1472 // *JsonValue_Object
1473 Kind isJsonValue_Kind `protobuf_oneof:"kind"`
1474 unknownFields protoimpl.UnknownFields
1475 sizeCache protoimpl.SizeCache
1476 }
1477
1478 func (x *JsonValue) Reset() {
1479 *x = JsonValue{}
1480 mi := &file_primitives_proto_msgTypes[17]
1481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1482 ms.StoreMessageInfo(mi)
1483 }
1484
1485 func (x *JsonValue) String() string {
1486 return protoimpl.X.MessageStringOf(x)
1487 }
1488
1489 func (*JsonValue) ProtoMessage() {}
1490
1491 func (x *JsonValue) ProtoReflect() protoreflect.Message {
1492 mi := &file_primitives_proto_msgTypes[17]
1493 if x != nil {
1494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1495 if ms.LoadMessageInfo() == nil {
1496 ms.StoreMessageInfo(mi)
1497 }
1498 return ms
1499 }
1500 return mi.MessageOf(x)
1501 }
1502
1503 // Deprecated: Use JsonValue.ProtoReflect.Descriptor instead.
1504 func (*JsonValue) Descriptor() ([]byte, []int) {
1505 return file_primitives_proto_rawDescGZIP(), []int{17}
1506 }
1507
1508 func (x *JsonValue) GetKind() isJsonValue_Kind {
1509 if x != nil {
1510 return x.Kind
1511 }
1512 return nil
1513 }
1514
1515 func (x *JsonValue) GetBoolValue() bool {
1516 if x != nil {
1517 if x, ok := x.Kind.(*JsonValue_BoolValue); ok {
1518 return x.BoolValue
1519 }
1520 }
1521 return false
1522 }
1523
1524 func (x *JsonValue) GetIntValue() int64 {
1525 if x != nil {
1526 if x, ok := x.Kind.(*JsonValue_IntValue); ok {
1527 return x.IntValue
1528 }
1529 }
1530 return 0
1531 }
1532
1533 func (x *JsonValue) GetUintValue() uint64 {
1534 if x != nil {
1535 if x, ok := x.Kind.(*JsonValue_UintValue); ok {
1536 return x.UintValue
1537 }
1538 }
1539 return 0
1540 }
1541
1542 func (x *JsonValue) GetDoubleValue() float64 {
1543 if x != nil {
1544 if x, ok := x.Kind.(*JsonValue_DoubleValue); ok {
1545 return x.DoubleValue
1546 }
1547 }
1548 return 0
1549 }
1550
1551 func (x *JsonValue) GetStringValue() string {
1552 if x != nil {
1553 if x, ok := x.Kind.(*JsonValue_StringValue); ok {
1554 return x.StringValue
1555 }
1556 }
1557 return ""
1558 }
1559
1560 func (x *JsonValue) GetArray() *JsonArray {
1561 if x != nil {
1562 if x, ok := x.Kind.(*JsonValue_Array); ok {
1563 return x.Array
1564 }
1565 }
1566 return nil
1567 }
1568
1569 func (x *JsonValue) GetObject() *JsonObject {
1570 if x != nil {
1571 if x, ok := x.Kind.(*JsonValue_Object); ok {
1572 return x.Object
1573 }
1574 }
1575 return nil
1576 }
1577
1578 type isJsonValue_Kind interface {
1579 isJsonValue_Kind()
1580 }
1581
1582 type JsonValue_BoolValue struct {
1583 BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
1584 }
1585
1586 type JsonValue_IntValue struct {
1587 IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
1588 }
1589
1590 type JsonValue_UintValue struct {
1591 UintValue uint64 `protobuf:"varint,3,opt,name=uint_value,json=uintValue,proto3,oneof"`
1592 }
1593
1594 type JsonValue_DoubleValue struct {
1595 DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
1596 }
1597
1598 type JsonValue_StringValue struct {
1599 StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
1600 }
1601
1602 type JsonValue_Array struct {
1603 Array *JsonArray `protobuf:"bytes,6,opt,name=array,proto3,oneof"`
1604 }
1605
1606 type JsonValue_Object struct {
1607 Object *JsonObject `protobuf:"bytes,7,opt,name=object,proto3,oneof"`
1608 }
1609
1610 func (*JsonValue_BoolValue) isJsonValue_Kind() {}
1611
1612 func (*JsonValue_IntValue) isJsonValue_Kind() {}
1613
1614 func (*JsonValue_UintValue) isJsonValue_Kind() {}
1615
1616 func (*JsonValue_DoubleValue) isJsonValue_Kind() {}
1617
1618 func (*JsonValue_StringValue) isJsonValue_Kind() {}
1619
1620 func (*JsonValue_Array) isJsonValue_Kind() {}
1621
1622 func (*JsonValue_Object) isJsonValue_Kind() {}
1623
1624 type JsonScalar struct {
1625 state protoimpl.MessageState `protogen:"open.v1"`
1626 // Types that are valid to be assigned to Scalar:
1627 //
1628 // *JsonScalar_BoolValue
1629 // *JsonScalar_IntValue
1630 // *JsonScalar_UintValue
1631 // *JsonScalar_DoubleValue
1632 // *JsonScalar_StringValue
1633 Scalar isJsonScalar_Scalar `protobuf_oneof:"scalar"`
1634 unknownFields protoimpl.UnknownFields
1635 sizeCache protoimpl.SizeCache
1636 }
1637
1638 func (x *JsonScalar) Reset() {
1639 *x = JsonScalar{}
1640 mi := &file_primitives_proto_msgTypes[18]
1641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1642 ms.StoreMessageInfo(mi)
1643 }
1644
1645 func (x *JsonScalar) String() string {
1646 return protoimpl.X.MessageStringOf(x)
1647 }
1648
1649 func (*JsonScalar) ProtoMessage() {}
1650
1651 func (x *JsonScalar) ProtoReflect() protoreflect.Message {
1652 mi := &file_primitives_proto_msgTypes[18]
1653 if x != nil {
1654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1655 if ms.LoadMessageInfo() == nil {
1656 ms.StoreMessageInfo(mi)
1657 }
1658 return ms
1659 }
1660 return mi.MessageOf(x)
1661 }
1662
1663 // Deprecated: Use JsonScalar.ProtoReflect.Descriptor instead.
1664 func (*JsonScalar) Descriptor() ([]byte, []int) {
1665 return file_primitives_proto_rawDescGZIP(), []int{18}
1666 }
1667
1668 func (x *JsonScalar) GetScalar() isJsonScalar_Scalar {
1669 if x != nil {
1670 return x.Scalar
1671 }
1672 return nil
1673 }
1674
1675 func (x *JsonScalar) GetBoolValue() bool {
1676 if x != nil {
1677 if x, ok := x.Scalar.(*JsonScalar_BoolValue); ok {
1678 return x.BoolValue
1679 }
1680 }
1681 return false
1682 }
1683
1684 func (x *JsonScalar) GetIntValue() int64 {
1685 if x != nil {
1686 if x, ok := x.Scalar.(*JsonScalar_IntValue); ok {
1687 return x.IntValue
1688 }
1689 }
1690 return 0
1691 }
1692
1693 func (x *JsonScalar) GetUintValue() uint64 {
1694 if x != nil {
1695 if x, ok := x.Scalar.(*JsonScalar_UintValue); ok {
1696 return x.UintValue
1697 }
1698 }
1699 return 0
1700 }
1701
1702 func (x *JsonScalar) GetDoubleValue() float64 {
1703 if x != nil {
1704 if x, ok := x.Scalar.(*JsonScalar_DoubleValue); ok {
1705 return x.DoubleValue
1706 }
1707 }
1708 return 0
1709 }
1710
1711 func (x *JsonScalar) GetStringValue() string {
1712 if x != nil {
1713 if x, ok := x.Scalar.(*JsonScalar_StringValue); ok {
1714 return x.StringValue
1715 }
1716 }
1717 return ""
1718 }
1719
1720 type isJsonScalar_Scalar interface {
1721 isJsonScalar_Scalar()
1722 }
1723
1724 type JsonScalar_BoolValue struct {
1725 BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
1726 }
1727
1728 type JsonScalar_IntValue struct {
1729 IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
1730 }
1731
1732 type JsonScalar_UintValue struct {
1733 UintValue uint64 `protobuf:"varint,3,opt,name=uint_value,json=uintValue,proto3,oneof"`
1734 }
1735
1736 type JsonScalar_DoubleValue struct {
1737 DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
1738 }
1739
1740 type JsonScalar_StringValue struct {
1741 StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
1742 }
1743
1744 func (*JsonScalar_BoolValue) isJsonScalar_Scalar() {}
1745
1746 func (*JsonScalar_IntValue) isJsonScalar_Scalar() {}
1747
1748 func (*JsonScalar_UintValue) isJsonScalar_Scalar() {}
1749
1750 func (*JsonScalar_DoubleValue) isJsonScalar_Scalar() {}
1751
1752 func (*JsonScalar_StringValue) isJsonScalar_Scalar() {}
1753
1754 var File_primitives_proto protoreflect.FileDescriptor
1755
1756 const file_primitives_proto_rawDesc = "" +
1757 "\n" +
1758 "\x10primitives.proto\x12\x03cln\"\x1c\n" +
1759 "\x06Amount\x12\x12\n" +
1760 "\x04msat\x18\x01 \x01(\x04R\x04msat\"Q\n" +
1761 "\vAmountOrAll\x12%\n" +
1762 "\x06amount\x18\x01 \x01(\v2\v.cln.AmountH\x00R\x06amount\x12\x12\n" +
1763 "\x03all\x18\x02 \x01(\bH\x00R\x03allB\a\n" +
1764 "\x05value\"Q\n" +
1765 "\vAmountOrAny\x12%\n" +
1766 "\x06amount\x18\x01 \x01(\v2\v.cln.AmountH\x00R\x06amount\x12\x12\n" +
1767 "\x03any\x18\x02 \x01(\bH\x00R\x03anyB\a\n" +
1768 "\x05value\"6\n" +
1769 "\bOutpoint\x12\x12\n" +
1770 "\x04txid\x18\x01 \x01(\fR\x04txid\x12\x16\n" +
1771 "\x06outnum\x18\x02 \x01(\rR\x06outnum\"\x8c\x01\n" +
1772 "\aFeerate\x12\x14\n" +
1773 "\x04slow\x18\x01 \x01(\bH\x00R\x04slow\x12\x18\n" +
1774 "\x06normal\x18\x02 \x01(\bH\x00R\x06normal\x12\x18\n" +
1775 "\x06urgent\x18\x03 \x01(\bH\x00R\x06urgent\x12\x16\n" +
1776 "\x05perkb\x18\x04 \x01(\rH\x00R\x05perkb\x12\x16\n" +
1777 "\x05perkw\x18\x05 \x01(\rH\x00R\x05perkwB\a\n" +
1778 "\x05style\"K\n" +
1779 "\n" +
1780 "OutputDesc\x12\x18\n" +
1781 "\aaddress\x18\x01 \x01(\tR\aaddress\x12#\n" +
1782 "\x06amount\x18\x02 \x01(\v2\v.cln.AmountR\x06amount\"\x91\x01\n" +
1783 "\bRouteHop\x12\x0e\n" +
1784 "\x02id\x18\x01 \x01(\fR\x02id\x12\x12\n" +
1785 "\x04scid\x18\x02 \x01(\tR\x04scid\x12%\n" +
1786 "\afeebase\x18\x03 \x01(\v2\v.cln.AmountR\afeebase\x12\x18\n" +
1787 "\afeeprop\x18\x04 \x01(\rR\afeeprop\x12 \n" +
1788 "\vexpirydelta\x18\x05 \x01(\rR\vexpirydelta\".\n" +
1789 "\tRoutehint\x12!\n" +
1790 "\x04hops\x18\x01 \x03(\v2\r.cln.RouteHopR\x04hops\"5\n" +
1791 "\rRoutehintList\x12$\n" +
1792 "\x05hints\x18\x02 \x03(\v2\x0e.cln.RoutehintR\x05hints\"\xef\x01\n" +
1793 "\x0eDecodeRouteHop\x12\x16\n" +
1794 "\x06pubkey\x18\x01 \x01(\fR\x06pubkey\x12(\n" +
1795 "\x10short_channel_id\x18\x02 \x01(\tR\x0eshortChannelId\x12/\n" +
1796 "\rfee_base_msat\x18\x03 \x01(\v2\v.cln.AmountR\vfeeBaseMsat\x12>\n" +
1797 "\x1bfee_proportional_millionths\x18\x04 \x01(\rR\x19feeProportionalMillionths\x12*\n" +
1798 "\x11cltv_expiry_delta\x18\x05 \x01(\rR\x0fcltvExpiryDelta\":\n" +
1799 "\x0fDecodeRoutehint\x12'\n" +
1800 "\x04hops\x18\x01 \x03(\v2\x13.cln.DecodeRouteHopR\x04hops\"A\n" +
1801 "\x13DecodeRoutehintList\x12*\n" +
1802 "\x05hints\x18\x02 \x03(\v2\x14.cln.DecodeRoutehintR\x05hints\"4\n" +
1803 "\bTlvEntry\x12\x12\n" +
1804 "\x04type\x18\x01 \x01(\x04R\x04type\x12\x14\n" +
1805 "\x05value\x18\x02 \x01(\fR\x05value\"4\n" +
1806 "\tTlvStream\x12'\n" +
1807 "\aentries\x18\x01 \x03(\v2\r.cln.TlvEntryR\aentries\"s\n" +
1808 "\x11JsonObjectOrArray\x12)\n" +
1809 "\x06object\x18\x01 \x01(\v2\x0f.cln.JsonObjectH\x00R\x06object\x12&\n" +
1810 "\x05array\x18\x02 \x01(\v2\x0e.cln.JsonArrayH\x00R\x05arrayB\v\n" +
1811 "\tstructure\"\x8c\x01\n" +
1812 "\n" +
1813 "JsonObject\x123\n" +
1814 "\x06fields\x18\x01 \x03(\v2\x1b.cln.JsonObject.FieldsEntryR\x06fields\x1aI\n" +
1815 "\vFieldsEntry\x12\x10\n" +
1816 "\x03key\x18\x01 \x01(\tR\x03key\x12$\n" +
1817 "\x05value\x18\x02 \x01(\v2\x0e.cln.JsonValueR\x05value:\x028\x01\"3\n" +
1818 "\tJsonArray\x12&\n" +
1819 "\x06values\x18\x01 \x03(\v2\x0e.cln.JsonValueR\x06values\"\x91\x02\n" +
1820 "\tJsonValue\x12\x1f\n" +
1821 "\n" +
1822 "bool_value\x18\x01 \x01(\bH\x00R\tboolValue\x12\x1d\n" +
1823 "\tint_value\x18\x02 \x01(\x03H\x00R\bintValue\x12\x1f\n" +
1824 "\n" +
1825 "uint_value\x18\x03 \x01(\x04H\x00R\tuintValue\x12#\n" +
1826 "\fdouble_value\x18\x04 \x01(\x01H\x00R\vdoubleValue\x12#\n" +
1827 "\fstring_value\x18\x05 \x01(\tH\x00R\vstringValue\x12&\n" +
1828 "\x05array\x18\x06 \x01(\v2\x0e.cln.JsonArrayH\x00R\x05array\x12)\n" +
1829 "\x06object\x18\a \x01(\v2\x0f.cln.JsonObjectH\x00R\x06objectB\x06\n" +
1830 "\x04kind\"\xc1\x01\n" +
1831 "\n" +
1832 "JsonScalar\x12\x1f\n" +
1833 "\n" +
1834 "bool_value\x18\x01 \x01(\bH\x00R\tboolValue\x12\x1d\n" +
1835 "\tint_value\x18\x02 \x01(\x03H\x00R\bintValue\x12\x1f\n" +
1836 "\n" +
1837 "uint_value\x18\x03 \x01(\x04H\x00R\tuintValue\x12#\n" +
1838 "\fdouble_value\x18\x04 \x01(\x01H\x00R\vdoubleValue\x12#\n" +
1839 "\fstring_value\x18\x05 \x01(\tH\x00R\vstringValueB\b\n" +
1840 "\x06scalar*$\n" +
1841 "\vChannelSide\x12\t\n" +
1842 "\x05LOCAL\x10\x00\x12\n" +
1843 "\n" +
1844 "\x06REMOTE\x10\x01*\xe7\x02\n" +
1845 "\fChannelState\x12\f\n" +
1846 "\bOpeningd\x10\x00\x12\x1a\n" +
1847 "\x16ChanneldAwaitingLockin\x10\x01\x12\x12\n" +
1848 "\x0eChanneldNormal\x10\x02\x12\x18\n" +
1849 "\x14ChanneldShuttingDown\x10\x03\x12\x17\n" +
1850 "\x13ClosingdSigexchange\x10\x04\x12\x14\n" +
1851 "\x10ClosingdComplete\x10\x05\x12\x16\n" +
1852 "\x12AwaitingUnilateral\x10\x06\x12\x14\n" +
1853 "\x10FundingSpendSeen\x10\a\x12\v\n" +
1854 "\aOnchain\x10\b\x12\x15\n" +
1855 "\x11DualopendOpenInit\x10\t\x12\x1b\n" +
1856 "\x17DualopendAwaitingLockin\x10\n" +
1857 "\x12\x1a\n" +
1858 "\x16ChanneldAwaitingSplice\x10\v\x12\x1a\n" +
1859 "\x16DualopendOpenCommitted\x10\f\x12\x1d\n" +
1860 "\x19DualopendOpenCommittReady\x10\r\x12\n" +
1861 "\n" +
1862 "\x06Closed\x10\x0e*\xd5\x03\n" +
1863 "\tHtlcState\x12\x0f\n" +
1864 "\vSentAddHtlc\x10\x00\x12\x11\n" +
1865 "\rSentAddCommit\x10\x01\x12\x15\n" +
1866 "\x11RcvdAddRevocation\x10\x02\x12\x14\n" +
1867 "\x10RcvdAddAckCommit\x10\x03\x12\x18\n" +
1868 "\x14SentAddAckRevocation\x10\x04\x12\x18\n" +
1869 "\x14RcvdAddAckRevocation\x10\x05\x12\x12\n" +
1870 "\x0eRcvdRemoveHtlc\x10\x06\x12\x14\n" +
1871 "\x10RcvdRemoveCommit\x10\a\x12\x18\n" +
1872 "\x14SentRemoveRevocation\x10\b\x12\x17\n" +
1873 "\x13SentRemoveAckCommit\x10\t\x12\x1b\n" +
1874 "\x17RcvdRemoveAckRevocation\x10\n" +
1875 "\x12\x0f\n" +
1876 "\vRcvdAddHtlc\x10\v\x12\x11\n" +
1877 "\rRcvdAddCommit\x10\f\x12\x15\n" +
1878 "\x11SentAddRevocation\x10\r\x12\x14\n" +
1879 "\x10SentAddAckCommit\x10\x0e\x12\x12\n" +
1880 "\x0eSentRemoveHtlc\x10\x0f\x12\x14\n" +
1881 "\x10SentRemoveCommit\x10\x10\x12\x18\n" +
1882 "\x14RcvdRemoveRevocation\x10\x11\x12\x17\n" +
1883 "\x13RcvdRemoveAckCommit\x10\x12\x12\x1b\n" +
1884 "\x17SentRemoveAckRevocation\x10\x13*\xa2\x01\n" +
1885 "\x0fChannelTypeName\x12\x19\n" +
1886 "\x15static_remotekey_even\x10\x00\x12\x17\n" +
1887 "\x13anchor_outputs_even\x10\x01\x12!\n" +
1888 "\x1danchors_zero_fee_htlc_tx_even\x10\x02\x12\x13\n" +
1889 "\x0fscid_alias_even\x10\x03\x12\x11\n" +
1890 "\rzeroconf_even\x10\x04\x12\x10\n" +
1891 "\fanchors_even\x10\x05*\x89\x01\n" +
1892 "\x12AutocleanSubsystem\x12\x15\n" +
1893 "\x11SUCCEEDEDFORWARDS\x10\x00\x12\x12\n" +
1894 "\x0eFAILEDFORWARDS\x10\x01\x12\x11\n" +
1895 "\rSUCCEEDEDPAYS\x10\x02\x12\x0e\n" +
1896 "\n" +
1897 "FAILEDPAYS\x10\x03\x12\x10\n" +
1898 "\fPAIDINVOICES\x10\x04\x12\x13\n" +
1899 "\x0fEXPIREDINVOICES\x10\x05*K\n" +
1900 "\x10PluginSubcommand\x12\t\n" +
1901 "\x05START\x10\x00\x12\b\n" +
1902 "\x04STOP\x10\x01\x12\n" +
1903 "\n" +
1904 "\x06RESCAN\x10\x02\x12\f\n" +
1905 "\bSTARTDIR\x10\x03\x12\b\n" +
1906 "\x04LIST\x10\x04b\x06proto3"
1907
1908 var (
1909 file_primitives_proto_rawDescOnce sync.Once
1910 file_primitives_proto_rawDescData []byte
1911 )
1912
1913 func file_primitives_proto_rawDescGZIP() []byte {
1914 file_primitives_proto_rawDescOnce.Do(func() {
1915 file_primitives_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_primitives_proto_rawDesc), len(file_primitives_proto_rawDesc)))
1916 })
1917 return file_primitives_proto_rawDescData
1918 }
1919
1920 var file_primitives_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
1921 var file_primitives_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
1922 var file_primitives_proto_goTypes = []any{
1923 (ChannelSide)(0), // 0: cln.ChannelSide
1924 (ChannelState)(0), // 1: cln.ChannelState
1925 (HtlcState)(0), // 2: cln.HtlcState
1926 (ChannelTypeName)(0), // 3: cln.ChannelTypeName
1927 (AutocleanSubsystem)(0), // 4: cln.AutocleanSubsystem
1928 (PluginSubcommand)(0), // 5: cln.PluginSubcommand
1929 (*Amount)(nil), // 6: cln.Amount
1930 (*AmountOrAll)(nil), // 7: cln.AmountOrAll
1931 (*AmountOrAny)(nil), // 8: cln.AmountOrAny
1932 (*Outpoint)(nil), // 9: cln.Outpoint
1933 (*Feerate)(nil), // 10: cln.Feerate
1934 (*OutputDesc)(nil), // 11: cln.OutputDesc
1935 (*RouteHop)(nil), // 12: cln.RouteHop
1936 (*Routehint)(nil), // 13: cln.Routehint
1937 (*RoutehintList)(nil), // 14: cln.RoutehintList
1938 (*DecodeRouteHop)(nil), // 15: cln.DecodeRouteHop
1939 (*DecodeRoutehint)(nil), // 16: cln.DecodeRoutehint
1940 (*DecodeRoutehintList)(nil), // 17: cln.DecodeRoutehintList
1941 (*TlvEntry)(nil), // 18: cln.TlvEntry
1942 (*TlvStream)(nil), // 19: cln.TlvStream
1943 (*JsonObjectOrArray)(nil), // 20: cln.JsonObjectOrArray
1944 (*JsonObject)(nil), // 21: cln.JsonObject
1945 (*JsonArray)(nil), // 22: cln.JsonArray
1946 (*JsonValue)(nil), // 23: cln.JsonValue
1947 (*JsonScalar)(nil), // 24: cln.JsonScalar
1948 nil, // 25: cln.JsonObject.FieldsEntry
1949 }
1950 var file_primitives_proto_depIdxs = []int32{
1951 6, // 0: cln.AmountOrAll.amount:type_name -> cln.Amount
1952 6, // 1: cln.AmountOrAny.amount:type_name -> cln.Amount
1953 6, // 2: cln.OutputDesc.amount:type_name -> cln.Amount
1954 6, // 3: cln.RouteHop.feebase:type_name -> cln.Amount
1955 12, // 4: cln.Routehint.hops:type_name -> cln.RouteHop
1956 13, // 5: cln.RoutehintList.hints:type_name -> cln.Routehint
1957 6, // 6: cln.DecodeRouteHop.fee_base_msat:type_name -> cln.Amount
1958 15, // 7: cln.DecodeRoutehint.hops:type_name -> cln.DecodeRouteHop
1959 16, // 8: cln.DecodeRoutehintList.hints:type_name -> cln.DecodeRoutehint
1960 18, // 9: cln.TlvStream.entries:type_name -> cln.TlvEntry
1961 21, // 10: cln.JsonObjectOrArray.object:type_name -> cln.JsonObject
1962 22, // 11: cln.JsonObjectOrArray.array:type_name -> cln.JsonArray
1963 25, // 12: cln.JsonObject.fields:type_name -> cln.JsonObject.FieldsEntry
1964 23, // 13: cln.JsonArray.values:type_name -> cln.JsonValue
1965 22, // 14: cln.JsonValue.array:type_name -> cln.JsonArray
1966 21, // 15: cln.JsonValue.object:type_name -> cln.JsonObject
1967 23, // 16: cln.JsonObject.FieldsEntry.value:type_name -> cln.JsonValue
1968 17, // [17:17] is the sub-list for method output_type
1969 17, // [17:17] is the sub-list for method input_type
1970 17, // [17:17] is the sub-list for extension type_name
1971 17, // [17:17] is the sub-list for extension extendee
1972 0, // [0:17] is the sub-list for field type_name
1973 }
1974
1975 func init() { file_primitives_proto_init() }
1976 func file_primitives_proto_init() {
1977 if File_primitives_proto != nil {
1978 return
1979 }
1980 file_primitives_proto_msgTypes[1].OneofWrappers = []any{
1981 (*AmountOrAll_Amount)(nil),
1982 (*AmountOrAll_All)(nil),
1983 }
1984 file_primitives_proto_msgTypes[2].OneofWrappers = []any{
1985 (*AmountOrAny_Amount)(nil),
1986 (*AmountOrAny_Any)(nil),
1987 }
1988 file_primitives_proto_msgTypes[4].OneofWrappers = []any{
1989 (*Feerate_Slow)(nil),
1990 (*Feerate_Normal)(nil),
1991 (*Feerate_Urgent)(nil),
1992 (*Feerate_Perkb)(nil),
1993 (*Feerate_Perkw)(nil),
1994 }
1995 file_primitives_proto_msgTypes[14].OneofWrappers = []any{
1996 (*JsonObjectOrArray_Object)(nil),
1997 (*JsonObjectOrArray_Array)(nil),
1998 }
1999 file_primitives_proto_msgTypes[17].OneofWrappers = []any{
2000 (*JsonValue_BoolValue)(nil),
2001 (*JsonValue_IntValue)(nil),
2002 (*JsonValue_UintValue)(nil),
2003 (*JsonValue_DoubleValue)(nil),
2004 (*JsonValue_StringValue)(nil),
2005 (*JsonValue_Array)(nil),
2006 (*JsonValue_Object)(nil),
2007 }
2008 file_primitives_proto_msgTypes[18].OneofWrappers = []any{
2009 (*JsonScalar_BoolValue)(nil),
2010 (*JsonScalar_IntValue)(nil),
2011 (*JsonScalar_UintValue)(nil),
2012 (*JsonScalar_DoubleValue)(nil),
2013 (*JsonScalar_StringValue)(nil),
2014 }
2015 type x struct{}
2016 out := protoimpl.TypeBuilder{
2017 File: protoimpl.DescBuilder{
2018 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2019 RawDescriptor: unsafe.Slice(unsafe.StringData(file_primitives_proto_rawDesc), len(file_primitives_proto_rawDesc)),
2020 NumEnums: 6,
2021 NumMessages: 20,
2022 NumExtensions: 0,
2023 NumServices: 0,
2024 },
2025 GoTypes: file_primitives_proto_goTypes,
2026 DependencyIndexes: file_primitives_proto_depIdxs,
2027 EnumInfos: file_primitives_proto_enumTypes,
2028 MessageInfos: file_primitives_proto_msgTypes,
2029 }.Build()
2030 File_primitives_proto = out.File
2031 file_primitives_proto_goTypes = nil
2032 file_primitives_proto_depIdxs = nil
2033 }
2034