go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/generic/meta.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: ligato/generic/meta.proto 6 7 package generic 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type KnownModelsRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` 30 } 31 32 func (x *KnownModelsRequest) Reset() { 33 *x = KnownModelsRequest{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_ligato_generic_meta_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *KnownModelsRequest) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*KnownModelsRequest) ProtoMessage() {} 46 47 func (x *KnownModelsRequest) ProtoReflect() protoreflect.Message { 48 mi := &file_ligato_generic_meta_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use KnownModelsRequest.ProtoReflect.Descriptor instead. 60 func (*KnownModelsRequest) Descriptor() ([]byte, []int) { 61 return file_ligato_generic_meta_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *KnownModelsRequest) GetClass() string { 65 if x != nil { 66 return x.Class 67 } 68 return "" 69 } 70 71 type ProtoFileDescriptorRequest struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 // full_proto_file_name is full name of proto file that is needed to identify it. It has the form 77 // "<proto package name ('.' replaced with '/')>/<simple file name>" (i.e. for this proto model 78 // it is "ligato/generic/meta.proto"). 79 // If you are using rpc ProtoFileDescriptor for additional information retrieve for known models from 80 // rpc KnownModels call, you can use usually present ModelDetail's generic.ModelDetail_Option for 81 // key "protoFile" that is containing full proto file name in correct format. 82 FullProtoFileName string `protobuf:"bytes,1,opt,name=full_proto_file_name,json=fullProtoFileName,proto3" json:"full_proto_file_name,omitempty"` 83 } 84 85 func (x *ProtoFileDescriptorRequest) Reset() { 86 *x = ProtoFileDescriptorRequest{} 87 if protoimpl.UnsafeEnabled { 88 mi := &file_ligato_generic_meta_proto_msgTypes[1] 89 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 90 ms.StoreMessageInfo(mi) 91 } 92 } 93 94 func (x *ProtoFileDescriptorRequest) String() string { 95 return protoimpl.X.MessageStringOf(x) 96 } 97 98 func (*ProtoFileDescriptorRequest) ProtoMessage() {} 99 100 func (x *ProtoFileDescriptorRequest) ProtoReflect() protoreflect.Message { 101 mi := &file_ligato_generic_meta_proto_msgTypes[1] 102 if protoimpl.UnsafeEnabled && x != nil { 103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 104 if ms.LoadMessageInfo() == nil { 105 ms.StoreMessageInfo(mi) 106 } 107 return ms 108 } 109 return mi.MessageOf(x) 110 } 111 112 // Deprecated: Use ProtoFileDescriptorRequest.ProtoReflect.Descriptor instead. 113 func (*ProtoFileDescriptorRequest) Descriptor() ([]byte, []int) { 114 return file_ligato_generic_meta_proto_rawDescGZIP(), []int{1} 115 } 116 117 func (x *ProtoFileDescriptorRequest) GetFullProtoFileName() string { 118 if x != nil { 119 return x.FullProtoFileName 120 } 121 return "" 122 } 123 124 type KnownModelsResponse struct { 125 state protoimpl.MessageState 126 sizeCache protoimpl.SizeCache 127 unknownFields protoimpl.UnknownFields 128 129 KnownModels []*ModelDetail `protobuf:"bytes,1,rep,name=known_models,json=knownModels,proto3" json:"known_models,omitempty"` 130 ActiveModules []string `protobuf:"bytes,2,rep,name=active_modules,json=activeModules,proto3" json:"active_modules,omitempty"` 131 } 132 133 func (x *KnownModelsResponse) Reset() { 134 *x = KnownModelsResponse{} 135 if protoimpl.UnsafeEnabled { 136 mi := &file_ligato_generic_meta_proto_msgTypes[2] 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 ms.StoreMessageInfo(mi) 139 } 140 } 141 142 func (x *KnownModelsResponse) String() string { 143 return protoimpl.X.MessageStringOf(x) 144 } 145 146 func (*KnownModelsResponse) ProtoMessage() {} 147 148 func (x *KnownModelsResponse) ProtoReflect() protoreflect.Message { 149 mi := &file_ligato_generic_meta_proto_msgTypes[2] 150 if protoimpl.UnsafeEnabled && x != nil { 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 if ms.LoadMessageInfo() == nil { 153 ms.StoreMessageInfo(mi) 154 } 155 return ms 156 } 157 return mi.MessageOf(x) 158 } 159 160 // Deprecated: Use KnownModelsResponse.ProtoReflect.Descriptor instead. 161 func (*KnownModelsResponse) Descriptor() ([]byte, []int) { 162 return file_ligato_generic_meta_proto_rawDescGZIP(), []int{2} 163 } 164 165 func (x *KnownModelsResponse) GetKnownModels() []*ModelDetail { 166 if x != nil { 167 return x.KnownModels 168 } 169 return nil 170 } 171 172 func (x *KnownModelsResponse) GetActiveModules() []string { 173 if x != nil { 174 return x.ActiveModules 175 } 176 return nil 177 } 178 179 type ProtoFileDescriptorResponse struct { 180 state protoimpl.MessageState 181 sizeCache protoimpl.SizeCache 182 unknownFields protoimpl.UnknownFields 183 184 // file_descriptor is proto message representing proto file descriptor 185 FileDescriptor *descriptorpb.FileDescriptorProto `protobuf:"bytes,1,opt,name=file_descriptor,json=fileDescriptor,proto3" json:"file_descriptor,omitempty"` 186 // file_import_descriptors is set of file descriptors that the file_descriptor is using as import. This 187 // is needed when converting file descriptor proto to protoreflect.FileDescriptor (using 188 // "google.golang.org/protobuf/reflect/protodesc".NewFile(...) ) 189 FileImportDescriptors *descriptorpb.FileDescriptorSet `protobuf:"bytes,2,opt,name=file_import_descriptors,json=fileImportDescriptors,proto3" json:"file_import_descriptors,omitempty"` 190 } 191 192 func (x *ProtoFileDescriptorResponse) Reset() { 193 *x = ProtoFileDescriptorResponse{} 194 if protoimpl.UnsafeEnabled { 195 mi := &file_ligato_generic_meta_proto_msgTypes[3] 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 197 ms.StoreMessageInfo(mi) 198 } 199 } 200 201 func (x *ProtoFileDescriptorResponse) String() string { 202 return protoimpl.X.MessageStringOf(x) 203 } 204 205 func (*ProtoFileDescriptorResponse) ProtoMessage() {} 206 207 func (x *ProtoFileDescriptorResponse) ProtoReflect() protoreflect.Message { 208 mi := &file_ligato_generic_meta_proto_msgTypes[3] 209 if protoimpl.UnsafeEnabled && x != nil { 210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 211 if ms.LoadMessageInfo() == nil { 212 ms.StoreMessageInfo(mi) 213 } 214 return ms 215 } 216 return mi.MessageOf(x) 217 } 218 219 // Deprecated: Use ProtoFileDescriptorResponse.ProtoReflect.Descriptor instead. 220 func (*ProtoFileDescriptorResponse) Descriptor() ([]byte, []int) { 221 return file_ligato_generic_meta_proto_rawDescGZIP(), []int{3} 222 } 223 224 func (x *ProtoFileDescriptorResponse) GetFileDescriptor() *descriptorpb.FileDescriptorProto { 225 if x != nil { 226 return x.FileDescriptor 227 } 228 return nil 229 } 230 231 func (x *ProtoFileDescriptorResponse) GetFileImportDescriptors() *descriptorpb.FileDescriptorSet { 232 if x != nil { 233 return x.FileImportDescriptors 234 } 235 return nil 236 } 237 238 var File_ligato_generic_meta_proto protoreflect.FileDescriptor 239 240 var file_ligato_generic_meta_proto_rawDesc = []byte{ 241 0x0a, 0x19, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 242 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6c, 0x69, 0x67, 243 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 244 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 245 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6c, 246 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2f, 0x6d, 0x6f, 247 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x12, 0x4b, 0x6e, 0x6f, 248 0x77, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 249 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 250 0x63, 0x6c, 0x61, 0x73, 0x73, 0x22, 0x4d, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 251 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 252 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x74, 253 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 254 0x09, 0x52, 0x11, 0x66, 0x75, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 255 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7c, 0x0a, 0x13, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x6f, 0x64, 256 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x6b, 257 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 258 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 259 0x69, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0b, 260 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 261 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 262 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 263 0x65, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x1b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 264 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 265 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 266 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 267 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 268 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 269 0x6f, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 270 0x72, 0x12, 0x5a, 0x0a, 0x17, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 271 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 272 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 273 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 274 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x52, 0x15, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x70, 0x6f, 275 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x32, 0xd5, 0x01, 276 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 277 0x0b, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x22, 0x2e, 0x6c, 278 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x4b, 0x6e, 279 0x6f, 0x77, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 280 0x1a, 0x23, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 281 0x63, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 282 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 283 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x2e, 0x6c, 284 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x50, 0x72, 285 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 286 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 287 0x6f, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 288 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 289 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 290 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 291 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 292 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 293 } 294 295 var ( 296 file_ligato_generic_meta_proto_rawDescOnce sync.Once 297 file_ligato_generic_meta_proto_rawDescData = file_ligato_generic_meta_proto_rawDesc 298 ) 299 300 func file_ligato_generic_meta_proto_rawDescGZIP() []byte { 301 file_ligato_generic_meta_proto_rawDescOnce.Do(func() { 302 file_ligato_generic_meta_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_generic_meta_proto_rawDescData) 303 }) 304 return file_ligato_generic_meta_proto_rawDescData 305 } 306 307 var file_ligato_generic_meta_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 308 var file_ligato_generic_meta_proto_goTypes = []interface{}{ 309 (*KnownModelsRequest)(nil), // 0: ligato.generic.KnownModelsRequest 310 (*ProtoFileDescriptorRequest)(nil), // 1: ligato.generic.ProtoFileDescriptorRequest 311 (*KnownModelsResponse)(nil), // 2: ligato.generic.KnownModelsResponse 312 (*ProtoFileDescriptorResponse)(nil), // 3: ligato.generic.ProtoFileDescriptorResponse 313 (*ModelDetail)(nil), // 4: ligato.generic.ModelDetail 314 (*descriptorpb.FileDescriptorProto)(nil), // 5: google.protobuf.FileDescriptorProto 315 (*descriptorpb.FileDescriptorSet)(nil), // 6: google.protobuf.FileDescriptorSet 316 } 317 var file_ligato_generic_meta_proto_depIdxs = []int32{ 318 4, // 0: ligato.generic.KnownModelsResponse.known_models:type_name -> ligato.generic.ModelDetail 319 5, // 1: ligato.generic.ProtoFileDescriptorResponse.file_descriptor:type_name -> google.protobuf.FileDescriptorProto 320 6, // 2: ligato.generic.ProtoFileDescriptorResponse.file_import_descriptors:type_name -> google.protobuf.FileDescriptorSet 321 0, // 3: ligato.generic.MetaService.KnownModels:input_type -> ligato.generic.KnownModelsRequest 322 1, // 4: ligato.generic.MetaService.ProtoFileDescriptor:input_type -> ligato.generic.ProtoFileDescriptorRequest 323 2, // 5: ligato.generic.MetaService.KnownModels:output_type -> ligato.generic.KnownModelsResponse 324 3, // 6: ligato.generic.MetaService.ProtoFileDescriptor:output_type -> ligato.generic.ProtoFileDescriptorResponse 325 5, // [5:7] is the sub-list for method output_type 326 3, // [3:5] is the sub-list for method input_type 327 3, // [3:3] is the sub-list for extension type_name 328 3, // [3:3] is the sub-list for extension extendee 329 0, // [0:3] is the sub-list for field type_name 330 } 331 332 func init() { file_ligato_generic_meta_proto_init() } 333 func file_ligato_generic_meta_proto_init() { 334 if File_ligato_generic_meta_proto != nil { 335 return 336 } 337 file_ligato_generic_model_proto_init() 338 if !protoimpl.UnsafeEnabled { 339 file_ligato_generic_meta_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 340 switch v := v.(*KnownModelsRequest); i { 341 case 0: 342 return &v.state 343 case 1: 344 return &v.sizeCache 345 case 2: 346 return &v.unknownFields 347 default: 348 return nil 349 } 350 } 351 file_ligato_generic_meta_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 352 switch v := v.(*ProtoFileDescriptorRequest); i { 353 case 0: 354 return &v.state 355 case 1: 356 return &v.sizeCache 357 case 2: 358 return &v.unknownFields 359 default: 360 return nil 361 } 362 } 363 file_ligato_generic_meta_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 364 switch v := v.(*KnownModelsResponse); i { 365 case 0: 366 return &v.state 367 case 1: 368 return &v.sizeCache 369 case 2: 370 return &v.unknownFields 371 default: 372 return nil 373 } 374 } 375 file_ligato_generic_meta_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 376 switch v := v.(*ProtoFileDescriptorResponse); i { 377 case 0: 378 return &v.state 379 case 1: 380 return &v.sizeCache 381 case 2: 382 return &v.unknownFields 383 default: 384 return nil 385 } 386 } 387 } 388 type x struct{} 389 out := protoimpl.TypeBuilder{ 390 File: protoimpl.DescBuilder{ 391 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 392 RawDescriptor: file_ligato_generic_meta_proto_rawDesc, 393 NumEnums: 0, 394 NumMessages: 4, 395 NumExtensions: 0, 396 NumServices: 1, 397 }, 398 GoTypes: file_ligato_generic_meta_proto_goTypes, 399 DependencyIndexes: file_ligato_generic_meta_proto_depIdxs, 400 MessageInfos: file_ligato_generic_meta_proto_msgTypes, 401 }.Build() 402 File_ligato_generic_meta_proto = out.File 403 file_ligato_generic_meta_proto_rawDesc = nil 404 file_ligato_generic_meta_proto_goTypes = nil 405 file_ligato_generic_meta_proto_depIdxs = nil 406 }