1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: envoy/config/wasm/v2alpha/wasm.proto 3 4package envoy_config_wasm_v2alpha 5 6import ( 7 fmt "fmt" 8 _ "github.com/cncf/udpa/go/udpa/annotations" 9 core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" 10 _ "github.com/envoyproxy/protoc-gen-validate/validate" 11 proto "github.com/golang/protobuf/proto" 12 any "github.com/golang/protobuf/ptypes/any" 13 math "math" 14) 15 16// Reference imports to suppress errors if they are not otherwise used. 17var _ = proto.Marshal 18var _ = fmt.Errorf 19var _ = math.Inf 20 21// This is a compile-time assertion to ensure that this generated file 22// is compatible with the proto package it is being compiled against. 23// A compilation error at this line likely means your copy of the 24// proto package needs to be updated. 25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 26 27type VmConfig struct { 28 VmId string `protobuf:"bytes,1,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` 29 Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` 30 Code *core.AsyncDataSource `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` 31 Configuration *any.Any `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` 32 AllowPrecompiled bool `protobuf:"varint,5,opt,name=allow_precompiled,json=allowPrecompiled,proto3" json:"allow_precompiled,omitempty"` 33 XXX_NoUnkeyedLiteral struct{} `json:"-"` 34 XXX_unrecognized []byte `json:"-"` 35 XXX_sizecache int32 `json:"-"` 36} 37 38func (m *VmConfig) Reset() { *m = VmConfig{} } 39func (m *VmConfig) String() string { return proto.CompactTextString(m) } 40func (*VmConfig) ProtoMessage() {} 41func (*VmConfig) Descriptor() ([]byte, []int) { 42 return fileDescriptor_c998f9bead5e7045, []int{0} 43} 44 45func (m *VmConfig) XXX_Unmarshal(b []byte) error { 46 return xxx_messageInfo_VmConfig.Unmarshal(m, b) 47} 48func (m *VmConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 49 return xxx_messageInfo_VmConfig.Marshal(b, m, deterministic) 50} 51func (m *VmConfig) XXX_Merge(src proto.Message) { 52 xxx_messageInfo_VmConfig.Merge(m, src) 53} 54func (m *VmConfig) XXX_Size() int { 55 return xxx_messageInfo_VmConfig.Size(m) 56} 57func (m *VmConfig) XXX_DiscardUnknown() { 58 xxx_messageInfo_VmConfig.DiscardUnknown(m) 59} 60 61var xxx_messageInfo_VmConfig proto.InternalMessageInfo 62 63func (m *VmConfig) GetVmId() string { 64 if m != nil { 65 return m.VmId 66 } 67 return "" 68} 69 70func (m *VmConfig) GetRuntime() string { 71 if m != nil { 72 return m.Runtime 73 } 74 return "" 75} 76 77func (m *VmConfig) GetCode() *core.AsyncDataSource { 78 if m != nil { 79 return m.Code 80 } 81 return nil 82} 83 84func (m *VmConfig) GetConfiguration() *any.Any { 85 if m != nil { 86 return m.Configuration 87 } 88 return nil 89} 90 91func (m *VmConfig) GetAllowPrecompiled() bool { 92 if m != nil { 93 return m.AllowPrecompiled 94 } 95 return false 96} 97 98type PluginConfig struct { 99 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 100 GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` 101 // Types that are valid to be assigned to VmConfig: 102 // *PluginConfig_InlineVmConfig 103 VmConfig isPluginConfig_VmConfig `protobuf_oneof:"vm_config"` 104 Configuration *any.Any `protobuf:"bytes,5,opt,name=configuration,proto3" json:"configuration,omitempty"` 105 XXX_NoUnkeyedLiteral struct{} `json:"-"` 106 XXX_unrecognized []byte `json:"-"` 107 XXX_sizecache int32 `json:"-"` 108} 109 110func (m *PluginConfig) Reset() { *m = PluginConfig{} } 111func (m *PluginConfig) String() string { return proto.CompactTextString(m) } 112func (*PluginConfig) ProtoMessage() {} 113func (*PluginConfig) Descriptor() ([]byte, []int) { 114 return fileDescriptor_c998f9bead5e7045, []int{1} 115} 116 117func (m *PluginConfig) XXX_Unmarshal(b []byte) error { 118 return xxx_messageInfo_PluginConfig.Unmarshal(m, b) 119} 120func (m *PluginConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 121 return xxx_messageInfo_PluginConfig.Marshal(b, m, deterministic) 122} 123func (m *PluginConfig) XXX_Merge(src proto.Message) { 124 xxx_messageInfo_PluginConfig.Merge(m, src) 125} 126func (m *PluginConfig) XXX_Size() int { 127 return xxx_messageInfo_PluginConfig.Size(m) 128} 129func (m *PluginConfig) XXX_DiscardUnknown() { 130 xxx_messageInfo_PluginConfig.DiscardUnknown(m) 131} 132 133var xxx_messageInfo_PluginConfig proto.InternalMessageInfo 134 135func (m *PluginConfig) GetName() string { 136 if m != nil { 137 return m.Name 138 } 139 return "" 140} 141 142func (m *PluginConfig) GetGroupName() string { 143 if m != nil { 144 return m.GroupName 145 } 146 return "" 147} 148 149type isPluginConfig_VmConfig interface { 150 isPluginConfig_VmConfig() 151} 152 153type PluginConfig_InlineVmConfig struct { 154 InlineVmConfig *VmConfig `protobuf:"bytes,3,opt,name=inline_vm_config,json=inlineVmConfig,proto3,oneof"` 155} 156 157func (*PluginConfig_InlineVmConfig) isPluginConfig_VmConfig() {} 158 159func (m *PluginConfig) GetVmConfig() isPluginConfig_VmConfig { 160 if m != nil { 161 return m.VmConfig 162 } 163 return nil 164} 165 166func (m *PluginConfig) GetInlineVmConfig() *VmConfig { 167 if x, ok := m.GetVmConfig().(*PluginConfig_InlineVmConfig); ok { 168 return x.InlineVmConfig 169 } 170 return nil 171} 172 173func (m *PluginConfig) GetConfiguration() *any.Any { 174 if m != nil { 175 return m.Configuration 176 } 177 return nil 178} 179 180// XXX_OneofWrappers is for the internal use of the proto package. 181func (*PluginConfig) XXX_OneofWrappers() []interface{} { 182 return []interface{}{ 183 (*PluginConfig_InlineVmConfig)(nil), 184 } 185} 186 187type WasmService struct { 188 Config *PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 189 Singleton bool `protobuf:"varint,2,opt,name=singleton,proto3" json:"singleton,omitempty"` 190 XXX_NoUnkeyedLiteral struct{} `json:"-"` 191 XXX_unrecognized []byte `json:"-"` 192 XXX_sizecache int32 `json:"-"` 193} 194 195func (m *WasmService) Reset() { *m = WasmService{} } 196func (m *WasmService) String() string { return proto.CompactTextString(m) } 197func (*WasmService) ProtoMessage() {} 198func (*WasmService) Descriptor() ([]byte, []int) { 199 return fileDescriptor_c998f9bead5e7045, []int{2} 200} 201 202func (m *WasmService) XXX_Unmarshal(b []byte) error { 203 return xxx_messageInfo_WasmService.Unmarshal(m, b) 204} 205func (m *WasmService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 206 return xxx_messageInfo_WasmService.Marshal(b, m, deterministic) 207} 208func (m *WasmService) XXX_Merge(src proto.Message) { 209 xxx_messageInfo_WasmService.Merge(m, src) 210} 211func (m *WasmService) XXX_Size() int { 212 return xxx_messageInfo_WasmService.Size(m) 213} 214func (m *WasmService) XXX_DiscardUnknown() { 215 xxx_messageInfo_WasmService.DiscardUnknown(m) 216} 217 218var xxx_messageInfo_WasmService proto.InternalMessageInfo 219 220func (m *WasmService) GetConfig() *PluginConfig { 221 if m != nil { 222 return m.Config 223 } 224 return nil 225} 226 227func (m *WasmService) GetSingleton() bool { 228 if m != nil { 229 return m.Singleton 230 } 231 return false 232} 233 234func init() { 235 proto.RegisterType((*VmConfig)(nil), "envoy.config.wasm.v2alpha.VmConfig") 236 proto.RegisterType((*PluginConfig)(nil), "envoy.config.wasm.v2alpha.PluginConfig") 237 proto.RegisterType((*WasmService)(nil), "envoy.config.wasm.v2alpha.WasmService") 238} 239 240func init() { 241 proto.RegisterFile("envoy/config/wasm/v2alpha/wasm.proto", fileDescriptor_c998f9bead5e7045) 242} 243 244var fileDescriptor_c998f9bead5e7045 = []byte{ 245 // 503 bytes of a gzipped FileDescriptorProto 246 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6e, 0xd4, 0x3c, 247 0x14, 0xc5, 0x3f, 0xcf, 0x37, 0x33, 0x9d, 0x78, 0x00, 0x0d, 0x06, 0x89, 0x74, 0xd4, 0xa2, 0x61, 248 0x40, 0xea, 0x48, 0x48, 0xb6, 0x34, 0x95, 0x58, 0xb0, 0x41, 0x0d, 0x2c, 0x60, 0x03, 0xa3, 0x54, 249 0x82, 0x1d, 0x91, 0x27, 0x71, 0x83, 0x25, 0xff, 0x89, 0x1c, 0x27, 0x6d, 0x76, 0xbc, 0x01, 0x5b, 250 0x9e, 0x85, 0x27, 0x60, 0xcb, 0x9a, 0x25, 0x6f, 0xc0, 0x92, 0x05, 0x42, 0xb1, 0x93, 0x16, 0x54, 251 0x15, 0xb1, 0xb3, 0xef, 0xb9, 0xf7, 0xe6, 0xfc, 0x4e, 0x0c, 0x1f, 0x30, 0x55, 0xeb, 0x86, 0xa4, 252 0x5a, 0x9d, 0xf0, 0x9c, 0x9c, 0xd2, 0x52, 0x92, 0x7a, 0x4d, 0x45, 0xf1, 0x8e, 0xba, 0x0b, 0x2e, 253 0x8c, 0xb6, 0x1a, 0xed, 0xba, 0x2e, 0xec, 0xbb, 0xb0, 0x13, 0xba, 0xae, 0xf9, 0x9e, 0x5f, 0x40, 254 0x0b, 0x4e, 0xea, 0x35, 0x49, 0xb5, 0x61, 0x64, 0x4b, 0x4b, 0xe6, 0x07, 0xe7, 0xbb, 0xb9, 0xd6, 255 0xb9, 0x60, 0xc4, 0xdd, 0xb6, 0xd5, 0x09, 0xa1, 0xaa, 0xe9, 0xa4, 0xbb, 0x55, 0x56, 0x50, 0x42, 256 0x95, 0xd2, 0x96, 0x5a, 0xae, 0x55, 0x49, 0x24, 0xcf, 0x0d, 0xb5, 0xfd, 0xe8, 0xfe, 0x25, 0xbd, 257 0xb4, 0xd4, 0x56, 0x65, 0x27, 0xdf, 0xa9, 0xa9, 0xe0, 0x19, 0xb5, 0x8c, 0xf4, 0x07, 0x2f, 0x2c, 258 0xbf, 0x01, 0x38, 0x79, 0x2d, 0x9f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9, 0x3e, 0xff, 0x2f, 0xbe, 0xe1, 0xc7, 0xcf, 270 0xd3, 0xbe, 0x44, 0x3f, 0xfa, 0x67, 0xfa, 0x68, 0x0a, 0x83, 0x73, 0x17, 0x4b, 0x01, 0xa7, 0x6f, 271 0x68, 0x29, 0x8f, 0x99, 0xa9, 0x79, 0xca, 0xd0, 0x13, 0x38, 0xee, 0xec, 0x01, 0xb7, 0xf0, 0xe0, 272 0x2f, 0xf6, 0x7e, 0x0f, 0x25, 0xee, 0xc6, 0xd0, 0x1e, 0x0c, 0x4a, 0xae, 0x72, 0xc1, 0xac, 0x56, 273 0x2e, 0x87, 0x49, 0x7c, 0x51, 0x88, 0xde, 0x7e, 0xff, 0xf8, 0xf3, 0xc3, 0x68, 0x8e, 0x42, 0xbf, 274 0x95, 0x9d, 0x59, 0xa6, 0xca, 0xf6, 0xc5, 0x75, 0x9b, 0x0f, 0x3f, 0xbd, 0xff, 0xfc, 0x65, 0x3c, 275 0x98, 0x01, 0x78, 0xc0, 0xb5, 0xff, 0x74, 0x61, 0xf4, 0x59, 0x73, 0xb5, 0x8b, 0x28, 0x68, 0xed, 276 0x6f, 0x5a, 0xdc, 0x0d, 0xd8, 0x8e, 0x1d, 0xf7, 0xe1, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc2, 277 0xc3, 0x3e, 0x74, 0x6c, 0x03, 0x00, 0x00, 278} 279