hold.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: hold.proto
6
7 package clngrpc_hold
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 HookAction int32
25
26 const (
27 HookAction_Continue HookAction = 0
28 HookAction_Resolve HookAction = 1
29 )
30
31 // Enum value maps for HookAction.
32 var (
33 HookAction_name = map[int32]string{
34 0: "Continue",
35 1: "Resolve",
36 }
37 HookAction_value = map[string]int32{
38 "Continue": 0,
39 "Resolve": 1,
40 }
41 )
42
43 func (x HookAction) Enum() *HookAction {
44 p := new(HookAction)
45 *p = x
46 return p
47 }
48
49 func (x HookAction) String() string {
50 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
51 }
52
53 func (HookAction) Descriptor() protoreflect.EnumDescriptor {
54 return file_hold_proto_enumTypes[0].Descriptor()
55 }
56
57 func (HookAction) Type() protoreflect.EnumType {
58 return &file_hold_proto_enumTypes[0]
59 }
60
61 func (x HookAction) Number() protoreflect.EnumNumber {
62 return protoreflect.EnumNumber(x)
63 }
64
65 // Deprecated: Use HookAction.Descriptor instead.
66 func (HookAction) EnumDescriptor() ([]byte, []int) {
67 return file_hold_proto_rawDescGZIP(), []int{0}
68 }
69
70 type InvoiceState int32
71
72 const (
73 InvoiceState_UNPAID InvoiceState = 0
74 InvoiceState_ACCEPTED InvoiceState = 1
75 InvoiceState_PAID InvoiceState = 2
76 InvoiceState_CANCELLED InvoiceState = 3
77 )
78
79 // Enum value maps for InvoiceState.
80 var (
81 InvoiceState_name = map[int32]string{
82 0: "UNPAID",
83 1: "ACCEPTED",
84 2: "PAID",
85 3: "CANCELLED",
86 }
87 InvoiceState_value = map[string]int32{
88 "UNPAID": 0,
89 "ACCEPTED": 1,
90 "PAID": 2,
91 "CANCELLED": 3,
92 }
93 )
94
95 func (x InvoiceState) Enum() *InvoiceState {
96 p := new(InvoiceState)
97 *p = x
98 return p
99 }
100
101 func (x InvoiceState) String() string {
102 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
103 }
104
105 func (InvoiceState) Descriptor() protoreflect.EnumDescriptor {
106 return file_hold_proto_enumTypes[1].Descriptor()
107 }
108
109 func (InvoiceState) Type() protoreflect.EnumType {
110 return &file_hold_proto_enumTypes[1]
111 }
112
113 func (x InvoiceState) Number() protoreflect.EnumNumber {
114 return protoreflect.EnumNumber(x)
115 }
116
117 // Deprecated: Use InvoiceState.Descriptor instead.
118 func (InvoiceState) EnumDescriptor() ([]byte, []int) {
119 return file_hold_proto_rawDescGZIP(), []int{1}
120 }
121
122 type GetInfoRequest struct {
123 state protoimpl.MessageState `protogen:"open.v1"`
124 unknownFields protoimpl.UnknownFields
125 sizeCache protoimpl.SizeCache
126 }
127
128 func (x *GetInfoRequest) Reset() {
129 *x = GetInfoRequest{}
130 mi := &file_hold_proto_msgTypes[0]
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 ms.StoreMessageInfo(mi)
133 }
134
135 func (x *GetInfoRequest) String() string {
136 return protoimpl.X.MessageStringOf(x)
137 }
138
139 func (*GetInfoRequest) ProtoMessage() {}
140
141 func (x *GetInfoRequest) ProtoReflect() protoreflect.Message {
142 mi := &file_hold_proto_msgTypes[0]
143 if x != nil {
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 if ms.LoadMessageInfo() == nil {
146 ms.StoreMessageInfo(mi)
147 }
148 return ms
149 }
150 return mi.MessageOf(x)
151 }
152
153 // Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
154 func (*GetInfoRequest) Descriptor() ([]byte, []int) {
155 return file_hold_proto_rawDescGZIP(), []int{0}
156 }
157
158 type GetInfoResponse struct {
159 state protoimpl.MessageState `protogen:"open.v1"`
160 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
161 unknownFields protoimpl.UnknownFields
162 sizeCache protoimpl.SizeCache
163 }
164
165 func (x *GetInfoResponse) Reset() {
166 *x = GetInfoResponse{}
167 mi := &file_hold_proto_msgTypes[1]
168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
169 ms.StoreMessageInfo(mi)
170 }
171
172 func (x *GetInfoResponse) String() string {
173 return protoimpl.X.MessageStringOf(x)
174 }
175
176 func (*GetInfoResponse) ProtoMessage() {}
177
178 func (x *GetInfoResponse) ProtoReflect() protoreflect.Message {
179 mi := &file_hold_proto_msgTypes[1]
180 if x != nil {
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 if ms.LoadMessageInfo() == nil {
183 ms.StoreMessageInfo(mi)
184 }
185 return ms
186 }
187 return mi.MessageOf(x)
188 }
189
190 // Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
191 func (*GetInfoResponse) Descriptor() ([]byte, []int) {
192 return file_hold_proto_rawDescGZIP(), []int{1}
193 }
194
195 func (x *GetInfoResponse) GetVersion() string {
196 if x != nil {
197 return x.Version
198 }
199 return ""
200 }
201
202 type Hop struct {
203 state protoimpl.MessageState `protogen:"open.v1"`
204 PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
205 ShortChannelId uint64 `protobuf:"varint,2,opt,name=short_channel_id,json=shortChannelId,proto3" json:"short_channel_id,omitempty"`
206 BaseFee uint64 `protobuf:"varint,3,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
207 PpmFee uint64 `protobuf:"varint,4,opt,name=ppm_fee,json=ppmFee,proto3" json:"ppm_fee,omitempty"`
208 CltvExpiryDelta uint64 `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,proto3" json:"cltv_expiry_delta,omitempty"`
209 unknownFields protoimpl.UnknownFields
210 sizeCache protoimpl.SizeCache
211 }
212
213 func (x *Hop) Reset() {
214 *x = Hop{}
215 mi := &file_hold_proto_msgTypes[2]
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 ms.StoreMessageInfo(mi)
218 }
219
220 func (x *Hop) String() string {
221 return protoimpl.X.MessageStringOf(x)
222 }
223
224 func (*Hop) ProtoMessage() {}
225
226 func (x *Hop) ProtoReflect() protoreflect.Message {
227 mi := &file_hold_proto_msgTypes[2]
228 if x != nil {
229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230 if ms.LoadMessageInfo() == nil {
231 ms.StoreMessageInfo(mi)
232 }
233 return ms
234 }
235 return mi.MessageOf(x)
236 }
237
238 // Deprecated: Use Hop.ProtoReflect.Descriptor instead.
239 func (*Hop) Descriptor() ([]byte, []int) {
240 return file_hold_proto_rawDescGZIP(), []int{2}
241 }
242
243 func (x *Hop) GetPublicKey() []byte {
244 if x != nil {
245 return x.PublicKey
246 }
247 return nil
248 }
249
250 func (x *Hop) GetShortChannelId() uint64 {
251 if x != nil {
252 return x.ShortChannelId
253 }
254 return 0
255 }
256
257 func (x *Hop) GetBaseFee() uint64 {
258 if x != nil {
259 return x.BaseFee
260 }
261 return 0
262 }
263
264 func (x *Hop) GetPpmFee() uint64 {
265 if x != nil {
266 return x.PpmFee
267 }
268 return 0
269 }
270
271 func (x *Hop) GetCltvExpiryDelta() uint64 {
272 if x != nil {
273 return x.CltvExpiryDelta
274 }
275 return 0
276 }
277
278 type RoutingHint struct {
279 state protoimpl.MessageState `protogen:"open.v1"`
280 Hops []*Hop `protobuf:"bytes,1,rep,name=hops,proto3" json:"hops,omitempty"`
281 unknownFields protoimpl.UnknownFields
282 sizeCache protoimpl.SizeCache
283 }
284
285 func (x *RoutingHint) Reset() {
286 *x = RoutingHint{}
287 mi := &file_hold_proto_msgTypes[3]
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 ms.StoreMessageInfo(mi)
290 }
291
292 func (x *RoutingHint) String() string {
293 return protoimpl.X.MessageStringOf(x)
294 }
295
296 func (*RoutingHint) ProtoMessage() {}
297
298 func (x *RoutingHint) ProtoReflect() protoreflect.Message {
299 mi := &file_hold_proto_msgTypes[3]
300 if x != nil {
301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
302 if ms.LoadMessageInfo() == nil {
303 ms.StoreMessageInfo(mi)
304 }
305 return ms
306 }
307 return mi.MessageOf(x)
308 }
309
310 // Deprecated: Use RoutingHint.ProtoReflect.Descriptor instead.
311 func (*RoutingHint) Descriptor() ([]byte, []int) {
312 return file_hold_proto_rawDescGZIP(), []int{3}
313 }
314
315 func (x *RoutingHint) GetHops() []*Hop {
316 if x != nil {
317 return x.Hops
318 }
319 return nil
320 }
321
322 type InvoiceRequest struct {
323 state protoimpl.MessageState `protogen:"open.v1"`
324 PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
325 AmountMsat uint64 `protobuf:"varint,2,opt,name=amount_msat,json=amountMsat,proto3" json:"amount_msat,omitempty"`
326 // Types that are valid to be assigned to Description:
327 //
328 // *InvoiceRequest_Memo
329 // *InvoiceRequest_Hash
330 Description isInvoiceRequest_Description `protobuf_oneof:"description"`
331 Expiry *uint64 `protobuf:"varint,5,opt,name=expiry,proto3,oneof" json:"expiry,omitempty"`
332 MinFinalCltvExpiry *uint64 `protobuf:"varint,6,opt,name=min_final_cltv_expiry,json=minFinalCltvExpiry,proto3,oneof" json:"min_final_cltv_expiry,omitempty"`
333 RoutingHints []*RoutingHint `protobuf:"bytes,7,rep,name=routing_hints,json=routingHints,proto3" json:"routing_hints,omitempty"`
334 unknownFields protoimpl.UnknownFields
335 sizeCache protoimpl.SizeCache
336 }
337
338 func (x *InvoiceRequest) Reset() {
339 *x = InvoiceRequest{}
340 mi := &file_hold_proto_msgTypes[4]
341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
342 ms.StoreMessageInfo(mi)
343 }
344
345 func (x *InvoiceRequest) String() string {
346 return protoimpl.X.MessageStringOf(x)
347 }
348
349 func (*InvoiceRequest) ProtoMessage() {}
350
351 func (x *InvoiceRequest) ProtoReflect() protoreflect.Message {
352 mi := &file_hold_proto_msgTypes[4]
353 if x != nil {
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 if ms.LoadMessageInfo() == nil {
356 ms.StoreMessageInfo(mi)
357 }
358 return ms
359 }
360 return mi.MessageOf(x)
361 }
362
363 // Deprecated: Use InvoiceRequest.ProtoReflect.Descriptor instead.
364 func (*InvoiceRequest) Descriptor() ([]byte, []int) {
365 return file_hold_proto_rawDescGZIP(), []int{4}
366 }
367
368 func (x *InvoiceRequest) GetPaymentHash() []byte {
369 if x != nil {
370 return x.PaymentHash
371 }
372 return nil
373 }
374
375 func (x *InvoiceRequest) GetAmountMsat() uint64 {
376 if x != nil {
377 return x.AmountMsat
378 }
379 return 0
380 }
381
382 func (x *InvoiceRequest) GetDescription() isInvoiceRequest_Description {
383 if x != nil {
384 return x.Description
385 }
386 return nil
387 }
388
389 func (x *InvoiceRequest) GetMemo() string {
390 if x != nil {
391 if x, ok := x.Description.(*InvoiceRequest_Memo); ok {
392 return x.Memo
393 }
394 }
395 return ""
396 }
397
398 func (x *InvoiceRequest) GetHash() []byte {
399 if x != nil {
400 if x, ok := x.Description.(*InvoiceRequest_Hash); ok {
401 return x.Hash
402 }
403 }
404 return nil
405 }
406
407 func (x *InvoiceRequest) GetExpiry() uint64 {
408 if x != nil && x.Expiry != nil {
409 return *x.Expiry
410 }
411 return 0
412 }
413
414 func (x *InvoiceRequest) GetMinFinalCltvExpiry() uint64 {
415 if x != nil && x.MinFinalCltvExpiry != nil {
416 return *x.MinFinalCltvExpiry
417 }
418 return 0
419 }
420
421 func (x *InvoiceRequest) GetRoutingHints() []*RoutingHint {
422 if x != nil {
423 return x.RoutingHints
424 }
425 return nil
426 }
427
428 type isInvoiceRequest_Description interface {
429 isInvoiceRequest_Description()
430 }
431
432 type InvoiceRequest_Memo struct {
433 Memo string `protobuf:"bytes,3,opt,name=memo,proto3,oneof"`
434 }
435
436 type InvoiceRequest_Hash struct {
437 Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"`
438 }
439
440 func (*InvoiceRequest_Memo) isInvoiceRequest_Description() {}
441
442 func (*InvoiceRequest_Hash) isInvoiceRequest_Description() {}
443
444 type InvoiceResponse struct {
445 state protoimpl.MessageState `protogen:"open.v1"`
446 Bolt11 string `protobuf:"bytes,1,opt,name=bolt11,proto3" json:"bolt11,omitempty"`
447 unknownFields protoimpl.UnknownFields
448 sizeCache protoimpl.SizeCache
449 }
450
451 func (x *InvoiceResponse) Reset() {
452 *x = InvoiceResponse{}
453 mi := &file_hold_proto_msgTypes[5]
454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455 ms.StoreMessageInfo(mi)
456 }
457
458 func (x *InvoiceResponse) String() string {
459 return protoimpl.X.MessageStringOf(x)
460 }
461
462 func (*InvoiceResponse) ProtoMessage() {}
463
464 func (x *InvoiceResponse) ProtoReflect() protoreflect.Message {
465 mi := &file_hold_proto_msgTypes[5]
466 if x != nil {
467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
468 if ms.LoadMessageInfo() == nil {
469 ms.StoreMessageInfo(mi)
470 }
471 return ms
472 }
473 return mi.MessageOf(x)
474 }
475
476 // Deprecated: Use InvoiceResponse.ProtoReflect.Descriptor instead.
477 func (*InvoiceResponse) Descriptor() ([]byte, []int) {
478 return file_hold_proto_rawDescGZIP(), []int{5}
479 }
480
481 func (x *InvoiceResponse) GetBolt11() string {
482 if x != nil {
483 return x.Bolt11
484 }
485 return ""
486 }
487
488 type InjectRequest struct {
489 state protoimpl.MessageState `protogen:"open.v1"`
490 Invoice string `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
491 MinCltvExpiry *uint64 `protobuf:"varint,2,opt,name=min_cltv_expiry,json=minCltvExpiry,proto3,oneof" json:"min_cltv_expiry,omitempty"`
492 unknownFields protoimpl.UnknownFields
493 sizeCache protoimpl.SizeCache
494 }
495
496 func (x *InjectRequest) Reset() {
497 *x = InjectRequest{}
498 mi := &file_hold_proto_msgTypes[6]
499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
500 ms.StoreMessageInfo(mi)
501 }
502
503 func (x *InjectRequest) String() string {
504 return protoimpl.X.MessageStringOf(x)
505 }
506
507 func (*InjectRequest) ProtoMessage() {}
508
509 func (x *InjectRequest) ProtoReflect() protoreflect.Message {
510 mi := &file_hold_proto_msgTypes[6]
511 if x != nil {
512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513 if ms.LoadMessageInfo() == nil {
514 ms.StoreMessageInfo(mi)
515 }
516 return ms
517 }
518 return mi.MessageOf(x)
519 }
520
521 // Deprecated: Use InjectRequest.ProtoReflect.Descriptor instead.
522 func (*InjectRequest) Descriptor() ([]byte, []int) {
523 return file_hold_proto_rawDescGZIP(), []int{6}
524 }
525
526 func (x *InjectRequest) GetInvoice() string {
527 if x != nil {
528 return x.Invoice
529 }
530 return ""
531 }
532
533 func (x *InjectRequest) GetMinCltvExpiry() uint64 {
534 if x != nil && x.MinCltvExpiry != nil {
535 return *x.MinCltvExpiry
536 }
537 return 0
538 }
539
540 type InjectResponse struct {
541 state protoimpl.MessageState `protogen:"open.v1"`
542 unknownFields protoimpl.UnknownFields
543 sizeCache protoimpl.SizeCache
544 }
545
546 func (x *InjectResponse) Reset() {
547 *x = InjectResponse{}
548 mi := &file_hold_proto_msgTypes[7]
549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
550 ms.StoreMessageInfo(mi)
551 }
552
553 func (x *InjectResponse) String() string {
554 return protoimpl.X.MessageStringOf(x)
555 }
556
557 func (*InjectResponse) ProtoMessage() {}
558
559 func (x *InjectResponse) ProtoReflect() protoreflect.Message {
560 mi := &file_hold_proto_msgTypes[7]
561 if x != nil {
562 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
563 if ms.LoadMessageInfo() == nil {
564 ms.StoreMessageInfo(mi)
565 }
566 return ms
567 }
568 return mi.MessageOf(x)
569 }
570
571 // Deprecated: Use InjectResponse.ProtoReflect.Descriptor instead.
572 func (*InjectResponse) Descriptor() ([]byte, []int) {
573 return file_hold_proto_rawDescGZIP(), []int{7}
574 }
575
576 type ListRequest struct {
577 state protoimpl.MessageState `protogen:"open.v1"`
578 // Types that are valid to be assigned to Constraint:
579 //
580 // *ListRequest_PaymentHash
581 // *ListRequest_Pagination_
582 Constraint isListRequest_Constraint `protobuf_oneof:"constraint"`
583 unknownFields protoimpl.UnknownFields
584 sizeCache protoimpl.SizeCache
585 }
586
587 func (x *ListRequest) Reset() {
588 *x = ListRequest{}
589 mi := &file_hold_proto_msgTypes[8]
590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
591 ms.StoreMessageInfo(mi)
592 }
593
594 func (x *ListRequest) String() string {
595 return protoimpl.X.MessageStringOf(x)
596 }
597
598 func (*ListRequest) ProtoMessage() {}
599
600 func (x *ListRequest) ProtoReflect() protoreflect.Message {
601 mi := &file_hold_proto_msgTypes[8]
602 if x != nil {
603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
604 if ms.LoadMessageInfo() == nil {
605 ms.StoreMessageInfo(mi)
606 }
607 return ms
608 }
609 return mi.MessageOf(x)
610 }
611
612 // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
613 func (*ListRequest) Descriptor() ([]byte, []int) {
614 return file_hold_proto_rawDescGZIP(), []int{8}
615 }
616
617 func (x *ListRequest) GetConstraint() isListRequest_Constraint {
618 if x != nil {
619 return x.Constraint
620 }
621 return nil
622 }
623
624 func (x *ListRequest) GetPaymentHash() []byte {
625 if x != nil {
626 if x, ok := x.Constraint.(*ListRequest_PaymentHash); ok {
627 return x.PaymentHash
628 }
629 }
630 return nil
631 }
632
633 func (x *ListRequest) GetPagination() *ListRequest_Pagination {
634 if x != nil {
635 if x, ok := x.Constraint.(*ListRequest_Pagination_); ok {
636 return x.Pagination
637 }
638 }
639 return nil
640 }
641
642 type isListRequest_Constraint interface {
643 isListRequest_Constraint()
644 }
645
646 type ListRequest_PaymentHash struct {
647 PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3,oneof"`
648 }
649
650 type ListRequest_Pagination_ struct {
651 Pagination *ListRequest_Pagination `protobuf:"bytes,2,opt,name=pagination,proto3,oneof"`
652 }
653
654 func (*ListRequest_PaymentHash) isListRequest_Constraint() {}
655
656 func (*ListRequest_Pagination_) isListRequest_Constraint() {}
657
658 type Htlc struct {
659 state protoimpl.MessageState `protogen:"open.v1"`
660 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
661 State InvoiceState `protobuf:"varint,2,opt,name=state,proto3,enum=hold.InvoiceState" json:"state,omitempty"`
662 Scid string `protobuf:"bytes,3,opt,name=scid,proto3" json:"scid,omitempty"`
663 ChannelId uint64 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
664 Msat uint64 `protobuf:"varint,5,opt,name=msat,proto3" json:"msat,omitempty"`
665 CreatedAt uint64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
666 CltvExpiry *uint64 `protobuf:"varint,7,opt,name=cltv_expiry,json=cltvExpiry,proto3,oneof" json:"cltv_expiry,omitempty"`
667 unknownFields protoimpl.UnknownFields
668 sizeCache protoimpl.SizeCache
669 }
670
671 func (x *Htlc) Reset() {
672 *x = Htlc{}
673 mi := &file_hold_proto_msgTypes[9]
674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
675 ms.StoreMessageInfo(mi)
676 }
677
678 func (x *Htlc) String() string {
679 return protoimpl.X.MessageStringOf(x)
680 }
681
682 func (*Htlc) ProtoMessage() {}
683
684 func (x *Htlc) ProtoReflect() protoreflect.Message {
685 mi := &file_hold_proto_msgTypes[9]
686 if x != nil {
687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
688 if ms.LoadMessageInfo() == nil {
689 ms.StoreMessageInfo(mi)
690 }
691 return ms
692 }
693 return mi.MessageOf(x)
694 }
695
696 // Deprecated: Use Htlc.ProtoReflect.Descriptor instead.
697 func (*Htlc) Descriptor() ([]byte, []int) {
698 return file_hold_proto_rawDescGZIP(), []int{9}
699 }
700
701 func (x *Htlc) GetId() int64 {
702 if x != nil {
703 return x.Id
704 }
705 return 0
706 }
707
708 func (x *Htlc) GetState() InvoiceState {
709 if x != nil {
710 return x.State
711 }
712 return InvoiceState_UNPAID
713 }
714
715 func (x *Htlc) GetScid() string {
716 if x != nil {
717 return x.Scid
718 }
719 return ""
720 }
721
722 func (x *Htlc) GetChannelId() uint64 {
723 if x != nil {
724 return x.ChannelId
725 }
726 return 0
727 }
728
729 func (x *Htlc) GetMsat() uint64 {
730 if x != nil {
731 return x.Msat
732 }
733 return 0
734 }
735
736 func (x *Htlc) GetCreatedAt() uint64 {
737 if x != nil {
738 return x.CreatedAt
739 }
740 return 0
741 }
742
743 func (x *Htlc) GetCltvExpiry() uint64 {
744 if x != nil && x.CltvExpiry != nil {
745 return *x.CltvExpiry
746 }
747 return 0
748 }
749
750 type Invoice struct {
751 state protoimpl.MessageState `protogen:"open.v1"`
752 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
753 PaymentHash []byte `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
754 Preimage []byte `protobuf:"bytes,3,opt,name=preimage,proto3,oneof" json:"preimage,omitempty"`
755 Invoice string `protobuf:"bytes,4,opt,name=invoice,proto3" json:"invoice,omitempty"`
756 State InvoiceState `protobuf:"varint,5,opt,name=state,proto3,enum=hold.InvoiceState" json:"state,omitempty"`
757 CreatedAt uint64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
758 SettledAt *uint64 `protobuf:"varint,8,opt,name=settled_at,json=settledAt,proto3,oneof" json:"settled_at,omitempty"`
759 Htlcs []*Htlc `protobuf:"bytes,7,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
760 MinCltvExpiry *uint64 `protobuf:"varint,9,opt,name=min_cltv_expiry,json=minCltvExpiry,proto3,oneof" json:"min_cltv_expiry,omitempty"`
761 unknownFields protoimpl.UnknownFields
762 sizeCache protoimpl.SizeCache
763 }
764
765 func (x *Invoice) Reset() {
766 *x = Invoice{}
767 mi := &file_hold_proto_msgTypes[10]
768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
769 ms.StoreMessageInfo(mi)
770 }
771
772 func (x *Invoice) String() string {
773 return protoimpl.X.MessageStringOf(x)
774 }
775
776 func (*Invoice) ProtoMessage() {}
777
778 func (x *Invoice) ProtoReflect() protoreflect.Message {
779 mi := &file_hold_proto_msgTypes[10]
780 if x != nil {
781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
782 if ms.LoadMessageInfo() == nil {
783 ms.StoreMessageInfo(mi)
784 }
785 return ms
786 }
787 return mi.MessageOf(x)
788 }
789
790 // Deprecated: Use Invoice.ProtoReflect.Descriptor instead.
791 func (*Invoice) Descriptor() ([]byte, []int) {
792 return file_hold_proto_rawDescGZIP(), []int{10}
793 }
794
795 func (x *Invoice) GetId() int64 {
796 if x != nil {
797 return x.Id
798 }
799 return 0
800 }
801
802 func (x *Invoice) GetPaymentHash() []byte {
803 if x != nil {
804 return x.PaymentHash
805 }
806 return nil
807 }
808
809 func (x *Invoice) GetPreimage() []byte {
810 if x != nil {
811 return x.Preimage
812 }
813 return nil
814 }
815
816 func (x *Invoice) GetInvoice() string {
817 if x != nil {
818 return x.Invoice
819 }
820 return ""
821 }
822
823 func (x *Invoice) GetState() InvoiceState {
824 if x != nil {
825 return x.State
826 }
827 return InvoiceState_UNPAID
828 }
829
830 func (x *Invoice) GetCreatedAt() uint64 {
831 if x != nil {
832 return x.CreatedAt
833 }
834 return 0
835 }
836
837 func (x *Invoice) GetSettledAt() uint64 {
838 if x != nil && x.SettledAt != nil {
839 return *x.SettledAt
840 }
841 return 0
842 }
843
844 func (x *Invoice) GetHtlcs() []*Htlc {
845 if x != nil {
846 return x.Htlcs
847 }
848 return nil
849 }
850
851 func (x *Invoice) GetMinCltvExpiry() uint64 {
852 if x != nil && x.MinCltvExpiry != nil {
853 return *x.MinCltvExpiry
854 }
855 return 0
856 }
857
858 type ListResponse struct {
859 state protoimpl.MessageState `protogen:"open.v1"`
860 Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"`
861 unknownFields protoimpl.UnknownFields
862 sizeCache protoimpl.SizeCache
863 }
864
865 func (x *ListResponse) Reset() {
866 *x = ListResponse{}
867 mi := &file_hold_proto_msgTypes[11]
868 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
869 ms.StoreMessageInfo(mi)
870 }
871
872 func (x *ListResponse) String() string {
873 return protoimpl.X.MessageStringOf(x)
874 }
875
876 func (*ListResponse) ProtoMessage() {}
877
878 func (x *ListResponse) ProtoReflect() protoreflect.Message {
879 mi := &file_hold_proto_msgTypes[11]
880 if x != nil {
881 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
882 if ms.LoadMessageInfo() == nil {
883 ms.StoreMessageInfo(mi)
884 }
885 return ms
886 }
887 return mi.MessageOf(x)
888 }
889
890 // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
891 func (*ListResponse) Descriptor() ([]byte, []int) {
892 return file_hold_proto_rawDescGZIP(), []int{11}
893 }
894
895 func (x *ListResponse) GetInvoices() []*Invoice {
896 if x != nil {
897 return x.Invoices
898 }
899 return nil
900 }
901
902 type SettleRequest struct {
903 state protoimpl.MessageState `protogen:"open.v1"`
904 PaymentPreimage []byte `protobuf:"bytes,1,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
905 unknownFields protoimpl.UnknownFields
906 sizeCache protoimpl.SizeCache
907 }
908
909 func (x *SettleRequest) Reset() {
910 *x = SettleRequest{}
911 mi := &file_hold_proto_msgTypes[12]
912 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
913 ms.StoreMessageInfo(mi)
914 }
915
916 func (x *SettleRequest) String() string {
917 return protoimpl.X.MessageStringOf(x)
918 }
919
920 func (*SettleRequest) ProtoMessage() {}
921
922 func (x *SettleRequest) ProtoReflect() protoreflect.Message {
923 mi := &file_hold_proto_msgTypes[12]
924 if x != nil {
925 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
926 if ms.LoadMessageInfo() == nil {
927 ms.StoreMessageInfo(mi)
928 }
929 return ms
930 }
931 return mi.MessageOf(x)
932 }
933
934 // Deprecated: Use SettleRequest.ProtoReflect.Descriptor instead.
935 func (*SettleRequest) Descriptor() ([]byte, []int) {
936 return file_hold_proto_rawDescGZIP(), []int{12}
937 }
938
939 func (x *SettleRequest) GetPaymentPreimage() []byte {
940 if x != nil {
941 return x.PaymentPreimage
942 }
943 return nil
944 }
945
946 type SettleResponse struct {
947 state protoimpl.MessageState `protogen:"open.v1"`
948 unknownFields protoimpl.UnknownFields
949 sizeCache protoimpl.SizeCache
950 }
951
952 func (x *SettleResponse) Reset() {
953 *x = SettleResponse{}
954 mi := &file_hold_proto_msgTypes[13]
955 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
956 ms.StoreMessageInfo(mi)
957 }
958
959 func (x *SettleResponse) String() string {
960 return protoimpl.X.MessageStringOf(x)
961 }
962
963 func (*SettleResponse) ProtoMessage() {}
964
965 func (x *SettleResponse) ProtoReflect() protoreflect.Message {
966 mi := &file_hold_proto_msgTypes[13]
967 if x != nil {
968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
969 if ms.LoadMessageInfo() == nil {
970 ms.StoreMessageInfo(mi)
971 }
972 return ms
973 }
974 return mi.MessageOf(x)
975 }
976
977 // Deprecated: Use SettleResponse.ProtoReflect.Descriptor instead.
978 func (*SettleResponse) Descriptor() ([]byte, []int) {
979 return file_hold_proto_rawDescGZIP(), []int{13}
980 }
981
982 type CancelRequest struct {
983 state protoimpl.MessageState `protogen:"open.v1"`
984 PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
985 unknownFields protoimpl.UnknownFields
986 sizeCache protoimpl.SizeCache
987 }
988
989 func (x *CancelRequest) Reset() {
990 *x = CancelRequest{}
991 mi := &file_hold_proto_msgTypes[14]
992 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
993 ms.StoreMessageInfo(mi)
994 }
995
996 func (x *CancelRequest) String() string {
997 return protoimpl.X.MessageStringOf(x)
998 }
999
1000 func (*CancelRequest) ProtoMessage() {}
1001
1002 func (x *CancelRequest) ProtoReflect() protoreflect.Message {
1003 mi := &file_hold_proto_msgTypes[14]
1004 if x != nil {
1005 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1006 if ms.LoadMessageInfo() == nil {
1007 ms.StoreMessageInfo(mi)
1008 }
1009 return ms
1010 }
1011 return mi.MessageOf(x)
1012 }
1013
1014 // Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
1015 func (*CancelRequest) Descriptor() ([]byte, []int) {
1016 return file_hold_proto_rawDescGZIP(), []int{14}
1017 }
1018
1019 func (x *CancelRequest) GetPaymentHash() []byte {
1020 if x != nil {
1021 return x.PaymentHash
1022 }
1023 return nil
1024 }
1025
1026 type CancelResponse struct {
1027 state protoimpl.MessageState `protogen:"open.v1"`
1028 unknownFields protoimpl.UnknownFields
1029 sizeCache protoimpl.SizeCache
1030 }
1031
1032 func (x *CancelResponse) Reset() {
1033 *x = CancelResponse{}
1034 mi := &file_hold_proto_msgTypes[15]
1035 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1036 ms.StoreMessageInfo(mi)
1037 }
1038
1039 func (x *CancelResponse) String() string {
1040 return protoimpl.X.MessageStringOf(x)
1041 }
1042
1043 func (*CancelResponse) ProtoMessage() {}
1044
1045 func (x *CancelResponse) ProtoReflect() protoreflect.Message {
1046 mi := &file_hold_proto_msgTypes[15]
1047 if x != nil {
1048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1049 if ms.LoadMessageInfo() == nil {
1050 ms.StoreMessageInfo(mi)
1051 }
1052 return ms
1053 }
1054 return mi.MessageOf(x)
1055 }
1056
1057 // Deprecated: Use CancelResponse.ProtoReflect.Descriptor instead.
1058 func (*CancelResponse) Descriptor() ([]byte, []int) {
1059 return file_hold_proto_rawDescGZIP(), []int{15}
1060 }
1061
1062 type CleanRequest struct {
1063 state protoimpl.MessageState `protogen:"open.v1"`
1064 // Clean everything older than age seconds
1065 Age *uint64 `protobuf:"varint,1,opt,name=age,proto3,oneof" json:"age,omitempty"`
1066 unknownFields protoimpl.UnknownFields
1067 sizeCache protoimpl.SizeCache
1068 }
1069
1070 func (x *CleanRequest) Reset() {
1071 *x = CleanRequest{}
1072 mi := &file_hold_proto_msgTypes[16]
1073 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1074 ms.StoreMessageInfo(mi)
1075 }
1076
1077 func (x *CleanRequest) String() string {
1078 return protoimpl.X.MessageStringOf(x)
1079 }
1080
1081 func (*CleanRequest) ProtoMessage() {}
1082
1083 func (x *CleanRequest) ProtoReflect() protoreflect.Message {
1084 mi := &file_hold_proto_msgTypes[16]
1085 if x != nil {
1086 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1087 if ms.LoadMessageInfo() == nil {
1088 ms.StoreMessageInfo(mi)
1089 }
1090 return ms
1091 }
1092 return mi.MessageOf(x)
1093 }
1094
1095 // Deprecated: Use CleanRequest.ProtoReflect.Descriptor instead.
1096 func (*CleanRequest) Descriptor() ([]byte, []int) {
1097 return file_hold_proto_rawDescGZIP(), []int{16}
1098 }
1099
1100 func (x *CleanRequest) GetAge() uint64 {
1101 if x != nil && x.Age != nil {
1102 return *x.Age
1103 }
1104 return 0
1105 }
1106
1107 type CleanResponse struct {
1108 state protoimpl.MessageState `protogen:"open.v1"`
1109 Cleaned uint64 `protobuf:"varint,1,opt,name=cleaned,proto3" json:"cleaned,omitempty"`
1110 unknownFields protoimpl.UnknownFields
1111 sizeCache protoimpl.SizeCache
1112 }
1113
1114 func (x *CleanResponse) Reset() {
1115 *x = CleanResponse{}
1116 mi := &file_hold_proto_msgTypes[17]
1117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1118 ms.StoreMessageInfo(mi)
1119 }
1120
1121 func (x *CleanResponse) String() string {
1122 return protoimpl.X.MessageStringOf(x)
1123 }
1124
1125 func (*CleanResponse) ProtoMessage() {}
1126
1127 func (x *CleanResponse) ProtoReflect() protoreflect.Message {
1128 mi := &file_hold_proto_msgTypes[17]
1129 if x != nil {
1130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1131 if ms.LoadMessageInfo() == nil {
1132 ms.StoreMessageInfo(mi)
1133 }
1134 return ms
1135 }
1136 return mi.MessageOf(x)
1137 }
1138
1139 // Deprecated: Use CleanResponse.ProtoReflect.Descriptor instead.
1140 func (*CleanResponse) Descriptor() ([]byte, []int) {
1141 return file_hold_proto_rawDescGZIP(), []int{17}
1142 }
1143
1144 func (x *CleanResponse) GetCleaned() uint64 {
1145 if x != nil {
1146 return x.Cleaned
1147 }
1148 return 0
1149 }
1150
1151 type TrackRequest struct {
1152 state protoimpl.MessageState `protogen:"open.v1"`
1153 PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
1154 unknownFields protoimpl.UnknownFields
1155 sizeCache protoimpl.SizeCache
1156 }
1157
1158 func (x *TrackRequest) Reset() {
1159 *x = TrackRequest{}
1160 mi := &file_hold_proto_msgTypes[18]
1161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1162 ms.StoreMessageInfo(mi)
1163 }
1164
1165 func (x *TrackRequest) String() string {
1166 return protoimpl.X.MessageStringOf(x)
1167 }
1168
1169 func (*TrackRequest) ProtoMessage() {}
1170
1171 func (x *TrackRequest) ProtoReflect() protoreflect.Message {
1172 mi := &file_hold_proto_msgTypes[18]
1173 if x != nil {
1174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1175 if ms.LoadMessageInfo() == nil {
1176 ms.StoreMessageInfo(mi)
1177 }
1178 return ms
1179 }
1180 return mi.MessageOf(x)
1181 }
1182
1183 // Deprecated: Use TrackRequest.ProtoReflect.Descriptor instead.
1184 func (*TrackRequest) Descriptor() ([]byte, []int) {
1185 return file_hold_proto_rawDescGZIP(), []int{18}
1186 }
1187
1188 func (x *TrackRequest) GetPaymentHash() []byte {
1189 if x != nil {
1190 return x.PaymentHash
1191 }
1192 return nil
1193 }
1194
1195 type TrackResponse struct {
1196 state protoimpl.MessageState `protogen:"open.v1"`
1197 State InvoiceState `protobuf:"varint,1,opt,name=state,proto3,enum=hold.InvoiceState" json:"state,omitempty"`
1198 unknownFields protoimpl.UnknownFields
1199 sizeCache protoimpl.SizeCache
1200 }
1201
1202 func (x *TrackResponse) Reset() {
1203 *x = TrackResponse{}
1204 mi := &file_hold_proto_msgTypes[19]
1205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1206 ms.StoreMessageInfo(mi)
1207 }
1208
1209 func (x *TrackResponse) String() string {
1210 return protoimpl.X.MessageStringOf(x)
1211 }
1212
1213 func (*TrackResponse) ProtoMessage() {}
1214
1215 func (x *TrackResponse) ProtoReflect() protoreflect.Message {
1216 mi := &file_hold_proto_msgTypes[19]
1217 if x != nil {
1218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1219 if ms.LoadMessageInfo() == nil {
1220 ms.StoreMessageInfo(mi)
1221 }
1222 return ms
1223 }
1224 return mi.MessageOf(x)
1225 }
1226
1227 // Deprecated: Use TrackResponse.ProtoReflect.Descriptor instead.
1228 func (*TrackResponse) Descriptor() ([]byte, []int) {
1229 return file_hold_proto_rawDescGZIP(), []int{19}
1230 }
1231
1232 func (x *TrackResponse) GetState() InvoiceState {
1233 if x != nil {
1234 return x.State
1235 }
1236 return InvoiceState_UNPAID
1237 }
1238
1239 type TrackAllRequest struct {
1240 state protoimpl.MessageState `protogen:"open.v1"`
1241 PaymentHashes [][]byte `protobuf:"bytes,1,rep,name=payment_hashes,json=paymentHashes,proto3" json:"payment_hashes,omitempty"`
1242 unknownFields protoimpl.UnknownFields
1243 sizeCache protoimpl.SizeCache
1244 }
1245
1246 func (x *TrackAllRequest) Reset() {
1247 *x = TrackAllRequest{}
1248 mi := &file_hold_proto_msgTypes[20]
1249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1250 ms.StoreMessageInfo(mi)
1251 }
1252
1253 func (x *TrackAllRequest) String() string {
1254 return protoimpl.X.MessageStringOf(x)
1255 }
1256
1257 func (*TrackAllRequest) ProtoMessage() {}
1258
1259 func (x *TrackAllRequest) ProtoReflect() protoreflect.Message {
1260 mi := &file_hold_proto_msgTypes[20]
1261 if x != nil {
1262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1263 if ms.LoadMessageInfo() == nil {
1264 ms.StoreMessageInfo(mi)
1265 }
1266 return ms
1267 }
1268 return mi.MessageOf(x)
1269 }
1270
1271 // Deprecated: Use TrackAllRequest.ProtoReflect.Descriptor instead.
1272 func (*TrackAllRequest) Descriptor() ([]byte, []int) {
1273 return file_hold_proto_rawDescGZIP(), []int{20}
1274 }
1275
1276 func (x *TrackAllRequest) GetPaymentHashes() [][]byte {
1277 if x != nil {
1278 return x.PaymentHashes
1279 }
1280 return nil
1281 }
1282
1283 type TrackAllResponse struct {
1284 state protoimpl.MessageState `protogen:"open.v1"`
1285 PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
1286 Bolt11 string `protobuf:"bytes,2,opt,name=bolt11,proto3" json:"bolt11,omitempty"`
1287 State InvoiceState `protobuf:"varint,3,opt,name=state,proto3,enum=hold.InvoiceState" json:"state,omitempty"`
1288 unknownFields protoimpl.UnknownFields
1289 sizeCache protoimpl.SizeCache
1290 }
1291
1292 func (x *TrackAllResponse) Reset() {
1293 *x = TrackAllResponse{}
1294 mi := &file_hold_proto_msgTypes[21]
1295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1296 ms.StoreMessageInfo(mi)
1297 }
1298
1299 func (x *TrackAllResponse) String() string {
1300 return protoimpl.X.MessageStringOf(x)
1301 }
1302
1303 func (*TrackAllResponse) ProtoMessage() {}
1304
1305 func (x *TrackAllResponse) ProtoReflect() protoreflect.Message {
1306 mi := &file_hold_proto_msgTypes[21]
1307 if x != nil {
1308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1309 if ms.LoadMessageInfo() == nil {
1310 ms.StoreMessageInfo(mi)
1311 }
1312 return ms
1313 }
1314 return mi.MessageOf(x)
1315 }
1316
1317 // Deprecated: Use TrackAllResponse.ProtoReflect.Descriptor instead.
1318 func (*TrackAllResponse) Descriptor() ([]byte, []int) {
1319 return file_hold_proto_rawDescGZIP(), []int{21}
1320 }
1321
1322 func (x *TrackAllResponse) GetPaymentHash() []byte {
1323 if x != nil {
1324 return x.PaymentHash
1325 }
1326 return nil
1327 }
1328
1329 func (x *TrackAllResponse) GetBolt11() string {
1330 if x != nil {
1331 return x.Bolt11
1332 }
1333 return ""
1334 }
1335
1336 func (x *TrackAllResponse) GetState() InvoiceState {
1337 if x != nil {
1338 return x.State
1339 }
1340 return InvoiceState_UNPAID
1341 }
1342
1343 type OnionMessage struct {
1344 state protoimpl.MessageState `protogen:"open.v1"`
1345 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
1346 Pathsecret []byte `protobuf:"bytes,2,opt,name=pathsecret,proto3,oneof" json:"pathsecret,omitempty"`
1347 ReplyBlindedpath *OnionMessage_ReplyBlindedPath `protobuf:"bytes,3,opt,name=reply_blindedpath,json=replyBlindedpath,proto3,oneof" json:"reply_blindedpath,omitempty"`
1348 InvoiceRequest []byte `protobuf:"bytes,4,opt,name=invoice_request,json=invoiceRequest,proto3,oneof" json:"invoice_request,omitempty"`
1349 Invoice []byte `protobuf:"bytes,5,opt,name=invoice,proto3,oneof" json:"invoice,omitempty"`
1350 InvoiceError []byte `protobuf:"bytes,6,opt,name=invoice_error,json=invoiceError,proto3,oneof" json:"invoice_error,omitempty"`
1351 UnknownFields []*OnionMessage_UnknownField `protobuf:"bytes,7,rep,name=unknown_fields,json=unknownFields,proto3" json:"unknown_fields,omitempty"`
1352 unknownFields protoimpl.UnknownFields
1353 sizeCache protoimpl.SizeCache
1354 }
1355
1356 func (x *OnionMessage) Reset() {
1357 *x = OnionMessage{}
1358 mi := &file_hold_proto_msgTypes[22]
1359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1360 ms.StoreMessageInfo(mi)
1361 }
1362
1363 func (x *OnionMessage) String() string {
1364 return protoimpl.X.MessageStringOf(x)
1365 }
1366
1367 func (*OnionMessage) ProtoMessage() {}
1368
1369 func (x *OnionMessage) ProtoReflect() protoreflect.Message {
1370 mi := &file_hold_proto_msgTypes[22]
1371 if x != nil {
1372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1373 if ms.LoadMessageInfo() == nil {
1374 ms.StoreMessageInfo(mi)
1375 }
1376 return ms
1377 }
1378 return mi.MessageOf(x)
1379 }
1380
1381 // Deprecated: Use OnionMessage.ProtoReflect.Descriptor instead.
1382 func (*OnionMessage) Descriptor() ([]byte, []int) {
1383 return file_hold_proto_rawDescGZIP(), []int{22}
1384 }
1385
1386 func (x *OnionMessage) GetId() uint64 {
1387 if x != nil {
1388 return x.Id
1389 }
1390 return 0
1391 }
1392
1393 func (x *OnionMessage) GetPathsecret() []byte {
1394 if x != nil {
1395 return x.Pathsecret
1396 }
1397 return nil
1398 }
1399
1400 func (x *OnionMessage) GetReplyBlindedpath() *OnionMessage_ReplyBlindedPath {
1401 if x != nil {
1402 return x.ReplyBlindedpath
1403 }
1404 return nil
1405 }
1406
1407 func (x *OnionMessage) GetInvoiceRequest() []byte {
1408 if x != nil {
1409 return x.InvoiceRequest
1410 }
1411 return nil
1412 }
1413
1414 func (x *OnionMessage) GetInvoice() []byte {
1415 if x != nil {
1416 return x.Invoice
1417 }
1418 return nil
1419 }
1420
1421 func (x *OnionMessage) GetInvoiceError() []byte {
1422 if x != nil {
1423 return x.InvoiceError
1424 }
1425 return nil
1426 }
1427
1428 func (x *OnionMessage) GetUnknownFields() []*OnionMessage_UnknownField {
1429 if x != nil {
1430 return x.UnknownFields
1431 }
1432 return nil
1433 }
1434
1435 type OnionMessageResponse struct {
1436 state protoimpl.MessageState `protogen:"open.v1"`
1437 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
1438 Action HookAction `protobuf:"varint,2,opt,name=action,proto3,enum=hold.HookAction" json:"action,omitempty"`
1439 unknownFields protoimpl.UnknownFields
1440 sizeCache protoimpl.SizeCache
1441 }
1442
1443 func (x *OnionMessageResponse) Reset() {
1444 *x = OnionMessageResponse{}
1445 mi := &file_hold_proto_msgTypes[23]
1446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1447 ms.StoreMessageInfo(mi)
1448 }
1449
1450 func (x *OnionMessageResponse) String() string {
1451 return protoimpl.X.MessageStringOf(x)
1452 }
1453
1454 func (*OnionMessageResponse) ProtoMessage() {}
1455
1456 func (x *OnionMessageResponse) ProtoReflect() protoreflect.Message {
1457 mi := &file_hold_proto_msgTypes[23]
1458 if x != nil {
1459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1460 if ms.LoadMessageInfo() == nil {
1461 ms.StoreMessageInfo(mi)
1462 }
1463 return ms
1464 }
1465 return mi.MessageOf(x)
1466 }
1467
1468 // Deprecated: Use OnionMessageResponse.ProtoReflect.Descriptor instead.
1469 func (*OnionMessageResponse) Descriptor() ([]byte, []int) {
1470 return file_hold_proto_rawDescGZIP(), []int{23}
1471 }
1472
1473 func (x *OnionMessageResponse) GetId() uint64 {
1474 if x != nil {
1475 return x.Id
1476 }
1477 return 0
1478 }
1479
1480 func (x *OnionMessageResponse) GetAction() HookAction {
1481 if x != nil {
1482 return x.Action
1483 }
1484 return HookAction_Continue
1485 }
1486
1487 type ListRequest_Pagination struct {
1488 state protoimpl.MessageState `protogen:"open.v1"`
1489 // Inclusive
1490 IndexStart int64 `protobuf:"varint,1,opt,name=index_start,json=indexStart,proto3" json:"index_start,omitempty"`
1491 Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
1492 unknownFields protoimpl.UnknownFields
1493 sizeCache protoimpl.SizeCache
1494 }
1495
1496 func (x *ListRequest_Pagination) Reset() {
1497 *x = ListRequest_Pagination{}
1498 mi := &file_hold_proto_msgTypes[24]
1499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1500 ms.StoreMessageInfo(mi)
1501 }
1502
1503 func (x *ListRequest_Pagination) String() string {
1504 return protoimpl.X.MessageStringOf(x)
1505 }
1506
1507 func (*ListRequest_Pagination) ProtoMessage() {}
1508
1509 func (x *ListRequest_Pagination) ProtoReflect() protoreflect.Message {
1510 mi := &file_hold_proto_msgTypes[24]
1511 if x != nil {
1512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1513 if ms.LoadMessageInfo() == nil {
1514 ms.StoreMessageInfo(mi)
1515 }
1516 return ms
1517 }
1518 return mi.MessageOf(x)
1519 }
1520
1521 // Deprecated: Use ListRequest_Pagination.ProtoReflect.Descriptor instead.
1522 func (*ListRequest_Pagination) Descriptor() ([]byte, []int) {
1523 return file_hold_proto_rawDescGZIP(), []int{8, 0}
1524 }
1525
1526 func (x *ListRequest_Pagination) GetIndexStart() int64 {
1527 if x != nil {
1528 return x.IndexStart
1529 }
1530 return 0
1531 }
1532
1533 func (x *ListRequest_Pagination) GetLimit() uint64 {
1534 if x != nil {
1535 return x.Limit
1536 }
1537 return 0
1538 }
1539
1540 type OnionMessage_ReplyBlindedPath struct {
1541 state protoimpl.MessageState `protogen:"open.v1"`
1542 FirstNodeId []byte `protobuf:"bytes,1,opt,name=first_node_id,json=firstNodeId,proto3,oneof" json:"first_node_id,omitempty"`
1543 FirstScid *string `protobuf:"bytes,2,opt,name=first_scid,json=firstScid,proto3,oneof" json:"first_scid,omitempty"`
1544 FirstScidDir *uint64 `protobuf:"varint,3,opt,name=first_scid_dir,json=firstScidDir,proto3,oneof" json:"first_scid_dir,omitempty"`
1545 FirstPathKey []byte `protobuf:"bytes,4,opt,name=first_path_key,json=firstPathKey,proto3,oneof" json:"first_path_key,omitempty"`
1546 Hops []*OnionMessage_ReplyBlindedPath_Hop `protobuf:"bytes,5,rep,name=hops,proto3" json:"hops,omitempty"`
1547 unknownFields protoimpl.UnknownFields
1548 sizeCache protoimpl.SizeCache
1549 }
1550
1551 func (x *OnionMessage_ReplyBlindedPath) Reset() {
1552 *x = OnionMessage_ReplyBlindedPath{}
1553 mi := &file_hold_proto_msgTypes[25]
1554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1555 ms.StoreMessageInfo(mi)
1556 }
1557
1558 func (x *OnionMessage_ReplyBlindedPath) String() string {
1559 return protoimpl.X.MessageStringOf(x)
1560 }
1561
1562 func (*OnionMessage_ReplyBlindedPath) ProtoMessage() {}
1563
1564 func (x *OnionMessage_ReplyBlindedPath) ProtoReflect() protoreflect.Message {
1565 mi := &file_hold_proto_msgTypes[25]
1566 if x != nil {
1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1568 if ms.LoadMessageInfo() == nil {
1569 ms.StoreMessageInfo(mi)
1570 }
1571 return ms
1572 }
1573 return mi.MessageOf(x)
1574 }
1575
1576 // Deprecated: Use OnionMessage_ReplyBlindedPath.ProtoReflect.Descriptor instead.
1577 func (*OnionMessage_ReplyBlindedPath) Descriptor() ([]byte, []int) {
1578 return file_hold_proto_rawDescGZIP(), []int{22, 0}
1579 }
1580
1581 func (x *OnionMessage_ReplyBlindedPath) GetFirstNodeId() []byte {
1582 if x != nil {
1583 return x.FirstNodeId
1584 }
1585 return nil
1586 }
1587
1588 func (x *OnionMessage_ReplyBlindedPath) GetFirstScid() string {
1589 if x != nil && x.FirstScid != nil {
1590 return *x.FirstScid
1591 }
1592 return ""
1593 }
1594
1595 func (x *OnionMessage_ReplyBlindedPath) GetFirstScidDir() uint64 {
1596 if x != nil && x.FirstScidDir != nil {
1597 return *x.FirstScidDir
1598 }
1599 return 0
1600 }
1601
1602 func (x *OnionMessage_ReplyBlindedPath) GetFirstPathKey() []byte {
1603 if x != nil {
1604 return x.FirstPathKey
1605 }
1606 return nil
1607 }
1608
1609 func (x *OnionMessage_ReplyBlindedPath) GetHops() []*OnionMessage_ReplyBlindedPath_Hop {
1610 if x != nil {
1611 return x.Hops
1612 }
1613 return nil
1614 }
1615
1616 type OnionMessage_UnknownField struct {
1617 state protoimpl.MessageState `protogen:"open.v1"`
1618 Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
1619 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1620 unknownFields protoimpl.UnknownFields
1621 sizeCache protoimpl.SizeCache
1622 }
1623
1624 func (x *OnionMessage_UnknownField) Reset() {
1625 *x = OnionMessage_UnknownField{}
1626 mi := &file_hold_proto_msgTypes[26]
1627 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1628 ms.StoreMessageInfo(mi)
1629 }
1630
1631 func (x *OnionMessage_UnknownField) String() string {
1632 return protoimpl.X.MessageStringOf(x)
1633 }
1634
1635 func (*OnionMessage_UnknownField) ProtoMessage() {}
1636
1637 func (x *OnionMessage_UnknownField) ProtoReflect() protoreflect.Message {
1638 mi := &file_hold_proto_msgTypes[26]
1639 if x != nil {
1640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1641 if ms.LoadMessageInfo() == nil {
1642 ms.StoreMessageInfo(mi)
1643 }
1644 return ms
1645 }
1646 return mi.MessageOf(x)
1647 }
1648
1649 // Deprecated: Use OnionMessage_UnknownField.ProtoReflect.Descriptor instead.
1650 func (*OnionMessage_UnknownField) Descriptor() ([]byte, []int) {
1651 return file_hold_proto_rawDescGZIP(), []int{22, 1}
1652 }
1653
1654 func (x *OnionMessage_UnknownField) GetNumber() uint64 {
1655 if x != nil {
1656 return x.Number
1657 }
1658 return 0
1659 }
1660
1661 func (x *OnionMessage_UnknownField) GetValue() []byte {
1662 if x != nil {
1663 return x.Value
1664 }
1665 return nil
1666 }
1667
1668 type OnionMessage_ReplyBlindedPath_Hop struct {
1669 state protoimpl.MessageState `protogen:"open.v1"`
1670 BlindedNodeId []byte `protobuf:"bytes,1,opt,name=blinded_node_id,json=blindedNodeId,proto3,oneof" json:"blinded_node_id,omitempty"`
1671 EncryptedRecipientData []byte `protobuf:"bytes,2,opt,name=encrypted_recipient_data,json=encryptedRecipientData,proto3,oneof" json:"encrypted_recipient_data,omitempty"`
1672 unknownFields protoimpl.UnknownFields
1673 sizeCache protoimpl.SizeCache
1674 }
1675
1676 func (x *OnionMessage_ReplyBlindedPath_Hop) Reset() {
1677 *x = OnionMessage_ReplyBlindedPath_Hop{}
1678 mi := &file_hold_proto_msgTypes[27]
1679 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1680 ms.StoreMessageInfo(mi)
1681 }
1682
1683 func (x *OnionMessage_ReplyBlindedPath_Hop) String() string {
1684 return protoimpl.X.MessageStringOf(x)
1685 }
1686
1687 func (*OnionMessage_ReplyBlindedPath_Hop) ProtoMessage() {}
1688
1689 func (x *OnionMessage_ReplyBlindedPath_Hop) ProtoReflect() protoreflect.Message {
1690 mi := &file_hold_proto_msgTypes[27]
1691 if x != nil {
1692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1693 if ms.LoadMessageInfo() == nil {
1694 ms.StoreMessageInfo(mi)
1695 }
1696 return ms
1697 }
1698 return mi.MessageOf(x)
1699 }
1700
1701 // Deprecated: Use OnionMessage_ReplyBlindedPath_Hop.ProtoReflect.Descriptor instead.
1702 func (*OnionMessage_ReplyBlindedPath_Hop) Descriptor() ([]byte, []int) {
1703 return file_hold_proto_rawDescGZIP(), []int{22, 0, 0}
1704 }
1705
1706 func (x *OnionMessage_ReplyBlindedPath_Hop) GetBlindedNodeId() []byte {
1707 if x != nil {
1708 return x.BlindedNodeId
1709 }
1710 return nil
1711 }
1712
1713 func (x *OnionMessage_ReplyBlindedPath_Hop) GetEncryptedRecipientData() []byte {
1714 if x != nil {
1715 return x.EncryptedRecipientData
1716 }
1717 return nil
1718 }
1719
1720 var File_hold_proto protoreflect.FileDescriptor
1721
1722 const file_hold_proto_rawDesc = "" +
1723 "\n" +
1724 "\n" +
1725 "hold.proto\x12\x04hold\"\x10\n" +
1726 "\x0eGetInfoRequest\"+\n" +
1727 "\x0fGetInfoResponse\x12\x18\n" +
1728 "\aversion\x18\x01 \x01(\tR\aversion\"\xae\x01\n" +
1729 "\x03Hop\x12\x1d\n" +
1730 "\n" +
1731 "public_key\x18\x01 \x01(\fR\tpublicKey\x12(\n" +
1732 "\x10short_channel_id\x18\x02 \x01(\x04R\x0eshortChannelId\x12\x19\n" +
1733 "\bbase_fee\x18\x03 \x01(\x04R\abaseFee\x12\x17\n" +
1734 "\appm_fee\x18\x04 \x01(\x04R\x06ppmFee\x12*\n" +
1735 "\x11cltv_expiry_delta\x18\x05 \x01(\x04R\x0fcltvExpiryDelta\",\n" +
1736 "\vRoutingHint\x12\x1d\n" +
1737 "\x04hops\x18\x01 \x03(\v2\t.hold.HopR\x04hops\"\xc1\x02\n" +
1738 "\x0eInvoiceRequest\x12!\n" +
1739 "\fpayment_hash\x18\x01 \x01(\fR\vpaymentHash\x12\x1f\n" +
1740 "\vamount_msat\x18\x02 \x01(\x04R\n" +
1741 "amountMsat\x12\x14\n" +
1742 "\x04memo\x18\x03 \x01(\tH\x00R\x04memo\x12\x14\n" +
1743 "\x04hash\x18\x04 \x01(\fH\x00R\x04hash\x12\x1b\n" +
1744 "\x06expiry\x18\x05 \x01(\x04H\x01R\x06expiry\x88\x01\x01\x126\n" +
1745 "\x15min_final_cltv_expiry\x18\x06 \x01(\x04H\x02R\x12minFinalCltvExpiry\x88\x01\x01\x126\n" +
1746 "\rrouting_hints\x18\a \x03(\v2\x11.hold.RoutingHintR\froutingHintsB\r\n" +
1747 "\vdescriptionB\t\n" +
1748 "\a_expiryB\x18\n" +
1749 "\x16_min_final_cltv_expiry\")\n" +
1750 "\x0fInvoiceResponse\x12\x16\n" +
1751 "\x06bolt11\x18\x01 \x01(\tR\x06bolt11\"j\n" +
1752 "\rInjectRequest\x12\x18\n" +
1753 "\ainvoice\x18\x01 \x01(\tR\ainvoice\x12+\n" +
1754 "\x0fmin_cltv_expiry\x18\x02 \x01(\x04H\x00R\rminCltvExpiry\x88\x01\x01B\x12\n" +
1755 "\x10_min_cltv_expiry\"\x10\n" +
1756 "\x0eInjectResponse\"\xc5\x01\n" +
1757 "\vListRequest\x12#\n" +
1758 "\fpayment_hash\x18\x01 \x01(\fH\x00R\vpaymentHash\x12>\n" +
1759 "\n" +
1760 "pagination\x18\x02 \x01(\v2\x1c.hold.ListRequest.PaginationH\x00R\n" +
1761 "pagination\x1aC\n" +
1762 "\n" +
1763 "Pagination\x12\x1f\n" +
1764 "\vindex_start\x18\x01 \x01(\x03R\n" +
1765 "indexStart\x12\x14\n" +
1766 "\x05limit\x18\x02 \x01(\x04R\x05limitB\f\n" +
1767 "\n" +
1768 "constraint\"\xdc\x01\n" +
1769 "\x04Htlc\x12\x0e\n" +
1770 "\x02id\x18\x01 \x01(\x03R\x02id\x12(\n" +
1771 "\x05state\x18\x02 \x01(\x0e2\x12.hold.InvoiceStateR\x05state\x12\x12\n" +
1772 "\x04scid\x18\x03 \x01(\tR\x04scid\x12\x1d\n" +
1773 "\n" +
1774 "channel_id\x18\x04 \x01(\x04R\tchannelId\x12\x12\n" +
1775 "\x04msat\x18\x05 \x01(\x04R\x04msat\x12\x1d\n" +
1776 "\n" +
1777 "created_at\x18\x06 \x01(\x04R\tcreatedAt\x12$\n" +
1778 "\vcltv_expiry\x18\a \x01(\x04H\x00R\n" +
1779 "cltvExpiry\x88\x01\x01B\x0e\n" +
1780 "\f_cltv_expiry\"\xe3\x02\n" +
1781 "\aInvoice\x12\x0e\n" +
1782 "\x02id\x18\x01 \x01(\x03R\x02id\x12!\n" +
1783 "\fpayment_hash\x18\x02 \x01(\fR\vpaymentHash\x12\x1f\n" +
1784 "\bpreimage\x18\x03 \x01(\fH\x00R\bpreimage\x88\x01\x01\x12\x18\n" +
1785 "\ainvoice\x18\x04 \x01(\tR\ainvoice\x12(\n" +
1786 "\x05state\x18\x05 \x01(\x0e2\x12.hold.InvoiceStateR\x05state\x12\x1d\n" +
1787 "\n" +
1788 "created_at\x18\x06 \x01(\x04R\tcreatedAt\x12\"\n" +
1789 "\n" +
1790 "settled_at\x18\b \x01(\x04H\x01R\tsettledAt\x88\x01\x01\x12 \n" +
1791 "\x05htlcs\x18\a \x03(\v2\n" +
1792 ".hold.HtlcR\x05htlcs\x12+\n" +
1793 "\x0fmin_cltv_expiry\x18\t \x01(\x04H\x02R\rminCltvExpiry\x88\x01\x01B\v\n" +
1794 "\t_preimageB\r\n" +
1795 "\v_settled_atB\x12\n" +
1796 "\x10_min_cltv_expiry\"9\n" +
1797 "\fListResponse\x12)\n" +
1798 "\binvoices\x18\x01 \x03(\v2\r.hold.InvoiceR\binvoices\":\n" +
1799 "\rSettleRequest\x12)\n" +
1800 "\x10payment_preimage\x18\x01 \x01(\fR\x0fpaymentPreimage\"\x10\n" +
1801 "\x0eSettleResponse\"2\n" +
1802 "\rCancelRequest\x12!\n" +
1803 "\fpayment_hash\x18\x01 \x01(\fR\vpaymentHash\"\x10\n" +
1804 "\x0eCancelResponse\"-\n" +
1805 "\fCleanRequest\x12\x15\n" +
1806 "\x03age\x18\x01 \x01(\x04H\x00R\x03age\x88\x01\x01B\x06\n" +
1807 "\x04_age\")\n" +
1808 "\rCleanResponse\x12\x18\n" +
1809 "\acleaned\x18\x01 \x01(\x04R\acleaned\"1\n" +
1810 "\fTrackRequest\x12!\n" +
1811 "\fpayment_hash\x18\x01 \x01(\fR\vpaymentHash\"9\n" +
1812 "\rTrackResponse\x12(\n" +
1813 "\x05state\x18\x01 \x01(\x0e2\x12.hold.InvoiceStateR\x05state\"8\n" +
1814 "\x0fTrackAllRequest\x12%\n" +
1815 "\x0epayment_hashes\x18\x01 \x03(\fR\rpaymentHashes\"w\n" +
1816 "\x10TrackAllResponse\x12!\n" +
1817 "\fpayment_hash\x18\x01 \x01(\fR\vpaymentHash\x12\x16\n" +
1818 "\x06bolt11\x18\x02 \x01(\tR\x06bolt11\x12(\n" +
1819 "\x05state\x18\x03 \x01(\x0e2\x12.hold.InvoiceStateR\x05state\"\xcf\a\n" +
1820 "\fOnionMessage\x12\x0e\n" +
1821 "\x02id\x18\x01 \x01(\x04R\x02id\x12#\n" +
1822 "\n" +
1823 "pathsecret\x18\x02 \x01(\fH\x00R\n" +
1824 "pathsecret\x88\x01\x01\x12U\n" +
1825 "\x11reply_blindedpath\x18\x03 \x01(\v2#.hold.OnionMessage.ReplyBlindedPathH\x01R\x10replyBlindedpath\x88\x01\x01\x12,\n" +
1826 "\x0finvoice_request\x18\x04 \x01(\fH\x02R\x0einvoiceRequest\x88\x01\x01\x12\x1d\n" +
1827 "\ainvoice\x18\x05 \x01(\fH\x03R\ainvoice\x88\x01\x01\x12(\n" +
1828 "\rinvoice_error\x18\x06 \x01(\fH\x04R\finvoiceError\x88\x01\x01\x12F\n" +
1829 "\x0eunknown_fields\x18\a \x03(\v2\x1f.hold.OnionMessage.UnknownFieldR\runknownFields\x1a\xde\x03\n" +
1830 "\x10ReplyBlindedPath\x12'\n" +
1831 "\rfirst_node_id\x18\x01 \x01(\fH\x00R\vfirstNodeId\x88\x01\x01\x12\"\n" +
1832 "\n" +
1833 "first_scid\x18\x02 \x01(\tH\x01R\tfirstScid\x88\x01\x01\x12)\n" +
1834 "\x0efirst_scid_dir\x18\x03 \x01(\x04H\x02R\ffirstScidDir\x88\x01\x01\x12)\n" +
1835 "\x0efirst_path_key\x18\x04 \x01(\fH\x03R\ffirstPathKey\x88\x01\x01\x12;\n" +
1836 "\x04hops\x18\x05 \x03(\v2'.hold.OnionMessage.ReplyBlindedPath.HopR\x04hops\x1a\xa2\x01\n" +
1837 "\x03Hop\x12+\n" +
1838 "\x0fblinded_node_id\x18\x01 \x01(\fH\x00R\rblindedNodeId\x88\x01\x01\x12=\n" +
1839 "\x18encrypted_recipient_data\x18\x02 \x01(\fH\x01R\x16encryptedRecipientData\x88\x01\x01B\x12\n" +
1840 "\x10_blinded_node_idB\x1b\n" +
1841 "\x19_encrypted_recipient_dataB\x10\n" +
1842 "\x0e_first_node_idB\r\n" +
1843 "\v_first_scidB\x11\n" +
1844 "\x0f_first_scid_dirB\x11\n" +
1845 "\x0f_first_path_key\x1a<\n" +
1846 "\fUnknownField\x12\x16\n" +
1847 "\x06number\x18\x01 \x01(\x04R\x06number\x12\x14\n" +
1848 "\x05value\x18\x02 \x01(\fR\x05valueB\r\n" +
1849 "\v_pathsecretB\x14\n" +
1850 "\x12_reply_blindedpathB\x12\n" +
1851 "\x10_invoice_requestB\n" +
1852 "\n" +
1853 "\b_invoiceB\x10\n" +
1854 "\x0e_invoice_error\"P\n" +
1855 "\x14OnionMessageResponse\x12\x0e\n" +
1856 "\x02id\x18\x01 \x01(\x04R\x02id\x12(\n" +
1857 "\x06action\x18\x02 \x01(\x0e2\x10.hold.HookActionR\x06action*'\n" +
1858 "\n" +
1859 "HookAction\x12\f\n" +
1860 "\bContinue\x10\x00\x12\v\n" +
1861 "\aResolve\x10\x01*A\n" +
1862 "\fInvoiceState\x12\n" +
1863 "\n" +
1864 "\x06UNPAID\x10\x00\x12\f\n" +
1865 "\bACCEPTED\x10\x01\x12\b\n" +
1866 "\x04PAID\x10\x02\x12\r\n" +
1867 "\tCANCELLED\x10\x032\xbe\x04\n" +
1868 "\x04Hold\x126\n" +
1869 "\aGetInfo\x12\x14.hold.GetInfoRequest\x1a\x15.hold.GetInfoResponse\x128\n" +
1870 "\aInvoice\x12\x14.hold.InvoiceRequest\x1a\x15.hold.InvoiceResponse\"\x00\x125\n" +
1871 "\x06Inject\x12\x13.hold.InjectRequest\x1a\x14.hold.InjectResponse\"\x00\x12/\n" +
1872 "\x04List\x12\x11.hold.ListRequest\x1a\x12.hold.ListResponse\"\x00\x125\n" +
1873 "\x06Settle\x12\x13.hold.SettleRequest\x1a\x14.hold.SettleResponse\"\x00\x125\n" +
1874 "\x06Cancel\x12\x13.hold.CancelRequest\x1a\x14.hold.CancelResponse\"\x00\x122\n" +
1875 "\x05Clean\x12\x12.hold.CleanRequest\x1a\x13.hold.CleanResponse\"\x00\x124\n" +
1876 "\x05Track\x12\x12.hold.TrackRequest\x1a\x13.hold.TrackResponse\"\x000\x01\x12=\n" +
1877 "\bTrackAll\x12\x15.hold.TrackAllRequest\x1a\x16.hold.TrackAllResponse\"\x000\x01\x12E\n" +
1878 "\rOnionMessages\x12\x1a.hold.OnionMessageResponse\x1a\x12.hold.OnionMessage\"\x00(\x010\x01b\x06proto3"
1879
1880 var (
1881 file_hold_proto_rawDescOnce sync.Once
1882 file_hold_proto_rawDescData []byte
1883 )
1884
1885 func file_hold_proto_rawDescGZIP() []byte {
1886 file_hold_proto_rawDescOnce.Do(func() {
1887 file_hold_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_hold_proto_rawDesc), len(file_hold_proto_rawDesc)))
1888 })
1889 return file_hold_proto_rawDescData
1890 }
1891
1892 var file_hold_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1893 var file_hold_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
1894 var file_hold_proto_goTypes = []any{
1895 (HookAction)(0), // 0: hold.HookAction
1896 (InvoiceState)(0), // 1: hold.InvoiceState
1897 (*GetInfoRequest)(nil), // 2: hold.GetInfoRequest
1898 (*GetInfoResponse)(nil), // 3: hold.GetInfoResponse
1899 (*Hop)(nil), // 4: hold.Hop
1900 (*RoutingHint)(nil), // 5: hold.RoutingHint
1901 (*InvoiceRequest)(nil), // 6: hold.InvoiceRequest
1902 (*InvoiceResponse)(nil), // 7: hold.InvoiceResponse
1903 (*InjectRequest)(nil), // 8: hold.InjectRequest
1904 (*InjectResponse)(nil), // 9: hold.InjectResponse
1905 (*ListRequest)(nil), // 10: hold.ListRequest
1906 (*Htlc)(nil), // 11: hold.Htlc
1907 (*Invoice)(nil), // 12: hold.Invoice
1908 (*ListResponse)(nil), // 13: hold.ListResponse
1909 (*SettleRequest)(nil), // 14: hold.SettleRequest
1910 (*SettleResponse)(nil), // 15: hold.SettleResponse
1911 (*CancelRequest)(nil), // 16: hold.CancelRequest
1912 (*CancelResponse)(nil), // 17: hold.CancelResponse
1913 (*CleanRequest)(nil), // 18: hold.CleanRequest
1914 (*CleanResponse)(nil), // 19: hold.CleanResponse
1915 (*TrackRequest)(nil), // 20: hold.TrackRequest
1916 (*TrackResponse)(nil), // 21: hold.TrackResponse
1917 (*TrackAllRequest)(nil), // 22: hold.TrackAllRequest
1918 (*TrackAllResponse)(nil), // 23: hold.TrackAllResponse
1919 (*OnionMessage)(nil), // 24: hold.OnionMessage
1920 (*OnionMessageResponse)(nil), // 25: hold.OnionMessageResponse
1921 (*ListRequest_Pagination)(nil), // 26: hold.ListRequest.Pagination
1922 (*OnionMessage_ReplyBlindedPath)(nil), // 27: hold.OnionMessage.ReplyBlindedPath
1923 (*OnionMessage_UnknownField)(nil), // 28: hold.OnionMessage.UnknownField
1924 (*OnionMessage_ReplyBlindedPath_Hop)(nil), // 29: hold.OnionMessage.ReplyBlindedPath.Hop
1925 }
1926 var file_hold_proto_depIdxs = []int32{
1927 4, // 0: hold.RoutingHint.hops:type_name -> hold.Hop
1928 5, // 1: hold.InvoiceRequest.routing_hints:type_name -> hold.RoutingHint
1929 26, // 2: hold.ListRequest.pagination:type_name -> hold.ListRequest.Pagination
1930 1, // 3: hold.Htlc.state:type_name -> hold.InvoiceState
1931 1, // 4: hold.Invoice.state:type_name -> hold.InvoiceState
1932 11, // 5: hold.Invoice.htlcs:type_name -> hold.Htlc
1933 12, // 6: hold.ListResponse.invoices:type_name -> hold.Invoice
1934 1, // 7: hold.TrackResponse.state:type_name -> hold.InvoiceState
1935 1, // 8: hold.TrackAllResponse.state:type_name -> hold.InvoiceState
1936 27, // 9: hold.OnionMessage.reply_blindedpath:type_name -> hold.OnionMessage.ReplyBlindedPath
1937 28, // 10: hold.OnionMessage.unknown_fields:type_name -> hold.OnionMessage.UnknownField
1938 0, // 11: hold.OnionMessageResponse.action:type_name -> hold.HookAction
1939 29, // 12: hold.OnionMessage.ReplyBlindedPath.hops:type_name -> hold.OnionMessage.ReplyBlindedPath.Hop
1940 2, // 13: hold.Hold.GetInfo:input_type -> hold.GetInfoRequest
1941 6, // 14: hold.Hold.Invoice:input_type -> hold.InvoiceRequest
1942 8, // 15: hold.Hold.Inject:input_type -> hold.InjectRequest
1943 10, // 16: hold.Hold.List:input_type -> hold.ListRequest
1944 14, // 17: hold.Hold.Settle:input_type -> hold.SettleRequest
1945 16, // 18: hold.Hold.Cancel:input_type -> hold.CancelRequest
1946 18, // 19: hold.Hold.Clean:input_type -> hold.CleanRequest
1947 20, // 20: hold.Hold.Track:input_type -> hold.TrackRequest
1948 22, // 21: hold.Hold.TrackAll:input_type -> hold.TrackAllRequest
1949 25, // 22: hold.Hold.OnionMessages:input_type -> hold.OnionMessageResponse
1950 3, // 23: hold.Hold.GetInfo:output_type -> hold.GetInfoResponse
1951 7, // 24: hold.Hold.Invoice:output_type -> hold.InvoiceResponse
1952 9, // 25: hold.Hold.Inject:output_type -> hold.InjectResponse
1953 13, // 26: hold.Hold.List:output_type -> hold.ListResponse
1954 15, // 27: hold.Hold.Settle:output_type -> hold.SettleResponse
1955 17, // 28: hold.Hold.Cancel:output_type -> hold.CancelResponse
1956 19, // 29: hold.Hold.Clean:output_type -> hold.CleanResponse
1957 21, // 30: hold.Hold.Track:output_type -> hold.TrackResponse
1958 23, // 31: hold.Hold.TrackAll:output_type -> hold.TrackAllResponse
1959 24, // 32: hold.Hold.OnionMessages:output_type -> hold.OnionMessage
1960 23, // [23:33] is the sub-list for method output_type
1961 13, // [13:23] is the sub-list for method input_type
1962 13, // [13:13] is the sub-list for extension type_name
1963 13, // [13:13] is the sub-list for extension extendee
1964 0, // [0:13] is the sub-list for field type_name
1965 }
1966
1967 func init() { file_hold_proto_init() }
1968 func file_hold_proto_init() {
1969 if File_hold_proto != nil {
1970 return
1971 }
1972 file_hold_proto_msgTypes[4].OneofWrappers = []any{
1973 (*InvoiceRequest_Memo)(nil),
1974 (*InvoiceRequest_Hash)(nil),
1975 }
1976 file_hold_proto_msgTypes[6].OneofWrappers = []any{}
1977 file_hold_proto_msgTypes[8].OneofWrappers = []any{
1978 (*ListRequest_PaymentHash)(nil),
1979 (*ListRequest_Pagination_)(nil),
1980 }
1981 file_hold_proto_msgTypes[9].OneofWrappers = []any{}
1982 file_hold_proto_msgTypes[10].OneofWrappers = []any{}
1983 file_hold_proto_msgTypes[16].OneofWrappers = []any{}
1984 file_hold_proto_msgTypes[22].OneofWrappers = []any{}
1985 file_hold_proto_msgTypes[25].OneofWrappers = []any{}
1986 file_hold_proto_msgTypes[27].OneofWrappers = []any{}
1987 type x struct{}
1988 out := protoimpl.TypeBuilder{
1989 File: protoimpl.DescBuilder{
1990 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1991 RawDescriptor: unsafe.Slice(unsafe.StringData(file_hold_proto_rawDesc), len(file_hold_proto_rawDesc)),
1992 NumEnums: 2,
1993 NumMessages: 28,
1994 NumExtensions: 0,
1995 NumServices: 1,
1996 },
1997 GoTypes: file_hold_proto_goTypes,
1998 DependencyIndexes: file_hold_proto_depIdxs,
1999 EnumInfos: file_hold_proto_enumTypes,
2000 MessageInfos: file_hold_proto_msgTypes,
2001 }.Build()
2002 File_hold_proto = out.File
2003 file_hold_proto_goTypes = nil
2004 file_hold_proto_depIdxs = nil
2005 }
2006