github.com/GoogleCloudPlatform/testgrid@v0.0.174/pb/issue_state/issue_state.pb.go (about) 1 /* 2 Copyright The TestGrid Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 // Backing state for issues associated with a TestGrid test group. 18 19 // Code generated by protoc-gen-go. DO NOT EDIT. 20 // versions: 21 // protoc-gen-go v1.28.0 22 // protoc v3.21.1 23 // source: issue_state.proto 24 25 package issue_state 26 27 import ( 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 reflect "reflect" 31 sync "sync" 32 ) 33 34 const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39 ) 40 41 type TargetAndMethods struct { 42 state protoimpl.MessageState 43 sizeCache protoimpl.SizeCache 44 unknownFields protoimpl.UnknownFields 45 46 TargetName string `protobuf:"bytes,1,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"` 47 MethodNames []string `protobuf:"bytes,2,rep,name=method_names,json=methodNames,proto3" json:"method_names,omitempty"` 48 } 49 50 func (x *TargetAndMethods) Reset() { 51 *x = TargetAndMethods{} 52 if protoimpl.UnsafeEnabled { 53 mi := &file_issue_state_proto_msgTypes[0] 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 ms.StoreMessageInfo(mi) 56 } 57 } 58 59 func (x *TargetAndMethods) String() string { 60 return protoimpl.X.MessageStringOf(x) 61 } 62 63 func (*TargetAndMethods) ProtoMessage() {} 64 65 func (x *TargetAndMethods) ProtoReflect() protoreflect.Message { 66 mi := &file_issue_state_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 // Deprecated: Use TargetAndMethods.ProtoReflect.Descriptor instead. 78 func (*TargetAndMethods) Descriptor() ([]byte, []int) { 79 return file_issue_state_proto_rawDescGZIP(), []int{0} 80 } 81 82 func (x *TargetAndMethods) GetTargetName() string { 83 if x != nil { 84 return x.TargetName 85 } 86 return "" 87 } 88 89 func (x *TargetAndMethods) GetMethodNames() []string { 90 if x != nil { 91 return x.MethodNames 92 } 93 return nil 94 } 95 96 type IssueInfo struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 IssueId string `protobuf:"bytes,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"` 102 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Issue title or description. 103 IsAutobug bool `protobuf:"varint,3,opt,name=is_autobug,json=isAutobug,proto3" json:"is_autobug,omitempty"` // True if auto-created by TestGrid for a failing test. 104 IsFlakinessBug bool `protobuf:"varint,8,opt,name=is_flakiness_bug,json=isFlakinessBug,proto3" json:"is_flakiness_bug,omitempty"` // True if auto-created by TestGrid for a flaky test. 105 LastModified float64 `protobuf:"fixed64,4,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` // In seconds since epoch. 106 RowIds []string `protobuf:"bytes,5,rep,name=row_ids,json=rowIds,proto3" json:"row_ids,omitempty"` // Associated row IDs (mentioned in the issue). 107 // Run IDs used to associate this issue with a particular target (in case of 108 // repeats, or across runs on different dashboards). 109 RunIds []string `protobuf:"bytes,6,rep,name=run_ids,json=runIds,proto3" json:"run_ids,omitempty"` 110 // Targets + methods associated with this issue. 111 // Only set if test group's `link_bugs_by_test_methods` is True, else all 112 // targets + methods will be linked to this issue. 113 TargetsAndMethods []*TargetAndMethods `protobuf:"bytes,7,rep,name=targets_and_methods,json=targetsAndMethods,proto3" json:"targets_and_methods,omitempty"` 114 } 115 116 func (x *IssueInfo) Reset() { 117 *x = IssueInfo{} 118 if protoimpl.UnsafeEnabled { 119 mi := &file_issue_state_proto_msgTypes[1] 120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 121 ms.StoreMessageInfo(mi) 122 } 123 } 124 125 func (x *IssueInfo) String() string { 126 return protoimpl.X.MessageStringOf(x) 127 } 128 129 func (*IssueInfo) ProtoMessage() {} 130 131 func (x *IssueInfo) ProtoReflect() protoreflect.Message { 132 mi := &file_issue_state_proto_msgTypes[1] 133 if protoimpl.UnsafeEnabled && x != nil { 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 if ms.LoadMessageInfo() == nil { 136 ms.StoreMessageInfo(mi) 137 } 138 return ms 139 } 140 return mi.MessageOf(x) 141 } 142 143 // Deprecated: Use IssueInfo.ProtoReflect.Descriptor instead. 144 func (*IssueInfo) Descriptor() ([]byte, []int) { 145 return file_issue_state_proto_rawDescGZIP(), []int{1} 146 } 147 148 func (x *IssueInfo) GetIssueId() string { 149 if x != nil { 150 return x.IssueId 151 } 152 return "" 153 } 154 155 func (x *IssueInfo) GetTitle() string { 156 if x != nil { 157 return x.Title 158 } 159 return "" 160 } 161 162 func (x *IssueInfo) GetIsAutobug() bool { 163 if x != nil { 164 return x.IsAutobug 165 } 166 return false 167 } 168 169 func (x *IssueInfo) GetIsFlakinessBug() bool { 170 if x != nil { 171 return x.IsFlakinessBug 172 } 173 return false 174 } 175 176 func (x *IssueInfo) GetLastModified() float64 { 177 if x != nil { 178 return x.LastModified 179 } 180 return 0 181 } 182 183 func (x *IssueInfo) GetRowIds() []string { 184 if x != nil { 185 return x.RowIds 186 } 187 return nil 188 } 189 190 func (x *IssueInfo) GetRunIds() []string { 191 if x != nil { 192 return x.RunIds 193 } 194 return nil 195 } 196 197 func (x *IssueInfo) GetTargetsAndMethods() []*TargetAndMethods { 198 if x != nil { 199 return x.TargetsAndMethods 200 } 201 return nil 202 } 203 204 type IssueState struct { 205 state protoimpl.MessageState 206 sizeCache protoimpl.SizeCache 207 unknownFields protoimpl.UnknownFields 208 209 // List of collected info for bugs. 210 IssueInfo []*IssueInfo `protobuf:"bytes,1,rep,name=issue_info,json=issueInfo,proto3" json:"issue_info,omitempty"` 211 } 212 213 func (x *IssueState) Reset() { 214 *x = IssueState{} 215 if protoimpl.UnsafeEnabled { 216 mi := &file_issue_state_proto_msgTypes[2] 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 ms.StoreMessageInfo(mi) 219 } 220 } 221 222 func (x *IssueState) String() string { 223 return protoimpl.X.MessageStringOf(x) 224 } 225 226 func (*IssueState) ProtoMessage() {} 227 228 func (x *IssueState) ProtoReflect() protoreflect.Message { 229 mi := &file_issue_state_proto_msgTypes[2] 230 if protoimpl.UnsafeEnabled && x != nil { 231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 232 if ms.LoadMessageInfo() == nil { 233 ms.StoreMessageInfo(mi) 234 } 235 return ms 236 } 237 return mi.MessageOf(x) 238 } 239 240 // Deprecated: Use IssueState.ProtoReflect.Descriptor instead. 241 func (*IssueState) Descriptor() ([]byte, []int) { 242 return file_issue_state_proto_rawDescGZIP(), []int{2} 243 } 244 245 func (x *IssueState) GetIssueInfo() []*IssueInfo { 246 if x != nil { 247 return x.IssueInfo 248 } 249 return nil 250 } 251 252 var File_issue_state_proto protoreflect.FileDescriptor 253 254 var file_issue_state_proto_rawDesc = []byte{ 255 0x0a, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 256 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x74, 0x65, 0x73, 0x74, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x69, 0x73, 257 0x73, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x56, 0x0a, 0x10, 0x54, 0x61, 0x72, 258 0x67, 0x65, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x1f, 0x0a, 259 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 260 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 261 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 262 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 263 0x73, 0x22, 0xb4, 0x02, 0x0a, 0x09, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 264 0x19, 0x0a, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 265 0x09, 0x52, 0x07, 0x69, 0x73, 0x73, 0x75, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 266 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 267 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x62, 0x75, 0x67, 0x18, 0x03, 268 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x62, 0x75, 0x67, 0x12, 269 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x66, 0x6c, 0x61, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 270 0x62, 0x75, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x46, 0x6c, 0x61, 271 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x42, 0x75, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 272 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 273 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x17, 274 0x0a, 0x07, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 275 0x06, 0x72, 0x6f, 0x77, 0x49, 0x64, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x5f, 0x69, 276 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x72, 0x75, 0x6e, 0x49, 0x64, 0x73, 277 0x12, 0x56, 0x0a, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 278 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 279 0x74, 0x65, 0x73, 0x74, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x73, 280 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x65, 281 0x74, 0x68, 0x6f, 0x64, 0x73, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x41, 0x6e, 282 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x22, 0x58, 0x0a, 0x0a, 0x49, 0x73, 0x73, 0x75, 283 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 284 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x73, 285 0x74, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 286 0x65, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x69, 0x73, 0x73, 287 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 288 0x10, 0x04, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 289 0x2f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x6c, 0x61, 0x74, 290 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x67, 0x72, 0x69, 0x64, 0x2f, 0x70, 0x62, 291 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 292 0x6f, 0x74, 0x6f, 0x33, 293 } 294 295 var ( 296 file_issue_state_proto_rawDescOnce sync.Once 297 file_issue_state_proto_rawDescData = file_issue_state_proto_rawDesc 298 ) 299 300 func file_issue_state_proto_rawDescGZIP() []byte { 301 file_issue_state_proto_rawDescOnce.Do(func() { 302 file_issue_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_issue_state_proto_rawDescData) 303 }) 304 return file_issue_state_proto_rawDescData 305 } 306 307 var file_issue_state_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 308 var file_issue_state_proto_goTypes = []interface{}{ 309 (*TargetAndMethods)(nil), // 0: testgrid.issue_state.TargetAndMethods 310 (*IssueInfo)(nil), // 1: testgrid.issue_state.IssueInfo 311 (*IssueState)(nil), // 2: testgrid.issue_state.IssueState 312 } 313 var file_issue_state_proto_depIdxs = []int32{ 314 0, // 0: testgrid.issue_state.IssueInfo.targets_and_methods:type_name -> testgrid.issue_state.TargetAndMethods 315 1, // 1: testgrid.issue_state.IssueState.issue_info:type_name -> testgrid.issue_state.IssueInfo 316 2, // [2:2] is the sub-list for method output_type 317 2, // [2:2] is the sub-list for method input_type 318 2, // [2:2] is the sub-list for extension type_name 319 2, // [2:2] is the sub-list for extension extendee 320 0, // [0:2] is the sub-list for field type_name 321 } 322 323 func init() { file_issue_state_proto_init() } 324 func file_issue_state_proto_init() { 325 if File_issue_state_proto != nil { 326 return 327 } 328 if !protoimpl.UnsafeEnabled { 329 file_issue_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 330 switch v := v.(*TargetAndMethods); i { 331 case 0: 332 return &v.state 333 case 1: 334 return &v.sizeCache 335 case 2: 336 return &v.unknownFields 337 default: 338 return nil 339 } 340 } 341 file_issue_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 342 switch v := v.(*IssueInfo); i { 343 case 0: 344 return &v.state 345 case 1: 346 return &v.sizeCache 347 case 2: 348 return &v.unknownFields 349 default: 350 return nil 351 } 352 } 353 file_issue_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 354 switch v := v.(*IssueState); i { 355 case 0: 356 return &v.state 357 case 1: 358 return &v.sizeCache 359 case 2: 360 return &v.unknownFields 361 default: 362 return nil 363 } 364 } 365 } 366 type x struct{} 367 out := protoimpl.TypeBuilder{ 368 File: protoimpl.DescBuilder{ 369 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 370 RawDescriptor: file_issue_state_proto_rawDesc, 371 NumEnums: 0, 372 NumMessages: 3, 373 NumExtensions: 0, 374 NumServices: 0, 375 }, 376 GoTypes: file_issue_state_proto_goTypes, 377 DependencyIndexes: file_issue_state_proto_depIdxs, 378 MessageInfos: file_issue_state_proto_msgTypes, 379 }.Build() 380 File_issue_state_proto = out.File 381 file_issue_state_proto_rawDesc = nil 382 file_issue_state_proto_goTypes = nil 383 file_issue_state_proto_depIdxs = nil 384 }