• 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

15.71
/lnrpc/verrpc/verrpc.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: verrpc/verrpc.proto
6

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

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

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

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

44
func (x *VersionRequest) ProtoReflect() protoreflect.Message {
×
45
        mi := &file_verrpc_verrpc_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 VersionRequest.ProtoReflect.Descriptor instead.
57
func (*VersionRequest) Descriptor() ([]byte, []int) {
×
58
        return file_verrpc_verrpc_proto_rawDescGZIP(), []int{0}
×
59
}
×
60

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

66
        // A verbose description of the daemon's commit.
67
        Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
68
        // The SHA1 commit hash that the daemon is compiled with.
69
        CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
70
        // The semantic version.
71
        Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
72
        // The major application version.
73
        AppMajor uint32 `protobuf:"varint,4,opt,name=app_major,json=appMajor,proto3" json:"app_major,omitempty"`
74
        // The minor application version.
75
        AppMinor uint32 `protobuf:"varint,5,opt,name=app_minor,json=appMinor,proto3" json:"app_minor,omitempty"`
76
        // The application patch number.
77
        AppPatch uint32 `protobuf:"varint,6,opt,name=app_patch,json=appPatch,proto3" json:"app_patch,omitempty"`
78
        // The application pre-release modifier, possibly empty.
79
        AppPreRelease string `protobuf:"bytes,7,opt,name=app_pre_release,json=appPreRelease,proto3" json:"app_pre_release,omitempty"`
80
        // The list of build tags that were supplied during compilation.
81
        BuildTags []string `protobuf:"bytes,8,rep,name=build_tags,json=buildTags,proto3" json:"build_tags,omitempty"`
82
        // The version of go that compiled the executable.
83
        GoVersion string `protobuf:"bytes,9,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
84
}
85

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

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

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

101
func (x *Version) ProtoReflect() protoreflect.Message {
×
102
        mi := &file_verrpc_verrpc_proto_msgTypes[1]
×
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 Version.ProtoReflect.Descriptor instead.
114
func (*Version) Descriptor() ([]byte, []int) {
×
115
        return file_verrpc_verrpc_proto_rawDescGZIP(), []int{1}
×
116
}
×
117

118
func (x *Version) GetCommit() string {
×
119
        if x != nil {
×
120
                return x.Commit
×
121
        }
×
122
        return ""
×
123
}
124

125
func (x *Version) GetCommitHash() string {
×
126
        if x != nil {
×
127
                return x.CommitHash
×
128
        }
×
129
        return ""
×
130
}
131

132
func (x *Version) GetVersion() string {
×
133
        if x != nil {
×
134
                return x.Version
×
135
        }
×
136
        return ""
×
137
}
138

139
func (x *Version) GetAppMajor() uint32 {
×
140
        if x != nil {
×
141
                return x.AppMajor
×
142
        }
×
143
        return 0
×
144
}
145

146
func (x *Version) GetAppMinor() uint32 {
×
147
        if x != nil {
×
148
                return x.AppMinor
×
149
        }
×
150
        return 0
×
151
}
152

153
func (x *Version) GetAppPatch() uint32 {
×
154
        if x != nil {
×
155
                return x.AppPatch
×
156
        }
×
157
        return 0
×
158
}
159

160
func (x *Version) GetAppPreRelease() string {
×
161
        if x != nil {
×
162
                return x.AppPreRelease
×
163
        }
×
164
        return ""
×
165
}
166

167
func (x *Version) GetBuildTags() []string {
×
168
        if x != nil {
×
169
                return x.BuildTags
×
170
        }
×
171
        return nil
×
172
}
173

174
func (x *Version) GetGoVersion() string {
×
175
        if x != nil {
×
176
                return x.GoVersion
×
177
        }
×
178
        return ""
×
179
}
180

181
var File_verrpc_verrpc_proto protoreflect.FileDescriptor
182

183
var file_verrpc_verrpc_proto_rawDesc = []byte{
184
        0x0a, 0x13, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e,
185
        0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x22, 0x10, 0x0a,
186
        0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
187
        0x99, 0x02, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63,
188
        0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d,
189
        0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x61,
190
        0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
191
        0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
192
        0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b,
193
        0x0a, 0x09, 0x61, 0x70, 0x70, 0x5f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
194
        0x0d, 0x52, 0x08, 0x61, 0x70, 0x70, 0x4d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61,
195
        0x70, 0x70, 0x5f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
196
        0x61, 0x70, 0x70, 0x4d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x5f,
197
        0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x70, 0x70,
198
        0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x5f, 0x70, 0x72, 0x65,
199
        0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
200
        0x61, 0x70, 0x70, 0x50, 0x72, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1d, 0x0a,
201
        0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
202
        0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
203
        0x67, 0x6f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
204
        0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x42, 0x0a, 0x09, 0x56,
205
        0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56,
206
        0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e,
207
        0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f,
208
        0x2e, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42,
209
        0x2e, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69,
210
        0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c,
211
        0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x62,
212
        0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
213
}
214

215
var (
216
        file_verrpc_verrpc_proto_rawDescOnce sync.Once
217
        file_verrpc_verrpc_proto_rawDescData = file_verrpc_verrpc_proto_rawDesc
218
)
219

220
func file_verrpc_verrpc_proto_rawDescGZIP() []byte {
×
221
        file_verrpc_verrpc_proto_rawDescOnce.Do(func() {
×
222
                file_verrpc_verrpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_verrpc_verrpc_proto_rawDescData)
×
223
        })
×
224
        return file_verrpc_verrpc_proto_rawDescData
×
225
}
226

227
var file_verrpc_verrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
228
var file_verrpc_verrpc_proto_goTypes = []interface{}{
229
        (*VersionRequest)(nil), // 0: verrpc.VersionRequest
230
        (*Version)(nil),        // 1: verrpc.Version
231
}
232
var file_verrpc_verrpc_proto_depIdxs = []int32{
233
        0, // 0: verrpc.Versioner.GetVersion:input_type -> verrpc.VersionRequest
234
        1, // 1: verrpc.Versioner.GetVersion:output_type -> verrpc.Version
235
        1, // [1:2] is the sub-list for method output_type
236
        0, // [0:1] is the sub-list for method input_type
237
        0, // [0:0] is the sub-list for extension type_name
238
        0, // [0:0] is the sub-list for extension extendee
239
        0, // [0:0] is the sub-list for field type_name
240
}
241

242
func init() { file_verrpc_verrpc_proto_init() }
3✔
243
func file_verrpc_verrpc_proto_init() {
3✔
244
        if File_verrpc_verrpc_proto != nil {
3✔
245
                return
×
246
        }
×
247
        if !protoimpl.UnsafeEnabled {
3✔
248
                file_verrpc_verrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
249
                        switch v := v.(*VersionRequest); i {
×
250
                        case 0:
×
251
                                return &v.state
×
252
                        case 1:
×
253
                                return &v.sizeCache
×
254
                        case 2:
×
255
                                return &v.unknownFields
×
256
                        default:
×
257
                                return nil
×
258
                        }
259
                }
260
                file_verrpc_verrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
261
                        switch v := v.(*Version); i {
×
262
                        case 0:
×
263
                                return &v.state
×
264
                        case 1:
×
265
                                return &v.sizeCache
×
266
                        case 2:
×
267
                                return &v.unknownFields
×
268
                        default:
×
269
                                return nil
×
270
                        }
271
                }
272
        }
273
        type x struct{}
3✔
274
        out := protoimpl.TypeBuilder{
3✔
275
                File: protoimpl.DescBuilder{
3✔
276
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3✔
277
                        RawDescriptor: file_verrpc_verrpc_proto_rawDesc,
3✔
278
                        NumEnums:      0,
3✔
279
                        NumMessages:   2,
3✔
280
                        NumExtensions: 0,
3✔
281
                        NumServices:   1,
3✔
282
                },
3✔
283
                GoTypes:           file_verrpc_verrpc_proto_goTypes,
3✔
284
                DependencyIndexes: file_verrpc_verrpc_proto_depIdxs,
3✔
285
                MessageInfos:      file_verrpc_verrpc_proto_msgTypes,
3✔
286
        }.Build()
3✔
287
        File_verrpc_verrpc_proto = out.File
3✔
288
        file_verrpc_verrpc_proto_rawDesc = nil
3✔
289
        file_verrpc_verrpc_proto_goTypes = nil
3✔
290
        file_verrpc_verrpc_proto_depIdxs = nil
3✔
291
}
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