| 1 |
// Copyright 2021 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/devtools/resultstore/v2/coverage.proto |
| 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 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Describes line coverage for a file |
| 39 |
type LineCoverage struct { |
| 40 |
state protoimpl.MessageState |
| 41 |
sizeCache protoimpl.SizeCache |
| 42 |
unknownFields protoimpl.UnknownFields |
| 43 |
|
| 44 |
// Which source lines in the file represent the start of a statement that was |
| 45 |
// instrumented to detect whether it was executed by the test. |
| 46 |
// |
| 47 |
// This is a bitfield where i-th bit corresponds to the i-th line. Divide line |
| 48 |
// number by 8 to get index into byte array. Mod line number by 8 to get bit |
| 49 |
// number (0 = LSB, 7 = MSB). |
| 50 |
// |
| 51 |
// A 1 denotes the line was instrumented. |
| 52 |
// A 0 denotes the line was not instrumented. |
| 53 |
InstrumentedLines []byte `protobuf:"bytes,1,opt,name=instrumented_lines,json=instrumentedLines,proto3" json:"instrumented_lines,omitempty"` |
| 54 |
// Which of the instrumented source lines were executed by the test. Should |
| 55 |
// include lines that were not instrumented. |
| 56 |
// |
| 57 |
// This is a bitfield where i-th bit corresponds to the i-th line. Divide line |
| 58 |
// number by 8 to get index into byte array. Mod line number by 8 to get bit |
| 59 |
// number (0 = LSB, 7 = MSB). |
| 60 |
// |
| 61 |
// A 1 denotes the line was executed. |
| 62 |
// A 0 denotes the line was not executed. |
| 63 |
ExecutedLines []byte `protobuf:"bytes,2,opt,name=executed_lines,json=executedLines,proto3" json:"executed_lines,omitempty"` |
| 64 |
} |
| 65 |
|
| 66 |
func (x *LineCoverage) Reset() { |
| 67 |
*x = LineCoverage{} |
| 68 |
if protoimpl.UnsafeEnabled { |
| 69 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[0] |
| 70 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 71 |
ms.StoreMessageInfo(mi) |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
func (x *LineCoverage) String() string { |
| 76 |
return protoimpl.X.MessageStringOf(x) |
| 77 |
} |
| 78 |
|
| 79 |
func (*LineCoverage) ProtoMessage() {} |
| 80 |
|
| 81 |
func (x *LineCoverage) ProtoReflect() protoreflect.Message { |
| 82 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[0] |
| 83 |
if protoimpl.UnsafeEnabled && x != nil { |
| 84 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 85 |
if ms.LoadMessageInfo() == nil { |
| 86 |
ms.StoreMessageInfo(mi) |
| 87 |
} |
| 88 |
return ms |
| 89 |
} |
| 90 |
return mi.MessageOf(x) |
| 91 |
} |
| 92 |
|
| 93 |
// Deprecated: Use LineCoverage.ProtoReflect.Descriptor instead. |
| 94 |
func (*LineCoverage) Descriptor() ([]byte, []int) { |
| 95 |
return file_google_devtools_resultstore_v2_coverage_proto_rawDescGZIP(), []int{0} |
| 96 |
} |
| 97 |
|
| 98 |
func (x *LineCoverage) GetInstrumentedLines() []byte { |
| 99 |
if x != nil { |
| 100 |
return x.InstrumentedLines |
| 101 |
} |
| 102 |
return nil |
| 103 |
} |
| 104 |
|
| 105 |
func (x *LineCoverage) GetExecutedLines() []byte { |
| 106 |
if x != nil { |
| 107 |
return x.ExecutedLines |
| 108 |
} |
| 109 |
return nil |
| 110 |
} |
| 111 |
|
| 112 |
// Describes branch coverage for a file |
| 113 |
type BranchCoverage struct { |
| 114 |
state protoimpl.MessageState |
| 115 |
sizeCache protoimpl.SizeCache |
| 116 |
unknownFields protoimpl.UnknownFields |
| 117 |
|
| 118 |
// The field branch_present denotes the lines containing at least one branch. |
| 119 |
// |
| 120 |
// This is a bitfield where i-th bit corresponds to the i-th line. Divide line |
| 121 |
// number by 8 to get index into byte array. Mod line number by 8 to get bit |
| 122 |
// number (0 = LSB, 7 = MSB). |
| 123 |
// |
| 124 |
// A 1 denotes the line contains at least one branch. |
| 125 |
// A 0 denotes the line contains no branches. |
| 126 |
BranchPresent []byte `protobuf:"bytes,1,opt,name=branch_present,json=branchPresent,proto3" json:"branch_present,omitempty"` |
| 127 |
// Contains the number of branches present, only for the lines which have the |
| 128 |
// corresponding bit set in branch_present, in a relative order ignoring |
| 129 |
// lines which do not have any branches. |
| 130 |
BranchesInLine []int32 `protobuf:"varint,2,rep,packed,name=branches_in_line,json=branchesInLine,proto3" json:"branches_in_line,omitempty"` |
| 131 |
// As each branch can have any one of the following three states: not |
| 132 |
// executed, executed but not taken, executed and taken. |
| 133 |
// |
| 134 |
// This is a bitfield where i-th bit corresponds to the i-th branch. Divide |
| 135 |
// branch number by 8 to get index into byte array. Mod branch number by 8 to |
| 136 |
// get bit number (0 = LSB, 7 = MSB). |
| 137 |
// |
| 138 |
// i-th bit of the following two byte arrays are used to denote the above |
| 139 |
// mentioned states. |
| 140 |
// |
| 141 |
// not executed: i-th bit of executed == 0 && i-th bit of taken == 0 |
| 142 |
// executed but not taken: i-th bit of executed == 1 && i-th bit of taken == 0 |
| 143 |
// executed and taken: i-th bit of executed == 1 && i-th bit of taken == 1 |
| 144 |
Executed []byte `protobuf:"bytes,3,opt,name=executed,proto3" json:"executed,omitempty"` |
| 145 |
// Described above. |
| 146 |
Taken []byte `protobuf:"bytes,4,opt,name=taken,proto3" json:"taken,omitempty"` |
| 147 |
} |
| 148 |
|
| 149 |
func (x *BranchCoverage) Reset() { |
| 150 |
*x = BranchCoverage{} |
| 151 |
if protoimpl.UnsafeEnabled { |
| 152 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[1] |
| 153 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 154 |
ms.StoreMessageInfo(mi) |
| 155 |
} |
| 156 |
} |
| 157 |
|
| 158 |
func (x *BranchCoverage) String() string { |
| 159 |
return protoimpl.X.MessageStringOf(x) |
| 160 |
} |
| 161 |
|
| 162 |
func (*BranchCoverage) ProtoMessage() {} |
| 163 |
|
| 164 |
func (x *BranchCoverage) ProtoReflect() protoreflect.Message { |
| 165 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[1] |
| 166 |
if protoimpl.UnsafeEnabled && x != nil { |
| 167 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 168 |
if ms.LoadMessageInfo() == nil { |
| 169 |
ms.StoreMessageInfo(mi) |
| 170 |
} |
| 171 |
return ms |
| 172 |
} |
| 173 |
return mi.MessageOf(x) |
| 174 |
} |
| 175 |
|
| 176 |
// Deprecated: Use BranchCoverage.ProtoReflect.Descriptor instead. |
| 177 |
func (*BranchCoverage) Descriptor() ([]byte, []int) { |
| 178 |
return file_google_devtools_resultstore_v2_coverage_proto_rawDescGZIP(), []int{1} |
| 179 |
} |
| 180 |
|
| 181 |
func (x *BranchCoverage) GetBranchPresent() []byte { |
| 182 |
if x != nil { |
| 183 |
return x.BranchPresent |
| 184 |
} |
| 185 |
return nil |
| 186 |
} |
| 187 |
|
| 188 |
func (x *BranchCoverage) GetBranchesInLine() []int32 { |
| 189 |
if x != nil { |
| 190 |
return x.BranchesInLine |
| 191 |
} |
| 192 |
return nil |
| 193 |
} |
| 194 |
|
| 195 |
func (x *BranchCoverage) GetExecuted() []byte { |
| 196 |
if x != nil { |
| 197 |
return x.Executed |
| 198 |
} |
| 199 |
return nil |
| 200 |
} |
| 201 |
|
| 202 |
func (x *BranchCoverage) GetTaken() []byte { |
| 203 |
if x != nil { |
| 204 |
return x.Taken |
| 205 |
} |
| 206 |
return nil |
| 207 |
} |
| 208 |
|
| 209 |
// Describes code coverage for a particular file under test. |
| 210 |
type FileCoverage struct { |
| 211 |
state protoimpl.MessageState |
| 212 |
sizeCache protoimpl.SizeCache |
| 213 |
unknownFields protoimpl.UnknownFields |
| 214 |
|
| 215 |
// Path of source file within the SourceContext of this Invocation. |
| 216 |
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| 217 |
// Details of lines in a file for calculating line coverage. |
| 218 |
LineCoverage *LineCoverage `protobuf:"bytes,2,opt,name=line_coverage,json=lineCoverage,proto3" json:"line_coverage,omitempty"` |
| 219 |
// Details of branches in a file for calculating branch coverage. |
| 220 |
BranchCoverage *BranchCoverage `protobuf:"bytes,3,opt,name=branch_coverage,json=branchCoverage,proto3" json:"branch_coverage,omitempty"` |
| 221 |
} |
| 222 |
|
| 223 |
func (x *FileCoverage) Reset() { |
| 224 |
*x = FileCoverage{} |
| 225 |
if protoimpl.UnsafeEnabled { |
| 226 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[2] |
| 227 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 228 |
ms.StoreMessageInfo(mi) |
| 229 |
} |
| 230 |
} |
| 231 |
|
| 232 |
func (x *FileCoverage) String() string { |
| 233 |
return protoimpl.X.MessageStringOf(x) |
| 234 |
} |
| 235 |
|
| 236 |
func (*FileCoverage) ProtoMessage() {} |
| 237 |
|
| 238 |
func (x *FileCoverage) ProtoReflect() protoreflect.Message { |
| 239 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[2] |
| 240 |
if protoimpl.UnsafeEnabled && x != nil { |
| 241 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 242 |
if ms.LoadMessageInfo() == nil { |
| 243 |
ms.StoreMessageInfo(mi) |
| 244 |
} |
| 245 |
return ms |
| 246 |
} |
| 247 |
return mi.MessageOf(x) |
| 248 |
} |
| 249 |
|
| 250 |
// Deprecated: Use FileCoverage.ProtoReflect.Descriptor instead. |
| 251 |
func (*FileCoverage) Descriptor() ([]byte, []int) { |
| 252 |
return file_google_devtools_resultstore_v2_coverage_proto_rawDescGZIP(), []int{2} |
| 253 |
} |
| 254 |
|
| 255 |
func (x *FileCoverage) GetPath() string { |
| 256 |
if x != nil { |
| 257 |
return x.Path |
| 258 |
} |
| 259 |
return "" |
| 260 |
} |
| 261 |
|
| 262 |
func (x *FileCoverage) GetLineCoverage() *LineCoverage { |
| 263 |
if x != nil { |
| 264 |
return x.LineCoverage |
| 265 |
} |
| 266 |
return nil |
| 267 |
} |
| 268 |
|
| 269 |
func (x *FileCoverage) GetBranchCoverage() *BranchCoverage { |
| 270 |
if x != nil { |
| 271 |
return x.BranchCoverage |
| 272 |
} |
| 273 |
return nil |
| 274 |
} |
| 275 |
|
| 276 |
// Describes code coverage for a build or test Action. This is used to store |
| 277 |
// baseline coverage for build Actions and test coverage for test Actions. |
| 278 |
type ActionCoverage struct { |
| 279 |
state protoimpl.MessageState |
| 280 |
sizeCache protoimpl.SizeCache |
| 281 |
unknownFields protoimpl.UnknownFields |
| 282 |
|
| 283 |
// List of coverage info for all source files that the TestResult covers. |
| 284 |
FileCoverages []*FileCoverage `protobuf:"bytes,2,rep,name=file_coverages,json=fileCoverages,proto3" json:"file_coverages,omitempty"` |
| 285 |
} |
| 286 |
|
| 287 |
func (x *ActionCoverage) Reset() { |
| 288 |
*x = ActionCoverage{} |
| 289 |
if protoimpl.UnsafeEnabled { |
| 290 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[3] |
| 291 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 292 |
ms.StoreMessageInfo(mi) |
| 293 |
} |
| 294 |
} |
| 295 |
|
| 296 |
func (x *ActionCoverage) String() string { |
| 297 |
return protoimpl.X.MessageStringOf(x) |
| 298 |
} |
| 299 |
|
| 300 |
func (*ActionCoverage) ProtoMessage() {} |
| 301 |
|
| 302 |
func (x *ActionCoverage) ProtoReflect() protoreflect.Message { |
| 303 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[3] |
| 304 |
if protoimpl.UnsafeEnabled && x != nil { |
| 305 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 306 |
if ms.LoadMessageInfo() == nil { |
| 307 |
ms.StoreMessageInfo(mi) |
| 308 |
} |
| 309 |
return ms |
| 310 |
} |
| 311 |
return mi.MessageOf(x) |
| 312 |
} |
| 313 |
|
| 314 |
// Deprecated: Use ActionCoverage.ProtoReflect.Descriptor instead. |
| 315 |
func (*ActionCoverage) Descriptor() ([]byte, []int) { |
| 316 |
return file_google_devtools_resultstore_v2_coverage_proto_rawDescGZIP(), []int{3} |
| 317 |
} |
| 318 |
|
| 319 |
func (x *ActionCoverage) GetFileCoverages() []*FileCoverage { |
| 320 |
if x != nil { |
| 321 |
return x.FileCoverages |
| 322 |
} |
| 323 |
return nil |
| 324 |
} |
| 325 |
|
| 326 |
// Describes aggregate code coverage for a collection of build or test Actions. |
| 327 |
// A line or branch is covered if and only if it is covered in any of the build |
| 328 |
// or test actions. |
| 329 |
type AggregateCoverage struct { |
| 330 |
state protoimpl.MessageState |
| 331 |
sizeCache protoimpl.SizeCache |
| 332 |
unknownFields protoimpl.UnknownFields |
| 333 |
|
| 334 |
// Aggregated coverage info for all source files that the actions cover. |
| 335 |
FileCoverages []*FileCoverage `protobuf:"bytes,1,rep,name=file_coverages,json=fileCoverages,proto3" json:"file_coverages,omitempty"` |
| 336 |
} |
| 337 |
|
| 338 |
func (x *AggregateCoverage) Reset() { |
| 339 |
*x = AggregateCoverage{} |
| 340 |
if protoimpl.UnsafeEnabled { |
| 341 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[4] |
| 342 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 343 |
ms.StoreMessageInfo(mi) |
| 344 |
} |
| 345 |
} |
| 346 |
|
| 347 |
func (x *AggregateCoverage) String() string { |
| 348 |
return protoimpl.X.MessageStringOf(x) |
| 349 |
} |
| 350 |
|
| 351 |
func (*AggregateCoverage) ProtoMessage() {} |
| 352 |
|
| 353 |
func (x *AggregateCoverage) ProtoReflect() protoreflect.Message { |
| 354 |
mi := &file_google_devtools_resultstore_v2_coverage_proto_msgTypes[4] |
| 355 |
if protoimpl.UnsafeEnabled && x != nil { |
| 356 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 357 |
if ms.LoadMessageInfo() == nil { |
| 358 |
ms.StoreMessageInfo(mi) |
| 359 |
} |
| 360 |
return ms |
| 361 |
} |
| 362 |
return mi.MessageOf(x) |
| 363 |
} |
| 364 |
|
| 365 |
// Deprecated: Use AggregateCoverage.ProtoReflect.Descriptor instead. |
| 366 |
func (*AggregateCoverage) Descriptor() ([]byte, []int) { |
| 367 |
return file_google_devtools_resultstore_v2_coverage_proto_rawDescGZIP(), []int{4} |
| 368 |
} |
| 369 |
|
| 370 |
func (x *AggregateCoverage) GetFileCoverages() []*FileCoverage { |
| 371 |
if x != nil { |
| 372 |
return x.FileCoverages |
| 373 |
} |
| 374 |
return nil |
| 375 |
} |
| 376 |
|
| 377 |
var File_google_devtools_resultstore_v2_coverage_proto protoreflect.FileDescriptor |
| 378 |
|
| 379 |
var file_google_devtools_resultstore_v2_coverage_proto_rawDesc = []byte{ |
| 380 |
0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 381 |
0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, |
| 382 |
0x2f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 383 |
0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 384 |
0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x22, |
| 385 |
0x64, 0x0a, 0x0c, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, |
| 386 |
0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x5f, |
| 387 |
0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x69, 0x6e, 0x73, |
| 388 |
0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x25, |
| 389 |
0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x73, |
| 390 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, |
| 391 |
0x4c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x0e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, |
| 392 |
0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x72, 0x61, 0x6e, |
| 393 |
0x63, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, |
| 394 |
0x52, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x12, |
| 395 |
0x28, 0x0a, 0x10, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x6c, |
| 396 |
0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x62, 0x72, 0x61, 0x6e, 0x63, |
| 397 |
0x68, 0x65, 0x73, 0x49, 0x6e, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x65, |
| 398 |
0x63, 0x75, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x65, 0x78, 0x65, |
| 399 |
0x63, 0x75, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x18, 0x04, |
| 400 |
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x22, 0xce, 0x01, 0x0a, 0x0c, |
| 401 |
0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, |
| 402 |
0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, |
| 403 |
0x12, 0x51, 0x0a, 0x0d, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, |
| 404 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 405 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 406 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x76, |
| 407 |
0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, |
| 408 |
0x61, 0x67, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x63, 0x6f, |
| 409 |
0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, |
| 410 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, |
| 411 |
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x72, |
| 412 |
0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x62, 0x72, |
| 413 |
0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x22, 0x65, 0x0a, 0x0e, |
| 414 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x53, |
| 415 |
0x0a, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x73, |
| 416 |
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 417 |
0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, |
| 418 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x76, 0x65, |
| 419 |
0x72, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, |
| 420 |
0x67, 0x65, 0x73, 0x22, 0x68, 0x0a, 0x11, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, |
| 421 |
0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x66, 0x69, 0x6c, 0x65, |
| 422 |
0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
| 423 |
0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, |
| 424 |
0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 425 |
0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x0d, |
| 426 |
0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x73, 0x42, 0x80, 0x01, |
| 427 |
0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, |
| 428 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, |
| 429 |
0x65, 0x2e, 0x76, 0x32, 0x42, 0x0d, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, |
| 430 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, |
| 431 |
0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, |
| 432 |
0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, |
| 433 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, |
| 434 |
0x65, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 435 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 436 |
} |
| 437 |
|
| 438 |
var ( |
| 439 |
file_google_devtools_resultstore_v2_coverage_proto_rawDescOnce sync.Once |
| 440 |
file_google_devtools_resultstore_v2_coverage_proto_rawDescData = file_google_devtools_resultstore_v2_coverage_proto_rawDesc |
| 441 |
) |
| 442 |
|
| 443 |
func file_google_devtools_resultstore_v2_coverage_proto_rawDescGZIP() []byte { |
| 444 |
file_google_devtools_resultstore_v2_coverage_proto_rawDescOnce.Do(func() { |
| 445 |
file_google_devtools_resultstore_v2_coverage_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_coverage_proto_rawDescData) |
| 446 |
}) |
| 447 |
return file_google_devtools_resultstore_v2_coverage_proto_rawDescData |
| 448 |
} |
| 449 |
|
| 450 |
var file_google_devtools_resultstore_v2_coverage_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 451 |
var file_google_devtools_resultstore_v2_coverage_proto_goTypes = []interface{}{ |
| 452 |
(*LineCoverage)(nil), // 0: google.devtools.resultstore.v2.LineCoverage |
| 453 |
(*BranchCoverage)(nil), // 1: google.devtools.resultstore.v2.BranchCoverage |
| 454 |
(*FileCoverage)(nil), // 2: google.devtools.resultstore.v2.FileCoverage |
| 455 |
(*ActionCoverage)(nil), // 3: google.devtools.resultstore.v2.ActionCoverage |
| 456 |
(*AggregateCoverage)(nil), // 4: google.devtools.resultstore.v2.AggregateCoverage |
| 457 |
} |
| 458 |
var file_google_devtools_resultstore_v2_coverage_proto_depIdxs = []int32{ |
| 459 |
0, // 0: google.devtools.resultstore.v2.FileCoverage.line_coverage:type_name -> google.devtools.resultstore.v2.LineCoverage |
| 460 |
1, // 1: google.devtools.resultstore.v2.FileCoverage.branch_coverage:type_name -> google.devtools.resultstore.v2.BranchCoverage |
| 461 |
2, // 2: google.devtools.resultstore.v2.ActionCoverage.file_coverages:type_name -> google.devtools.resultstore.v2.FileCoverage |
| 462 |
2, // 3: google.devtools.resultstore.v2.AggregateCoverage.file_coverages:type_name -> google.devtools.resultstore.v2.FileCoverage |
| 463 |
4, // [4:4] is the sub-list for method output_type |
| 464 |
4, // [4:4] is the sub-list for method input_type |
| 465 |
4, // [4:4] is the sub-list for extension type_name |
| 466 |
4, // [4:4] is the sub-list for extension extendee |
| 467 |
0, // [0:4] is the sub-list for field type_name |
| 468 |
} |
| 469 |
|
| 470 |
func init() { file_google_devtools_resultstore_v2_coverage_proto_init() } |
| 471 |
func file_google_devtools_resultstore_v2_coverage_proto_init() { |
| 472 |
if File_google_devtools_resultstore_v2_coverage_proto != nil { |
| 473 |
return |
| 474 |
} |
| 475 |
if !protoimpl.UnsafeEnabled { |
| 476 |
file_google_devtools_resultstore_v2_coverage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 477 |
switch v := v.(*LineCoverage); i { |
| 478 |
case 0: |
| 479 |
return &v.state |
| 480 |
case 1: |
| 481 |
return &v.sizeCache |
| 482 |
case 2: |
| 483 |
return &v.unknownFields |
| 484 |
default: |
| 485 |
return nil |
| 486 |
} |
| 487 |
} |
| 488 |
file_google_devtools_resultstore_v2_coverage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 489 |
switch v := v.(*BranchCoverage); i { |
| 490 |
case 0: |
| 491 |
return &v.state |
| 492 |
case 1: |
| 493 |
return &v.sizeCache |
| 494 |
case 2: |
| 495 |
return &v.unknownFields |
| 496 |
default: |
| 497 |
return nil |
| 498 |
} |
| 499 |
} |
| 500 |
file_google_devtools_resultstore_v2_coverage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 501 |
switch v := v.(*FileCoverage); i { |
| 502 |
case 0: |
| 503 |
return &v.state |
| 504 |
case 1: |
| 505 |
return &v.sizeCache |
| 506 |
case 2: |
| 507 |
return &v.unknownFields |
| 508 |
default: |
| 509 |
return nil |
| 510 |
} |
| 511 |
} |
| 512 |
file_google_devtools_resultstore_v2_coverage_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 513 |
switch v := v.(*ActionCoverage); i { |
| 514 |
case 0: |
| 515 |
return &v.state |
| 516 |
case 1: |
| 517 |
return &v.sizeCache |
| 518 |
case 2: |
| 519 |
return &v.unknownFields |
| 520 |
default: |
| 521 |
return nil |
| 522 |
} |
| 523 |
} |
| 524 |
file_google_devtools_resultstore_v2_coverage_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 525 |
switch v := v.(*AggregateCoverage); i { |
| 526 |
case 0: |
| 527 |
return &v.state |
| 528 |
case 1: |
| 529 |
return &v.sizeCache |
| 530 |
case 2: |
| 531 |
return &v.unknownFields |
| 532 |
default: |
| 533 |
return nil |
| 534 |
} |
| 535 |
} |
| 536 |
} |
| 537 |
type x struct{} |
| 538 |
out := protoimpl.TypeBuilder{ |
| 539 |
File: protoimpl.DescBuilder{ |
| 540 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 541 |
RawDescriptor: file_google_devtools_resultstore_v2_coverage_proto_rawDesc, |
| 542 |
NumEnums: 0, |
| 543 |
NumMessages: 5, |
| 544 |
NumExtensions: 0, |
| 545 |
NumServices: 0, |
| 546 |
}, |
| 547 |
GoTypes: file_google_devtools_resultstore_v2_coverage_proto_goTypes, |
| 548 |
DependencyIndexes: file_google_devtools_resultstore_v2_coverage_proto_depIdxs, |
| 549 |
MessageInfos: file_google_devtools_resultstore_v2_coverage_proto_msgTypes, |
| 550 |
}.Build() |
| 551 |
File_google_devtools_resultstore_v2_coverage_proto = out.File |
| 552 |
file_google_devtools_resultstore_v2_coverage_proto_rawDesc = nil |
| 553 |
file_google_devtools_resultstore_v2_coverage_proto_goTypes = nil |
| 554 |
file_google_devtools_resultstore_v2_coverage_proto_depIdxs = nil |
| 555 |
} |