Debian Codegraph @

envoy/extensions/transport_sockets/quic/v3/quic_transport.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/quic/v3/quic_transport.proto
6
7 package quicv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/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 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21 // Verify that this generated code is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27 // Configuration for Downstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.
28 type QuicDownstreamTransport struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 DownstreamTlsContext *v3.DownstreamTlsContext `protobuf:"bytes,1,opt,name=downstream_tls_context,json=downstreamTlsContext,proto3" json:"downstream_tls_context,omitempty"`
34 // If false, QUIC will tell TLS to reject any early data and to stop issuing 0-RTT credentials with resumption session tickets. This will prevent clients from sending 0-RTT requests.
35 // Default to true.
36 EnableEarlyData *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enable_early_data,json=enableEarlyData,proto3" json:"enable_early_data,omitempty"`
37 }
38
39 func (x *QuicDownstreamTransport) Reset() {
40 *x = QuicDownstreamTransport{}
41 if protoimpl.UnsafeEnabled {
42 mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[0]
43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44 ms.StoreMessageInfo(mi)
45 }
46 }
47
48 func (x *QuicDownstreamTransport) String() string {
49 return protoimpl.X.MessageStringOf(x)
50 }
51
52 func (*QuicDownstreamTransport) ProtoMessage() {}
53
54 func (x *QuicDownstreamTransport) ProtoReflect() protoreflect.Message {
55 mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[0]
56 if protoimpl.UnsafeEnabled && x != nil {
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 if ms.LoadMessageInfo() == nil {
59 ms.StoreMessageInfo(mi)
60 }
61 return ms
62 }
63 return mi.MessageOf(x)
64 }
65
66 // Deprecated: Use QuicDownstreamTransport.ProtoReflect.Descriptor instead.
67 func (*QuicDownstreamTransport) Descriptor() ([]byte, []int) {
68 return file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescGZIP(), []int{0}
69 }
70
71 func (x *QuicDownstreamTransport) GetDownstreamTlsContext() *v3.DownstreamTlsContext {
72 if x != nil {
73 return x.DownstreamTlsContext
74 }
75 return nil
76 }
77
78 func (x *QuicDownstreamTransport) GetEnableEarlyData() *wrapperspb.BoolValue {
79 if x != nil {
80 return x.EnableEarlyData
81 }
82 return nil
83 }
84
85 // Configuration for Upstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.
86 type QuicUpstreamTransport struct {
87 state protoimpl.MessageState
88 sizeCache protoimpl.SizeCache
89 unknownFields protoimpl.UnknownFields
90
91 UpstreamTlsContext *v3.UpstreamTlsContext `protobuf:"bytes,1,opt,name=upstream_tls_context,json=upstreamTlsContext,proto3" json:"upstream_tls_context,omitempty"`
92 }
93
94 func (x *QuicUpstreamTransport) Reset() {
95 *x = QuicUpstreamTransport{}
96 if protoimpl.UnsafeEnabled {
97 mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[1]
98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99 ms.StoreMessageInfo(mi)
100 }
101 }
102
103 func (x *QuicUpstreamTransport) String() string {
104 return protoimpl.X.MessageStringOf(x)
105 }
106
107 func (*QuicUpstreamTransport) ProtoMessage() {}
108
109 func (x *QuicUpstreamTransport) ProtoReflect() protoreflect.Message {
110 mi := &file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[1]
111 if protoimpl.UnsafeEnabled && x != nil {
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 if ms.LoadMessageInfo() == nil {
114 ms.StoreMessageInfo(mi)
115 }
116 return ms
117 }
118 return mi.MessageOf(x)
119 }
120
121 // Deprecated: Use QuicUpstreamTransport.ProtoReflect.Descriptor instead.
122 func (*QuicUpstreamTransport) Descriptor() ([]byte, []int) {
123 return file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescGZIP(), []int{1}
124 }
125
126 func (x *QuicUpstreamTransport) GetUpstreamTlsContext() *v3.UpstreamTlsContext {
127 if x != nil {
128 return x.UpstreamTlsContext
129 }
130 return nil
131 }
132
133 var File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto protoreflect.FileDescriptor
134
135 var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc = []byte{
136 0x0a, 0x3f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
137 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
138 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x71, 0x75, 0x69, 0x63, 0x2f, 0x76, 0x33, 0x2f, 0x71, 0x75, 0x69,
139 0x63, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
140 0x6f, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
141 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f,
142 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x71, 0x75, 0x69, 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x33, 0x65,
143 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
144 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
145 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f,
146 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
147 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
148 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
149 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
150 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
151 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x17, 0x51,
152 0x75, 0x69, 0x63, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61,
153 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x7f, 0x0a, 0x16, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74,
154 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
155 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
156 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
157 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e,
158 0x76, 0x33, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73,
159 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10,
160 0x01, 0x52, 0x14, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73,
161 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x46, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c,
162 0x65, 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
163 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
164 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f,
165 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x61, 0x72, 0x6c, 0x79, 0x44, 0x61, 0x74, 0x61, 0x22,
166 0x92, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x69, 0x63, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d,
167 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x79, 0x0a, 0x14, 0x75, 0x70, 0x73,
168 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
169 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
170 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
171 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73,
172 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73, 0x43,
173 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01,
174 0x52, 0x12, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e,
175 0x74, 0x65, 0x78, 0x74, 0x42, 0xb2, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a,
176 0x38, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
177 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
178 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
179 0x73, 0x2e, 0x71, 0x75, 0x69, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x51, 0x75, 0x69, 0x63, 0x54,
180 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
181 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
182 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
183 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78,
184 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
185 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x71, 0x75, 0x69, 0x63, 0x2f,
186 0x76, 0x33, 0x3b, 0x71, 0x75, 0x69, 0x63, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
187 0x33,
188 }
189
190 var (
191 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescOnce sync.Once
192 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData = file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc
193 )
194
195 func file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescGZIP() []byte {
196 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescOnce.Do(func() {
197 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData)
198 })
199 return file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDescData
200 }
201
202 var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
203 var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_goTypes = []interface{}{
204 (*QuicDownstreamTransport)(nil), // 0: envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport
205 (*QuicUpstreamTransport)(nil), // 1: envoy.extensions.transport_sockets.quic.v3.QuicUpstreamTransport
206 (*v3.DownstreamTlsContext)(nil), // 2: envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
207 (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue
208 (*v3.UpstreamTlsContext)(nil), // 4: envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
209 }
210 var file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_depIdxs = []int32{
211 2, // 0: envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport.downstream_tls_context:type_name -> envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
212 3, // 1: envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport.enable_early_data:type_name -> google.protobuf.BoolValue
213 4, // 2: envoy.extensions.transport_sockets.quic.v3.QuicUpstreamTransport.upstream_tls_context:type_name -> envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
214 3, // [3:3] is the sub-list for method output_type
215 3, // [3:3] is the sub-list for method input_type
216 3, // [3:3] is the sub-list for extension type_name
217 3, // [3:3] is the sub-list for extension extendee
218 0, // [0:3] is the sub-list for field type_name
219 }
220
221 func init() { file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_init() }
222 func file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_init() {
223 if File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto != nil {
224 return
225 }
226 if !protoimpl.UnsafeEnabled {
227 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
228 switch v := v.(*QuicDownstreamTransport); i {
229 case 0:
230 return &v.state
231 case 1:
232 return &v.sizeCache
233 case 2:
234 return &v.unknownFields
235 default:
236 return nil
237 }
238 }
239 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
240 switch v := v.(*QuicUpstreamTransport); i {
241 case 0:
242 return &v.state
243 case 1:
244 return &v.sizeCache
245 case 2:
246 return &v.unknownFields
247 default:
248 return nil
249 }
250 }
251 }
252 type x struct{}
253 out := protoimpl.TypeBuilder{
254 File: protoimpl.DescBuilder{
255 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
256 RawDescriptor: file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc,
257 NumEnums: 0,
258 NumMessages: 2,
259 NumExtensions: 0,
260 NumServices: 0,
261 },
262 GoTypes: file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_goTypes,
263 DependencyIndexes: file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_depIdxs,
264 MessageInfos: file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_msgTypes,
265 }.Build()
266 File_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto = out.File
267 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_rawDesc = nil
268 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_goTypes = nil
269 file_envoy_extensions_transport_sockets_quic_v3_quic_transport_proto_depIdxs = nil
270 }