1// Copyright 2020 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 15syntax = "proto2"; 16 17package soong_build_progress; 18option go_package = "soong_build_progress_proto"; 19 20message BuildProgress { 21 // Total number of actions in a build. The total actions will increase 22 // and might decrease during the course of a build. 23 optional uint64 total_actions = 1; 24 25 // Total number of completed build actions. This value will never decrease 26 // and finished_actions <= total_actions. At one point of the build, the 27 // finished_actions will be equal to total_actions. This may not represent 28 // that the build is completed as the total_actions may be increased for 29 // additional counted work or is doing non-counted work. 30 optional uint64 finished_actions = 2; 31 32 // Total number of current actions being executed during a course of a 33 // build and current_actions + finished_actions <= total_actions. 34 optional uint64 current_actions = 3; 35 36 // Total number of actions that reported as a failure. 37 optional uint64 failed_actions = 4; 38} 39