1// Copyright 2024 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.30.0 18// protoc v3.21.12 19// source: execution_metrics.proto 20 21package execution_metrics_proto 22 23import ( 24 find_input_delta_proto "android/soong/cmd/find_input_delta/find_input_delta_proto" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 reflect "reflect" 28 sync "sync" 29) 30 31const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36) 37 38// These field numbers are also found in the inner message declarations. 39// We verify that the values are the same, and that every enum value is checked 40// in execution_metrics_test.go. 41// Do not change this enum without also updating: 42// - the submessage's .proto file 43// - execution_metrics_test.go 44type FieldNumbers int32 45 46const ( 47 FieldNumbers_FIELD_NUMBERS_UNSPECIFIED FieldNumbers = 0 48 FieldNumbers_FIELD_NUMBERS_FILE_LIST FieldNumbers = 1 49) 50 51// Enum value maps for FieldNumbers. 52var ( 53 FieldNumbers_name = map[int32]string{ 54 0: "FIELD_NUMBERS_UNSPECIFIED", 55 1: "FIELD_NUMBERS_FILE_LIST", 56 } 57 FieldNumbers_value = map[string]int32{ 58 "FIELD_NUMBERS_UNSPECIFIED": 0, 59 "FIELD_NUMBERS_FILE_LIST": 1, 60 } 61) 62 63func (x FieldNumbers) Enum() *FieldNumbers { 64 p := new(FieldNumbers) 65 *p = x 66 return p 67} 68 69func (x FieldNumbers) String() string { 70 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 71} 72 73func (FieldNumbers) Descriptor() protoreflect.EnumDescriptor { 74 return file_execution_metrics_proto_enumTypes[0].Descriptor() 75} 76 77func (FieldNumbers) Type() protoreflect.EnumType { 78 return &file_execution_metrics_proto_enumTypes[0] 79} 80 81func (x FieldNumbers) Number() protoreflect.EnumNumber { 82 return protoreflect.EnumNumber(x) 83} 84 85// Deprecated: Do not use. 86func (x *FieldNumbers) UnmarshalJSON(b []byte) error { 87 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 88 if err != nil { 89 return err 90 } 91 *x = FieldNumbers(num) 92 return nil 93} 94 95// Deprecated: Use FieldNumbers.Descriptor instead. 96func (FieldNumbers) EnumDescriptor() ([]byte, []int) { 97 return file_execution_metrics_proto_rawDescGZIP(), []int{0} 98} 99 100type SoongExecutionMetrics struct { 101 state protoimpl.MessageState 102 sizeCache protoimpl.SizeCache 103 unknownFields protoimpl.UnknownFields 104 105 // cmd/find_input_delta/find_input_delta_proto.FileList 106 FileList *find_input_delta_proto.FileList `protobuf:"bytes,1,opt,name=file_list,json=fileList" json:"file_list,omitempty"` 107} 108 109func (x *SoongExecutionMetrics) Reset() { 110 *x = SoongExecutionMetrics{} 111 if protoimpl.UnsafeEnabled { 112 mi := &file_execution_metrics_proto_msgTypes[0] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116} 117 118func (x *SoongExecutionMetrics) String() string { 119 return protoimpl.X.MessageStringOf(x) 120} 121 122func (*SoongExecutionMetrics) ProtoMessage() {} 123 124func (x *SoongExecutionMetrics) ProtoReflect() protoreflect.Message { 125 mi := &file_execution_metrics_proto_msgTypes[0] 126 if protoimpl.UnsafeEnabled && x != nil { 127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 128 if ms.LoadMessageInfo() == nil { 129 ms.StoreMessageInfo(mi) 130 } 131 return ms 132 } 133 return mi.MessageOf(x) 134} 135 136// Deprecated: Use SoongExecutionMetrics.ProtoReflect.Descriptor instead. 137func (*SoongExecutionMetrics) Descriptor() ([]byte, []int) { 138 return file_execution_metrics_proto_rawDescGZIP(), []int{0} 139} 140 141func (x *SoongExecutionMetrics) GetFileList() *find_input_delta_proto.FileList { 142 if x != nil { 143 return x.FileList 144 } 145 return nil 146} 147 148var File_execution_metrics_proto protoreflect.FileDescriptor 149 150var file_execution_metrics_proto_rawDesc = []byte{ 151 0x0a, 0x17, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 152 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 153 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x1a, 0x3b, 154 0x63, 0x6d, 0x64, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 155 0x65, 0x6c, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 156 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x69, 0x6c, 0x65, 157 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x15, 0x53, 158 0x6f, 0x6f, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 159 0x72, 0x69, 0x63, 0x73, 0x12, 0x45, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 160 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 161 0x64, 0x2e, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x6c, 162 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 163 0x74, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x2a, 0x4a, 0x0a, 0x0c, 0x46, 164 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x46, 165 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x55, 0x4e, 0x53, 166 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 167 0x45, 0x4c, 0x44, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x45, 168 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x01, 0x42, 0x32, 0x5a, 0x30, 0x61, 0x6e, 0x64, 0x72, 0x6f, 169 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 170 0x69, 0x63, 0x73, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 171 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 172} 173 174var ( 175 file_execution_metrics_proto_rawDescOnce sync.Once 176 file_execution_metrics_proto_rawDescData = file_execution_metrics_proto_rawDesc 177) 178 179func file_execution_metrics_proto_rawDescGZIP() []byte { 180 file_execution_metrics_proto_rawDescOnce.Do(func() { 181 file_execution_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_execution_metrics_proto_rawDescData) 182 }) 183 return file_execution_metrics_proto_rawDescData 184} 185 186var file_execution_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 187var file_execution_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 188var file_execution_metrics_proto_goTypes = []interface{}{ 189 (FieldNumbers)(0), // 0: soong_build_metrics.FieldNumbers 190 (*SoongExecutionMetrics)(nil), // 1: soong_build_metrics.SoongExecutionMetrics 191 (*find_input_delta_proto.FileList)(nil), // 2: android.find_input_delta_proto.FileList 192} 193var file_execution_metrics_proto_depIdxs = []int32{ 194 2, // 0: soong_build_metrics.SoongExecutionMetrics.file_list:type_name -> android.find_input_delta_proto.FileList 195 1, // [1:1] is the sub-list for method output_type 196 1, // [1:1] is the sub-list for method input_type 197 1, // [1:1] is the sub-list for extension type_name 198 1, // [1:1] is the sub-list for extension extendee 199 0, // [0:1] is the sub-list for field type_name 200} 201 202func init() { file_execution_metrics_proto_init() } 203func file_execution_metrics_proto_init() { 204 if File_execution_metrics_proto != nil { 205 return 206 } 207 if !protoimpl.UnsafeEnabled { 208 file_execution_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 209 switch v := v.(*SoongExecutionMetrics); i { 210 case 0: 211 return &v.state 212 case 1: 213 return &v.sizeCache 214 case 2: 215 return &v.unknownFields 216 default: 217 return nil 218 } 219 } 220 } 221 type x struct{} 222 out := protoimpl.TypeBuilder{ 223 File: protoimpl.DescBuilder{ 224 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 225 RawDescriptor: file_execution_metrics_proto_rawDesc, 226 NumEnums: 1, 227 NumMessages: 1, 228 NumExtensions: 0, 229 NumServices: 0, 230 }, 231 GoTypes: file_execution_metrics_proto_goTypes, 232 DependencyIndexes: file_execution_metrics_proto_depIdxs, 233 EnumInfos: file_execution_metrics_proto_enumTypes, 234 MessageInfos: file_execution_metrics_proto_msgTypes, 235 }.Build() 236 File_execution_metrics_proto = out.File 237 file_execution_metrics_proto_rawDesc = nil 238 file_execution_metrics_proto_goTypes = nil 239 file_execution_metrics_proto_depIdxs = nil 240} 241