github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/wasm/v3/wasm.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/extensions/wasm/v3/wasm.proto 6 7 package envoy_extensions_wasm_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 any "github.com/golang/protobuf/ptypes/any" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // This is a compile-time assertion that a sufficiently up-to-date version 29 // of the legacy proto package is being used. 30 const _ = proto.ProtoPackageIsVersion4 31 32 // Configuration for restricting Proxy-Wasm capabilities available to modules. 33 type CapabilityRestrictionConfig struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by 39 // name. The *SanitizationConfig* which each capability maps to is currently unimplemented and ignored, 40 // and so should be left empty. 41 // 42 // The capability names are given in the 43 // `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_. 44 // Additionally, the following WASI capabilities from 45 // `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_ 46 // are implemented and can be allowed: 47 // *fd_write*, *fd_read*, *fd_seek*, *fd_close*, *fd_fdstat_get*, *environ_get*, *environ_sizes_get*, 48 // *args_get*, *args_sizes_get*, *proc_exit*, *clock_time_get*, *random_get*. 49 AllowedCapabilities map[string]*SanitizationConfig `protobuf:"bytes,1,rep,name=allowed_capabilities,json=allowedCapabilities,proto3" json:"allowed_capabilities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 50 } 51 52 func (x *CapabilityRestrictionConfig) Reset() { 53 *x = CapabilityRestrictionConfig{} 54 if protoimpl.UnsafeEnabled { 55 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[0] 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 ms.StoreMessageInfo(mi) 58 } 59 } 60 61 func (x *CapabilityRestrictionConfig) String() string { 62 return protoimpl.X.MessageStringOf(x) 63 } 64 65 func (*CapabilityRestrictionConfig) ProtoMessage() {} 66 67 func (x *CapabilityRestrictionConfig) ProtoReflect() protoreflect.Message { 68 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[0] 69 if protoimpl.UnsafeEnabled && x != nil { 70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 71 if ms.LoadMessageInfo() == nil { 72 ms.StoreMessageInfo(mi) 73 } 74 return ms 75 } 76 return mi.MessageOf(x) 77 } 78 79 // Deprecated: Use CapabilityRestrictionConfig.ProtoReflect.Descriptor instead. 80 func (*CapabilityRestrictionConfig) Descriptor() ([]byte, []int) { 81 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP(), []int{0} 82 } 83 84 func (x *CapabilityRestrictionConfig) GetAllowedCapabilities() map[string]*SanitizationConfig { 85 if x != nil { 86 return x.AllowedCapabilities 87 } 88 return nil 89 } 90 91 // Configuration for sanitization of inputs to an allowed capability. 92 // 93 // NOTE: This is currently unimplemented. 94 type SanitizationConfig struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 } 99 100 func (x *SanitizationConfig) Reset() { 101 *x = SanitizationConfig{} 102 if protoimpl.UnsafeEnabled { 103 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[1] 104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 105 ms.StoreMessageInfo(mi) 106 } 107 } 108 109 func (x *SanitizationConfig) String() string { 110 return protoimpl.X.MessageStringOf(x) 111 } 112 113 func (*SanitizationConfig) ProtoMessage() {} 114 115 func (x *SanitizationConfig) ProtoReflect() protoreflect.Message { 116 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[1] 117 if protoimpl.UnsafeEnabled && x != nil { 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 if ms.LoadMessageInfo() == nil { 120 ms.StoreMessageInfo(mi) 121 } 122 return ms 123 } 124 return mi.MessageOf(x) 125 } 126 127 // Deprecated: Use SanitizationConfig.ProtoReflect.Descriptor instead. 128 func (*SanitizationConfig) Descriptor() ([]byte, []int) { 129 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP(), []int{1} 130 } 131 132 // Configuration for a Wasm VM. 133 // [#next-free-field: 8] 134 type VmConfig struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 // An ID which will be used along with a hash of the wasm code (or the name of the registered Null 140 // VM plugin) to determine which VM will be used for the plugin. All plugins which use the same 141 // *vm_id* and code will use the same VM. May be left blank. Sharing a VM between plugins can 142 // reduce memory utilization and make sharing of data easier which may have security implications. 143 // [#comment: TODO: add ref for details.] 144 VmId string `protobuf:"bytes,1,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` 145 // The Wasm runtime type. 146 // Available Wasm runtime types are registered as extensions. The following runtimes are included 147 // in Envoy code base: 148 // 149 // .. _extension_envoy.wasm.runtime.null: 150 // 151 // **envoy.wasm.runtime.null**: Null sandbox, the Wasm module must be compiled and linked into the 152 // Envoy binary. The registered name is given in the *code* field as *inline_string*. 153 // 154 // .. _extension_envoy.wasm.runtime.v8: 155 // 156 // **envoy.wasm.runtime.v8**: `V8 <https://v8.dev/>`_-based WebAssembly runtime. 157 // 158 // .. _extension_envoy.wasm.runtime.wamr: 159 // 160 // **envoy.wasm.runtime.wamr**: `WAMR <https://github.com/bytecodealliance/wasm-micro-runtime/>`_-based WebAssembly runtime. 161 // This runtime is not enabled in the official build. 162 // 163 // .. _extension_envoy.wasm.runtime.wavm: 164 // 165 // **envoy.wasm.runtime.wavm**: `WAVM <https://wavm.github.io/>`_-based WebAssembly runtime. 166 // This runtime is not enabled in the official build. 167 // 168 // .. _extension_envoy.wasm.runtime.wasmtime: 169 // 170 // **envoy.wasm.runtime.wasmtime**: `Wasmtime <https://wasmtime.dev/>`_-based WebAssembly runtime. 171 // This runtime is not enabled in the official build. 172 // 173 // [#extension-category: envoy.wasm.runtime] 174 Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` 175 // The Wasm code that Envoy will execute. 176 Code *v3.AsyncDataSource `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` 177 // The Wasm configuration used in initialization of a new VM 178 // (proxy_on_start). `google.protobuf.Struct` is serialized as JSON before 179 // passing it to the plugin. `google.protobuf.BytesValue` and 180 // `google.protobuf.StringValue` are passed directly without the wrapper. 181 Configuration *any.Any `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` 182 // Allow the wasm file to include pre-compiled code on VMs which support it. 183 // Warning: this should only be enable for trusted sources as the precompiled code is not 184 // verified. 185 AllowPrecompiled bool `protobuf:"varint,5,opt,name=allow_precompiled,json=allowPrecompiled,proto3" json:"allow_precompiled,omitempty"` 186 // If true and the code needs to be remotely fetched and it is not in the cache then NACK the configuration 187 // update and do a background fetch to fill the cache, otherwise fetch the code asynchronously and enter 188 // warming state. 189 NackOnCodeCacheMiss bool `protobuf:"varint,6,opt,name=nack_on_code_cache_miss,json=nackOnCodeCacheMiss,proto3" json:"nack_on_code_cache_miss,omitempty"` 190 // Specifies environment variables to be injected to this VM which will be available through 191 // WASI's ``environ_get`` and ``environ_get_sizes`` system calls. Note that these functions are mostly implicitly 192 // called in your language's standard library, so you do not need to call them directly and you can access to env 193 // vars just like when you do on native platforms. 194 // Warning: Envoy rejects the configuration if there's conflict of key space. 195 EnvironmentVariables *EnvironmentVariables `protobuf:"bytes,7,opt,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` 196 } 197 198 func (x *VmConfig) Reset() { 199 *x = VmConfig{} 200 if protoimpl.UnsafeEnabled { 201 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[2] 202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 203 ms.StoreMessageInfo(mi) 204 } 205 } 206 207 func (x *VmConfig) String() string { 208 return protoimpl.X.MessageStringOf(x) 209 } 210 211 func (*VmConfig) ProtoMessage() {} 212 213 func (x *VmConfig) ProtoReflect() protoreflect.Message { 214 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[2] 215 if protoimpl.UnsafeEnabled && x != nil { 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 217 if ms.LoadMessageInfo() == nil { 218 ms.StoreMessageInfo(mi) 219 } 220 return ms 221 } 222 return mi.MessageOf(x) 223 } 224 225 // Deprecated: Use VmConfig.ProtoReflect.Descriptor instead. 226 func (*VmConfig) Descriptor() ([]byte, []int) { 227 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP(), []int{2} 228 } 229 230 func (x *VmConfig) GetVmId() string { 231 if x != nil { 232 return x.VmId 233 } 234 return "" 235 } 236 237 func (x *VmConfig) GetRuntime() string { 238 if x != nil { 239 return x.Runtime 240 } 241 return "" 242 } 243 244 func (x *VmConfig) GetCode() *v3.AsyncDataSource { 245 if x != nil { 246 return x.Code 247 } 248 return nil 249 } 250 251 func (x *VmConfig) GetConfiguration() *any.Any { 252 if x != nil { 253 return x.Configuration 254 } 255 return nil 256 } 257 258 func (x *VmConfig) GetAllowPrecompiled() bool { 259 if x != nil { 260 return x.AllowPrecompiled 261 } 262 return false 263 } 264 265 func (x *VmConfig) GetNackOnCodeCacheMiss() bool { 266 if x != nil { 267 return x.NackOnCodeCacheMiss 268 } 269 return false 270 } 271 272 func (x *VmConfig) GetEnvironmentVariables() *EnvironmentVariables { 273 if x != nil { 274 return x.EnvironmentVariables 275 } 276 return nil 277 } 278 279 type EnvironmentVariables struct { 280 state protoimpl.MessageState 281 sizeCache protoimpl.SizeCache 282 unknownFields protoimpl.UnknownFields 283 284 // The keys of *Envoy's* environment variables exposed to this VM. In other words, if a key exists in Envoy's environment 285 // variables, then that key-value pair will be injected. Note that if a key does not exist, it will be ignored. 286 HostEnvKeys []string `protobuf:"bytes,1,rep,name=host_env_keys,json=hostEnvKeys,proto3" json:"host_env_keys,omitempty"` 287 // Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE". 288 KeyValues map[string]string `protobuf:"bytes,2,rep,name=key_values,json=keyValues,proto3" json:"key_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 289 } 290 291 func (x *EnvironmentVariables) Reset() { 292 *x = EnvironmentVariables{} 293 if protoimpl.UnsafeEnabled { 294 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[3] 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 ms.StoreMessageInfo(mi) 297 } 298 } 299 300 func (x *EnvironmentVariables) String() string { 301 return protoimpl.X.MessageStringOf(x) 302 } 303 304 func (*EnvironmentVariables) ProtoMessage() {} 305 306 func (x *EnvironmentVariables) ProtoReflect() protoreflect.Message { 307 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[3] 308 if protoimpl.UnsafeEnabled && x != nil { 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 if ms.LoadMessageInfo() == nil { 311 ms.StoreMessageInfo(mi) 312 } 313 return ms 314 } 315 return mi.MessageOf(x) 316 } 317 318 // Deprecated: Use EnvironmentVariables.ProtoReflect.Descriptor instead. 319 func (*EnvironmentVariables) Descriptor() ([]byte, []int) { 320 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP(), []int{3} 321 } 322 323 func (x *EnvironmentVariables) GetHostEnvKeys() []string { 324 if x != nil { 325 return x.HostEnvKeys 326 } 327 return nil 328 } 329 330 func (x *EnvironmentVariables) GetKeyValues() map[string]string { 331 if x != nil { 332 return x.KeyValues 333 } 334 return nil 335 } 336 337 // Base Configuration for Wasm Plugins e.g. filters and services. 338 // [#next-free-field: 7] 339 type PluginConfig struct { 340 state protoimpl.MessageState 341 sizeCache protoimpl.SizeCache 342 unknownFields protoimpl.UnknownFields 343 344 // A unique name for a filters/services in a VM for use in identifying the filter/service if 345 // multiple filters/services are handled by the same *vm_id* and *root_id* and for 346 // logging/debugging. 347 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 348 // A unique ID for a set of filters/services in a VM which will share a RootContext and Contexts 349 // if applicable (e.g. an Wasm HttpFilter and an Wasm AccessLog). If left blank, all 350 // filters/services with a blank root_id with the same *vm_id* will share Context(s). 351 RootId string `protobuf:"bytes,2,opt,name=root_id,json=rootId,proto3" json:"root_id,omitempty"` 352 // Configuration for finding or starting VM. 353 // 354 // Types that are assignable to Vm: 355 // *PluginConfig_VmConfig 356 Vm isPluginConfig_Vm `protobuf_oneof:"vm"` 357 // Filter/service configuration used to configure or reconfigure a plugin 358 // (proxy_on_configuration). 359 // `google.protobuf.Struct` is serialized as JSON before 360 // passing it to the plugin. `google.protobuf.BytesValue` and 361 // `google.protobuf.StringValue` are passed directly without the wrapper. 362 Configuration *any.Any `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` 363 // If there is a fatal error on the VM (e.g. exception, abort(), on_start or on_configure return false), 364 // then all plugins associated with the VM will either fail closed (by default), e.g. by returning an HTTP 503 error, 365 // or fail open (if 'fail_open' is set to true) by bypassing the filter. Note: when on_start or on_configure return false 366 // during xDS updates the xDS configuration will be rejected and when on_start or on_configuration return false on initial 367 // startup the proxy will not start. 368 FailOpen bool `protobuf:"varint,5,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"` 369 // Configuration for restricting Proxy-Wasm capabilities available to modules. 370 CapabilityRestrictionConfig *CapabilityRestrictionConfig `protobuf:"bytes,6,opt,name=capability_restriction_config,json=capabilityRestrictionConfig,proto3" json:"capability_restriction_config,omitempty"` 371 } 372 373 func (x *PluginConfig) Reset() { 374 *x = PluginConfig{} 375 if protoimpl.UnsafeEnabled { 376 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[4] 377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 378 ms.StoreMessageInfo(mi) 379 } 380 } 381 382 func (x *PluginConfig) String() string { 383 return protoimpl.X.MessageStringOf(x) 384 } 385 386 func (*PluginConfig) ProtoMessage() {} 387 388 func (x *PluginConfig) ProtoReflect() protoreflect.Message { 389 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[4] 390 if protoimpl.UnsafeEnabled && x != nil { 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 if ms.LoadMessageInfo() == nil { 393 ms.StoreMessageInfo(mi) 394 } 395 return ms 396 } 397 return mi.MessageOf(x) 398 } 399 400 // Deprecated: Use PluginConfig.ProtoReflect.Descriptor instead. 401 func (*PluginConfig) Descriptor() ([]byte, []int) { 402 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP(), []int{4} 403 } 404 405 func (x *PluginConfig) GetName() string { 406 if x != nil { 407 return x.Name 408 } 409 return "" 410 } 411 412 func (x *PluginConfig) GetRootId() string { 413 if x != nil { 414 return x.RootId 415 } 416 return "" 417 } 418 419 func (m *PluginConfig) GetVm() isPluginConfig_Vm { 420 if m != nil { 421 return m.Vm 422 } 423 return nil 424 } 425 426 func (x *PluginConfig) GetVmConfig() *VmConfig { 427 if x, ok := x.GetVm().(*PluginConfig_VmConfig); ok { 428 return x.VmConfig 429 } 430 return nil 431 } 432 433 func (x *PluginConfig) GetConfiguration() *any.Any { 434 if x != nil { 435 return x.Configuration 436 } 437 return nil 438 } 439 440 func (x *PluginConfig) GetFailOpen() bool { 441 if x != nil { 442 return x.FailOpen 443 } 444 return false 445 } 446 447 func (x *PluginConfig) GetCapabilityRestrictionConfig() *CapabilityRestrictionConfig { 448 if x != nil { 449 return x.CapabilityRestrictionConfig 450 } 451 return nil 452 } 453 454 type isPluginConfig_Vm interface { 455 isPluginConfig_Vm() 456 } 457 458 type PluginConfig_VmConfig struct { 459 VmConfig *VmConfig `protobuf:"bytes,3,opt,name=vm_config,json=vmConfig,proto3,oneof"` // TODO: add referential VM configurations. 460 } 461 462 func (*PluginConfig_VmConfig) isPluginConfig_Vm() {} 463 464 // WasmService is configured as a built-in *envoy.wasm_service* :ref:`WasmService 465 // <config_wasm_service>` This opaque configuration will be used to create a Wasm Service. 466 type WasmService struct { 467 state protoimpl.MessageState 468 sizeCache protoimpl.SizeCache 469 unknownFields protoimpl.UnknownFields 470 471 // General plugin configuration. 472 Config *PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 473 // If true, create a single VM rather than creating one VM per worker. Such a singleton can 474 // not be used with filters. 475 Singleton bool `protobuf:"varint,2,opt,name=singleton,proto3" json:"singleton,omitempty"` 476 } 477 478 func (x *WasmService) Reset() { 479 *x = WasmService{} 480 if protoimpl.UnsafeEnabled { 481 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[5] 482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 483 ms.StoreMessageInfo(mi) 484 } 485 } 486 487 func (x *WasmService) String() string { 488 return protoimpl.X.MessageStringOf(x) 489 } 490 491 func (*WasmService) ProtoMessage() {} 492 493 func (x *WasmService) ProtoReflect() protoreflect.Message { 494 mi := &file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[5] 495 if protoimpl.UnsafeEnabled && x != nil { 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 if ms.LoadMessageInfo() == nil { 498 ms.StoreMessageInfo(mi) 499 } 500 return ms 501 } 502 return mi.MessageOf(x) 503 } 504 505 // Deprecated: Use WasmService.ProtoReflect.Descriptor instead. 506 func (*WasmService) Descriptor() ([]byte, []int) { 507 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP(), []int{5} 508 } 509 510 func (x *WasmService) GetConfig() *PluginConfig { 511 if x != nil { 512 return x.Config 513 } 514 return nil 515 } 516 517 func (x *WasmService) GetSingleton() bool { 518 if x != nil { 519 return x.Singleton 520 } 521 return false 522 } 523 524 var File_envoy_extensions_wasm_v3_wasm_proto protoreflect.FileDescriptor 525 526 var file_envoy_extensions_wasm_v3_wasm_proto_rawDesc = []byte{ 527 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 528 0x6e, 0x73, 0x2f, 0x77, 0x61, 0x73, 0x6d, 0x2f, 0x76, 0x33, 0x2f, 0x77, 0x61, 0x73, 0x6d, 0x2e, 529 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 530 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x1a, 531 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 532 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 533 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 534 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 535 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 536 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 537 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 538 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x1b, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 539 0x74, 0x79, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 540 0x66, 0x69, 0x67, 0x12, 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 541 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 542 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 543 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x61, 544 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 545 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 546 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 547 0x72, 0x79, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 548 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x74, 0x0a, 0x18, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 549 0x65, 0x64, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 550 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 551 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 552 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 553 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 554 0x53, 0x61, 0x6e, 0x69, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 555 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 556 0x12, 0x53, 0x61, 0x6e, 0x69, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 557 0x66, 0x69, 0x67, 0x22, 0x81, 0x03, 0x0a, 0x08, 0x56, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 558 0x12, 0x13, 0x0a, 0x05, 0x76, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 559 0x04, 0x76, 0x6d, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 560 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 561 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 562 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 563 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x73, 564 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x63, 565 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 566 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 567 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 568 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 569 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x70, 570 0x69, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 571 0x77, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x17, 572 0x6e, 0x61, 0x63, 0x6b, 0x5f, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x61, 0x63, 573 0x68, 0x65, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6e, 574 0x61, 0x63, 0x6b, 0x4f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4d, 0x69, 575 0x73, 0x73, 0x12, 0x63, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 576 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 577 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 578 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x76, 579 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 580 0x73, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 581 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0xd6, 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x76, 0x69, 582 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 583 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x76, 0x5f, 0x6b, 0x65, 0x79, 584 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x76, 585 0x4b, 0x65, 0x79, 0x73, 0x12, 0x5c, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 586 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 587 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 588 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 589 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 590 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 591 0x65, 0x73, 0x1a, 0x3c, 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 592 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 593 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 594 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 595 0x22, 0xd8, 0x02, 0x0a, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 596 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 597 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x69, 0x64, 598 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x41, 599 0x0a, 0x09, 0x76, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 600 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 601 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x6d, 0x43, 602 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x08, 0x76, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 603 0x67, 0x12, 0x3a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 604 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 605 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0d, 606 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 607 0x09, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 608 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x79, 0x0a, 0x1d, 0x63, 0x61, 609 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 610 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 611 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 612 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x61, 0x70, 613 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 614 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x1b, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 615 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 616 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x04, 0x0a, 0x02, 0x76, 0x6d, 0x22, 0x6b, 0x0a, 0x0b, 0x57, 617 0x61, 0x73, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x63, 0x6f, 618 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 619 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 620 0x73, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 621 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 622 0x6e, 0x67, 0x6c, 0x65, 0x74, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 623 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x74, 0x6f, 0x6e, 0x42, 0x3d, 0x0a, 0x26, 0x69, 0x6f, 0x2e, 0x65, 624 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 625 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x73, 0x6d, 0x2e, 626 0x76, 0x33, 0x42, 0x09, 0x57, 0x61, 0x73, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 627 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 628 } 629 630 var ( 631 file_envoy_extensions_wasm_v3_wasm_proto_rawDescOnce sync.Once 632 file_envoy_extensions_wasm_v3_wasm_proto_rawDescData = file_envoy_extensions_wasm_v3_wasm_proto_rawDesc 633 ) 634 635 func file_envoy_extensions_wasm_v3_wasm_proto_rawDescGZIP() []byte { 636 file_envoy_extensions_wasm_v3_wasm_proto_rawDescOnce.Do(func() { 637 file_envoy_extensions_wasm_v3_wasm_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_wasm_v3_wasm_proto_rawDescData) 638 }) 639 return file_envoy_extensions_wasm_v3_wasm_proto_rawDescData 640 } 641 642 var file_envoy_extensions_wasm_v3_wasm_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 643 var file_envoy_extensions_wasm_v3_wasm_proto_goTypes = []interface{}{ 644 (*CapabilityRestrictionConfig)(nil), // 0: envoy.extensions.wasm.v3.CapabilityRestrictionConfig 645 (*SanitizationConfig)(nil), // 1: envoy.extensions.wasm.v3.SanitizationConfig 646 (*VmConfig)(nil), // 2: envoy.extensions.wasm.v3.VmConfig 647 (*EnvironmentVariables)(nil), // 3: envoy.extensions.wasm.v3.EnvironmentVariables 648 (*PluginConfig)(nil), // 4: envoy.extensions.wasm.v3.PluginConfig 649 (*WasmService)(nil), // 5: envoy.extensions.wasm.v3.WasmService 650 nil, // 6: envoy.extensions.wasm.v3.CapabilityRestrictionConfig.AllowedCapabilitiesEntry 651 nil, // 7: envoy.extensions.wasm.v3.EnvironmentVariables.KeyValuesEntry 652 (*v3.AsyncDataSource)(nil), // 8: envoy.config.core.v3.AsyncDataSource 653 (*any.Any)(nil), // 9: google.protobuf.Any 654 } 655 var file_envoy_extensions_wasm_v3_wasm_proto_depIdxs = []int32{ 656 6, // 0: envoy.extensions.wasm.v3.CapabilityRestrictionConfig.allowed_capabilities:type_name -> envoy.extensions.wasm.v3.CapabilityRestrictionConfig.AllowedCapabilitiesEntry 657 8, // 1: envoy.extensions.wasm.v3.VmConfig.code:type_name -> envoy.config.core.v3.AsyncDataSource 658 9, // 2: envoy.extensions.wasm.v3.VmConfig.configuration:type_name -> google.protobuf.Any 659 3, // 3: envoy.extensions.wasm.v3.VmConfig.environment_variables:type_name -> envoy.extensions.wasm.v3.EnvironmentVariables 660 7, // 4: envoy.extensions.wasm.v3.EnvironmentVariables.key_values:type_name -> envoy.extensions.wasm.v3.EnvironmentVariables.KeyValuesEntry 661 2, // 5: envoy.extensions.wasm.v3.PluginConfig.vm_config:type_name -> envoy.extensions.wasm.v3.VmConfig 662 9, // 6: envoy.extensions.wasm.v3.PluginConfig.configuration:type_name -> google.protobuf.Any 663 0, // 7: envoy.extensions.wasm.v3.PluginConfig.capability_restriction_config:type_name -> envoy.extensions.wasm.v3.CapabilityRestrictionConfig 664 4, // 8: envoy.extensions.wasm.v3.WasmService.config:type_name -> envoy.extensions.wasm.v3.PluginConfig 665 1, // 9: envoy.extensions.wasm.v3.CapabilityRestrictionConfig.AllowedCapabilitiesEntry.value:type_name -> envoy.extensions.wasm.v3.SanitizationConfig 666 10, // [10:10] is the sub-list for method output_type 667 10, // [10:10] is the sub-list for method input_type 668 10, // [10:10] is the sub-list for extension type_name 669 10, // [10:10] is the sub-list for extension extendee 670 0, // [0:10] is the sub-list for field type_name 671 } 672 673 func init() { file_envoy_extensions_wasm_v3_wasm_proto_init() } 674 func file_envoy_extensions_wasm_v3_wasm_proto_init() { 675 if File_envoy_extensions_wasm_v3_wasm_proto != nil { 676 return 677 } 678 if !protoimpl.UnsafeEnabled { 679 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 680 switch v := v.(*CapabilityRestrictionConfig); i { 681 case 0: 682 return &v.state 683 case 1: 684 return &v.sizeCache 685 case 2: 686 return &v.unknownFields 687 default: 688 return nil 689 } 690 } 691 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 692 switch v := v.(*SanitizationConfig); i { 693 case 0: 694 return &v.state 695 case 1: 696 return &v.sizeCache 697 case 2: 698 return &v.unknownFields 699 default: 700 return nil 701 } 702 } 703 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 704 switch v := v.(*VmConfig); i { 705 case 0: 706 return &v.state 707 case 1: 708 return &v.sizeCache 709 case 2: 710 return &v.unknownFields 711 default: 712 return nil 713 } 714 } 715 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 716 switch v := v.(*EnvironmentVariables); i { 717 case 0: 718 return &v.state 719 case 1: 720 return &v.sizeCache 721 case 2: 722 return &v.unknownFields 723 default: 724 return nil 725 } 726 } 727 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 728 switch v := v.(*PluginConfig); i { 729 case 0: 730 return &v.state 731 case 1: 732 return &v.sizeCache 733 case 2: 734 return &v.unknownFields 735 default: 736 return nil 737 } 738 } 739 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 740 switch v := v.(*WasmService); i { 741 case 0: 742 return &v.state 743 case 1: 744 return &v.sizeCache 745 case 2: 746 return &v.unknownFields 747 default: 748 return nil 749 } 750 } 751 } 752 file_envoy_extensions_wasm_v3_wasm_proto_msgTypes[4].OneofWrappers = []interface{}{ 753 (*PluginConfig_VmConfig)(nil), 754 } 755 type x struct{} 756 out := protoimpl.TypeBuilder{ 757 File: protoimpl.DescBuilder{ 758 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 759 RawDescriptor: file_envoy_extensions_wasm_v3_wasm_proto_rawDesc, 760 NumEnums: 0, 761 NumMessages: 8, 762 NumExtensions: 0, 763 NumServices: 0, 764 }, 765 GoTypes: file_envoy_extensions_wasm_v3_wasm_proto_goTypes, 766 DependencyIndexes: file_envoy_extensions_wasm_v3_wasm_proto_depIdxs, 767 MessageInfos: file_envoy_extensions_wasm_v3_wasm_proto_msgTypes, 768 }.Build() 769 File_envoy_extensions_wasm_v3_wasm_proto = out.File 770 file_envoy_extensions_wasm_v3_wasm_proto_rawDesc = nil 771 file_envoy_extensions_wasm_v3_wasm_proto_goTypes = nil 772 file_envoy_extensions_wasm_v3_wasm_proto_depIdxs = nil 773 }