1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package grpc_gcp
25
26 import (
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 type HandshakeProtocol int32
41
42 const (
43
44 HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED HandshakeProtocol = 0
45
46 HandshakeProtocol_TLS HandshakeProtocol = 1
47
48 HandshakeProtocol_ALTS HandshakeProtocol = 2
49 )
50
51
52 var (
53 HandshakeProtocol_name = map[int32]string{
54 0: "HANDSHAKE_PROTOCOL_UNSPECIFIED",
55 1: "TLS",
56 2: "ALTS",
57 }
58 HandshakeProtocol_value = map[string]int32{
59 "HANDSHAKE_PROTOCOL_UNSPECIFIED": 0,
60 "TLS": 1,
61 "ALTS": 2,
62 }
63 )
64
65 func (x HandshakeProtocol) Enum() *HandshakeProtocol {
66 p := new(HandshakeProtocol)
67 *p = x
68 return p
69 }
70
71 func (x HandshakeProtocol) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (HandshakeProtocol) Descriptor() protoreflect.EnumDescriptor {
76 return file_grpc_gcp_handshaker_proto_enumTypes[0].Descriptor()
77 }
78
79 func (HandshakeProtocol) Type() protoreflect.EnumType {
80 return &file_grpc_gcp_handshaker_proto_enumTypes[0]
81 }
82
83 func (x HandshakeProtocol) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87
88 func (HandshakeProtocol) EnumDescriptor() ([]byte, []int) {
89 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{0}
90 }
91
92 type NetworkProtocol int32
93
94 const (
95 NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED NetworkProtocol = 0
96 NetworkProtocol_TCP NetworkProtocol = 1
97 NetworkProtocol_UDP NetworkProtocol = 2
98 )
99
100
101 var (
102 NetworkProtocol_name = map[int32]string{
103 0: "NETWORK_PROTOCOL_UNSPECIFIED",
104 1: "TCP",
105 2: "UDP",
106 }
107 NetworkProtocol_value = map[string]int32{
108 "NETWORK_PROTOCOL_UNSPECIFIED": 0,
109 "TCP": 1,
110 "UDP": 2,
111 }
112 )
113
114 func (x NetworkProtocol) Enum() *NetworkProtocol {
115 p := new(NetworkProtocol)
116 *p = x
117 return p
118 }
119
120 func (x NetworkProtocol) String() string {
121 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
122 }
123
124 func (NetworkProtocol) Descriptor() protoreflect.EnumDescriptor {
125 return file_grpc_gcp_handshaker_proto_enumTypes[1].Descriptor()
126 }
127
128 func (NetworkProtocol) Type() protoreflect.EnumType {
129 return &file_grpc_gcp_handshaker_proto_enumTypes[1]
130 }
131
132 func (x NetworkProtocol) Number() protoreflect.EnumNumber {
133 return protoreflect.EnumNumber(x)
134 }
135
136
137 func (NetworkProtocol) EnumDescriptor() ([]byte, []int) {
138 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{1}
139 }
140
141 type Endpoint struct {
142 state protoimpl.MessageState
143 sizeCache protoimpl.SizeCache
144 unknownFields protoimpl.UnknownFields
145
146
147
148 IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
149
150 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
151
152 Protocol NetworkProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=grpc.gcp.NetworkProtocol" json:"protocol,omitempty"`
153 }
154
155 func (x *Endpoint) Reset() {
156 *x = Endpoint{}
157 if protoimpl.UnsafeEnabled {
158 mi := &file_grpc_gcp_handshaker_proto_msgTypes[0]
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 ms.StoreMessageInfo(mi)
161 }
162 }
163
164 func (x *Endpoint) String() string {
165 return protoimpl.X.MessageStringOf(x)
166 }
167
168 func (*Endpoint) ProtoMessage() {}
169
170 func (x *Endpoint) ProtoReflect() protoreflect.Message {
171 mi := &file_grpc_gcp_handshaker_proto_msgTypes[0]
172 if protoimpl.UnsafeEnabled && x != nil {
173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
174 if ms.LoadMessageInfo() == nil {
175 ms.StoreMessageInfo(mi)
176 }
177 return ms
178 }
179 return mi.MessageOf(x)
180 }
181
182
183 func (*Endpoint) Descriptor() ([]byte, []int) {
184 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{0}
185 }
186
187 func (x *Endpoint) GetIpAddress() string {
188 if x != nil {
189 return x.IpAddress
190 }
191 return ""
192 }
193
194 func (x *Endpoint) GetPort() int32 {
195 if x != nil {
196 return x.Port
197 }
198 return 0
199 }
200
201 func (x *Endpoint) GetProtocol() NetworkProtocol {
202 if x != nil {
203 return x.Protocol
204 }
205 return NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED
206 }
207
208 type Identity struct {
209 state protoimpl.MessageState
210 sizeCache protoimpl.SizeCache
211 unknownFields protoimpl.UnknownFields
212
213
214
215
216
217 IdentityOneof isIdentity_IdentityOneof `protobuf_oneof:"identity_oneof"`
218
219 Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
220 }
221
222 func (x *Identity) Reset() {
223 *x = Identity{}
224 if protoimpl.UnsafeEnabled {
225 mi := &file_grpc_gcp_handshaker_proto_msgTypes[1]
226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227 ms.StoreMessageInfo(mi)
228 }
229 }
230
231 func (x *Identity) String() string {
232 return protoimpl.X.MessageStringOf(x)
233 }
234
235 func (*Identity) ProtoMessage() {}
236
237 func (x *Identity) ProtoReflect() protoreflect.Message {
238 mi := &file_grpc_gcp_handshaker_proto_msgTypes[1]
239 if protoimpl.UnsafeEnabled && x != nil {
240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241 if ms.LoadMessageInfo() == nil {
242 ms.StoreMessageInfo(mi)
243 }
244 return ms
245 }
246 return mi.MessageOf(x)
247 }
248
249
250 func (*Identity) Descriptor() ([]byte, []int) {
251 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{1}
252 }
253
254 func (m *Identity) GetIdentityOneof() isIdentity_IdentityOneof {
255 if m != nil {
256 return m.IdentityOneof
257 }
258 return nil
259 }
260
261 func (x *Identity) GetServiceAccount() string {
262 if x, ok := x.GetIdentityOneof().(*Identity_ServiceAccount); ok {
263 return x.ServiceAccount
264 }
265 return ""
266 }
267
268 func (x *Identity) GetHostname() string {
269 if x, ok := x.GetIdentityOneof().(*Identity_Hostname); ok {
270 return x.Hostname
271 }
272 return ""
273 }
274
275 func (x *Identity) GetAttributes() map[string]string {
276 if x != nil {
277 return x.Attributes
278 }
279 return nil
280 }
281
282 type isIdentity_IdentityOneof interface {
283 isIdentity_IdentityOneof()
284 }
285
286 type Identity_ServiceAccount struct {
287
288 ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3,oneof"`
289 }
290
291 type Identity_Hostname struct {
292
293 Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3,oneof"`
294 }
295
296 func (*Identity_ServiceAccount) isIdentity_IdentityOneof() {}
297
298 func (*Identity_Hostname) isIdentity_IdentityOneof() {}
299
300 type StartClientHandshakeReq struct {
301 state protoimpl.MessageState
302 sizeCache protoimpl.SizeCache
303 unknownFields protoimpl.UnknownFields
304
305
306 HandshakeSecurityProtocol HandshakeProtocol `protobuf:"varint,1,opt,name=handshake_security_protocol,json=handshakeSecurityProtocol,proto3,enum=grpc.gcp.HandshakeProtocol" json:"handshake_security_protocol,omitempty"`
307
308
309 ApplicationProtocols []string `protobuf:"bytes,2,rep,name=application_protocols,json=applicationProtocols,proto3" json:"application_protocols,omitempty"`
310
311
312 RecordProtocols []string `protobuf:"bytes,3,rep,name=record_protocols,json=recordProtocols,proto3" json:"record_protocols,omitempty"`
313
314
315
316 TargetIdentities []*Identity `protobuf:"bytes,4,rep,name=target_identities,json=targetIdentities,proto3" json:"target_identities,omitempty"`
317
318
319 LocalIdentity *Identity `protobuf:"bytes,5,opt,name=local_identity,json=localIdentity,proto3" json:"local_identity,omitempty"`
320
321
322 LocalEndpoint *Endpoint `protobuf:"bytes,6,opt,name=local_endpoint,json=localEndpoint,proto3" json:"local_endpoint,omitempty"`
323
324
325 RemoteEndpoint *Endpoint `protobuf:"bytes,7,opt,name=remote_endpoint,json=remoteEndpoint,proto3" json:"remote_endpoint,omitempty"`
326
327
328
329 TargetName string `protobuf:"bytes,8,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"`
330
331 RpcVersions *RpcProtocolVersions `protobuf:"bytes,9,opt,name=rpc_versions,json=rpcVersions,proto3" json:"rpc_versions,omitempty"`
332
333 MaxFrameSize uint32 `protobuf:"varint,10,opt,name=max_frame_size,json=maxFrameSize,proto3" json:"max_frame_size,omitempty"`
334
335
336
337
338 AccessToken string `protobuf:"bytes,11,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
339 }
340
341 func (x *StartClientHandshakeReq) Reset() {
342 *x = StartClientHandshakeReq{}
343 if protoimpl.UnsafeEnabled {
344 mi := &file_grpc_gcp_handshaker_proto_msgTypes[2]
345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346 ms.StoreMessageInfo(mi)
347 }
348 }
349
350 func (x *StartClientHandshakeReq) String() string {
351 return protoimpl.X.MessageStringOf(x)
352 }
353
354 func (*StartClientHandshakeReq) ProtoMessage() {}
355
356 func (x *StartClientHandshakeReq) ProtoReflect() protoreflect.Message {
357 mi := &file_grpc_gcp_handshaker_proto_msgTypes[2]
358 if protoimpl.UnsafeEnabled && x != nil {
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 if ms.LoadMessageInfo() == nil {
361 ms.StoreMessageInfo(mi)
362 }
363 return ms
364 }
365 return mi.MessageOf(x)
366 }
367
368
369 func (*StartClientHandshakeReq) Descriptor() ([]byte, []int) {
370 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{2}
371 }
372
373 func (x *StartClientHandshakeReq) GetHandshakeSecurityProtocol() HandshakeProtocol {
374 if x != nil {
375 return x.HandshakeSecurityProtocol
376 }
377 return HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED
378 }
379
380 func (x *StartClientHandshakeReq) GetApplicationProtocols() []string {
381 if x != nil {
382 return x.ApplicationProtocols
383 }
384 return nil
385 }
386
387 func (x *StartClientHandshakeReq) GetRecordProtocols() []string {
388 if x != nil {
389 return x.RecordProtocols
390 }
391 return nil
392 }
393
394 func (x *StartClientHandshakeReq) GetTargetIdentities() []*Identity {
395 if x != nil {
396 return x.TargetIdentities
397 }
398 return nil
399 }
400
401 func (x *StartClientHandshakeReq) GetLocalIdentity() *Identity {
402 if x != nil {
403 return x.LocalIdentity
404 }
405 return nil
406 }
407
408 func (x *StartClientHandshakeReq) GetLocalEndpoint() *Endpoint {
409 if x != nil {
410 return x.LocalEndpoint
411 }
412 return nil
413 }
414
415 func (x *StartClientHandshakeReq) GetRemoteEndpoint() *Endpoint {
416 if x != nil {
417 return x.RemoteEndpoint
418 }
419 return nil
420 }
421
422 func (x *StartClientHandshakeReq) GetTargetName() string {
423 if x != nil {
424 return x.TargetName
425 }
426 return ""
427 }
428
429 func (x *StartClientHandshakeReq) GetRpcVersions() *RpcProtocolVersions {
430 if x != nil {
431 return x.RpcVersions
432 }
433 return nil
434 }
435
436 func (x *StartClientHandshakeReq) GetMaxFrameSize() uint32 {
437 if x != nil {
438 return x.MaxFrameSize
439 }
440 return 0
441 }
442
443 func (x *StartClientHandshakeReq) GetAccessToken() string {
444 if x != nil {
445 return x.AccessToken
446 }
447 return ""
448 }
449
450 type ServerHandshakeParameters struct {
451 state protoimpl.MessageState
452 sizeCache protoimpl.SizeCache
453 unknownFields protoimpl.UnknownFields
454
455
456
457 RecordProtocols []string `protobuf:"bytes,1,rep,name=record_protocols,json=recordProtocols,proto3" json:"record_protocols,omitempty"`
458
459
460 LocalIdentities []*Identity `protobuf:"bytes,2,rep,name=local_identities,json=localIdentities,proto3" json:"local_identities,omitempty"`
461
462
463
464
465 Token *string `protobuf:"bytes,3,opt,name=token,proto3,oneof" json:"token,omitempty"`
466 }
467
468 func (x *ServerHandshakeParameters) Reset() {
469 *x = ServerHandshakeParameters{}
470 if protoimpl.UnsafeEnabled {
471 mi := &file_grpc_gcp_handshaker_proto_msgTypes[3]
472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473 ms.StoreMessageInfo(mi)
474 }
475 }
476
477 func (x *ServerHandshakeParameters) String() string {
478 return protoimpl.X.MessageStringOf(x)
479 }
480
481 func (*ServerHandshakeParameters) ProtoMessage() {}
482
483 func (x *ServerHandshakeParameters) ProtoReflect() protoreflect.Message {
484 mi := &file_grpc_gcp_handshaker_proto_msgTypes[3]
485 if protoimpl.UnsafeEnabled && x != nil {
486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
487 if ms.LoadMessageInfo() == nil {
488 ms.StoreMessageInfo(mi)
489 }
490 return ms
491 }
492 return mi.MessageOf(x)
493 }
494
495
496 func (*ServerHandshakeParameters) Descriptor() ([]byte, []int) {
497 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{3}
498 }
499
500 func (x *ServerHandshakeParameters) GetRecordProtocols() []string {
501 if x != nil {
502 return x.RecordProtocols
503 }
504 return nil
505 }
506
507 func (x *ServerHandshakeParameters) GetLocalIdentities() []*Identity {
508 if x != nil {
509 return x.LocalIdentities
510 }
511 return nil
512 }
513
514 func (x *ServerHandshakeParameters) GetToken() string {
515 if x != nil && x.Token != nil {
516 return *x.Token
517 }
518 return ""
519 }
520
521 type StartServerHandshakeReq struct {
522 state protoimpl.MessageState
523 sizeCache protoimpl.SizeCache
524 unknownFields protoimpl.UnknownFields
525
526
527
528 ApplicationProtocols []string `protobuf:"bytes,1,rep,name=application_protocols,json=applicationProtocols,proto3" json:"application_protocols,omitempty"`
529
530
531
532
533
534 HandshakeParameters map[int32]*ServerHandshakeParameters `protobuf:"bytes,2,rep,name=handshake_parameters,json=handshakeParameters,proto3" json:"handshake_parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
535
536
537 InBytes []byte `protobuf:"bytes,3,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
538
539
540 LocalEndpoint *Endpoint `protobuf:"bytes,4,opt,name=local_endpoint,json=localEndpoint,proto3" json:"local_endpoint,omitempty"`
541
542
543 RemoteEndpoint *Endpoint `protobuf:"bytes,5,opt,name=remote_endpoint,json=remoteEndpoint,proto3" json:"remote_endpoint,omitempty"`
544
545 RpcVersions *RpcProtocolVersions `protobuf:"bytes,6,opt,name=rpc_versions,json=rpcVersions,proto3" json:"rpc_versions,omitempty"`
546
547 MaxFrameSize uint32 `protobuf:"varint,7,opt,name=max_frame_size,json=maxFrameSize,proto3" json:"max_frame_size,omitempty"`
548 }
549
550 func (x *StartServerHandshakeReq) Reset() {
551 *x = StartServerHandshakeReq{}
552 if protoimpl.UnsafeEnabled {
553 mi := &file_grpc_gcp_handshaker_proto_msgTypes[4]
554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
555 ms.StoreMessageInfo(mi)
556 }
557 }
558
559 func (x *StartServerHandshakeReq) String() string {
560 return protoimpl.X.MessageStringOf(x)
561 }
562
563 func (*StartServerHandshakeReq) ProtoMessage() {}
564
565 func (x *StartServerHandshakeReq) ProtoReflect() protoreflect.Message {
566 mi := &file_grpc_gcp_handshaker_proto_msgTypes[4]
567 if protoimpl.UnsafeEnabled && x != nil {
568 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
569 if ms.LoadMessageInfo() == nil {
570 ms.StoreMessageInfo(mi)
571 }
572 return ms
573 }
574 return mi.MessageOf(x)
575 }
576
577
578 func (*StartServerHandshakeReq) Descriptor() ([]byte, []int) {
579 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{4}
580 }
581
582 func (x *StartServerHandshakeReq) GetApplicationProtocols() []string {
583 if x != nil {
584 return x.ApplicationProtocols
585 }
586 return nil
587 }
588
589 func (x *StartServerHandshakeReq) GetHandshakeParameters() map[int32]*ServerHandshakeParameters {
590 if x != nil {
591 return x.HandshakeParameters
592 }
593 return nil
594 }
595
596 func (x *StartServerHandshakeReq) GetInBytes() []byte {
597 if x != nil {
598 return x.InBytes
599 }
600 return nil
601 }
602
603 func (x *StartServerHandshakeReq) GetLocalEndpoint() *Endpoint {
604 if x != nil {
605 return x.LocalEndpoint
606 }
607 return nil
608 }
609
610 func (x *StartServerHandshakeReq) GetRemoteEndpoint() *Endpoint {
611 if x != nil {
612 return x.RemoteEndpoint
613 }
614 return nil
615 }
616
617 func (x *StartServerHandshakeReq) GetRpcVersions() *RpcProtocolVersions {
618 if x != nil {
619 return x.RpcVersions
620 }
621 return nil
622 }
623
624 func (x *StartServerHandshakeReq) GetMaxFrameSize() uint32 {
625 if x != nil {
626 return x.MaxFrameSize
627 }
628 return 0
629 }
630
631 type NextHandshakeMessageReq struct {
632 state protoimpl.MessageState
633 sizeCache protoimpl.SizeCache
634 unknownFields protoimpl.UnknownFields
635
636
637
638
639 InBytes []byte `protobuf:"bytes,1,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
640
641
642
643 NetworkLatencyMs uint32 `protobuf:"varint,2,opt,name=network_latency_ms,json=networkLatencyMs,proto3" json:"network_latency_ms,omitempty"`
644 }
645
646 func (x *NextHandshakeMessageReq) Reset() {
647 *x = NextHandshakeMessageReq{}
648 if protoimpl.UnsafeEnabled {
649 mi := &file_grpc_gcp_handshaker_proto_msgTypes[5]
650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
651 ms.StoreMessageInfo(mi)
652 }
653 }
654
655 func (x *NextHandshakeMessageReq) String() string {
656 return protoimpl.X.MessageStringOf(x)
657 }
658
659 func (*NextHandshakeMessageReq) ProtoMessage() {}
660
661 func (x *NextHandshakeMessageReq) ProtoReflect() protoreflect.Message {
662 mi := &file_grpc_gcp_handshaker_proto_msgTypes[5]
663 if protoimpl.UnsafeEnabled && x != nil {
664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
665 if ms.LoadMessageInfo() == nil {
666 ms.StoreMessageInfo(mi)
667 }
668 return ms
669 }
670 return mi.MessageOf(x)
671 }
672
673
674 func (*NextHandshakeMessageReq) Descriptor() ([]byte, []int) {
675 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{5}
676 }
677
678 func (x *NextHandshakeMessageReq) GetInBytes() []byte {
679 if x != nil {
680 return x.InBytes
681 }
682 return nil
683 }
684
685 func (x *NextHandshakeMessageReq) GetNetworkLatencyMs() uint32 {
686 if x != nil {
687 return x.NetworkLatencyMs
688 }
689 return 0
690 }
691
692 type HandshakerReq struct {
693 state protoimpl.MessageState
694 sizeCache protoimpl.SizeCache
695 unknownFields protoimpl.UnknownFields
696
697
698
699
700
701
702 ReqOneof isHandshakerReq_ReqOneof `protobuf_oneof:"req_oneof"`
703 }
704
705 func (x *HandshakerReq) Reset() {
706 *x = HandshakerReq{}
707 if protoimpl.UnsafeEnabled {
708 mi := &file_grpc_gcp_handshaker_proto_msgTypes[6]
709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
710 ms.StoreMessageInfo(mi)
711 }
712 }
713
714 func (x *HandshakerReq) String() string {
715 return protoimpl.X.MessageStringOf(x)
716 }
717
718 func (*HandshakerReq) ProtoMessage() {}
719
720 func (x *HandshakerReq) ProtoReflect() protoreflect.Message {
721 mi := &file_grpc_gcp_handshaker_proto_msgTypes[6]
722 if protoimpl.UnsafeEnabled && x != nil {
723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
724 if ms.LoadMessageInfo() == nil {
725 ms.StoreMessageInfo(mi)
726 }
727 return ms
728 }
729 return mi.MessageOf(x)
730 }
731
732
733 func (*HandshakerReq) Descriptor() ([]byte, []int) {
734 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{6}
735 }
736
737 func (m *HandshakerReq) GetReqOneof() isHandshakerReq_ReqOneof {
738 if m != nil {
739 return m.ReqOneof
740 }
741 return nil
742 }
743
744 func (x *HandshakerReq) GetClientStart() *StartClientHandshakeReq {
745 if x, ok := x.GetReqOneof().(*HandshakerReq_ClientStart); ok {
746 return x.ClientStart
747 }
748 return nil
749 }
750
751 func (x *HandshakerReq) GetServerStart() *StartServerHandshakeReq {
752 if x, ok := x.GetReqOneof().(*HandshakerReq_ServerStart); ok {
753 return x.ServerStart
754 }
755 return nil
756 }
757
758 func (x *HandshakerReq) GetNext() *NextHandshakeMessageReq {
759 if x, ok := x.GetReqOneof().(*HandshakerReq_Next); ok {
760 return x.Next
761 }
762 return nil
763 }
764
765 type isHandshakerReq_ReqOneof interface {
766 isHandshakerReq_ReqOneof()
767 }
768
769 type HandshakerReq_ClientStart struct {
770
771 ClientStart *StartClientHandshakeReq `protobuf:"bytes,1,opt,name=client_start,json=clientStart,proto3,oneof"`
772 }
773
774 type HandshakerReq_ServerStart struct {
775
776 ServerStart *StartServerHandshakeReq `protobuf:"bytes,2,opt,name=server_start,json=serverStart,proto3,oneof"`
777 }
778
779 type HandshakerReq_Next struct {
780
781 Next *NextHandshakeMessageReq `protobuf:"bytes,3,opt,name=next,proto3,oneof"`
782 }
783
784 func (*HandshakerReq_ClientStart) isHandshakerReq_ReqOneof() {}
785
786 func (*HandshakerReq_ServerStart) isHandshakerReq_ReqOneof() {}
787
788 func (*HandshakerReq_Next) isHandshakerReq_ReqOneof() {}
789
790 type HandshakerResult struct {
791 state protoimpl.MessageState
792 sizeCache protoimpl.SizeCache
793 unknownFields protoimpl.UnknownFields
794
795
796 ApplicationProtocol string `protobuf:"bytes,1,opt,name=application_protocol,json=applicationProtocol,proto3" json:"application_protocol,omitempty"`
797
798 RecordProtocol string `protobuf:"bytes,2,opt,name=record_protocol,json=recordProtocol,proto3" json:"record_protocol,omitempty"`
799
800
801
802 KeyData []byte `protobuf:"bytes,3,opt,name=key_data,json=keyData,proto3" json:"key_data,omitempty"`
803
804 PeerIdentity *Identity `protobuf:"bytes,4,opt,name=peer_identity,json=peerIdentity,proto3" json:"peer_identity,omitempty"`
805
806 LocalIdentity *Identity `protobuf:"bytes,5,opt,name=local_identity,json=localIdentity,proto3" json:"local_identity,omitempty"`
807
808
809
810 KeepChannelOpen bool `protobuf:"varint,6,opt,name=keep_channel_open,json=keepChannelOpen,proto3" json:"keep_channel_open,omitempty"`
811
812 PeerRpcVersions *RpcProtocolVersions `protobuf:"bytes,7,opt,name=peer_rpc_versions,json=peerRpcVersions,proto3" json:"peer_rpc_versions,omitempty"`
813
814 MaxFrameSize uint32 `protobuf:"varint,8,opt,name=max_frame_size,json=maxFrameSize,proto3" json:"max_frame_size,omitempty"`
815 }
816
817 func (x *HandshakerResult) Reset() {
818 *x = HandshakerResult{}
819 if protoimpl.UnsafeEnabled {
820 mi := &file_grpc_gcp_handshaker_proto_msgTypes[7]
821 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
822 ms.StoreMessageInfo(mi)
823 }
824 }
825
826 func (x *HandshakerResult) String() string {
827 return protoimpl.X.MessageStringOf(x)
828 }
829
830 func (*HandshakerResult) ProtoMessage() {}
831
832 func (x *HandshakerResult) ProtoReflect() protoreflect.Message {
833 mi := &file_grpc_gcp_handshaker_proto_msgTypes[7]
834 if protoimpl.UnsafeEnabled && x != nil {
835 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
836 if ms.LoadMessageInfo() == nil {
837 ms.StoreMessageInfo(mi)
838 }
839 return ms
840 }
841 return mi.MessageOf(x)
842 }
843
844
845 func (*HandshakerResult) Descriptor() ([]byte, []int) {
846 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{7}
847 }
848
849 func (x *HandshakerResult) GetApplicationProtocol() string {
850 if x != nil {
851 return x.ApplicationProtocol
852 }
853 return ""
854 }
855
856 func (x *HandshakerResult) GetRecordProtocol() string {
857 if x != nil {
858 return x.RecordProtocol
859 }
860 return ""
861 }
862
863 func (x *HandshakerResult) GetKeyData() []byte {
864 if x != nil {
865 return x.KeyData
866 }
867 return nil
868 }
869
870 func (x *HandshakerResult) GetPeerIdentity() *Identity {
871 if x != nil {
872 return x.PeerIdentity
873 }
874 return nil
875 }
876
877 func (x *HandshakerResult) GetLocalIdentity() *Identity {
878 if x != nil {
879 return x.LocalIdentity
880 }
881 return nil
882 }
883
884 func (x *HandshakerResult) GetKeepChannelOpen() bool {
885 if x != nil {
886 return x.KeepChannelOpen
887 }
888 return false
889 }
890
891 func (x *HandshakerResult) GetPeerRpcVersions() *RpcProtocolVersions {
892 if x != nil {
893 return x.PeerRpcVersions
894 }
895 return nil
896 }
897
898 func (x *HandshakerResult) GetMaxFrameSize() uint32 {
899 if x != nil {
900 return x.MaxFrameSize
901 }
902 return 0
903 }
904
905 type HandshakerStatus struct {
906 state protoimpl.MessageState
907 sizeCache protoimpl.SizeCache
908 unknownFields protoimpl.UnknownFields
909
910
911 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
912
913 Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
914 }
915
916 func (x *HandshakerStatus) Reset() {
917 *x = HandshakerStatus{}
918 if protoimpl.UnsafeEnabled {
919 mi := &file_grpc_gcp_handshaker_proto_msgTypes[8]
920 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
921 ms.StoreMessageInfo(mi)
922 }
923 }
924
925 func (x *HandshakerStatus) String() string {
926 return protoimpl.X.MessageStringOf(x)
927 }
928
929 func (*HandshakerStatus) ProtoMessage() {}
930
931 func (x *HandshakerStatus) ProtoReflect() protoreflect.Message {
932 mi := &file_grpc_gcp_handshaker_proto_msgTypes[8]
933 if protoimpl.UnsafeEnabled && x != nil {
934 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
935 if ms.LoadMessageInfo() == nil {
936 ms.StoreMessageInfo(mi)
937 }
938 return ms
939 }
940 return mi.MessageOf(x)
941 }
942
943
944 func (*HandshakerStatus) Descriptor() ([]byte, []int) {
945 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{8}
946 }
947
948 func (x *HandshakerStatus) GetCode() uint32 {
949 if x != nil {
950 return x.Code
951 }
952 return 0
953 }
954
955 func (x *HandshakerStatus) GetDetails() string {
956 if x != nil {
957 return x.Details
958 }
959 return ""
960 }
961
962 type HandshakerResp struct {
963 state protoimpl.MessageState
964 sizeCache protoimpl.SizeCache
965 unknownFields protoimpl.UnknownFields
966
967
968
969
970
971
972 OutFrames []byte `protobuf:"bytes,1,opt,name=out_frames,json=outFrames,proto3" json:"out_frames,omitempty"`
973
974
975
976 BytesConsumed uint32 `protobuf:"varint,2,opt,name=bytes_consumed,json=bytesConsumed,proto3" json:"bytes_consumed,omitempty"`
977
978
979 Result *HandshakerResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
980
981 Status *HandshakerStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
982 }
983
984 func (x *HandshakerResp) Reset() {
985 *x = HandshakerResp{}
986 if protoimpl.UnsafeEnabled {
987 mi := &file_grpc_gcp_handshaker_proto_msgTypes[9]
988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
989 ms.StoreMessageInfo(mi)
990 }
991 }
992
993 func (x *HandshakerResp) String() string {
994 return protoimpl.X.MessageStringOf(x)
995 }
996
997 func (*HandshakerResp) ProtoMessage() {}
998
999 func (x *HandshakerResp) ProtoReflect() protoreflect.Message {
1000 mi := &file_grpc_gcp_handshaker_proto_msgTypes[9]
1001 if protoimpl.UnsafeEnabled && x != nil {
1002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1003 if ms.LoadMessageInfo() == nil {
1004 ms.StoreMessageInfo(mi)
1005 }
1006 return ms
1007 }
1008 return mi.MessageOf(x)
1009 }
1010
1011
1012 func (*HandshakerResp) Descriptor() ([]byte, []int) {
1013 return file_grpc_gcp_handshaker_proto_rawDescGZIP(), []int{9}
1014 }
1015
1016 func (x *HandshakerResp) GetOutFrames() []byte {
1017 if x != nil {
1018 return x.OutFrames
1019 }
1020 return nil
1021 }
1022
1023 func (x *HandshakerResp) GetBytesConsumed() uint32 {
1024 if x != nil {
1025 return x.BytesConsumed
1026 }
1027 return 0
1028 }
1029
1030 func (x *HandshakerResp) GetResult() *HandshakerResult {
1031 if x != nil {
1032 return x.Result
1033 }
1034 return nil
1035 }
1036
1037 func (x *HandshakerResp) GetStatus() *HandshakerStatus {
1038 if x != nil {
1039 return x.Status
1040 }
1041 return nil
1042 }
1043
1044 var File_grpc_gcp_handshaker_proto protoreflect.FileDescriptor
1045
1046 var file_grpc_gcp_handshaker_proto_rawDesc = []byte{
1047 0x0a, 0x19, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x67, 0x63, 0x70, 0x2f, 0x68, 0x61, 0x6e, 0x64, 0x73,
1048 0x68, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x67, 0x72, 0x70,
1049 0x63, 0x2e, 0x67, 0x63, 0x70, 0x1a, 0x28, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x67, 0x63, 0x70, 0x2f,
1050 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
1051 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
1052 0x74, 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69,
1053 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1054 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f,
1055 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x35,
1056 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
1057 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x4e, 0x65, 0x74, 0x77,
1058 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f,
1059 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xe8, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
1060 0x74, 0x79, 0x12, 0x29, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63,
1061 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x73,
1062 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a,
1063 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
1064 0x00, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x61,
1065 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
1066 0x22, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74,
1067 0x69, 0x74, 0x79, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e,
1068 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a,
1069 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74,
1070 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1071 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
1072 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x10,
1073 0x0a, 0x0e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
1074 0x22, 0xf6, 0x04, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
1075 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x12, 0x5b, 0x0a, 0x1b,
1076 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
1077 0x74, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
1078 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x48, 0x61, 0x6e,
1079 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x19,
1080 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
1081 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x70, 0x70,
1082 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
1083 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63,
1084 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x29,
1085 0x0a, 0x10, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
1086 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
1087 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x3f, 0x0a, 0x11, 0x74, 0x61, 0x72,
1088 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04,
1089 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e,
1090 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1091 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0e, 0x6c, 0x6f,
1092 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01,
1093 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x49, 0x64,
1094 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x65,
1095 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x65,
1096 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
1097 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
1098 0x74, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
1099 0x12, 0x3b, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
1100 0x69, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63,
1101 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0e, 0x72,
1102 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a,
1103 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01,
1104 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40,
1105 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09,
1106 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e,
1107 0x52, 0x70, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,
1108 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x72, 0x70, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1109 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x69,
1110 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x46, 0x72, 0x61,
1111 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
1112 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63,
1113 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x19, 0x53, 0x65,
1114 0x72, 0x76, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x61, 0x72,
1115 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x6f, 0x72,
1116 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
1117 0x09, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
1118 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x65, 0x6e,
1119 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67,
1120 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
1121 0x52, 0x0f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65,
1122 0x73, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
1123 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06,
1124 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa5, 0x04, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x72, 0x74,
1125 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52,
1126 0x65, 0x71, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
1127 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
1128 0x09, 0x52, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
1129 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x6d, 0x0a, 0x14, 0x68, 0x61, 0x6e, 0x64, 0x73,
1130 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18,
1131 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70,
1132 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64,
1133 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61,
1134 0x6b, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72,
1135 0x79, 0x52, 0x13, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x61, 0x72, 0x61,
1136 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x74,
1137 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65,
1138 0x73, 0x12, 0x39, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
1139 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63,
1140 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0d, 0x6c,
1141 0x6f, 0x63, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0f,
1142 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
1143 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70,
1144 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74,
1145 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0c, 0x72, 0x70, 0x63,
1146 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1147 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x52, 0x70, 0x63, 0x50, 0x72,
1148 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b,
1149 0x72, 0x70, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6d,
1150 0x61, 0x78, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20,
1151 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x69, 0x7a,
1152 0x65, 0x1a, 0x6b, 0x0a, 0x18, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x61,
1153 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
1154 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
1155 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
1156 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
1157 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
1158 0x65, 0x72, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x62,
1159 0x0a, 0x17, 0x4e, 0x65, 0x78, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x4d,
1160 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6e, 0x5f,
1161 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x69, 0x6e, 0x42,
1162 0x79, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f,
1163 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
1164 0x52, 0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79,
1165 0x4d, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x0d, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65,
1166 0x72, 0x52, 0x65, 0x71, 0x12, 0x46, 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73,
1167 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70,
1168 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e,
1169 0x74, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52,
1170 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x46, 0x0a, 0x0c,
1171 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01,
1172 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x53, 0x74,
1173 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61,
1174 0x6b, 0x65, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53,
1175 0x74, 0x61, 0x72, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01,
1176 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x4e, 0x65,
1177 0x78, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
1178 0x67, 0x65, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x42, 0x0b, 0x0a,
1179 0x09, 0x72, 0x65, 0x71, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0x9a, 0x03, 0x0a, 0x10, 0x48,
1180 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
1181 0x31, 0x0a, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70,
1182 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x61,
1183 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
1184 0x6f, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f,
1185 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63,
1186 0x6f, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x6b,
1187 0x65, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6b,
1188 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69,
1189 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
1190 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
1191 0x79, 0x52, 0x0c, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
1192 0x39, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
1193 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
1194 0x63, 0x70, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x6c, 0x6f, 0x63,
1195 0x61, 0x6c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6b, 0x65,
1196 0x65, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18,
1197 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6b, 0x65, 0x65, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x6e,
1198 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x49, 0x0a, 0x11, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x72,
1199 0x70, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
1200 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x52, 0x70, 0x63,
1201 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1202 0x52, 0x0f, 0x70, 0x65, 0x65, 0x72, 0x52, 0x70, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
1203 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73,
1204 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x46, 0x72,
1205 0x61, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x40, 0x0a, 0x10, 0x48, 0x61, 0x6e, 0x64, 0x73,
1206 0x68, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63,
1207 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
1208 0x18, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1209 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x0e, 0x48, 0x61,
1210 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1211 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
1212 0x52, 0x09, 0x6f, 0x75, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x62,
1213 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x18, 0x02, 0x20,
1214 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d,
1215 0x65, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01,
1216 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x48, 0x61,
1217 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06,
1218 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
1219 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63,
1220 0x70, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
1221 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x4a, 0x0a, 0x11, 0x48, 0x61,
1222 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12,
1223 0x22, 0x0a, 0x1e, 0x48, 0x41, 0x4e, 0x44, 0x53, 0x48, 0x41, 0x4b, 0x45, 0x5f, 0x50, 0x52, 0x4f,
1224 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1225 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
1226 0x41, 0x4c, 0x54, 0x53, 0x10, 0x02, 0x2a, 0x45, 0x0a, 0x0f, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
1227 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x45, 0x54,
1228 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x55, 0x4e,
1229 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54,
1230 0x43, 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x02, 0x32, 0x5b, 0x0a,
1231 0x11, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
1232 0x63, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x44, 0x6f, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b,
1233 0x65, 0x12, 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x48, 0x61, 0x6e,
1234 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x67, 0x72, 0x70,
1235 0x63, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72,
1236 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x6b, 0x0a, 0x15, 0x69, 0x6f,
1237 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
1238 0x6e, 0x61, 0x6c, 0x42, 0x0f, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x50,
1239 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
1240 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x63,
1241 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2f, 0x61, 0x6c, 0x74, 0x73, 0x2f,
1242 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
1243 0x72, 0x70, 0x63, 0x5f, 0x67, 0x63, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1244 }
1245
1246 var (
1247 file_grpc_gcp_handshaker_proto_rawDescOnce sync.Once
1248 file_grpc_gcp_handshaker_proto_rawDescData = file_grpc_gcp_handshaker_proto_rawDesc
1249 )
1250
1251 func file_grpc_gcp_handshaker_proto_rawDescGZIP() []byte {
1252 file_grpc_gcp_handshaker_proto_rawDescOnce.Do(func() {
1253 file_grpc_gcp_handshaker_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_gcp_handshaker_proto_rawDescData)
1254 })
1255 return file_grpc_gcp_handshaker_proto_rawDescData
1256 }
1257
1258 var file_grpc_gcp_handshaker_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1259 var file_grpc_gcp_handshaker_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1260 var file_grpc_gcp_handshaker_proto_goTypes = []interface{}{
1261 (HandshakeProtocol)(0),
1262 (NetworkProtocol)(0),
1263 (*Endpoint)(nil),
1264 (*Identity)(nil),
1265 (*StartClientHandshakeReq)(nil),
1266 (*ServerHandshakeParameters)(nil),
1267 (*StartServerHandshakeReq)(nil),
1268 (*NextHandshakeMessageReq)(nil),
1269 (*HandshakerReq)(nil),
1270 (*HandshakerResult)(nil),
1271 (*HandshakerStatus)(nil),
1272 (*HandshakerResp)(nil),
1273 nil,
1274 nil,
1275 (*RpcProtocolVersions)(nil),
1276 }
1277 var file_grpc_gcp_handshaker_proto_depIdxs = []int32{
1278 1,
1279 12,
1280 0,
1281 3,
1282 3,
1283 2,
1284 2,
1285 14,
1286 3,
1287 13,
1288 2,
1289 2,
1290 14,
1291 4,
1292 6,
1293 7,
1294 3,
1295 3,
1296 14,
1297 9,
1298 10,
1299 5,
1300 8,
1301 11,
1302 23,
1303 22,
1304 22,
1305 22,
1306 0,
1307 }
1308
1309 func init() { file_grpc_gcp_handshaker_proto_init() }
1310 func file_grpc_gcp_handshaker_proto_init() {
1311 if File_grpc_gcp_handshaker_proto != nil {
1312 return
1313 }
1314 file_grpc_gcp_transport_security_common_proto_init()
1315 if !protoimpl.UnsafeEnabled {
1316 file_grpc_gcp_handshaker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1317 switch v := v.(*Endpoint); i {
1318 case 0:
1319 return &v.state
1320 case 1:
1321 return &v.sizeCache
1322 case 2:
1323 return &v.unknownFields
1324 default:
1325 return nil
1326 }
1327 }
1328 file_grpc_gcp_handshaker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1329 switch v := v.(*Identity); i {
1330 case 0:
1331 return &v.state
1332 case 1:
1333 return &v.sizeCache
1334 case 2:
1335 return &v.unknownFields
1336 default:
1337 return nil
1338 }
1339 }
1340 file_grpc_gcp_handshaker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1341 switch v := v.(*StartClientHandshakeReq); i {
1342 case 0:
1343 return &v.state
1344 case 1:
1345 return &v.sizeCache
1346 case 2:
1347 return &v.unknownFields
1348 default:
1349 return nil
1350 }
1351 }
1352 file_grpc_gcp_handshaker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1353 switch v := v.(*ServerHandshakeParameters); i {
1354 case 0:
1355 return &v.state
1356 case 1:
1357 return &v.sizeCache
1358 case 2:
1359 return &v.unknownFields
1360 default:
1361 return nil
1362 }
1363 }
1364 file_grpc_gcp_handshaker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1365 switch v := v.(*StartServerHandshakeReq); i {
1366 case 0:
1367 return &v.state
1368 case 1:
1369 return &v.sizeCache
1370 case 2:
1371 return &v.unknownFields
1372 default:
1373 return nil
1374 }
1375 }
1376 file_grpc_gcp_handshaker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1377 switch v := v.(*NextHandshakeMessageReq); i {
1378 case 0:
1379 return &v.state
1380 case 1:
1381 return &v.sizeCache
1382 case 2:
1383 return &v.unknownFields
1384 default:
1385 return nil
1386 }
1387 }
1388 file_grpc_gcp_handshaker_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1389 switch v := v.(*HandshakerReq); i {
1390 case 0:
1391 return &v.state
1392 case 1:
1393 return &v.sizeCache
1394 case 2:
1395 return &v.unknownFields
1396 default:
1397 return nil
1398 }
1399 }
1400 file_grpc_gcp_handshaker_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1401 switch v := v.(*HandshakerResult); i {
1402 case 0:
1403 return &v.state
1404 case 1:
1405 return &v.sizeCache
1406 case 2:
1407 return &v.unknownFields
1408 default:
1409 return nil
1410 }
1411 }
1412 file_grpc_gcp_handshaker_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1413 switch v := v.(*HandshakerStatus); i {
1414 case 0:
1415 return &v.state
1416 case 1:
1417 return &v.sizeCache
1418 case 2:
1419 return &v.unknownFields
1420 default:
1421 return nil
1422 }
1423 }
1424 file_grpc_gcp_handshaker_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1425 switch v := v.(*HandshakerResp); i {
1426 case 0:
1427 return &v.state
1428 case 1:
1429 return &v.sizeCache
1430 case 2:
1431 return &v.unknownFields
1432 default:
1433 return nil
1434 }
1435 }
1436 }
1437 file_grpc_gcp_handshaker_proto_msgTypes[1].OneofWrappers = []interface{}{
1438 (*Identity_ServiceAccount)(nil),
1439 (*Identity_Hostname)(nil),
1440 }
1441 file_grpc_gcp_handshaker_proto_msgTypes[3].OneofWrappers = []interface{}{}
1442 file_grpc_gcp_handshaker_proto_msgTypes[6].OneofWrappers = []interface{}{
1443 (*HandshakerReq_ClientStart)(nil),
1444 (*HandshakerReq_ServerStart)(nil),
1445 (*HandshakerReq_Next)(nil),
1446 }
1447 type x struct{}
1448 out := protoimpl.TypeBuilder{
1449 File: protoimpl.DescBuilder{
1450 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1451 RawDescriptor: file_grpc_gcp_handshaker_proto_rawDesc,
1452 NumEnums: 2,
1453 NumMessages: 12,
1454 NumExtensions: 0,
1455 NumServices: 1,
1456 },
1457 GoTypes: file_grpc_gcp_handshaker_proto_goTypes,
1458 DependencyIndexes: file_grpc_gcp_handshaker_proto_depIdxs,
1459 EnumInfos: file_grpc_gcp_handshaker_proto_enumTypes,
1460 MessageInfos: file_grpc_gcp_handshaker_proto_msgTypes,
1461 }.Build()
1462 File_grpc_gcp_handshaker_proto = out.File
1463 file_grpc_gcp_handshaker_proto_rawDesc = nil
1464 file_grpc_gcp_handshaker_proto_goTypes = nil
1465 file_grpc_gcp_handshaker_proto_depIdxs = nil
1466 }
1467
View as plain text