blob: bcadc67e764490885be787daa5c35e54fb172b4e [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:
17// protoc-gen-go v1.26.0
18// protoc v3.9.1
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"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700243}
244
Dan Willemsen4591b642021-05-24 14:24:12 -0700245func (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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700273func (*Status_BuildStarted) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700274 return file_frontend_proto_rawDescGZIP(), []int{0, 1}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700275}
Dan Willemsen08218222020-05-18 14:02:02 -0700276
Dan Willemsen4591b642021-05-24 14:24:12 -0700277func (x *Status_BuildStarted) GetParallelism() uint32 {
278 if x != nil && x.Parallelism != nil {
279 return *x.Parallelism
Dan Willemsenb82471a2018-05-17 16:37:09 -0700280 }
281 return 0
282}
283
Dan Willemsen4591b642021-05-24 14:24:12 -0700284func (x *Status_BuildStarted) GetVerbose() bool {
285 if x != nil && x.Verbose != nil {
286 return *x.Verbose
Dan Willemsenb82471a2018-05-17 16:37:09 -0700287 }
288 return false
289}
290
291type Status_BuildFinished struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700292 state protoimpl.MessageState
293 sizeCache protoimpl.SizeCache
294 unknownFields protoimpl.UnknownFields
Dan Willemsenb82471a2018-05-17 16:37:09 -0700295}
296
Dan Willemsen4591b642021-05-24 14:24:12 -0700297func (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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700325func (*Status_BuildFinished) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700326 return file_frontend_proto_rawDescGZIP(), []int{0, 2}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700327}
Dan Willemsen08218222020-05-18 14:02:02 -0700328
Dan Willemsenb82471a2018-05-17 16:37:09 -0700329type Status_EdgeStarted struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700330 state protoimpl.MessageState
331 sizeCache protoimpl.SizeCache
332 unknownFields protoimpl.UnknownFields
333
Dan Willemsenb82471a2018-05-17 16:37:09 -0700334 // 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.
Dan Willemsen4591b642021-05-24 14:24:12 -0700347 Console *bool `protobuf:"varint,7,opt,name=console" json:"console,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700348}
349
Dan Willemsen4591b642021-05-24 14:24:12 -0700350func (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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700378func (*Status_EdgeStarted) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700379 return file_frontend_proto_rawDescGZIP(), []int{0, 3}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700380}
Dan Willemsen08218222020-05-18 14:02:02 -0700381
Dan Willemsen4591b642021-05-24 14:24:12 -0700382func (x *Status_EdgeStarted) GetId() uint32 {
383 if x != nil && x.Id != nil {
384 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700385 }
386 return 0
387}
388
Dan Willemsen4591b642021-05-24 14:24:12 -0700389func (x *Status_EdgeStarted) GetStartTime() uint32 {
390 if x != nil && x.StartTime != nil {
391 return *x.StartTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700392 }
393 return 0
394}
395
Dan Willemsen4591b642021-05-24 14:24:12 -0700396func (x *Status_EdgeStarted) GetInputs() []string {
397 if x != nil {
398 return x.Inputs
Dan Willemsenb82471a2018-05-17 16:37:09 -0700399 }
400 return nil
401}
402
Dan Willemsen4591b642021-05-24 14:24:12 -0700403func (x *Status_EdgeStarted) GetOutputs() []string {
404 if x != nil {
405 return x.Outputs
Dan Willemsenb82471a2018-05-17 16:37:09 -0700406 }
407 return nil
408}
409
Dan Willemsen4591b642021-05-24 14:24:12 -0700410func (x *Status_EdgeStarted) GetDesc() string {
411 if x != nil && x.Desc != nil {
412 return *x.Desc
Dan Willemsenb82471a2018-05-17 16:37:09 -0700413 }
414 return ""
415}
416
Dan Willemsen4591b642021-05-24 14:24:12 -0700417func (x *Status_EdgeStarted) GetCommand() string {
418 if x != nil && x.Command != nil {
419 return *x.Command
Dan Willemsenb82471a2018-05-17 16:37:09 -0700420 }
421 return ""
422}
423
Dan Willemsen4591b642021-05-24 14:24:12 -0700424func (x *Status_EdgeStarted) GetConsole() bool {
425 if x != nil && x.Console != nil {
426 return *x.Console
Dan Willemsenb82471a2018-05-17 16:37:09 -0700427 }
428 return false
429}
430
431type Status_EdgeFinished struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700432 state protoimpl.MessageState
433 sizeCache protoimpl.SizeCache
434 unknownFields protoimpl.UnknownFields
435
Dan Willemsenb82471a2018-05-17 16:37:09 -0700436 // 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.
Dan Willemsen08218222020-05-18 14:02:02 -0700443 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
Colin Crossd888b6b2020-10-15 13:46:32 -0700447 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
Dan Willemsen4591b642021-05-24 14:24:12 -0700461 InvoluntaryContextSwitches *uint64 `protobuf:"varint,13,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700462}
463
Dan Willemsen4591b642021-05-24 14:24:12 -0700464func (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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700492func (*Status_EdgeFinished) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700493 return file_frontend_proto_rawDescGZIP(), []int{0, 4}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700494}
Dan Willemsen08218222020-05-18 14:02:02 -0700495
Dan Willemsen4591b642021-05-24 14:24:12 -0700496func (x *Status_EdgeFinished) GetId() uint32 {
497 if x != nil && x.Id != nil {
498 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700499 }
500 return 0
501}
502
Dan Willemsen4591b642021-05-24 14:24:12 -0700503func (x *Status_EdgeFinished) GetEndTime() uint32 {
504 if x != nil && x.EndTime != nil {
505 return *x.EndTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700506 }
507 return 0
508}
509
Dan Willemsen4591b642021-05-24 14:24:12 -0700510func (x *Status_EdgeFinished) GetStatus() int32 {
511 if x != nil && x.Status != nil {
512 return *x.Status
Dan Willemsenb82471a2018-05-17 16:37:09 -0700513 }
514 return 0
515}
516
Dan Willemsen4591b642021-05-24 14:24:12 -0700517func (x *Status_EdgeFinished) GetOutput() string {
518 if x != nil && x.Output != nil {
519 return *x.Output
Dan Willemsenb82471a2018-05-17 16:37:09 -0700520 }
521 return ""
522}
523
Dan Willemsen4591b642021-05-24 14:24:12 -0700524func (x *Status_EdgeFinished) GetUserTime() uint32 {
525 if x != nil && x.UserTime != nil {
526 return *x.UserTime
Dan Willemsen08218222020-05-18 14:02:02 -0700527 }
528 return 0
529}
530
Dan Willemsen4591b642021-05-24 14:24:12 -0700531func (x *Status_EdgeFinished) GetSystemTime() uint32 {
532 if x != nil && x.SystemTime != nil {
533 return *x.SystemTime
Dan Willemsen08218222020-05-18 14:02:02 -0700534 }
535 return 0
536}
537
Dan Willemsen4591b642021-05-24 14:24:12 -0700538func (x *Status_EdgeFinished) GetMaxRssKb() uint64 {
539 if x != nil && x.MaxRssKb != nil {
540 return *x.MaxRssKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700541 }
542 return 0
543}
544
Dan Willemsen4591b642021-05-24 14:24:12 -0700545func (x *Status_EdgeFinished) GetMinorPageFaults() uint64 {
546 if x != nil && x.MinorPageFaults != nil {
547 return *x.MinorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700548 }
549 return 0
550}
551
Dan Willemsen4591b642021-05-24 14:24:12 -0700552func (x *Status_EdgeFinished) GetMajorPageFaults() uint64 {
553 if x != nil && x.MajorPageFaults != nil {
554 return *x.MajorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700555 }
556 return 0
557}
558
Dan Willemsen4591b642021-05-24 14:24:12 -0700559func (x *Status_EdgeFinished) GetIoInputKb() uint64 {
560 if x != nil && x.IoInputKb != nil {
561 return *x.IoInputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700562 }
563 return 0
564}
565
Dan Willemsen4591b642021-05-24 14:24:12 -0700566func (x *Status_EdgeFinished) GetIoOutputKb() uint64 {
567 if x != nil && x.IoOutputKb != nil {
568 return *x.IoOutputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700569 }
570 return 0
571}
572
Dan Willemsen4591b642021-05-24 14:24:12 -0700573func (x *Status_EdgeFinished) GetVoluntaryContextSwitches() uint64 {
574 if x != nil && x.VoluntaryContextSwitches != nil {
575 return *x.VoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700576 }
577 return 0
578}
579
Dan Willemsen4591b642021-05-24 14:24:12 -0700580func (x *Status_EdgeFinished) GetInvoluntaryContextSwitches() uint64 {
581 if x != nil && x.InvoluntaryContextSwitches != nil {
582 return *x.InvoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700583 }
584 return 0
585}
586
Dan Willemsenb82471a2018-05-17 16:37:09 -0700587type Status_Message struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700588 state protoimpl.MessageState
589 sizeCache protoimpl.SizeCache
590 unknownFields protoimpl.UnknownFields
591
Dan Willemsen08218222020-05-18 14:02:02 -0700592 // Message priority level (DEBUG, INFO, WARNING, ERROR).
Dan Willemsenb82471a2018-05-17 16:37:09 -0700593 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.
Dan Willemsen4591b642021-05-24 14:24:12 -0700595 Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700596}
597
Dan Willemsen4591b642021-05-24 14:24:12 -0700598// 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.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700631func (*Status_Message) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700632 return file_frontend_proto_rawDescGZIP(), []int{0, 5}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700633}
Dan Willemsen08218222020-05-18 14:02:02 -0700634
Dan Willemsen4591b642021-05-24 14:24:12 -0700635func (x *Status_Message) GetLevel() Status_Message_Level {
636 if x != nil && x.Level != nil {
637 return *x.Level
Dan Willemsenb82471a2018-05-17 16:37:09 -0700638 }
639 return Default_Status_Message_Level
640}
641
Dan Willemsen4591b642021-05-24 14:24:12 -0700642func (x *Status_Message) GetMessage() string {
643 if x != nil && x.Message != nil {
644 return *x.Message
Dan Willemsenb82471a2018-05-17 16:37:09 -0700645 }
646 return ""
647}
648
Dan Willemsen4591b642021-05-24 14:24:12 -0700649var 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,
Dan Willemsenb82471a2018-05-17 16:37:09 -0700740}
741
Dan Willemsen4591b642021-05-24 14:24:12 -0700742var (
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
Dan Willemsen08218222020-05-18 14:02:02 -0700752}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700753
Dan Willemsen4591b642021-05-24 14:24:12 -0700754var 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
Dan Willemsenb82471a2018-05-17 16:37:09 -0700891}