istio

Форк
0
/
echo.pb.go 
968 строк · 33.3 Кб
1
// Copyright Istio Authors
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
//     http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14

15
// Code generated by protoc-gen-go. DO NOT EDIT.
16
// versions:
17
// 	protoc-gen-go v1.33.0
18
// 	protoc        (unknown)
19
// source: test/echo/proto/echo.proto
20

21
// Generate with protoc --go_out=. echo.proto -I /work/common-protos/ -I.
22

23
package proto
24

25
import (
26
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
29
	reflect "reflect"
30
	sync "sync"
31
)
32

33
const (
34
	// Verify that this generated code is sufficiently up-to-date.
35
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
	// Verify that runtime/protoimpl is sufficiently up-to-date.
37
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38
)
39

40
type ProxyProtoVersion int32
41

42
const (
43
	ProxyProtoVersion_NONE ProxyProtoVersion = 0
44
	ProxyProtoVersion_V1   ProxyProtoVersion = 1
45
	ProxyProtoVersion_V2   ProxyProtoVersion = 2
46
)
47

48
// Enum value maps for ProxyProtoVersion.
49
var (
50
	ProxyProtoVersion_name = map[int32]string{
51
		0: "NONE",
52
		1: "V1",
53
		2: "V2",
54
	}
55
	ProxyProtoVersion_value = map[string]int32{
56
		"NONE": 0,
57
		"V1":   1,
58
		"V2":   2,
59
	}
60
)
61

62
func (x ProxyProtoVersion) Enum() *ProxyProtoVersion {
63
	p := new(ProxyProtoVersion)
64
	*p = x
65
	return p
66
}
67

68
func (x ProxyProtoVersion) String() string {
69
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
70
}
71

72
func (ProxyProtoVersion) Descriptor() protoreflect.EnumDescriptor {
73
	return file_test_echo_proto_echo_proto_enumTypes[0].Descriptor()
74
}
75

76
func (ProxyProtoVersion) Type() protoreflect.EnumType {
77
	return &file_test_echo_proto_echo_proto_enumTypes[0]
78
}
79

80
func (x ProxyProtoVersion) Number() protoreflect.EnumNumber {
81
	return protoreflect.EnumNumber(x)
82
}
83

84
// Deprecated: Use ProxyProtoVersion.Descriptor instead.
85
func (ProxyProtoVersion) EnumDescriptor() ([]byte, []int) {
86
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{0}
87
}
88

89
type EchoRequest struct {
90
	state         protoimpl.MessageState
91
	sizeCache     protoimpl.SizeCache
92
	unknownFields protoimpl.UnknownFields
93

94
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
95
}
96

97
func (x *EchoRequest) Reset() {
98
	*x = EchoRequest{}
99
	if protoimpl.UnsafeEnabled {
100
		mi := &file_test_echo_proto_echo_proto_msgTypes[0]
101
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
102
		ms.StoreMessageInfo(mi)
103
	}
104
}
105

106
func (x *EchoRequest) String() string {
107
	return protoimpl.X.MessageStringOf(x)
108
}
109

110
func (*EchoRequest) ProtoMessage() {}
111

112
func (x *EchoRequest) ProtoReflect() protoreflect.Message {
113
	mi := &file_test_echo_proto_echo_proto_msgTypes[0]
114
	if protoimpl.UnsafeEnabled && x != nil {
115
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116
		if ms.LoadMessageInfo() == nil {
117
			ms.StoreMessageInfo(mi)
118
		}
119
		return ms
120
	}
121
	return mi.MessageOf(x)
122
}
123

124
// Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
125
func (*EchoRequest) Descriptor() ([]byte, []int) {
126
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{0}
127
}
128

129
func (x *EchoRequest) GetMessage() string {
130
	if x != nil {
131
		return x.Message
132
	}
133
	return ""
134
}
135

136
type EchoResponse struct {
137
	state         protoimpl.MessageState
138
	sizeCache     protoimpl.SizeCache
139
	unknownFields protoimpl.UnknownFields
140

141
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
142
}
143

144
func (x *EchoResponse) Reset() {
145
	*x = EchoResponse{}
146
	if protoimpl.UnsafeEnabled {
147
		mi := &file_test_echo_proto_echo_proto_msgTypes[1]
148
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149
		ms.StoreMessageInfo(mi)
150
	}
151
}
152

153
func (x *EchoResponse) String() string {
154
	return protoimpl.X.MessageStringOf(x)
155
}
156

157
func (*EchoResponse) ProtoMessage() {}
158

159
func (x *EchoResponse) ProtoReflect() protoreflect.Message {
160
	mi := &file_test_echo_proto_echo_proto_msgTypes[1]
161
	if protoimpl.UnsafeEnabled && x != nil {
162
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
163
		if ms.LoadMessageInfo() == nil {
164
			ms.StoreMessageInfo(mi)
165
		}
166
		return ms
167
	}
168
	return mi.MessageOf(x)
169
}
170

171
// Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.
172
func (*EchoResponse) Descriptor() ([]byte, []int) {
173
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{1}
174
}
175

176
func (x *EchoResponse) GetMessage() string {
177
	if x != nil {
178
		return x.Message
179
	}
180
	return ""
181
}
182

183
type Header struct {
184
	state         protoimpl.MessageState
185
	sizeCache     protoimpl.SizeCache
186
	unknownFields protoimpl.UnknownFields
187

188
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
189
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
190
}
191

192
func (x *Header) Reset() {
193
	*x = Header{}
194
	if protoimpl.UnsafeEnabled {
195
		mi := &file_test_echo_proto_echo_proto_msgTypes[2]
196
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197
		ms.StoreMessageInfo(mi)
198
	}
199
}
200

201
func (x *Header) String() string {
202
	return protoimpl.X.MessageStringOf(x)
203
}
204

205
func (*Header) ProtoMessage() {}
206

207
func (x *Header) ProtoReflect() protoreflect.Message {
208
	mi := &file_test_echo_proto_echo_proto_msgTypes[2]
209
	if protoimpl.UnsafeEnabled && x != nil {
210
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211
		if ms.LoadMessageInfo() == nil {
212
			ms.StoreMessageInfo(mi)
213
		}
214
		return ms
215
	}
216
	return mi.MessageOf(x)
217
}
218

219
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
220
func (*Header) Descriptor() ([]byte, []int) {
221
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{2}
222
}
223

224
func (x *Header) GetKey() string {
225
	if x != nil {
226
		return x.Key
227
	}
228
	return ""
229
}
230

231
func (x *Header) GetValue() string {
232
	if x != nil {
233
		return x.Value
234
	}
235
	return ""
236
}
237

238
type ForwardEchoRequest struct {
239
	state         protoimpl.MessageState
240
	sizeCache     protoimpl.SizeCache
241
	unknownFields protoimpl.UnknownFields
242

243
	Count         int32     `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
244
	Qps           int32     `protobuf:"varint,2,opt,name=qps,proto3" json:"qps,omitempty"`
245
	TimeoutMicros int64     `protobuf:"varint,3,opt,name=timeout_micros,json=timeoutMicros,proto3" json:"timeout_micros,omitempty"`
246
	Url           string    `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
247
	Headers       []*Header `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
248
	Message       string    `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
249
	// Method for the request. Valid only for HTTP
250
	Method string `protobuf:"bytes,9,opt,name=method,proto3" json:"method,omitempty"`
251
	// If true, requests will be sent using h2c prior knowledge
252
	Http2 bool `protobuf:"varint,7,opt,name=http2,proto3" json:"http2,omitempty"`
253
	// If true, requests will be sent using http3
254
	Http3 bool `protobuf:"varint,15,opt,name=http3,proto3" json:"http3,omitempty"`
255
	// If true, requests will not be sent until magic string is received
256
	ServerFirst bool `protobuf:"varint,8,opt,name=serverFirst,proto3" json:"serverFirst,omitempty"`
257
	// If true, 301 redirects will be followed
258
	FollowRedirects bool `protobuf:"varint,14,opt,name=followRedirects,proto3" json:"followRedirects,omitempty"`
259
	// If non-empty, make the request with the corresponding cert and key.
260
	Cert string `protobuf:"bytes,10,opt,name=cert,proto3" json:"cert,omitempty"`
261
	Key  string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"`
262
	// If non-empty, verify the server CA
263
	CaCert string `protobuf:"bytes,12,opt,name=caCert,proto3" json:"caCert,omitempty"`
264
	// If non-empty, make the request with the corresponding cert and key file.
265
	CertFile string `protobuf:"bytes,16,opt,name=certFile,proto3" json:"certFile,omitempty"`
266
	KeyFile  string `protobuf:"bytes,17,opt,name=keyFile,proto3" json:"keyFile,omitempty"`
267
	// If non-empty, verify the server CA with the ca cert file.
268
	CaCertFile string `protobuf:"bytes,18,opt,name=caCertFile,proto3" json:"caCertFile,omitempty"`
269
	// Skip verifying peer's certificate.
270
	InsecureSkipVerify bool `protobuf:"varint,19,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
271
	// List of ALPNs to present. If not set, this will be automatically be set based on the protocol
272
	Alpn *Alpn `protobuf:"bytes,13,opt,name=alpn,proto3" json:"alpn,omitempty"`
273
	// Server name (SNI) to present in TLS connections. If not set, Host will be used for http requests.
274
	ServerName string `protobuf:"bytes,20,opt,name=serverName,proto3" json:"serverName,omitempty"`
275
	// Expected response determines what string to look for in the response to validate TCP requests succeeded.
276
	// If not set, defaults to "StatusCode=200"
277
	ExpectedResponse *wrapperspb.StringValue `protobuf:"bytes,21,opt,name=expectedResponse,proto3" json:"expectedResponse,omitempty"`
278
	// If set, a new connection will be made to the server for each individual request. If false, an attempt
279
	// will be made to re-use the connection for the life of the forward request. This is automatically
280
	// set for DNS, TCP, TLS, and WebSocket protocols.
281
	NewConnectionPerRequest bool `protobuf:"varint,22,opt,name=newConnectionPerRequest,proto3" json:"newConnectionPerRequest,omitempty"`
282
	// If set, each request will force a DNS lookup. Only applies if newConnectionPerRequest is set.
283
	ForceDNSLookup bool `protobuf:"varint,23,opt,name=forceDNSLookup,proto3" json:"forceDNSLookup,omitempty"`
284
	// HBONE communication settings. If provided, requests will be tunnelled.
285
	Hbone                *HBONE            `protobuf:"bytes,24,opt,name=hbone,proto3" json:"hbone,omitempty"`
286
	ProxyProtocolVersion ProxyProtoVersion `protobuf:"varint,25,opt,name=proxyProtocolVersion,proto3,enum=proto.ProxyProtoVersion" json:"proxyProtocolVersion,omitempty"`
287
}
288

289
func (x *ForwardEchoRequest) Reset() {
290
	*x = ForwardEchoRequest{}
291
	if protoimpl.UnsafeEnabled {
292
		mi := &file_test_echo_proto_echo_proto_msgTypes[3]
293
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294
		ms.StoreMessageInfo(mi)
295
	}
296
}
297

298
func (x *ForwardEchoRequest) String() string {
299
	return protoimpl.X.MessageStringOf(x)
300
}
301

302
func (*ForwardEchoRequest) ProtoMessage() {}
303

304
func (x *ForwardEchoRequest) ProtoReflect() protoreflect.Message {
305
	mi := &file_test_echo_proto_echo_proto_msgTypes[3]
306
	if protoimpl.UnsafeEnabled && x != nil {
307
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308
		if ms.LoadMessageInfo() == nil {
309
			ms.StoreMessageInfo(mi)
310
		}
311
		return ms
312
	}
313
	return mi.MessageOf(x)
314
}
315

316
// Deprecated: Use ForwardEchoRequest.ProtoReflect.Descriptor instead.
317
func (*ForwardEchoRequest) Descriptor() ([]byte, []int) {
318
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{3}
319
}
320

321
func (x *ForwardEchoRequest) GetCount() int32 {
322
	if x != nil {
323
		return x.Count
324
	}
325
	return 0
326
}
327

328
func (x *ForwardEchoRequest) GetQps() int32 {
329
	if x != nil {
330
		return x.Qps
331
	}
332
	return 0
333
}
334

335
func (x *ForwardEchoRequest) GetTimeoutMicros() int64 {
336
	if x != nil {
337
		return x.TimeoutMicros
338
	}
339
	return 0
340
}
341

342
func (x *ForwardEchoRequest) GetUrl() string {
343
	if x != nil {
344
		return x.Url
345
	}
346
	return ""
347
}
348

349
func (x *ForwardEchoRequest) GetHeaders() []*Header {
350
	if x != nil {
351
		return x.Headers
352
	}
353
	return nil
354
}
355

356
func (x *ForwardEchoRequest) GetMessage() string {
357
	if x != nil {
358
		return x.Message
359
	}
360
	return ""
361
}
362

363
func (x *ForwardEchoRequest) GetMethod() string {
364
	if x != nil {
365
		return x.Method
366
	}
367
	return ""
368
}
369

370
func (x *ForwardEchoRequest) GetHttp2() bool {
371
	if x != nil {
372
		return x.Http2
373
	}
374
	return false
375
}
376

377
func (x *ForwardEchoRequest) GetHttp3() bool {
378
	if x != nil {
379
		return x.Http3
380
	}
381
	return false
382
}
383

384
func (x *ForwardEchoRequest) GetServerFirst() bool {
385
	if x != nil {
386
		return x.ServerFirst
387
	}
388
	return false
389
}
390

391
func (x *ForwardEchoRequest) GetFollowRedirects() bool {
392
	if x != nil {
393
		return x.FollowRedirects
394
	}
395
	return false
396
}
397

398
func (x *ForwardEchoRequest) GetCert() string {
399
	if x != nil {
400
		return x.Cert
401
	}
402
	return ""
403
}
404

405
func (x *ForwardEchoRequest) GetKey() string {
406
	if x != nil {
407
		return x.Key
408
	}
409
	return ""
410
}
411

412
func (x *ForwardEchoRequest) GetCaCert() string {
413
	if x != nil {
414
		return x.CaCert
415
	}
416
	return ""
417
}
418

419
func (x *ForwardEchoRequest) GetCertFile() string {
420
	if x != nil {
421
		return x.CertFile
422
	}
423
	return ""
424
}
425

426
func (x *ForwardEchoRequest) GetKeyFile() string {
427
	if x != nil {
428
		return x.KeyFile
429
	}
430
	return ""
431
}
432

433
func (x *ForwardEchoRequest) GetCaCertFile() string {
434
	if x != nil {
435
		return x.CaCertFile
436
	}
437
	return ""
438
}
439

440
func (x *ForwardEchoRequest) GetInsecureSkipVerify() bool {
441
	if x != nil {
442
		return x.InsecureSkipVerify
443
	}
444
	return false
445
}
446

447
func (x *ForwardEchoRequest) GetAlpn() *Alpn {
448
	if x != nil {
449
		return x.Alpn
450
	}
451
	return nil
452
}
453

454
func (x *ForwardEchoRequest) GetServerName() string {
455
	if x != nil {
456
		return x.ServerName
457
	}
458
	return ""
459
}
460

461
func (x *ForwardEchoRequest) GetExpectedResponse() *wrapperspb.StringValue {
462
	if x != nil {
463
		return x.ExpectedResponse
464
	}
465
	return nil
466
}
467

468
func (x *ForwardEchoRequest) GetNewConnectionPerRequest() bool {
469
	if x != nil {
470
		return x.NewConnectionPerRequest
471
	}
472
	return false
473
}
474

475
func (x *ForwardEchoRequest) GetForceDNSLookup() bool {
476
	if x != nil {
477
		return x.ForceDNSLookup
478
	}
479
	return false
480
}
481

482
func (x *ForwardEchoRequest) GetHbone() *HBONE {
483
	if x != nil {
484
		return x.Hbone
485
	}
486
	return nil
487
}
488

489
func (x *ForwardEchoRequest) GetProxyProtocolVersion() ProxyProtoVersion {
490
	if x != nil {
491
		return x.ProxyProtocolVersion
492
	}
493
	return ProxyProtoVersion_NONE
494
}
495

496
type HBONE struct {
497
	state         protoimpl.MessageState
498
	sizeCache     protoimpl.SizeCache
499
	unknownFields protoimpl.UnknownFields
500

501
	Address string    `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
502
	Headers []*Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
503
	// If non-empty, make the request with the corresponding cert and key.
504
	Cert string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
505
	Key  string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
506
	// If non-empty, verify the server CA
507
	CaCert string `protobuf:"bytes,4,opt,name=caCert,proto3" json:"caCert,omitempty"`
508
	// If non-empty, make the request with the corresponding cert and key file.
509
	CertFile string `protobuf:"bytes,5,opt,name=certFile,proto3" json:"certFile,omitempty"`
510
	KeyFile  string `protobuf:"bytes,6,opt,name=keyFile,proto3" json:"keyFile,omitempty"`
511
	// If non-empty, verify the server CA with the ca cert file.
512
	CaCertFile string `protobuf:"bytes,7,opt,name=caCertFile,proto3" json:"caCertFile,omitempty"`
513
	// Skip verifying peer's certificate.
514
	InsecureSkipVerify bool `protobuf:"varint,8,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
515
}
516

517
func (x *HBONE) Reset() {
518
	*x = HBONE{}
519
	if protoimpl.UnsafeEnabled {
520
		mi := &file_test_echo_proto_echo_proto_msgTypes[4]
521
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
522
		ms.StoreMessageInfo(mi)
523
	}
524
}
525

526
func (x *HBONE) String() string {
527
	return protoimpl.X.MessageStringOf(x)
528
}
529

530
func (*HBONE) ProtoMessage() {}
531

532
func (x *HBONE) ProtoReflect() protoreflect.Message {
533
	mi := &file_test_echo_proto_echo_proto_msgTypes[4]
534
	if protoimpl.UnsafeEnabled && x != nil {
535
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
536
		if ms.LoadMessageInfo() == nil {
537
			ms.StoreMessageInfo(mi)
538
		}
539
		return ms
540
	}
541
	return mi.MessageOf(x)
542
}
543

544
// Deprecated: Use HBONE.ProtoReflect.Descriptor instead.
545
func (*HBONE) Descriptor() ([]byte, []int) {
546
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{4}
547
}
548

549
func (x *HBONE) GetAddress() string {
550
	if x != nil {
551
		return x.Address
552
	}
553
	return ""
554
}
555

556
func (x *HBONE) GetHeaders() []*Header {
557
	if x != nil {
558
		return x.Headers
559
	}
560
	return nil
561
}
562

563
func (x *HBONE) GetCert() string {
564
	if x != nil {
565
		return x.Cert
566
	}
567
	return ""
568
}
569

570
func (x *HBONE) GetKey() string {
571
	if x != nil {
572
		return x.Key
573
	}
574
	return ""
575
}
576

577
func (x *HBONE) GetCaCert() string {
578
	if x != nil {
579
		return x.CaCert
580
	}
581
	return ""
582
}
583

584
func (x *HBONE) GetCertFile() string {
585
	if x != nil {
586
		return x.CertFile
587
	}
588
	return ""
589
}
590

591
func (x *HBONE) GetKeyFile() string {
592
	if x != nil {
593
		return x.KeyFile
594
	}
595
	return ""
596
}
597

598
func (x *HBONE) GetCaCertFile() string {
599
	if x != nil {
600
		return x.CaCertFile
601
	}
602
	return ""
603
}
604

605
func (x *HBONE) GetInsecureSkipVerify() bool {
606
	if x != nil {
607
		return x.InsecureSkipVerify
608
	}
609
	return false
610
}
611

612
type Alpn struct {
613
	state         protoimpl.MessageState
614
	sizeCache     protoimpl.SizeCache
615
	unknownFields protoimpl.UnknownFields
616

617
	Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
618
}
619

620
func (x *Alpn) Reset() {
621
	*x = Alpn{}
622
	if protoimpl.UnsafeEnabled {
623
		mi := &file_test_echo_proto_echo_proto_msgTypes[5]
624
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
625
		ms.StoreMessageInfo(mi)
626
	}
627
}
628

629
func (x *Alpn) String() string {
630
	return protoimpl.X.MessageStringOf(x)
631
}
632

633
func (*Alpn) ProtoMessage() {}
634

635
func (x *Alpn) ProtoReflect() protoreflect.Message {
636
	mi := &file_test_echo_proto_echo_proto_msgTypes[5]
637
	if protoimpl.UnsafeEnabled && x != nil {
638
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
639
		if ms.LoadMessageInfo() == nil {
640
			ms.StoreMessageInfo(mi)
641
		}
642
		return ms
643
	}
644
	return mi.MessageOf(x)
645
}
646

647
// Deprecated: Use Alpn.ProtoReflect.Descriptor instead.
648
func (*Alpn) Descriptor() ([]byte, []int) {
649
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{5}
650
}
651

652
func (x *Alpn) GetValue() []string {
653
	if x != nil {
654
		return x.Value
655
	}
656
	return nil
657
}
658

659
type ForwardEchoResponse struct {
660
	state         protoimpl.MessageState
661
	sizeCache     protoimpl.SizeCache
662
	unknownFields protoimpl.UnknownFields
663

664
	Output []string `protobuf:"bytes,1,rep,name=output,proto3" json:"output,omitempty"`
665
}
666

667
func (x *ForwardEchoResponse) Reset() {
668
	*x = ForwardEchoResponse{}
669
	if protoimpl.UnsafeEnabled {
670
		mi := &file_test_echo_proto_echo_proto_msgTypes[6]
671
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
672
		ms.StoreMessageInfo(mi)
673
	}
674
}
675

676
func (x *ForwardEchoResponse) String() string {
677
	return protoimpl.X.MessageStringOf(x)
678
}
679

680
func (*ForwardEchoResponse) ProtoMessage() {}
681

682
func (x *ForwardEchoResponse) ProtoReflect() protoreflect.Message {
683
	mi := &file_test_echo_proto_echo_proto_msgTypes[6]
684
	if protoimpl.UnsafeEnabled && x != nil {
685
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
686
		if ms.LoadMessageInfo() == nil {
687
			ms.StoreMessageInfo(mi)
688
		}
689
		return ms
690
	}
691
	return mi.MessageOf(x)
692
}
693

694
// Deprecated: Use ForwardEchoResponse.ProtoReflect.Descriptor instead.
695
func (*ForwardEchoResponse) Descriptor() ([]byte, []int) {
696
	return file_test_echo_proto_echo_proto_rawDescGZIP(), []int{6}
697
}
698

699
func (x *ForwardEchoResponse) GetOutput() []string {
700
	if x != nil {
701
		return x.Output
702
	}
703
	return nil
704
}
705

706
var File_test_echo_proto_echo_proto protoreflect.FileDescriptor
707

708
var file_test_echo_proto_echo_proto_rawDesc = []byte{
709
	0x0a, 0x1a, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74,
710
	0x6f, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72,
711
	0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
712
	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72,
713
	0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0b, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
714
	0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
715
	0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x28, 0x0a, 0x0c,
716
	0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07,
717
	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
718
	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x30, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
719
	0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
720
	0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
721
	0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xeb, 0x06, 0x0a, 0x12, 0x46, 0x6f, 0x72,
722
	0x77, 0x61, 0x72, 0x64, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
723
	0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
724
	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01,
725
	0x28, 0x05, 0x52, 0x03, 0x71, 0x70, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f,
726
	0x75, 0x74, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
727
	0x0d, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x12, 0x10,
728
	0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
729
	0x12, 0x27, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
730
	0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
731
	0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
732
	0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
733
	0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x09, 0x20,
734
	0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68,
735
	0x74, 0x74, 0x70, 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x68, 0x74, 0x74, 0x70,
736
	0x32, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x74, 0x74, 0x70, 0x33, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08,
737
	0x52, 0x05, 0x68, 0x74, 0x74, 0x70, 0x33, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65,
738
	0x72, 0x46, 0x69, 0x72, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x65,
739
	0x72, 0x76, 0x65, 0x72, 0x46, 0x69, 0x72, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x6f, 0x6c,
740
	0x6c, 0x6f, 0x77, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01,
741
	0x28, 0x08, 0x52, 0x0f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65,
742
	0x63, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28,
743
	0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x0b,
744
	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x43,
745
	0x65, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x43, 0x65, 0x72,
746
	0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x10, 0x20,
747
	0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a,
748
	0x07, 0x6b, 0x65, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
749
	0x6b, 0x65, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x43, 0x65, 0x72,
750
	0x74, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x43,
751
	0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x65, 0x63,
752
	0x75, 0x72, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x13, 0x20,
753
	0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x53, 0x6b, 0x69,
754
	0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x6c, 0x70, 0x6e, 0x18,
755
	0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x6c,
756
	0x70, 0x6e, 0x52, 0x04, 0x61, 0x6c, 0x70, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76,
757
	0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65,
758
	0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65,
759
	0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x15, 0x20, 0x01,
760
	0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
761
	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
762
	0x52, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
763
	0x73, 0x65, 0x12, 0x38, 0x0a, 0x17, 0x6e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
764
	0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x16, 0x20,
765
	0x01, 0x28, 0x08, 0x52, 0x17, 0x6e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
766
	0x6f, 0x6e, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e,
767
	0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x4e, 0x53, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x18, 0x17,
768
	0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x4e, 0x53, 0x4c, 0x6f,
769
	0x6f, 0x6b, 0x75, 0x70, 0x12, 0x22, 0x0a, 0x05, 0x68, 0x62, 0x6f, 0x6e, 0x65, 0x18, 0x18, 0x20,
770
	0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x42, 0x4f, 0x4e,
771
	0x45, 0x52, 0x05, 0x68, 0x62, 0x6f, 0x6e, 0x65, 0x12, 0x4c, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x78,
772
	0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
773
	0x18, 0x19, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50,
774
	0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
775
	0x52, 0x14, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56,
776
	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8e, 0x02, 0x0a, 0x05, 0x48, 0x42, 0x4f, 0x4e, 0x45,
777
	0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
778
	0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x07, 0x68, 0x65,
779
	0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72,
780
	0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64,
781
	0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
782
	0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03,
783
	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x43,
784
	0x65, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x43, 0x65, 0x72,
785
	0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20,
786
	0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a,
787
	0x07, 0x6b, 0x65, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
788
	0x6b, 0x65, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x43, 0x65, 0x72,
789
	0x74, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x43,
790
	0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x65, 0x63,
791
	0x75, 0x72, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x08, 0x20,
792
	0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x53, 0x6b, 0x69,
793
	0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x22, 0x1c, 0x0a, 0x04, 0x41, 0x6c, 0x70, 0x6e, 0x12,
794
	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05,
795
	0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2d, 0x0a, 0x13, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
796
	0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06,
797
	0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75,
798
	0x74, 0x70, 0x75, 0x74, 0x2a, 0x2d, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f,
799
	0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e,
800
	0x45, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x31, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x56,
801
	0x32, 0x10, 0x02, 0x32, 0x88, 0x01, 0x0a, 0x0f, 0x45, 0x63, 0x68, 0x6f, 0x54, 0x65, 0x73, 0x74,
802
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x45, 0x63, 0x68, 0x6f, 0x12,
803
	0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75,
804
	0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x63, 0x68, 0x6f,
805
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x77,
806
	0x61, 0x72, 0x64, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
807
	0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
808
	0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61,
809
	0x72, 0x64, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1f,
810
	0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x69, 0x73, 0x74, 0x69, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x42,
811
	0x04, 0x45, 0x63, 0x68, 0x6f, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
812
	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
813
}
814

815
var (
816
	file_test_echo_proto_echo_proto_rawDescOnce sync.Once
817
	file_test_echo_proto_echo_proto_rawDescData = file_test_echo_proto_echo_proto_rawDesc
818
)
819

820
func file_test_echo_proto_echo_proto_rawDescGZIP() []byte {
821
	file_test_echo_proto_echo_proto_rawDescOnce.Do(func() {
822
		file_test_echo_proto_echo_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_echo_proto_echo_proto_rawDescData)
823
	})
824
	return file_test_echo_proto_echo_proto_rawDescData
825
}
826

827
var file_test_echo_proto_echo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
828
var file_test_echo_proto_echo_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
829
var file_test_echo_proto_echo_proto_goTypes = []interface{}{
830
	(ProxyProtoVersion)(0),         // 0: proto.ProxyProtoVersion
831
	(*EchoRequest)(nil),            // 1: proto.EchoRequest
832
	(*EchoResponse)(nil),           // 2: proto.EchoResponse
833
	(*Header)(nil),                 // 3: proto.Header
834
	(*ForwardEchoRequest)(nil),     // 4: proto.ForwardEchoRequest
835
	(*HBONE)(nil),                  // 5: proto.HBONE
836
	(*Alpn)(nil),                   // 6: proto.Alpn
837
	(*ForwardEchoResponse)(nil),    // 7: proto.ForwardEchoResponse
838
	(*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue
839
}
840
var file_test_echo_proto_echo_proto_depIdxs = []int32{
841
	3, // 0: proto.ForwardEchoRequest.headers:type_name -> proto.Header
842
	6, // 1: proto.ForwardEchoRequest.alpn:type_name -> proto.Alpn
843
	8, // 2: proto.ForwardEchoRequest.expectedResponse:type_name -> google.protobuf.StringValue
844
	5, // 3: proto.ForwardEchoRequest.hbone:type_name -> proto.HBONE
845
	0, // 4: proto.ForwardEchoRequest.proxyProtocolVersion:type_name -> proto.ProxyProtoVersion
846
	3, // 5: proto.HBONE.headers:type_name -> proto.Header
847
	1, // 6: proto.EchoTestService.Echo:input_type -> proto.EchoRequest
848
	4, // 7: proto.EchoTestService.ForwardEcho:input_type -> proto.ForwardEchoRequest
849
	2, // 8: proto.EchoTestService.Echo:output_type -> proto.EchoResponse
850
	7, // 9: proto.EchoTestService.ForwardEcho:output_type -> proto.ForwardEchoResponse
851
	8, // [8:10] is the sub-list for method output_type
852
	6, // [6:8] is the sub-list for method input_type
853
	6, // [6:6] is the sub-list for extension type_name
854
	6, // [6:6] is the sub-list for extension extendee
855
	0, // [0:6] is the sub-list for field type_name
856
}
857

858
func init() { file_test_echo_proto_echo_proto_init() }
859
func file_test_echo_proto_echo_proto_init() {
860
	if File_test_echo_proto_echo_proto != nil {
861
		return
862
	}
863
	if !protoimpl.UnsafeEnabled {
864
		file_test_echo_proto_echo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
865
			switch v := v.(*EchoRequest); i {
866
			case 0:
867
				return &v.state
868
			case 1:
869
				return &v.sizeCache
870
			case 2:
871
				return &v.unknownFields
872
			default:
873
				return nil
874
			}
875
		}
876
		file_test_echo_proto_echo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
877
			switch v := v.(*EchoResponse); i {
878
			case 0:
879
				return &v.state
880
			case 1:
881
				return &v.sizeCache
882
			case 2:
883
				return &v.unknownFields
884
			default:
885
				return nil
886
			}
887
		}
888
		file_test_echo_proto_echo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
889
			switch v := v.(*Header); i {
890
			case 0:
891
				return &v.state
892
			case 1:
893
				return &v.sizeCache
894
			case 2:
895
				return &v.unknownFields
896
			default:
897
				return nil
898
			}
899
		}
900
		file_test_echo_proto_echo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
901
			switch v := v.(*ForwardEchoRequest); i {
902
			case 0:
903
				return &v.state
904
			case 1:
905
				return &v.sizeCache
906
			case 2:
907
				return &v.unknownFields
908
			default:
909
				return nil
910
			}
911
		}
912
		file_test_echo_proto_echo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
913
			switch v := v.(*HBONE); i {
914
			case 0:
915
				return &v.state
916
			case 1:
917
				return &v.sizeCache
918
			case 2:
919
				return &v.unknownFields
920
			default:
921
				return nil
922
			}
923
		}
924
		file_test_echo_proto_echo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
925
			switch v := v.(*Alpn); i {
926
			case 0:
927
				return &v.state
928
			case 1:
929
				return &v.sizeCache
930
			case 2:
931
				return &v.unknownFields
932
			default:
933
				return nil
934
			}
935
		}
936
		file_test_echo_proto_echo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
937
			switch v := v.(*ForwardEchoResponse); i {
938
			case 0:
939
				return &v.state
940
			case 1:
941
				return &v.sizeCache
942
			case 2:
943
				return &v.unknownFields
944
			default:
945
				return nil
946
			}
947
		}
948
	}
949
	type x struct{}
950
	out := protoimpl.TypeBuilder{
951
		File: protoimpl.DescBuilder{
952
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
953
			RawDescriptor: file_test_echo_proto_echo_proto_rawDesc,
954
			NumEnums:      1,
955
			NumMessages:   7,
956
			NumExtensions: 0,
957
			NumServices:   1,
958
		},
959
		GoTypes:           file_test_echo_proto_echo_proto_goTypes,
960
		DependencyIndexes: file_test_echo_proto_echo_proto_depIdxs,
961
		EnumInfos:         file_test_echo_proto_echo_proto_enumTypes,
962
		MessageInfos:      file_test_echo_proto_echo_proto_msgTypes,
963
	}.Build()
964
	File_test_echo_proto_echo_proto = out.File
965
	file_test_echo_proto_echo_proto_rawDesc = nil
966
	file_test_echo_proto_echo_proto_goTypes = nil
967
	file_test_echo_proto_echo_proto_depIdxs = nil
968
}
969

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.