1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package resultstore
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type LineCoverageSummary struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 InstrumentedLineCount int32 `protobuf:"varint,1,opt,name=instrumented_line_count,json=instrumentedLineCount,proto3" json:"instrumented_line_count,omitempty"`
46
47 ExecutedLineCount int32 `protobuf:"varint,2,opt,name=executed_line_count,json=executedLineCount,proto3" json:"executed_line_count,omitempty"`
48 }
49
50 func (x *LineCoverageSummary) Reset() {
51 *x = LineCoverageSummary{}
52 if protoimpl.UnsafeEnabled {
53 mi := &file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57 }
58
59 func (x *LineCoverageSummary) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*LineCoverageSummary) ProtoMessage() {}
64
65 func (x *LineCoverageSummary) ProtoReflect() protoreflect.Message {
66 mi := &file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[0]
67 if protoimpl.UnsafeEnabled && x != nil {
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 if ms.LoadMessageInfo() == nil {
70 ms.StoreMessageInfo(mi)
71 }
72 return ms
73 }
74 return mi.MessageOf(x)
75 }
76
77
78 func (*LineCoverageSummary) Descriptor() ([]byte, []int) {
79 return file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *LineCoverageSummary) GetInstrumentedLineCount() int32 {
83 if x != nil {
84 return x.InstrumentedLineCount
85 }
86 return 0
87 }
88
89 func (x *LineCoverageSummary) GetExecutedLineCount() int32 {
90 if x != nil {
91 return x.ExecutedLineCount
92 }
93 return 0
94 }
95
96
97
98
99
100
101 type BranchCoverageSummary struct {
102 state protoimpl.MessageState
103 sizeCache protoimpl.SizeCache
104 unknownFields protoimpl.UnknownFields
105
106
107 TotalBranchCount int32 `protobuf:"varint,1,opt,name=total_branch_count,json=totalBranchCount,proto3" json:"total_branch_count,omitempty"`
108
109
110
111 ExecutedBranchCount int32 `protobuf:"varint,2,opt,name=executed_branch_count,json=executedBranchCount,proto3" json:"executed_branch_count,omitempty"`
112
113
114
115 TakenBranchCount int32 `protobuf:"varint,3,opt,name=taken_branch_count,json=takenBranchCount,proto3" json:"taken_branch_count,omitempty"`
116 }
117
118 func (x *BranchCoverageSummary) Reset() {
119 *x = BranchCoverageSummary{}
120 if protoimpl.UnsafeEnabled {
121 mi := &file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[1]
122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123 ms.StoreMessageInfo(mi)
124 }
125 }
126
127 func (x *BranchCoverageSummary) String() string {
128 return protoimpl.X.MessageStringOf(x)
129 }
130
131 func (*BranchCoverageSummary) ProtoMessage() {}
132
133 func (x *BranchCoverageSummary) ProtoReflect() protoreflect.Message {
134 mi := &file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[1]
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
146 func (*BranchCoverageSummary) Descriptor() ([]byte, []int) {
147 return file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescGZIP(), []int{1}
148 }
149
150 func (x *BranchCoverageSummary) GetTotalBranchCount() int32 {
151 if x != nil {
152 return x.TotalBranchCount
153 }
154 return 0
155 }
156
157 func (x *BranchCoverageSummary) GetExecutedBranchCount() int32 {
158 if x != nil {
159 return x.ExecutedBranchCount
160 }
161 return 0
162 }
163
164 func (x *BranchCoverageSummary) GetTakenBranchCount() int32 {
165 if x != nil {
166 return x.TakenBranchCount
167 }
168 return 0
169 }
170
171
172 type LanguageCoverageSummary struct {
173 state protoimpl.MessageState
174 sizeCache protoimpl.SizeCache
175 unknownFields protoimpl.UnknownFields
176
177
178 Language Language `protobuf:"varint,1,opt,name=language,proto3,enum=google.devtools.resultstore.v2.Language" json:"language,omitempty"`
179
180 LineSummary *LineCoverageSummary `protobuf:"bytes,2,opt,name=line_summary,json=lineSummary,proto3" json:"line_summary,omitempty"`
181
182 BranchSummary *BranchCoverageSummary `protobuf:"bytes,3,opt,name=branch_summary,json=branchSummary,proto3" json:"branch_summary,omitempty"`
183 }
184
185 func (x *LanguageCoverageSummary) Reset() {
186 *x = LanguageCoverageSummary{}
187 if protoimpl.UnsafeEnabled {
188 mi := &file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[2]
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 ms.StoreMessageInfo(mi)
191 }
192 }
193
194 func (x *LanguageCoverageSummary) String() string {
195 return protoimpl.X.MessageStringOf(x)
196 }
197
198 func (*LanguageCoverageSummary) ProtoMessage() {}
199
200 func (x *LanguageCoverageSummary) ProtoReflect() protoreflect.Message {
201 mi := &file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[2]
202 if protoimpl.UnsafeEnabled && x != nil {
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 if ms.LoadMessageInfo() == nil {
205 ms.StoreMessageInfo(mi)
206 }
207 return ms
208 }
209 return mi.MessageOf(x)
210 }
211
212
213 func (*LanguageCoverageSummary) Descriptor() ([]byte, []int) {
214 return file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescGZIP(), []int{2}
215 }
216
217 func (x *LanguageCoverageSummary) GetLanguage() Language {
218 if x != nil {
219 return x.Language
220 }
221 return Language_LANGUAGE_UNSPECIFIED
222 }
223
224 func (x *LanguageCoverageSummary) GetLineSummary() *LineCoverageSummary {
225 if x != nil {
226 return x.LineSummary
227 }
228 return nil
229 }
230
231 func (x *LanguageCoverageSummary) GetBranchSummary() *BranchCoverageSummary {
232 if x != nil {
233 return x.BranchSummary
234 }
235 return nil
236 }
237
238 var File_google_devtools_resultstore_v2_coverage_summary_proto protoreflect.FileDescriptor
239
240 var file_google_devtools_resultstore_v2_coverage_summary_proto_rawDesc = []byte{
241 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
242 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32,
243 0x2f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72,
244 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
245 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
246 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
247 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
248 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
249 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, 0x0a, 0x13, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x76, 0x65,
250 0x72, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x36, 0x0a, 0x17, 0x69,
251 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x65,
252 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x69, 0x6e,
253 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x6f,
254 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f,
255 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
256 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x6f,
257 0x75, 0x6e, 0x74, 0x22, 0xa7, 0x01, 0x0a, 0x15, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f,
258 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x2c, 0x0a,
259 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x63, 0x6f,
260 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c,
261 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x65,
262 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x63,
263 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x65, 0x78, 0x65, 0x63,
264 0x75, 0x74, 0x65, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
265 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f,
266 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x61, 0x6b,
267 0x65, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x95, 0x02,
268 0x0a, 0x17, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61,
269 0x67, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x61, 0x6e,
270 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f,
271 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65,
272 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x6e,
273 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12,
274 0x56, 0x0a, 0x0c, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18,
275 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
276 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74,
277 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72,
278 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x65,
279 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x5c, 0x0a, 0x0e, 0x62, 0x72, 0x61, 0x6e, 0x63,
280 0x68, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
281 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
282 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32,
283 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x53,
284 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x75,
285 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x42, 0x87, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
286 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65,
287 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x14, 0x43, 0x6f,
288 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f,
289 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
290 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
291 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74,
292 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65,
293 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62,
294 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
295 }
296
297 var (
298 file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescOnce sync.Once
299 file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescData = file_google_devtools_resultstore_v2_coverage_summary_proto_rawDesc
300 )
301
302 func file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescGZIP() []byte {
303 file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescOnce.Do(func() {
304 file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescData)
305 })
306 return file_google_devtools_resultstore_v2_coverage_summary_proto_rawDescData
307 }
308
309 var file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
310 var file_google_devtools_resultstore_v2_coverage_summary_proto_goTypes = []interface{}{
311 (*LineCoverageSummary)(nil),
312 (*BranchCoverageSummary)(nil),
313 (*LanguageCoverageSummary)(nil),
314 (Language)(0),
315 }
316 var file_google_devtools_resultstore_v2_coverage_summary_proto_depIdxs = []int32{
317 3,
318 0,
319 1,
320 3,
321 3,
322 3,
323 3,
324 0,
325 }
326
327 func init() { file_google_devtools_resultstore_v2_coverage_summary_proto_init() }
328 func file_google_devtools_resultstore_v2_coverage_summary_proto_init() {
329 if File_google_devtools_resultstore_v2_coverage_summary_proto != nil {
330 return
331 }
332 file_google_devtools_resultstore_v2_common_proto_init()
333 if !protoimpl.UnsafeEnabled {
334 file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
335 switch v := v.(*LineCoverageSummary); i {
336 case 0:
337 return &v.state
338 case 1:
339 return &v.sizeCache
340 case 2:
341 return &v.unknownFields
342 default:
343 return nil
344 }
345 }
346 file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
347 switch v := v.(*BranchCoverageSummary); i {
348 case 0:
349 return &v.state
350 case 1:
351 return &v.sizeCache
352 case 2:
353 return &v.unknownFields
354 default:
355 return nil
356 }
357 }
358 file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
359 switch v := v.(*LanguageCoverageSummary); i {
360 case 0:
361 return &v.state
362 case 1:
363 return &v.sizeCache
364 case 2:
365 return &v.unknownFields
366 default:
367 return nil
368 }
369 }
370 }
371 type x struct{}
372 out := protoimpl.TypeBuilder{
373 File: protoimpl.DescBuilder{
374 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
375 RawDescriptor: file_google_devtools_resultstore_v2_coverage_summary_proto_rawDesc,
376 NumEnums: 0,
377 NumMessages: 3,
378 NumExtensions: 0,
379 NumServices: 0,
380 },
381 GoTypes: file_google_devtools_resultstore_v2_coverage_summary_proto_goTypes,
382 DependencyIndexes: file_google_devtools_resultstore_v2_coverage_summary_proto_depIdxs,
383 MessageInfos: file_google_devtools_resultstore_v2_coverage_summary_proto_msgTypes,
384 }.Build()
385 File_google_devtools_resultstore_v2_coverage_summary_proto = out.File
386 file_google_devtools_resultstore_v2_coverage_summary_proto_rawDesc = nil
387 file_google_devtools_resultstore_v2_coverage_summary_proto_goTypes = nil
388 file_google_devtools_resultstore_v2_coverage_summary_proto_depIdxs = nil
389 }
390
View as plain text