1// Copyright 2018 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.33.0 18// protoc v3.21.12 19// source: combined_metrics.proto 20 21package 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 combined_metrics_test.go. 41// Do not change this enum without also updating: 42// - the submessage's .proto file 43// - combined_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_combined_metrics_proto_enumTypes[0].Descriptor() 75} 76 77func (FieldNumbers) Type() protoreflect.EnumType { 78 return &file_combined_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_combined_metrics_proto_rawDescGZIP(), []int{0} 98} 99 100type SoongCombinedMetrics 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 *SoongCombinedMetrics) Reset() { 110 *x = SoongCombinedMetrics{} 111 if protoimpl.UnsafeEnabled { 112 mi := &file_combined_metrics_proto_msgTypes[0] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116} 117 118func (x *SoongCombinedMetrics) String() string { 119 return protoimpl.X.MessageStringOf(x) 120} 121 122func (*SoongCombinedMetrics) ProtoMessage() {} 123 124func (x *SoongCombinedMetrics) ProtoReflect() protoreflect.Message { 125 mi := &file_combined_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 SoongCombinedMetrics.ProtoReflect.Descriptor instead. 137func (*SoongCombinedMetrics) Descriptor() ([]byte, []int) { 138 return file_combined_metrics_proto_rawDescGZIP(), []int{0} 139} 140 141func (x *SoongCombinedMetrics) GetFileList() *find_input_delta_proto.FileList { 142 if x != nil { 143 return x.FileList 144 } 145 return nil 146} 147 148var File_combined_metrics_proto protoreflect.FileDescriptor 149 150var file_combined_metrics_proto_rawDesc = []byte{ 151 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 152 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x5f, 153 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x1a, 0x3b, 0x63, 154 0x6d, 0x64, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 155 0x6c, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 156 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 157 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x14, 0x53, 0x6f, 158 0x6f, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 159 0x63, 0x73, 0x12, 0x45, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 160 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 161 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 162 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 163 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x2a, 0x4a, 0x0a, 0x0c, 0x46, 0x69, 0x65, 164 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x45, 165 0x4c, 0x44, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 166 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x45, 0x4c, 167 0x44, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4c, 168 0x49, 0x53, 0x54, 0x10, 0x01, 0x42, 0x28, 0x5a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 169 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x75, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 170 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 171} 172 173var ( 174 file_combined_metrics_proto_rawDescOnce sync.Once 175 file_combined_metrics_proto_rawDescData = file_combined_metrics_proto_rawDesc 176) 177 178func file_combined_metrics_proto_rawDescGZIP() []byte { 179 file_combined_metrics_proto_rawDescOnce.Do(func() { 180 file_combined_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_combined_metrics_proto_rawDescData) 181 }) 182 return file_combined_metrics_proto_rawDescData 183} 184 185var file_combined_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 186var file_combined_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 187var file_combined_metrics_proto_goTypes = []interface{}{ 188 (FieldNumbers)(0), // 0: soong_build_metrics.FieldNumbers 189 (*SoongCombinedMetrics)(nil), // 1: soong_build_metrics.SoongCombinedMetrics 190 (*find_input_delta_proto.FileList)(nil), // 2: android.find_input_delta_proto.FileList 191} 192var file_combined_metrics_proto_depIdxs = []int32{ 193 2, // 0: soong_build_metrics.SoongCombinedMetrics.file_list:type_name -> android.find_input_delta_proto.FileList 194 1, // [1:1] is the sub-list for method output_type 195 1, // [1:1] is the sub-list for method input_type 196 1, // [1:1] is the sub-list for extension type_name 197 1, // [1:1] is the sub-list for extension extendee 198 0, // [0:1] is the sub-list for field type_name 199} 200 201func init() { file_combined_metrics_proto_init() } 202func file_combined_metrics_proto_init() { 203 if File_combined_metrics_proto != nil { 204 return 205 } 206 if !protoimpl.UnsafeEnabled { 207 file_combined_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 208 switch v := v.(*SoongCombinedMetrics); i { 209 case 0: 210 return &v.state 211 case 1: 212 return &v.sizeCache 213 case 2: 214 return &v.unknownFields 215 default: 216 return nil 217 } 218 } 219 } 220 type x struct{} 221 out := protoimpl.TypeBuilder{ 222 File: protoimpl.DescBuilder{ 223 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 224 RawDescriptor: file_combined_metrics_proto_rawDesc, 225 NumEnums: 1, 226 NumMessages: 1, 227 NumExtensions: 0, 228 NumServices: 0, 229 }, 230 GoTypes: file_combined_metrics_proto_goTypes, 231 DependencyIndexes: file_combined_metrics_proto_depIdxs, 232 EnumInfos: file_combined_metrics_proto_enumTypes, 233 MessageInfos: file_combined_metrics_proto_msgTypes, 234 }.Build() 235 File_combined_metrics_proto = out.File 236 file_combined_metrics_proto_rawDesc = nil 237 file_combined_metrics_proto_goTypes = nil 238 file_combined_metrics_proto_depIdxs = nil 239} 240