go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/analysis/proto/v1/test_metadata.pb.go (about) 1 // Copyright 2023 The LUCI Authors. 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.32.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/analysis/proto/v1/test_metadata.proto 20 21 package analysispb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 // Information about a test. 38 // 39 // Currently a clone of resultdb.v1.TestMetadata. Do not use 40 // that proto directly to allow for independent evolution of 41 // protos in LUCI Analysis and ResultDB. 42 type TestMetadata struct { 43 state protoimpl.MessageState 44 sizeCache protoimpl.SizeCache 45 unknownFields protoimpl.UnknownFields 46 47 // The original test name. 48 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 49 // Where the test is defined, e.g. the file name. 50 // location.repo MUST be specified. 51 Location *TestLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` 52 // The issue tracker component associated with the test, if any. 53 // Bugs related to the test may be filed here. 54 BugComponent *BugComponent `protobuf:"bytes,3,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"` 55 } 56 57 func (x *TestMetadata) Reset() { 58 *x = TestMetadata{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64 } 65 66 func (x *TestMetadata) String() string { 67 return protoimpl.X.MessageStringOf(x) 68 } 69 70 func (*TestMetadata) ProtoMessage() {} 71 72 func (x *TestMetadata) ProtoReflect() protoreflect.Message { 73 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82 } 83 84 // Deprecated: Use TestMetadata.ProtoReflect.Descriptor instead. 85 func (*TestMetadata) Descriptor() ([]byte, []int) { 86 return file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescGZIP(), []int{0} 87 } 88 89 func (x *TestMetadata) GetName() string { 90 if x != nil { 91 return x.Name 92 } 93 return "" 94 } 95 96 func (x *TestMetadata) GetLocation() *TestLocation { 97 if x != nil { 98 return x.Location 99 } 100 return nil 101 } 102 103 func (x *TestMetadata) GetBugComponent() *BugComponent { 104 if x != nil { 105 return x.BugComponent 106 } 107 return nil 108 } 109 110 // Location of the test definition. 111 type TestLocation struct { 112 state protoimpl.MessageState 113 sizeCache protoimpl.SizeCache 114 unknownFields protoimpl.UnknownFields 115 116 // Gitiles URL as the identifier for a repo. 117 // Format for Gitiles URL: https://<host>/<project> 118 // For example "https://chromium.googlesource.com/chromium/src" 119 // Must not end with ".git". 120 // SHOULD be specified. 121 Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 122 // Name of the file where the test is defined. 123 // For files in a repository, must start with "//" 124 // Example: "//components/payments/core/payment_request_data_util_unittest.cc" 125 // Max length: 512. 126 // MUST not use backslashes. 127 // Required. 128 FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` 129 // One-based line number where the test is defined. 130 Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` 131 } 132 133 func (x *TestLocation) Reset() { 134 *x = TestLocation{} 135 if protoimpl.UnsafeEnabled { 136 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[1] 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 ms.StoreMessageInfo(mi) 139 } 140 } 141 142 func (x *TestLocation) String() string { 143 return protoimpl.X.MessageStringOf(x) 144 } 145 146 func (*TestLocation) ProtoMessage() {} 147 148 func (x *TestLocation) ProtoReflect() protoreflect.Message { 149 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[1] 150 if protoimpl.UnsafeEnabled && x != nil { 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 if ms.LoadMessageInfo() == nil { 153 ms.StoreMessageInfo(mi) 154 } 155 return ms 156 } 157 return mi.MessageOf(x) 158 } 159 160 // Deprecated: Use TestLocation.ProtoReflect.Descriptor instead. 161 func (*TestLocation) Descriptor() ([]byte, []int) { 162 return file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescGZIP(), []int{1} 163 } 164 165 func (x *TestLocation) GetRepo() string { 166 if x != nil { 167 return x.Repo 168 } 169 return "" 170 } 171 172 func (x *TestLocation) GetFileName() string { 173 if x != nil { 174 return x.FileName 175 } 176 return "" 177 } 178 179 func (x *TestLocation) GetLine() int32 { 180 if x != nil { 181 return x.Line 182 } 183 return 0 184 } 185 186 // Represents a component in an issue tracker. A component is 187 // a container for issues. 188 type BugComponent struct { 189 state protoimpl.MessageState 190 sizeCache protoimpl.SizeCache 191 unknownFields protoimpl.UnknownFields 192 193 // Types that are assignable to System: 194 // 195 // *BugComponent_IssueTracker 196 // *BugComponent_Monorail 197 System isBugComponent_System `protobuf_oneof:"system"` 198 } 199 200 func (x *BugComponent) Reset() { 201 *x = BugComponent{} 202 if protoimpl.UnsafeEnabled { 203 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[2] 204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 205 ms.StoreMessageInfo(mi) 206 } 207 } 208 209 func (x *BugComponent) String() string { 210 return protoimpl.X.MessageStringOf(x) 211 } 212 213 func (*BugComponent) ProtoMessage() {} 214 215 func (x *BugComponent) ProtoReflect() protoreflect.Message { 216 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[2] 217 if protoimpl.UnsafeEnabled && x != nil { 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 if ms.LoadMessageInfo() == nil { 220 ms.StoreMessageInfo(mi) 221 } 222 return ms 223 } 224 return mi.MessageOf(x) 225 } 226 227 // Deprecated: Use BugComponent.ProtoReflect.Descriptor instead. 228 func (*BugComponent) Descriptor() ([]byte, []int) { 229 return file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescGZIP(), []int{2} 230 } 231 232 func (m *BugComponent) GetSystem() isBugComponent_System { 233 if m != nil { 234 return m.System 235 } 236 return nil 237 } 238 239 func (x *BugComponent) GetIssueTracker() *IssueTrackerComponent { 240 if x, ok := x.GetSystem().(*BugComponent_IssueTracker); ok { 241 return x.IssueTracker 242 } 243 return nil 244 } 245 246 func (x *BugComponent) GetMonorail() *MonorailComponent { 247 if x, ok := x.GetSystem().(*BugComponent_Monorail); ok { 248 return x.Monorail 249 } 250 return nil 251 } 252 253 type isBugComponent_System interface { 254 isBugComponent_System() 255 } 256 257 type BugComponent_IssueTracker struct { 258 // The Google Issue Tracker component. 259 IssueTracker *IssueTrackerComponent `protobuf:"bytes,1,opt,name=issue_tracker,json=issueTracker,proto3,oneof"` 260 } 261 262 type BugComponent_Monorail struct { 263 // The monorail component. 264 Monorail *MonorailComponent `protobuf:"bytes,2,opt,name=monorail,proto3,oneof"` 265 } 266 267 func (*BugComponent_IssueTracker) isBugComponent_System() {} 268 269 func (*BugComponent_Monorail) isBugComponent_System() {} 270 271 // A component in Google Issue Tracker, sometimes known as Buganizer, 272 // available at https://issuetracker.google.com. 273 type IssueTrackerComponent struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 278 // The Google Issue Tracker component ID. 279 ComponentId int64 `protobuf:"varint,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` 280 } 281 282 func (x *IssueTrackerComponent) Reset() { 283 *x = IssueTrackerComponent{} 284 if protoimpl.UnsafeEnabled { 285 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[3] 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 ms.StoreMessageInfo(mi) 288 } 289 } 290 291 func (x *IssueTrackerComponent) String() string { 292 return protoimpl.X.MessageStringOf(x) 293 } 294 295 func (*IssueTrackerComponent) ProtoMessage() {} 296 297 func (x *IssueTrackerComponent) ProtoReflect() protoreflect.Message { 298 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[3] 299 if protoimpl.UnsafeEnabled && x != nil { 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 if ms.LoadMessageInfo() == nil { 302 ms.StoreMessageInfo(mi) 303 } 304 return ms 305 } 306 return mi.MessageOf(x) 307 } 308 309 // Deprecated: Use IssueTrackerComponent.ProtoReflect.Descriptor instead. 310 func (*IssueTrackerComponent) Descriptor() ([]byte, []int) { 311 return file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescGZIP(), []int{3} 312 } 313 314 func (x *IssueTrackerComponent) GetComponentId() int64 { 315 if x != nil { 316 return x.ComponentId 317 } 318 return 0 319 } 320 321 // A component in monorail issue tracker, available at 322 // https://bugs.chromium.org. 323 type MonorailComponent struct { 324 state protoimpl.MessageState 325 sizeCache protoimpl.SizeCache 326 unknownFields protoimpl.UnknownFields 327 328 // The monorail project name. 329 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 330 // The monorail component value. E.g. "Blink>Accessibility". 331 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 332 } 333 334 func (x *MonorailComponent) Reset() { 335 *x = MonorailComponent{} 336 if protoimpl.UnsafeEnabled { 337 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[4] 338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 339 ms.StoreMessageInfo(mi) 340 } 341 } 342 343 func (x *MonorailComponent) String() string { 344 return protoimpl.X.MessageStringOf(x) 345 } 346 347 func (*MonorailComponent) ProtoMessage() {} 348 349 func (x *MonorailComponent) ProtoReflect() protoreflect.Message { 350 mi := &file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[4] 351 if protoimpl.UnsafeEnabled && x != nil { 352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 353 if ms.LoadMessageInfo() == nil { 354 ms.StoreMessageInfo(mi) 355 } 356 return ms 357 } 358 return mi.MessageOf(x) 359 } 360 361 // Deprecated: Use MonorailComponent.ProtoReflect.Descriptor instead. 362 func (*MonorailComponent) Descriptor() ([]byte, []int) { 363 return file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescGZIP(), []int{4} 364 } 365 366 func (x *MonorailComponent) GetProject() string { 367 if x != nil { 368 return x.Project 369 } 370 return "" 371 } 372 373 func (x *MonorailComponent) GetValue() string { 374 if x != nil { 375 return x.Value 376 } 377 return "" 378 } 379 380 var File_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto protoreflect.FileDescriptor 381 382 var file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDesc = []byte{ 383 0x0a, 0x3a, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 384 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 385 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 386 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6c, 0x75, 387 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x22, 0xa3, 388 0x01, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 389 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 390 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 391 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 392 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x63, 393 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 394 0x43, 0x0a, 0x0d, 0x62, 0x75, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 395 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 396 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x67, 0x43, 0x6f, 0x6d, 397 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 398 0x6e, 0x65, 0x6e, 0x74, 0x22, 0x53, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 399 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x01, 0x20, 0x01, 400 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 401 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 402 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 403 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x0c, 0x42, 0x75, 404 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x0d, 0x69, 0x73, 405 0x73, 0x75, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 406 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 407 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 408 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x73, 409 0x73, 0x75, 0x65, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x6f, 410 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 411 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 412 0x4d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 413 0x74, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x42, 0x08, 0x0a, 414 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x3a, 0x0a, 0x15, 0x49, 0x73, 0x73, 0x75, 0x65, 415 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 416 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 417 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 418 0x74, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x11, 0x4d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x43, 419 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 420 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 421 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 422 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x6f, 0x2e, 0x63, 423 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 424 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 425 0x76, 0x31, 0x3b, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 426 0x72, 0x6f, 0x74, 0x6f, 0x33, 427 } 428 429 var ( 430 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescOnce sync.Once 431 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescData = file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDesc 432 ) 433 434 func file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescGZIP() []byte { 435 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescOnce.Do(func() { 436 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescData) 437 }) 438 return file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDescData 439 } 440 441 var file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 442 var file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_goTypes = []interface{}{ 443 (*TestMetadata)(nil), // 0: luci.analysis.v1.TestMetadata 444 (*TestLocation)(nil), // 1: luci.analysis.v1.TestLocation 445 (*BugComponent)(nil), // 2: luci.analysis.v1.BugComponent 446 (*IssueTrackerComponent)(nil), // 3: luci.analysis.v1.IssueTrackerComponent 447 (*MonorailComponent)(nil), // 4: luci.analysis.v1.MonorailComponent 448 } 449 var file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_depIdxs = []int32{ 450 1, // 0: luci.analysis.v1.TestMetadata.location:type_name -> luci.analysis.v1.TestLocation 451 2, // 1: luci.analysis.v1.TestMetadata.bug_component:type_name -> luci.analysis.v1.BugComponent 452 3, // 2: luci.analysis.v1.BugComponent.issue_tracker:type_name -> luci.analysis.v1.IssueTrackerComponent 453 4, // 3: luci.analysis.v1.BugComponent.monorail:type_name -> luci.analysis.v1.MonorailComponent 454 4, // [4:4] is the sub-list for method output_type 455 4, // [4:4] is the sub-list for method input_type 456 4, // [4:4] is the sub-list for extension type_name 457 4, // [4:4] is the sub-list for extension extendee 458 0, // [0:4] is the sub-list for field type_name 459 } 460 461 func init() { file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_init() } 462 func file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_init() { 463 if File_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto != nil { 464 return 465 } 466 if !protoimpl.UnsafeEnabled { 467 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 468 switch v := v.(*TestMetadata); i { 469 case 0: 470 return &v.state 471 case 1: 472 return &v.sizeCache 473 case 2: 474 return &v.unknownFields 475 default: 476 return nil 477 } 478 } 479 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 480 switch v := v.(*TestLocation); i { 481 case 0: 482 return &v.state 483 case 1: 484 return &v.sizeCache 485 case 2: 486 return &v.unknownFields 487 default: 488 return nil 489 } 490 } 491 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 492 switch v := v.(*BugComponent); i { 493 case 0: 494 return &v.state 495 case 1: 496 return &v.sizeCache 497 case 2: 498 return &v.unknownFields 499 default: 500 return nil 501 } 502 } 503 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 504 switch v := v.(*IssueTrackerComponent); i { 505 case 0: 506 return &v.state 507 case 1: 508 return &v.sizeCache 509 case 2: 510 return &v.unknownFields 511 default: 512 return nil 513 } 514 } 515 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 516 switch v := v.(*MonorailComponent); i { 517 case 0: 518 return &v.state 519 case 1: 520 return &v.sizeCache 521 case 2: 522 return &v.unknownFields 523 default: 524 return nil 525 } 526 } 527 } 528 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes[2].OneofWrappers = []interface{}{ 529 (*BugComponent_IssueTracker)(nil), 530 (*BugComponent_Monorail)(nil), 531 } 532 type x struct{} 533 out := protoimpl.TypeBuilder{ 534 File: protoimpl.DescBuilder{ 535 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 536 RawDescriptor: file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDesc, 537 NumEnums: 0, 538 NumMessages: 5, 539 NumExtensions: 0, 540 NumServices: 0, 541 }, 542 GoTypes: file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_goTypes, 543 DependencyIndexes: file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_depIdxs, 544 MessageInfos: file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_msgTypes, 545 }.Build() 546 File_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto = out.File 547 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_rawDesc = nil 548 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_goTypes = nil 549 file_go_chromium_org_luci_analysis_proto_v1_test_metadata_proto_depIdxs = nil 550 }