1// Copyright 2017 Google Inc. All Rights Reserved. 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.26.0 18// protoc v3.9.1 19// source: frontend.proto 20 21package ninja_frontend 22 23import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28) 29 30const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35) 36 37type Status_Message_Level int32 38 39const ( 40 Status_Message_INFO Status_Message_Level = 0 41 Status_Message_WARNING Status_Message_Level = 1 42 Status_Message_ERROR Status_Message_Level = 2 43 Status_Message_DEBUG Status_Message_Level = 3 44) 45 46// Enum value maps for Status_Message_Level. 47var ( 48 Status_Message_Level_name = map[int32]string{ 49 0: "INFO", 50 1: "WARNING", 51 2: "ERROR", 52 3: "DEBUG", 53 } 54 Status_Message_Level_value = map[string]int32{ 55 "INFO": 0, 56 "WARNING": 1, 57 "ERROR": 2, 58 "DEBUG": 3, 59 } 60) 61 62func (x Status_Message_Level) Enum() *Status_Message_Level { 63 p := new(Status_Message_Level) 64 *p = x 65 return p 66} 67 68func (x Status_Message_Level) String() string { 69 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 70} 71 72func (Status_Message_Level) Descriptor() protoreflect.EnumDescriptor { 73 return file_frontend_proto_enumTypes[0].Descriptor() 74} 75 76func (Status_Message_Level) Type() protoreflect.EnumType { 77 return &file_frontend_proto_enumTypes[0] 78} 79 80func (x Status_Message_Level) Number() protoreflect.EnumNumber { 81 return protoreflect.EnumNumber(x) 82} 83 84// Deprecated: Do not use. 85func (x *Status_Message_Level) UnmarshalJSON(b []byte) error { 86 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 87 if err != nil { 88 return err 89 } 90 *x = Status_Message_Level(num) 91 return nil 92} 93 94// Deprecated: Use Status_Message_Level.Descriptor instead. 95func (Status_Message_Level) EnumDescriptor() ([]byte, []int) { 96 return file_frontend_proto_rawDescGZIP(), []int{0, 5, 0} 97} 98 99type Status struct { 100 state protoimpl.MessageState 101 sizeCache protoimpl.SizeCache 102 unknownFields protoimpl.UnknownFields 103 104 TotalEdges *Status_TotalEdges `protobuf:"bytes,1,opt,name=total_edges,json=totalEdges" json:"total_edges,omitempty"` 105 BuildStarted *Status_BuildStarted `protobuf:"bytes,2,opt,name=build_started,json=buildStarted" json:"build_started,omitempty"` 106 BuildFinished *Status_BuildFinished `protobuf:"bytes,3,opt,name=build_finished,json=buildFinished" json:"build_finished,omitempty"` 107 EdgeStarted *Status_EdgeStarted `protobuf:"bytes,4,opt,name=edge_started,json=edgeStarted" json:"edge_started,omitempty"` 108 EdgeFinished *Status_EdgeFinished `protobuf:"bytes,5,opt,name=edge_finished,json=edgeFinished" json:"edge_finished,omitempty"` 109 Message *Status_Message `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` 110} 111 112func (x *Status) Reset() { 113 *x = Status{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_frontend_proto_msgTypes[0] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119} 120 121func (x *Status) String() string { 122 return protoimpl.X.MessageStringOf(x) 123} 124 125func (*Status) ProtoMessage() {} 126 127func (x *Status) ProtoReflect() protoreflect.Message { 128 mi := &file_frontend_proto_msgTypes[0] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137} 138 139// Deprecated: Use Status.ProtoReflect.Descriptor instead. 140func (*Status) Descriptor() ([]byte, []int) { 141 return file_frontend_proto_rawDescGZIP(), []int{0} 142} 143 144func (x *Status) GetTotalEdges() *Status_TotalEdges { 145 if x != nil { 146 return x.TotalEdges 147 } 148 return nil 149} 150 151func (x *Status) GetBuildStarted() *Status_BuildStarted { 152 if x != nil { 153 return x.BuildStarted 154 } 155 return nil 156} 157 158func (x *Status) GetBuildFinished() *Status_BuildFinished { 159 if x != nil { 160 return x.BuildFinished 161 } 162 return nil 163} 164 165func (x *Status) GetEdgeStarted() *Status_EdgeStarted { 166 if x != nil { 167 return x.EdgeStarted 168 } 169 return nil 170} 171 172func (x *Status) GetEdgeFinished() *Status_EdgeFinished { 173 if x != nil { 174 return x.EdgeFinished 175 } 176 return nil 177} 178 179func (x *Status) GetMessage() *Status_Message { 180 if x != nil { 181 return x.Message 182 } 183 return nil 184} 185 186type Status_TotalEdges struct { 187 state protoimpl.MessageState 188 sizeCache protoimpl.SizeCache 189 unknownFields protoimpl.UnknownFields 190 191 // New value for total edges in the build. 192 TotalEdges *uint32 `protobuf:"varint,1,opt,name=total_edges,json=totalEdges" json:"total_edges,omitempty"` 193} 194 195func (x *Status_TotalEdges) Reset() { 196 *x = Status_TotalEdges{} 197 if protoimpl.UnsafeEnabled { 198 mi := &file_frontend_proto_msgTypes[1] 199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 200 ms.StoreMessageInfo(mi) 201 } 202} 203 204func (x *Status_TotalEdges) String() string { 205 return protoimpl.X.MessageStringOf(x) 206} 207 208func (*Status_TotalEdges) ProtoMessage() {} 209 210func (x *Status_TotalEdges) ProtoReflect() protoreflect.Message { 211 mi := &file_frontend_proto_msgTypes[1] 212 if protoimpl.UnsafeEnabled && x != nil { 213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 214 if ms.LoadMessageInfo() == nil { 215 ms.StoreMessageInfo(mi) 216 } 217 return ms 218 } 219 return mi.MessageOf(x) 220} 221 222// Deprecated: Use Status_TotalEdges.ProtoReflect.Descriptor instead. 223func (*Status_TotalEdges) Descriptor() ([]byte, []int) { 224 return file_frontend_proto_rawDescGZIP(), []int{0, 0} 225} 226 227func (x *Status_TotalEdges) GetTotalEdges() uint32 { 228 if x != nil && x.TotalEdges != nil { 229 return *x.TotalEdges 230 } 231 return 0 232} 233 234type Status_BuildStarted struct { 235 state protoimpl.MessageState 236 sizeCache protoimpl.SizeCache 237 unknownFields protoimpl.UnknownFields 238 239 // Number of jobs Ninja will run in parallel. 240 Parallelism *uint32 `protobuf:"varint,1,opt,name=parallelism" json:"parallelism,omitempty"` 241 // Verbose value passed to ninja. 242 Verbose *bool `protobuf:"varint,2,opt,name=verbose" json:"verbose,omitempty"` 243} 244 245func (x *Status_BuildStarted) Reset() { 246 *x = Status_BuildStarted{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_frontend_proto_msgTypes[2] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252} 253 254func (x *Status_BuildStarted) String() string { 255 return protoimpl.X.MessageStringOf(x) 256} 257 258func (*Status_BuildStarted) ProtoMessage() {} 259 260func (x *Status_BuildStarted) ProtoReflect() protoreflect.Message { 261 mi := &file_frontend_proto_msgTypes[2] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270} 271 272// Deprecated: Use Status_BuildStarted.ProtoReflect.Descriptor instead. 273func (*Status_BuildStarted) Descriptor() ([]byte, []int) { 274 return file_frontend_proto_rawDescGZIP(), []int{0, 1} 275} 276 277func (x *Status_BuildStarted) GetParallelism() uint32 { 278 if x != nil && x.Parallelism != nil { 279 return *x.Parallelism 280 } 281 return 0 282} 283 284func (x *Status_BuildStarted) GetVerbose() bool { 285 if x != nil && x.Verbose != nil { 286 return *x.Verbose 287 } 288 return false 289} 290 291type Status_BuildFinished struct { 292 state protoimpl.MessageState 293 sizeCache protoimpl.SizeCache 294 unknownFields protoimpl.UnknownFields 295} 296 297func (x *Status_BuildFinished) Reset() { 298 *x = Status_BuildFinished{} 299 if protoimpl.UnsafeEnabled { 300 mi := &file_frontend_proto_msgTypes[3] 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 ms.StoreMessageInfo(mi) 303 } 304} 305 306func (x *Status_BuildFinished) String() string { 307 return protoimpl.X.MessageStringOf(x) 308} 309 310func (*Status_BuildFinished) ProtoMessage() {} 311 312func (x *Status_BuildFinished) ProtoReflect() protoreflect.Message { 313 mi := &file_frontend_proto_msgTypes[3] 314 if protoimpl.UnsafeEnabled && x != nil { 315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 316 if ms.LoadMessageInfo() == nil { 317 ms.StoreMessageInfo(mi) 318 } 319 return ms 320 } 321 return mi.MessageOf(x) 322} 323 324// Deprecated: Use Status_BuildFinished.ProtoReflect.Descriptor instead. 325func (*Status_BuildFinished) Descriptor() ([]byte, []int) { 326 return file_frontend_proto_rawDescGZIP(), []int{0, 2} 327} 328 329type Status_EdgeStarted struct { 330 state protoimpl.MessageState 331 sizeCache protoimpl.SizeCache 332 unknownFields protoimpl.UnknownFields 333 334 // Edge identification number, unique to a Ninja run. 335 Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` 336 // Edge start time in milliseconds since Ninja started. 337 StartTime *uint32 `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"` 338 // List of edge inputs. 339 Inputs []string `protobuf:"bytes,3,rep,name=inputs" json:"inputs,omitempty"` 340 // List of edge outputs. 341 Outputs []string `protobuf:"bytes,4,rep,name=outputs" json:"outputs,omitempty"` 342 // Description field from the edge. 343 Desc *string `protobuf:"bytes,5,opt,name=desc" json:"desc,omitempty"` 344 // Command field from the edge. 345 Command *string `protobuf:"bytes,6,opt,name=command" json:"command,omitempty"` 346 // Edge uses console. 347 Console *bool `protobuf:"varint,7,opt,name=console" json:"console,omitempty"` 348} 349 350func (x *Status_EdgeStarted) Reset() { 351 *x = Status_EdgeStarted{} 352 if protoimpl.UnsafeEnabled { 353 mi := &file_frontend_proto_msgTypes[4] 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 ms.StoreMessageInfo(mi) 356 } 357} 358 359func (x *Status_EdgeStarted) String() string { 360 return protoimpl.X.MessageStringOf(x) 361} 362 363func (*Status_EdgeStarted) ProtoMessage() {} 364 365func (x *Status_EdgeStarted) ProtoReflect() protoreflect.Message { 366 mi := &file_frontend_proto_msgTypes[4] 367 if protoimpl.UnsafeEnabled && x != nil { 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 if ms.LoadMessageInfo() == nil { 370 ms.StoreMessageInfo(mi) 371 } 372 return ms 373 } 374 return mi.MessageOf(x) 375} 376 377// Deprecated: Use Status_EdgeStarted.ProtoReflect.Descriptor instead. 378func (*Status_EdgeStarted) Descriptor() ([]byte, []int) { 379 return file_frontend_proto_rawDescGZIP(), []int{0, 3} 380} 381 382func (x *Status_EdgeStarted) GetId() uint32 { 383 if x != nil && x.Id != nil { 384 return *x.Id 385 } 386 return 0 387} 388 389func (x *Status_EdgeStarted) GetStartTime() uint32 { 390 if x != nil && x.StartTime != nil { 391 return *x.StartTime 392 } 393 return 0 394} 395 396func (x *Status_EdgeStarted) GetInputs() []string { 397 if x != nil { 398 return x.Inputs 399 } 400 return nil 401} 402 403func (x *Status_EdgeStarted) GetOutputs() []string { 404 if x != nil { 405 return x.Outputs 406 } 407 return nil 408} 409 410func (x *Status_EdgeStarted) GetDesc() string { 411 if x != nil && x.Desc != nil { 412 return *x.Desc 413 } 414 return "" 415} 416 417func (x *Status_EdgeStarted) GetCommand() string { 418 if x != nil && x.Command != nil { 419 return *x.Command 420 } 421 return "" 422} 423 424func (x *Status_EdgeStarted) GetConsole() bool { 425 if x != nil && x.Console != nil { 426 return *x.Console 427 } 428 return false 429} 430 431type Status_EdgeFinished struct { 432 state protoimpl.MessageState 433 sizeCache protoimpl.SizeCache 434 unknownFields protoimpl.UnknownFields 435 436 // Edge identification number, unique to a Ninja run. 437 Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` 438 // Edge end time in milliseconds since Ninja started. 439 EndTime *uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime" json:"end_time,omitempty"` 440 // Exit status (0 for success). 441 Status *int32 `protobuf:"zigzag32,3,opt,name=status" json:"status,omitempty"` 442 // Edge output, may contain ANSI codes. 443 Output *string `protobuf:"bytes,4,opt,name=output" json:"output,omitempty"` 444 // Number of milliseconds spent executing in user mode 445 UserTime *uint32 `protobuf:"varint,5,opt,name=user_time,json=userTime" json:"user_time,omitempty"` 446 // Number of milliseconds spent executing in kernel mode 447 SystemTime *uint32 `protobuf:"varint,6,opt,name=system_time,json=systemTime" json:"system_time,omitempty"` 448 // Max resident set size in kB 449 MaxRssKb *uint64 `protobuf:"varint,7,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"` 450 // Minor page faults 451 MinorPageFaults *uint64 `protobuf:"varint,8,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"` 452 // Major page faults 453 MajorPageFaults *uint64 `protobuf:"varint,9,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"` 454 // IO input in kB 455 IoInputKb *uint64 `protobuf:"varint,10,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"` 456 // IO output in kB 457 IoOutputKb *uint64 `protobuf:"varint,11,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"` 458 // Voluntary context switches 459 VoluntaryContextSwitches *uint64 `protobuf:"varint,12,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"` 460 // Involuntary context switches 461 InvoluntaryContextSwitches *uint64 `protobuf:"varint,13,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"` 462} 463 464func (x *Status_EdgeFinished) Reset() { 465 *x = Status_EdgeFinished{} 466 if protoimpl.UnsafeEnabled { 467 mi := &file_frontend_proto_msgTypes[5] 468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 469 ms.StoreMessageInfo(mi) 470 } 471} 472 473func (x *Status_EdgeFinished) String() string { 474 return protoimpl.X.MessageStringOf(x) 475} 476 477func (*Status_EdgeFinished) ProtoMessage() {} 478 479func (x *Status_EdgeFinished) ProtoReflect() protoreflect.Message { 480 mi := &file_frontend_proto_msgTypes[5] 481 if protoimpl.UnsafeEnabled && x != nil { 482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 483 if ms.LoadMessageInfo() == nil { 484 ms.StoreMessageInfo(mi) 485 } 486 return ms 487 } 488 return mi.MessageOf(x) 489} 490 491// Deprecated: Use Status_EdgeFinished.ProtoReflect.Descriptor instead. 492func (*Status_EdgeFinished) Descriptor() ([]byte, []int) { 493 return file_frontend_proto_rawDescGZIP(), []int{0, 4} 494} 495 496func (x *Status_EdgeFinished) GetId() uint32 { 497 if x != nil && x.Id != nil { 498 return *x.Id 499 } 500 return 0 501} 502 503func (x *Status_EdgeFinished) GetEndTime() uint32 { 504 if x != nil && x.EndTime != nil { 505 return *x.EndTime 506 } 507 return 0 508} 509 510func (x *Status_EdgeFinished) GetStatus() int32 { 511 if x != nil && x.Status != nil { 512 return *x.Status 513 } 514 return 0 515} 516 517func (x *Status_EdgeFinished) GetOutput() string { 518 if x != nil && x.Output != nil { 519 return *x.Output 520 } 521 return "" 522} 523 524func (x *Status_EdgeFinished) GetUserTime() uint32 { 525 if x != nil && x.UserTime != nil { 526 return *x.UserTime 527 } 528 return 0 529} 530 531func (x *Status_EdgeFinished) GetSystemTime() uint32 { 532 if x != nil && x.SystemTime != nil { 533 return *x.SystemTime 534 } 535 return 0 536} 537 538func (x *Status_EdgeFinished) GetMaxRssKb() uint64 { 539 if x != nil && x.MaxRssKb != nil { 540 return *x.MaxRssKb 541 } 542 return 0 543} 544 545func (x *Status_EdgeFinished) GetMinorPageFaults() uint64 { 546 if x != nil && x.MinorPageFaults != nil { 547 return *x.MinorPageFaults 548 } 549 return 0 550} 551 552func (x *Status_EdgeFinished) GetMajorPageFaults() uint64 { 553 if x != nil && x.MajorPageFaults != nil { 554 return *x.MajorPageFaults 555 } 556 return 0 557} 558 559func (x *Status_EdgeFinished) GetIoInputKb() uint64 { 560 if x != nil && x.IoInputKb != nil { 561 return *x.IoInputKb 562 } 563 return 0 564} 565 566func (x *Status_EdgeFinished) GetIoOutputKb() uint64 { 567 if x != nil && x.IoOutputKb != nil { 568 return *x.IoOutputKb 569 } 570 return 0 571} 572 573func (x *Status_EdgeFinished) GetVoluntaryContextSwitches() uint64 { 574 if x != nil && x.VoluntaryContextSwitches != nil { 575 return *x.VoluntaryContextSwitches 576 } 577 return 0 578} 579 580func (x *Status_EdgeFinished) GetInvoluntaryContextSwitches() uint64 { 581 if x != nil && x.InvoluntaryContextSwitches != nil { 582 return *x.InvoluntaryContextSwitches 583 } 584 return 0 585} 586 587type Status_Message struct { 588 state protoimpl.MessageState 589 sizeCache protoimpl.SizeCache 590 unknownFields protoimpl.UnknownFields 591 592 // Message priority level (DEBUG, INFO, WARNING, ERROR). 593 Level *Status_Message_Level `protobuf:"varint,1,opt,name=level,enum=ninja.Status_Message_Level,def=0" json:"level,omitempty"` 594 // Info/warning/error message from Ninja. 595 Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` 596} 597 598// Default values for Status_Message fields. 599const ( 600 Default_Status_Message_Level = Status_Message_INFO 601) 602 603func (x *Status_Message) Reset() { 604 *x = Status_Message{} 605 if protoimpl.UnsafeEnabled { 606 mi := &file_frontend_proto_msgTypes[6] 607 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 608 ms.StoreMessageInfo(mi) 609 } 610} 611 612func (x *Status_Message) String() string { 613 return protoimpl.X.MessageStringOf(x) 614} 615 616func (*Status_Message) ProtoMessage() {} 617 618func (x *Status_Message) ProtoReflect() protoreflect.Message { 619 mi := &file_frontend_proto_msgTypes[6] 620 if protoimpl.UnsafeEnabled && x != nil { 621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 622 if ms.LoadMessageInfo() == nil { 623 ms.StoreMessageInfo(mi) 624 } 625 return ms 626 } 627 return mi.MessageOf(x) 628} 629 630// Deprecated: Use Status_Message.ProtoReflect.Descriptor instead. 631func (*Status_Message) Descriptor() ([]byte, []int) { 632 return file_frontend_proto_rawDescGZIP(), []int{0, 5} 633} 634 635func (x *Status_Message) GetLevel() Status_Message_Level { 636 if x != nil && x.Level != nil { 637 return *x.Level 638 } 639 return Default_Status_Message_Level 640} 641 642func (x *Status_Message) GetMessage() string { 643 if x != nil && x.Message != nil { 644 return *x.Message 645 } 646 return "" 647} 648 649var File_frontend_proto protoreflect.FileDescriptor 650 651var file_frontend_proto_rawDesc = []byte{ 652 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 653 0x12, 0x05, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x22, 0xb4, 0x0a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 654 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65, 655 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 656 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 657 0x73, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a, 658 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 659 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 660 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 661 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x42, 662 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 663 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 664 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 665 0x68, 0x65, 0x64, 0x52, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 666 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 667 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 668 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 669 0x74, 0x65, 0x64, 0x52, 0x0b, 0x65, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 670 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 671 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 672 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 673 0x68, 0x65, 0x64, 0x52, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 674 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 675 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 676 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 677 0x67, 0x65, 0x1a, 0x2d, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73, 678 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 679 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 680 0x73, 0x1a, 0x4a, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 681 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 682 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 683 0x69, 0x73, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x02, 684 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x1a, 0x0f, 0x0a, 685 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x1a, 0xb6, 686 0x01, 0x0a, 0x0b, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x0e, 687 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 688 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 689 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 690 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x69, 691 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 692 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 693 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 694 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x06, 695 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x18, 0x0a, 696 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 697 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x1a, 0xdf, 0x03, 0x0a, 0x0c, 0x45, 0x64, 0x67, 0x65, 698 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 699 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 700 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 701 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 702 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 703 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 704 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 705 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 706 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 707 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 708 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18, 709 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12, 710 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 711 0x75, 0x6c, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 712 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 713 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 714 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67, 715 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 716 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f, 717 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 718 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69, 719 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 720 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 721 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76, 722 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 723 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 724 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 725 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69, 726 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 727 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x1a, 0x92, 0x01, 0x0a, 0x07, 0x4d, 0x65, 728 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 729 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 730 0x74, 0x75, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x65, 0x76, 0x65, 731 0x6c, 0x3a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 732 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 733 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x34, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 734 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 735 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 736 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x03, 0x42, 0x2a, 737 0x48, 0x03, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 738 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x6e, 0x69, 0x6e, 0x6a, 739 0x61, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 740} 741 742var ( 743 file_frontend_proto_rawDescOnce sync.Once 744 file_frontend_proto_rawDescData = file_frontend_proto_rawDesc 745) 746 747func file_frontend_proto_rawDescGZIP() []byte { 748 file_frontend_proto_rawDescOnce.Do(func() { 749 file_frontend_proto_rawDescData = protoimpl.X.CompressGZIP(file_frontend_proto_rawDescData) 750 }) 751 return file_frontend_proto_rawDescData 752} 753 754var file_frontend_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 755var file_frontend_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 756var file_frontend_proto_goTypes = []interface{}{ 757 (Status_Message_Level)(0), // 0: ninja.Status.Message.Level 758 (*Status)(nil), // 1: ninja.Status 759 (*Status_TotalEdges)(nil), // 2: ninja.Status.TotalEdges 760 (*Status_BuildStarted)(nil), // 3: ninja.Status.BuildStarted 761 (*Status_BuildFinished)(nil), // 4: ninja.Status.BuildFinished 762 (*Status_EdgeStarted)(nil), // 5: ninja.Status.EdgeStarted 763 (*Status_EdgeFinished)(nil), // 6: ninja.Status.EdgeFinished 764 (*Status_Message)(nil), // 7: ninja.Status.Message 765} 766var file_frontend_proto_depIdxs = []int32{ 767 2, // 0: ninja.Status.total_edges:type_name -> ninja.Status.TotalEdges 768 3, // 1: ninja.Status.build_started:type_name -> ninja.Status.BuildStarted 769 4, // 2: ninja.Status.build_finished:type_name -> ninja.Status.BuildFinished 770 5, // 3: ninja.Status.edge_started:type_name -> ninja.Status.EdgeStarted 771 6, // 4: ninja.Status.edge_finished:type_name -> ninja.Status.EdgeFinished 772 7, // 5: ninja.Status.message:type_name -> ninja.Status.Message 773 0, // 6: ninja.Status.Message.level:type_name -> ninja.Status.Message.Level 774 7, // [7:7] is the sub-list for method output_type 775 7, // [7:7] is the sub-list for method input_type 776 7, // [7:7] is the sub-list for extension type_name 777 7, // [7:7] is the sub-list for extension extendee 778 0, // [0:7] is the sub-list for field type_name 779} 780 781func init() { file_frontend_proto_init() } 782func file_frontend_proto_init() { 783 if File_frontend_proto != nil { 784 return 785 } 786 if !protoimpl.UnsafeEnabled { 787 file_frontend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 788 switch v := v.(*Status); i { 789 case 0: 790 return &v.state 791 case 1: 792 return &v.sizeCache 793 case 2: 794 return &v.unknownFields 795 default: 796 return nil 797 } 798 } 799 file_frontend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 800 switch v := v.(*Status_TotalEdges); i { 801 case 0: 802 return &v.state 803 case 1: 804 return &v.sizeCache 805 case 2: 806 return &v.unknownFields 807 default: 808 return nil 809 } 810 } 811 file_frontend_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 812 switch v := v.(*Status_BuildStarted); i { 813 case 0: 814 return &v.state 815 case 1: 816 return &v.sizeCache 817 case 2: 818 return &v.unknownFields 819 default: 820 return nil 821 } 822 } 823 file_frontend_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 824 switch v := v.(*Status_BuildFinished); i { 825 case 0: 826 return &v.state 827 case 1: 828 return &v.sizeCache 829 case 2: 830 return &v.unknownFields 831 default: 832 return nil 833 } 834 } 835 file_frontend_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 836 switch v := v.(*Status_EdgeStarted); i { 837 case 0: 838 return &v.state 839 case 1: 840 return &v.sizeCache 841 case 2: 842 return &v.unknownFields 843 default: 844 return nil 845 } 846 } 847 file_frontend_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 848 switch v := v.(*Status_EdgeFinished); i { 849 case 0: 850 return &v.state 851 case 1: 852 return &v.sizeCache 853 case 2: 854 return &v.unknownFields 855 default: 856 return nil 857 } 858 } 859 file_frontend_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 860 switch v := v.(*Status_Message); i { 861 case 0: 862 return &v.state 863 case 1: 864 return &v.sizeCache 865 case 2: 866 return &v.unknownFields 867 default: 868 return nil 869 } 870 } 871 } 872 type x struct{} 873 out := protoimpl.TypeBuilder{ 874 File: protoimpl.DescBuilder{ 875 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 876 RawDescriptor: file_frontend_proto_rawDesc, 877 NumEnums: 1, 878 NumMessages: 7, 879 NumExtensions: 0, 880 NumServices: 0, 881 }, 882 GoTypes: file_frontend_proto_goTypes, 883 DependencyIndexes: file_frontend_proto_depIdxs, 884 EnumInfos: file_frontend_proto_enumTypes, 885 MessageInfos: file_frontend_proto_msgTypes, 886 }.Build() 887 File_frontend_proto = out.File 888 file_frontend_proto_rawDesc = nil 889 file_frontend_proto_goTypes = nil 890 file_frontend_proto_depIdxs = nil 891} 892