• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.26.0
18// 	protoc        v3.9.1
19// source: build_progress.proto
20
21package build_progress_proto
22
23import (
24	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26	reflect "reflect"
27	sync "sync"
28)
29
30const (
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)
36
37type BuildProgress struct {
38	state         protoimpl.MessageState
39	sizeCache     protoimpl.SizeCache
40	unknownFields protoimpl.UnknownFields
41
42	// Total number of actions in a build. The total actions will increase
43	// and might decrease during the course of a build.
44	TotalActions *uint64 `protobuf:"varint,1,opt,name=total_actions,json=totalActions" json:"total_actions,omitempty"`
45	// Total number of completed build actions. This value will never decrease
46	// and finished_actions <= total_actions. At one point of the build, the
47	// finished_actions will be equal to total_actions. This may not represent
48	// that the build is completed as the total_actions may be increased for
49	// additional counted work or is doing non-counted work.
50	FinishedActions *uint64 `protobuf:"varint,2,opt,name=finished_actions,json=finishedActions" json:"finished_actions,omitempty"`
51	// Total number of current actions being executed during a course of a
52	// build and current_actions + finished_actions <= total_actions.
53	CurrentActions *uint64 `protobuf:"varint,3,opt,name=current_actions,json=currentActions" json:"current_actions,omitempty"`
54	// Total number of actions that reported as a failure.
55	FailedActions *uint64 `protobuf:"varint,4,opt,name=failed_actions,json=failedActions" json:"failed_actions,omitempty"`
56}
57
58func (x *BuildProgress) Reset() {
59	*x = BuildProgress{}
60	if protoimpl.UnsafeEnabled {
61		mi := &file_build_progress_proto_msgTypes[0]
62		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63		ms.StoreMessageInfo(mi)
64	}
65}
66
67func (x *BuildProgress) String() string {
68	return protoimpl.X.MessageStringOf(x)
69}
70
71func (*BuildProgress) ProtoMessage() {}
72
73func (x *BuildProgress) ProtoReflect() protoreflect.Message {
74	mi := &file_build_progress_proto_msgTypes[0]
75	if protoimpl.UnsafeEnabled && x != nil {
76		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77		if ms.LoadMessageInfo() == nil {
78			ms.StoreMessageInfo(mi)
79		}
80		return ms
81	}
82	return mi.MessageOf(x)
83}
84
85// Deprecated: Use BuildProgress.ProtoReflect.Descriptor instead.
86func (*BuildProgress) Descriptor() ([]byte, []int) {
87	return file_build_progress_proto_rawDescGZIP(), []int{0}
88}
89
90func (x *BuildProgress) GetTotalActions() uint64 {
91	if x != nil && x.TotalActions != nil {
92		return *x.TotalActions
93	}
94	return 0
95}
96
97func (x *BuildProgress) GetFinishedActions() uint64 {
98	if x != nil && x.FinishedActions != nil {
99		return *x.FinishedActions
100	}
101	return 0
102}
103
104func (x *BuildProgress) GetCurrentActions() uint64 {
105	if x != nil && x.CurrentActions != nil {
106		return *x.CurrentActions
107	}
108	return 0
109}
110
111func (x *BuildProgress) GetFailedActions() uint64 {
112	if x != nil && x.FailedActions != nil {
113		return *x.FailedActions
114	}
115	return 0
116}
117
118var File_build_progress_proto protoreflect.FileDescriptor
119
120var file_build_progress_proto_rawDesc = []byte{
121	0x0a, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73,
122	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 0x62, 0x75,
123	0x69, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0xaf, 0x01, 0x0a,
124	0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23,
125	0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
126	0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69,
127	0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f,
128	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x66,
129	0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27,
130	0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
131	0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
132	0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x65,
133	0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
134	0x0d, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x2e,
135	0x5a, 0x2c, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f,
136	0x75, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
137	0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
138}
139
140var (
141	file_build_progress_proto_rawDescOnce sync.Once
142	file_build_progress_proto_rawDescData = file_build_progress_proto_rawDesc
143)
144
145func file_build_progress_proto_rawDescGZIP() []byte {
146	file_build_progress_proto_rawDescOnce.Do(func() {
147		file_build_progress_proto_rawDescData = protoimpl.X.CompressGZIP(file_build_progress_proto_rawDescData)
148	})
149	return file_build_progress_proto_rawDescData
150}
151
152var file_build_progress_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
153var file_build_progress_proto_goTypes = []interface{}{
154	(*BuildProgress)(nil), // 0: soong_build_progress.BuildProgress
155}
156var file_build_progress_proto_depIdxs = []int32{
157	0, // [0:0] is the sub-list for method output_type
158	0, // [0:0] is the sub-list for method input_type
159	0, // [0:0] is the sub-list for extension type_name
160	0, // [0:0] is the sub-list for extension extendee
161	0, // [0:0] is the sub-list for field type_name
162}
163
164func init() { file_build_progress_proto_init() }
165func file_build_progress_proto_init() {
166	if File_build_progress_proto != nil {
167		return
168	}
169	if !protoimpl.UnsafeEnabled {
170		file_build_progress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
171			switch v := v.(*BuildProgress); i {
172			case 0:
173				return &v.state
174			case 1:
175				return &v.sizeCache
176			case 2:
177				return &v.unknownFields
178			default:
179				return nil
180			}
181		}
182	}
183	type x struct{}
184	out := protoimpl.TypeBuilder{
185		File: protoimpl.DescBuilder{
186			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
187			RawDescriptor: file_build_progress_proto_rawDesc,
188			NumEnums:      0,
189			NumMessages:   1,
190			NumExtensions: 0,
191			NumServices:   0,
192		},
193		GoTypes:           file_build_progress_proto_goTypes,
194		DependencyIndexes: file_build_progress_proto_depIdxs,
195		MessageInfos:      file_build_progress_proto_msgTypes,
196	}.Build()
197	File_build_progress_proto = out.File
198	file_build_progress_proto_rawDesc = nil
199	file_build_progress_proto_goTypes = nil
200	file_build_progress_proto_depIdxs = nil
201}
202