go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/changelist/task.pb.go (about) 1 // Copyright 2021 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/changelist/task.proto 20 21 package changelist 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 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 type UpdateCLTask_Requester int32 39 40 const ( 41 UpdateCLTask_REQUESTER_CLASS_UNSPECIFIED UpdateCLTask_Requester = 0 42 UpdateCLTask_INCR_POLL_MATCHED UpdateCLTask_Requester = 1 43 UpdateCLTask_FULL_POLL_MATCHED UpdateCLTask_Requester = 2 44 UpdateCLTask_FULL_POLL_UNMATCHED UpdateCLTask_Requester = 3 45 UpdateCLTask_PUBSUB_POLL UpdateCLTask_Requester = 4 46 UpdateCLTask_CL_PURGER UpdateCLTask_Requester = 5 47 UpdateCLTask_DEP_CL_TRIGGERER UpdateCLTask_Requester = 12 48 UpdateCLTask_RPC_ADMIN UpdateCLTask_Requester = 6 49 UpdateCLTask_RUN_POKE UpdateCLTask_Requester = 7 50 UpdateCLTask_RUN_REMOVAL UpdateCLTask_Requester = 8 51 UpdateCLTask_RESET_CL_TRIGGER UpdateCLTask_Requester = 11 52 UpdateCLTask_UPDATE_CONFIG UpdateCLTask_Requester = 10 53 ) 54 55 // Enum value maps for UpdateCLTask_Requester. 56 var ( 57 UpdateCLTask_Requester_name = map[int32]string{ 58 0: "REQUESTER_CLASS_UNSPECIFIED", 59 1: "INCR_POLL_MATCHED", 60 2: "FULL_POLL_MATCHED", 61 3: "FULL_POLL_UNMATCHED", 62 4: "PUBSUB_POLL", 63 5: "CL_PURGER", 64 12: "DEP_CL_TRIGGERER", 65 6: "RPC_ADMIN", 66 7: "RUN_POKE", 67 8: "RUN_REMOVAL", 68 11: "RESET_CL_TRIGGER", 69 10: "UPDATE_CONFIG", 70 } 71 UpdateCLTask_Requester_value = map[string]int32{ 72 "REQUESTER_CLASS_UNSPECIFIED": 0, 73 "INCR_POLL_MATCHED": 1, 74 "FULL_POLL_MATCHED": 2, 75 "FULL_POLL_UNMATCHED": 3, 76 "PUBSUB_POLL": 4, 77 "CL_PURGER": 5, 78 "DEP_CL_TRIGGERER": 12, 79 "RPC_ADMIN": 6, 80 "RUN_POKE": 7, 81 "RUN_REMOVAL": 8, 82 "RESET_CL_TRIGGER": 11, 83 "UPDATE_CONFIG": 10, 84 } 85 ) 86 87 func (x UpdateCLTask_Requester) Enum() *UpdateCLTask_Requester { 88 p := new(UpdateCLTask_Requester) 89 *p = x 90 return p 91 } 92 93 func (x UpdateCLTask_Requester) String() string { 94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 95 } 96 97 func (UpdateCLTask_Requester) Descriptor() protoreflect.EnumDescriptor { 98 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_enumTypes[0].Descriptor() 99 } 100 101 func (UpdateCLTask_Requester) Type() protoreflect.EnumType { 102 return &file_go_chromium_org_luci_cv_internal_changelist_task_proto_enumTypes[0] 103 } 104 105 func (x UpdateCLTask_Requester) Number() protoreflect.EnumNumber { 106 return protoreflect.EnumNumber(x) 107 } 108 109 // Deprecated: Use UpdateCLTask_Requester.Descriptor instead. 110 func (UpdateCLTask_Requester) EnumDescriptor() ([]byte, []int) { 111 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescGZIP(), []int{0, 0} 112 } 113 114 // UpdateCLTask is for updating a single CL. 115 // 116 // Queue: "update-cl". 117 type UpdateCLTask struct { 118 state protoimpl.MessageState 119 sizeCache protoimpl.SizeCache 120 unknownFields protoimpl.UnknownFields 121 122 LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` 123 // At least one of internal or external ID must be given. 124 Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // internal CLID 125 ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` 126 // Requester identifies various scenarios that enqueue UpdateCLTask(s). 127 // 128 // This is used to track UpdateCLTask(s) by the requester for monitoring 129 // purposes. 130 Requester UpdateCLTask_Requester `protobuf:"varint,5,opt,name=requester,proto3,enum=cv.internal.changelist.UpdateCLTask_Requester" json:"requester,omitempty"` 131 // True if the UpdateCLTask was enqueued to resolve a dependency. 132 IsForDep bool `protobuf:"varint,6,opt,name=is_for_dep,json=isForDep,proto3" json:"is_for_dep,omitempty"` 133 // Hint provides various hints for the snapshot to be fetched. 134 Hint *UpdateCLTask_Hint `protobuf:"bytes,7,opt,name=hint,proto3" json:"hint,omitempty"` 135 } 136 137 func (x *UpdateCLTask) Reset() { 138 *x = UpdateCLTask{} 139 if protoimpl.UnsafeEnabled { 140 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[0] 141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 142 ms.StoreMessageInfo(mi) 143 } 144 } 145 146 func (x *UpdateCLTask) String() string { 147 return protoimpl.X.MessageStringOf(x) 148 } 149 150 func (*UpdateCLTask) ProtoMessage() {} 151 152 func (x *UpdateCLTask) ProtoReflect() protoreflect.Message { 153 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[0] 154 if protoimpl.UnsafeEnabled && x != nil { 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 if ms.LoadMessageInfo() == nil { 157 ms.StoreMessageInfo(mi) 158 } 159 return ms 160 } 161 return mi.MessageOf(x) 162 } 163 164 // Deprecated: Use UpdateCLTask.ProtoReflect.Descriptor instead. 165 func (*UpdateCLTask) Descriptor() ([]byte, []int) { 166 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescGZIP(), []int{0} 167 } 168 169 func (x *UpdateCLTask) GetLuciProject() string { 170 if x != nil { 171 return x.LuciProject 172 } 173 return "" 174 } 175 176 func (x *UpdateCLTask) GetId() int64 { 177 if x != nil { 178 return x.Id 179 } 180 return 0 181 } 182 183 func (x *UpdateCLTask) GetExternalId() string { 184 if x != nil { 185 return x.ExternalId 186 } 187 return "" 188 } 189 190 func (x *UpdateCLTask) GetRequester() UpdateCLTask_Requester { 191 if x != nil { 192 return x.Requester 193 } 194 return UpdateCLTask_REQUESTER_CLASS_UNSPECIFIED 195 } 196 197 func (x *UpdateCLTask) GetIsForDep() bool { 198 if x != nil { 199 return x.IsForDep 200 } 201 return false 202 } 203 204 func (x *UpdateCLTask) GetHint() *UpdateCLTask_Hint { 205 if x != nil { 206 return x.Hint 207 } 208 return nil 209 } 210 211 // BatchUpdateCLTask is for updating many CLs. 212 // 213 // When executed, it just enqueues its tasks as individual UpdateCLTask TQ 214 // for independent execution. 215 // 216 // Queue: "update-cl". 217 type BatchUpdateCLTask struct { 218 state protoimpl.MessageState 219 sizeCache protoimpl.SizeCache 220 unknownFields protoimpl.UnknownFields 221 222 Tasks []*UpdateCLTask `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` 223 } 224 225 func (x *BatchUpdateCLTask) Reset() { 226 *x = BatchUpdateCLTask{} 227 if protoimpl.UnsafeEnabled { 228 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[1] 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 230 ms.StoreMessageInfo(mi) 231 } 232 } 233 234 func (x *BatchUpdateCLTask) String() string { 235 return protoimpl.X.MessageStringOf(x) 236 } 237 238 func (*BatchUpdateCLTask) ProtoMessage() {} 239 240 func (x *BatchUpdateCLTask) ProtoReflect() protoreflect.Message { 241 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[1] 242 if protoimpl.UnsafeEnabled && x != nil { 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 if ms.LoadMessageInfo() == nil { 245 ms.StoreMessageInfo(mi) 246 } 247 return ms 248 } 249 return mi.MessageOf(x) 250 } 251 252 // Deprecated: Use BatchUpdateCLTask.ProtoReflect.Descriptor instead. 253 func (*BatchUpdateCLTask) Descriptor() ([]byte, []int) { 254 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescGZIP(), []int{1} 255 } 256 257 func (x *BatchUpdateCLTask) GetTasks() []*UpdateCLTask { 258 if x != nil { 259 return x.Tasks 260 } 261 return nil 262 } 263 264 // BatchOnCLUpdatedTask notifies many Projects and Runs about updated CLs. 265 // 266 // Queue: "notify-on-cl-updated". 267 type BatchOnCLUpdatedTask struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 272 Projects map[string]*CLUpdatedEvents `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 273 Runs map[string]*CLUpdatedEvents `protobuf:"bytes,2,rep,name=runs,proto3" json:"runs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 274 } 275 276 func (x *BatchOnCLUpdatedTask) Reset() { 277 *x = BatchOnCLUpdatedTask{} 278 if protoimpl.UnsafeEnabled { 279 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[2] 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 ms.StoreMessageInfo(mi) 282 } 283 } 284 285 func (x *BatchOnCLUpdatedTask) String() string { 286 return protoimpl.X.MessageStringOf(x) 287 } 288 289 func (*BatchOnCLUpdatedTask) ProtoMessage() {} 290 291 func (x *BatchOnCLUpdatedTask) ProtoReflect() protoreflect.Message { 292 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[2] 293 if protoimpl.UnsafeEnabled && x != nil { 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 if ms.LoadMessageInfo() == nil { 296 ms.StoreMessageInfo(mi) 297 } 298 return ms 299 } 300 return mi.MessageOf(x) 301 } 302 303 // Deprecated: Use BatchOnCLUpdatedTask.ProtoReflect.Descriptor instead. 304 func (*BatchOnCLUpdatedTask) Descriptor() ([]byte, []int) { 305 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescGZIP(), []int{2} 306 } 307 308 func (x *BatchOnCLUpdatedTask) GetProjects() map[string]*CLUpdatedEvents { 309 if x != nil { 310 return x.Projects 311 } 312 return nil 313 } 314 315 func (x *BatchOnCLUpdatedTask) GetRuns() map[string]*CLUpdatedEvents { 316 if x != nil { 317 return x.Runs 318 } 319 return nil 320 } 321 322 type UpdateCLTask_Hint struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 327 // The external update time of the Snapshot to fetch. 328 ExternalUpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=external_update_time,json=externalUpdateTime,proto3" json:"external_update_time,omitempty"` 329 // The meta rev ID of the Snapshot to fetch. 330 MetaRevId string `protobuf:"bytes,2,opt,name=meta_rev_id,json=metaRevId,proto3" json:"meta_rev_id,omitempty"` 331 } 332 333 func (x *UpdateCLTask_Hint) Reset() { 334 *x = UpdateCLTask_Hint{} 335 if protoimpl.UnsafeEnabled { 336 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[3] 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 ms.StoreMessageInfo(mi) 339 } 340 } 341 342 func (x *UpdateCLTask_Hint) String() string { 343 return protoimpl.X.MessageStringOf(x) 344 } 345 346 func (*UpdateCLTask_Hint) ProtoMessage() {} 347 348 func (x *UpdateCLTask_Hint) ProtoReflect() protoreflect.Message { 349 mi := &file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[3] 350 if protoimpl.UnsafeEnabled && x != nil { 351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 352 if ms.LoadMessageInfo() == nil { 353 ms.StoreMessageInfo(mi) 354 } 355 return ms 356 } 357 return mi.MessageOf(x) 358 } 359 360 // Deprecated: Use UpdateCLTask_Hint.ProtoReflect.Descriptor instead. 361 func (*UpdateCLTask_Hint) Descriptor() ([]byte, []int) { 362 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescGZIP(), []int{0, 0} 363 } 364 365 func (x *UpdateCLTask_Hint) GetExternalUpdateTime() *timestamppb.Timestamp { 366 if x != nil { 367 return x.ExternalUpdateTime 368 } 369 return nil 370 } 371 372 func (x *UpdateCLTask_Hint) GetMetaRevId() string { 373 if x != nil { 374 return x.MetaRevId 375 } 376 return "" 377 } 378 379 var File_go_chromium_org_luci_cv_internal_changelist_task_proto protoreflect.FileDescriptor 380 381 var file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDesc = []byte{ 382 0x0a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 383 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 384 0x61, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x74, 0x61, 385 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 386 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 387 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 388 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 389 0x6f, 0x1a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 390 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 391 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x73, 392 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x05, 0x0a, 393 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x4c, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, 0x0a, 394 0x0c, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 395 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x69, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 396 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 397 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 398 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 399 0x64, 0x12, 0x4c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x72, 0x18, 0x05, 400 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 401 0x61, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x55, 0x70, 402 0x64, 0x61, 0x74, 0x65, 0x43, 0x4c, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 403 0x73, 0x74, 0x65, 0x72, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x72, 0x12, 404 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, 0x18, 0x06, 0x20, 405 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x44, 0x65, 0x70, 0x12, 0x3d, 0x0a, 406 0x04, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x76, 407 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 408 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x4c, 0x54, 0x61, 0x73, 409 0x6b, 0x2e, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x1a, 0x74, 0x0a, 0x04, 410 0x48, 0x69, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 411 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 412 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 413 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 414 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 415 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x76, 0x5f, 0x69, 416 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x76, 417 0x49, 0x64, 0x22, 0x80, 0x02, 0x0a, 0x09, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x72, 418 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x4c, 419 0x41, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 420 0x00, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x43, 0x52, 0x5f, 0x50, 0x4f, 0x4c, 0x4c, 0x5f, 0x4d, 421 0x41, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x55, 0x4c, 0x4c, 422 0x5f, 0x50, 0x4f, 0x4c, 0x4c, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x02, 0x12, 423 0x17, 0x0a, 0x13, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x50, 0x4f, 0x4c, 0x4c, 0x5f, 0x55, 0x4e, 0x4d, 424 0x41, 0x54, 0x43, 0x48, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x55, 0x42, 0x53, 425 0x55, 0x42, 0x5f, 0x50, 0x4f, 0x4c, 0x4c, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x5f, 426 0x50, 0x55, 0x52, 0x47, 0x45, 0x52, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x50, 0x5f, 427 0x43, 0x4c, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x45, 0x52, 0x10, 0x0c, 0x12, 0x0d, 428 0x0a, 0x09, 0x52, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x06, 0x12, 0x0c, 0x0a, 429 0x08, 0x52, 0x55, 0x4e, 0x5f, 0x50, 0x4f, 0x4b, 0x45, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 430 0x55, 0x4e, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x41, 0x4c, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 431 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x43, 0x4c, 0x5f, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 432 0x10, 0x0b, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 433 0x46, 0x49, 0x47, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x04, 0x10, 434 0x05, 0x22, 0x4f, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 435 0x43, 0x4c, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x3a, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 436 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 437 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x55, 438 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x4c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 439 0x6b, 0x73, 0x22, 0x82, 0x03, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x43, 0x4c, 440 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x56, 0x0a, 0x08, 0x70, 441 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 442 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 443 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x43, 0x4c, 444 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 445 0x65, 0x63, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 446 0x63, 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x04, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 447 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 448 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 449 0x4f, 0x6e, 0x43, 0x4c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x2e, 450 0x52, 0x75, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x72, 0x75, 0x6e, 0x73, 0x1a, 451 0x64, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 452 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 453 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 454 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 455 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x43, 0x4c, 0x55, 0x70, 0x64, 456 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 457 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x60, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x73, 0x45, 0x6e, 0x74, 458 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 459 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 460 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 461 0x6c, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x43, 0x4c, 0x55, 462 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 463 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 464 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 465 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x6e, 466 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 467 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 468 } 469 470 var ( 471 file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescOnce sync.Once 472 file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescData = file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDesc 473 ) 474 475 func file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescGZIP() []byte { 476 file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescOnce.Do(func() { 477 file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescData) 478 }) 479 return file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDescData 480 } 481 482 var file_go_chromium_org_luci_cv_internal_changelist_task_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 483 var file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 484 var file_go_chromium_org_luci_cv_internal_changelist_task_proto_goTypes = []interface{}{ 485 (UpdateCLTask_Requester)(0), // 0: cv.internal.changelist.UpdateCLTask.Requester 486 (*UpdateCLTask)(nil), // 1: cv.internal.changelist.UpdateCLTask 487 (*BatchUpdateCLTask)(nil), // 2: cv.internal.changelist.BatchUpdateCLTask 488 (*BatchOnCLUpdatedTask)(nil), // 3: cv.internal.changelist.BatchOnCLUpdatedTask 489 (*UpdateCLTask_Hint)(nil), // 4: cv.internal.changelist.UpdateCLTask.Hint 490 nil, // 5: cv.internal.changelist.BatchOnCLUpdatedTask.ProjectsEntry 491 nil, // 6: cv.internal.changelist.BatchOnCLUpdatedTask.RunsEntry 492 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp 493 (*CLUpdatedEvents)(nil), // 8: cv.internal.changelist.CLUpdatedEvents 494 } 495 var file_go_chromium_org_luci_cv_internal_changelist_task_proto_depIdxs = []int32{ 496 0, // 0: cv.internal.changelist.UpdateCLTask.requester:type_name -> cv.internal.changelist.UpdateCLTask.Requester 497 4, // 1: cv.internal.changelist.UpdateCLTask.hint:type_name -> cv.internal.changelist.UpdateCLTask.Hint 498 1, // 2: cv.internal.changelist.BatchUpdateCLTask.tasks:type_name -> cv.internal.changelist.UpdateCLTask 499 5, // 3: cv.internal.changelist.BatchOnCLUpdatedTask.projects:type_name -> cv.internal.changelist.BatchOnCLUpdatedTask.ProjectsEntry 500 6, // 4: cv.internal.changelist.BatchOnCLUpdatedTask.runs:type_name -> cv.internal.changelist.BatchOnCLUpdatedTask.RunsEntry 501 7, // 5: cv.internal.changelist.UpdateCLTask.Hint.external_update_time:type_name -> google.protobuf.Timestamp 502 8, // 6: cv.internal.changelist.BatchOnCLUpdatedTask.ProjectsEntry.value:type_name -> cv.internal.changelist.CLUpdatedEvents 503 8, // 7: cv.internal.changelist.BatchOnCLUpdatedTask.RunsEntry.value:type_name -> cv.internal.changelist.CLUpdatedEvents 504 8, // [8:8] is the sub-list for method output_type 505 8, // [8:8] is the sub-list for method input_type 506 8, // [8:8] is the sub-list for extension type_name 507 8, // [8:8] is the sub-list for extension extendee 508 0, // [0:8] is the sub-list for field type_name 509 } 510 511 func init() { file_go_chromium_org_luci_cv_internal_changelist_task_proto_init() } 512 func file_go_chromium_org_luci_cv_internal_changelist_task_proto_init() { 513 if File_go_chromium_org_luci_cv_internal_changelist_task_proto != nil { 514 return 515 } 516 file_go_chromium_org_luci_cv_internal_changelist_storage_proto_init() 517 if !protoimpl.UnsafeEnabled { 518 file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 519 switch v := v.(*UpdateCLTask); i { 520 case 0: 521 return &v.state 522 case 1: 523 return &v.sizeCache 524 case 2: 525 return &v.unknownFields 526 default: 527 return nil 528 } 529 } 530 file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 531 switch v := v.(*BatchUpdateCLTask); i { 532 case 0: 533 return &v.state 534 case 1: 535 return &v.sizeCache 536 case 2: 537 return &v.unknownFields 538 default: 539 return nil 540 } 541 } 542 file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 543 switch v := v.(*BatchOnCLUpdatedTask); i { 544 case 0: 545 return &v.state 546 case 1: 547 return &v.sizeCache 548 case 2: 549 return &v.unknownFields 550 default: 551 return nil 552 } 553 } 554 file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*UpdateCLTask_Hint); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 } 567 type x struct{} 568 out := protoimpl.TypeBuilder{ 569 File: protoimpl.DescBuilder{ 570 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 571 RawDescriptor: file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDesc, 572 NumEnums: 1, 573 NumMessages: 6, 574 NumExtensions: 0, 575 NumServices: 0, 576 }, 577 GoTypes: file_go_chromium_org_luci_cv_internal_changelist_task_proto_goTypes, 578 DependencyIndexes: file_go_chromium_org_luci_cv_internal_changelist_task_proto_depIdxs, 579 EnumInfos: file_go_chromium_org_luci_cv_internal_changelist_task_proto_enumTypes, 580 MessageInfos: file_go_chromium_org_luci_cv_internal_changelist_task_proto_msgTypes, 581 }.Build() 582 File_go_chromium_org_luci_cv_internal_changelist_task_proto = out.File 583 file_go_chromium_org_luci_cv_internal_changelist_task_proto_rawDesc = nil 584 file_go_chromium_org_luci_cv_internal_changelist_task_proto_goTypes = nil 585 file_go_chromium_org_luci_cv_internal_changelist_task_proto_depIdxs = nil 586 }