blob: d0c49533a8cee61914ee7e75582744f02f4679e8 [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:
Dan Alberte82234e2023-06-01 23:09:38 +000017// protoc-gen-go v1.28.1
18// 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"`
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 Alberte82234e2023-06-01 23:09:38 +0000462 // Arbitrary tags for build system profiling (module names and types, rule
463 // names, etc). Format of the string is implementation defined.
464 Tags *string `protobuf:"bytes,14,opt,name=tags" json:"tags,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700465}
466
Dan Willemsen4591b642021-05-24 14:24:12 -0700467func (x *Status_EdgeFinished) Reset() {
468 *x = Status_EdgeFinished{}
469 if protoimpl.UnsafeEnabled {
470 mi := &file_frontend_proto_msgTypes[5]
471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
472 ms.StoreMessageInfo(mi)
473 }
474}
475
476func (x *Status_EdgeFinished) String() string {
477 return protoimpl.X.MessageStringOf(x)
478}
479
480func (*Status_EdgeFinished) ProtoMessage() {}
481
482func (x *Status_EdgeFinished) ProtoReflect() protoreflect.Message {
483 mi := &file_frontend_proto_msgTypes[5]
484 if protoimpl.UnsafeEnabled && x != nil {
485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
486 if ms.LoadMessageInfo() == nil {
487 ms.StoreMessageInfo(mi)
488 }
489 return ms
490 }
491 return mi.MessageOf(x)
492}
493
494// Deprecated: Use Status_EdgeFinished.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700495func (*Status_EdgeFinished) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700496 return file_frontend_proto_rawDescGZIP(), []int{0, 4}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700497}
Dan Willemsen08218222020-05-18 14:02:02 -0700498
Dan Willemsen4591b642021-05-24 14:24:12 -0700499func (x *Status_EdgeFinished) GetId() uint32 {
500 if x != nil && x.Id != nil {
501 return *x.Id
Dan Willemsenb82471a2018-05-17 16:37:09 -0700502 }
503 return 0
504}
505
Dan Willemsen4591b642021-05-24 14:24:12 -0700506func (x *Status_EdgeFinished) GetEndTime() uint32 {
507 if x != nil && x.EndTime != nil {
508 return *x.EndTime
Dan Willemsenb82471a2018-05-17 16:37:09 -0700509 }
510 return 0
511}
512
Dan Willemsen4591b642021-05-24 14:24:12 -0700513func (x *Status_EdgeFinished) GetStatus() int32 {
514 if x != nil && x.Status != nil {
515 return *x.Status
Dan Willemsenb82471a2018-05-17 16:37:09 -0700516 }
517 return 0
518}
519
Dan Willemsen4591b642021-05-24 14:24:12 -0700520func (x *Status_EdgeFinished) GetOutput() string {
521 if x != nil && x.Output != nil {
522 return *x.Output
Dan Willemsenb82471a2018-05-17 16:37:09 -0700523 }
524 return ""
525}
526
Dan Willemsen4591b642021-05-24 14:24:12 -0700527func (x *Status_EdgeFinished) GetUserTime() uint32 {
528 if x != nil && x.UserTime != nil {
529 return *x.UserTime
Dan Willemsen08218222020-05-18 14:02:02 -0700530 }
531 return 0
532}
533
Dan Willemsen4591b642021-05-24 14:24:12 -0700534func (x *Status_EdgeFinished) GetSystemTime() uint32 {
535 if x != nil && x.SystemTime != nil {
536 return *x.SystemTime
Dan Willemsen08218222020-05-18 14:02:02 -0700537 }
538 return 0
539}
540
Dan Willemsen4591b642021-05-24 14:24:12 -0700541func (x *Status_EdgeFinished) GetMaxRssKb() uint64 {
542 if x != nil && x.MaxRssKb != nil {
543 return *x.MaxRssKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700544 }
545 return 0
546}
547
Dan Willemsen4591b642021-05-24 14:24:12 -0700548func (x *Status_EdgeFinished) GetMinorPageFaults() uint64 {
549 if x != nil && x.MinorPageFaults != nil {
550 return *x.MinorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700551 }
552 return 0
553}
554
Dan Willemsen4591b642021-05-24 14:24:12 -0700555func (x *Status_EdgeFinished) GetMajorPageFaults() uint64 {
556 if x != nil && x.MajorPageFaults != nil {
557 return *x.MajorPageFaults
Colin Crossd888b6b2020-10-15 13:46:32 -0700558 }
559 return 0
560}
561
Dan Willemsen4591b642021-05-24 14:24:12 -0700562func (x *Status_EdgeFinished) GetIoInputKb() uint64 {
563 if x != nil && x.IoInputKb != nil {
564 return *x.IoInputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700565 }
566 return 0
567}
568
Dan Willemsen4591b642021-05-24 14:24:12 -0700569func (x *Status_EdgeFinished) GetIoOutputKb() uint64 {
570 if x != nil && x.IoOutputKb != nil {
571 return *x.IoOutputKb
Colin Crossd888b6b2020-10-15 13:46:32 -0700572 }
573 return 0
574}
575
Dan Willemsen4591b642021-05-24 14:24:12 -0700576func (x *Status_EdgeFinished) GetVoluntaryContextSwitches() uint64 {
577 if x != nil && x.VoluntaryContextSwitches != nil {
578 return *x.VoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700579 }
580 return 0
581}
582
Dan Willemsen4591b642021-05-24 14:24:12 -0700583func (x *Status_EdgeFinished) GetInvoluntaryContextSwitches() uint64 {
584 if x != nil && x.InvoluntaryContextSwitches != nil {
585 return *x.InvoluntaryContextSwitches
Colin Crossd888b6b2020-10-15 13:46:32 -0700586 }
587 return 0
588}
589
Dan Alberte82234e2023-06-01 23:09:38 +0000590func (x *Status_EdgeFinished) GetTags() string {
591 if x != nil && x.Tags != nil {
592 return *x.Tags
593 }
594 return ""
595}
596
Dan Willemsenb82471a2018-05-17 16:37:09 -0700597type Status_Message struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700598 state protoimpl.MessageState
599 sizeCache protoimpl.SizeCache
600 unknownFields protoimpl.UnknownFields
601
Dan Willemsen08218222020-05-18 14:02:02 -0700602 // Message priority level (DEBUG, INFO, WARNING, ERROR).
Dan Willemsenb82471a2018-05-17 16:37:09 -0700603 Level *Status_Message_Level `protobuf:"varint,1,opt,name=level,enum=ninja.Status_Message_Level,def=0" json:"level,omitempty"`
604 // Info/warning/error message from Ninja.
Dan Willemsen4591b642021-05-24 14:24:12 -0700605 Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Dan Willemsenb82471a2018-05-17 16:37:09 -0700606}
607
Dan Willemsen4591b642021-05-24 14:24:12 -0700608// Default values for Status_Message fields.
609const (
610 Default_Status_Message_Level = Status_Message_INFO
611)
612
613func (x *Status_Message) Reset() {
614 *x = Status_Message{}
615 if protoimpl.UnsafeEnabled {
616 mi := &file_frontend_proto_msgTypes[6]
617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
618 ms.StoreMessageInfo(mi)
619 }
620}
621
622func (x *Status_Message) String() string {
623 return protoimpl.X.MessageStringOf(x)
624}
625
626func (*Status_Message) ProtoMessage() {}
627
628func (x *Status_Message) ProtoReflect() protoreflect.Message {
629 mi := &file_frontend_proto_msgTypes[6]
630 if protoimpl.UnsafeEnabled && x != nil {
631 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
632 if ms.LoadMessageInfo() == nil {
633 ms.StoreMessageInfo(mi)
634 }
635 return ms
636 }
637 return mi.MessageOf(x)
638}
639
640// Deprecated: Use Status_Message.ProtoReflect.Descriptor instead.
Dan Willemsenb82471a2018-05-17 16:37:09 -0700641func (*Status_Message) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700642 return file_frontend_proto_rawDescGZIP(), []int{0, 5}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700643}
Dan Willemsen08218222020-05-18 14:02:02 -0700644
Dan Willemsen4591b642021-05-24 14:24:12 -0700645func (x *Status_Message) GetLevel() Status_Message_Level {
646 if x != nil && x.Level != nil {
647 return *x.Level
Dan Willemsenb82471a2018-05-17 16:37:09 -0700648 }
649 return Default_Status_Message_Level
650}
651
Dan Willemsen4591b642021-05-24 14:24:12 -0700652func (x *Status_Message) GetMessage() string {
653 if x != nil && x.Message != nil {
654 return *x.Message
Dan Willemsenb82471a2018-05-17 16:37:09 -0700655 }
656 return ""
657}
658
Dan Willemsen4591b642021-05-24 14:24:12 -0700659var File_frontend_proto protoreflect.FileDescriptor
660
661var file_frontend_proto_rawDesc = []byte{
662 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
Dan Alberte82234e2023-06-01 23:09:38 +0000663 0x12, 0x05, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x22, 0xc8, 0x0a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
Dan Willemsen4591b642021-05-24 14:24:12 -0700664 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65,
665 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e,
666 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65,
667 0x73, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a,
668 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02,
669 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61,
670 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
671 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x42,
672 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
673 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53,
674 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73,
675 0x68, 0x65, 0x64, 0x52, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
676 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74,
677 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61,
678 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72,
679 0x74, 0x65, 0x64, 0x52, 0x0b, 0x65, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
680 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
681 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e,
682 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73,
683 0x68, 0x65, 0x64, 0x52, 0x0c, 0x65, 0x64, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
684 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01,
685 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
686 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
687 0x67, 0x65, 0x1a, 0x2d, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x73,
688 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18,
689 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x64, 0x67, 0x65,
690 0x73, 0x1a, 0x4a, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65,
691 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d,
692 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c,
693 0x69, 0x73, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x02,
694 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x1a, 0x0f, 0x0a,
695 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x1a, 0xb6,
696 0x01, 0x0a, 0x0b, 0x45, 0x64, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x0e,
697 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d,
698 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
699 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a,
700 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x69,
701 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73,
702 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12,
703 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64,
704 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x06,
705 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x18, 0x0a,
706 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
Dan Alberte82234e2023-06-01 23:09:38 +0000707 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x1a, 0xf3, 0x03, 0x0a, 0x0c, 0x45, 0x64, 0x67, 0x65,
Dan Willemsen4591b642021-05-24 14:24:12 -0700708 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
709 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f,
710 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
711 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20,
712 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f,
713 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74,
714 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65,
715 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65,
716 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
717 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d,
718 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x73, 0x73, 0x5f, 0x6b, 0x62, 0x18,
719 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x52, 0x73, 0x73, 0x4b, 0x62, 0x12,
720 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61,
721 0x75, 0x6c, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f,
722 0x72, 0x50, 0x61, 0x67, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d,
723 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73,
724 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x50, 0x61, 0x67,
725 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x69, 0x6e,
726 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6f,
727 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6f, 0x5f, 0x6f, 0x75,
728 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6b, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x69,
729 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4b, 0x62, 0x12, 0x3c, 0x0a, 0x1a, 0x76, 0x6f, 0x6c,
730 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73,
731 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x18, 0x76,
732 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53,
733 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x76, 0x6f, 0x6c,
734 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73,
735 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x69,
736 0x6e, 0x76, 0x6f, 0x6c, 0x75, 0x6e, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
Dan Alberte82234e2023-06-01 23:09:38 +0000737 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67,
738 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x92, 0x01,
739 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6c, 0x65, 0x76,
740 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x69, 0x6e, 0x6a, 0x61,
741 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
742 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x52, 0x05, 0x6c, 0x65, 0x76,
743 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
744 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x34, 0x0a, 0x05,
745 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, 0x12,
746 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
747 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47,
748 0x10, 0x03, 0x42, 0x2a, 0x48, 0x03, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f,
749 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f,
750 0x6e, 0x69, 0x6e, 0x6a, 0x61, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64,
Dan Willemsenb82471a2018-05-17 16:37:09 -0700751}
752
Dan Willemsen4591b642021-05-24 14:24:12 -0700753var (
754 file_frontend_proto_rawDescOnce sync.Once
755 file_frontend_proto_rawDescData = file_frontend_proto_rawDesc
756)
757
758func file_frontend_proto_rawDescGZIP() []byte {
759 file_frontend_proto_rawDescOnce.Do(func() {
760 file_frontend_proto_rawDescData = protoimpl.X.CompressGZIP(file_frontend_proto_rawDescData)
761 })
762 return file_frontend_proto_rawDescData
Dan Willemsen08218222020-05-18 14:02:02 -0700763}
Dan Willemsenb82471a2018-05-17 16:37:09 -0700764
Dan Willemsen4591b642021-05-24 14:24:12 -0700765var file_frontend_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
766var file_frontend_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
767var file_frontend_proto_goTypes = []interface{}{
768 (Status_Message_Level)(0), // 0: ninja.Status.Message.Level
769 (*Status)(nil), // 1: ninja.Status
770 (*Status_TotalEdges)(nil), // 2: ninja.Status.TotalEdges
771 (*Status_BuildStarted)(nil), // 3: ninja.Status.BuildStarted
772 (*Status_BuildFinished)(nil), // 4: ninja.Status.BuildFinished
773 (*Status_EdgeStarted)(nil), // 5: ninja.Status.EdgeStarted
774 (*Status_EdgeFinished)(nil), // 6: ninja.Status.EdgeFinished
775 (*Status_Message)(nil), // 7: ninja.Status.Message
776}
777var file_frontend_proto_depIdxs = []int32{
778 2, // 0: ninja.Status.total_edges:type_name -> ninja.Status.TotalEdges
779 3, // 1: ninja.Status.build_started:type_name -> ninja.Status.BuildStarted
780 4, // 2: ninja.Status.build_finished:type_name -> ninja.Status.BuildFinished
781 5, // 3: ninja.Status.edge_started:type_name -> ninja.Status.EdgeStarted
782 6, // 4: ninja.Status.edge_finished:type_name -> ninja.Status.EdgeFinished
783 7, // 5: ninja.Status.message:type_name -> ninja.Status.Message
784 0, // 6: ninja.Status.Message.level:type_name -> ninja.Status.Message.Level
785 7, // [7:7] is the sub-list for method output_type
786 7, // [7:7] is the sub-list for method input_type
787 7, // [7:7] is the sub-list for extension type_name
788 7, // [7:7] is the sub-list for extension extendee
789 0, // [0:7] is the sub-list for field type_name
790}
791
792func init() { file_frontend_proto_init() }
793func file_frontend_proto_init() {
794 if File_frontend_proto != nil {
795 return
796 }
797 if !protoimpl.UnsafeEnabled {
798 file_frontend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
799 switch v := v.(*Status); i {
800 case 0:
801 return &v.state
802 case 1:
803 return &v.sizeCache
804 case 2:
805 return &v.unknownFields
806 default:
807 return nil
808 }
809 }
810 file_frontend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
811 switch v := v.(*Status_TotalEdges); i {
812 case 0:
813 return &v.state
814 case 1:
815 return &v.sizeCache
816 case 2:
817 return &v.unknownFields
818 default:
819 return nil
820 }
821 }
822 file_frontend_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
823 switch v := v.(*Status_BuildStarted); 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[3].Exporter = func(v interface{}, i int) interface{} {
835 switch v := v.(*Status_BuildFinished); 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[4].Exporter = func(v interface{}, i int) interface{} {
847 switch v := v.(*Status_EdgeStarted); 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[5].Exporter = func(v interface{}, i int) interface{} {
859 switch v := v.(*Status_EdgeFinished); 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[6].Exporter = func(v interface{}, i int) interface{} {
871 switch v := v.(*Status_Message); 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 }
883 type x struct{}
884 out := protoimpl.TypeBuilder{
885 File: protoimpl.DescBuilder{
886 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
887 RawDescriptor: file_frontend_proto_rawDesc,
888 NumEnums: 1,
889 NumMessages: 7,
890 NumExtensions: 0,
891 NumServices: 0,
892 },
893 GoTypes: file_frontend_proto_goTypes,
894 DependencyIndexes: file_frontend_proto_depIdxs,
895 EnumInfos: file_frontend_proto_enumTypes,
896 MessageInfos: file_frontend_proto_msgTypes,
897 }.Build()
898 File_frontend_proto = out.File
899 file_frontend_proto_rawDesc = nil
900 file_frontend_proto_goTypes = nil
901 file_frontend_proto_depIdxs = nil
Dan Willemsenb82471a2018-05-17 16:37:09 -0700902}