blob: fce7ca2845ae5b3f6799b31358df4c33f63ec464 [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"`
Yu Liua58467a2024-03-05 01:12:19 +0000366 // Changed inputs.
367 ChangedInputs []string `protobuf:"bytes,8,rep,name=changed_inputs,json=changedInputs" json:"changed_inputs,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700368}
369
Dan Willemsen4591b642021-05-24 14:24:12 -0700370func (x *Status_EdgeStarted) Reset() {
371 *x = Status_EdgeStarted{}
372 if protoimpl.UnsafeEnabled {
373 mi := &file_frontend_proto_msgTypes[4]
374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
375 ms.StoreMessageInfo(mi)
376 }
377}
378
379func (x *Status_EdgeStarted) String() string {
380 return protoimpl.X.MessageStringOf(x)
381}
382
383func (*Status_EdgeStarted) ProtoMessage() {}
384
385func (x *Status_EdgeStarted) ProtoReflect() protoreflect.Message {
386 mi := &file_frontend_proto_msgTypes[4]
387 if protoimpl.UnsafeEnabled && x != nil {
388 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
389 if ms.LoadMessageInfo() == nil {
390 ms.StoreMessageInfo(mi)
391 }
392 return ms
393 }
394 return mi.MessageOf(x)
395}
396
397// Deprecated: Use Status_EdgeStarted.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700398func (*Status_EdgeStarted) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700399 return file_frontend_proto_rawDescGZIP(), []int{0, 3}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700400}
Dan Willemsen08218222020-05-18 14:02:02 -0700401
Dan Willemsen4591b642021-05-24 14:24:12 -0700402func (x *Status_EdgeStarted) GetId() uint32 {
403 if x != nil && x.Id != nil {
404 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700405 }
406 return 0
407}
408
Dan Willemsen4591b642021-05-24 14:24:12 -0700409func (x *Status_EdgeStarted) GetStartTime() uint32 {
410 if x != nil && x.StartTime != nil {
411 return *x.StartTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700412 }
413 return 0
414}
415
Dan Willemsen4591b642021-05-24 14:24:12 -0700416func (x *Status_EdgeStarted) GetInputs() []string {
417 if x != nil {
418 return x.Inputs
Dan Willemsenb82471a2018-05-17 16:37:09 -0700419 }
420 return nil
421}
422
Dan Willemsen4591b642021-05-24 14:24:12 -0700423func (x *Status_EdgeStarted) GetOutputs() []string {
424 if x != nil {
425 return x.Outputs
Dan Willemsenb82471a2018-05-17 16:37:09 -0700426 }
427 return nil
428}
429
Dan Willemsen4591b642021-05-24 14:24:12 -0700430func (x *Status_EdgeStarted) GetDesc() string {
431 if x != nil && x.Desc != nil {
432 return *x.Desc
Dan Willemsenb82471a2018-05-17 16:37:09 -0700433 }
434 return ""
435}
436
Dan Willemsen4591b642021-05-24 14:24:12 -0700437func (x *Status_EdgeStarted) GetCommand() string {
438 if x != nil && x.Command != nil {
439 return *x.Command
Dan Willemsenb82471a2018-05-17 16:37:09 -0700440 }
441 return ""
442}
443
Dan Willemsen4591b642021-05-24 14:24:12 -0700444func (x *Status_EdgeStarted) GetConsole() bool {
445 if x != nil && x.Console != nil {
446 return *x.Console
Dan Willemsenb82471a2018-05-17 16:37:09 -0700447 }
448 return false
449}
450
Yu Liua58467a2024-03-05 01:12:19 +0000451func (x *Status_EdgeStarted) GetChangedInputs() []string {
452 if x != nil {
453 return x.ChangedInputs
454 }
455 return nil
456}
457
Dan Willemsenb82471a2018-05-17 16:37:09 -0700458type Status_EdgeFinished struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700459 state protoimpl.MessageState
460 sizeCache protoimpl.SizeCache
461 unknownFields protoimpl.UnknownFields
462
Dan Willemsenb82471a2018-05-17 16:37:09 -0700463 // Edge identification number, unique to a Ninja run.
464 Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
465 // Edge end time in milliseconds since Ninja started.
466 EndTime *uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
467 // Exit status (0 for success).
468 Status *int32 `protobuf:"zigzag32,3,opt,name=status" json:"status,omitempty"`
469 // Edge output, may contain ANSI codes.
Dan Willemsen08218222020-05-18 14:02:02 -0700470 Output *string `protobuf:"bytes,4,opt,name=output" json:"output,omitempty"`
471 // Number of milliseconds spent executing in user mode
472 UserTime *uint32 `protobuf:"varint,5,opt,name=user_time,json=userTime" json:"user_time,omitempty"`
473 // Number of milliseconds spent executing in kernel mode
Colin Crossd888b6b2020-10-15 13:46:32 -0700474 SystemTime *uint32 `protobuf:"varint,6,opt,name=system_time,json=systemTime" json:"system_time,omitempty"`
475 // Max resident set size in kB
476 MaxRssKb *uint64 `protobuf:"varint,7,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"`
477 // Minor page faults
478 MinorPageFaults *uint64 `protobuf:"varint,8,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"`
479 // Major page faults
480 MajorPageFaults *uint64 `protobuf:"varint,9,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"`
481 // IO input in kB
482 IoInputKb *uint64 `protobuf:"varint,10,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"`
483 // IO output in kB
484 IoOutputKb *uint64 `protobuf:"varint,11,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"`
485 // Voluntary context switches
486 VoluntaryContextSwitches *uint64 `protobuf:"varint,12,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"`
487 // Involuntary context switches
Dan Willemsen4591b642021-05-24 14:24:12 -0700488 InvoluntaryContextSwitches *uint64 `protobuf:"varint,13,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Dan Alberte82234e2023-06-01 23:09:38 +0000489 // Arbitrary tags for build system profiling (module names and types, rule
490 // names, etc). Format of the string is implementation defined.
491 Tags *string `protobuf:"bytes,14,opt,name=tags" json:"tags,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700492}
493
Dan Willemsen4591b642021-05-24 14:24:12 -0700494func (x *Status_EdgeFinished) Reset() {
495 *x = Status_EdgeFinished{}
496 if protoimpl.UnsafeEnabled {
497 mi := &file_frontend_proto_msgTypes[5]
498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
499 ms.StoreMessageInfo(mi)
500 }
501}
502
503func (x *Status_EdgeFinished) String() string {
504 return protoimpl.X.MessageStringOf(x)
505}
506
507func (*Status_EdgeFinished) ProtoMessage() {}
508
509func (x *Status_EdgeFinished) ProtoReflect() protoreflect.Message {
510 mi := &file_frontend_proto_msgTypes[5]
511 if protoimpl.UnsafeEnabled && x != nil {
512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
513 if ms.LoadMessageInfo() == nil {
514 ms.StoreMessageInfo(mi)
515 }
516 return ms
517 }
518 return mi.MessageOf(x)
519}
520
521// Deprecated: Use Status_EdgeFinished.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700522func (*Status_EdgeFinished) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700523 return file_frontend_proto_rawDescGZIP(), []int{0, 4}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700524}
Dan Willemsen08218222020-05-18 14:02:02 -0700525
Dan Willemsen4591b642021-05-24 14:24:12 -0700526func (x *Status_EdgeFinished) GetId() uint32 {
527 if x != nil && x.Id != nil {
528 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700529 }
530 return 0
531}
532
Dan Willemsen4591b642021-05-24 14:24:12 -0700533func (x *Status_EdgeFinished) GetEndTime() uint32 {
534 if x != nil && x.EndTime != nil {
535 return *x.EndTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700536 }
537 return 0
538}
539
Dan Willemsen4591b642021-05-24 14:24:12 -0700540func (x *Status_EdgeFinished) GetStatus() int32 {
541 if x != nil && x.Status != nil {
542 return *x.Status
Dan Willemsenb82471a2018-05-17 16:37:09 -0700543 }
544 return 0
545}
546
Dan Willemsen4591b642021-05-24 14:24:12 -0700547func (x *Status_EdgeFinished) GetOutput() string {
548 if x != nil && x.Output != nil {
549 return *x.Output
Dan Willemsenb82471a2018-05-17 16:37:09 -0700550 }
551 return ""
552}
553
Dan Willemsen4591b642021-05-24 14:24:12 -0700554func (x *Status_EdgeFinished) GetUserTime() uint32 {
555 if x != nil && x.UserTime != nil {
556 return *x.UserTime
Dan Willemsen08218222020-05-18 14:02:02 -0700557 }
558 return 0
559}
560
Dan Willemsen4591b642021-05-24 14:24:12 -0700561func (x *Status_EdgeFinished) GetSystemTime() uint32 {
562 if x != nil && x.SystemTime != nil {
563 return *x.SystemTime
Dan Willemsen08218222020-05-18 14:02:02 -0700564 }
565 return 0
566}
567
Dan Willemsen4591b642021-05-24 14:24:12 -0700568func (x *Status_EdgeFinished) GetMaxRssKb() uint64 {
569 if x != nil && x.MaxRssKb != nil {
570 return *x.MaxRssKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700571 }
572 return 0
573}
574
Dan Willemsen4591b642021-05-24 14:24:12 -0700575func (x *Status_EdgeFinished) GetMinorPageFaults() uint64 {
576 if x != nil && x.MinorPageFaults != nil {
577 return *x.MinorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700578 }
579 return 0
580}
581
Dan Willemsen4591b642021-05-24 14:24:12 -0700582func (x *Status_EdgeFinished) GetMajorPageFaults() uint64 {
583 if x != nil && x.MajorPageFaults != nil {
584 return *x.MajorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700585 }
586 return 0
587}
588
Dan Willemsen4591b642021-05-24 14:24:12 -0700589func (x *Status_EdgeFinished) GetIoInputKb() uint64 {
590 if x != nil && x.IoInputKb != nil {
591 return *x.IoInputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700592 }
593 return 0
594}
595
Dan Willemsen4591b642021-05-24 14:24:12 -0700596func (x *Status_EdgeFinished) GetIoOutputKb() uint64 {
597 if x != nil && x.IoOutputKb != nil {
598 return *x.IoOutputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700599 }
600 return 0
601}
602
Dan Willemsen4591b642021-05-24 14:24:12 -0700603func (x *Status_EdgeFinished) GetVoluntaryContextSwitches() uint64 {
604 if x != nil && x.VoluntaryContextSwitches != nil {
605 return *x.VoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700606 }
607 return 0
608}
609
Dan Willemsen4591b642021-05-24 14:24:12 -0700610func (x *Status_EdgeFinished) GetInvoluntaryContextSwitches() uint64 {
611 if x != nil && x.InvoluntaryContextSwitches != nil {
612 return *x.InvoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700613 }
614 return 0
615}
616
Dan Alberte82234e2023-06-01 23:09:38 +0000617func (x *Status_EdgeFinished) GetTags() string {
618 if x != nil && x.Tags != nil {
619 return *x.Tags
620 }
621 return ""
622}
623
Dan Willemsenb82471a2018-05-17 16:37:09 -0700624type Status_Message struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700625 state protoimpl.MessageState
626 sizeCache protoimpl.SizeCache
627 unknownFields protoimpl.UnknownFields
628
Dan Willemsen08218222020-05-18 14:02:02 -0700629 // Message priority level (DEBUG, INFO, WARNING, ERROR).
Dan Willemsenb82471a2018-05-17 16:37:09 -0700630 Level *Status_Message_Level `protobuf:"varint,1,opt,name=level,enum=ninja.Status_Message_Level,def=0" json:"level,omitempty"`
631 // Info/warning/error message from Ninja.
Dan Willemsen4591b642021-05-24 14:24:12 -0700632 Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700633}
634
Dan Willemsen4591b642021-05-24 14:24:12 -0700635// Default values for Status_Message fields.
636const (
637 Default_Status_Message_Level = Status_Message_INFO
638)
639
640func (x *Status_Message) Reset() {
641 *x = Status_Message{}
642 if protoimpl.UnsafeEnabled {
643 mi := &file_frontend_proto_msgTypes[6]
644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
645 ms.StoreMessageInfo(mi)
646 }
647}
648
649func (x *Status_Message) String() string {
650 return protoimpl.X.MessageStringOf(x)
651}
652
653func (*Status_Message) ProtoMessage() {}
654
655func (x *Status_Message) ProtoReflect() protoreflect.Message {
656 mi := &file_frontend_proto_msgTypes[6]
657 if protoimpl.UnsafeEnabled && x != nil {
658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
659 if ms.LoadMessageInfo() == nil {
660 ms.StoreMessageInfo(mi)
661 }
662 return ms
663 }
664 return mi.MessageOf(x)
665}
666
667// Deprecated: Use Status_Message.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700668func (*Status_Message) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700669 return file_frontend_proto_rawDescGZIP(), []int{0, 5}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700670}
Dan Willemsen08218222020-05-18 14:02:02 -0700671
Dan Willemsen4591b642021-05-24 14:24:12 -0700672func (x *Status_Message) GetLevel() Status_Message_Level {
673 if x != nil && x.Level != nil {
674 return *x.Level
Dan Willemsenb82471a2018-05-17 16:37:09 -0700675 }
676 return Default_Status_Message_Level
677}
678
Dan Willemsen4591b642021-05-24 14:24:12 -0700679func (x *Status_Message) GetMessage() string {
680 if x != nil && x.Message != nil {
681 return *x.Message
Dan Willemsenb82471a2018-05-17 16:37:09 -0700682 }
683 return ""
684}
685
Dan Willemsen4591b642021-05-24 14:24:12 -0700686var File_frontend_proto protoreflect.FileDescriptor
687
688var file_frontend_proto_rawDesc = []byte{
689 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Yu Liua58467a2024-03-05 01:12:19 +0000690 0x12, 0x05, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x22, 0xdb, 0x0b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
Dan Willemsen4591b642021-05-24 14:24:12 -0700691 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65,
692 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e,
693 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65,
694 0x73, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a,
695 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02,
696 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61,
697 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
698 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x42,
699 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
700 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53,
701 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73,
702 0x68, 0x65, 0x64, 0x52, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
703 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74,
704 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61,
705 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72,
706 0x74, 0x65, 0x64, 0x52, 0x0b, 0x65, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
707 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
708 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e,
709 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73,
710 0x68, 0x65, 0x64, 0x52, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
711 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01,
712 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
713 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
714 0x67, 0x65, 0x1a, 0x2d, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73,
715 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18,
716 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65,
Jeongik Cha3622b342023-11-27 11:00:52 +0900717 0x73, 0x1a, 0xaa, 0x01, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74,
718 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73,
719 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65,
720 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18,
721 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x2c,
722 0x0a, 0x12, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f,
723 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x72, 0x69, 0x74,
724 0x69, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14,
725 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
726 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x65, 0x73, 0x74, 0x69,
727 0x6d, 0x61, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x0f,
728 0x0a, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x1a,
Yu Liua58467a2024-03-05 01:12:19 +0000729 0xe8, 0x01, 0x0a, 0x0b, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12,
Jeongik Cha3622b342023-11-27 11:00:52 +0900730 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12,
731 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
732 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16,
733 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
734 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
735 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73,
736 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
737 0x64, 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18,
738 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x18,
739 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
Yu Liua58467a2024-03-05 01:12:19 +0000740 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x6e,
741 0x67, 0x65, 0x64, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73,
742 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x53,
743 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0xf3, 0x03, 0x0a, 0x0c, 0x45,
744 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69,
745 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65,
746 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65,
747 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
748 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16,
749 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
750 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74,
751 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54,
752 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69,
753 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
754 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f,
755 0x6b, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73,
756 0x4b, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65,
757 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d,
758 0x69, 0x6e, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a,
759 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75,
760 0x6c, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72,
761 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f,
762 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52,
763 0x09, 0x69, 0x6f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f,
764 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04,
765 0x52, 0x0a, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a,
766 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
767 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04,
768 0x52, 0x18, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
769 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e,
770 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
771 0x74, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04,
772 0x52, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e,
773 0x74, 0x65, 0x78, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04,
774 0x74, 0x61, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73,
775 0x1a, 0x92, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x05,
776 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x69,
777 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
778 0x67, 0x65, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x52, 0x05,
779 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
780 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
781 0x34, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f,
782 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,
783 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45,
784 0x42, 0x55, 0x47, 0x10, 0x03, 0x42, 0x2a, 0x48, 0x03, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f,
785 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x74,
786 0x75, 0x73, 0x2f, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
787 0x64,
Dan Willemsenb82471a2018-05-17 16:37:09 -0700788}
789
Dan Willemsen4591b642021-05-24 14:24:12 -0700790var (
791 file_frontend_proto_rawDescOnce sync.Once
792 file_frontend_proto_rawDescData = file_frontend_proto_rawDesc
793)
794
795func file_frontend_proto_rawDescGZIP() []byte {
796 file_frontend_proto_rawDescOnce.Do(func() {
797 file_frontend_proto_rawDescData = protoimpl.X.CompressGZIP(file_frontend_proto_rawDescData)
798 })
799 return file_frontend_proto_rawDescData
Dan Willemsen08218222020-05-18 14:02:02 -0700800}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700801
Dan Willemsen4591b642021-05-24 14:24:12 -0700802var file_frontend_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
803var file_frontend_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
804var file_frontend_proto_goTypes = []interface{}{
805 (Status_Message_Level)(0), // 0: ninja.Status.Message.Level
806 (*Status)(nil), // 1: ninja.Status
807 (*Status_TotalEdges)(nil), // 2: ninja.Status.TotalEdges
808 (*Status_BuildStarted)(nil), // 3: ninja.Status.BuildStarted
809 (*Status_BuildFinished)(nil), // 4: ninja.Status.BuildFinished
810 (*Status_EdgeStarted)(nil), // 5: ninja.Status.EdgeStarted
811 (*Status_EdgeFinished)(nil), // 6: ninja.Status.EdgeFinished
812 (*Status_Message)(nil), // 7: ninja.Status.Message
813}
814var file_frontend_proto_depIdxs = []int32{
815 2, // 0: ninja.Status.total_edges:type_name -> ninja.Status.TotalEdges
816 3, // 1: ninja.Status.build_started:type_name -> ninja.Status.BuildStarted
817 4, // 2: ninja.Status.build_finished:type_name -> ninja.Status.BuildFinished
818 5, // 3: ninja.Status.edge_started:type_name -> ninja.Status.EdgeStarted
819 6, // 4: ninja.Status.edge_finished:type_name -> ninja.Status.EdgeFinished
820 7, // 5: ninja.Status.message:type_name -> ninja.Status.Message
821 0, // 6: ninja.Status.Message.level:type_name -> ninja.Status.Message.Level
822 7, // [7:7] is the sub-list for method output_type
823 7, // [7:7] is the sub-list for method input_type
824 7, // [7:7] is the sub-list for extension type_name
825 7, // [7:7] is the sub-list for extension extendee
826 0, // [0:7] is the sub-list for field type_name
827}
828
829func init() { file_frontend_proto_init() }
830func file_frontend_proto_init() {
831 if File_frontend_proto != nil {
832 return
833 }
834 if !protoimpl.UnsafeEnabled {
835 file_frontend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
836 switch v := v.(*Status); 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[1].Exporter = func(v interface{}, i int) interface{} {
848 switch v := v.(*Status_TotalEdges); 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[2].Exporter = func(v interface{}, i int) interface{} {
860 switch v := v.(*Status_BuildStarted); 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 file_frontend_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
872 switch v := v.(*Status_BuildFinished); i {
873 case 0:
874 return &v.state
875 case 1:
876 return &v.sizeCache
877 case 2:
878 return &v.unknownFields
879 default:
880 return nil
881 }
882 }
883 file_frontend_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
884 switch v := v.(*Status_EdgeStarted); i {
885 case 0:
886 return &v.state
887 case 1:
888 return &v.sizeCache
889 case 2:
890 return &v.unknownFields
891 default:
892 return nil
893 }
894 }
895 file_frontend_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
896 switch v := v.(*Status_EdgeFinished); i {
897 case 0:
898 return &v.state
899 case 1:
900 return &v.sizeCache
901 case 2:
902 return &v.unknownFields
903 default:
904 return nil
905 }
906 }
907 file_frontend_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
908 switch v := v.(*Status_Message); i {
909 case 0:
910 return &v.state
911 case 1:
912 return &v.sizeCache
913 case 2:
914 return &v.unknownFields
915 default:
916 return nil
917 }
918 }
919 }
920 type x struct{}
921 out := protoimpl.TypeBuilder{
922 File: protoimpl.DescBuilder{
923 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
924 RawDescriptor: file_frontend_proto_rawDesc,
925 NumEnums: 1,
926 NumMessages: 7,
927 NumExtensions: 0,
928 NumServices: 0,
929 },
930 GoTypes: file_frontend_proto_goTypes,
931 DependencyIndexes: file_frontend_proto_depIdxs,
932 EnumInfos: file_frontend_proto_enumTypes,
933 MessageInfos: file_frontend_proto_msgTypes,
934 }.Build()
935 File_frontend_proto = out.File
936 file_frontend_proto_rawDesc = nil
937 file_frontend_proto_goTypes = nil
938 file_frontend_proto_depIdxs = nil
Dan Willemsenb82471a2018-05-17 16:37:09 -0700939}