Debian Codegraph @

envoy/extensions/transport_sockets/proxy_protocol/v3/upstream_proxy_protocol.pb.go

raw symbols SCIP
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/transport_sockets/proxy_protocol/v3/upstream_proxy_protocol.proto
6
7 package proxy_protocolv3
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 // Configuration for PROXY protocol socket
27 type ProxyProtocolUpstreamTransport struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // The PROXY protocol settings
33 Config *v3.ProxyProtocolConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
34 // The underlying transport socket being wrapped.
35 TransportSocket *v3.TransportSocket `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
36 // If this is set to true, the null addresses are allowed in the PROXY protocol header.
37 // The proxy protocol header encodes the null addresses to AF_UNSPEC.
38 // [#not-implemented-hide:]
39 AllowUnspecifiedAddress bool `protobuf:"varint,3,opt,name=allow_unspecified_address,json=allowUnspecifiedAddress,proto3" json:"allow_unspecified_address,omitempty"`
40 // If true, all the TLVs are encoded in the connection pool key.
41 // [#not-implemented-hide:]
42 TlvAsPoolKey bool `protobuf:"varint,4,opt,name=tlv_as_pool_key,json=tlvAsPoolKey,proto3" json:"tlv_as_pool_key,omitempty"`
43 }
44
45 func (x *ProxyProtocolUpstreamTransport) Reset() {
46 *x = ProxyProtocolUpstreamTransport{}
47 if protoimpl.UnsafeEnabled {
48 mi := &file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_msgTypes[0]
49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50 ms.StoreMessageInfo(mi)
51 }
52 }
53
54 func (x *ProxyProtocolUpstreamTransport) String() string {
55 return protoimpl.X.MessageStringOf(x)
56 }
57
58 func (*ProxyProtocolUpstreamTransport) ProtoMessage() {}
59
60 func (x *ProxyProtocolUpstreamTransport) ProtoReflect() protoreflect.Message {
61 mi := &file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_msgTypes[0]
62 if protoimpl.UnsafeEnabled && x != nil {
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 if ms.LoadMessageInfo() == nil {
65 ms.StoreMessageInfo(mi)
66 }
67 return ms
68 }
69 return mi.MessageOf(x)
70 }
71
72 // Deprecated: Use ProxyProtocolUpstreamTransport.ProtoReflect.Descriptor instead.
73 func (*ProxyProtocolUpstreamTransport) Descriptor() ([]byte, []int) {
74 return file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescGZIP(), []int{0}
75 }
76
77 func (x *ProxyProtocolUpstreamTransport) GetConfig() *v3.ProxyProtocolConfig {
78 if x != nil {
79 return x.Config
80 }
81 return nil
82 }
83
84 func (x *ProxyProtocolUpstreamTransport) GetTransportSocket() *v3.TransportSocket {
85 if x != nil {
86 return x.TransportSocket
87 }
88 return nil
89 }
90
91 func (x *ProxyProtocolUpstreamTransport) GetAllowUnspecifiedAddress() bool {
92 if x != nil {
93 return x.AllowUnspecifiedAddress
94 }
95 return false
96 }
97
98 func (x *ProxyProtocolUpstreamTransport) GetTlvAsPoolKey() bool {
99 if x != nil {
100 return x.TlvAsPoolKey
101 }
102 return false
103 }
104
105 var File_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto protoreflect.FileDescriptor
106
107 var file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDesc = []byte{
108 0x0a, 0x52, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
109 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
110 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
111 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f,
112 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70,
113 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65,
114 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
115 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70,
116 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f,
117 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33,
118 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 0x6e, 0x76,
119 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76,
120 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
121 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
122 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
123 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
124 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2,
125 0x02, 0x0a, 0x1e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
126 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
127 0x74, 0x12, 0x41, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
128 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
129 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72,
130 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f,
131 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
132 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
133 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
134 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53,
135 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52,
136 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74,
137 0x12, 0x3a, 0x0a, 0x19, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63,
138 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
139 0x01, 0x28, 0x08, 0x52, 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63,
140 0x69, 0x66, 0x69, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0f,
141 0x74, 0x6c, 0x76, 0x5f, 0x61, 0x73, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x18,
142 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x74, 0x6c, 0x76, 0x41, 0x73, 0x50, 0x6f, 0x6f, 0x6c,
143 0x4b, 0x65, 0x79, 0x42, 0xd8, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x42,
144 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
145 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74,
146 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73,
147 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e,
148 0x76, 0x33, 0x42, 0x1a, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x78,
149 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
150 0x5a, 0x6c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76,
151 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72,
152 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65,
153 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
154 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x78,
155 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x33, 0x3b, 0x70, 0x72,
156 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x76, 0x33, 0x62, 0x06,
157 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
158 }
159
160 var (
161 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescOnce sync.Once
162 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescData = file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDesc
163 )
164
165 func file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescGZIP() []byte {
166 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescOnce.Do(func() {
167 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescData)
168 })
169 return file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDescData
170 }
171
172 var file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
173 var file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_goTypes = []interface{}{
174 (*ProxyProtocolUpstreamTransport)(nil), // 0: envoy.extensions.transport_sockets.proxy_protocol.v3.ProxyProtocolUpstreamTransport
175 (*v3.ProxyProtocolConfig)(nil), // 1: envoy.config.core.v3.ProxyProtocolConfig
176 (*v3.TransportSocket)(nil), // 2: envoy.config.core.v3.TransportSocket
177 }
178 var file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_depIdxs = []int32{
179 1, // 0: envoy.extensions.transport_sockets.proxy_protocol.v3.ProxyProtocolUpstreamTransport.config:type_name -> envoy.config.core.v3.ProxyProtocolConfig
180 2, // 1: envoy.extensions.transport_sockets.proxy_protocol.v3.ProxyProtocolUpstreamTransport.transport_socket:type_name -> envoy.config.core.v3.TransportSocket
181 2, // [2:2] is the sub-list for method output_type
182 2, // [2:2] is the sub-list for method input_type
183 2, // [2:2] is the sub-list for extension type_name
184 2, // [2:2] is the sub-list for extension extendee
185 0, // [0:2] is the sub-list for field type_name
186 }
187
188 func init() {
189 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_init()
190 }
191 func file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_init() {
192 if File_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto != nil {
193 return
194 }
195 if !protoimpl.UnsafeEnabled {
196 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
197 switch v := v.(*ProxyProtocolUpstreamTransport); i {
198 case 0:
199 return &v.state
200 case 1:
201 return &v.sizeCache
202 case 2:
203 return &v.unknownFields
204 default:
205 return nil
206 }
207 }
208 }
209 type x struct{}
210 out := protoimpl.TypeBuilder{
211 File: protoimpl.DescBuilder{
212 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
213 RawDescriptor: file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDesc,
214 NumEnums: 0,
215 NumMessages: 1,
216 NumExtensions: 0,
217 NumServices: 0,
218 },
219 GoTypes: file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_goTypes,
220 DependencyIndexes: file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_depIdxs,
221 MessageInfos: file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_msgTypes,
222 }.Build()
223 File_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto = out.File
224 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_rawDesc = nil
225 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_goTypes = nil
226 file_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto_depIdxs = nil
227 }