Debian Codegraph @

envoy/extensions/router/cluster_specifiers/lua/v3/lua.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/router/cluster_specifiers/lua/v3/lua.proto
6
7 package luav3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
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 type LuaConfig struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 // The lua code that Envoy will execute to select cluster.
32 SourceCode *v3.DataSource `protobuf:"bytes,1,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"`
33 // Default cluster. It will be used when the lua code execute failure.
34 DefaultCluster string `protobuf:"bytes,2,opt,name=default_cluster,json=defaultCluster,proto3" json:"default_cluster,omitempty"`
35 }
36
37 func (x *LuaConfig) Reset() {
38 *x = LuaConfig{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *LuaConfig) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*LuaConfig) ProtoMessage() {}
51
52 func (x *LuaConfig) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use LuaConfig.ProtoReflect.Descriptor instead.
65 func (*LuaConfig) Descriptor() ([]byte, []int) {
66 return file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *LuaConfig) GetSourceCode() *v3.DataSource {
70 if x != nil {
71 return x.SourceCode
72 }
73 return nil
74 }
75
76 func (x *LuaConfig) GetDefaultCluster() string {
77 if x != nil {
78 return x.DefaultCluster
79 }
80 return ""
81 }
82
83 var File_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto protoreflect.FileDescriptor
84
85 var file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDesc = []byte{
86 0x0a, 0x3b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
87 0x6e, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
88 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x2f, 0x6c, 0x75, 0x61,
89 0x2f, 0x76, 0x33, 0x2f, 0x6c, 0x75, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x65,
90 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
91 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73,
92 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x2e, 0x6c, 0x75, 0x61, 0x2e, 0x76, 0x33,
93 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
94 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
95 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
96 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
97 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
98 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x09, 0x4c, 0x75,
99 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63,
100 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65,
101 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
102 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08,
103 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
104 0x43, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
105 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64,
106 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0xb5, 0x01,
107 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x3f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76,
108 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78,
109 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
110 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65,
111 0x72, 0x73, 0x2e, 0x6c, 0x75, 0x61, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x4c, 0x75, 0x61, 0x50, 0x72,
112 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
113 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d,
114 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e,
115 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72,
116 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x70,
117 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x2f, 0x6c, 0x75, 0x61, 0x2f, 0x76, 0x33, 0x3b,
118 0x6c, 0x75, 0x61, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
119 }
120
121 var (
122 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescOnce sync.Once
123 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescData = file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDesc
124 )
125
126 func file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescGZIP() []byte {
127 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescOnce.Do(func() {
128 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescData)
129 })
130 return file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDescData
131 }
132
133 var file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
134 var file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_goTypes = []interface{}{
135 (*LuaConfig)(nil), // 0: envoy.extensions.router.cluster_specifiers.lua.v3.LuaConfig
136 (*v3.DataSource)(nil), // 1: envoy.config.core.v3.DataSource
137 }
138 var file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_depIdxs = []int32{
139 1, // 0: envoy.extensions.router.cluster_specifiers.lua.v3.LuaConfig.source_code:type_name -> envoy.config.core.v3.DataSource
140 1, // [1:1] is the sub-list for method output_type
141 1, // [1:1] is the sub-list for method input_type
142 1, // [1:1] is the sub-list for extension type_name
143 1, // [1:1] is the sub-list for extension extendee
144 0, // [0:1] is the sub-list for field type_name
145 }
146
147 func init() { file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_init() }
148 func file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_init() {
149 if File_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto != nil {
150 return
151 }
152 if !protoimpl.UnsafeEnabled {
153 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
154 switch v := v.(*LuaConfig); i {
155 case 0:
156 return &v.state
157 case 1:
158 return &v.sizeCache
159 case 2:
160 return &v.unknownFields
161 default:
162 return nil
163 }
164 }
165 }
166 type x struct{}
167 out := protoimpl.TypeBuilder{
168 File: protoimpl.DescBuilder{
169 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
170 RawDescriptor: file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDesc,
171 NumEnums: 0,
172 NumMessages: 1,
173 NumExtensions: 0,
174 NumServices: 0,
175 },
176 GoTypes: file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_goTypes,
177 DependencyIndexes: file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_depIdxs,
178 MessageInfos: file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_msgTypes,
179 }.Build()
180 File_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto = out.File
181 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_rawDesc = nil
182 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_goTypes = nil
183 file_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto_depIdxs = nil
184 }