go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/analysis/internal/tasks/taskspb/tasks.pb.go (about) 1 // Copyright 2022 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/analysis/internal/tasks/taskspb/tasks.proto 20 21 package taskspb 22 23 import ( 24 proto "go.chromium.org/luci/analysis/internal/ingestion/control/proto" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 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 // Payload of IngestTestResults task. 40 type IngestTestResults struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // Timestamp representing the start of the data retention period 46 // for the ingested test results. In case of multiple builds 47 // ingested for one CV run, the partition_time used for all 48 // builds must be the same. 49 PartitionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=partition_time,json=partitionTime,proto3" json:"partition_time,omitempty"` 50 // The build that is being ingested. 51 Build *proto.BuildResult `protobuf:"bytes,8,opt,name=build,proto3" json:"build,omitempty"` 52 // Context about the presubmit run the build was a part of. Only 53 // populated if the build is a presubmit run. 54 PresubmitRun *proto.PresubmitResult `protobuf:"bytes,9,opt,name=presubmit_run,json=presubmitRun,proto3" json:"presubmit_run,omitempty"` 55 // The page token value to use when calling QueryTestVariants. 56 // For the first task, this should be "". For subsequent tasks, 57 // this is the next_page_token value returned by the last call. 58 PageToken string `protobuf:"bytes,10,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 59 // The task number of test results task. 0 for the first 60 // task, 1 for the second task, and so on. Used to avoid creating 61 // duplicate tasks. 62 TaskIndex int64 `protobuf:"varint,11,opt,name=task_index,json=taskIndex,proto3" json:"task_index,omitempty"` 63 } 64 65 func (x *IngestTestResults) Reset() { 66 *x = IngestTestResults{} 67 if protoimpl.UnsafeEnabled { 68 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[0] 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 70 ms.StoreMessageInfo(mi) 71 } 72 } 73 74 func (x *IngestTestResults) String() string { 75 return protoimpl.X.MessageStringOf(x) 76 } 77 78 func (*IngestTestResults) ProtoMessage() {} 79 80 func (x *IngestTestResults) ProtoReflect() protoreflect.Message { 81 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[0] 82 if protoimpl.UnsafeEnabled && x != nil { 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 if ms.LoadMessageInfo() == nil { 85 ms.StoreMessageInfo(mi) 86 } 87 return ms 88 } 89 return mi.MessageOf(x) 90 } 91 92 // Deprecated: Use IngestTestResults.ProtoReflect.Descriptor instead. 93 func (*IngestTestResults) Descriptor() ([]byte, []int) { 94 return file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescGZIP(), []int{0} 95 } 96 97 func (x *IngestTestResults) GetPartitionTime() *timestamppb.Timestamp { 98 if x != nil { 99 return x.PartitionTime 100 } 101 return nil 102 } 103 104 func (x *IngestTestResults) GetBuild() *proto.BuildResult { 105 if x != nil { 106 return x.Build 107 } 108 return nil 109 } 110 111 func (x *IngestTestResults) GetPresubmitRun() *proto.PresubmitResult { 112 if x != nil { 113 return x.PresubmitRun 114 } 115 return nil 116 } 117 118 func (x *IngestTestResults) GetPageToken() string { 119 if x != nil { 120 return x.PageToken 121 } 122 return "" 123 } 124 125 func (x *IngestTestResults) GetTaskIndex() int64 { 126 if x != nil { 127 return x.TaskIndex 128 } 129 return 0 130 } 131 132 // Payload of the ReclusterChunks task. 133 type ReclusterChunks struct { 134 state protoimpl.MessageState 135 sizeCache protoimpl.SizeCache 136 unknownFields protoimpl.UnknownFields 137 138 // The number of the reclustering shard being processed by this task. 139 // A shard corresponds to a project + Chunk ID keyspace fraction that 140 // is being re-clustered. 141 // Shards are numbered sequentially, starting at one. 142 ShardNumber int64 `protobuf:"varint,6,opt,name=shard_number,json=shardNumber,proto3" json:"shard_number,omitempty"` 143 // The LUCI Project containing test results to be re-clustered. 144 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 145 // The attempt time for which this task is. This should be cross-referenced 146 // with the ReclusteringRuns table to identify the reclustering parameters. 147 // This is also the soft deadline for the task. 148 AttemptTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=attempt_time,json=attemptTime,proto3" json:"attempt_time,omitempty"` 149 // The exclusive lower bound defining the range of Chunk IDs to 150 // be re-clustered. To define the table start, use the empty string (""). 151 StartChunkId string `protobuf:"bytes,3,opt,name=start_chunk_id,json=startChunkId,proto3" json:"start_chunk_id,omitempty"` 152 // The inclusive upper bound defining the range of Chunk IDs to 153 // be re-clustered. To define the table end use "ff" x 16, i.e. 154 // "ffffffffffffffffffffffffffffffff". 155 EndChunkId string `protobuf:"bytes,4,opt,name=end_chunk_id,json=endChunkId,proto3" json:"end_chunk_id,omitempty"` 156 // The version of algorithms to re-cluster to. If the worker executing the 157 // task is not running at least this version of algorithms, it is an error. 158 AlgorithmsVersion int64 `protobuf:"varint,7,opt,name=algorithms_version,json=algorithmsVersion,proto3" json:"algorithms_version,omitempty"` 159 // The version of rules to recluster to. 160 RulesVersion *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=rules_version,json=rulesVersion,proto3" json:"rules_version,omitempty"` 161 // The version of project configuration to recluster to. 162 ConfigVersion *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` 163 // State to be passed from one execution of the task to the next. 164 // To fit with autoscaling, each task aims to execute only for a short time 165 // before enqueuing another task to act as its continuation. 166 // Must be populated on all tasks, even on the initial task. 167 State *ReclusterChunkState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` 168 } 169 170 func (x *ReclusterChunks) Reset() { 171 *x = ReclusterChunks{} 172 if protoimpl.UnsafeEnabled { 173 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[1] 174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 175 ms.StoreMessageInfo(mi) 176 } 177 } 178 179 func (x *ReclusterChunks) String() string { 180 return protoimpl.X.MessageStringOf(x) 181 } 182 183 func (*ReclusterChunks) ProtoMessage() {} 184 185 func (x *ReclusterChunks) ProtoReflect() protoreflect.Message { 186 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[1] 187 if protoimpl.UnsafeEnabled && x != nil { 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 189 if ms.LoadMessageInfo() == nil { 190 ms.StoreMessageInfo(mi) 191 } 192 return ms 193 } 194 return mi.MessageOf(x) 195 } 196 197 // Deprecated: Use ReclusterChunks.ProtoReflect.Descriptor instead. 198 func (*ReclusterChunks) Descriptor() ([]byte, []int) { 199 return file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescGZIP(), []int{1} 200 } 201 202 func (x *ReclusterChunks) GetShardNumber() int64 { 203 if x != nil { 204 return x.ShardNumber 205 } 206 return 0 207 } 208 209 func (x *ReclusterChunks) GetProject() string { 210 if x != nil { 211 return x.Project 212 } 213 return "" 214 } 215 216 func (x *ReclusterChunks) GetAttemptTime() *timestamppb.Timestamp { 217 if x != nil { 218 return x.AttemptTime 219 } 220 return nil 221 } 222 223 func (x *ReclusterChunks) GetStartChunkId() string { 224 if x != nil { 225 return x.StartChunkId 226 } 227 return "" 228 } 229 230 func (x *ReclusterChunks) GetEndChunkId() string { 231 if x != nil { 232 return x.EndChunkId 233 } 234 return "" 235 } 236 237 func (x *ReclusterChunks) GetAlgorithmsVersion() int64 { 238 if x != nil { 239 return x.AlgorithmsVersion 240 } 241 return 0 242 } 243 244 func (x *ReclusterChunks) GetRulesVersion() *timestamppb.Timestamp { 245 if x != nil { 246 return x.RulesVersion 247 } 248 return nil 249 } 250 251 func (x *ReclusterChunks) GetConfigVersion() *timestamppb.Timestamp { 252 if x != nil { 253 return x.ConfigVersion 254 } 255 return nil 256 } 257 258 func (x *ReclusterChunks) GetState() *ReclusterChunkState { 259 if x != nil { 260 return x.State 261 } 262 return nil 263 } 264 265 // ReclusterChunkState captures state passed from one execution of a 266 // ReclusterChunks task to the next. 267 type ReclusterChunkState struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 272 // The exclusive lower bound of Chunk IDs processed to date. 273 CurrentChunkId string `protobuf:"bytes,1,opt,name=current_chunk_id,json=currentChunkId,proto3" json:"current_chunk_id,omitempty"` 274 // The next time a progress report should be made. 275 NextReportDue *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=next_report_due,json=nextReportDue,proto3" json:"next_report_due,omitempty"` 276 } 277 278 func (x *ReclusterChunkState) Reset() { 279 *x = ReclusterChunkState{} 280 if protoimpl.UnsafeEnabled { 281 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[2] 282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 283 ms.StoreMessageInfo(mi) 284 } 285 } 286 287 func (x *ReclusterChunkState) String() string { 288 return protoimpl.X.MessageStringOf(x) 289 } 290 291 func (*ReclusterChunkState) ProtoMessage() {} 292 293 func (x *ReclusterChunkState) ProtoReflect() protoreflect.Message { 294 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[2] 295 if protoimpl.UnsafeEnabled && x != nil { 296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 297 if ms.LoadMessageInfo() == nil { 298 ms.StoreMessageInfo(mi) 299 } 300 return ms 301 } 302 return mi.MessageOf(x) 303 } 304 305 // Deprecated: Use ReclusterChunkState.ProtoReflect.Descriptor instead. 306 func (*ReclusterChunkState) Descriptor() ([]byte, []int) { 307 return file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescGZIP(), []int{2} 308 } 309 310 func (x *ReclusterChunkState) GetCurrentChunkId() string { 311 if x != nil { 312 return x.CurrentChunkId 313 } 314 return "" 315 } 316 317 func (x *ReclusterChunkState) GetNextReportDue() *timestamppb.Timestamp { 318 if x != nil { 319 return x.NextReportDue 320 } 321 return nil 322 } 323 324 // Payload of the JoinBuild task. 325 type JoinBuild struct { 326 state protoimpl.MessageState 327 sizeCache protoimpl.SizeCache 328 unknownFields protoimpl.UnknownFields 329 330 // Buildbucket build ID, unique per Buildbucket instance. 331 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 332 // Buildbucket host, e.g. "cr-buildbucket.appspot.com". 333 Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` 334 // The LUCI Project to which the build belongs. 335 Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` 336 } 337 338 func (x *JoinBuild) Reset() { 339 *x = JoinBuild{} 340 if protoimpl.UnsafeEnabled { 341 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[3] 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 343 ms.StoreMessageInfo(mi) 344 } 345 } 346 347 func (x *JoinBuild) String() string { 348 return protoimpl.X.MessageStringOf(x) 349 } 350 351 func (*JoinBuild) ProtoMessage() {} 352 353 func (x *JoinBuild) ProtoReflect() protoreflect.Message { 354 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[3] 355 if protoimpl.UnsafeEnabled && x != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(x) 363 } 364 365 // Deprecated: Use JoinBuild.ProtoReflect.Descriptor instead. 366 func (*JoinBuild) Descriptor() ([]byte, []int) { 367 return file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescGZIP(), []int{3} 368 } 369 370 func (x *JoinBuild) GetId() int64 { 371 if x != nil { 372 return x.Id 373 } 374 return 0 375 } 376 377 func (x *JoinBuild) GetHost() string { 378 if x != nil { 379 return x.Host 380 } 381 return "" 382 } 383 384 func (x *JoinBuild) GetProject() string { 385 if x != nil { 386 return x.Project 387 } 388 return "" 389 } 390 391 // Payload of the UpdateBugs task. Prior to running this task, 392 // the cluster_summaries table should have been updated from the 393 // contents of the clustered_failures table. 394 type UpdateBugs struct { 395 state protoimpl.MessageState 396 sizeCache protoimpl.SizeCache 397 unknownFields protoimpl.UnknownFields 398 399 // The LUCI Project to update bugs for. 400 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` 401 // The reclustering attempt minute that reflects the reclustering 402 // state of the failures summarized by the cluster_summaries table. 403 // 404 // Explanation: 405 // Bug management relies upon knowing when reclustering 406 // is ongoing for rules and algorithms to inhibit erroneous bug updates 407 // for those rules / algorithms as cluster metrics may be invalid. 408 // 409 // The re-clustering progress tracked in ReclusteringRuns table tracks 410 // the progress applying re-clustering to the clustered_failures 411 // table (not the cluster_summaries table). 412 // As there is a delay between when clustered_failures table 413 // is updated and when cluster_summaries is updated, we cannot 414 // use the latest reclustering run but need to read the run 415 // that was current when the clustered_failures table was 416 // summarized into the cluster_summaries table. 417 // 418 // This will be the run that was current when the BigQuery 419 // job to recompute cluster_summaries table from the 420 // clustered_failures table started. 421 ReclusteringAttemptMinute *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=reclustering_attempt_minute,json=reclusteringAttemptMinute,proto3" json:"reclustering_attempt_minute,omitempty"` 422 // The time the task should be completed by to avoid overruning 423 // the next bug update task. 424 Deadline *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"` 425 } 426 427 func (x *UpdateBugs) Reset() { 428 *x = UpdateBugs{} 429 if protoimpl.UnsafeEnabled { 430 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[4] 431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 432 ms.StoreMessageInfo(mi) 433 } 434 } 435 436 func (x *UpdateBugs) String() string { 437 return protoimpl.X.MessageStringOf(x) 438 } 439 440 func (*UpdateBugs) ProtoMessage() {} 441 442 func (x *UpdateBugs) ProtoReflect() protoreflect.Message { 443 mi := &file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[4] 444 if protoimpl.UnsafeEnabled && x != nil { 445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 446 if ms.LoadMessageInfo() == nil { 447 ms.StoreMessageInfo(mi) 448 } 449 return ms 450 } 451 return mi.MessageOf(x) 452 } 453 454 // Deprecated: Use UpdateBugs.ProtoReflect.Descriptor instead. 455 func (*UpdateBugs) Descriptor() ([]byte, []int) { 456 return file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescGZIP(), []int{4} 457 } 458 459 func (x *UpdateBugs) GetProject() string { 460 if x != nil { 461 return x.Project 462 } 463 return "" 464 } 465 466 func (x *UpdateBugs) GetReclusteringAttemptMinute() *timestamppb.Timestamp { 467 if x != nil { 468 return x.ReclusteringAttemptMinute 469 } 470 return nil 471 } 472 473 func (x *UpdateBugs) GetDeadline() *timestamppb.Timestamp { 474 if x != nil { 475 return x.Deadline 476 } 477 return nil 478 } 479 480 var File_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto protoreflect.FileDescriptor 481 482 var file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDesc = []byte{ 483 0x0a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 484 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 485 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x74, 486 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 487 0x74, 0x6f, 0x12, 0x1c, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 488 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 489 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 490 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 491 0x6f, 0x1a, 0x4c, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 492 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 493 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 494 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 495 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 496 0xd3, 0x02, 0x0a, 0x11, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 497 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 498 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 499 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 500 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 501 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 502 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 503 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 504 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 505 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x05, 506 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x5e, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x73, 0x75, 0x62, 0x6d, 507 0x69, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x6c, 508 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x69, 0x6e, 0x74, 509 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 510 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 511 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x75, 0x62, 0x6d, 512 0x69, 0x74, 0x52, 0x75, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 513 0x6b, 0x65, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 514 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 515 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x6e, 516 0x64, 0x65, 0x78, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 517 0x04, 0x08, 0x04, 0x10, 0x08, 0x22, 0xd1, 0x03, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6c, 0x75, 0x73, 518 0x74, 0x65, 0x72, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x61, 519 0x72, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 520 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 521 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 522 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 523 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 524 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 525 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 526 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x63, 527 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 528 0x74, 0x61, 0x72, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x65, 529 0x6e, 0x64, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 530 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x2d, 0x0a, 531 0x12, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 532 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61, 0x6c, 0x67, 0x6f, 0x72, 533 0x69, 0x74, 0x68, 0x6d, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 534 0x72, 0x75, 0x6c, 0x65, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 535 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 536 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 537 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 538 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 539 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 540 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 541 0x70, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 542 0x12, 0x47, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 543 0x31, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 544 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x52, 545 0x65, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x53, 0x74, 0x61, 546 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x52, 0x65, 547 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 548 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x68, 0x75, 549 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x75, 0x72, 550 0x72, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0f, 0x6e, 551 0x65, 0x78, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x75, 0x65, 0x18, 0x02, 552 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 553 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 554 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x75, 0x65, 0x22, 555 0x49, 0x0a, 0x09, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x0e, 0x0a, 0x02, 556 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 557 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 558 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 559 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x0a, 0x55, 560 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 561 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 562 0x65, 0x63, 0x74, 0x12, 0x5a, 0x0a, 0x1b, 0x72, 0x65, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 563 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x6d, 0x69, 0x6e, 0x75, 564 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 565 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 566 0x74, 0x61, 0x6d, 0x70, 0x52, 0x19, 0x72, 0x65, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 567 0x6e, 0x67, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x12, 568 0x36, 0x0a, 0x08, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 569 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 570 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x64, 571 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 0x68, 572 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 573 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 574 0x6c, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x62, 575 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 576 } 577 578 var ( 579 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescOnce sync.Once 580 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescData = file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDesc 581 ) 582 583 func file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescGZIP() []byte { 584 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescOnce.Do(func() { 585 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescData) 586 }) 587 return file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDescData 588 } 589 590 var file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 591 var file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_goTypes = []interface{}{ 592 (*IngestTestResults)(nil), // 0: luci.analysis.internal.tasks.IngestTestResults 593 (*ReclusterChunks)(nil), // 1: luci.analysis.internal.tasks.ReclusterChunks 594 (*ReclusterChunkState)(nil), // 2: luci.analysis.internal.tasks.ReclusterChunkState 595 (*JoinBuild)(nil), // 3: luci.analysis.internal.tasks.JoinBuild 596 (*UpdateBugs)(nil), // 4: luci.analysis.internal.tasks.UpdateBugs 597 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp 598 (*proto.BuildResult)(nil), // 6: luci.analysis.internal.ingestion.control.BuildResult 599 (*proto.PresubmitResult)(nil), // 7: luci.analysis.internal.ingestion.control.PresubmitResult 600 } 601 var file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_depIdxs = []int32{ 602 5, // 0: luci.analysis.internal.tasks.IngestTestResults.partition_time:type_name -> google.protobuf.Timestamp 603 6, // 1: luci.analysis.internal.tasks.IngestTestResults.build:type_name -> luci.analysis.internal.ingestion.control.BuildResult 604 7, // 2: luci.analysis.internal.tasks.IngestTestResults.presubmit_run:type_name -> luci.analysis.internal.ingestion.control.PresubmitResult 605 5, // 3: luci.analysis.internal.tasks.ReclusterChunks.attempt_time:type_name -> google.protobuf.Timestamp 606 5, // 4: luci.analysis.internal.tasks.ReclusterChunks.rules_version:type_name -> google.protobuf.Timestamp 607 5, // 5: luci.analysis.internal.tasks.ReclusterChunks.config_version:type_name -> google.protobuf.Timestamp 608 2, // 6: luci.analysis.internal.tasks.ReclusterChunks.state:type_name -> luci.analysis.internal.tasks.ReclusterChunkState 609 5, // 7: luci.analysis.internal.tasks.ReclusterChunkState.next_report_due:type_name -> google.protobuf.Timestamp 610 5, // 8: luci.analysis.internal.tasks.UpdateBugs.reclustering_attempt_minute:type_name -> google.protobuf.Timestamp 611 5, // 9: luci.analysis.internal.tasks.UpdateBugs.deadline:type_name -> google.protobuf.Timestamp 612 10, // [10:10] is the sub-list for method output_type 613 10, // [10:10] is the sub-list for method input_type 614 10, // [10:10] is the sub-list for extension type_name 615 10, // [10:10] is the sub-list for extension extendee 616 0, // [0:10] is the sub-list for field type_name 617 } 618 619 func init() { file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_init() } 620 func file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_init() { 621 if File_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto != nil { 622 return 623 } 624 if !protoimpl.UnsafeEnabled { 625 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 626 switch v := v.(*IngestTestResults); i { 627 case 0: 628 return &v.state 629 case 1: 630 return &v.sizeCache 631 case 2: 632 return &v.unknownFields 633 default: 634 return nil 635 } 636 } 637 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 638 switch v := v.(*ReclusterChunks); i { 639 case 0: 640 return &v.state 641 case 1: 642 return &v.sizeCache 643 case 2: 644 return &v.unknownFields 645 default: 646 return nil 647 } 648 } 649 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 650 switch v := v.(*ReclusterChunkState); i { 651 case 0: 652 return &v.state 653 case 1: 654 return &v.sizeCache 655 case 2: 656 return &v.unknownFields 657 default: 658 return nil 659 } 660 } 661 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 662 switch v := v.(*JoinBuild); i { 663 case 0: 664 return &v.state 665 case 1: 666 return &v.sizeCache 667 case 2: 668 return &v.unknownFields 669 default: 670 return nil 671 } 672 } 673 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 674 switch v := v.(*UpdateBugs); i { 675 case 0: 676 return &v.state 677 case 1: 678 return &v.sizeCache 679 case 2: 680 return &v.unknownFields 681 default: 682 return nil 683 } 684 } 685 } 686 type x struct{} 687 out := protoimpl.TypeBuilder{ 688 File: protoimpl.DescBuilder{ 689 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 690 RawDescriptor: file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDesc, 691 NumEnums: 0, 692 NumMessages: 5, 693 NumExtensions: 0, 694 NumServices: 0, 695 }, 696 GoTypes: file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_goTypes, 697 DependencyIndexes: file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_depIdxs, 698 MessageInfos: file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_msgTypes, 699 }.Build() 700 File_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto = out.File 701 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_rawDesc = nil 702 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_goTypes = nil 703 file_go_chromium_org_luci_analysis_internal_tasks_taskspb_tasks_proto_depIdxs = nil 704 }