go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/prjmanager/prjpb/events.pb.go (about) 1 // Copyright 2020 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.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/cv/internal/prjmanager/prjpb/events.proto 20 21 package prjpb 22 23 import ( 24 changelist "go.chromium.org/luci/cv/internal/changelist" 25 run "go.chromium.org/luci/cv/internal/run" 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 reflect "reflect" 29 sync "sync" 30 ) 31 32 const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37 ) 38 39 // Event is a container for all kinds of events a project manager can receive. 40 type Event struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // Types that are assignable to Event: 46 // 47 // *Event_NewConfig 48 // *Event_Poke 49 // *Event_ClsUpdated 50 // *Event_RunCreated 51 // *Event_RunFinished 52 // *Event_PurgeCompleted 53 // *Event_TriggeringClDepsCompleted 54 Event isEvent_Event `protobuf_oneof:"event"` 55 } 56 57 func (x *Event) Reset() { 58 *x = Event{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64 } 65 66 func (x *Event) String() string { 67 return protoimpl.X.MessageStringOf(x) 68 } 69 70 func (*Event) ProtoMessage() {} 71 72 func (x *Event) ProtoReflect() protoreflect.Message { 73 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_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 Event.ProtoReflect.Descriptor instead. 85 func (*Event) Descriptor() ([]byte, []int) { 86 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{0} 87 } 88 89 func (m *Event) GetEvent() isEvent_Event { 90 if m != nil { 91 return m.Event 92 } 93 return nil 94 } 95 96 func (x *Event) GetNewConfig() *NewConfig { 97 if x, ok := x.GetEvent().(*Event_NewConfig); ok { 98 return x.NewConfig 99 } 100 return nil 101 } 102 103 func (x *Event) GetPoke() *Poke { 104 if x, ok := x.GetEvent().(*Event_Poke); ok { 105 return x.Poke 106 } 107 return nil 108 } 109 110 func (x *Event) GetClsUpdated() *changelist.CLUpdatedEvents { 111 if x, ok := x.GetEvent().(*Event_ClsUpdated); ok { 112 return x.ClsUpdated 113 } 114 return nil 115 } 116 117 func (x *Event) GetRunCreated() *RunCreated { 118 if x, ok := x.GetEvent().(*Event_RunCreated); ok { 119 return x.RunCreated 120 } 121 return nil 122 } 123 124 func (x *Event) GetRunFinished() *RunFinished { 125 if x, ok := x.GetEvent().(*Event_RunFinished); ok { 126 return x.RunFinished 127 } 128 return nil 129 } 130 131 func (x *Event) GetPurgeCompleted() *PurgeCompleted { 132 if x, ok := x.GetEvent().(*Event_PurgeCompleted); ok { 133 return x.PurgeCompleted 134 } 135 return nil 136 } 137 138 func (x *Event) GetTriggeringClDepsCompleted() *TriggeringCLDepsCompleted { 139 if x, ok := x.GetEvent().(*Event_TriggeringClDepsCompleted); ok { 140 return x.TriggeringClDepsCompleted 141 } 142 return nil 143 } 144 145 type isEvent_Event interface { 146 isEvent_Event() 147 } 148 149 type Event_NewConfig struct { 150 NewConfig *NewConfig `protobuf:"bytes,1,opt,name=new_config,json=newConfig,proto3,oneof"` 151 } 152 153 type Event_Poke struct { 154 Poke *Poke `protobuf:"bytes,2,opt,name=poke,proto3,oneof"` 155 } 156 157 type Event_ClsUpdated struct { 158 ClsUpdated *changelist.CLUpdatedEvents `protobuf:"bytes,7,opt,name=cls_updated,json=clsUpdated,proto3,oneof"` 159 } 160 161 type Event_RunCreated struct { 162 RunCreated *RunCreated `protobuf:"bytes,4,opt,name=run_created,json=runCreated,proto3,oneof"` 163 } 164 165 type Event_RunFinished struct { 166 RunFinished *RunFinished `protobuf:"bytes,5,opt,name=run_finished,json=runFinished,proto3,oneof"` 167 } 168 169 type Event_PurgeCompleted struct { 170 PurgeCompleted *PurgeCompleted `protobuf:"bytes,6,opt,name=purge_completed,json=purgeCompleted,proto3,oneof"` 171 } 172 173 type Event_TriggeringClDepsCompleted struct { 174 TriggeringClDepsCompleted *TriggeringCLDepsCompleted `protobuf:"bytes,9,opt,name=triggering_cl_deps_completed,json=triggeringClDepsCompleted,proto3,oneof"` 175 } 176 177 func (*Event_NewConfig) isEvent_Event() {} 178 179 func (*Event_Poke) isEvent_Event() {} 180 181 func (*Event_ClsUpdated) isEvent_Event() {} 182 183 func (*Event_RunCreated) isEvent_Event() {} 184 185 func (*Event_RunFinished) isEvent_Event() {} 186 187 func (*Event_PurgeCompleted) isEvent_Event() {} 188 189 func (*Event_TriggeringClDepsCompleted) isEvent_Event() {} 190 191 // NewConfig is sent to PM by Project Config updater upon saving newest config 192 // in datastore. 193 type NewConfig struct { 194 state protoimpl.MessageState 195 sizeCache protoimpl.SizeCache 196 unknownFields protoimpl.UnknownFields 197 } 198 199 func (x *NewConfig) Reset() { 200 *x = NewConfig{} 201 if protoimpl.UnsafeEnabled { 202 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[1] 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 ms.StoreMessageInfo(mi) 205 } 206 } 207 208 func (x *NewConfig) String() string { 209 return protoimpl.X.MessageStringOf(x) 210 } 211 212 func (*NewConfig) ProtoMessage() {} 213 214 func (x *NewConfig) ProtoReflect() protoreflect.Message { 215 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[1] 216 if protoimpl.UnsafeEnabled && x != nil { 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 if ms.LoadMessageInfo() == nil { 219 ms.StoreMessageInfo(mi) 220 } 221 return ms 222 } 223 return mi.MessageOf(x) 224 } 225 226 // Deprecated: Use NewConfig.ProtoReflect.Descriptor instead. 227 func (*NewConfig) Descriptor() ([]byte, []int) { 228 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{1} 229 } 230 231 // Poke is sent to PM by Project Config updater. 232 type Poke struct { 233 state protoimpl.MessageState 234 sizeCache protoimpl.SizeCache 235 unknownFields protoimpl.UnknownFields 236 } 237 238 func (x *Poke) Reset() { 239 *x = Poke{} 240 if protoimpl.UnsafeEnabled { 241 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[2] 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 ms.StoreMessageInfo(mi) 244 } 245 } 246 247 func (x *Poke) String() string { 248 return protoimpl.X.MessageStringOf(x) 249 } 250 251 func (*Poke) ProtoMessage() {} 252 253 func (x *Poke) ProtoReflect() protoreflect.Message { 254 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[2] 255 if protoimpl.UnsafeEnabled && x != nil { 256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 257 if ms.LoadMessageInfo() == nil { 258 ms.StoreMessageInfo(mi) 259 } 260 return ms 261 } 262 return mi.MessageOf(x) 263 } 264 265 // Deprecated: Use Poke.ProtoReflect.Descriptor instead. 266 func (*Poke) Descriptor() ([]byte, []int) { 267 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{2} 268 } 269 270 // RunCreated is sent to PM by either itself or API-based Run creation. 271 type RunCreated struct { 272 state protoimpl.MessageState 273 sizeCache protoimpl.SizeCache 274 unknownFields protoimpl.UnknownFields 275 276 RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` 277 } 278 279 func (x *RunCreated) Reset() { 280 *x = RunCreated{} 281 if protoimpl.UnsafeEnabled { 282 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[3] 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 ms.StoreMessageInfo(mi) 285 } 286 } 287 288 func (x *RunCreated) String() string { 289 return protoimpl.X.MessageStringOf(x) 290 } 291 292 func (*RunCreated) ProtoMessage() {} 293 294 func (x *RunCreated) ProtoReflect() protoreflect.Message { 295 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[3] 296 if protoimpl.UnsafeEnabled && x != nil { 297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 298 if ms.LoadMessageInfo() == nil { 299 ms.StoreMessageInfo(mi) 300 } 301 return ms 302 } 303 return mi.MessageOf(x) 304 } 305 306 // Deprecated: Use RunCreated.ProtoReflect.Descriptor instead. 307 func (*RunCreated) Descriptor() ([]byte, []int) { 308 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{3} 309 } 310 311 func (x *RunCreated) GetRunId() string { 312 if x != nil { 313 return x.RunId 314 } 315 return "" 316 } 317 318 // RunFinished is sent to PM by Run Manager after or atomically with changing Run's 319 // status to a final status. 320 type RunFinished struct { 321 state protoimpl.MessageState 322 sizeCache protoimpl.SizeCache 323 unknownFields protoimpl.UnknownFields 324 325 RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` 326 // the terminal status. 327 Status run.Status `protobuf:"varint,2,opt,name=status,proto3,enum=cv.internal.run.Status" json:"status,omitempty"` 328 } 329 330 func (x *RunFinished) Reset() { 331 *x = RunFinished{} 332 if protoimpl.UnsafeEnabled { 333 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[4] 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 335 ms.StoreMessageInfo(mi) 336 } 337 } 338 339 func (x *RunFinished) String() string { 340 return protoimpl.X.MessageStringOf(x) 341 } 342 343 func (*RunFinished) ProtoMessage() {} 344 345 func (x *RunFinished) ProtoReflect() protoreflect.Message { 346 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[4] 347 if protoimpl.UnsafeEnabled && x != nil { 348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 349 if ms.LoadMessageInfo() == nil { 350 ms.StoreMessageInfo(mi) 351 } 352 return ms 353 } 354 return mi.MessageOf(x) 355 } 356 357 // Deprecated: Use RunFinished.ProtoReflect.Descriptor instead. 358 func (*RunFinished) Descriptor() ([]byte, []int) { 359 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{4} 360 } 361 362 func (x *RunFinished) GetRunId() string { 363 if x != nil { 364 return x.RunId 365 } 366 return "" 367 } 368 369 func (x *RunFinished) GetStatus() run.Status { 370 if x != nil { 371 return x.Status 372 } 373 return run.Status(0) 374 } 375 376 // PurgingCompleted is sent to PM by TQ task purging a CL. 377 // 378 // See storage.proto:PurgingCL doc. 379 // 380 // There is no status of the purge because it's the CL state that matters, 381 // hence success or failure will reach PM via CLUpdatedEvent. 382 type PurgeCompleted struct { 383 state protoimpl.MessageState 384 sizeCache protoimpl.SizeCache 385 unknownFields protoimpl.UnknownFields 386 387 // Operation ID suffices to identify a purge. 388 OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` 389 // ID of the CL that was purged. 390 Clid int64 `protobuf:"varint,2,opt,name=clid,proto3" json:"clid,omitempty"` 391 } 392 393 func (x *PurgeCompleted) Reset() { 394 *x = PurgeCompleted{} 395 if protoimpl.UnsafeEnabled { 396 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[5] 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 ms.StoreMessageInfo(mi) 399 } 400 } 401 402 func (x *PurgeCompleted) String() string { 403 return protoimpl.X.MessageStringOf(x) 404 } 405 406 func (*PurgeCompleted) ProtoMessage() {} 407 408 func (x *PurgeCompleted) ProtoReflect() protoreflect.Message { 409 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[5] 410 if protoimpl.UnsafeEnabled && x != nil { 411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 412 if ms.LoadMessageInfo() == nil { 413 ms.StoreMessageInfo(mi) 414 } 415 return ms 416 } 417 return mi.MessageOf(x) 418 } 419 420 // Deprecated: Use PurgeCompleted.ProtoReflect.Descriptor instead. 421 func (*PurgeCompleted) Descriptor() ([]byte, []int) { 422 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{5} 423 } 424 425 func (x *PurgeCompleted) GetOperationId() string { 426 if x != nil { 427 return x.OperationId 428 } 429 return "" 430 } 431 432 func (x *PurgeCompleted) GetClid() int64 { 433 if x != nil { 434 return x.Clid 435 } 436 return 0 437 } 438 439 // TriggeringCLDepsCompleted is sent to PM on a TriggeringCLDepsTask completion. 440 type TriggeringCLDepsCompleted struct { 441 state protoimpl.MessageState 442 sizeCache protoimpl.SizeCache 443 unknownFields protoimpl.UnknownFields 444 445 // Operational ID, uniquely identifying a given TriggeringCLDepsCompleted 446 // event in the LUCI project. 447 OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` 448 // ID of the Originating CL that issued the TriggeringCLDeps task. 449 Origin int64 `protobuf:"varint,2,opt,name=origin,proto3" json:"origin,omitempty"` 450 // IDs of the dependent CLs that cltriggerer successfully triggered. 451 Succeeded []int64 `protobuf:"varint,3,rep,packed,name=succeeded,proto3" json:"succeeded,omitempty"` 452 // CLs that cltriggerer failed to trigger. 453 Failed []*changelist.CLError_TriggerDeps `protobuf:"bytes,4,rep,name=failed,proto3" json:"failed,omitempty"` 454 // CLs that cltriggerer couldn't trigger. 455 // 456 // It's either cltriggerer couldn't even attempt the trigger, or 457 // attempted but the request failed transiently. 458 Incompleted []int64 `protobuf:"varint,5,rep,packed,name=incompleted,proto3" json:"incompleted,omitempty"` 459 } 460 461 func (x *TriggeringCLDepsCompleted) Reset() { 462 *x = TriggeringCLDepsCompleted{} 463 if protoimpl.UnsafeEnabled { 464 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[6] 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 ms.StoreMessageInfo(mi) 467 } 468 } 469 470 func (x *TriggeringCLDepsCompleted) String() string { 471 return protoimpl.X.MessageStringOf(x) 472 } 473 474 func (*TriggeringCLDepsCompleted) ProtoMessage() {} 475 476 func (x *TriggeringCLDepsCompleted) ProtoReflect() protoreflect.Message { 477 mi := &file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[6] 478 if protoimpl.UnsafeEnabled && x != nil { 479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 480 if ms.LoadMessageInfo() == nil { 481 ms.StoreMessageInfo(mi) 482 } 483 return ms 484 } 485 return mi.MessageOf(x) 486 } 487 488 // Deprecated: Use TriggeringCLDepsCompleted.ProtoReflect.Descriptor instead. 489 func (*TriggeringCLDepsCompleted) Descriptor() ([]byte, []int) { 490 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP(), []int{6} 491 } 492 493 func (x *TriggeringCLDepsCompleted) GetOperationId() string { 494 if x != nil { 495 return x.OperationId 496 } 497 return "" 498 } 499 500 func (x *TriggeringCLDepsCompleted) GetOrigin() int64 { 501 if x != nil { 502 return x.Origin 503 } 504 return 0 505 } 506 507 func (x *TriggeringCLDepsCompleted) GetSucceeded() []int64 { 508 if x != nil { 509 return x.Succeeded 510 } 511 return nil 512 } 513 514 func (x *TriggeringCLDepsCompleted) GetFailed() []*changelist.CLError_TriggerDeps { 515 if x != nil { 516 return x.Failed 517 } 518 return nil 519 } 520 521 func (x *TriggeringCLDepsCompleted) GetIncompleted() []int64 { 522 if x != nil { 523 return x.Incompleted 524 } 525 return nil 526 } 527 528 var File_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto protoreflect.FileDescriptor 529 530 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDesc = []byte{ 531 0x0a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 532 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 533 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 534 0x6a, 0x70, 0x62, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 535 0x12, 0x1c, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 536 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x1a, 0x39, 537 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 538 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 539 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x73, 0x74, 0x6f, 0x72, 540 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x2e, 0x63, 0x68, 541 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 542 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x75, 0x6e, 0x2f, 543 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x04, 544 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x5f, 0x63, 545 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x76, 546 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 547 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x77, 0x43, 0x6f, 548 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 549 0x67, 0x12, 0x38, 0x0a, 0x04, 0x70, 0x6f, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 550 0x22, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 551 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x2e, 0x50, 552 0x6f, 0x6b, 0x65, 0x48, 0x00, 0x52, 0x04, 0x70, 0x6f, 0x6b, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x63, 553 0x6c, 0x73, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 554 0x32, 0x27, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 555 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x43, 0x4c, 0x55, 0x70, 0x64, 0x61, 556 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x73, 557 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x5f, 0x63, 558 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 559 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 0x61, 560 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x2e, 0x52, 0x75, 0x6e, 0x43, 561 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x43, 0x72, 0x65, 562 0x61, 0x74, 0x65, 0x64, 0x12, 0x4e, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x5f, 0x66, 0x69, 0x6e, 0x69, 563 0x73, 0x68, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x76, 0x2e, 564 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 565 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x2e, 0x52, 0x75, 0x6e, 0x46, 0x69, 0x6e, 566 0x69, 0x73, 0x68, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x46, 0x69, 0x6e, 0x69, 567 0x73, 0x68, 0x65, 0x64, 0x12, 0x57, 0x0a, 0x0f, 0x70, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 568 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 569 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 570 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x72, 571 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x70, 572 0x75, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x7a, 0x0a, 573 0x1c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 0x5f, 0x64, 574 0x65, 0x70, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 575 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 576 0x6c, 0x2e, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6a, 577 0x70, 0x62, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x4c, 0x44, 578 0x65, 0x70, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x19, 579 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x44, 0x65, 0x70, 0x73, 580 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 581 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x0b, 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x43, 582 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x6f, 0x6b, 0x65, 0x22, 0x23, 0x0a, 583 0x0a, 0x52, 0x75, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x72, 584 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x75, 0x6e, 585 0x49, 0x64, 0x22, 0x55, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 586 0x64, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 587 0x09, 0x52, 0x05, 0x72, 0x75, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 588 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 589 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 590 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x47, 0x0a, 0x0e, 0x50, 0x75, 0x72, 591 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 592 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 593 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 594 0x0a, 0x04, 0x63, 0x6c, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6c, 595 0x69, 0x64, 0x22, 0xdb, 0x01, 0x0a, 0x19, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 596 0x67, 0x43, 0x4c, 0x44, 0x65, 0x70, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 597 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 598 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 599 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 600 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 601 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 602 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x06, 0x66, 0x61, 0x69, 603 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x76, 0x2e, 0x69, 604 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 605 0x73, 0x74, 0x2e, 0x43, 0x4c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 606 0x65, 0x72, 0x44, 0x65, 0x70, 0x73, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x20, 607 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 608 0x03, 0x28, 0x03, 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 609 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 610 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 611 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6a, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 612 0x70, 0x72, 0x6a, 0x70, 0x62, 0x3b, 0x70, 0x72, 0x6a, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 613 0x74, 0x6f, 0x33, 614 } 615 616 var ( 617 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescOnce sync.Once 618 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescData = file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDesc 619 ) 620 621 func file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescGZIP() []byte { 622 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescOnce.Do(func() { 623 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescData) 624 }) 625 return file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDescData 626 } 627 628 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 629 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_goTypes = []interface{}{ 630 (*Event)(nil), // 0: cv.internal.prjmanager.prjpb.Event 631 (*NewConfig)(nil), // 1: cv.internal.prjmanager.prjpb.NewConfig 632 (*Poke)(nil), // 2: cv.internal.prjmanager.prjpb.Poke 633 (*RunCreated)(nil), // 3: cv.internal.prjmanager.prjpb.RunCreated 634 (*RunFinished)(nil), // 4: cv.internal.prjmanager.prjpb.RunFinished 635 (*PurgeCompleted)(nil), // 5: cv.internal.prjmanager.prjpb.PurgeCompleted 636 (*TriggeringCLDepsCompleted)(nil), // 6: cv.internal.prjmanager.prjpb.TriggeringCLDepsCompleted 637 (*changelist.CLUpdatedEvents)(nil), // 7: cv.internal.changelist.CLUpdatedEvents 638 (run.Status)(0), // 8: cv.internal.run.Status 639 (*changelist.CLError_TriggerDeps)(nil), // 9: cv.internal.changelist.CLError.TriggerDeps 640 } 641 var file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_depIdxs = []int32{ 642 1, // 0: cv.internal.prjmanager.prjpb.Event.new_config:type_name -> cv.internal.prjmanager.prjpb.NewConfig 643 2, // 1: cv.internal.prjmanager.prjpb.Event.poke:type_name -> cv.internal.prjmanager.prjpb.Poke 644 7, // 2: cv.internal.prjmanager.prjpb.Event.cls_updated:type_name -> cv.internal.changelist.CLUpdatedEvents 645 3, // 3: cv.internal.prjmanager.prjpb.Event.run_created:type_name -> cv.internal.prjmanager.prjpb.RunCreated 646 4, // 4: cv.internal.prjmanager.prjpb.Event.run_finished:type_name -> cv.internal.prjmanager.prjpb.RunFinished 647 5, // 5: cv.internal.prjmanager.prjpb.Event.purge_completed:type_name -> cv.internal.prjmanager.prjpb.PurgeCompleted 648 6, // 6: cv.internal.prjmanager.prjpb.Event.triggering_cl_deps_completed:type_name -> cv.internal.prjmanager.prjpb.TriggeringCLDepsCompleted 649 8, // 7: cv.internal.prjmanager.prjpb.RunFinished.status:type_name -> cv.internal.run.Status 650 9, // 8: cv.internal.prjmanager.prjpb.TriggeringCLDepsCompleted.failed:type_name -> cv.internal.changelist.CLError.TriggerDeps 651 9, // [9:9] is the sub-list for method output_type 652 9, // [9:9] is the sub-list for method input_type 653 9, // [9:9] is the sub-list for extension type_name 654 9, // [9:9] is the sub-list for extension extendee 655 0, // [0:9] is the sub-list for field type_name 656 } 657 658 func init() { file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_init() } 659 func file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_init() { 660 if File_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto != nil { 661 return 662 } 663 if !protoimpl.UnsafeEnabled { 664 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 665 switch v := v.(*Event); i { 666 case 0: 667 return &v.state 668 case 1: 669 return &v.sizeCache 670 case 2: 671 return &v.unknownFields 672 default: 673 return nil 674 } 675 } 676 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 677 switch v := v.(*NewConfig); i { 678 case 0: 679 return &v.state 680 case 1: 681 return &v.sizeCache 682 case 2: 683 return &v.unknownFields 684 default: 685 return nil 686 } 687 } 688 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 689 switch v := v.(*Poke); i { 690 case 0: 691 return &v.state 692 case 1: 693 return &v.sizeCache 694 case 2: 695 return &v.unknownFields 696 default: 697 return nil 698 } 699 } 700 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 701 switch v := v.(*RunCreated); i { 702 case 0: 703 return &v.state 704 case 1: 705 return &v.sizeCache 706 case 2: 707 return &v.unknownFields 708 default: 709 return nil 710 } 711 } 712 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 713 switch v := v.(*RunFinished); i { 714 case 0: 715 return &v.state 716 case 1: 717 return &v.sizeCache 718 case 2: 719 return &v.unknownFields 720 default: 721 return nil 722 } 723 } 724 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 725 switch v := v.(*PurgeCompleted); i { 726 case 0: 727 return &v.state 728 case 1: 729 return &v.sizeCache 730 case 2: 731 return &v.unknownFields 732 default: 733 return nil 734 } 735 } 736 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 737 switch v := v.(*TriggeringCLDepsCompleted); i { 738 case 0: 739 return &v.state 740 case 1: 741 return &v.sizeCache 742 case 2: 743 return &v.unknownFields 744 default: 745 return nil 746 } 747 } 748 } 749 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes[0].OneofWrappers = []interface{}{ 750 (*Event_NewConfig)(nil), 751 (*Event_Poke)(nil), 752 (*Event_ClsUpdated)(nil), 753 (*Event_RunCreated)(nil), 754 (*Event_RunFinished)(nil), 755 (*Event_PurgeCompleted)(nil), 756 (*Event_TriggeringClDepsCompleted)(nil), 757 } 758 type x struct{} 759 out := protoimpl.TypeBuilder{ 760 File: protoimpl.DescBuilder{ 761 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 762 RawDescriptor: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDesc, 763 NumEnums: 0, 764 NumMessages: 7, 765 NumExtensions: 0, 766 NumServices: 0, 767 }, 768 GoTypes: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_goTypes, 769 DependencyIndexes: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_depIdxs, 770 MessageInfos: file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_msgTypes, 771 }.Build() 772 File_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto = out.File 773 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_rawDesc = nil 774 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_goTypes = nil 775 file_go_chromium_org_luci_cv_internal_prjmanager_prjpb_events_proto_depIdxs = nil 776 }