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

lightningnetwork / lnd / 13481890706

23 Feb 2025 09:53AM UTC coverage: 46.221% (-12.6%) from 58.825%
13481890706

Pull #9521

github

web-flow
Merge 9fb980a6f into 5fe900d18
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

105094 of 227374 relevant lines covered (46.22%)

19705.84 hits per line

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

5.93
/lnrpc/autopilotrpc/autopilot.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: autopilotrpc/autopilot.proto
6

7
package autopilotrpc
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 StatusRequest struct {
24
        state         protoimpl.MessageState
25
        sizeCache     protoimpl.SizeCache
26
        unknownFields protoimpl.UnknownFields
27
}
28

29
func (x *StatusRequest) Reset() {
×
30
        *x = StatusRequest{}
×
31
        if protoimpl.UnsafeEnabled {
×
32
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[0]
×
33
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
34
                ms.StoreMessageInfo(mi)
×
35
        }
×
36
}
37

38
func (x *StatusRequest) String() string {
×
39
        return protoimpl.X.MessageStringOf(x)
×
40
}
×
41

42
func (*StatusRequest) ProtoMessage() {}
×
43

44
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
×
45
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[0]
×
46
        if protoimpl.UnsafeEnabled && x != nil {
×
47
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
48
                if ms.LoadMessageInfo() == nil {
×
49
                        ms.StoreMessageInfo(mi)
×
50
                }
×
51
                return ms
×
52
        }
53
        return mi.MessageOf(x)
×
54
}
55

56
// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
57
func (*StatusRequest) Descriptor() ([]byte, []int) {
×
58
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{0}
×
59
}
×
60

61
type StatusResponse struct {
62
        state         protoimpl.MessageState
63
        sizeCache     protoimpl.SizeCache
64
        unknownFields protoimpl.UnknownFields
65

66
        // Indicates whether the autopilot is active or not.
67
        Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
68
}
69

70
func (x *StatusResponse) Reset() {
×
71
        *x = StatusResponse{}
×
72
        if protoimpl.UnsafeEnabled {
×
73
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[1]
×
74
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
75
                ms.StoreMessageInfo(mi)
×
76
        }
×
77
}
78

79
func (x *StatusResponse) String() string {
×
80
        return protoimpl.X.MessageStringOf(x)
×
81
}
×
82

83
func (*StatusResponse) ProtoMessage() {}
×
84

85
func (x *StatusResponse) ProtoReflect() protoreflect.Message {
×
86
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[1]
×
87
        if protoimpl.UnsafeEnabled && x != nil {
×
88
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
89
                if ms.LoadMessageInfo() == nil {
×
90
                        ms.StoreMessageInfo(mi)
×
91
                }
×
92
                return ms
×
93
        }
94
        return mi.MessageOf(x)
×
95
}
96

97
// Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
98
func (*StatusResponse) Descriptor() ([]byte, []int) {
×
99
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{1}
×
100
}
×
101

102
func (x *StatusResponse) GetActive() bool {
×
103
        if x != nil {
×
104
                return x.Active
×
105
        }
×
106
        return false
×
107
}
108

109
type ModifyStatusRequest struct {
110
        state         protoimpl.MessageState
111
        sizeCache     protoimpl.SizeCache
112
        unknownFields protoimpl.UnknownFields
113

114
        // Whether the autopilot agent should be enabled or not.
115
        Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
116
}
117

118
func (x *ModifyStatusRequest) Reset() {
×
119
        *x = ModifyStatusRequest{}
×
120
        if protoimpl.UnsafeEnabled {
×
121
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[2]
×
122
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
123
                ms.StoreMessageInfo(mi)
×
124
        }
×
125
}
126

127
func (x *ModifyStatusRequest) String() string {
×
128
        return protoimpl.X.MessageStringOf(x)
×
129
}
×
130

131
func (*ModifyStatusRequest) ProtoMessage() {}
×
132

133
func (x *ModifyStatusRequest) ProtoReflect() protoreflect.Message {
×
134
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[2]
×
135
        if protoimpl.UnsafeEnabled && x != nil {
×
136
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
137
                if ms.LoadMessageInfo() == nil {
×
138
                        ms.StoreMessageInfo(mi)
×
139
                }
×
140
                return ms
×
141
        }
142
        return mi.MessageOf(x)
×
143
}
144

145
// Deprecated: Use ModifyStatusRequest.ProtoReflect.Descriptor instead.
146
func (*ModifyStatusRequest) Descriptor() ([]byte, []int) {
×
147
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{2}
×
148
}
×
149

150
func (x *ModifyStatusRequest) GetEnable() bool {
×
151
        if x != nil {
×
152
                return x.Enable
×
153
        }
×
154
        return false
×
155
}
156

157
type ModifyStatusResponse struct {
158
        state         protoimpl.MessageState
159
        sizeCache     protoimpl.SizeCache
160
        unknownFields protoimpl.UnknownFields
161
}
162

163
func (x *ModifyStatusResponse) Reset() {
×
164
        *x = ModifyStatusResponse{}
×
165
        if protoimpl.UnsafeEnabled {
×
166
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[3]
×
167
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
168
                ms.StoreMessageInfo(mi)
×
169
        }
×
170
}
171

172
func (x *ModifyStatusResponse) String() string {
×
173
        return protoimpl.X.MessageStringOf(x)
×
174
}
×
175

176
func (*ModifyStatusResponse) ProtoMessage() {}
×
177

178
func (x *ModifyStatusResponse) ProtoReflect() protoreflect.Message {
×
179
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[3]
×
180
        if protoimpl.UnsafeEnabled && 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 ModifyStatusResponse.ProtoReflect.Descriptor instead.
191
func (*ModifyStatusResponse) Descriptor() ([]byte, []int) {
×
192
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{3}
×
193
}
×
194

195
type QueryScoresRequest struct {
196
        state         protoimpl.MessageState
197
        sizeCache     protoimpl.SizeCache
198
        unknownFields protoimpl.UnknownFields
199

200
        Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
201
        // If set, we will ignore the local channel state when calculating scores.
202
        IgnoreLocalState bool `protobuf:"varint,2,opt,name=ignore_local_state,json=ignoreLocalState,proto3" json:"ignore_local_state,omitempty"`
203
}
204

205
func (x *QueryScoresRequest) Reset() {
×
206
        *x = QueryScoresRequest{}
×
207
        if protoimpl.UnsafeEnabled {
×
208
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[4]
×
209
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
210
                ms.StoreMessageInfo(mi)
×
211
        }
×
212
}
213

214
func (x *QueryScoresRequest) String() string {
×
215
        return protoimpl.X.MessageStringOf(x)
×
216
}
×
217

218
func (*QueryScoresRequest) ProtoMessage() {}
×
219

220
func (x *QueryScoresRequest) ProtoReflect() protoreflect.Message {
×
221
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[4]
×
222
        if protoimpl.UnsafeEnabled && x != nil {
×
223
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
224
                if ms.LoadMessageInfo() == nil {
×
225
                        ms.StoreMessageInfo(mi)
×
226
                }
×
227
                return ms
×
228
        }
229
        return mi.MessageOf(x)
×
230
}
231

232
// Deprecated: Use QueryScoresRequest.ProtoReflect.Descriptor instead.
233
func (*QueryScoresRequest) Descriptor() ([]byte, []int) {
×
234
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{4}
×
235
}
×
236

237
func (x *QueryScoresRequest) GetPubkeys() []string {
×
238
        if x != nil {
×
239
                return x.Pubkeys
×
240
        }
×
241
        return nil
×
242
}
243

244
func (x *QueryScoresRequest) GetIgnoreLocalState() bool {
×
245
        if x != nil {
×
246
                return x.IgnoreLocalState
×
247
        }
×
248
        return false
×
249
}
250

251
type QueryScoresResponse struct {
252
        state         protoimpl.MessageState
253
        sizeCache     protoimpl.SizeCache
254
        unknownFields protoimpl.UnknownFields
255

256
        Results []*QueryScoresResponse_HeuristicResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
257
}
258

259
func (x *QueryScoresResponse) Reset() {
×
260
        *x = QueryScoresResponse{}
×
261
        if protoimpl.UnsafeEnabled {
×
262
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[5]
×
263
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
264
                ms.StoreMessageInfo(mi)
×
265
        }
×
266
}
267

268
func (x *QueryScoresResponse) String() string {
×
269
        return protoimpl.X.MessageStringOf(x)
×
270
}
×
271

272
func (*QueryScoresResponse) ProtoMessage() {}
×
273

274
func (x *QueryScoresResponse) ProtoReflect() protoreflect.Message {
×
275
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[5]
×
276
        if protoimpl.UnsafeEnabled && x != nil {
×
277
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
278
                if ms.LoadMessageInfo() == nil {
×
279
                        ms.StoreMessageInfo(mi)
×
280
                }
×
281
                return ms
×
282
        }
283
        return mi.MessageOf(x)
×
284
}
285

286
// Deprecated: Use QueryScoresResponse.ProtoReflect.Descriptor instead.
287
func (*QueryScoresResponse) Descriptor() ([]byte, []int) {
×
288
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{5}
×
289
}
×
290

291
func (x *QueryScoresResponse) GetResults() []*QueryScoresResponse_HeuristicResult {
×
292
        if x != nil {
×
293
                return x.Results
×
294
        }
×
295
        return nil
×
296
}
297

298
type SetScoresRequest struct {
299
        state         protoimpl.MessageState
300
        sizeCache     protoimpl.SizeCache
301
        unknownFields protoimpl.UnknownFields
302

303
        // The name of the heuristic to provide scores to.
304
        Heuristic string `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"`
305
        // A map from hex-encoded public keys to scores. Scores must be in the range
306
        // [0.0, 1.0].
307
        Scores map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
308
}
309

310
func (x *SetScoresRequest) Reset() {
×
311
        *x = SetScoresRequest{}
×
312
        if protoimpl.UnsafeEnabled {
×
313
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[6]
×
314
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
315
                ms.StoreMessageInfo(mi)
×
316
        }
×
317
}
318

319
func (x *SetScoresRequest) String() string {
×
320
        return protoimpl.X.MessageStringOf(x)
×
321
}
×
322

323
func (*SetScoresRequest) ProtoMessage() {}
×
324

325
func (x *SetScoresRequest) ProtoReflect() protoreflect.Message {
×
326
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[6]
×
327
        if protoimpl.UnsafeEnabled && x != nil {
×
328
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
329
                if ms.LoadMessageInfo() == nil {
×
330
                        ms.StoreMessageInfo(mi)
×
331
                }
×
332
                return ms
×
333
        }
334
        return mi.MessageOf(x)
×
335
}
336

337
// Deprecated: Use SetScoresRequest.ProtoReflect.Descriptor instead.
338
func (*SetScoresRequest) Descriptor() ([]byte, []int) {
×
339
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{6}
×
340
}
×
341

342
func (x *SetScoresRequest) GetHeuristic() string {
×
343
        if x != nil {
×
344
                return x.Heuristic
×
345
        }
×
346
        return ""
×
347
}
348

349
func (x *SetScoresRequest) GetScores() map[string]float64 {
×
350
        if x != nil {
×
351
                return x.Scores
×
352
        }
×
353
        return nil
×
354
}
355

356
type SetScoresResponse struct {
357
        state         protoimpl.MessageState
358
        sizeCache     protoimpl.SizeCache
359
        unknownFields protoimpl.UnknownFields
360
}
361

362
func (x *SetScoresResponse) Reset() {
×
363
        *x = SetScoresResponse{}
×
364
        if protoimpl.UnsafeEnabled {
×
365
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[7]
×
366
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
367
                ms.StoreMessageInfo(mi)
×
368
        }
×
369
}
370

371
func (x *SetScoresResponse) String() string {
×
372
        return protoimpl.X.MessageStringOf(x)
×
373
}
×
374

375
func (*SetScoresResponse) ProtoMessage() {}
×
376

377
func (x *SetScoresResponse) ProtoReflect() protoreflect.Message {
×
378
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[7]
×
379
        if protoimpl.UnsafeEnabled && x != nil {
×
380
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
381
                if ms.LoadMessageInfo() == nil {
×
382
                        ms.StoreMessageInfo(mi)
×
383
                }
×
384
                return ms
×
385
        }
386
        return mi.MessageOf(x)
×
387
}
388

389
// Deprecated: Use SetScoresResponse.ProtoReflect.Descriptor instead.
390
func (*SetScoresResponse) Descriptor() ([]byte, []int) {
×
391
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{7}
×
392
}
×
393

394
type QueryScoresResponse_HeuristicResult struct {
395
        state         protoimpl.MessageState
396
        sizeCache     protoimpl.SizeCache
397
        unknownFields protoimpl.UnknownFields
398

399
        Heuristic string             `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"`
400
        Scores    map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
401
}
402

403
func (x *QueryScoresResponse_HeuristicResult) Reset() {
×
404
        *x = QueryScoresResponse_HeuristicResult{}
×
405
        if protoimpl.UnsafeEnabled {
×
406
                mi := &file_autopilotrpc_autopilot_proto_msgTypes[8]
×
407
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
408
                ms.StoreMessageInfo(mi)
×
409
        }
×
410
}
411

412
func (x *QueryScoresResponse_HeuristicResult) String() string {
×
413
        return protoimpl.X.MessageStringOf(x)
×
414
}
×
415

416
func (*QueryScoresResponse_HeuristicResult) ProtoMessage() {}
×
417

418
func (x *QueryScoresResponse_HeuristicResult) ProtoReflect() protoreflect.Message {
×
419
        mi := &file_autopilotrpc_autopilot_proto_msgTypes[8]
×
420
        if protoimpl.UnsafeEnabled && x != nil {
×
421
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
422
                if ms.LoadMessageInfo() == nil {
×
423
                        ms.StoreMessageInfo(mi)
×
424
                }
×
425
                return ms
×
426
        }
427
        return mi.MessageOf(x)
×
428
}
429

430
// Deprecated: Use QueryScoresResponse_HeuristicResult.ProtoReflect.Descriptor instead.
431
func (*QueryScoresResponse_HeuristicResult) Descriptor() ([]byte, []int) {
×
432
        return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{5, 0}
×
433
}
×
434

435
func (x *QueryScoresResponse_HeuristicResult) GetHeuristic() string {
×
436
        if x != nil {
×
437
                return x.Heuristic
×
438
        }
×
439
        return ""
×
440
}
441

442
func (x *QueryScoresResponse_HeuristicResult) GetScores() map[string]float64 {
×
443
        if x != nil {
×
444
                return x.Scores
×
445
        }
×
446
        return nil
×
447
}
448

449
var File_autopilotrpc_autopilot_proto protoreflect.FileDescriptor
450

451
var file_autopilotrpc_autopilot_proto_rawDesc = []byte{
452
        0x0a, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x61,
453
        0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
454
        0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x22, 0x0f, 0x0a, 0x0d,
455
        0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a,
456
        0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
457
        0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
458
        0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x2d, 0x0a, 0x13, 0x4d, 0x6f, 0x64, 0x69, 0x66,
459
        0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
460
        0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
461
        0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79,
462
        0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c,
463
        0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71,
464
        0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x73, 0x18,
465
        0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x2c,
466
        0x0a, 0x12, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73,
467
        0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x67, 0x6e, 0x6f,
468
        0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa6, 0x02, 0x0a,
469
        0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
470
        0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
471
        0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f,
472
        0x74, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73,
473
        0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74,
474
        0x69, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
475
        0x73, 0x1a, 0xc1, 0x01, 0x0a, 0x0f, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52,
476
        0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74,
477
        0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x75, 0x72, 0x69, 0x73,
478
        0x74, 0x69, 0x63, 0x12, 0x55, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20,
479
        0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72,
480
        0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65,
481
        0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63,
482
        0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74,
483
        0x72, 0x79, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x63,
484
        0x6f, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
485
        0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
486
        0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
487
        0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xaf, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f,
488
        0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65,
489
        0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68,
490
        0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72,
491
        0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70,
492
        0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65,
493
        0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x45,
494
        0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b,
495
        0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
496
        0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
497
        0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61,
498
        0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x53, 0x63,
499
        0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc9, 0x02, 0x0a,
500
        0x09, 0x41, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x12, 0x43, 0x0a, 0x06, 0x53, 0x74,
501
        0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74,
502
        0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
503
        0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63,
504
        0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
505
        0x55, 0x0a, 0x0c, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
506
        0x21, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4d,
507
        0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
508
        0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70,
509
        0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
510
        0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53,
511
        0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f,
512
        0x74, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73,
513
        0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69,
514
        0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72,
515
        0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x53, 0x65,
516
        0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69,
517
        0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73,
518
        0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69,
519
        0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73,
520
        0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68,
521
        0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67,
522
        0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70,
523
        0x63, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06,
524
        0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
525
}
526

527
var (
528
        file_autopilotrpc_autopilot_proto_rawDescOnce sync.Once
529
        file_autopilotrpc_autopilot_proto_rawDescData = file_autopilotrpc_autopilot_proto_rawDesc
530
)
531

532
func file_autopilotrpc_autopilot_proto_rawDescGZIP() []byte {
×
533
        file_autopilotrpc_autopilot_proto_rawDescOnce.Do(func() {
×
534
                file_autopilotrpc_autopilot_proto_rawDescData = protoimpl.X.CompressGZIP(file_autopilotrpc_autopilot_proto_rawDescData)
×
535
        })
×
536
        return file_autopilotrpc_autopilot_proto_rawDescData
×
537
}
538

539
var file_autopilotrpc_autopilot_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
540
var file_autopilotrpc_autopilot_proto_goTypes = []interface{}{
541
        (*StatusRequest)(nil),                       // 0: autopilotrpc.StatusRequest
542
        (*StatusResponse)(nil),                      // 1: autopilotrpc.StatusResponse
543
        (*ModifyStatusRequest)(nil),                 // 2: autopilotrpc.ModifyStatusRequest
544
        (*ModifyStatusResponse)(nil),                // 3: autopilotrpc.ModifyStatusResponse
545
        (*QueryScoresRequest)(nil),                  // 4: autopilotrpc.QueryScoresRequest
546
        (*QueryScoresResponse)(nil),                 // 5: autopilotrpc.QueryScoresResponse
547
        (*SetScoresRequest)(nil),                    // 6: autopilotrpc.SetScoresRequest
548
        (*SetScoresResponse)(nil),                   // 7: autopilotrpc.SetScoresResponse
549
        (*QueryScoresResponse_HeuristicResult)(nil), // 8: autopilotrpc.QueryScoresResponse.HeuristicResult
550
        nil, // 9: autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry
551
        nil, // 10: autopilotrpc.SetScoresRequest.ScoresEntry
552
}
553
var file_autopilotrpc_autopilot_proto_depIdxs = []int32{
554
        8,  // 0: autopilotrpc.QueryScoresResponse.results:type_name -> autopilotrpc.QueryScoresResponse.HeuristicResult
555
        10, // 1: autopilotrpc.SetScoresRequest.scores:type_name -> autopilotrpc.SetScoresRequest.ScoresEntry
556
        9,  // 2: autopilotrpc.QueryScoresResponse.HeuristicResult.scores:type_name -> autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry
557
        0,  // 3: autopilotrpc.Autopilot.Status:input_type -> autopilotrpc.StatusRequest
558
        2,  // 4: autopilotrpc.Autopilot.ModifyStatus:input_type -> autopilotrpc.ModifyStatusRequest
559
        4,  // 5: autopilotrpc.Autopilot.QueryScores:input_type -> autopilotrpc.QueryScoresRequest
560
        6,  // 6: autopilotrpc.Autopilot.SetScores:input_type -> autopilotrpc.SetScoresRequest
561
        1,  // 7: autopilotrpc.Autopilot.Status:output_type -> autopilotrpc.StatusResponse
562
        3,  // 8: autopilotrpc.Autopilot.ModifyStatus:output_type -> autopilotrpc.ModifyStatusResponse
563
        5,  // 9: autopilotrpc.Autopilot.QueryScores:output_type -> autopilotrpc.QueryScoresResponse
564
        7,  // 10: autopilotrpc.Autopilot.SetScores:output_type -> autopilotrpc.SetScoresResponse
565
        7,  // [7:11] is the sub-list for method output_type
566
        3,  // [3:7] is the sub-list for method input_type
567
        3,  // [3:3] is the sub-list for extension type_name
568
        3,  // [3:3] is the sub-list for extension extendee
569
        0,  // [0:3] is the sub-list for field type_name
570
}
571

572
func init() { file_autopilotrpc_autopilot_proto_init() }
3✔
573
func file_autopilotrpc_autopilot_proto_init() {
3✔
574
        if File_autopilotrpc_autopilot_proto != nil {
3✔
575
                return
×
576
        }
×
577
        if !protoimpl.UnsafeEnabled {
3✔
578
                file_autopilotrpc_autopilot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
579
                        switch v := v.(*StatusRequest); i {
×
580
                        case 0:
×
581
                                return &v.state
×
582
                        case 1:
×
583
                                return &v.sizeCache
×
584
                        case 2:
×
585
                                return &v.unknownFields
×
586
                        default:
×
587
                                return nil
×
588
                        }
589
                }
590
                file_autopilotrpc_autopilot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
591
                        switch v := v.(*StatusResponse); i {
×
592
                        case 0:
×
593
                                return &v.state
×
594
                        case 1:
×
595
                                return &v.sizeCache
×
596
                        case 2:
×
597
                                return &v.unknownFields
×
598
                        default:
×
599
                                return nil
×
600
                        }
601
                }
602
                file_autopilotrpc_autopilot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
603
                        switch v := v.(*ModifyStatusRequest); i {
×
604
                        case 0:
×
605
                                return &v.state
×
606
                        case 1:
×
607
                                return &v.sizeCache
×
608
                        case 2:
×
609
                                return &v.unknownFields
×
610
                        default:
×
611
                                return nil
×
612
                        }
613
                }
614
                file_autopilotrpc_autopilot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
×
615
                        switch v := v.(*ModifyStatusResponse); i {
×
616
                        case 0:
×
617
                                return &v.state
×
618
                        case 1:
×
619
                                return &v.sizeCache
×
620
                        case 2:
×
621
                                return &v.unknownFields
×
622
                        default:
×
623
                                return nil
×
624
                        }
625
                }
626
                file_autopilotrpc_autopilot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
×
627
                        switch v := v.(*QueryScoresRequest); i {
×
628
                        case 0:
×
629
                                return &v.state
×
630
                        case 1:
×
631
                                return &v.sizeCache
×
632
                        case 2:
×
633
                                return &v.unknownFields
×
634
                        default:
×
635
                                return nil
×
636
                        }
637
                }
638
                file_autopilotrpc_autopilot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
×
639
                        switch v := v.(*QueryScoresResponse); i {
×
640
                        case 0:
×
641
                                return &v.state
×
642
                        case 1:
×
643
                                return &v.sizeCache
×
644
                        case 2:
×
645
                                return &v.unknownFields
×
646
                        default:
×
647
                                return nil
×
648
                        }
649
                }
650
                file_autopilotrpc_autopilot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
×
651
                        switch v := v.(*SetScoresRequest); i {
×
652
                        case 0:
×
653
                                return &v.state
×
654
                        case 1:
×
655
                                return &v.sizeCache
×
656
                        case 2:
×
657
                                return &v.unknownFields
×
658
                        default:
×
659
                                return nil
×
660
                        }
661
                }
662
                file_autopilotrpc_autopilot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
×
663
                        switch v := v.(*SetScoresResponse); i {
×
664
                        case 0:
×
665
                                return &v.state
×
666
                        case 1:
×
667
                                return &v.sizeCache
×
668
                        case 2:
×
669
                                return &v.unknownFields
×
670
                        default:
×
671
                                return nil
×
672
                        }
673
                }
674
                file_autopilotrpc_autopilot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
×
675
                        switch v := v.(*QueryScoresResponse_HeuristicResult); i {
×
676
                        case 0:
×
677
                                return &v.state
×
678
                        case 1:
×
679
                                return &v.sizeCache
×
680
                        case 2:
×
681
                                return &v.unknownFields
×
682
                        default:
×
683
                                return nil
×
684
                        }
685
                }
686
        }
687
        type x struct{}
3✔
688
        out := protoimpl.TypeBuilder{
3✔
689
                File: protoimpl.DescBuilder{
3✔
690
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3✔
691
                        RawDescriptor: file_autopilotrpc_autopilot_proto_rawDesc,
3✔
692
                        NumEnums:      0,
3✔
693
                        NumMessages:   11,
3✔
694
                        NumExtensions: 0,
3✔
695
                        NumServices:   1,
3✔
696
                },
3✔
697
                GoTypes:           file_autopilotrpc_autopilot_proto_goTypes,
3✔
698
                DependencyIndexes: file_autopilotrpc_autopilot_proto_depIdxs,
3✔
699
                MessageInfos:      file_autopilotrpc_autopilot_proto_msgTypes,
3✔
700
        }.Build()
3✔
701
        File_autopilotrpc_autopilot_proto = out.File
3✔
702
        file_autopilotrpc_autopilot_proto_rawDesc = nil
3✔
703
        file_autopilotrpc_autopilot_proto_goTypes = nil
3✔
704
        file_autopilotrpc_autopilot_proto_depIdxs = nil
3✔
705
}
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