1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.14.0
5// source: envoy/config/filter/http/lua/v2/lua.proto
6
7package envoy_config_filter_http_lua_v2
8
9import (
10	_ "github.com/cncf/udpa/go/udpa/annotations"
11	_ "github.com/envoyproxy/protoc-gen-validate/validate"
12	proto "github.com/golang/protobuf/proto"
13	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15	reflect "reflect"
16	sync "sync"
17)
18
19const (
20	// Verify that this generated code is sufficiently up-to-date.
21	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22	// Verify that runtime/protoimpl is sufficiently up-to-date.
23	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24)
25
26// This is a compile-time assertion that a sufficiently up-to-date version
27// of the legacy proto package is being used.
28const _ = proto.ProtoPackageIsVersion4
29
30type Lua struct {
31	state         protoimpl.MessageState
32	sizeCache     protoimpl.SizeCache
33	unknownFields protoimpl.UnknownFields
34
35	// The Lua code that Envoy will execute. This can be a very small script that
36	// further loads code from disk if desired. Note that if JSON configuration is used, the code must
37	// be properly escaped. YAML configuration may be easier to read since YAML supports multi-line
38	// strings so complex scripts can be easily expressed inline in the configuration.
39	InlineCode string `protobuf:"bytes,1,opt,name=inline_code,json=inlineCode,proto3" json:"inline_code,omitempty"`
40}
41
42func (x *Lua) Reset() {
43	*x = Lua{}
44	if protoimpl.UnsafeEnabled {
45		mi := &file_envoy_config_filter_http_lua_v2_lua_proto_msgTypes[0]
46		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
47		ms.StoreMessageInfo(mi)
48	}
49}
50
51func (x *Lua) String() string {
52	return protoimpl.X.MessageStringOf(x)
53}
54
55func (*Lua) ProtoMessage() {}
56
57func (x *Lua) ProtoReflect() protoreflect.Message {
58	mi := &file_envoy_config_filter_http_lua_v2_lua_proto_msgTypes[0]
59	if protoimpl.UnsafeEnabled && x != nil {
60		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61		if ms.LoadMessageInfo() == nil {
62			ms.StoreMessageInfo(mi)
63		}
64		return ms
65	}
66	return mi.MessageOf(x)
67}
68
69// Deprecated: Use Lua.ProtoReflect.Descriptor instead.
70func (*Lua) Descriptor() ([]byte, []int) {
71	return file_envoy_config_filter_http_lua_v2_lua_proto_rawDescGZIP(), []int{0}
72}
73
74func (x *Lua) GetInlineCode() string {
75	if x != nil {
76		return x.InlineCode
77	}
78	return ""
79}
80
81var File_envoy_config_filter_http_lua_v2_lua_proto protoreflect.FileDescriptor
82
83var file_envoy_config_filter_http_lua_v2_lua_proto_rawDesc = []byte{
84	0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x66,
85	0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x6c, 0x75, 0x61, 0x2f, 0x76,
86	0x32, 0x2f, 0x6c, 0x75, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x65, 0x6e, 0x76,
87	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
88	0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x6c, 0x75, 0x61, 0x2e, 0x76, 0x32, 0x1a, 0x1e, 0x75, 0x64,
89	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d,
90	0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
91	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
92	0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
93	0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
94	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x03, 0x4c, 0x75, 0x61, 0x12, 0x28, 0x0a, 0x0b, 0x69,
95	0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
96	0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
97	0x65, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x6f, 0x0a, 0x2d, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
98	0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
99	0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
100	0x6c, 0x75, 0x61, 0x2e, 0x76, 0x32, 0x42, 0x08, 0x4c, 0x75, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f,
101	0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x26, 0x12, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
102	0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65,
103	0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x6c, 0x75, 0x61, 0x2e, 0x76, 0x33, 0xba, 0x80,
104	0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
105}
106
107var (
108	file_envoy_config_filter_http_lua_v2_lua_proto_rawDescOnce sync.Once
109	file_envoy_config_filter_http_lua_v2_lua_proto_rawDescData = file_envoy_config_filter_http_lua_v2_lua_proto_rawDesc
110)
111
112func file_envoy_config_filter_http_lua_v2_lua_proto_rawDescGZIP() []byte {
113	file_envoy_config_filter_http_lua_v2_lua_proto_rawDescOnce.Do(func() {
114		file_envoy_config_filter_http_lua_v2_lua_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_filter_http_lua_v2_lua_proto_rawDescData)
115	})
116	return file_envoy_config_filter_http_lua_v2_lua_proto_rawDescData
117}
118
119var file_envoy_config_filter_http_lua_v2_lua_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
120var file_envoy_config_filter_http_lua_v2_lua_proto_goTypes = []interface{}{
121	(*Lua)(nil), // 0: envoy.config.filter.http.lua.v2.Lua
122}
123var file_envoy_config_filter_http_lua_v2_lua_proto_depIdxs = []int32{
124	0, // [0:0] is the sub-list for method output_type
125	0, // [0:0] is the sub-list for method input_type
126	0, // [0:0] is the sub-list for extension type_name
127	0, // [0:0] is the sub-list for extension extendee
128	0, // [0:0] is the sub-list for field type_name
129}
130
131func init() { file_envoy_config_filter_http_lua_v2_lua_proto_init() }
132func file_envoy_config_filter_http_lua_v2_lua_proto_init() {
133	if File_envoy_config_filter_http_lua_v2_lua_proto != nil {
134		return
135	}
136	if !protoimpl.UnsafeEnabled {
137		file_envoy_config_filter_http_lua_v2_lua_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
138			switch v := v.(*Lua); i {
139			case 0:
140				return &v.state
141			case 1:
142				return &v.sizeCache
143			case 2:
144				return &v.unknownFields
145			default:
146				return nil
147			}
148		}
149	}
150	type x struct{}
151	out := protoimpl.TypeBuilder{
152		File: protoimpl.DescBuilder{
153			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
154			RawDescriptor: file_envoy_config_filter_http_lua_v2_lua_proto_rawDesc,
155			NumEnums:      0,
156			NumMessages:   1,
157			NumExtensions: 0,
158			NumServices:   0,
159		},
160		GoTypes:           file_envoy_config_filter_http_lua_v2_lua_proto_goTypes,
161		DependencyIndexes: file_envoy_config_filter_http_lua_v2_lua_proto_depIdxs,
162		MessageInfos:      file_envoy_config_filter_http_lua_v2_lua_proto_msgTypes,
163	}.Build()
164	File_envoy_config_filter_http_lua_v2_lua_proto = out.File
165	file_envoy_config_filter_http_lua_v2_lua_proto_rawDesc = nil
166	file_envoy_config_filter_http_lua_v2_lua_proto_goTypes = nil
167	file_envoy_config_filter_http_lua_v2_lua_proto_depIdxs = nil
168}
169