1// 2// Copyright (C) 2024 The Android Open-Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.33.0 19// protoc v3.21.12 20// source: file_list.proto 21 22package find_input_delta_proto 23 24import ( 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 38type FieldNumbers int32 39 40const ( 41 FieldNumbers_FIELD_NUMBERS_UNSPECIFIED FieldNumbers = 0 42 FieldNumbers_FIELD_NUMBERS_FILE_LIST FieldNumbers = 1 43) 44 45// Enum value maps for FieldNumbers. 46var ( 47 FieldNumbers_name = map[int32]string{ 48 0: "FIELD_NUMBERS_UNSPECIFIED", 49 1: "FIELD_NUMBERS_FILE_LIST", 50 } 51 FieldNumbers_value = map[string]int32{ 52 "FIELD_NUMBERS_UNSPECIFIED": 0, 53 "FIELD_NUMBERS_FILE_LIST": 1, 54 } 55) 56 57func (x FieldNumbers) Enum() *FieldNumbers { 58 p := new(FieldNumbers) 59 *p = x 60 return p 61} 62 63func (x FieldNumbers) String() string { 64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 65} 66 67func (FieldNumbers) Descriptor() protoreflect.EnumDescriptor { 68 return file_file_list_proto_enumTypes[0].Descriptor() 69} 70 71func (FieldNumbers) Type() protoreflect.EnumType { 72 return &file_file_list_proto_enumTypes[0] 73} 74 75func (x FieldNumbers) Number() protoreflect.EnumNumber { 76 return protoreflect.EnumNumber(x) 77} 78 79// Deprecated: Do not use. 80func (x *FieldNumbers) UnmarshalJSON(b []byte) error { 81 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 82 if err != nil { 83 return err 84 } 85 *x = FieldNumbers(num) 86 return nil 87} 88 89// Deprecated: Use FieldNumbers.Descriptor instead. 90func (FieldNumbers) EnumDescriptor() ([]byte, []int) { 91 return file_file_list_proto_rawDescGZIP(), []int{0} 92} 93 94type FileList struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 // The name of the output file (Ninja target). 100 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 101 // The added files. 102 Additions []string `protobuf:"bytes,2,rep,name=additions" json:"additions,omitempty"` 103 // The changed files. 104 Changes []string `protobuf:"bytes,3,rep,name=changes" json:"changes,omitempty"` 105 // The deleted files. 106 Deletions []string `protobuf:"bytes,4,rep,name=deletions" json:"deletions,omitempty"` 107} 108 109func (x *FileList) Reset() { 110 *x = FileList{} 111 if protoimpl.UnsafeEnabled { 112 mi := &file_file_list_proto_msgTypes[0] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116} 117 118func (x *FileList) String() string { 119 return protoimpl.X.MessageStringOf(x) 120} 121 122func (*FileList) ProtoMessage() {} 123 124func (x *FileList) ProtoReflect() protoreflect.Message { 125 mi := &file_file_list_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 FileList.ProtoReflect.Descriptor instead. 137func (*FileList) Descriptor() ([]byte, []int) { 138 return file_file_list_proto_rawDescGZIP(), []int{0} 139} 140 141func (x *FileList) GetName() string { 142 if x != nil && x.Name != nil { 143 return *x.Name 144 } 145 return "" 146} 147 148func (x *FileList) GetAdditions() []string { 149 if x != nil { 150 return x.Additions 151 } 152 return nil 153} 154 155func (x *FileList) GetChanges() []string { 156 if x != nil { 157 return x.Changes 158 } 159 return nil 160} 161 162func (x *FileList) GetDeletions() []string { 163 if x != nil { 164 return x.Deletions 165 } 166 return nil 167} 168 169var File_file_list_proto protoreflect.FileDescriptor 170 171var file_file_list_proto_rawDesc = []byte{ 172 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 173 0x6f, 0x12, 0x1e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x66, 0x69, 0x6e, 0x64, 0x5f, 174 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 175 0x6f, 0x22, 0x74, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 176 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 177 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 178 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 179 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 180 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 181 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 182 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x4a, 0x0a, 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 183 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x45, 0x4c, 0x44, 184 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 185 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 186 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x53, 187 0x54, 0x10, 0x01, 0x42, 0x3b, 0x5a, 0x39, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 188 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 189 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x5f, 0x69, 190 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 191} 192 193var ( 194 file_file_list_proto_rawDescOnce sync.Once 195 file_file_list_proto_rawDescData = file_file_list_proto_rawDesc 196) 197 198func file_file_list_proto_rawDescGZIP() []byte { 199 file_file_list_proto_rawDescOnce.Do(func() { 200 file_file_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_file_list_proto_rawDescData) 201 }) 202 return file_file_list_proto_rawDescData 203} 204 205var file_file_list_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 206var file_file_list_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 207var file_file_list_proto_goTypes = []interface{}{ 208 (FieldNumbers)(0), // 0: android.find_input_delta_proto.FieldNumbers 209 (*FileList)(nil), // 1: android.find_input_delta_proto.FileList 210} 211var file_file_list_proto_depIdxs = []int32{ 212 0, // [0:0] is the sub-list for method output_type 213 0, // [0:0] is the sub-list for method input_type 214 0, // [0:0] is the sub-list for extension type_name 215 0, // [0:0] is the sub-list for extension extendee 216 0, // [0:0] is the sub-list for field type_name 217} 218 219func init() { file_file_list_proto_init() } 220func file_file_list_proto_init() { 221 if File_file_list_proto != nil { 222 return 223 } 224 if !protoimpl.UnsafeEnabled { 225 file_file_list_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 226 switch v := v.(*FileList); i { 227 case 0: 228 return &v.state 229 case 1: 230 return &v.sizeCache 231 case 2: 232 return &v.unknownFields 233 default: 234 return nil 235 } 236 } 237 } 238 type x struct{} 239 out := protoimpl.TypeBuilder{ 240 File: protoimpl.DescBuilder{ 241 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 242 RawDescriptor: file_file_list_proto_rawDesc, 243 NumEnums: 1, 244 NumMessages: 1, 245 NumExtensions: 0, 246 NumServices: 0, 247 }, 248 GoTypes: file_file_list_proto_goTypes, 249 DependencyIndexes: file_file_list_proto_depIdxs, 250 EnumInfos: file_file_list_proto_enumTypes, 251 MessageInfos: file_file_list_proto_msgTypes, 252 }.Build() 253 File_file_list_proto = out.File 254 file_file_list_proto_rawDesc = nil 255 file_file_list_proto_goTypes = nil 256 file_file_list_proto_depIdxs = nil 257} 258