blob: d8344c8a9b837676aa8b619093622ccf73f98965 [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// 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
Dan Willemsenb82471a2018-05-17 16:37:09 -070015// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -070016// versions:
Jeongik Cha3622b342023-11-27 11:00:52 +090017// protoc-gen-go v1.30.0
Dan Alberte82234e2023-06-01 23:09:38 +000018// protoc v3.21.12
Dan Willemsenb82471a2018-05-17 16:37:09 -070019// source: frontend.proto
20
21package ninja_frontend
22
Dan Willemsen08218222020-05-18 14:02:02 -070023import (
Dan Willemsen4591b642021-05-24 14:24:12 -070024 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
Dan Willemsen08218222020-05-18 14:02:02 -070028)
Dan Willemsenb82471a2018-05-17 16:37:09 -070029
Dan Willemsen4591b642021-05-24 14:24:12 -070030const (
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)
Dan Willemsenb82471a2018-05-17 16:37:09 -070036
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
Dan Willemsen08218222020-05-18 14:02:02 -070043 Status_Message_DEBUG Status_Message_Level = 3
Dan Willemsenb82471a2018-05-17 16:37:09 -070044)
45
Dan Willemsen4591b642021-05-24 14:24:12 -070046// 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)
Dan Willemsenb82471a2018-05-17 16:37:09 -070061
62func (x Status_Message_Level) Enum() *Status_Message_Level {
63 p := new(Status_Message_Level)
64 *p = x
65 return p
66}
Dan Willemsen08218222020-05-18 14:02:02 -070067
Dan Willemsenb82471a2018-05-17 16:37:09 -070068func (x Status_Message_Level) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070069 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Dan Willemsenb82471a2018-05-17 16:37:09 -070070}
Dan Willemsen08218222020-05-18 14:02:02 -070071
Dan Willemsen4591b642021-05-24 14:24:12 -070072func (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)
Dan Willemsenb82471a2018-05-17 16:37:09 -070087 if err != nil {
88 return err
89 }
Dan Willemsen4591b642021-05-24 14:24:12 -070090 *x = Status_Message_Level(num)
Dan Willemsenb82471a2018-05-17 16:37:09 -070091 return nil
92}
Dan Willemsen08218222020-05-18 14:02:02 -070093
Dan Willemsen4591b642021-05-24 14:24:12 -070094// Deprecated: Use Status_Message_Level.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -070095func (Status_Message_Level) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070096 return file_frontend_proto_rawDescGZIP(), []int{0, 5, 0}
Dan Willemsenb82471a2018-05-17 16:37:09 -070097}
98
99type Status struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700100 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"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700110}
111
Dan Willemsen4591b642021-05-24 14:24:12 -0700112func (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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700140func (*Status) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700141 return file_frontend_proto_rawDescGZIP(), []int{0}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700142}
Dan Willemsen08218222020-05-18 14:02:02 -0700143
Dan Willemsen4591b642021-05-24 14:24:12 -0700144func (x *Status) GetTotalEdges() *Status_TotalEdges {
145 if x != nil {
146 return x.TotalEdges
Dan Willemsenb82471a2018-05-17 16:37:09 -0700147 }
148 return nil
149}
150
Dan Willemsen4591b642021-05-24 14:24:12 -0700151func (x *Status) GetBuildStarted() *Status_BuildStarted {
152 if x != nil {
153 return x.BuildStarted
Dan Willemsenb82471a2018-05-17 16:37:09 -0700154 }
155 return nil
156}
157
Dan Willemsen4591b642021-05-24 14:24:12 -0700158func (x *Status) GetBuildFinished() *Status_BuildFinished {
159 if x != nil {
160 return x.BuildFinished
Dan Willemsenb82471a2018-05-17 16:37:09 -0700161 }
162 return nil
163}
164
Dan Willemsen4591b642021-05-24 14:24:12 -0700165func (x *Status) GetEdgeStarted() *Status_EdgeStarted {
166 if x != nil {
167 return x.EdgeStarted
Dan Willemsenb82471a2018-05-17 16:37:09 -0700168 }
169 return nil
170}
171
Dan Willemsen4591b642021-05-24 14:24:12 -0700172func (x *Status) GetEdgeFinished() *Status_EdgeFinished {
173 if x != nil {
174 return x.EdgeFinished
Dan Willemsenb82471a2018-05-17 16:37:09 -0700175 }
176 return nil
177}
178
Dan Willemsen4591b642021-05-24 14:24:12 -0700179func (x *Status) GetMessage() *Status_Message {
180 if x != nil {
181 return x.Message
Dan Willemsenb82471a2018-05-17 16:37:09 -0700182 }
183 return nil
184}
185
186type Status_TotalEdges struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700187 state protoimpl.MessageState
188 sizeCache protoimpl.SizeCache
189 unknownFields protoimpl.UnknownFields
190
Dan Willemsenb82471a2018-05-17 16:37:09 -0700191 // New value for total edges in the build.
Dan Willemsen4591b642021-05-24 14:24:12 -0700192 TotalEdges *uint32 `protobuf:"varint,1,opt,name=total_edges,json=totalEdges" json:"total_edges,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700193}
194
Dan Willemsen4591b642021-05-24 14:24:12 -0700195func (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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700223func (*Status_TotalEdges) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700224 return file_frontend_proto_rawDescGZIP(), []int{0, 0}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700225}
Dan Willemsen08218222020-05-18 14:02:02 -0700226
Dan Willemsen4591b642021-05-24 14:24:12 -0700227func (x *Status_TotalEdges) GetTotalEdges() uint32 {
228 if x != nil && x.TotalEdges != nil {
229 return *x.TotalEdges
Dan Willemsenb82471a2018-05-17 16:37:09 -0700230 }
231 return 0
232}
233
234type Status_BuildStarted struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700235 state protoimpl.MessageState
236 sizeCache protoimpl.SizeCache
237 unknownFields protoimpl.UnknownFields
238
Dan Willemsenb82471a2018-05-17 16:37:09 -0700239 // 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.
Dan Willemsen4591b642021-05-24 14:24:12 -0700242 Verbose *bool `protobuf:"varint,2,opt,name=verbose" json:"verbose,omitempty"`
Jeongik Cha3622b342023-11-27 11:00:52 +0900243 // Critical path's running time in milliseconds
244 CriticalPathTime *uint32 `protobuf:"varint,3,opt,name=critical_path_time,json=criticalPathTime" json:"critical_path_time,omitempty"`
245 // Total running time of every need-to-build edge in milliseconds
246 EstimatedTotalTime *uint32 `protobuf:"varint,4,opt,name=estimated_total_time,json=estimatedTotalTime" json:"estimated_total_time,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700247}
248
Dan Willemsen4591b642021-05-24 14:24:12 -0700249func (x *Status_BuildStarted) Reset() {
250 *x = Status_BuildStarted{}
251 if protoimpl.UnsafeEnabled {
252 mi := &file_frontend_proto_msgTypes[2]
253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254 ms.StoreMessageInfo(mi)
255 }
256}
257
258func (x *Status_BuildStarted) String() string {
259 return protoimpl.X.MessageStringOf(x)
260}
261
262func (*Status_BuildStarted) ProtoMessage() {}
263
264func (x *Status_BuildStarted) ProtoReflect() protoreflect.Message {
265 mi := &file_frontend_proto_msgTypes[2]
266 if protoimpl.UnsafeEnabled && x != nil {
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 if ms.LoadMessageInfo() == nil {
269 ms.StoreMessageInfo(mi)
270 }
271 return ms
272 }
273 return mi.MessageOf(x)
274}
275
276// Deprecated: Use Status_BuildStarted.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700277func (*Status_BuildStarted) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700278 return file_frontend_proto_rawDescGZIP(), []int{0, 1}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700279}
Dan Willemsen08218222020-05-18 14:02:02 -0700280
Dan Willemsen4591b642021-05-24 14:24:12 -0700281func (x *Status_BuildStarted) GetParallelism() uint32 {
282 if x != nil && x.Parallelism != nil {
283 return *x.Parallelism
Dan Willemsenb82471a2018-05-17 16:37:09 -0700284 }
285 return 0
286}
287
Dan Willemsen4591b642021-05-24 14:24:12 -0700288func (x *Status_BuildStarted) GetVerbose() bool {
289 if x != nil && x.Verbose != nil {
290 return *x.Verbose
Dan Willemsenb82471a2018-05-17 16:37:09 -0700291 }
292 return false
293}
294
Jeongik Cha3622b342023-11-27 11:00:52 +0900295func (x *Status_BuildStarted) GetCriticalPathTime() uint32 {
296 if x != nil && x.CriticalPathTime != nil {
297 return *x.CriticalPathTime
298 }
299 return 0
300}
301
302func (x *Status_BuildStarted) GetEstimatedTotalTime() uint32 {
303 if x != nil && x.EstimatedTotalTime != nil {
304 return *x.EstimatedTotalTime
305 }
306 return 0
307}
308
Dan Willemsenb82471a2018-05-17 16:37:09 -0700309type Status_BuildFinished struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700310 state protoimpl.MessageState
311 sizeCache protoimpl.SizeCache
312 unknownFields protoimpl.UnknownFields
Dan Willemsenb82471a2018-05-17 16:37:09 -0700313}
314
Dan Willemsen4591b642021-05-24 14:24:12 -0700315func (x *Status_BuildFinished) Reset() {
316 *x = Status_BuildFinished{}
317 if protoimpl.UnsafeEnabled {
318 mi := &file_frontend_proto_msgTypes[3]
319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
320 ms.StoreMessageInfo(mi)
321 }
322}
323
324func (x *Status_BuildFinished) String() string {
325 return protoimpl.X.MessageStringOf(x)
326}
327
328func (*Status_BuildFinished) ProtoMessage() {}
329
330func (x *Status_BuildFinished) ProtoReflect() protoreflect.Message {
331 mi := &file_frontend_proto_msgTypes[3]
332 if protoimpl.UnsafeEnabled && x != nil {
333 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
334 if ms.LoadMessageInfo() == nil {
335 ms.StoreMessageInfo(mi)
336 }
337 return ms
338 }
339 return mi.MessageOf(x)
340}
341
342// Deprecated: Use Status_BuildFinished.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700343func (*Status_BuildFinished) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700344 return file_frontend_proto_rawDescGZIP(), []int{0, 2}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700345}
Dan Willemsen08218222020-05-18 14:02:02 -0700346
Dan Willemsenb82471a2018-05-17 16:37:09 -0700347type Status_EdgeStarted struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700348 state protoimpl.MessageState
349 sizeCache protoimpl.SizeCache
350 unknownFields protoimpl.UnknownFields
351
Dan Willemsenb82471a2018-05-17 16:37:09 -0700352 // Edge identification number, unique to a Ninja run.
353 Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
354 // Edge start time in milliseconds since Ninja started.
355 StartTime *uint32 `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
356 // List of edge inputs.
357 Inputs []string `protobuf:"bytes,3,rep,name=inputs" json:"inputs,omitempty"`
358 // List of edge outputs.
359 Outputs []string `protobuf:"bytes,4,rep,name=outputs" json:"outputs,omitempty"`
360 // Description field from the edge.
361 Desc *string `protobuf:"bytes,5,opt,name=desc" json:"desc,omitempty"`
362 // Command field from the edge.
363 Command *string `protobuf:"bytes,6,opt,name=command" json:"command,omitempty"`
364 // Edge uses console.
Dan Willemsen4591b642021-05-24 14:24:12 -0700365 Console *bool `protobuf:"varint,7,opt,name=console" json:"console,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700366}
367
Dan Willemsen4591b642021-05-24 14:24:12 -0700368func (x *Status_EdgeStarted) Reset() {
369 *x = Status_EdgeStarted{}
370 if protoimpl.UnsafeEnabled {
371 mi := &file_frontend_proto_msgTypes[4]
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 ms.StoreMessageInfo(mi)
374 }
375}
376
377func (x *Status_EdgeStarted) String() string {
378 return protoimpl.X.MessageStringOf(x)
379}
380
381func (*Status_EdgeStarted) ProtoMessage() {}
382
383func (x *Status_EdgeStarted) ProtoReflect() protoreflect.Message {
384 mi := &file_frontend_proto_msgTypes[4]
385 if protoimpl.UnsafeEnabled && x != nil {
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 if ms.LoadMessageInfo() == nil {
388 ms.StoreMessageInfo(mi)
389 }
390 return ms
391 }
392 return mi.MessageOf(x)
393}
394
395// Deprecated: Use Status_EdgeStarted.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700396func (*Status_EdgeStarted) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700397 return file_frontend_proto_rawDescGZIP(), []int{0, 3}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700398}
Dan Willemsen08218222020-05-18 14:02:02 -0700399
Dan Willemsen4591b642021-05-24 14:24:12 -0700400func (x *Status_EdgeStarted) GetId() uint32 {
401 if x != nil && x.Id != nil {
402 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700403 }
404 return 0
405}
406
Dan Willemsen4591b642021-05-24 14:24:12 -0700407func (x *Status_EdgeStarted) GetStartTime() uint32 {
408 if x != nil && x.StartTime != nil {
409 return *x.StartTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700410 }
411 return 0
412}
413
Dan Willemsen4591b642021-05-24 14:24:12 -0700414func (x *Status_EdgeStarted) GetInputs() []string {
415 if x != nil {
416 return x.Inputs
Dan Willemsenb82471a2018-05-17 16:37:09 -0700417 }
418 return nil
419}
420
Dan Willemsen4591b642021-05-24 14:24:12 -0700421func (x *Status_EdgeStarted) GetOutputs() []string {
422 if x != nil {
423 return x.Outputs
Dan Willemsenb82471a2018-05-17 16:37:09 -0700424 }
425 return nil
426}
427
Dan Willemsen4591b642021-05-24 14:24:12 -0700428func (x *Status_EdgeStarted) GetDesc() string {
429 if x != nil && x.Desc != nil {
430 return *x.Desc
Dan Willemsenb82471a2018-05-17 16:37:09 -0700431 }
432 return ""
433}
434
Dan Willemsen4591b642021-05-24 14:24:12 -0700435func (x *Status_EdgeStarted) GetCommand() string {
436 if x != nil && x.Command != nil {
437 return *x.Command
Dan Willemsenb82471a2018-05-17 16:37:09 -0700438 }
439 return ""
440}
441
Dan Willemsen4591b642021-05-24 14:24:12 -0700442func (x *Status_EdgeStarted) GetConsole() bool {
443 if x != nil && x.Console != nil {
444 return *x.Console
Dan Willemsenb82471a2018-05-17 16:37:09 -0700445 }
446 return false
447}
448
449type Status_EdgeFinished struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700450 state protoimpl.MessageState
451 sizeCache protoimpl.SizeCache
452 unknownFields protoimpl.UnknownFields
453
Dan Willemsenb82471a2018-05-17 16:37:09 -0700454 // Edge identification number, unique to a Ninja run.
455 Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
456 // Edge end time in milliseconds since Ninja started.
457 EndTime *uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
458 // Exit status (0 for success).
459 Status *int32 `protobuf:"zigzag32,3,opt,name=status" json:"status,omitempty"`
460 // Edge output, may contain ANSI codes.
Dan Willemsen08218222020-05-18 14:02:02 -0700461 Output *string `protobuf:"bytes,4,opt,name=output" json:"output,omitempty"`
462 // Number of milliseconds spent executing in user mode
463 UserTime *uint32 `protobuf:"varint,5,opt,name=user_time,json=userTime" json:"user_time,omitempty"`
464 // Number of milliseconds spent executing in kernel mode
Colin Crossd888b6b2020-10-15 13:46:32 -0700465 SystemTime *uint32 `protobuf:"varint,6,opt,name=system_time,json=systemTime" json:"system_time,omitempty"`
466 // Max resident set size in kB
467 MaxRssKb *uint64 `protobuf:"varint,7,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
468 // Minor page faults
469 MinorPageFaults *uint64 `protobuf:"varint,8,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
470 // Major page faults
471 MajorPageFaults *uint64 `protobuf:"varint,9,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
472 // IO input in kB
473 IoInputKb *uint64 `protobuf:"varint,10,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
474 // IO output in kB
475 IoOutputKb *uint64 `protobuf:"varint,11,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
476 // Voluntary context switches
477 VoluntaryContextSwitches *uint64 `protobuf:"varint,12,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
478 // Involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700479 InvoluntaryContextSwitches *uint64 `protobuf:"varint,13,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Dan Alberte82234e2023-06-01 23:09:38 +0000480 // Arbitrary tags for build system profiling (module names and types, rule
481 // names, etc). Format of the string is implementation defined.
482 Tags *string `protobuf:"bytes,14,opt,name=tags" json:"tags,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700483}
484
Dan Willemsen4591b642021-05-24 14:24:12 -0700485func (x *Status_EdgeFinished) Reset() {
486 *x = Status_EdgeFinished{}
487 if protoimpl.UnsafeEnabled {
488 mi := &file_frontend_proto_msgTypes[5]
489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
490 ms.StoreMessageInfo(mi)
491 }
492}
493
494func (x *Status_EdgeFinished) String() string {
495 return protoimpl.X.MessageStringOf(x)
496}
497
498func (*Status_EdgeFinished) ProtoMessage() {}
499
500func (x *Status_EdgeFinished) ProtoReflect() protoreflect.Message {
501 mi := &file_frontend_proto_msgTypes[5]
502 if protoimpl.UnsafeEnabled && x != nil {
503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
504 if ms.LoadMessageInfo() == nil {
505 ms.StoreMessageInfo(mi)
506 }
507 return ms
508 }
509 return mi.MessageOf(x)
510}
511
512// Deprecated: Use Status_EdgeFinished.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700513func (*Status_EdgeFinished) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700514 return file_frontend_proto_rawDescGZIP(), []int{0, 4}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700515}
Dan Willemsen08218222020-05-18 14:02:02 -0700516
Dan Willemsen4591b642021-05-24 14:24:12 -0700517func (x *Status_EdgeFinished) GetId() uint32 {
518 if x != nil && x.Id != nil {
519 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700520 }
521 return 0
522}
523
Dan Willemsen4591b642021-05-24 14:24:12 -0700524func (x *Status_EdgeFinished) GetEndTime() uint32 {
525 if x != nil && x.EndTime != nil {
526 return *x.EndTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700527 }
528 return 0
529}
530
Dan Willemsen4591b642021-05-24 14:24:12 -0700531func (x *Status_EdgeFinished) GetStatus() int32 {
532 if x != nil && x.Status != nil {
533 return *x.Status
Dan Willemsenb82471a2018-05-17 16:37:09 -0700534 }
535 return 0
536}
537
Dan Willemsen4591b642021-05-24 14:24:12 -0700538func (x *Status_EdgeFinished) GetOutput() string {
539 if x != nil && x.Output != nil {
540 return *x.Output
Dan Willemsenb82471a2018-05-17 16:37:09 -0700541 }
542 return ""
543}
544
Dan Willemsen4591b642021-05-24 14:24:12 -0700545func (x *Status_EdgeFinished) GetUserTime() uint32 {
546 if x != nil && x.UserTime != nil {
547 return *x.UserTime
Dan Willemsen08218222020-05-18 14:02:02 -0700548 }
549 return 0
550}
551
Dan Willemsen4591b642021-05-24 14:24:12 -0700552func (x *Status_EdgeFinished) GetSystemTime() uint32 {
553 if x != nil && x.SystemTime != nil {
554 return *x.SystemTime
Dan Willemsen08218222020-05-18 14:02:02 -0700555 }
556 return 0
557}
558
Dan Willemsen4591b642021-05-24 14:24:12 -0700559func (x *Status_EdgeFinished) GetMaxRssKb() uint64 {
560 if x != nil && x.MaxRssKb != nil {
561 return *x.MaxRssKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700562 }
563 return 0
564}
565
Dan Willemsen4591b642021-05-24 14:24:12 -0700566func (x *Status_EdgeFinished) GetMinorPageFaults() uint64 {
567 if x != nil && x.MinorPageFaults != nil {
568 return *x.MinorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700569 }
570 return 0
571}
572
Dan Willemsen4591b642021-05-24 14:24:12 -0700573func (x *Status_EdgeFinished) GetMajorPageFaults() uint64 {
574 if x != nil && x.MajorPageFaults != nil {
575 return *x.MajorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700576 }
577 return 0
578}
579
Dan Willemsen4591b642021-05-24 14:24:12 -0700580func (x *Status_EdgeFinished) GetIoInputKb() uint64 {
581 if x != nil && x.IoInputKb != nil {
582 return *x.IoInputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700583 }
584 return 0
585}
586
Dan Willemsen4591b642021-05-24 14:24:12 -0700587func (x *Status_EdgeFinished) GetIoOutputKb() uint64 {
588 if x != nil && x.IoOutputKb != nil {
589 return *x.IoOutputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700590 }
591 return 0
592}
593
Dan Willemsen4591b642021-05-24 14:24:12 -0700594func (x *Status_EdgeFinished) GetVoluntaryContextSwitches() uint64 {
595 if x != nil && x.VoluntaryContextSwitches != nil {
596 return *x.VoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700597 }
598 return 0
599}
600
Dan Willemsen4591b642021-05-24 14:24:12 -0700601func (x *Status_EdgeFinished) GetInvoluntaryContextSwitches() uint64 {
602 if x != nil && x.InvoluntaryContextSwitches != nil {
603 return *x.InvoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700604 }
605 return 0
606}
607
Dan Alberte82234e2023-06-01 23:09:38 +0000608func (x *Status_EdgeFinished) GetTags() string {
609 if x != nil && x.Tags != nil {
610 return *x.Tags
611 }
612 return ""
613}
614
Dan Willemsenb82471a2018-05-17 16:37:09 -0700615type Status_Message struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700616 state protoimpl.MessageState
617 sizeCache protoimpl.SizeCache
618 unknownFields protoimpl.UnknownFields
619
Dan Willemsen08218222020-05-18 14:02:02 -0700620 // Message priority level (DEBUG, INFO, WARNING, ERROR).
Dan Willemsenb82471a2018-05-17 16:37:09 -0700621 Level *Status_Message_Level `protobuf:"varint,1,opt,name=level,enum=ninja.Status_Message_Level,def=0" json:"level,omitempty"`
622 // Info/warning/error message from Ninja.
Dan Willemsen4591b642021-05-24 14:24:12 -0700623 Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700624}
625
Dan Willemsen4591b642021-05-24 14:24:12 -0700626// Default values for Status_Message fields.
627const (
628 Default_Status_Message_Level = Status_Message_INFO
629)
630
631func (x *Status_Message) Reset() {
632 *x = Status_Message{}
633 if protoimpl.UnsafeEnabled {
634 mi := &file_frontend_proto_msgTypes[6]
635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636 ms.StoreMessageInfo(mi)
637 }
638}
639
640func (x *Status_Message) String() string {
641 return protoimpl.X.MessageStringOf(x)
642}
643
644func (*Status_Message) ProtoMessage() {}
645
646func (x *Status_Message) ProtoReflect() protoreflect.Message {
647 mi := &file_frontend_proto_msgTypes[6]
648 if protoimpl.UnsafeEnabled && x != nil {
649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650 if ms.LoadMessageInfo() == nil {
651 ms.StoreMessageInfo(mi)
652 }
653 return ms
654 }
655 return mi.MessageOf(x)
656}
657
658// Deprecated: Use Status_Message.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700659func (*Status_Message) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700660 return file_frontend_proto_rawDescGZIP(), []int{0, 5}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700661}
Dan Willemsen08218222020-05-18 14:02:02 -0700662
Dan Willemsen4591b642021-05-24 14:24:12 -0700663func (x *Status_Message) GetLevel() Status_Message_Level {
664 if x != nil && x.Level != nil {
665 return *x.Level
Dan Willemsenb82471a2018-05-17 16:37:09 -0700666 }
667 return Default_Status_Message_Level
668}
669
Dan Willemsen4591b642021-05-24 14:24:12 -0700670func (x *Status_Message) GetMessage() string {
671 if x != nil && x.Message != nil {
672 return *x.Message
Dan Willemsenb82471a2018-05-17 16:37:09 -0700673 }
674 return ""
675}
676
Dan Willemsen4591b642021-05-24 14:24:12 -0700677var File_frontend_proto protoreflect.FileDescriptor
678
679var file_frontend_proto_rawDesc = []byte{
680 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Jeongik Cha3622b342023-11-27 11:00:52 +0900681 0x12, 0x05, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x22, 0xa9, 0x0b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
Dan Willemsen4591b642021-05-24 14:24:12 -0700682 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65,
683 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e,
684 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65,
685 0x73, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a,
686 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02,
687 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61,
688 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
689 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x42,
690 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
691 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53,
692 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73,
693 0x68, 0x65, 0x64, 0x52, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
694 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74,
695 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61,
696 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72,
697 0x74, 0x65, 0x64, 0x52, 0x0b, 0x65, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
698 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
699 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e,
700 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73,
701 0x68, 0x65, 0x64, 0x52, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
702 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01,
703 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
704 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
705 0x67, 0x65, 0x1a, 0x2d, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73,
706 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18,
707 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65,
Jeongik Cha3622b342023-11-27 11:00:52 +0900708 0x73, 0x1a, 0xaa, 0x01, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74,
709 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73,
710 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65,
711 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18,
712 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x2c,
713 0x0a, 0x12, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f,
714 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x72, 0x69, 0x74,
715 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14,
716 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
717 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x65, 0x73, 0x74, 0x69,
718 0x6d, 0x61, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x0f,
719 0x0a, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x1a,
720 0xb6, 0x01, 0x0a, 0x0b, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12,
721 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12,
722 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
723 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16,
724 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
725 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
726 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73,
727 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
728 0x64, 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18,
729 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x18,
730 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
731 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x1a, 0xf3, 0x03, 0x0a, 0x0c, 0x45, 0x64, 0x67,
732 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
733 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64,
734 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64,
735 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03,
736 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06,
737 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75,
738 0x74, 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d,
739 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d,
740 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65,
741 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69,
742 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62,
743 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62,
744 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66,
745 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e,
746 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11,
747 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74,
748 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61,
749 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69,
750 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69,
751 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f,
752 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
753 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f,
754 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f,
755 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18,
756 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
757 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f,
758 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f,
759 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a,
760 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
761 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61,
762 0x67, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x92,
763 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6c, 0x65,
764 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a,
765 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
766 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x52, 0x05, 0x6c, 0x65,
767 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02,
768 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x34, 0x0a,
769 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00,
770 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a,
771 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55,
772 0x47, 0x10, 0x03, 0x42, 0x2a, 0x48, 0x03, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64,
773 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
774 0x2f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64,
Dan Willemsenb82471a2018-05-17 16:37:09 -0700775}
776
Dan Willemsen4591b642021-05-24 14:24:12 -0700777var (
778 file_frontend_proto_rawDescOnce sync.Once
779 file_frontend_proto_rawDescData = file_frontend_proto_rawDesc
780)
781
782func file_frontend_proto_rawDescGZIP() []byte {
783 file_frontend_proto_rawDescOnce.Do(func() {
784 file_frontend_proto_rawDescData = protoimpl.X.CompressGZIP(file_frontend_proto_rawDescData)
785 })
786 return file_frontend_proto_rawDescData
Dan Willemsen08218222020-05-18 14:02:02 -0700787}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700788
Dan Willemsen4591b642021-05-24 14:24:12 -0700789var file_frontend_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
790var file_frontend_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
791var file_frontend_proto_goTypes = []interface{}{
792 (Status_Message_Level)(0), // 0: ninja.Status.Message.Level
793 (*Status)(nil), // 1: ninja.Status
794 (*Status_TotalEdges)(nil), // 2: ninja.Status.TotalEdges
795 (*Status_BuildStarted)(nil), // 3: ninja.Status.BuildStarted
796 (*Status_BuildFinished)(nil), // 4: ninja.Status.BuildFinished
797 (*Status_EdgeStarted)(nil), // 5: ninja.Status.EdgeStarted
798 (*Status_EdgeFinished)(nil), // 6: ninja.Status.EdgeFinished
799 (*Status_Message)(nil), // 7: ninja.Status.Message
800}
801var file_frontend_proto_depIdxs = []int32{
802 2, // 0: ninja.Status.total_edges:type_name -> ninja.Status.TotalEdges
803 3, // 1: ninja.Status.build_started:type_name -> ninja.Status.BuildStarted
804 4, // 2: ninja.Status.build_finished:type_name -> ninja.Status.BuildFinished
805 5, // 3: ninja.Status.edge_started:type_name -> ninja.Status.EdgeStarted
806 6, // 4: ninja.Status.edge_finished:type_name -> ninja.Status.EdgeFinished
807 7, // 5: ninja.Status.message:type_name -> ninja.Status.Message
808 0, // 6: ninja.Status.Message.level:type_name -> ninja.Status.Message.Level
809 7, // [7:7] is the sub-list for method output_type
810 7, // [7:7] is the sub-list for method input_type
811 7, // [7:7] is the sub-list for extension type_name
812 7, // [7:7] is the sub-list for extension extendee
813 0, // [0:7] is the sub-list for field type_name
814}
815
816func init() { file_frontend_proto_init() }
817func file_frontend_proto_init() {
818 if File_frontend_proto != nil {
819 return
820 }
821 if !protoimpl.UnsafeEnabled {
822 file_frontend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
823 switch v := v.(*Status); i {
824 case 0:
825 return &v.state
826 case 1:
827 return &v.sizeCache
828 case 2:
829 return &v.unknownFields
830 default:
831 return nil
832 }
833 }
834 file_frontend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
835 switch v := v.(*Status_TotalEdges); i {
836 case 0:
837 return &v.state
838 case 1:
839 return &v.sizeCache
840 case 2:
841 return &v.unknownFields
842 default:
843 return nil
844 }
845 }
846 file_frontend_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
847 switch v := v.(*Status_BuildStarted); i {
848 case 0:
849 return &v.state
850 case 1:
851 return &v.sizeCache
852 case 2:
853 return &v.unknownFields
854 default:
855 return nil
856 }
857 }
858 file_frontend_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
859 switch v := v.(*Status_BuildFinished); i {
860 case 0:
861 return &v.state
862 case 1:
863 return &v.sizeCache
864 case 2:
865 return &v.unknownFields
866 default:
867 return nil
868 }
869 }
870 file_frontend_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
871 switch v := v.(*Status_EdgeStarted); i {
872 case 0:
873 return &v.state
874 case 1:
875 return &v.sizeCache
876 case 2:
877 return &v.unknownFields
878 default:
879 return nil
880 }
881 }
882 file_frontend_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
883 switch v := v.(*Status_EdgeFinished); i {
884 case 0:
885 return &v.state
886 case 1:
887 return &v.sizeCache
888 case 2:
889 return &v.unknownFields
890 default:
891 return nil
892 }
893 }
894 file_frontend_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
895 switch v := v.(*Status_Message); i {
896 case 0:
897 return &v.state
898 case 1:
899 return &v.sizeCache
900 case 2:
901 return &v.unknownFields
902 default:
903 return nil
904 }
905 }
906 }
907 type x struct{}
908 out := protoimpl.TypeBuilder{
909 File: protoimpl.DescBuilder{
910 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
911 RawDescriptor: file_frontend_proto_rawDesc,
912 NumEnums: 1,
913 NumMessages: 7,
914 NumExtensions: 0,
915 NumServices: 0,
916 },
917 GoTypes: file_frontend_proto_goTypes,
918 DependencyIndexes: file_frontend_proto_depIdxs,
919 EnumInfos: file_frontend_proto_enumTypes,
920 MessageInfos: file_frontend_proto_msgTypes,
921 }.Build()
922 File_frontend_proto = out.File
923 file_frontend_proto_rawDesc = nil
924 file_frontend_proto_goTypes = nil
925 file_frontend_proto_depIdxs = nil
Dan Willemsenb82471a2018-05-17 16:37:09 -0700926}