Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: frontend.proto |
| 3 | |
| 4 | package ninja_frontend |
| 5 | |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 22 | |
| 23 | type Status_Message_Level int32 |
| 24 | |
| 25 | const ( |
| 26 | Status_Message_INFO Status_Message_Level = 0 |
| 27 | Status_Message_WARNING Status_Message_Level = 1 |
| 28 | Status_Message_ERROR Status_Message_Level = 2 |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 29 | Status_Message_DEBUG Status_Message_Level = 3 |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 30 | ) |
| 31 | |
| 32 | var Status_Message_Level_name = map[int32]string{ |
| 33 | 0: "INFO", |
| 34 | 1: "WARNING", |
| 35 | 2: "ERROR", |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 36 | 3: "DEBUG", |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 37 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 38 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 39 | var Status_Message_Level_value = map[string]int32{ |
| 40 | "INFO": 0, |
| 41 | "WARNING": 1, |
| 42 | "ERROR": 2, |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 43 | "DEBUG": 3, |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | func (x Status_Message_Level) Enum() *Status_Message_Level { |
| 47 | p := new(Status_Message_Level) |
| 48 | *p = x |
| 49 | return p |
| 50 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 51 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 52 | func (x Status_Message_Level) String() string { |
| 53 | return proto.EnumName(Status_Message_Level_name, int32(x)) |
| 54 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 55 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 56 | func (x *Status_Message_Level) UnmarshalJSON(data []byte) error { |
| 57 | value, err := proto.UnmarshalJSONEnum(Status_Message_Level_value, data, "Status_Message_Level") |
| 58 | if err != nil { |
| 59 | return err |
| 60 | } |
| 61 | *x = Status_Message_Level(value) |
| 62 | return nil |
| 63 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 64 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 65 | func (Status_Message_Level) EnumDescriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 66 | return fileDescriptor_eca3873955a29cfe, []int{0, 5, 0} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | type Status struct { |
| 70 | TotalEdges *Status_TotalEdges `protobuf:"bytes,1,opt,name=total_edges,json=totalEdges" json:"total_edges,omitempty"` |
| 71 | BuildStarted *Status_BuildStarted `protobuf:"bytes,2,opt,name=build_started,json=buildStarted" json:"build_started,omitempty"` |
| 72 | BuildFinished *Status_BuildFinished `protobuf:"bytes,3,opt,name=build_finished,json=buildFinished" json:"build_finished,omitempty"` |
| 73 | EdgeStarted *Status_EdgeStarted `protobuf:"bytes,4,opt,name=edge_started,json=edgeStarted" json:"edge_started,omitempty"` |
| 74 | EdgeFinished *Status_EdgeFinished `protobuf:"bytes,5,opt,name=edge_finished,json=edgeFinished" json:"edge_finished,omitempty"` |
| 75 | Message *Status_Message `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` |
| 76 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 77 | XXX_unrecognized []byte `json:"-"` |
| 78 | XXX_sizecache int32 `json:"-"` |
| 79 | } |
| 80 | |
| 81 | func (m *Status) Reset() { *m = Status{} } |
| 82 | func (m *Status) String() string { return proto.CompactTextString(m) } |
| 83 | func (*Status) ProtoMessage() {} |
| 84 | func (*Status) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 85 | return fileDescriptor_eca3873955a29cfe, []int{0} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 86 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 87 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 88 | func (m *Status) XXX_Unmarshal(b []byte) error { |
| 89 | return xxx_messageInfo_Status.Unmarshal(m, b) |
| 90 | } |
| 91 | func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 92 | return xxx_messageInfo_Status.Marshal(b, m, deterministic) |
| 93 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 94 | func (m *Status) XXX_Merge(src proto.Message) { |
| 95 | xxx_messageInfo_Status.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 96 | } |
| 97 | func (m *Status) XXX_Size() int { |
| 98 | return xxx_messageInfo_Status.Size(m) |
| 99 | } |
| 100 | func (m *Status) XXX_DiscardUnknown() { |
| 101 | xxx_messageInfo_Status.DiscardUnknown(m) |
| 102 | } |
| 103 | |
| 104 | var xxx_messageInfo_Status proto.InternalMessageInfo |
| 105 | |
| 106 | func (m *Status) GetTotalEdges() *Status_TotalEdges { |
| 107 | if m != nil { |
| 108 | return m.TotalEdges |
| 109 | } |
| 110 | return nil |
| 111 | } |
| 112 | |
| 113 | func (m *Status) GetBuildStarted() *Status_BuildStarted { |
| 114 | if m != nil { |
| 115 | return m.BuildStarted |
| 116 | } |
| 117 | return nil |
| 118 | } |
| 119 | |
| 120 | func (m *Status) GetBuildFinished() *Status_BuildFinished { |
| 121 | if m != nil { |
| 122 | return m.BuildFinished |
| 123 | } |
| 124 | return nil |
| 125 | } |
| 126 | |
| 127 | func (m *Status) GetEdgeStarted() *Status_EdgeStarted { |
| 128 | if m != nil { |
| 129 | return m.EdgeStarted |
| 130 | } |
| 131 | return nil |
| 132 | } |
| 133 | |
| 134 | func (m *Status) GetEdgeFinished() *Status_EdgeFinished { |
| 135 | if m != nil { |
| 136 | return m.EdgeFinished |
| 137 | } |
| 138 | return nil |
| 139 | } |
| 140 | |
| 141 | func (m *Status) GetMessage() *Status_Message { |
| 142 | if m != nil { |
| 143 | return m.Message |
| 144 | } |
| 145 | return nil |
| 146 | } |
| 147 | |
| 148 | type Status_TotalEdges struct { |
| 149 | // New value for total edges in the build. |
| 150 | TotalEdges *uint32 `protobuf:"varint,1,opt,name=total_edges,json=totalEdges" json:"total_edges,omitempty"` |
| 151 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 152 | XXX_unrecognized []byte `json:"-"` |
| 153 | XXX_sizecache int32 `json:"-"` |
| 154 | } |
| 155 | |
| 156 | func (m *Status_TotalEdges) Reset() { *m = Status_TotalEdges{} } |
| 157 | func (m *Status_TotalEdges) String() string { return proto.CompactTextString(m) } |
| 158 | func (*Status_TotalEdges) ProtoMessage() {} |
| 159 | func (*Status_TotalEdges) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 160 | return fileDescriptor_eca3873955a29cfe, []int{0, 0} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 161 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 162 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 163 | func (m *Status_TotalEdges) XXX_Unmarshal(b []byte) error { |
| 164 | return xxx_messageInfo_Status_TotalEdges.Unmarshal(m, b) |
| 165 | } |
| 166 | func (m *Status_TotalEdges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 167 | return xxx_messageInfo_Status_TotalEdges.Marshal(b, m, deterministic) |
| 168 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 169 | func (m *Status_TotalEdges) XXX_Merge(src proto.Message) { |
| 170 | xxx_messageInfo_Status_TotalEdges.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 171 | } |
| 172 | func (m *Status_TotalEdges) XXX_Size() int { |
| 173 | return xxx_messageInfo_Status_TotalEdges.Size(m) |
| 174 | } |
| 175 | func (m *Status_TotalEdges) XXX_DiscardUnknown() { |
| 176 | xxx_messageInfo_Status_TotalEdges.DiscardUnknown(m) |
| 177 | } |
| 178 | |
| 179 | var xxx_messageInfo_Status_TotalEdges proto.InternalMessageInfo |
| 180 | |
| 181 | func (m *Status_TotalEdges) GetTotalEdges() uint32 { |
| 182 | if m != nil && m.TotalEdges != nil { |
| 183 | return *m.TotalEdges |
| 184 | } |
| 185 | return 0 |
| 186 | } |
| 187 | |
| 188 | type Status_BuildStarted struct { |
| 189 | // Number of jobs Ninja will run in parallel. |
| 190 | Parallelism *uint32 `protobuf:"varint,1,opt,name=parallelism" json:"parallelism,omitempty"` |
| 191 | // Verbose value passed to ninja. |
| 192 | Verbose *bool `protobuf:"varint,2,opt,name=verbose" json:"verbose,omitempty"` |
| 193 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 194 | XXX_unrecognized []byte `json:"-"` |
| 195 | XXX_sizecache int32 `json:"-"` |
| 196 | } |
| 197 | |
| 198 | func (m *Status_BuildStarted) Reset() { *m = Status_BuildStarted{} } |
| 199 | func (m *Status_BuildStarted) String() string { return proto.CompactTextString(m) } |
| 200 | func (*Status_BuildStarted) ProtoMessage() {} |
| 201 | func (*Status_BuildStarted) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 202 | return fileDescriptor_eca3873955a29cfe, []int{0, 1} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 203 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 204 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 205 | func (m *Status_BuildStarted) XXX_Unmarshal(b []byte) error { |
| 206 | return xxx_messageInfo_Status_BuildStarted.Unmarshal(m, b) |
| 207 | } |
| 208 | func (m *Status_BuildStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 209 | return xxx_messageInfo_Status_BuildStarted.Marshal(b, m, deterministic) |
| 210 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 211 | func (m *Status_BuildStarted) XXX_Merge(src proto.Message) { |
| 212 | xxx_messageInfo_Status_BuildStarted.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 213 | } |
| 214 | func (m *Status_BuildStarted) XXX_Size() int { |
| 215 | return xxx_messageInfo_Status_BuildStarted.Size(m) |
| 216 | } |
| 217 | func (m *Status_BuildStarted) XXX_DiscardUnknown() { |
| 218 | xxx_messageInfo_Status_BuildStarted.DiscardUnknown(m) |
| 219 | } |
| 220 | |
| 221 | var xxx_messageInfo_Status_BuildStarted proto.InternalMessageInfo |
| 222 | |
| 223 | func (m *Status_BuildStarted) GetParallelism() uint32 { |
| 224 | if m != nil && m.Parallelism != nil { |
| 225 | return *m.Parallelism |
| 226 | } |
| 227 | return 0 |
| 228 | } |
| 229 | |
| 230 | func (m *Status_BuildStarted) GetVerbose() bool { |
| 231 | if m != nil && m.Verbose != nil { |
| 232 | return *m.Verbose |
| 233 | } |
| 234 | return false |
| 235 | } |
| 236 | |
| 237 | type Status_BuildFinished struct { |
| 238 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 239 | XXX_unrecognized []byte `json:"-"` |
| 240 | XXX_sizecache int32 `json:"-"` |
| 241 | } |
| 242 | |
| 243 | func (m *Status_BuildFinished) Reset() { *m = Status_BuildFinished{} } |
| 244 | func (m *Status_BuildFinished) String() string { return proto.CompactTextString(m) } |
| 245 | func (*Status_BuildFinished) ProtoMessage() {} |
| 246 | func (*Status_BuildFinished) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 247 | return fileDescriptor_eca3873955a29cfe, []int{0, 2} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 248 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 249 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 250 | func (m *Status_BuildFinished) XXX_Unmarshal(b []byte) error { |
| 251 | return xxx_messageInfo_Status_BuildFinished.Unmarshal(m, b) |
| 252 | } |
| 253 | func (m *Status_BuildFinished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 254 | return xxx_messageInfo_Status_BuildFinished.Marshal(b, m, deterministic) |
| 255 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 256 | func (m *Status_BuildFinished) XXX_Merge(src proto.Message) { |
| 257 | xxx_messageInfo_Status_BuildFinished.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 258 | } |
| 259 | func (m *Status_BuildFinished) XXX_Size() int { |
| 260 | return xxx_messageInfo_Status_BuildFinished.Size(m) |
| 261 | } |
| 262 | func (m *Status_BuildFinished) XXX_DiscardUnknown() { |
| 263 | xxx_messageInfo_Status_BuildFinished.DiscardUnknown(m) |
| 264 | } |
| 265 | |
| 266 | var xxx_messageInfo_Status_BuildFinished proto.InternalMessageInfo |
| 267 | |
| 268 | type Status_EdgeStarted struct { |
| 269 | // Edge identification number, unique to a Ninja run. |
| 270 | Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| 271 | // Edge start time in milliseconds since Ninja started. |
| 272 | StartTime *uint32 `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"` |
| 273 | // List of edge inputs. |
| 274 | Inputs []string `protobuf:"bytes,3,rep,name=inputs" json:"inputs,omitempty"` |
| 275 | // List of edge outputs. |
| 276 | Outputs []string `protobuf:"bytes,4,rep,name=outputs" json:"outputs,omitempty"` |
| 277 | // Description field from the edge. |
| 278 | Desc *string `protobuf:"bytes,5,opt,name=desc" json:"desc,omitempty"` |
| 279 | // Command field from the edge. |
| 280 | Command *string `protobuf:"bytes,6,opt,name=command" json:"command,omitempty"` |
| 281 | // Edge uses console. |
| 282 | Console *bool `protobuf:"varint,7,opt,name=console" json:"console,omitempty"` |
| 283 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 284 | XXX_unrecognized []byte `json:"-"` |
| 285 | XXX_sizecache int32 `json:"-"` |
| 286 | } |
| 287 | |
| 288 | func (m *Status_EdgeStarted) Reset() { *m = Status_EdgeStarted{} } |
| 289 | func (m *Status_EdgeStarted) String() string { return proto.CompactTextString(m) } |
| 290 | func (*Status_EdgeStarted) ProtoMessage() {} |
| 291 | func (*Status_EdgeStarted) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 292 | return fileDescriptor_eca3873955a29cfe, []int{0, 3} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 293 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 294 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 295 | func (m *Status_EdgeStarted) XXX_Unmarshal(b []byte) error { |
| 296 | return xxx_messageInfo_Status_EdgeStarted.Unmarshal(m, b) |
| 297 | } |
| 298 | func (m *Status_EdgeStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 299 | return xxx_messageInfo_Status_EdgeStarted.Marshal(b, m, deterministic) |
| 300 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 301 | func (m *Status_EdgeStarted) XXX_Merge(src proto.Message) { |
| 302 | xxx_messageInfo_Status_EdgeStarted.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 303 | } |
| 304 | func (m *Status_EdgeStarted) XXX_Size() int { |
| 305 | return xxx_messageInfo_Status_EdgeStarted.Size(m) |
| 306 | } |
| 307 | func (m *Status_EdgeStarted) XXX_DiscardUnknown() { |
| 308 | xxx_messageInfo_Status_EdgeStarted.DiscardUnknown(m) |
| 309 | } |
| 310 | |
| 311 | var xxx_messageInfo_Status_EdgeStarted proto.InternalMessageInfo |
| 312 | |
| 313 | func (m *Status_EdgeStarted) GetId() uint32 { |
| 314 | if m != nil && m.Id != nil { |
| 315 | return *m.Id |
| 316 | } |
| 317 | return 0 |
| 318 | } |
| 319 | |
| 320 | func (m *Status_EdgeStarted) GetStartTime() uint32 { |
| 321 | if m != nil && m.StartTime != nil { |
| 322 | return *m.StartTime |
| 323 | } |
| 324 | return 0 |
| 325 | } |
| 326 | |
| 327 | func (m *Status_EdgeStarted) GetInputs() []string { |
| 328 | if m != nil { |
| 329 | return m.Inputs |
| 330 | } |
| 331 | return nil |
| 332 | } |
| 333 | |
| 334 | func (m *Status_EdgeStarted) GetOutputs() []string { |
| 335 | if m != nil { |
| 336 | return m.Outputs |
| 337 | } |
| 338 | return nil |
| 339 | } |
| 340 | |
| 341 | func (m *Status_EdgeStarted) GetDesc() string { |
| 342 | if m != nil && m.Desc != nil { |
| 343 | return *m.Desc |
| 344 | } |
| 345 | return "" |
| 346 | } |
| 347 | |
| 348 | func (m *Status_EdgeStarted) GetCommand() string { |
| 349 | if m != nil && m.Command != nil { |
| 350 | return *m.Command |
| 351 | } |
| 352 | return "" |
| 353 | } |
| 354 | |
| 355 | func (m *Status_EdgeStarted) GetConsole() bool { |
| 356 | if m != nil && m.Console != nil { |
| 357 | return *m.Console |
| 358 | } |
| 359 | return false |
| 360 | } |
| 361 | |
| 362 | type Status_EdgeFinished struct { |
| 363 | // Edge identification number, unique to a Ninja run. |
| 364 | Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` |
| 365 | // Edge end time in milliseconds since Ninja started. |
| 366 | EndTime *uint32 `protobuf:"varint,2,opt,name=end_time,json=endTime" json:"end_time,omitempty"` |
| 367 | // Exit status (0 for success). |
| 368 | Status *int32 `protobuf:"zigzag32,3,opt,name=status" json:"status,omitempty"` |
| 369 | // Edge output, may contain ANSI codes. |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 370 | Output *string `protobuf:"bytes,4,opt,name=output" json:"output,omitempty"` |
| 371 | // Number of milliseconds spent executing in user mode |
| 372 | UserTime *uint32 `protobuf:"varint,5,opt,name=user_time,json=userTime" json:"user_time,omitempty"` |
| 373 | // Number of milliseconds spent executing in kernel mode |
Colin Cross | d888b6b | 2020-10-15 13:46:32 -0700 | [diff] [blame^] | 374 | SystemTime *uint32 `protobuf:"varint,6,opt,name=system_time,json=systemTime" json:"system_time,omitempty"` |
| 375 | // Max resident set size in kB |
| 376 | MaxRssKb *uint64 `protobuf:"varint,7,opt,name=max_rss_kb,json=maxRssKb" json:"max_rss_kb,omitempty"` |
| 377 | // Minor page faults |
| 378 | MinorPageFaults *uint64 `protobuf:"varint,8,opt,name=minor_page_faults,json=minorPageFaults" json:"minor_page_faults,omitempty"` |
| 379 | // Major page faults |
| 380 | MajorPageFaults *uint64 `protobuf:"varint,9,opt,name=major_page_faults,json=majorPageFaults" json:"major_page_faults,omitempty"` |
| 381 | // IO input in kB |
| 382 | IoInputKb *uint64 `protobuf:"varint,10,opt,name=io_input_kb,json=ioInputKb" json:"io_input_kb,omitempty"` |
| 383 | // IO output in kB |
| 384 | IoOutputKb *uint64 `protobuf:"varint,11,opt,name=io_output_kb,json=ioOutputKb" json:"io_output_kb,omitempty"` |
| 385 | // Voluntary context switches |
| 386 | VoluntaryContextSwitches *uint64 `protobuf:"varint,12,opt,name=voluntary_context_switches,json=voluntaryContextSwitches" json:"voluntary_context_switches,omitempty"` |
| 387 | // Involuntary context switches |
| 388 | InvoluntaryContextSwitches *uint64 `protobuf:"varint,13,opt,name=involuntary_context_switches,json=involuntaryContextSwitches" json:"involuntary_context_switches,omitempty"` |
| 389 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 390 | XXX_unrecognized []byte `json:"-"` |
| 391 | XXX_sizecache int32 `json:"-"` |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 392 | } |
| 393 | |
| 394 | func (m *Status_EdgeFinished) Reset() { *m = Status_EdgeFinished{} } |
| 395 | func (m *Status_EdgeFinished) String() string { return proto.CompactTextString(m) } |
| 396 | func (*Status_EdgeFinished) ProtoMessage() {} |
| 397 | func (*Status_EdgeFinished) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 398 | return fileDescriptor_eca3873955a29cfe, []int{0, 4} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 399 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 400 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 401 | func (m *Status_EdgeFinished) XXX_Unmarshal(b []byte) error { |
| 402 | return xxx_messageInfo_Status_EdgeFinished.Unmarshal(m, b) |
| 403 | } |
| 404 | func (m *Status_EdgeFinished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 405 | return xxx_messageInfo_Status_EdgeFinished.Marshal(b, m, deterministic) |
| 406 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 407 | func (m *Status_EdgeFinished) XXX_Merge(src proto.Message) { |
| 408 | xxx_messageInfo_Status_EdgeFinished.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 409 | } |
| 410 | func (m *Status_EdgeFinished) XXX_Size() int { |
| 411 | return xxx_messageInfo_Status_EdgeFinished.Size(m) |
| 412 | } |
| 413 | func (m *Status_EdgeFinished) XXX_DiscardUnknown() { |
| 414 | xxx_messageInfo_Status_EdgeFinished.DiscardUnknown(m) |
| 415 | } |
| 416 | |
| 417 | var xxx_messageInfo_Status_EdgeFinished proto.InternalMessageInfo |
| 418 | |
| 419 | func (m *Status_EdgeFinished) GetId() uint32 { |
| 420 | if m != nil && m.Id != nil { |
| 421 | return *m.Id |
| 422 | } |
| 423 | return 0 |
| 424 | } |
| 425 | |
| 426 | func (m *Status_EdgeFinished) GetEndTime() uint32 { |
| 427 | if m != nil && m.EndTime != nil { |
| 428 | return *m.EndTime |
| 429 | } |
| 430 | return 0 |
| 431 | } |
| 432 | |
| 433 | func (m *Status_EdgeFinished) GetStatus() int32 { |
| 434 | if m != nil && m.Status != nil { |
| 435 | return *m.Status |
| 436 | } |
| 437 | return 0 |
| 438 | } |
| 439 | |
| 440 | func (m *Status_EdgeFinished) GetOutput() string { |
| 441 | if m != nil && m.Output != nil { |
| 442 | return *m.Output |
| 443 | } |
| 444 | return "" |
| 445 | } |
| 446 | |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 447 | func (m *Status_EdgeFinished) GetUserTime() uint32 { |
| 448 | if m != nil && m.UserTime != nil { |
| 449 | return *m.UserTime |
| 450 | } |
| 451 | return 0 |
| 452 | } |
| 453 | |
| 454 | func (m *Status_EdgeFinished) GetSystemTime() uint32 { |
| 455 | if m != nil && m.SystemTime != nil { |
| 456 | return *m.SystemTime |
| 457 | } |
| 458 | return 0 |
| 459 | } |
| 460 | |
Colin Cross | d888b6b | 2020-10-15 13:46:32 -0700 | [diff] [blame^] | 461 | func (m *Status_EdgeFinished) GetMaxRssKb() uint64 { |
| 462 | if m != nil && m.MaxRssKb != nil { |
| 463 | return *m.MaxRssKb |
| 464 | } |
| 465 | return 0 |
| 466 | } |
| 467 | |
| 468 | func (m *Status_EdgeFinished) GetMinorPageFaults() uint64 { |
| 469 | if m != nil && m.MinorPageFaults != nil { |
| 470 | return *m.MinorPageFaults |
| 471 | } |
| 472 | return 0 |
| 473 | } |
| 474 | |
| 475 | func (m *Status_EdgeFinished) GetMajorPageFaults() uint64 { |
| 476 | if m != nil && m.MajorPageFaults != nil { |
| 477 | return *m.MajorPageFaults |
| 478 | } |
| 479 | return 0 |
| 480 | } |
| 481 | |
| 482 | func (m *Status_EdgeFinished) GetIoInputKb() uint64 { |
| 483 | if m != nil && m.IoInputKb != nil { |
| 484 | return *m.IoInputKb |
| 485 | } |
| 486 | return 0 |
| 487 | } |
| 488 | |
| 489 | func (m *Status_EdgeFinished) GetIoOutputKb() uint64 { |
| 490 | if m != nil && m.IoOutputKb != nil { |
| 491 | return *m.IoOutputKb |
| 492 | } |
| 493 | return 0 |
| 494 | } |
| 495 | |
| 496 | func (m *Status_EdgeFinished) GetVoluntaryContextSwitches() uint64 { |
| 497 | if m != nil && m.VoluntaryContextSwitches != nil { |
| 498 | return *m.VoluntaryContextSwitches |
| 499 | } |
| 500 | return 0 |
| 501 | } |
| 502 | |
| 503 | func (m *Status_EdgeFinished) GetInvoluntaryContextSwitches() uint64 { |
| 504 | if m != nil && m.InvoluntaryContextSwitches != nil { |
| 505 | return *m.InvoluntaryContextSwitches |
| 506 | } |
| 507 | return 0 |
| 508 | } |
| 509 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 510 | type Status_Message struct { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 511 | // Message priority level (DEBUG, INFO, WARNING, ERROR). |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 512 | Level *Status_Message_Level `protobuf:"varint,1,opt,name=level,enum=ninja.Status_Message_Level,def=0" json:"level,omitempty"` |
| 513 | // Info/warning/error message from Ninja. |
| 514 | Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` |
| 515 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 516 | XXX_unrecognized []byte `json:"-"` |
| 517 | XXX_sizecache int32 `json:"-"` |
| 518 | } |
| 519 | |
| 520 | func (m *Status_Message) Reset() { *m = Status_Message{} } |
| 521 | func (m *Status_Message) String() string { return proto.CompactTextString(m) } |
| 522 | func (*Status_Message) ProtoMessage() {} |
| 523 | func (*Status_Message) Descriptor() ([]byte, []int) { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 524 | return fileDescriptor_eca3873955a29cfe, []int{0, 5} |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 525 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 526 | |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 527 | func (m *Status_Message) XXX_Unmarshal(b []byte) error { |
| 528 | return xxx_messageInfo_Status_Message.Unmarshal(m, b) |
| 529 | } |
| 530 | func (m *Status_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 531 | return xxx_messageInfo_Status_Message.Marshal(b, m, deterministic) |
| 532 | } |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 533 | func (m *Status_Message) XXX_Merge(src proto.Message) { |
| 534 | xxx_messageInfo_Status_Message.Merge(m, src) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 535 | } |
| 536 | func (m *Status_Message) XXX_Size() int { |
| 537 | return xxx_messageInfo_Status_Message.Size(m) |
| 538 | } |
| 539 | func (m *Status_Message) XXX_DiscardUnknown() { |
| 540 | xxx_messageInfo_Status_Message.DiscardUnknown(m) |
| 541 | } |
| 542 | |
| 543 | var xxx_messageInfo_Status_Message proto.InternalMessageInfo |
| 544 | |
| 545 | const Default_Status_Message_Level Status_Message_Level = Status_Message_INFO |
| 546 | |
| 547 | func (m *Status_Message) GetLevel() Status_Message_Level { |
| 548 | if m != nil && m.Level != nil { |
| 549 | return *m.Level |
| 550 | } |
| 551 | return Default_Status_Message_Level |
| 552 | } |
| 553 | |
| 554 | func (m *Status_Message) GetMessage() string { |
| 555 | if m != nil && m.Message != nil { |
| 556 | return *m.Message |
| 557 | } |
| 558 | return "" |
| 559 | } |
| 560 | |
| 561 | func init() { |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 562 | proto.RegisterEnum("ninja.Status_Message_Level", Status_Message_Level_name, Status_Message_Level_value) |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 563 | proto.RegisterType((*Status)(nil), "ninja.Status") |
| 564 | proto.RegisterType((*Status_TotalEdges)(nil), "ninja.Status.TotalEdges") |
| 565 | proto.RegisterType((*Status_BuildStarted)(nil), "ninja.Status.BuildStarted") |
| 566 | proto.RegisterType((*Status_BuildFinished)(nil), "ninja.Status.BuildFinished") |
| 567 | proto.RegisterType((*Status_EdgeStarted)(nil), "ninja.Status.EdgeStarted") |
| 568 | proto.RegisterType((*Status_EdgeFinished)(nil), "ninja.Status.EdgeFinished") |
| 569 | proto.RegisterType((*Status_Message)(nil), "ninja.Status.Message") |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 570 | } |
| 571 | |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 572 | func init() { |
| 573 | proto.RegisterFile("frontend.proto", fileDescriptor_eca3873955a29cfe) |
| 574 | } |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 575 | |
Dan Willemsen | 0821822 | 2020-05-18 14:02:02 -0700 | [diff] [blame] | 576 | var fileDescriptor_eca3873955a29cfe = []byte{ |
Colin Cross | d888b6b | 2020-10-15 13:46:32 -0700 | [diff] [blame^] | 577 | // 678 bytes of a gzipped FileDescriptorProto |
| 578 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xff, 0x4e, 0xd4, 0x40, |
| 579 | 0x10, 0xc7, 0xbd, 0xdf, 0xd7, 0xe9, 0xdd, 0x71, 0x6c, 0xa2, 0x29, 0x05, 0xe5, 0xc2, 0x5f, 0xc4, |
| 580 | 0xc4, 0x33, 0x31, 0x26, 0x46, 0x43, 0xa2, 0x9e, 0x02, 0x22, 0x0a, 0x66, 0xc1, 0x98, 0xf8, 0x4f, |
| 581 | 0xb3, 0xbd, 0x2e, 0xb0, 0xd8, 0x76, 0x2f, 0xdd, 0x2d, 0xc2, 0x6b, 0xf8, 0x2c, 0xc6, 0xd7, 0xf1, |
| 582 | 0x55, 0xcc, 0xce, 0xb6, 0x47, 0x0f, 0x88, 0xff, 0x75, 0x66, 0x3e, 0xf3, 0x9d, 0xd9, 0x99, 0xed, |
| 583 | 0xc2, 0xe0, 0x24, 0x93, 0xa9, 0xe6, 0x69, 0x34, 0x9e, 0x65, 0x52, 0x4b, 0xd2, 0x4a, 0x45, 0x7a, |
| 584 | 0xce, 0x36, 0x7e, 0x03, 0xb4, 0x8f, 0x34, 0xd3, 0xb9, 0x22, 0x2f, 0xc1, 0xd5, 0x52, 0xb3, 0x38, |
| 585 | 0xe0, 0xd1, 0x29, 0x57, 0x5e, 0x6d, 0x54, 0xdb, 0x74, 0x9f, 0x79, 0x63, 0xe4, 0xc6, 0x96, 0x19, |
| 586 | 0x1f, 0x1b, 0x60, 0xdb, 0xc4, 0x29, 0xe8, 0xf9, 0x37, 0x79, 0x0d, 0xfd, 0x30, 0x17, 0x71, 0x14, |
| 587 | 0x28, 0xcd, 0x32, 0xcd, 0x23, 0xaf, 0x8e, 0xc9, 0xfe, 0x62, 0xf2, 0xc4, 0x20, 0x47, 0x96, 0xa0, |
| 588 | 0xbd, 0xb0, 0x62, 0x91, 0x09, 0x0c, 0xac, 0xc0, 0x89, 0x48, 0x85, 0x3a, 0xe3, 0x91, 0xd7, 0x40, |
| 589 | 0x85, 0xd5, 0x3b, 0x14, 0x76, 0x0a, 0x84, 0xda, 0x9a, 0xa5, 0x49, 0xb6, 0xa0, 0x67, 0x3a, 0x9f, |
| 590 | 0xf7, 0xd0, 0x44, 0x85, 0x95, 0x45, 0x05, 0xd3, 0x6f, 0xd9, 0x82, 0xcb, 0xaf, 0x0d, 0x73, 0x04, |
| 591 | 0xcc, 0x9e, 0x37, 0xd0, 0xba, 0xeb, 0x08, 0x26, 0x7d, 0x5e, 0x1f, 0xcb, 0xcd, 0xcb, 0x3f, 0x85, |
| 592 | 0x4e, 0xc2, 0x95, 0x62, 0xa7, 0xdc, 0x6b, 0x63, 0xea, 0xfd, 0xc5, 0xd4, 0xcf, 0x36, 0x48, 0x4b, |
| 593 | 0xca, 0x7f, 0x02, 0x70, 0x3d, 0x4e, 0xb2, 0x7e, 0x7b, 0xfa, 0xfd, 0xea, 0x8c, 0xfd, 0x8f, 0xd0, |
| 594 | 0xab, 0x0e, 0x90, 0x8c, 0xc0, 0x9d, 0xb1, 0x8c, 0xc5, 0x31, 0x8f, 0x85, 0x4a, 0x8a, 0x84, 0xaa, |
| 595 | 0x8b, 0x78, 0xd0, 0xb9, 0xe0, 0x59, 0x28, 0x15, 0xc7, 0x7d, 0x74, 0x69, 0x69, 0xfa, 0x4b, 0xd0, |
| 596 | 0x5f, 0x18, 0xa5, 0xff, 0xa7, 0x06, 0x6e, 0x65, 0x34, 0x64, 0x00, 0x75, 0x11, 0x15, 0x9a, 0x75, |
| 597 | 0x11, 0x91, 0x87, 0x00, 0x38, 0xd6, 0x40, 0x8b, 0xc4, 0xaa, 0xf5, 0xa9, 0x83, 0x9e, 0x63, 0x91, |
| 598 | 0x70, 0xf2, 0x00, 0xda, 0x22, 0x9d, 0xe5, 0x5a, 0x79, 0x8d, 0x51, 0x63, 0xd3, 0xa1, 0x85, 0x65, |
| 599 | 0x3a, 0x90, 0xb9, 0xc6, 0x40, 0x13, 0x03, 0xa5, 0x49, 0x08, 0x34, 0x23, 0xae, 0xa6, 0x38, 0x65, |
| 600 | 0x87, 0xe2, 0xb7, 0xa1, 0xa7, 0x32, 0x49, 0x58, 0x1a, 0xe1, 0x04, 0x1d, 0x5a, 0x9a, 0x36, 0x92, |
| 601 | 0x2a, 0x19, 0x73, 0xaf, 0x63, 0x4f, 0x52, 0x98, 0xfe, 0xdf, 0x06, 0xf4, 0xaa, 0x4b, 0xb9, 0xd5, |
| 602 | 0xf9, 0x0a, 0x74, 0x79, 0x1a, 0x55, 0xfb, 0xee, 0xf0, 0x34, 0x2a, 0xbb, 0x56, 0xb8, 0x1b, 0xbc, |
| 603 | 0x6c, 0xcb, 0xb4, 0xb0, 0x8c, 0xdf, 0xb6, 0x89, 0x57, 0xc8, 0xa1, 0x85, 0x45, 0x56, 0xc1, 0xc9, |
| 604 | 0x15, 0xcf, 0xac, 0x56, 0x0b, 0xb5, 0xba, 0xc6, 0x81, 0x62, 0xeb, 0xe0, 0xaa, 0x2b, 0xa5, 0x79, |
| 605 | 0x62, 0xc3, 0x6d, 0xbb, 0x3f, 0xeb, 0x42, 0x60, 0x0d, 0x20, 0x61, 0x97, 0x41, 0xa6, 0x54, 0xf0, |
| 606 | 0x23, 0xc4, 0x63, 0x34, 0x69, 0x37, 0x61, 0x97, 0x54, 0xa9, 0xfd, 0x90, 0x3c, 0x86, 0xe5, 0x44, |
| 607 | 0xa4, 0x32, 0x0b, 0x66, 0xcc, 0x5c, 0x42, 0x96, 0xc7, 0x5a, 0x79, 0x5d, 0x84, 0x96, 0x30, 0xf0, |
| 608 | 0x85, 0x9d, 0xf2, 0x1d, 0x74, 0x23, 0xcb, 0xce, 0x6f, 0xb0, 0x4e, 0xc1, 0x9a, 0x40, 0x85, 0x7d, |
| 609 | 0x04, 0xae, 0x90, 0x01, 0xae, 0xc3, 0x94, 0x05, 0xa4, 0x1c, 0x21, 0xf7, 0x8c, 0x67, 0x3f, 0x24, |
| 610 | 0x23, 0xe8, 0x09, 0x19, 0xd8, 0x03, 0x1a, 0xc0, 0x45, 0x00, 0x84, 0x3c, 0x44, 0xd7, 0x7e, 0x48, |
| 611 | 0xb6, 0xc0, 0xbf, 0x90, 0x71, 0x9e, 0x6a, 0x96, 0x5d, 0x05, 0x53, 0xf3, 0x86, 0x5c, 0xea, 0x40, |
| 612 | 0xfd, 0x14, 0x7a, 0x7a, 0xc6, 0x95, 0xd7, 0x43, 0xde, 0x9b, 0x13, 0xef, 0x2c, 0x70, 0x54, 0xc4, |
| 613 | 0xc9, 0x1b, 0x58, 0x13, 0xe9, 0x7f, 0xf2, 0xfb, 0x98, 0xef, 0x57, 0x98, 0x1b, 0x0a, 0xfe, 0xaf, |
| 614 | 0x1a, 0x74, 0x8a, 0x7f, 0x87, 0xbc, 0x80, 0x56, 0xcc, 0x2f, 0x78, 0x8c, 0xfb, 0x1d, 0xdc, 0x7c, |
| 615 | 0x1d, 0x0a, 0x6a, 0xfc, 0xc9, 0x20, 0xaf, 0x9a, 0x7b, 0x07, 0x3b, 0x87, 0xd4, 0xf2, 0xe6, 0x02, |
| 616 | 0x95, 0x3f, 0x67, 0xdd, 0x5e, 0xad, 0xc2, 0xdc, 0x78, 0x0e, 0x2d, 0xe4, 0x49, 0x17, 0x30, 0x63, |
| 617 | 0x78, 0x8f, 0xb8, 0xd0, 0xf9, 0xf6, 0x96, 0x1e, 0xec, 0x1d, 0xec, 0x0e, 0x6b, 0xc4, 0x81, 0xd6, |
| 618 | 0x36, 0xa5, 0x87, 0x74, 0x58, 0x37, 0x9f, 0xef, 0xb7, 0x27, 0x5f, 0x77, 0x87, 0x8d, 0x09, 0xf9, |
| 619 | 0xd0, 0xf8, 0x3e, 0xc0, 0xe2, 0x41, 0xf9, 0xae, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x7a, |
| 620 | 0x33, 0x13, 0x62, 0x05, 0x00, 0x00, |
Dan Willemsen | b82471a | 2018-05-17 16:37:09 -0700 | [diff] [blame] | 621 | } |