• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13412100018

19 Feb 2025 12:05PM UTC coverage: 44.914% (-13.9%) from 58.794%
13412100018

Pull #9521

github

web-flow
Merge 861d6970e into 0e8786348
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

101023 of 224923 relevant lines covered (44.91%)

19479.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

2.74
/lnrpc/wtclientrpc/wtclient.pb.go
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
//         protoc-gen-go v1.33.0
4
//         protoc        v3.21.12
5
// source: wtclientrpc/wtclient.proto
6

7
package wtclientrpc
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
)
15

16
const (
17
        // Verify that this generated code is sufficiently up-to-date.
18
        _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
        // Verify that runtime/protoimpl is sufficiently up-to-date.
20
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
)
22

23
type PolicyType int32
24

25
const (
26
        // Selects the policy from the legacy tower client.
27
        PolicyType_LEGACY PolicyType = 0
28
        // Selects the policy from the anchor tower client.
29
        PolicyType_ANCHOR PolicyType = 1
30
        // Selects the policy from the taproot tower client.
31
        PolicyType_TAPROOT PolicyType = 2
32
)
33

34
// Enum value maps for PolicyType.
35
var (
36
        PolicyType_name = map[int32]string{
37
                0: "LEGACY",
38
                1: "ANCHOR",
39
                2: "TAPROOT",
40
        }
41
        PolicyType_value = map[string]int32{
42
                "LEGACY":  0,
43
                "ANCHOR":  1,
44
                "TAPROOT": 2,
45
        }
46
)
47

48
func (x PolicyType) Enum() *PolicyType {
×
49
        p := new(PolicyType)
×
50
        *p = x
×
51
        return p
×
52
}
×
53

54
func (x PolicyType) String() string {
×
55
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
56
}
×
57

58
func (PolicyType) Descriptor() protoreflect.EnumDescriptor {
×
59
        return file_wtclientrpc_wtclient_proto_enumTypes[0].Descriptor()
×
60
}
×
61

62
func (PolicyType) Type() protoreflect.EnumType {
×
63
        return &file_wtclientrpc_wtclient_proto_enumTypes[0]
×
64
}
×
65

66
func (x PolicyType) Number() protoreflect.EnumNumber {
×
67
        return protoreflect.EnumNumber(x)
×
68
}
×
69

70
// Deprecated: Use PolicyType.Descriptor instead.
71
func (PolicyType) EnumDescriptor() ([]byte, []int) {
×
72
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{0}
×
73
}
×
74

75
type AddTowerRequest struct {
76
        state         protoimpl.MessageState
77
        sizeCache     protoimpl.SizeCache
78
        unknownFields protoimpl.UnknownFields
79

80
        // The identifying public key of the watchtower to add.
81
        Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
82
        // A network address the watchtower is reachable over.
83
        Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
84
}
85

86
func (x *AddTowerRequest) Reset() {
×
87
        *x = AddTowerRequest{}
×
88
        if protoimpl.UnsafeEnabled {
×
89
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[0]
×
90
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
91
                ms.StoreMessageInfo(mi)
×
92
        }
×
93
}
94

95
func (x *AddTowerRequest) String() string {
×
96
        return protoimpl.X.MessageStringOf(x)
×
97
}
×
98

99
func (*AddTowerRequest) ProtoMessage() {}
×
100

101
func (x *AddTowerRequest) ProtoReflect() protoreflect.Message {
×
102
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[0]
×
103
        if protoimpl.UnsafeEnabled && x != nil {
×
104
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
105
                if ms.LoadMessageInfo() == nil {
×
106
                        ms.StoreMessageInfo(mi)
×
107
                }
×
108
                return ms
×
109
        }
110
        return mi.MessageOf(x)
×
111
}
112

113
// Deprecated: Use AddTowerRequest.ProtoReflect.Descriptor instead.
114
func (*AddTowerRequest) Descriptor() ([]byte, []int) {
×
115
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{0}
×
116
}
×
117

118
func (x *AddTowerRequest) GetPubkey() []byte {
×
119
        if x != nil {
×
120
                return x.Pubkey
×
121
        }
×
122
        return nil
×
123
}
124

125
func (x *AddTowerRequest) GetAddress() string {
×
126
        if x != nil {
×
127
                return x.Address
×
128
        }
×
129
        return ""
×
130
}
131

132
type AddTowerResponse struct {
133
        state         protoimpl.MessageState
134
        sizeCache     protoimpl.SizeCache
135
        unknownFields protoimpl.UnknownFields
136
}
137

138
func (x *AddTowerResponse) Reset() {
×
139
        *x = AddTowerResponse{}
×
140
        if protoimpl.UnsafeEnabled {
×
141
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[1]
×
142
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
143
                ms.StoreMessageInfo(mi)
×
144
        }
×
145
}
146

147
func (x *AddTowerResponse) String() string {
×
148
        return protoimpl.X.MessageStringOf(x)
×
149
}
×
150

151
func (*AddTowerResponse) ProtoMessage() {}
×
152

153
func (x *AddTowerResponse) ProtoReflect() protoreflect.Message {
×
154
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[1]
×
155
        if protoimpl.UnsafeEnabled && x != nil {
×
156
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
157
                if ms.LoadMessageInfo() == nil {
×
158
                        ms.StoreMessageInfo(mi)
×
159
                }
×
160
                return ms
×
161
        }
162
        return mi.MessageOf(x)
×
163
}
164

165
// Deprecated: Use AddTowerResponse.ProtoReflect.Descriptor instead.
166
func (*AddTowerResponse) Descriptor() ([]byte, []int) {
×
167
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{1}
×
168
}
×
169

170
type RemoveTowerRequest struct {
171
        state         protoimpl.MessageState
172
        sizeCache     protoimpl.SizeCache
173
        unknownFields protoimpl.UnknownFields
174

175
        // The identifying public key of the watchtower to remove.
176
        Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
177
        // If set, then the record for this address will be removed, indicating that is
178
        // is stale. Otherwise, the watchtower will no longer be used for future
179
        // session negotiations and backups.
180
        Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
181
}
182

183
func (x *RemoveTowerRequest) Reset() {
×
184
        *x = RemoveTowerRequest{}
×
185
        if protoimpl.UnsafeEnabled {
×
186
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[2]
×
187
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
188
                ms.StoreMessageInfo(mi)
×
189
        }
×
190
}
191

192
func (x *RemoveTowerRequest) String() string {
×
193
        return protoimpl.X.MessageStringOf(x)
×
194
}
×
195

196
func (*RemoveTowerRequest) ProtoMessage() {}
×
197

198
func (x *RemoveTowerRequest) ProtoReflect() protoreflect.Message {
×
199
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[2]
×
200
        if protoimpl.UnsafeEnabled && x != nil {
×
201
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
202
                if ms.LoadMessageInfo() == nil {
×
203
                        ms.StoreMessageInfo(mi)
×
204
                }
×
205
                return ms
×
206
        }
207
        return mi.MessageOf(x)
×
208
}
209

210
// Deprecated: Use RemoveTowerRequest.ProtoReflect.Descriptor instead.
211
func (*RemoveTowerRequest) Descriptor() ([]byte, []int) {
×
212
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{2}
×
213
}
×
214

215
func (x *RemoveTowerRequest) GetPubkey() []byte {
×
216
        if x != nil {
×
217
                return x.Pubkey
×
218
        }
×
219
        return nil
×
220
}
221

222
func (x *RemoveTowerRequest) GetAddress() string {
×
223
        if x != nil {
×
224
                return x.Address
×
225
        }
×
226
        return ""
×
227
}
228

229
type RemoveTowerResponse struct {
230
        state         protoimpl.MessageState
231
        sizeCache     protoimpl.SizeCache
232
        unknownFields protoimpl.UnknownFields
233
}
234

235
func (x *RemoveTowerResponse) Reset() {
×
236
        *x = RemoveTowerResponse{}
×
237
        if protoimpl.UnsafeEnabled {
×
238
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[3]
×
239
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
240
                ms.StoreMessageInfo(mi)
×
241
        }
×
242
}
243

244
func (x *RemoveTowerResponse) String() string {
×
245
        return protoimpl.X.MessageStringOf(x)
×
246
}
×
247

248
func (*RemoveTowerResponse) ProtoMessage() {}
×
249

250
func (x *RemoveTowerResponse) ProtoReflect() protoreflect.Message {
×
251
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[3]
×
252
        if protoimpl.UnsafeEnabled && x != nil {
×
253
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
254
                if ms.LoadMessageInfo() == nil {
×
255
                        ms.StoreMessageInfo(mi)
×
256
                }
×
257
                return ms
×
258
        }
259
        return mi.MessageOf(x)
×
260
}
261

262
// Deprecated: Use RemoveTowerResponse.ProtoReflect.Descriptor instead.
263
func (*RemoveTowerResponse) Descriptor() ([]byte, []int) {
×
264
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{3}
×
265
}
×
266

267
type DeactivateTowerRequest struct {
268
        state         protoimpl.MessageState
269
        sizeCache     protoimpl.SizeCache
270
        unknownFields protoimpl.UnknownFields
271

272
        // The identifying public key of the watchtower to deactivate.
273
        Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
274
}
275

276
func (x *DeactivateTowerRequest) Reset() {
×
277
        *x = DeactivateTowerRequest{}
×
278
        if protoimpl.UnsafeEnabled {
×
279
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[4]
×
280
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
281
                ms.StoreMessageInfo(mi)
×
282
        }
×
283
}
284

285
func (x *DeactivateTowerRequest) String() string {
×
286
        return protoimpl.X.MessageStringOf(x)
×
287
}
×
288

289
func (*DeactivateTowerRequest) ProtoMessage() {}
×
290

291
func (x *DeactivateTowerRequest) ProtoReflect() protoreflect.Message {
×
292
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[4]
×
293
        if protoimpl.UnsafeEnabled && x != nil {
×
294
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
295
                if ms.LoadMessageInfo() == nil {
×
296
                        ms.StoreMessageInfo(mi)
×
297
                }
×
298
                return ms
×
299
        }
300
        return mi.MessageOf(x)
×
301
}
302

303
// Deprecated: Use DeactivateTowerRequest.ProtoReflect.Descriptor instead.
304
func (*DeactivateTowerRequest) Descriptor() ([]byte, []int) {
×
305
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{4}
×
306
}
×
307

308
func (x *DeactivateTowerRequest) GetPubkey() []byte {
×
309
        if x != nil {
×
310
                return x.Pubkey
×
311
        }
×
312
        return nil
×
313
}
314

315
type DeactivateTowerResponse struct {
316
        state         protoimpl.MessageState
317
        sizeCache     protoimpl.SizeCache
318
        unknownFields protoimpl.UnknownFields
319

320
        // A string describing the action that took place.
321
        Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
322
}
323

324
func (x *DeactivateTowerResponse) Reset() {
×
325
        *x = DeactivateTowerResponse{}
×
326
        if protoimpl.UnsafeEnabled {
×
327
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[5]
×
328
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
329
                ms.StoreMessageInfo(mi)
×
330
        }
×
331
}
332

333
func (x *DeactivateTowerResponse) String() string {
×
334
        return protoimpl.X.MessageStringOf(x)
×
335
}
×
336

337
func (*DeactivateTowerResponse) ProtoMessage() {}
×
338

339
func (x *DeactivateTowerResponse) ProtoReflect() protoreflect.Message {
×
340
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[5]
×
341
        if protoimpl.UnsafeEnabled && x != nil {
×
342
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
343
                if ms.LoadMessageInfo() == nil {
×
344
                        ms.StoreMessageInfo(mi)
×
345
                }
×
346
                return ms
×
347
        }
348
        return mi.MessageOf(x)
×
349
}
350

351
// Deprecated: Use DeactivateTowerResponse.ProtoReflect.Descriptor instead.
352
func (*DeactivateTowerResponse) Descriptor() ([]byte, []int) {
×
353
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{5}
×
354
}
×
355

356
func (x *DeactivateTowerResponse) GetStatus() string {
×
357
        if x != nil {
×
358
                return x.Status
×
359
        }
×
360
        return ""
×
361
}
362

363
type TerminateSessionRequest struct {
364
        state         protoimpl.MessageState
365
        sizeCache     protoimpl.SizeCache
366
        unknownFields protoimpl.UnknownFields
367

368
        // The ID of the session that should be terminated.
369
        SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
370
}
371

372
func (x *TerminateSessionRequest) Reset() {
×
373
        *x = TerminateSessionRequest{}
×
374
        if protoimpl.UnsafeEnabled {
×
375
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[6]
×
376
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
377
                ms.StoreMessageInfo(mi)
×
378
        }
×
379
}
380

381
func (x *TerminateSessionRequest) String() string {
×
382
        return protoimpl.X.MessageStringOf(x)
×
383
}
×
384

385
func (*TerminateSessionRequest) ProtoMessage() {}
×
386

387
func (x *TerminateSessionRequest) ProtoReflect() protoreflect.Message {
×
388
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[6]
×
389
        if protoimpl.UnsafeEnabled && x != nil {
×
390
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
391
                if ms.LoadMessageInfo() == nil {
×
392
                        ms.StoreMessageInfo(mi)
×
393
                }
×
394
                return ms
×
395
        }
396
        return mi.MessageOf(x)
×
397
}
398

399
// Deprecated: Use TerminateSessionRequest.ProtoReflect.Descriptor instead.
400
func (*TerminateSessionRequest) Descriptor() ([]byte, []int) {
×
401
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{6}
×
402
}
×
403

404
func (x *TerminateSessionRequest) GetSessionId() []byte {
×
405
        if x != nil {
×
406
                return x.SessionId
×
407
        }
×
408
        return nil
×
409
}
410

411
type TerminateSessionResponse struct {
412
        state         protoimpl.MessageState
413
        sizeCache     protoimpl.SizeCache
414
        unknownFields protoimpl.UnknownFields
415

416
        // A string describing the action that took place.
417
        Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
418
}
419

420
func (x *TerminateSessionResponse) Reset() {
×
421
        *x = TerminateSessionResponse{}
×
422
        if protoimpl.UnsafeEnabled {
×
423
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[7]
×
424
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
425
                ms.StoreMessageInfo(mi)
×
426
        }
×
427
}
428

429
func (x *TerminateSessionResponse) String() string {
×
430
        return protoimpl.X.MessageStringOf(x)
×
431
}
×
432

433
func (*TerminateSessionResponse) ProtoMessage() {}
×
434

435
func (x *TerminateSessionResponse) ProtoReflect() protoreflect.Message {
×
436
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[7]
×
437
        if protoimpl.UnsafeEnabled && x != nil {
×
438
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
439
                if ms.LoadMessageInfo() == nil {
×
440
                        ms.StoreMessageInfo(mi)
×
441
                }
×
442
                return ms
×
443
        }
444
        return mi.MessageOf(x)
×
445
}
446

447
// Deprecated: Use TerminateSessionResponse.ProtoReflect.Descriptor instead.
448
func (*TerminateSessionResponse) Descriptor() ([]byte, []int) {
×
449
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{7}
×
450
}
×
451

452
func (x *TerminateSessionResponse) GetStatus() string {
×
453
        if x != nil {
×
454
                return x.Status
×
455
        }
×
456
        return ""
×
457
}
458

459
type GetTowerInfoRequest struct {
460
        state         protoimpl.MessageState
461
        sizeCache     protoimpl.SizeCache
462
        unknownFields protoimpl.UnknownFields
463

464
        // The identifying public key of the watchtower to retrieve information for.
465
        Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
466
        // Whether we should include sessions with the watchtower in the response.
467
        IncludeSessions bool `protobuf:"varint,2,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
468
        // Whether to exclude exhausted sessions in the response info. This option
469
        // is only meaningful if include_sessions is true.
470
        ExcludeExhaustedSessions bool `protobuf:"varint,3,opt,name=exclude_exhausted_sessions,json=excludeExhaustedSessions,proto3" json:"exclude_exhausted_sessions,omitempty"`
471
}
472

473
func (x *GetTowerInfoRequest) Reset() {
×
474
        *x = GetTowerInfoRequest{}
×
475
        if protoimpl.UnsafeEnabled {
×
476
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[8]
×
477
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
478
                ms.StoreMessageInfo(mi)
×
479
        }
×
480
}
481

482
func (x *GetTowerInfoRequest) String() string {
×
483
        return protoimpl.X.MessageStringOf(x)
×
484
}
×
485

486
func (*GetTowerInfoRequest) ProtoMessage() {}
×
487

488
func (x *GetTowerInfoRequest) ProtoReflect() protoreflect.Message {
×
489
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[8]
×
490
        if protoimpl.UnsafeEnabled && x != nil {
×
491
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
492
                if ms.LoadMessageInfo() == nil {
×
493
                        ms.StoreMessageInfo(mi)
×
494
                }
×
495
                return ms
×
496
        }
497
        return mi.MessageOf(x)
×
498
}
499

500
// Deprecated: Use GetTowerInfoRequest.ProtoReflect.Descriptor instead.
501
func (*GetTowerInfoRequest) Descriptor() ([]byte, []int) {
×
502
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{8}
×
503
}
×
504

505
func (x *GetTowerInfoRequest) GetPubkey() []byte {
×
506
        if x != nil {
×
507
                return x.Pubkey
×
508
        }
×
509
        return nil
×
510
}
511

512
func (x *GetTowerInfoRequest) GetIncludeSessions() bool {
×
513
        if x != nil {
×
514
                return x.IncludeSessions
×
515
        }
×
516
        return false
×
517
}
518

519
func (x *GetTowerInfoRequest) GetExcludeExhaustedSessions() bool {
×
520
        if x != nil {
×
521
                return x.ExcludeExhaustedSessions
×
522
        }
×
523
        return false
×
524
}
525

526
type TowerSession struct {
527
        state         protoimpl.MessageState
528
        sizeCache     protoimpl.SizeCache
529
        unknownFields protoimpl.UnknownFields
530

531
        // The total number of successful backups that have been made to the
532
        // watchtower session.
533
        NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,json=numBackups,proto3" json:"num_backups,omitempty"`
534
        // The total number of backups in the session that are currently pending to be
535
        // acknowledged by the watchtower.
536
        NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,json=numPendingBackups,proto3" json:"num_pending_backups,omitempty"`
537
        // The maximum number of backups allowed by the watchtower session.
538
        MaxBackups uint32 `protobuf:"varint,3,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
539
        // Deprecated, use sweep_sat_per_vbyte.
540
        // The fee rate, in satoshis per vbyte, that will be used by the watchtower for
541
        // the justice transaction in the event of a channel breach.
542
        //
543
        // Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
544
        SweepSatPerByte uint32 `protobuf:"varint,4,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"`
545
        // The fee rate, in satoshis per vbyte, that will be used by the watchtower for
546
        // the justice transaction in the event of a channel breach.
547
        SweepSatPerVbyte uint32 `protobuf:"varint,5,opt,name=sweep_sat_per_vbyte,json=sweepSatPerVbyte,proto3" json:"sweep_sat_per_vbyte,omitempty"`
548
        // The ID of the session.
549
        Id []byte `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
550
}
551

552
func (x *TowerSession) Reset() {
×
553
        *x = TowerSession{}
×
554
        if protoimpl.UnsafeEnabled {
×
555
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[9]
×
556
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
557
                ms.StoreMessageInfo(mi)
×
558
        }
×
559
}
560

561
func (x *TowerSession) String() string {
×
562
        return protoimpl.X.MessageStringOf(x)
×
563
}
×
564

565
func (*TowerSession) ProtoMessage() {}
×
566

567
func (x *TowerSession) ProtoReflect() protoreflect.Message {
×
568
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[9]
×
569
        if protoimpl.UnsafeEnabled && x != nil {
×
570
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
571
                if ms.LoadMessageInfo() == nil {
×
572
                        ms.StoreMessageInfo(mi)
×
573
                }
×
574
                return ms
×
575
        }
576
        return mi.MessageOf(x)
×
577
}
578

579
// Deprecated: Use TowerSession.ProtoReflect.Descriptor instead.
580
func (*TowerSession) Descriptor() ([]byte, []int) {
×
581
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{9}
×
582
}
×
583

584
func (x *TowerSession) GetNumBackups() uint32 {
×
585
        if x != nil {
×
586
                return x.NumBackups
×
587
        }
×
588
        return 0
×
589
}
590

591
func (x *TowerSession) GetNumPendingBackups() uint32 {
×
592
        if x != nil {
×
593
                return x.NumPendingBackups
×
594
        }
×
595
        return 0
×
596
}
597

598
func (x *TowerSession) GetMaxBackups() uint32 {
×
599
        if x != nil {
×
600
                return x.MaxBackups
×
601
        }
×
602
        return 0
×
603
}
604

605
// Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
606
func (x *TowerSession) GetSweepSatPerByte() uint32 {
×
607
        if x != nil {
×
608
                return x.SweepSatPerByte
×
609
        }
×
610
        return 0
×
611
}
612

613
func (x *TowerSession) GetSweepSatPerVbyte() uint32 {
×
614
        if x != nil {
×
615
                return x.SweepSatPerVbyte
×
616
        }
×
617
        return 0
×
618
}
619

620
func (x *TowerSession) GetId() []byte {
×
621
        if x != nil {
×
622
                return x.Id
×
623
        }
×
624
        return nil
×
625
}
626

627
type Tower struct {
628
        state         protoimpl.MessageState
629
        sizeCache     protoimpl.SizeCache
630
        unknownFields protoimpl.UnknownFields
631

632
        // The identifying public key of the watchtower.
633
        Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
634
        // The list of addresses the watchtower is reachable over.
635
        Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
636
        // Deprecated, use the active_session_candidate field under the
637
        // correct identifier in the client_type map.
638
        // Whether the watchtower is currently a candidate for new sessions.
639
        //
640
        // Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
641
        ActiveSessionCandidate bool `protobuf:"varint,3,opt,name=active_session_candidate,json=activeSessionCandidate,proto3" json:"active_session_candidate,omitempty"`
642
        // Deprecated, use the num_sessions field under the correct identifier
643
        // in the client_type map.
644
        // The number of sessions that have been negotiated with the watchtower.
645
        //
646
        // Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
647
        NumSessions uint32 `protobuf:"varint,4,opt,name=num_sessions,json=numSessions,proto3" json:"num_sessions,omitempty"`
648
        // Deprecated, use the sessions field under the correct identifier in the
649
        // client_type map.
650
        // The list of sessions that have been negotiated with the watchtower.
651
        //
652
        // Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
653
        Sessions []*TowerSession `protobuf:"bytes,5,rep,name=sessions,proto3" json:"sessions,omitempty"`
654
        // A list sessions held with the tower.
655
        SessionInfo []*TowerSessionInfo `protobuf:"bytes,6,rep,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"`
656
}
657

658
func (x *Tower) Reset() {
×
659
        *x = Tower{}
×
660
        if protoimpl.UnsafeEnabled {
×
661
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[10]
×
662
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
663
                ms.StoreMessageInfo(mi)
×
664
        }
×
665
}
666

667
func (x *Tower) String() string {
×
668
        return protoimpl.X.MessageStringOf(x)
×
669
}
×
670

671
func (*Tower) ProtoMessage() {}
×
672

673
func (x *Tower) ProtoReflect() protoreflect.Message {
×
674
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[10]
×
675
        if protoimpl.UnsafeEnabled && x != nil {
×
676
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
677
                if ms.LoadMessageInfo() == nil {
×
678
                        ms.StoreMessageInfo(mi)
×
679
                }
×
680
                return ms
×
681
        }
682
        return mi.MessageOf(x)
×
683
}
684

685
// Deprecated: Use Tower.ProtoReflect.Descriptor instead.
686
func (*Tower) Descriptor() ([]byte, []int) {
×
687
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{10}
×
688
}
×
689

690
func (x *Tower) GetPubkey() []byte {
×
691
        if x != nil {
×
692
                return x.Pubkey
×
693
        }
×
694
        return nil
×
695
}
696

697
func (x *Tower) GetAddresses() []string {
×
698
        if x != nil {
×
699
                return x.Addresses
×
700
        }
×
701
        return nil
×
702
}
703

704
// Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
705
func (x *Tower) GetActiveSessionCandidate() bool {
×
706
        if x != nil {
×
707
                return x.ActiveSessionCandidate
×
708
        }
×
709
        return false
×
710
}
711

712
// Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
713
func (x *Tower) GetNumSessions() uint32 {
×
714
        if x != nil {
×
715
                return x.NumSessions
×
716
        }
×
717
        return 0
×
718
}
719

720
// Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
721
func (x *Tower) GetSessions() []*TowerSession {
×
722
        if x != nil {
×
723
                return x.Sessions
×
724
        }
×
725
        return nil
×
726
}
727

728
func (x *Tower) GetSessionInfo() []*TowerSessionInfo {
×
729
        if x != nil {
×
730
                return x.SessionInfo
×
731
        }
×
732
        return nil
×
733
}
734

735
type TowerSessionInfo struct {
736
        state         protoimpl.MessageState
737
        sizeCache     protoimpl.SizeCache
738
        unknownFields protoimpl.UnknownFields
739

740
        // Whether the watchtower is currently a candidate for new sessions.
741
        ActiveSessionCandidate bool `protobuf:"varint,1,opt,name=active_session_candidate,json=activeSessionCandidate,proto3" json:"active_session_candidate,omitempty"`
742
        // The number of sessions that have been negotiated with the watchtower.
743
        NumSessions uint32 `protobuf:"varint,2,opt,name=num_sessions,json=numSessions,proto3" json:"num_sessions,omitempty"`
744
        // The list of sessions that have been negotiated with the watchtower.
745
        Sessions []*TowerSession `protobuf:"bytes,3,rep,name=sessions,proto3" json:"sessions,omitempty"`
746
        // The session's policy type.
747
        PolicyType PolicyType `protobuf:"varint,4,opt,name=policy_type,json=policyType,proto3,enum=wtclientrpc.PolicyType" json:"policy_type,omitempty"`
748
}
749

750
func (x *TowerSessionInfo) Reset() {
×
751
        *x = TowerSessionInfo{}
×
752
        if protoimpl.UnsafeEnabled {
×
753
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[11]
×
754
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
755
                ms.StoreMessageInfo(mi)
×
756
        }
×
757
}
758

759
func (x *TowerSessionInfo) String() string {
×
760
        return protoimpl.X.MessageStringOf(x)
×
761
}
×
762

763
func (*TowerSessionInfo) ProtoMessage() {}
×
764

765
func (x *TowerSessionInfo) ProtoReflect() protoreflect.Message {
×
766
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[11]
×
767
        if protoimpl.UnsafeEnabled && x != nil {
×
768
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
769
                if ms.LoadMessageInfo() == nil {
×
770
                        ms.StoreMessageInfo(mi)
×
771
                }
×
772
                return ms
×
773
        }
774
        return mi.MessageOf(x)
×
775
}
776

777
// Deprecated: Use TowerSessionInfo.ProtoReflect.Descriptor instead.
778
func (*TowerSessionInfo) Descriptor() ([]byte, []int) {
×
779
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{11}
×
780
}
×
781

782
func (x *TowerSessionInfo) GetActiveSessionCandidate() bool {
×
783
        if x != nil {
×
784
                return x.ActiveSessionCandidate
×
785
        }
×
786
        return false
×
787
}
788

789
func (x *TowerSessionInfo) GetNumSessions() uint32 {
×
790
        if x != nil {
×
791
                return x.NumSessions
×
792
        }
×
793
        return 0
×
794
}
795

796
func (x *TowerSessionInfo) GetSessions() []*TowerSession {
×
797
        if x != nil {
×
798
                return x.Sessions
×
799
        }
×
800
        return nil
×
801
}
802

803
func (x *TowerSessionInfo) GetPolicyType() PolicyType {
×
804
        if x != nil {
×
805
                return x.PolicyType
×
806
        }
×
807
        return PolicyType_LEGACY
×
808
}
809

810
type ListTowersRequest struct {
811
        state         protoimpl.MessageState
812
        sizeCache     protoimpl.SizeCache
813
        unknownFields protoimpl.UnknownFields
814

815
        // Whether we should include sessions with the watchtower in the response.
816
        IncludeSessions bool `protobuf:"varint,1,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
817
        // Whether to exclude exhausted sessions in the response info. This option
818
        // is only meaningful if include_sessions is true.
819
        ExcludeExhaustedSessions bool `protobuf:"varint,2,opt,name=exclude_exhausted_sessions,json=excludeExhaustedSessions,proto3" json:"exclude_exhausted_sessions,omitempty"`
820
}
821

822
func (x *ListTowersRequest) Reset() {
×
823
        *x = ListTowersRequest{}
×
824
        if protoimpl.UnsafeEnabled {
×
825
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[12]
×
826
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
827
                ms.StoreMessageInfo(mi)
×
828
        }
×
829
}
830

831
func (x *ListTowersRequest) String() string {
×
832
        return protoimpl.X.MessageStringOf(x)
×
833
}
×
834

835
func (*ListTowersRequest) ProtoMessage() {}
×
836

837
func (x *ListTowersRequest) ProtoReflect() protoreflect.Message {
×
838
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[12]
×
839
        if protoimpl.UnsafeEnabled && 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 ListTowersRequest.ProtoReflect.Descriptor instead.
850
func (*ListTowersRequest) Descriptor() ([]byte, []int) {
×
851
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{12}
×
852
}
×
853

854
func (x *ListTowersRequest) GetIncludeSessions() bool {
×
855
        if x != nil {
×
856
                return x.IncludeSessions
×
857
        }
×
858
        return false
×
859
}
860

861
func (x *ListTowersRequest) GetExcludeExhaustedSessions() bool {
×
862
        if x != nil {
×
863
                return x.ExcludeExhaustedSessions
×
864
        }
×
865
        return false
×
866
}
867

868
type ListTowersResponse struct {
869
        state         protoimpl.MessageState
870
        sizeCache     protoimpl.SizeCache
871
        unknownFields protoimpl.UnknownFields
872

873
        // The list of watchtowers available for new backups.
874
        Towers []*Tower `protobuf:"bytes,1,rep,name=towers,proto3" json:"towers,omitempty"`
875
}
876

877
func (x *ListTowersResponse) Reset() {
×
878
        *x = ListTowersResponse{}
×
879
        if protoimpl.UnsafeEnabled {
×
880
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[13]
×
881
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
882
                ms.StoreMessageInfo(mi)
×
883
        }
×
884
}
885

886
func (x *ListTowersResponse) String() string {
×
887
        return protoimpl.X.MessageStringOf(x)
×
888
}
×
889

890
func (*ListTowersResponse) ProtoMessage() {}
×
891

892
func (x *ListTowersResponse) ProtoReflect() protoreflect.Message {
×
893
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[13]
×
894
        if protoimpl.UnsafeEnabled && 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 ListTowersResponse.ProtoReflect.Descriptor instead.
905
func (*ListTowersResponse) Descriptor() ([]byte, []int) {
×
906
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{13}
×
907
}
×
908

909
func (x *ListTowersResponse) GetTowers() []*Tower {
×
910
        if x != nil {
×
911
                return x.Towers
×
912
        }
×
913
        return nil
×
914
}
915

916
type StatsRequest struct {
917
        state         protoimpl.MessageState
918
        sizeCache     protoimpl.SizeCache
919
        unknownFields protoimpl.UnknownFields
920
}
921

922
func (x *StatsRequest) Reset() {
×
923
        *x = StatsRequest{}
×
924
        if protoimpl.UnsafeEnabled {
×
925
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[14]
×
926
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
927
                ms.StoreMessageInfo(mi)
×
928
        }
×
929
}
930

931
func (x *StatsRequest) String() string {
×
932
        return protoimpl.X.MessageStringOf(x)
×
933
}
×
934

935
func (*StatsRequest) ProtoMessage() {}
×
936

937
func (x *StatsRequest) ProtoReflect() protoreflect.Message {
×
938
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[14]
×
939
        if protoimpl.UnsafeEnabled && x != nil {
×
940
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
941
                if ms.LoadMessageInfo() == nil {
×
942
                        ms.StoreMessageInfo(mi)
×
943
                }
×
944
                return ms
×
945
        }
946
        return mi.MessageOf(x)
×
947
}
948

949
// Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.
950
func (*StatsRequest) Descriptor() ([]byte, []int) {
×
951
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{14}
×
952
}
×
953

954
type StatsResponse struct {
955
        state         protoimpl.MessageState
956
        sizeCache     protoimpl.SizeCache
957
        unknownFields protoimpl.UnknownFields
958

959
        // The total number of backups made to all active and exhausted watchtower
960
        // sessions.
961
        NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,json=numBackups,proto3" json:"num_backups,omitempty"`
962
        // The total number of backups that are pending to be acknowledged by all
963
        // active and exhausted watchtower sessions.
964
        NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,json=numPendingBackups,proto3" json:"num_pending_backups,omitempty"`
965
        // The total number of backups that all active and exhausted watchtower
966
        // sessions have failed to acknowledge.
967
        NumFailedBackups uint32 `protobuf:"varint,3,opt,name=num_failed_backups,json=numFailedBackups,proto3" json:"num_failed_backups,omitempty"`
968
        // The total number of new sessions made to watchtowers.
969
        NumSessionsAcquired uint32 `protobuf:"varint,4,opt,name=num_sessions_acquired,json=numSessionsAcquired,proto3" json:"num_sessions_acquired,omitempty"`
970
        // The total number of watchtower sessions that have been exhausted.
971
        NumSessionsExhausted uint32 `protobuf:"varint,5,opt,name=num_sessions_exhausted,json=numSessionsExhausted,proto3" json:"num_sessions_exhausted,omitempty"`
972
}
973

974
func (x *StatsResponse) Reset() {
×
975
        *x = StatsResponse{}
×
976
        if protoimpl.UnsafeEnabled {
×
977
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[15]
×
978
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
979
                ms.StoreMessageInfo(mi)
×
980
        }
×
981
}
982

983
func (x *StatsResponse) String() string {
×
984
        return protoimpl.X.MessageStringOf(x)
×
985
}
×
986

987
func (*StatsResponse) ProtoMessage() {}
×
988

989
func (x *StatsResponse) ProtoReflect() protoreflect.Message {
×
990
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[15]
×
991
        if protoimpl.UnsafeEnabled && x != nil {
×
992
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
993
                if ms.LoadMessageInfo() == nil {
×
994
                        ms.StoreMessageInfo(mi)
×
995
                }
×
996
                return ms
×
997
        }
998
        return mi.MessageOf(x)
×
999
}
1000

1001
// Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
1002
func (*StatsResponse) Descriptor() ([]byte, []int) {
×
1003
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{15}
×
1004
}
×
1005

1006
func (x *StatsResponse) GetNumBackups() uint32 {
×
1007
        if x != nil {
×
1008
                return x.NumBackups
×
1009
        }
×
1010
        return 0
×
1011
}
1012

1013
func (x *StatsResponse) GetNumPendingBackups() uint32 {
×
1014
        if x != nil {
×
1015
                return x.NumPendingBackups
×
1016
        }
×
1017
        return 0
×
1018
}
1019

1020
func (x *StatsResponse) GetNumFailedBackups() uint32 {
×
1021
        if x != nil {
×
1022
                return x.NumFailedBackups
×
1023
        }
×
1024
        return 0
×
1025
}
1026

1027
func (x *StatsResponse) GetNumSessionsAcquired() uint32 {
×
1028
        if x != nil {
×
1029
                return x.NumSessionsAcquired
×
1030
        }
×
1031
        return 0
×
1032
}
1033

1034
func (x *StatsResponse) GetNumSessionsExhausted() uint32 {
×
1035
        if x != nil {
×
1036
                return x.NumSessionsExhausted
×
1037
        }
×
1038
        return 0
×
1039
}
1040

1041
type PolicyRequest struct {
1042
        state         protoimpl.MessageState
1043
        sizeCache     protoimpl.SizeCache
1044
        unknownFields protoimpl.UnknownFields
1045

1046
        // The client type from which to retrieve the active offering policy.
1047
        PolicyType PolicyType `protobuf:"varint,1,opt,name=policy_type,json=policyType,proto3,enum=wtclientrpc.PolicyType" json:"policy_type,omitempty"`
1048
}
1049

1050
func (x *PolicyRequest) Reset() {
×
1051
        *x = PolicyRequest{}
×
1052
        if protoimpl.UnsafeEnabled {
×
1053
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[16]
×
1054
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1055
                ms.StoreMessageInfo(mi)
×
1056
        }
×
1057
}
1058

1059
func (x *PolicyRequest) String() string {
×
1060
        return protoimpl.X.MessageStringOf(x)
×
1061
}
×
1062

1063
func (*PolicyRequest) ProtoMessage() {}
×
1064

1065
func (x *PolicyRequest) ProtoReflect() protoreflect.Message {
×
1066
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[16]
×
1067
        if protoimpl.UnsafeEnabled && x != nil {
×
1068
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1069
                if ms.LoadMessageInfo() == nil {
×
1070
                        ms.StoreMessageInfo(mi)
×
1071
                }
×
1072
                return ms
×
1073
        }
1074
        return mi.MessageOf(x)
×
1075
}
1076

1077
// Deprecated: Use PolicyRequest.ProtoReflect.Descriptor instead.
1078
func (*PolicyRequest) Descriptor() ([]byte, []int) {
×
1079
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{16}
×
1080
}
×
1081

1082
func (x *PolicyRequest) GetPolicyType() PolicyType {
×
1083
        if x != nil {
×
1084
                return x.PolicyType
×
1085
        }
×
1086
        return PolicyType_LEGACY
×
1087
}
1088

1089
type PolicyResponse struct {
1090
        state         protoimpl.MessageState
1091
        sizeCache     protoimpl.SizeCache
1092
        unknownFields protoimpl.UnknownFields
1093

1094
        // The maximum number of updates each session we negotiate with watchtowers
1095
        // should allow.
1096
        MaxUpdates uint32 `protobuf:"varint,1,opt,name=max_updates,json=maxUpdates,proto3" json:"max_updates,omitempty"`
1097
        // Deprecated, use sweep_sat_per_vbyte.
1098
        // The fee rate, in satoshis per vbyte, that will be used by watchtowers for
1099
        // justice transactions in response to channel breaches.
1100
        //
1101
        // Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
1102
        SweepSatPerByte uint32 `protobuf:"varint,2,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"`
1103
        // The fee rate, in satoshis per vbyte, that will be used by watchtowers for
1104
        // justice transactions in response to channel breaches.
1105
        SweepSatPerVbyte uint32 `protobuf:"varint,3,opt,name=sweep_sat_per_vbyte,json=sweepSatPerVbyte,proto3" json:"sweep_sat_per_vbyte,omitempty"`
1106
}
1107

1108
func (x *PolicyResponse) Reset() {
×
1109
        *x = PolicyResponse{}
×
1110
        if protoimpl.UnsafeEnabled {
×
1111
                mi := &file_wtclientrpc_wtclient_proto_msgTypes[17]
×
1112
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1113
                ms.StoreMessageInfo(mi)
×
1114
        }
×
1115
}
1116

1117
func (x *PolicyResponse) String() string {
×
1118
        return protoimpl.X.MessageStringOf(x)
×
1119
}
×
1120

1121
func (*PolicyResponse) ProtoMessage() {}
×
1122

1123
func (x *PolicyResponse) ProtoReflect() protoreflect.Message {
×
1124
        mi := &file_wtclientrpc_wtclient_proto_msgTypes[17]
×
1125
        if protoimpl.UnsafeEnabled && x != nil {
×
1126
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1127
                if ms.LoadMessageInfo() == nil {
×
1128
                        ms.StoreMessageInfo(mi)
×
1129
                }
×
1130
                return ms
×
1131
        }
1132
        return mi.MessageOf(x)
×
1133
}
1134

1135
// Deprecated: Use PolicyResponse.ProtoReflect.Descriptor instead.
1136
func (*PolicyResponse) Descriptor() ([]byte, []int) {
×
1137
        return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{17}
×
1138
}
×
1139

1140
func (x *PolicyResponse) GetMaxUpdates() uint32 {
×
1141
        if x != nil {
×
1142
                return x.MaxUpdates
×
1143
        }
×
1144
        return 0
×
1145
}
1146

1147
// Deprecated: Marked as deprecated in wtclientrpc/wtclient.proto.
1148
func (x *PolicyResponse) GetSweepSatPerByte() uint32 {
×
1149
        if x != nil {
×
1150
                return x.SweepSatPerByte
×
1151
        }
×
1152
        return 0
×
1153
}
1154

1155
func (x *PolicyResponse) GetSweepSatPerVbyte() uint32 {
×
1156
        if x != nil {
×
1157
                return x.SweepSatPerVbyte
×
1158
        }
×
1159
        return 0
×
1160
}
1161

1162
var File_wtclientrpc_wtclient_proto protoreflect.FileDescriptor
1163

1164
var file_wtclientrpc_wtclient_proto_rawDesc = []byte{
1165
        0x0a, 0x1a, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x74,
1166
        0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x77, 0x74,
1167
        0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x22, 0x43, 0x0a, 0x0f, 0x41, 0x64, 0x64,
1168
        0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
1169
        0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75,
1170
        0x62, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
1171
        0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x12,
1172
        0x0a, 0x10, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1173
        0x73, 0x65, 0x22, 0x46, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65,
1174
        0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b,
1175
        0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79,
1176
        0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
1177
        0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65,
1178
        0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1179
        0x65, 0x22, 0x30, 0x0a, 0x16, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54,
1180
        0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
1181
        0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62,
1182
        0x6b, 0x65, 0x79, 0x22, 0x31, 0x0a, 0x17, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
1183
        0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16,
1184
        0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
1185
        0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x38, 0x0a, 0x17, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e,
1186
        0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1187
        0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
1188
        0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64,
1189
        0x22, 0x32, 0x0a, 0x18, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73,
1190
        0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06,
1191
        0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74,
1192
        0x61, 0x74, 0x75, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65,
1193
        0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
1194
        0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75,
1195
        0x62, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f,
1196
        0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
1197
        0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12,
1198
        0x3c, 0x0a, 0x1a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x68, 0x61, 0x75,
1199
        0x73, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20,
1200
        0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x45, 0x78, 0x68, 0x61,
1201
        0x75, 0x73, 0x74, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf0, 0x01,
1202
        0x0a, 0x0c, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f,
1203
        0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20,
1204
        0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12,
1205
        0x2e, 0x0a, 0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62,
1206
        0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75,
1207
        0x6d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12,
1208
        0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03,
1209
        0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73,
1210
        0x12, 0x2f, 0x0a, 0x12, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65,
1211
        0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01,
1212
        0x52, 0x0f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74,
1213
        0x65, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70,
1214
        0x65, 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10,
1215
        0x73, 0x77, 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65,
1216
        0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64,
1217
        0x22, 0x9f, 0x02, 0x0a, 0x05, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75,
1218
        0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b,
1219
        0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18,
1220
        0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73,
1221
        0x12, 0x3c, 0x0a, 0x18, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69,
1222
        0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
1223
        0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65,
1224
        0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25,
1225
        0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04,
1226
        0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73,
1227
        0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
1228
        0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65,
1229
        0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69,
1230
        0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1231
        0x12, 0x40, 0x0a, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
1232
        0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e,
1233
        0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
1234
        0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
1235
        0x66, 0x6f, 0x22, 0xe0, 0x01, 0x0a, 0x10, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73,
1236
        0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x63, 0x74, 0x69, 0x76,
1237
        0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64,
1238
        0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76,
1239
        0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74,
1240
        0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
1241
        0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73, 0x73,
1242
        0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1243
        0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e,
1244
        0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
1245
        0x6e, 0x52, 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0b, 0x70,
1246
        0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
1247
        0x32, 0x17, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50,
1248
        0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1249
        0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77,
1250
        0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e,
1251
        0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
1252
        0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x65, 0x73,
1253
        0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65,
1254
        0x5f, 0x65, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69,
1255
        0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x78, 0x63, 0x6c, 0x75,
1256
        0x64, 0x65, 0x45, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x65, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69,
1257
        0x6f, 0x6e, 0x73, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72,
1258
        0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x74, 0x6f, 0x77,
1259
        0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x77, 0x74, 0x63, 0x6c,
1260
        0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x06, 0x74,
1261
        0x6f, 0x77, 0x65, 0x72, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
1262
        0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf8, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
1263
        0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x62,
1264
        0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x75,
1265
        0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x75, 0x6d, 0x5f,
1266
        0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18,
1267
        0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e,
1268
        0x67, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f,
1269
        0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03,
1270
        0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42,
1271
        0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65,
1272
        0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18,
1273
        0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
1274
        0x6e, 0x73, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x6e, 0x75,
1275
        0x6d, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x65, 0x78, 0x68, 0x61, 0x75,
1276
        0x73, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6e, 0x75, 0x6d, 0x53,
1277
        0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x65, 0x64,
1278
        0x22, 0x49, 0x0a, 0x0d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1279
        0x74, 0x12, 0x38, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65,
1280
        0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e,
1281
        0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52,
1282
        0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0e,
1283
        0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f,
1284
        0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20,
1285
        0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12,
1286
        0x2f, 0x0a, 0x12, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72,
1287
        0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52,
1288
        0x0f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65,
1289
        0x12, 0x2d, 0x0a, 0x13, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65,
1290
        0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73,
1291
        0x77, 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x2a,
1292
        0x31, 0x0a, 0x0a, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a,
1293
        0x06, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4e, 0x43,
1294
        0x48, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x50, 0x52, 0x4f, 0x4f, 0x54,
1295
        0x10, 0x02, 0x32, 0x84, 0x05, 0x0a, 0x10, 0x57, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65,
1296
        0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x54, 0x6f,
1297
        0x77, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70,
1298
        0x63, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1299
        0x74, 0x1a, 0x1d, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e,
1300
        0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1301
        0x12, 0x50, 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12,
1302
        0x1f, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65,
1303
        0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1304
        0x1a, 0x20, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52,
1305
        0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1306
        0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65,
1307
        0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
1308
        0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x6f,
1309
        0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x77, 0x74, 0x63,
1310
        0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76,
1311
        0x61, 0x74, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1312
        0x12, 0x5f, 0x0a, 0x10, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73,
1313
        0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72,
1314
        0x70, 0x63, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73,
1315
        0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x77, 0x74, 0x63,
1316
        0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61,
1317
        0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1318
        0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12,
1319
        0x1e, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
1320
        0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1321
        0x1f, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
1322
        0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1323
        0x12, 0x44, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
1324
        0x12, 0x20, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x47,
1325
        0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
1326
        0x73, 0x74, 0x1a, 0x12, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63,
1327
        0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
1328
        0x19, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
1329
        0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x77, 0x74, 0x63,
1330
        0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
1331
        0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1332
        0x12, 0x1a, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50,
1333
        0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x77,
1334
        0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1335
        0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74,
1336
        0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e,
1337
        0x67, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72,
1338
        0x70, 0x63, 0x2f, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06,
1339
        0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1340
}
1341

1342
var (
1343
        file_wtclientrpc_wtclient_proto_rawDescOnce sync.Once
1344
        file_wtclientrpc_wtclient_proto_rawDescData = file_wtclientrpc_wtclient_proto_rawDesc
1345
)
1346

1347
func file_wtclientrpc_wtclient_proto_rawDescGZIP() []byte {
×
1348
        file_wtclientrpc_wtclient_proto_rawDescOnce.Do(func() {
×
1349
                file_wtclientrpc_wtclient_proto_rawDescData = protoimpl.X.CompressGZIP(file_wtclientrpc_wtclient_proto_rawDescData)
×
1350
        })
×
1351
        return file_wtclientrpc_wtclient_proto_rawDescData
×
1352
}
1353

1354
var file_wtclientrpc_wtclient_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1355
var file_wtclientrpc_wtclient_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
1356
var file_wtclientrpc_wtclient_proto_goTypes = []interface{}{
1357
        (PolicyType)(0),                  // 0: wtclientrpc.PolicyType
1358
        (*AddTowerRequest)(nil),          // 1: wtclientrpc.AddTowerRequest
1359
        (*AddTowerResponse)(nil),         // 2: wtclientrpc.AddTowerResponse
1360
        (*RemoveTowerRequest)(nil),       // 3: wtclientrpc.RemoveTowerRequest
1361
        (*RemoveTowerResponse)(nil),      // 4: wtclientrpc.RemoveTowerResponse
1362
        (*DeactivateTowerRequest)(nil),   // 5: wtclientrpc.DeactivateTowerRequest
1363
        (*DeactivateTowerResponse)(nil),  // 6: wtclientrpc.DeactivateTowerResponse
1364
        (*TerminateSessionRequest)(nil),  // 7: wtclientrpc.TerminateSessionRequest
1365
        (*TerminateSessionResponse)(nil), // 8: wtclientrpc.TerminateSessionResponse
1366
        (*GetTowerInfoRequest)(nil),      // 9: wtclientrpc.GetTowerInfoRequest
1367
        (*TowerSession)(nil),             // 10: wtclientrpc.TowerSession
1368
        (*Tower)(nil),                    // 11: wtclientrpc.Tower
1369
        (*TowerSessionInfo)(nil),         // 12: wtclientrpc.TowerSessionInfo
1370
        (*ListTowersRequest)(nil),        // 13: wtclientrpc.ListTowersRequest
1371
        (*ListTowersResponse)(nil),       // 14: wtclientrpc.ListTowersResponse
1372
        (*StatsRequest)(nil),             // 15: wtclientrpc.StatsRequest
1373
        (*StatsResponse)(nil),            // 16: wtclientrpc.StatsResponse
1374
        (*PolicyRequest)(nil),            // 17: wtclientrpc.PolicyRequest
1375
        (*PolicyResponse)(nil),           // 18: wtclientrpc.PolicyResponse
1376
}
1377
var file_wtclientrpc_wtclient_proto_depIdxs = []int32{
1378
        10, // 0: wtclientrpc.Tower.sessions:type_name -> wtclientrpc.TowerSession
1379
        12, // 1: wtclientrpc.Tower.session_info:type_name -> wtclientrpc.TowerSessionInfo
1380
        10, // 2: wtclientrpc.TowerSessionInfo.sessions:type_name -> wtclientrpc.TowerSession
1381
        0,  // 3: wtclientrpc.TowerSessionInfo.policy_type:type_name -> wtclientrpc.PolicyType
1382
        11, // 4: wtclientrpc.ListTowersResponse.towers:type_name -> wtclientrpc.Tower
1383
        0,  // 5: wtclientrpc.PolicyRequest.policy_type:type_name -> wtclientrpc.PolicyType
1384
        1,  // 6: wtclientrpc.WatchtowerClient.AddTower:input_type -> wtclientrpc.AddTowerRequest
1385
        3,  // 7: wtclientrpc.WatchtowerClient.RemoveTower:input_type -> wtclientrpc.RemoveTowerRequest
1386
        5,  // 8: wtclientrpc.WatchtowerClient.DeactivateTower:input_type -> wtclientrpc.DeactivateTowerRequest
1387
        7,  // 9: wtclientrpc.WatchtowerClient.TerminateSession:input_type -> wtclientrpc.TerminateSessionRequest
1388
        13, // 10: wtclientrpc.WatchtowerClient.ListTowers:input_type -> wtclientrpc.ListTowersRequest
1389
        9,  // 11: wtclientrpc.WatchtowerClient.GetTowerInfo:input_type -> wtclientrpc.GetTowerInfoRequest
1390
        15, // 12: wtclientrpc.WatchtowerClient.Stats:input_type -> wtclientrpc.StatsRequest
1391
        17, // 13: wtclientrpc.WatchtowerClient.Policy:input_type -> wtclientrpc.PolicyRequest
1392
        2,  // 14: wtclientrpc.WatchtowerClient.AddTower:output_type -> wtclientrpc.AddTowerResponse
1393
        4,  // 15: wtclientrpc.WatchtowerClient.RemoveTower:output_type -> wtclientrpc.RemoveTowerResponse
1394
        6,  // 16: wtclientrpc.WatchtowerClient.DeactivateTower:output_type -> wtclientrpc.DeactivateTowerResponse
1395
        8,  // 17: wtclientrpc.WatchtowerClient.TerminateSession:output_type -> wtclientrpc.TerminateSessionResponse
1396
        14, // 18: wtclientrpc.WatchtowerClient.ListTowers:output_type -> wtclientrpc.ListTowersResponse
1397
        11, // 19: wtclientrpc.WatchtowerClient.GetTowerInfo:output_type -> wtclientrpc.Tower
1398
        16, // 20: wtclientrpc.WatchtowerClient.Stats:output_type -> wtclientrpc.StatsResponse
1399
        18, // 21: wtclientrpc.WatchtowerClient.Policy:output_type -> wtclientrpc.PolicyResponse
1400
        14, // [14:22] is the sub-list for method output_type
1401
        6,  // [6:14] is the sub-list for method input_type
1402
        6,  // [6:6] is the sub-list for extension type_name
1403
        6,  // [6:6] is the sub-list for extension extendee
1404
        0,  // [0:6] is the sub-list for field type_name
1405
}
1406

1407
func init() { file_wtclientrpc_wtclient_proto_init() }
3✔
1408
func file_wtclientrpc_wtclient_proto_init() {
3✔
1409
        if File_wtclientrpc_wtclient_proto != nil {
3✔
1410
                return
×
1411
        }
×
1412
        if !protoimpl.UnsafeEnabled {
3✔
1413
                file_wtclientrpc_wtclient_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
1414
                        switch v := v.(*AddTowerRequest); i {
×
1415
                        case 0:
×
1416
                                return &v.state
×
1417
                        case 1:
×
1418
                                return &v.sizeCache
×
1419
                        case 2:
×
1420
                                return &v.unknownFields
×
1421
                        default:
×
1422
                                return nil
×
1423
                        }
1424
                }
1425
                file_wtclientrpc_wtclient_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
1426
                        switch v := v.(*AddTowerResponse); i {
×
1427
                        case 0:
×
1428
                                return &v.state
×
1429
                        case 1:
×
1430
                                return &v.sizeCache
×
1431
                        case 2:
×
1432
                                return &v.unknownFields
×
1433
                        default:
×
1434
                                return nil
×
1435
                        }
1436
                }
1437
                file_wtclientrpc_wtclient_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
1438
                        switch v := v.(*RemoveTowerRequest); i {
×
1439
                        case 0:
×
1440
                                return &v.state
×
1441
                        case 1:
×
1442
                                return &v.sizeCache
×
1443
                        case 2:
×
1444
                                return &v.unknownFields
×
1445
                        default:
×
1446
                                return nil
×
1447
                        }
1448
                }
1449
                file_wtclientrpc_wtclient_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
×
1450
                        switch v := v.(*RemoveTowerResponse); i {
×
1451
                        case 0:
×
1452
                                return &v.state
×
1453
                        case 1:
×
1454
                                return &v.sizeCache
×
1455
                        case 2:
×
1456
                                return &v.unknownFields
×
1457
                        default:
×
1458
                                return nil
×
1459
                        }
1460
                }
1461
                file_wtclientrpc_wtclient_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
×
1462
                        switch v := v.(*DeactivateTowerRequest); i {
×
1463
                        case 0:
×
1464
                                return &v.state
×
1465
                        case 1:
×
1466
                                return &v.sizeCache
×
1467
                        case 2:
×
1468
                                return &v.unknownFields
×
1469
                        default:
×
1470
                                return nil
×
1471
                        }
1472
                }
1473
                file_wtclientrpc_wtclient_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
×
1474
                        switch v := v.(*DeactivateTowerResponse); i {
×
1475
                        case 0:
×
1476
                                return &v.state
×
1477
                        case 1:
×
1478
                                return &v.sizeCache
×
1479
                        case 2:
×
1480
                                return &v.unknownFields
×
1481
                        default:
×
1482
                                return nil
×
1483
                        }
1484
                }
1485
                file_wtclientrpc_wtclient_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
×
1486
                        switch v := v.(*TerminateSessionRequest); i {
×
1487
                        case 0:
×
1488
                                return &v.state
×
1489
                        case 1:
×
1490
                                return &v.sizeCache
×
1491
                        case 2:
×
1492
                                return &v.unknownFields
×
1493
                        default:
×
1494
                                return nil
×
1495
                        }
1496
                }
1497
                file_wtclientrpc_wtclient_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
×
1498
                        switch v := v.(*TerminateSessionResponse); i {
×
1499
                        case 0:
×
1500
                                return &v.state
×
1501
                        case 1:
×
1502
                                return &v.sizeCache
×
1503
                        case 2:
×
1504
                                return &v.unknownFields
×
1505
                        default:
×
1506
                                return nil
×
1507
                        }
1508
                }
1509
                file_wtclientrpc_wtclient_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
×
1510
                        switch v := v.(*GetTowerInfoRequest); i {
×
1511
                        case 0:
×
1512
                                return &v.state
×
1513
                        case 1:
×
1514
                                return &v.sizeCache
×
1515
                        case 2:
×
1516
                                return &v.unknownFields
×
1517
                        default:
×
1518
                                return nil
×
1519
                        }
1520
                }
1521
                file_wtclientrpc_wtclient_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
×
1522
                        switch v := v.(*TowerSession); i {
×
1523
                        case 0:
×
1524
                                return &v.state
×
1525
                        case 1:
×
1526
                                return &v.sizeCache
×
1527
                        case 2:
×
1528
                                return &v.unknownFields
×
1529
                        default:
×
1530
                                return nil
×
1531
                        }
1532
                }
1533
                file_wtclientrpc_wtclient_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
×
1534
                        switch v := v.(*Tower); i {
×
1535
                        case 0:
×
1536
                                return &v.state
×
1537
                        case 1:
×
1538
                                return &v.sizeCache
×
1539
                        case 2:
×
1540
                                return &v.unknownFields
×
1541
                        default:
×
1542
                                return nil
×
1543
                        }
1544
                }
1545
                file_wtclientrpc_wtclient_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
×
1546
                        switch v := v.(*TowerSessionInfo); i {
×
1547
                        case 0:
×
1548
                                return &v.state
×
1549
                        case 1:
×
1550
                                return &v.sizeCache
×
1551
                        case 2:
×
1552
                                return &v.unknownFields
×
1553
                        default:
×
1554
                                return nil
×
1555
                        }
1556
                }
1557
                file_wtclientrpc_wtclient_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
×
1558
                        switch v := v.(*ListTowersRequest); i {
×
1559
                        case 0:
×
1560
                                return &v.state
×
1561
                        case 1:
×
1562
                                return &v.sizeCache
×
1563
                        case 2:
×
1564
                                return &v.unknownFields
×
1565
                        default:
×
1566
                                return nil
×
1567
                        }
1568
                }
1569
                file_wtclientrpc_wtclient_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
×
1570
                        switch v := v.(*ListTowersResponse); i {
×
1571
                        case 0:
×
1572
                                return &v.state
×
1573
                        case 1:
×
1574
                                return &v.sizeCache
×
1575
                        case 2:
×
1576
                                return &v.unknownFields
×
1577
                        default:
×
1578
                                return nil
×
1579
                        }
1580
                }
1581
                file_wtclientrpc_wtclient_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
×
1582
                        switch v := v.(*StatsRequest); i {
×
1583
                        case 0:
×
1584
                                return &v.state
×
1585
                        case 1:
×
1586
                                return &v.sizeCache
×
1587
                        case 2:
×
1588
                                return &v.unknownFields
×
1589
                        default:
×
1590
                                return nil
×
1591
                        }
1592
                }
1593
                file_wtclientrpc_wtclient_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
×
1594
                        switch v := v.(*StatsResponse); i {
×
1595
                        case 0:
×
1596
                                return &v.state
×
1597
                        case 1:
×
1598
                                return &v.sizeCache
×
1599
                        case 2:
×
1600
                                return &v.unknownFields
×
1601
                        default:
×
1602
                                return nil
×
1603
                        }
1604
                }
1605
                file_wtclientrpc_wtclient_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
×
1606
                        switch v := v.(*PolicyRequest); i {
×
1607
                        case 0:
×
1608
                                return &v.state
×
1609
                        case 1:
×
1610
                                return &v.sizeCache
×
1611
                        case 2:
×
1612
                                return &v.unknownFields
×
1613
                        default:
×
1614
                                return nil
×
1615
                        }
1616
                }
1617
                file_wtclientrpc_wtclient_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
×
1618
                        switch v := v.(*PolicyResponse); i {
×
1619
                        case 0:
×
1620
                                return &v.state
×
1621
                        case 1:
×
1622
                                return &v.sizeCache
×
1623
                        case 2:
×
1624
                                return &v.unknownFields
×
1625
                        default:
×
1626
                                return nil
×
1627
                        }
1628
                }
1629
        }
1630
        type x struct{}
3✔
1631
        out := protoimpl.TypeBuilder{
3✔
1632
                File: protoimpl.DescBuilder{
3✔
1633
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3✔
1634
                        RawDescriptor: file_wtclientrpc_wtclient_proto_rawDesc,
3✔
1635
                        NumEnums:      1,
3✔
1636
                        NumMessages:   18,
3✔
1637
                        NumExtensions: 0,
3✔
1638
                        NumServices:   1,
3✔
1639
                },
3✔
1640
                GoTypes:           file_wtclientrpc_wtclient_proto_goTypes,
3✔
1641
                DependencyIndexes: file_wtclientrpc_wtclient_proto_depIdxs,
3✔
1642
                EnumInfos:         file_wtclientrpc_wtclient_proto_enumTypes,
3✔
1643
                MessageInfos:      file_wtclientrpc_wtclient_proto_msgTypes,
3✔
1644
        }.Build()
3✔
1645
        File_wtclientrpc_wtclient_proto = out.File
3✔
1646
        file_wtclientrpc_wtclient_proto_rawDesc = nil
3✔
1647
        file_wtclientrpc_wtclient_proto_goTypes = nil
3✔
1648
        file_wtclientrpc_wtclient_proto_depIdxs = nil
3✔
1649
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc