1// Session lifecycle and control messages (protocol.Hello and friends).
2
3// Code generated by protoc-gen-go. DO NOT EDIT.
4// versions:
5// protoc-gen-go v1.36.12
6// protoc (unknown)
7// source: session.proto
8
9package wire
10
11import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 unsafe "unsafe"
17)
18
19const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24)
25
26// Hello opens a session attachment. version must stay field 1.
27type Hello struct {
28 state protoimpl.MessageState `protogen:"open.v1"`
29 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
30 // Closed intent taxonomy: 0 = ephemeral, 1 = new, 2 = attach, 3 = resume.
31 Intent uint32 `protobuf:"varint,2,opt,name=intent,proto3" json:"intent,omitempty"`
32 ClientId []byte `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // exactly 16 bytes
33 ResumeToken uint64 `protobuf:"varint,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"`
34 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
35 Cols uint32 `protobuf:"varint,6,opt,name=cols,proto3" json:"cols,omitempty"`
36 Rows uint32 `protobuf:"varint,7,opt,name=rows,proto3" json:"rows,omitempty"`
37 PixelWidth uint32 `protobuf:"varint,8,opt,name=pixel_width,json=pixelWidth,proto3" json:"pixel_width,omitempty"`
38 PixelHeight uint32 `protobuf:"varint,9,opt,name=pixel_height,json=pixelHeight,proto3" json:"pixel_height,omitempty"`
39 TermEnv string `protobuf:"bytes,10,opt,name=term_env,json=termEnv,proto3" json:"term_env,omitempty"`
40 Cwd string `protobuf:"bytes,11,opt,name=cwd,proto3" json:"cwd,omitempty"`
41 TrueColor bool `protobuf:"varint,12,opt,name=true_color,json=trueColor,proto3" json:"true_color,omitempty"`
42 MaxOutputInFlight uint32 `protobuf:"varint,13,opt,name=max_output_in_flight,json=maxOutputInFlight,proto3" json:"max_output_in_flight,omitempty"`
43 Env []string `protobuf:"bytes,14,rep,name=env,proto3" json:"env,omitempty"`
44 EnvironmentPolicy uint32 `protobuf:"varint,16,opt,name=environment_policy,json=environmentPolicy,proto3" json:"environment_policy,omitempty"` // 0 = client-owned, 1 = daemon-owned
45 ExactTarget *ExactTarget `protobuf:"bytes,17,opt,name=exact_target,json=exactTarget,proto3" json:"exact_target,omitempty"` // optional pointer
46 PreferredTabId string `protobuf:"bytes,18,opt,name=preferred_tab_id,json=preferredTabId,proto3" json:"preferred_tab_id,omitempty"`
47 NavigationCapabilities uint32 `protobuf:"varint,19,opt,name=navigation_capabilities,json=navigationCapabilities,proto3" json:"navigation_capabilities,omitempty"`
48 Remote bool `protobuf:"varint,20,opt,name=remote,proto3" json:"remote,omitempty"`
49 KittyDirectGraphics bool `protobuf:"varint,21,opt,name=kitty_direct_graphics,json=kittyDirectGraphics,proto3" json:"kitty_direct_graphics,omitempty"`
50 SessionTarget *SessionAttachTarget `protobuf:"bytes,22,opt,name=session_target,json=sessionTarget,proto3" json:"session_target,omitempty"` // optional pointer
51 KittyKeyboard bool `protobuf:"varint,23,opt,name=kitty_keyboard,json=kittyKeyboard,proto3" json:"kitty_keyboard,omitempty"`
52 // Terminal window focus when the attachment opens: 0 = unknown,
53 // 1 = focused, 2 = unfocused. Later changes travel as TerminalFocus.
54 TerminalFocus uint32 `protobuf:"varint,24,opt,name=terminal_focus,json=terminalFocus,proto3" json:"terminal_focus,omitempty"`
55 // PID of a local client process, for bar scripts. 0 when unknown or remote.
56 ClientPid uint32 `protobuf:"varint,25,opt,name=client_pid,json=clientPid,proto3" json:"client_pid,omitempty"`
57 unknownFields protoimpl.UnknownFields
58 sizeCache protoimpl.SizeCache
59}
60
61func (x *Hello) Reset() {
62 *x = Hello{}
63 mi := &file_session_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66}
67
68func (x *Hello) String() string {
69 return protoimpl.X.MessageStringOf(x)
70}
71
72func (*Hello) ProtoMessage() {}
73
74func (x *Hello) ProtoReflect() protoreflect.Message {
75 mi := &file_session_proto_msgTypes[0]
76 if x != nil {
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 if ms.LoadMessageInfo() == nil {
79 ms.StoreMessageInfo(mi)
80 }
81 return ms
82 }
83 return mi.MessageOf(x)
84}
85
86// Deprecated: Use Hello.ProtoReflect.Descriptor instead.
87func (*Hello) Descriptor() ([]byte, []int) {
88 return file_session_proto_rawDescGZIP(), []int{0}
89}
90
91func (x *Hello) GetVersion() uint32 {
92 if x != nil {
93 return x.Version
94 }
95 return 0
96}
97
98func (x *Hello) GetIntent() uint32 {
99 if x != nil {
100 return x.Intent
101 }
102 return 0
103}
104
105func (x *Hello) GetClientId() []byte {
106 if x != nil {
107 return x.ClientId
108 }
109 return nil
110}
111
112func (x *Hello) GetResumeToken() uint64 {
113 if x != nil {
114 return x.ResumeToken
115 }
116 return 0
117}
118
119func (x *Hello) GetName() string {
120 if x != nil {
121 return x.Name
122 }
123 return ""
124}
125
126func (x *Hello) GetCols() uint32 {
127 if x != nil {
128 return x.Cols
129 }
130 return 0
131}
132
133func (x *Hello) GetRows() uint32 {
134 if x != nil {
135 return x.Rows
136 }
137 return 0
138}
139
140func (x *Hello) GetPixelWidth() uint32 {
141 if x != nil {
142 return x.PixelWidth
143 }
144 return 0
145}
146
147func (x *Hello) GetPixelHeight() uint32 {
148 if x != nil {
149 return x.PixelHeight
150 }
151 return 0
152}
153
154func (x *Hello) GetTermEnv() string {
155 if x != nil {
156 return x.TermEnv
157 }
158 return ""
159}
160
161func (x *Hello) GetCwd() string {
162 if x != nil {
163 return x.Cwd
164 }
165 return ""
166}
167
168func (x *Hello) GetTrueColor() bool {
169 if x != nil {
170 return x.TrueColor
171 }
172 return false
173}
174
175func (x *Hello) GetMaxOutputInFlight() uint32 {
176 if x != nil {
177 return x.MaxOutputInFlight
178 }
179 return 0
180}
181
182func (x *Hello) GetEnv() []string {
183 if x != nil {
184 return x.Env
185 }
186 return nil
187}
188
189func (x *Hello) GetEnvironmentPolicy() uint32 {
190 if x != nil {
191 return x.EnvironmentPolicy
192 }
193 return 0
194}
195
196func (x *Hello) GetExactTarget() *ExactTarget {
197 if x != nil {
198 return x.ExactTarget
199 }
200 return nil
201}
202
203func (x *Hello) GetPreferredTabId() string {
204 if x != nil {
205 return x.PreferredTabId
206 }
207 return ""
208}
209
210func (x *Hello) GetNavigationCapabilities() uint32 {
211 if x != nil {
212 return x.NavigationCapabilities
213 }
214 return 0
215}
216
217func (x *Hello) GetRemote() bool {
218 if x != nil {
219 return x.Remote
220 }
221 return false
222}
223
224func (x *Hello) GetKittyDirectGraphics() bool {
225 if x != nil {
226 return x.KittyDirectGraphics
227 }
228 return false
229}
230
231func (x *Hello) GetSessionTarget() *SessionAttachTarget {
232 if x != nil {
233 return x.SessionTarget
234 }
235 return nil
236}
237
238func (x *Hello) GetKittyKeyboard() bool {
239 if x != nil {
240 return x.KittyKeyboard
241 }
242 return false
243}
244
245func (x *Hello) GetTerminalFocus() uint32 {
246 if x != nil {
247 return x.TerminalFocus
248 }
249 return 0
250}
251
252func (x *Hello) GetClientPid() uint32 {
253 if x != nil {
254 return x.ClientPid
255 }
256 return 0
257}
258
259// Welcome answers an accepted attach.
260type Welcome struct {
261 state protoimpl.MessageState `protogen:"open.v1"`
262 SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
263 SessionName string `protobuf:"bytes,2,opt,name=session_name,json=sessionName,proto3" json:"session_name,omitempty"`
264 Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
265 ResumeToken uint64 `protobuf:"varint,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"`
266 Capabilities uint32 `protobuf:"varint,5,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
267 CommittedIdentity *CommittedRouteIdentity `protobuf:"bytes,6,opt,name=committed_identity,json=committedIdentity,proto3" json:"committed_identity,omitempty"` // optional pointer
268 unknownFields protoimpl.UnknownFields
269 sizeCache protoimpl.SizeCache
270}
271
272func (x *Welcome) Reset() {
273 *x = Welcome{}
274 mi := &file_session_proto_msgTypes[1]
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 ms.StoreMessageInfo(mi)
277}
278
279func (x *Welcome) String() string {
280 return protoimpl.X.MessageStringOf(x)
281}
282
283func (*Welcome) ProtoMessage() {}
284
285func (x *Welcome) ProtoReflect() protoreflect.Message {
286 mi := &file_session_proto_msgTypes[1]
287 if x != nil {
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 if ms.LoadMessageInfo() == nil {
290 ms.StoreMessageInfo(mi)
291 }
292 return ms
293 }
294 return mi.MessageOf(x)
295}
296
297// Deprecated: Use Welcome.ProtoReflect.Descriptor instead.
298func (*Welcome) Descriptor() ([]byte, []int) {
299 return file_session_proto_rawDescGZIP(), []int{1}
300}
301
302func (x *Welcome) GetSessionId() string {
303 if x != nil {
304 return x.SessionId
305 }
306 return ""
307}
308
309func (x *Welcome) GetSessionName() string {
310 if x != nil {
311 return x.SessionName
312 }
313 return ""
314}
315
316func (x *Welcome) GetEphemeral() bool {
317 if x != nil {
318 return x.Ephemeral
319 }
320 return false
321}
322
323func (x *Welcome) GetResumeToken() uint64 {
324 if x != nil {
325 return x.ResumeToken
326 }
327 return 0
328}
329
330func (x *Welcome) GetCapabilities() uint32 {
331 if x != nil {
332 return x.Capabilities
333 }
334 return 0
335}
336
337func (x *Welcome) GetCommittedIdentity() *CommittedRouteIdentity {
338 if x != nil {
339 return x.CommittedIdentity
340 }
341 return nil
342}
343
344// ErrorMsg is a bounded daemon error.
345type ErrorMsg struct {
346 state protoimpl.MessageState `protogen:"open.v1"`
347 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
348 Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
349 unknownFields protoimpl.UnknownFields
350 sizeCache protoimpl.SizeCache
351}
352
353func (x *ErrorMsg) Reset() {
354 *x = ErrorMsg{}
355 mi := &file_session_proto_msgTypes[2]
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 ms.StoreMessageInfo(mi)
358}
359
360func (x *ErrorMsg) String() string {
361 return protoimpl.X.MessageStringOf(x)
362}
363
364func (*ErrorMsg) ProtoMessage() {}
365
366func (x *ErrorMsg) ProtoReflect() protoreflect.Message {
367 mi := &file_session_proto_msgTypes[2]
368 if x != nil {
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 if ms.LoadMessageInfo() == nil {
371 ms.StoreMessageInfo(mi)
372 }
373 return ms
374 }
375 return mi.MessageOf(x)
376}
377
378// Deprecated: Use ErrorMsg.ProtoReflect.Descriptor instead.
379func (*ErrorMsg) Descriptor() ([]byte, []int) {
380 return file_session_proto_rawDescGZIP(), []int{2}
381}
382
383func (x *ErrorMsg) GetCode() uint32 {
384 if x != nil {
385 return x.Code
386 }
387 return 0
388}
389
390func (x *ErrorMsg) GetText() string {
391 if x != nil {
392 return x.Text
393 }
394 return ""
395}
396
397// CommittedRouteIdentity is the identity committed after an accepted attach.
398type CommittedRouteIdentity struct {
399 state protoimpl.MessageState `protogen:"open.v1"`
400 Target *ExactTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
401 Ephemeral bool `protobuf:"varint,2,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
402 unknownFields protoimpl.UnknownFields
403 sizeCache protoimpl.SizeCache
404}
405
406func (x *CommittedRouteIdentity) Reset() {
407 *x = CommittedRouteIdentity{}
408 mi := &file_session_proto_msgTypes[3]
409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
410 ms.StoreMessageInfo(mi)
411}
412
413func (x *CommittedRouteIdentity) String() string {
414 return protoimpl.X.MessageStringOf(x)
415}
416
417func (*CommittedRouteIdentity) ProtoMessage() {}
418
419func (x *CommittedRouteIdentity) ProtoReflect() protoreflect.Message {
420 mi := &file_session_proto_msgTypes[3]
421 if x != nil {
422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
423 if ms.LoadMessageInfo() == nil {
424 ms.StoreMessageInfo(mi)
425 }
426 return ms
427 }
428 return mi.MessageOf(x)
429}
430
431// Deprecated: Use CommittedRouteIdentity.ProtoReflect.Descriptor instead.
432func (*CommittedRouteIdentity) Descriptor() ([]byte, []int) {
433 return file_session_proto_rawDescGZIP(), []int{3}
434}
435
436func (x *CommittedRouteIdentity) GetTarget() *ExactTarget {
437 if x != nil {
438 return x.Target
439 }
440 return nil
441}
442
443func (x *CommittedRouteIdentity) GetEphemeral() bool {
444 if x != nil {
445 return x.Ephemeral
446 }
447 return false
448}
449
450// AttachTarget hands a client to another session, possibly remote.
451type AttachTarget struct {
452 state protoimpl.MessageState `protogen:"open.v1"`
453 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
454 Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
455 Session string `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"`
456 Intent uint32 `protobuf:"varint,4,opt,name=intent,proto3" json:"intent,omitempty"`
457 EnvironmentPolicy uint32 `protobuf:"varint,6,opt,name=environment_policy,json=environmentPolicy,proto3" json:"environment_policy,omitempty"`
458 ExactTarget *ExactTarget `protobuf:"bytes,7,opt,name=exact_target,json=exactTarget,proto3" json:"exact_target,omitempty"` // optional pointer
459 SamePeer bool `protobuf:"varint,8,opt,name=same_peer,json=samePeer,proto3" json:"same_peer,omitempty"`
460 PreferredTabId string `protobuf:"bytes,9,opt,name=preferred_tab_id,json=preferredTabId,proto3" json:"preferred_tab_id,omitempty"`
461 CauseActionId uint64 `protobuf:"varint,10,opt,name=cause_action_id,json=causeActionId,proto3" json:"cause_action_id,omitempty"`
462 SessionTarget *SessionAttachTarget `protobuf:"bytes,11,opt,name=session_target,json=sessionTarget,proto3" json:"session_target,omitempty"` // optional pointer
463 unknownFields protoimpl.UnknownFields
464 sizeCache protoimpl.SizeCache
465}
466
467func (x *AttachTarget) Reset() {
468 *x = AttachTarget{}
469 mi := &file_session_proto_msgTypes[4]
470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
471 ms.StoreMessageInfo(mi)
472}
473
474func (x *AttachTarget) String() string {
475 return protoimpl.X.MessageStringOf(x)
476}
477
478func (*AttachTarget) ProtoMessage() {}
479
480func (x *AttachTarget) ProtoReflect() protoreflect.Message {
481 mi := &file_session_proto_msgTypes[4]
482 if x != nil {
483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
484 if ms.LoadMessageInfo() == nil {
485 ms.StoreMessageInfo(mi)
486 }
487 return ms
488 }
489 return mi.MessageOf(x)
490}
491
492// Deprecated: Use AttachTarget.ProtoReflect.Descriptor instead.
493func (*AttachTarget) Descriptor() ([]byte, []int) {
494 return file_session_proto_rawDescGZIP(), []int{4}
495}
496
497func (x *AttachTarget) GetRequestId() uint64 {
498 if x != nil {
499 return x.RequestId
500 }
501 return 0
502}
503
504func (x *AttachTarget) GetEndpoint() string {
505 if x != nil {
506 return x.Endpoint
507 }
508 return ""
509}
510
511func (x *AttachTarget) GetSession() string {
512 if x != nil {
513 return x.Session
514 }
515 return ""
516}
517
518func (x *AttachTarget) GetIntent() uint32 {
519 if x != nil {
520 return x.Intent
521 }
522 return 0
523}
524
525func (x *AttachTarget) GetEnvironmentPolicy() uint32 {
526 if x != nil {
527 return x.EnvironmentPolicy
528 }
529 return 0
530}
531
532func (x *AttachTarget) GetExactTarget() *ExactTarget {
533 if x != nil {
534 return x.ExactTarget
535 }
536 return nil
537}
538
539func (x *AttachTarget) GetSamePeer() bool {
540 if x != nil {
541 return x.SamePeer
542 }
543 return false
544}
545
546func (x *AttachTarget) GetPreferredTabId() string {
547 if x != nil {
548 return x.PreferredTabId
549 }
550 return ""
551}
552
553func (x *AttachTarget) GetCauseActionId() uint64 {
554 if x != nil {
555 return x.CauseActionId
556 }
557 return 0
558}
559
560func (x *AttachTarget) GetSessionTarget() *SessionAttachTarget {
561 if x != nil {
562 return x.SessionTarget
563 }
564 return nil
565}
566
567// SessionInfo is one row of a session listing.
568type SessionInfo struct {
569 state protoimpl.MessageState `protogen:"open.v1"`
570 SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
571 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
572 // Closed state taxonomy: 0 = up, 1 = down, 2 = broken.
573 State uint32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
574 Ephemeral bool `protobuf:"varint,4,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
575 Tabs uint32 `protobuf:"varint,5,opt,name=tabs,proto3" json:"tabs,omitempty"`
576 Attached bool `protobuf:"varint,6,opt,name=attached,proto3" json:"attached,omitempty"`
577 unknownFields protoimpl.UnknownFields
578 sizeCache protoimpl.SizeCache
579}
580
581func (x *SessionInfo) Reset() {
582 *x = SessionInfo{}
583 mi := &file_session_proto_msgTypes[5]
584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585 ms.StoreMessageInfo(mi)
586}
587
588func (x *SessionInfo) String() string {
589 return protoimpl.X.MessageStringOf(x)
590}
591
592func (*SessionInfo) ProtoMessage() {}
593
594func (x *SessionInfo) ProtoReflect() protoreflect.Message {
595 mi := &file_session_proto_msgTypes[5]
596 if x != nil {
597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
598 if ms.LoadMessageInfo() == nil {
599 ms.StoreMessageInfo(mi)
600 }
601 return ms
602 }
603 return mi.MessageOf(x)
604}
605
606// Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.
607func (*SessionInfo) Descriptor() ([]byte, []int) {
608 return file_session_proto_rawDescGZIP(), []int{5}
609}
610
611func (x *SessionInfo) GetSessionId() string {
612 if x != nil {
613 return x.SessionId
614 }
615 return ""
616}
617
618func (x *SessionInfo) GetName() string {
619 if x != nil {
620 return x.Name
621 }
622 return ""
623}
624
625func (x *SessionInfo) GetState() uint32 {
626 if x != nil {
627 return x.State
628 }
629 return 0
630}
631
632func (x *SessionInfo) GetEphemeral() bool {
633 if x != nil {
634 return x.Ephemeral
635 }
636 return false
637}
638
639func (x *SessionInfo) GetTabs() uint32 {
640 if x != nil {
641 return x.Tabs
642 }
643 return 0
644}
645
646func (x *SessionInfo) GetAttached() bool {
647 if x != nil {
648 return x.Attached
649 }
650 return false
651}
652
653// Sessions is the one-shot listing answer.
654type Sessions struct {
655 state protoimpl.MessageState `protogen:"open.v1"`
656 Sessions []*SessionInfo `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
657 unknownFields protoimpl.UnknownFields
658 sizeCache protoimpl.SizeCache
659}
660
661func (x *Sessions) Reset() {
662 *x = Sessions{}
663 mi := &file_session_proto_msgTypes[6]
664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
665 ms.StoreMessageInfo(mi)
666}
667
668func (x *Sessions) String() string {
669 return protoimpl.X.MessageStringOf(x)
670}
671
672func (*Sessions) ProtoMessage() {}
673
674func (x *Sessions) ProtoReflect() protoreflect.Message {
675 mi := &file_session_proto_msgTypes[6]
676 if x != nil {
677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
678 if ms.LoadMessageInfo() == nil {
679 ms.StoreMessageInfo(mi)
680 }
681 return ms
682 }
683 return mi.MessageOf(x)
684}
685
686// Deprecated: Use Sessions.ProtoReflect.Descriptor instead.
687func (*Sessions) Descriptor() ([]byte, []int) {
688 return file_session_proto_rawDescGZIP(), []int{6}
689}
690
691func (x *Sessions) GetSessions() []*SessionInfo {
692 if x != nil {
693 return x.Sessions
694 }
695 return nil
696}
697
698// Kill asks the daemon to destroy a session or shut down.
699type Kill struct {
700 state protoimpl.MessageState `protogen:"open.v1"`
701 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
702 // Closed scope taxonomy: 0 = session, 1 = daemon, 2 = all.
703 Scope uint32 `protobuf:"varint,2,opt,name=scope,proto3" json:"scope,omitempty"`
704 RequestId uint64 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
705 unknownFields protoimpl.UnknownFields
706 sizeCache protoimpl.SizeCache
707}
708
709func (x *Kill) Reset() {
710 *x = Kill{}
711 mi := &file_session_proto_msgTypes[7]
712 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
713 ms.StoreMessageInfo(mi)
714}
715
716func (x *Kill) String() string {
717 return protoimpl.X.MessageStringOf(x)
718}
719
720func (*Kill) ProtoMessage() {}
721
722func (x *Kill) ProtoReflect() protoreflect.Message {
723 mi := &file_session_proto_msgTypes[7]
724 if x != nil {
725 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
726 if ms.LoadMessageInfo() == nil {
727 ms.StoreMessageInfo(mi)
728 }
729 return ms
730 }
731 return mi.MessageOf(x)
732}
733
734// Deprecated: Use Kill.ProtoReflect.Descriptor instead.
735func (*Kill) Descriptor() ([]byte, []int) {
736 return file_session_proto_rawDescGZIP(), []int{7}
737}
738
739func (x *Kill) GetName() string {
740 if x != nil {
741 return x.Name
742 }
743 return ""
744}
745
746func (x *Kill) GetScope() uint32 {
747 if x != nil {
748 return x.Scope
749 }
750 return 0
751}
752
753func (x *Kill) GetRequestId() uint64 {
754 if x != nil {
755 return x.RequestId
756 }
757 return 0
758}
759
760type KillFailure struct {
761 state protoimpl.MessageState `protogen:"open.v1"`
762 Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
763 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
764 Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
765 unknownFields protoimpl.UnknownFields
766 sizeCache protoimpl.SizeCache
767}
768
769func (x *KillFailure) Reset() {
770 *x = KillFailure{}
771 mi := &file_session_proto_msgTypes[8]
772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
773 ms.StoreMessageInfo(mi)
774}
775
776func (x *KillFailure) String() string {
777 return protoimpl.X.MessageStringOf(x)
778}
779
780func (*KillFailure) ProtoMessage() {}
781
782func (x *KillFailure) ProtoReflect() protoreflect.Message {
783 mi := &file_session_proto_msgTypes[8]
784 if x != nil {
785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
786 if ms.LoadMessageInfo() == nil {
787 ms.StoreMessageInfo(mi)
788 }
789 return ms
790 }
791 return mi.MessageOf(x)
792}
793
794// Deprecated: Use KillFailure.ProtoReflect.Descriptor instead.
795func (*KillFailure) Descriptor() ([]byte, []int) {
796 return file_session_proto_rawDescGZIP(), []int{8}
797}
798
799func (x *KillFailure) GetClass() string {
800 if x != nil {
801 return x.Class
802 }
803 return ""
804}
805
806func (x *KillFailure) GetName() string {
807 if x != nil {
808 return x.Name
809 }
810 return ""
811}
812
813func (x *KillFailure) GetText() string {
814 if x != nil {
815 return x.Text
816 }
817 return ""
818}
819
820type KillResult struct {
821 state protoimpl.MessageState `protogen:"open.v1"`
822 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
823 // Closed outcome taxonomy: 1 = succeeded, 2 = failed, 3 = outcome unknown.
824 Outcome uint32 `protobuf:"varint,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
825 Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
826 Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
827 Failures []*KillFailure `protobuf:"bytes,5,rep,name=failures,proto3" json:"failures,omitempty"`
828 unknownFields protoimpl.UnknownFields
829 sizeCache protoimpl.SizeCache
830}
831
832func (x *KillResult) Reset() {
833 *x = KillResult{}
834 mi := &file_session_proto_msgTypes[9]
835 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
836 ms.StoreMessageInfo(mi)
837}
838
839func (x *KillResult) String() string {
840 return protoimpl.X.MessageStringOf(x)
841}
842
843func (*KillResult) ProtoMessage() {}
844
845func (x *KillResult) ProtoReflect() protoreflect.Message {
846 mi := &file_session_proto_msgTypes[9]
847 if x != nil {
848 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
849 if ms.LoadMessageInfo() == nil {
850 ms.StoreMessageInfo(mi)
851 }
852 return ms
853 }
854 return mi.MessageOf(x)
855}
856
857// Deprecated: Use KillResult.ProtoReflect.Descriptor instead.
858func (*KillResult) Descriptor() ([]byte, []int) {
859 return file_session_proto_rawDescGZIP(), []int{9}
860}
861
862func (x *KillResult) GetRequestId() uint64 {
863 if x != nil {
864 return x.RequestId
865 }
866 return 0
867}
868
869func (x *KillResult) GetOutcome() uint32 {
870 if x != nil {
871 return x.Outcome
872 }
873 return 0
874}
875
876func (x *KillResult) GetCode() uint32 {
877 if x != nil {
878 return x.Code
879 }
880 return 0
881}
882
883func (x *KillResult) GetText() string {
884 if x != nil {
885 return x.Text
886 }
887 return ""
888}
889
890func (x *KillResult) GetFailures() []*KillFailure {
891 if x != nil {
892 return x.Failures
893 }
894 return nil
895}
896
897// Detached reports why an attachment ended.
898type Detached struct {
899 state protoimpl.MessageState `protogen:"open.v1"`
900 // Closed reason taxonomy: 0 = detach, 1 = killed, 2 = shutdown, 3 = replaced.
901 Reason uint32 `protobuf:"varint,1,opt,name=reason,proto3" json:"reason,omitempty"`
902 unknownFields protoimpl.UnknownFields
903 sizeCache protoimpl.SizeCache
904}
905
906func (x *Detached) Reset() {
907 *x = Detached{}
908 mi := &file_session_proto_msgTypes[10]
909 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
910 ms.StoreMessageInfo(mi)
911}
912
913func (x *Detached) String() string {
914 return protoimpl.X.MessageStringOf(x)
915}
916
917func (*Detached) ProtoMessage() {}
918
919func (x *Detached) ProtoReflect() protoreflect.Message {
920 mi := &file_session_proto_msgTypes[10]
921 if x != nil {
922 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
923 if ms.LoadMessageInfo() == nil {
924 ms.StoreMessageInfo(mi)
925 }
926 return ms
927 }
928 return mi.MessageOf(x)
929}
930
931// Deprecated: Use Detached.ProtoReflect.Descriptor instead.
932func (*Detached) Descriptor() ([]byte, []int) {
933 return file_session_proto_rawDescGZIP(), []int{10}
934}
935
936func (x *Detached) GetReason() uint32 {
937 if x != nil {
938 return x.Reason
939 }
940 return 0
941}
942
943// Detach asks the daemon to release the attachment. closed reports that the
944// client process is ending (terminal closed or terminated), not a user detach.
945type Detach struct {
946 state protoimpl.MessageState `protogen:"open.v1"`
947 Closed bool `protobuf:"varint,1,opt,name=closed,proto3" json:"closed,omitempty"`
948 unknownFields protoimpl.UnknownFields
949 sizeCache protoimpl.SizeCache
950}
951
952func (x *Detach) Reset() {
953 *x = Detach{}
954 mi := &file_session_proto_msgTypes[11]
955 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
956 ms.StoreMessageInfo(mi)
957}
958
959func (x *Detach) String() string {
960 return protoimpl.X.MessageStringOf(x)
961}
962
963func (*Detach) ProtoMessage() {}
964
965func (x *Detach) ProtoReflect() protoreflect.Message {
966 mi := &file_session_proto_msgTypes[11]
967 if x != nil {
968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
969 if ms.LoadMessageInfo() == nil {
970 ms.StoreMessageInfo(mi)
971 }
972 return ms
973 }
974 return mi.MessageOf(x)
975}
976
977// Deprecated: Use Detach.ProtoReflect.Descriptor instead.
978func (*Detach) Descriptor() ([]byte, []int) {
979 return file_session_proto_rawDescGZIP(), []int{11}
980}
981
982func (x *Detach) GetClosed() bool {
983 if x != nil {
984 return x.Closed
985 }
986 return false
987}
988
989// Ping / Pong are empty keepalive markers.
990type Ping struct {
991 state protoimpl.MessageState `protogen:"open.v1"`
992 unknownFields protoimpl.UnknownFields
993 sizeCache protoimpl.SizeCache
994}
995
996func (x *Ping) Reset() {
997 *x = Ping{}
998 mi := &file_session_proto_msgTypes[12]
999 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1000 ms.StoreMessageInfo(mi)
1001}
1002
1003func (x *Ping) String() string {
1004 return protoimpl.X.MessageStringOf(x)
1005}
1006
1007func (*Ping) ProtoMessage() {}
1008
1009func (x *Ping) ProtoReflect() protoreflect.Message {
1010 mi := &file_session_proto_msgTypes[12]
1011 if x != nil {
1012 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1013 if ms.LoadMessageInfo() == nil {
1014 ms.StoreMessageInfo(mi)
1015 }
1016 return ms
1017 }
1018 return mi.MessageOf(x)
1019}
1020
1021// Deprecated: Use Ping.ProtoReflect.Descriptor instead.
1022func (*Ping) Descriptor() ([]byte, []int) {
1023 return file_session_proto_rawDescGZIP(), []int{12}
1024}
1025
1026type Pong struct {
1027 state protoimpl.MessageState `protogen:"open.v1"`
1028 unknownFields protoimpl.UnknownFields
1029 sizeCache protoimpl.SizeCache
1030}
1031
1032func (x *Pong) Reset() {
1033 *x = Pong{}
1034 mi := &file_session_proto_msgTypes[13]
1035 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1036 ms.StoreMessageInfo(mi)
1037}
1038
1039func (x *Pong) String() string {
1040 return protoimpl.X.MessageStringOf(x)
1041}
1042
1043func (*Pong) ProtoMessage() {}
1044
1045func (x *Pong) ProtoReflect() protoreflect.Message {
1046 mi := &file_session_proto_msgTypes[13]
1047 if x != nil {
1048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1049 if ms.LoadMessageInfo() == nil {
1050 ms.StoreMessageInfo(mi)
1051 }
1052 return ms
1053 }
1054 return mi.MessageOf(x)
1055}
1056
1057// Deprecated: Use Pong.ProtoReflect.Descriptor instead.
1058func (*Pong) Descriptor() ([]byte, []int) {
1059 return file_session_proto_rawDescGZIP(), []int{13}
1060}
1061
1062// List asks for the one-shot session listing. Empty marker.
1063type List struct {
1064 state protoimpl.MessageState `protogen:"open.v1"`
1065 unknownFields protoimpl.UnknownFields
1066 sizeCache protoimpl.SizeCache
1067}
1068
1069func (x *List) Reset() {
1070 *x = List{}
1071 mi := &file_session_proto_msgTypes[14]
1072 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1073 ms.StoreMessageInfo(mi)
1074}
1075
1076func (x *List) String() string {
1077 return protoimpl.X.MessageStringOf(x)
1078}
1079
1080func (*List) ProtoMessage() {}
1081
1082func (x *List) ProtoReflect() protoreflect.Message {
1083 mi := &file_session_proto_msgTypes[14]
1084 if x != nil {
1085 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1086 if ms.LoadMessageInfo() == nil {
1087 ms.StoreMessageInfo(mi)
1088 }
1089 return ms
1090 }
1091 return mi.MessageOf(x)
1092}
1093
1094// Deprecated: Use List.ProtoReflect.Descriptor instead.
1095func (*List) Descriptor() ([]byte, []int) {
1096 return file_session_proto_rawDescGZIP(), []int{14}
1097}
1098
1099// RouteRef is an opaque client-ledger reference.
1100type RouteRef struct {
1101 state protoimpl.MessageState `protogen:"open.v1"`
1102 Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
1103 Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
1104 unknownFields protoimpl.UnknownFields
1105 sizeCache protoimpl.SizeCache
1106}
1107
1108func (x *RouteRef) Reset() {
1109 *x = RouteRef{}
1110 mi := &file_session_proto_msgTypes[15]
1111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1112 ms.StoreMessageInfo(mi)
1113}
1114
1115func (x *RouteRef) String() string {
1116 return protoimpl.X.MessageStringOf(x)
1117}
1118
1119func (*RouteRef) ProtoMessage() {}
1120
1121func (x *RouteRef) ProtoReflect() protoreflect.Message {
1122 mi := &file_session_proto_msgTypes[15]
1123 if x != nil {
1124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1125 if ms.LoadMessageInfo() == nil {
1126 ms.StoreMessageInfo(mi)
1127 }
1128 return ms
1129 }
1130 return mi.MessageOf(x)
1131}
1132
1133// Deprecated: Use RouteRef.ProtoReflect.Descriptor instead.
1134func (*RouteRef) Descriptor() ([]byte, []int) {
1135 return file_session_proto_rawDescGZIP(), []int{15}
1136}
1137
1138func (x *RouteRef) GetKey() uint64 {
1139 if x != nil {
1140 return x.Key
1141 }
1142 return 0
1143}
1144
1145func (x *RouteRef) GetGeneration() uint64 {
1146 if x != nil {
1147 return x.Generation
1148 }
1149 return 0
1150}
1151
1152// RouteAttentionTarget binds one displayed reference to an exact lifecycle.
1153type RouteAttentionTarget struct {
1154 state protoimpl.MessageState `protogen:"open.v1"`
1155 Ref *RouteRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
1156 Target *ExactTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
1157 SourceKey string `protobuf:"bytes,3,opt,name=source_key,json=sourceKey,proto3" json:"source_key,omitempty"`
1158 unknownFields protoimpl.UnknownFields
1159 sizeCache protoimpl.SizeCache
1160}
1161
1162func (x *RouteAttentionTarget) Reset() {
1163 *x = RouteAttentionTarget{}
1164 mi := &file_session_proto_msgTypes[16]
1165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1166 ms.StoreMessageInfo(mi)
1167}
1168
1169func (x *RouteAttentionTarget) String() string {
1170 return protoimpl.X.MessageStringOf(x)
1171}
1172
1173func (*RouteAttentionTarget) ProtoMessage() {}
1174
1175func (x *RouteAttentionTarget) ProtoReflect() protoreflect.Message {
1176 mi := &file_session_proto_msgTypes[16]
1177 if x != nil {
1178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1179 if ms.LoadMessageInfo() == nil {
1180 ms.StoreMessageInfo(mi)
1181 }
1182 return ms
1183 }
1184 return mi.MessageOf(x)
1185}
1186
1187// Deprecated: Use RouteAttentionTarget.ProtoReflect.Descriptor instead.
1188func (*RouteAttentionTarget) Descriptor() ([]byte, []int) {
1189 return file_session_proto_rawDescGZIP(), []int{16}
1190}
1191
1192func (x *RouteAttentionTarget) GetRef() *RouteRef {
1193 if x != nil {
1194 return x.Ref
1195 }
1196 return nil
1197}
1198
1199func (x *RouteAttentionTarget) GetTarget() *ExactTarget {
1200 if x != nil {
1201 return x.Target
1202 }
1203 return nil
1204}
1205
1206func (x *RouteAttentionTarget) GetSourceKey() string {
1207 if x != nil {
1208 return x.SourceKey
1209 }
1210 return ""
1211}
1212
1213// RouteAttentionSubscription is the bounded client-owned attention mapping.
1214type RouteAttentionSubscription struct {
1215 state protoimpl.MessageState `protogen:"open.v1"`
1216 Targets []*RouteAttentionTarget `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
1217 unknownFields protoimpl.UnknownFields
1218 sizeCache protoimpl.SizeCache
1219}
1220
1221func (x *RouteAttentionSubscription) Reset() {
1222 *x = RouteAttentionSubscription{}
1223 mi := &file_session_proto_msgTypes[17]
1224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1225 ms.StoreMessageInfo(mi)
1226}
1227
1228func (x *RouteAttentionSubscription) String() string {
1229 return protoimpl.X.MessageStringOf(x)
1230}
1231
1232func (*RouteAttentionSubscription) ProtoMessage() {}
1233
1234func (x *RouteAttentionSubscription) ProtoReflect() protoreflect.Message {
1235 mi := &file_session_proto_msgTypes[17]
1236 if x != nil {
1237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1238 if ms.LoadMessageInfo() == nil {
1239 ms.StoreMessageInfo(mi)
1240 }
1241 return ms
1242 }
1243 return mi.MessageOf(x)
1244}
1245
1246// Deprecated: Use RouteAttentionSubscription.ProtoReflect.Descriptor instead.
1247func (*RouteAttentionSubscription) Descriptor() ([]byte, []int) {
1248 return file_session_proto_rawDescGZIP(), []int{17}
1249}
1250
1251func (x *RouteAttentionSubscription) GetTargets() []*RouteAttentionTarget {
1252 if x != nil {
1253 return x.Targets
1254 }
1255 return nil
1256}
1257
1258// RecentRouteEntry is one route's identity plus display view.
1259type RecentRouteEntry struct {
1260 state protoimpl.MessageState `protogen:"open.v1"`
1261 Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
1262 Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
1263 Target *ExactTarget `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
1264 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
1265 HostLabel string `protobuf:"bytes,5,opt,name=host_label,json=hostLabel,proto3" json:"host_label,omitempty"`
1266 // Closed kind taxonomy: 1 = local, 2 = remote.
1267 Kind uint32 `protobuf:"varint,6,opt,name=kind,proto3" json:"kind,omitempty"`
1268 Ephemeral bool `protobuf:"varint,7,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
1269 Attention bool `protobuf:"varint,8,opt,name=attention,proto3" json:"attention,omitempty"`
1270 // Closed reachability taxonomy: 0 = unknown, 1 = reachable, 2 = unavailable.
1271 Reachability uint32 `protobuf:"varint,9,opt,name=reachability,proto3" json:"reachability,omitempty"`
1272 // Client-assigned attention onset order; zero without attention.
1273 AttentionSeq uint64 `protobuf:"varint,10,opt,name=attention_seq,json=attentionSeq,proto3" json:"attention_seq,omitempty"`
1274 // True once this client attached to the route; the status-bar history
1275 // shows visited routes plus ringing ones.
1276 Visited bool `protobuf:"varint,11,opt,name=visited,proto3" json:"visited,omitempty"`
1277 unknownFields protoimpl.UnknownFields
1278 sizeCache protoimpl.SizeCache
1279}
1280
1281func (x *RecentRouteEntry) Reset() {
1282 *x = RecentRouteEntry{}
1283 mi := &file_session_proto_msgTypes[18]
1284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1285 ms.StoreMessageInfo(mi)
1286}
1287
1288func (x *RecentRouteEntry) String() string {
1289 return protoimpl.X.MessageStringOf(x)
1290}
1291
1292func (*RecentRouteEntry) ProtoMessage() {}
1293
1294func (x *RecentRouteEntry) ProtoReflect() protoreflect.Message {
1295 mi := &file_session_proto_msgTypes[18]
1296 if x != nil {
1297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1298 if ms.LoadMessageInfo() == nil {
1299 ms.StoreMessageInfo(mi)
1300 }
1301 return ms
1302 }
1303 return mi.MessageOf(x)
1304}
1305
1306// Deprecated: Use RecentRouteEntry.ProtoReflect.Descriptor instead.
1307func (*RecentRouteEntry) Descriptor() ([]byte, []int) {
1308 return file_session_proto_rawDescGZIP(), []int{18}
1309}
1310
1311func (x *RecentRouteEntry) GetKey() uint64 {
1312 if x != nil {
1313 return x.Key
1314 }
1315 return 0
1316}
1317
1318func (x *RecentRouteEntry) GetGeneration() uint64 {
1319 if x != nil {
1320 return x.Generation
1321 }
1322 return 0
1323}
1324
1325func (x *RecentRouteEntry) GetTarget() *ExactTarget {
1326 if x != nil {
1327 return x.Target
1328 }
1329 return nil
1330}
1331
1332func (x *RecentRouteEntry) GetName() string {
1333 if x != nil {
1334 return x.Name
1335 }
1336 return ""
1337}
1338
1339func (x *RecentRouteEntry) GetHostLabel() string {
1340 if x != nil {
1341 return x.HostLabel
1342 }
1343 return ""
1344}
1345
1346func (x *RecentRouteEntry) GetKind() uint32 {
1347 if x != nil {
1348 return x.Kind
1349 }
1350 return 0
1351}
1352
1353func (x *RecentRouteEntry) GetEphemeral() bool {
1354 if x != nil {
1355 return x.Ephemeral
1356 }
1357 return false
1358}
1359
1360func (x *RecentRouteEntry) GetAttention() bool {
1361 if x != nil {
1362 return x.Attention
1363 }
1364 return false
1365}
1366
1367func (x *RecentRouteEntry) GetReachability() uint32 {
1368 if x != nil {
1369 return x.Reachability
1370 }
1371 return 0
1372}
1373
1374func (x *RecentRouteEntry) GetAttentionSeq() uint64 {
1375 if x != nil {
1376 return x.AttentionSeq
1377 }
1378 return 0
1379}
1380
1381func (x *RecentRouteEntry) GetVisited() bool {
1382 if x != nil {
1383 return x.Visited
1384 }
1385 return false
1386}
1387
1388// RouteHost is one creation destination other than the serving daemon.
1389type RouteHost struct {
1390 state protoimpl.MessageState `protogen:"open.v1"`
1391 Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
1392 Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
1393 Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
1394 // Closed kind taxonomy: 1 = local, 2 = remote.
1395 Kind uint32 `protobuf:"varint,4,opt,name=kind,proto3" json:"kind,omitempty"`
1396 unknownFields protoimpl.UnknownFields
1397 sizeCache protoimpl.SizeCache
1398}
1399
1400func (x *RouteHost) Reset() {
1401 *x = RouteHost{}
1402 mi := &file_session_proto_msgTypes[19]
1403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1404 ms.StoreMessageInfo(mi)
1405}
1406
1407func (x *RouteHost) String() string {
1408 return protoimpl.X.MessageStringOf(x)
1409}
1410
1411func (*RouteHost) ProtoMessage() {}
1412
1413func (x *RouteHost) ProtoReflect() protoreflect.Message {
1414 mi := &file_session_proto_msgTypes[19]
1415 if x != nil {
1416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1417 if ms.LoadMessageInfo() == nil {
1418 ms.StoreMessageInfo(mi)
1419 }
1420 return ms
1421 }
1422 return mi.MessageOf(x)
1423}
1424
1425// Deprecated: Use RouteHost.ProtoReflect.Descriptor instead.
1426func (*RouteHost) Descriptor() ([]byte, []int) {
1427 return file_session_proto_rawDescGZIP(), []int{19}
1428}
1429
1430func (x *RouteHost) GetKey() uint64 {
1431 if x != nil {
1432 return x.Key
1433 }
1434 return 0
1435}
1436
1437func (x *RouteHost) GetGeneration() uint64 {
1438 if x != nil {
1439 return x.Generation
1440 }
1441 return 0
1442}
1443
1444func (x *RouteHost) GetLabel() string {
1445 if x != nil {
1446 return x.Label
1447 }
1448 return ""
1449}
1450
1451func (x *RouteHost) GetKind() uint32 {
1452 if x != nil {
1453 return x.Kind
1454 }
1455 return 0
1456}
1457
1458// RecentRouteSnapshot is an immutable bounded route publication.
1459type RecentRouteSnapshot struct {
1460 state protoimpl.MessageState `protogen:"open.v1"`
1461 Generation uint64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
1462 Active *RouteRef `protobuf:"bytes,2,opt,name=active,proto3" json:"active,omitempty"`
1463 ActiveEntry *RecentRouteEntry `protobuf:"bytes,3,opt,name=active_entry,json=activeEntry,proto3" json:"active_entry,omitempty"`
1464 Previous *RouteRef `protobuf:"bytes,4,opt,name=previous,proto3" json:"previous,omitempty"`
1465 Home *RouteRef `protobuf:"bytes,5,opt,name=home,proto3" json:"home,omitempty"`
1466 Entries []*RecentRouteEntry `protobuf:"bytes,6,rep,name=entries,proto3" json:"entries,omitempty"`
1467 Hosts []*RouteHost `protobuf:"bytes,7,rep,name=hosts,proto3" json:"hosts,omitempty"`
1468 unknownFields protoimpl.UnknownFields
1469 sizeCache protoimpl.SizeCache
1470}
1471
1472func (x *RecentRouteSnapshot) Reset() {
1473 *x = RecentRouteSnapshot{}
1474 mi := &file_session_proto_msgTypes[20]
1475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1476 ms.StoreMessageInfo(mi)
1477}
1478
1479func (x *RecentRouteSnapshot) String() string {
1480 return protoimpl.X.MessageStringOf(x)
1481}
1482
1483func (*RecentRouteSnapshot) ProtoMessage() {}
1484
1485func (x *RecentRouteSnapshot) ProtoReflect() protoreflect.Message {
1486 mi := &file_session_proto_msgTypes[20]
1487 if x != nil {
1488 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1489 if ms.LoadMessageInfo() == nil {
1490 ms.StoreMessageInfo(mi)
1491 }
1492 return ms
1493 }
1494 return mi.MessageOf(x)
1495}
1496
1497// Deprecated: Use RecentRouteSnapshot.ProtoReflect.Descriptor instead.
1498func (*RecentRouteSnapshot) Descriptor() ([]byte, []int) {
1499 return file_session_proto_rawDescGZIP(), []int{20}
1500}
1501
1502func (x *RecentRouteSnapshot) GetGeneration() uint64 {
1503 if x != nil {
1504 return x.Generation
1505 }
1506 return 0
1507}
1508
1509func (x *RecentRouteSnapshot) GetActive() *RouteRef {
1510 if x != nil {
1511 return x.Active
1512 }
1513 return nil
1514}
1515
1516func (x *RecentRouteSnapshot) GetActiveEntry() *RecentRouteEntry {
1517 if x != nil {
1518 return x.ActiveEntry
1519 }
1520 return nil
1521}
1522
1523func (x *RecentRouteSnapshot) GetPrevious() *RouteRef {
1524 if x != nil {
1525 return x.Previous
1526 }
1527 return nil
1528}
1529
1530func (x *RecentRouteSnapshot) GetHome() *RouteRef {
1531 if x != nil {
1532 return x.Home
1533 }
1534 return nil
1535}
1536
1537func (x *RecentRouteSnapshot) GetEntries() []*RecentRouteEntry {
1538 if x != nil {
1539 return x.Entries
1540 }
1541 return nil
1542}
1543
1544func (x *RecentRouteSnapshot) GetHosts() []*RouteHost {
1545 if x != nil {
1546 return x.Hosts
1547 }
1548 return nil
1549}
1550
1551// RouteNavigationAction asks the client to resolve one ledger entry.
1552type RouteNavigationAction struct {
1553 state protoimpl.MessageState `protogen:"open.v1"`
1554 CauseActionId uint64 `protobuf:"varint,1,opt,name=cause_action_id,json=causeActionId,proto3" json:"cause_action_id,omitempty"`
1555 SnapshotGeneration uint64 `protobuf:"varint,2,opt,name=snapshot_generation,json=snapshotGeneration,proto3" json:"snapshot_generation,omitempty"`
1556 Key uint64 `protobuf:"varint,3,opt,name=key,proto3" json:"key,omitempty"`
1557 Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
1558 unknownFields protoimpl.UnknownFields
1559 sizeCache protoimpl.SizeCache
1560}
1561
1562func (x *RouteNavigationAction) Reset() {
1563 *x = RouteNavigationAction{}
1564 mi := &file_session_proto_msgTypes[21]
1565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1566 ms.StoreMessageInfo(mi)
1567}
1568
1569func (x *RouteNavigationAction) String() string {
1570 return protoimpl.X.MessageStringOf(x)
1571}
1572
1573func (*RouteNavigationAction) ProtoMessage() {}
1574
1575func (x *RouteNavigationAction) ProtoReflect() protoreflect.Message {
1576 mi := &file_session_proto_msgTypes[21]
1577 if x != nil {
1578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1579 if ms.LoadMessageInfo() == nil {
1580 ms.StoreMessageInfo(mi)
1581 }
1582 return ms
1583 }
1584 return mi.MessageOf(x)
1585}
1586
1587// Deprecated: Use RouteNavigationAction.ProtoReflect.Descriptor instead.
1588func (*RouteNavigationAction) Descriptor() ([]byte, []int) {
1589 return file_session_proto_rawDescGZIP(), []int{21}
1590}
1591
1592func (x *RouteNavigationAction) GetCauseActionId() uint64 {
1593 if x != nil {
1594 return x.CauseActionId
1595 }
1596 return 0
1597}
1598
1599func (x *RouteNavigationAction) GetSnapshotGeneration() uint64 {
1600 if x != nil {
1601 return x.SnapshotGeneration
1602 }
1603 return 0
1604}
1605
1606func (x *RouteNavigationAction) GetKey() uint64 {
1607 if x != nil {
1608 return x.Key
1609 }
1610 return 0
1611}
1612
1613func (x *RouteNavigationAction) GetGeneration() uint64 {
1614 if x != nil {
1615 return x.Generation
1616 }
1617 return 0
1618}
1619
1620// RouteCreateSessionAction asks the client to create a named session.
1621type RouteCreateSessionAction struct {
1622 state protoimpl.MessageState `protogen:"open.v1"`
1623 CauseActionId uint64 `protobuf:"varint,1,opt,name=cause_action_id,json=causeActionId,proto3" json:"cause_action_id,omitempty"`
1624 RequestId uint64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
1625 SnapshotGeneration uint64 `protobuf:"varint,3,opt,name=snapshot_generation,json=snapshotGeneration,proto3" json:"snapshot_generation,omitempty"`
1626 Key uint64 `protobuf:"varint,4,opt,name=key,proto3" json:"key,omitempty"`
1627 Generation uint64 `protobuf:"varint,5,opt,name=generation,proto3" json:"generation,omitempty"`
1628 SessionName string `protobuf:"bytes,6,opt,name=session_name,json=sessionName,proto3" json:"session_name,omitempty"`
1629 unknownFields protoimpl.UnknownFields
1630 sizeCache protoimpl.SizeCache
1631}
1632
1633func (x *RouteCreateSessionAction) Reset() {
1634 *x = RouteCreateSessionAction{}
1635 mi := &file_session_proto_msgTypes[22]
1636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1637 ms.StoreMessageInfo(mi)
1638}
1639
1640func (x *RouteCreateSessionAction) String() string {
1641 return protoimpl.X.MessageStringOf(x)
1642}
1643
1644func (*RouteCreateSessionAction) ProtoMessage() {}
1645
1646func (x *RouteCreateSessionAction) ProtoReflect() protoreflect.Message {
1647 mi := &file_session_proto_msgTypes[22]
1648 if x != nil {
1649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1650 if ms.LoadMessageInfo() == nil {
1651 ms.StoreMessageInfo(mi)
1652 }
1653 return ms
1654 }
1655 return mi.MessageOf(x)
1656}
1657
1658// Deprecated: Use RouteCreateSessionAction.ProtoReflect.Descriptor instead.
1659func (*RouteCreateSessionAction) Descriptor() ([]byte, []int) {
1660 return file_session_proto_rawDescGZIP(), []int{22}
1661}
1662
1663func (x *RouteCreateSessionAction) GetCauseActionId() uint64 {
1664 if x != nil {
1665 return x.CauseActionId
1666 }
1667 return 0
1668}
1669
1670func (x *RouteCreateSessionAction) GetRequestId() uint64 {
1671 if x != nil {
1672 return x.RequestId
1673 }
1674 return 0
1675}
1676
1677func (x *RouteCreateSessionAction) GetSnapshotGeneration() uint64 {
1678 if x != nil {
1679 return x.SnapshotGeneration
1680 }
1681 return 0
1682}
1683
1684func (x *RouteCreateSessionAction) GetKey() uint64 {
1685 if x != nil {
1686 return x.Key
1687 }
1688 return 0
1689}
1690
1691func (x *RouteCreateSessionAction) GetGeneration() uint64 {
1692 if x != nil {
1693 return x.Generation
1694 }
1695 return 0
1696}
1697
1698func (x *RouteCreateSessionAction) GetSessionName() string {
1699 if x != nil {
1700 return x.SessionName
1701 }
1702 return ""
1703}
1704
1705// RouteNavigationFailure is the bounded rejection taxonomy shared by both
1706// directions: the same semantic payload appears in both envelopes.
1707type RouteNavigationFailure struct {
1708 state protoimpl.MessageState `protogen:"open.v1"`
1709 Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
1710 Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
1711 // Closed code taxonomy: 1 = stale, 2 = no such route, 3 = unavailable,
1712 // 4 = target changed, 5 = origin unavailable.
1713 Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
1714 unknownFields protoimpl.UnknownFields
1715 sizeCache protoimpl.SizeCache
1716}
1717
1718func (x *RouteNavigationFailure) Reset() {
1719 *x = RouteNavigationFailure{}
1720 mi := &file_session_proto_msgTypes[23]
1721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1722 ms.StoreMessageInfo(mi)
1723}
1724
1725func (x *RouteNavigationFailure) String() string {
1726 return protoimpl.X.MessageStringOf(x)
1727}
1728
1729func (*RouteNavigationFailure) ProtoMessage() {}
1730
1731func (x *RouteNavigationFailure) ProtoReflect() protoreflect.Message {
1732 mi := &file_session_proto_msgTypes[23]
1733 if x != nil {
1734 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1735 if ms.LoadMessageInfo() == nil {
1736 ms.StoreMessageInfo(mi)
1737 }
1738 return ms
1739 }
1740 return mi.MessageOf(x)
1741}
1742
1743// Deprecated: Use RouteNavigationFailure.ProtoReflect.Descriptor instead.
1744func (*RouteNavigationFailure) Descriptor() ([]byte, []int) {
1745 return file_session_proto_rawDescGZIP(), []int{23}
1746}
1747
1748func (x *RouteNavigationFailure) GetKey() uint64 {
1749 if x != nil {
1750 return x.Key
1751 }
1752 return 0
1753}
1754
1755func (x *RouteNavigationFailure) GetGeneration() uint64 {
1756 if x != nil {
1757 return x.Generation
1758 }
1759 return 0
1760}
1761
1762func (x *RouteNavigationFailure) GetCode() uint32 {
1763 if x != nil {
1764 return x.Code
1765 }
1766 return 0
1767}
1768
1769// SessionCreationFailure reports a correlated pre-commit create failure.
1770type SessionCreationFailure struct {
1771 state protoimpl.MessageState `protogen:"open.v1"`
1772 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
1773 Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // same taxonomy as RouteNavigationFailure.code
1774 unknownFields protoimpl.UnknownFields
1775 sizeCache protoimpl.SizeCache
1776}
1777
1778func (x *SessionCreationFailure) Reset() {
1779 *x = SessionCreationFailure{}
1780 mi := &file_session_proto_msgTypes[24]
1781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1782 ms.StoreMessageInfo(mi)
1783}
1784
1785func (x *SessionCreationFailure) String() string {
1786 return protoimpl.X.MessageStringOf(x)
1787}
1788
1789func (*SessionCreationFailure) ProtoMessage() {}
1790
1791func (x *SessionCreationFailure) ProtoReflect() protoreflect.Message {
1792 mi := &file_session_proto_msgTypes[24]
1793 if x != nil {
1794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1795 if ms.LoadMessageInfo() == nil {
1796 ms.StoreMessageInfo(mi)
1797 }
1798 return ms
1799 }
1800 return mi.MessageOf(x)
1801}
1802
1803// Deprecated: Use SessionCreationFailure.ProtoReflect.Descriptor instead.
1804func (*SessionCreationFailure) Descriptor() ([]byte, []int) {
1805 return file_session_proto_rawDescGZIP(), []int{24}
1806}
1807
1808func (x *SessionCreationFailure) GetRequestId() uint64 {
1809 if x != nil {
1810 return x.RequestId
1811 }
1812 return 0
1813}
1814
1815func (x *SessionCreationFailure) GetCode() uint32 {
1816 if x != nil {
1817 return x.Code
1818 }
1819 return 0
1820}
1821
1822// RoutePosition is mutable per-client route state.
1823type RoutePosition struct {
1824 state protoimpl.MessageState `protogen:"open.v1"`
1825 Target *ExactTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
1826 ActiveTabId string `protobuf:"bytes,2,opt,name=active_tab_id,json=activeTabId,proto3" json:"active_tab_id,omitempty"`
1827 unknownFields protoimpl.UnknownFields
1828 sizeCache protoimpl.SizeCache
1829}
1830
1831func (x *RoutePosition) Reset() {
1832 *x = RoutePosition{}
1833 mi := &file_session_proto_msgTypes[25]
1834 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1835 ms.StoreMessageInfo(mi)
1836}
1837
1838func (x *RoutePosition) String() string {
1839 return protoimpl.X.MessageStringOf(x)
1840}
1841
1842func (*RoutePosition) ProtoMessage() {}
1843
1844func (x *RoutePosition) ProtoReflect() protoreflect.Message {
1845 mi := &file_session_proto_msgTypes[25]
1846 if x != nil {
1847 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1848 if ms.LoadMessageInfo() == nil {
1849 ms.StoreMessageInfo(mi)
1850 }
1851 return ms
1852 }
1853 return mi.MessageOf(x)
1854}
1855
1856// Deprecated: Use RoutePosition.ProtoReflect.Descriptor instead.
1857func (*RoutePosition) Descriptor() ([]byte, []int) {
1858 return file_session_proto_rawDescGZIP(), []int{25}
1859}
1860
1861func (x *RoutePosition) GetTarget() *ExactTarget {
1862 if x != nil {
1863 return x.Target
1864 }
1865 return nil
1866}
1867
1868func (x *RoutePosition) GetActiveTabId() string {
1869 if x != nil {
1870 return x.ActiveTabId
1871 }
1872 return ""
1873}
1874
1875// RouteRetired invalidates one subscribed exact lifecycle.
1876type RouteRetired struct {
1877 state protoimpl.MessageState `protogen:"open.v1"`
1878 Ref *RouteRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
1879 Target *ExactTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
1880 unknownFields protoimpl.UnknownFields
1881 sizeCache protoimpl.SizeCache
1882}
1883
1884func (x *RouteRetired) Reset() {
1885 *x = RouteRetired{}
1886 mi := &file_session_proto_msgTypes[26]
1887 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1888 ms.StoreMessageInfo(mi)
1889}
1890
1891func (x *RouteRetired) String() string {
1892 return protoimpl.X.MessageStringOf(x)
1893}
1894
1895func (*RouteRetired) ProtoMessage() {}
1896
1897func (x *RouteRetired) ProtoReflect() protoreflect.Message {
1898 mi := &file_session_proto_msgTypes[26]
1899 if x != nil {
1900 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1901 if ms.LoadMessageInfo() == nil {
1902 ms.StoreMessageInfo(mi)
1903 }
1904 return ms
1905 }
1906 return mi.MessageOf(x)
1907}
1908
1909// Deprecated: Use RouteRetired.ProtoReflect.Descriptor instead.
1910func (*RouteRetired) Descriptor() ([]byte, []int) {
1911 return file_session_proto_rawDescGZIP(), []int{26}
1912}
1913
1914func (x *RouteRetired) GetRef() *RouteRef {
1915 if x != nil {
1916 return x.Ref
1917 }
1918 return nil
1919}
1920
1921func (x *RouteRetired) GetTarget() *ExactTarget {
1922 if x != nil {
1923 return x.Target
1924 }
1925 return nil
1926}
1927
1928// SamePeerSwitchRequest confirms a daemon-offered endpoint-empty target.
1929type SamePeerSwitchRequest struct {
1930 state protoimpl.MessageState `protogen:"open.v1"`
1931 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
1932 Target *ExactTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
1933 PreferredTabId string `protobuf:"bytes,3,opt,name=preferred_tab_id,json=preferredTabId,proto3" json:"preferred_tab_id,omitempty"`
1934 unknownFields protoimpl.UnknownFields
1935 sizeCache protoimpl.SizeCache
1936}
1937
1938func (x *SamePeerSwitchRequest) Reset() {
1939 *x = SamePeerSwitchRequest{}
1940 mi := &file_session_proto_msgTypes[27]
1941 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1942 ms.StoreMessageInfo(mi)
1943}
1944
1945func (x *SamePeerSwitchRequest) String() string {
1946 return protoimpl.X.MessageStringOf(x)
1947}
1948
1949func (*SamePeerSwitchRequest) ProtoMessage() {}
1950
1951func (x *SamePeerSwitchRequest) ProtoReflect() protoreflect.Message {
1952 mi := &file_session_proto_msgTypes[27]
1953 if x != nil {
1954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1955 if ms.LoadMessageInfo() == nil {
1956 ms.StoreMessageInfo(mi)
1957 }
1958 return ms
1959 }
1960 return mi.MessageOf(x)
1961}
1962
1963// Deprecated: Use SamePeerSwitchRequest.ProtoReflect.Descriptor instead.
1964func (*SamePeerSwitchRequest) Descriptor() ([]byte, []int) {
1965 return file_session_proto_rawDescGZIP(), []int{27}
1966}
1967
1968func (x *SamePeerSwitchRequest) GetRequestId() uint64 {
1969 if x != nil {
1970 return x.RequestId
1971 }
1972 return 0
1973}
1974
1975func (x *SamePeerSwitchRequest) GetTarget() *ExactTarget {
1976 if x != nil {
1977 return x.Target
1978 }
1979 return nil
1980}
1981
1982func (x *SamePeerSwitchRequest) GetPreferredTabId() string {
1983 if x != nil {
1984 return x.PreferredTabId
1985 }
1986 return ""
1987}
1988
1989// SamePeerSwitchFailure leaves the source attachment unchanged.
1990type SamePeerSwitchFailure struct {
1991 state protoimpl.MessageState `protogen:"open.v1"`
1992 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
1993 // Closed code taxonomy: 1 = stale target, 2 = unavailable.
1994 Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
1995 unknownFields protoimpl.UnknownFields
1996 sizeCache protoimpl.SizeCache
1997}
1998
1999func (x *SamePeerSwitchFailure) Reset() {
2000 *x = SamePeerSwitchFailure{}
2001 mi := &file_session_proto_msgTypes[28]
2002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2003 ms.StoreMessageInfo(mi)
2004}
2005
2006func (x *SamePeerSwitchFailure) String() string {
2007 return protoimpl.X.MessageStringOf(x)
2008}
2009
2010func (*SamePeerSwitchFailure) ProtoMessage() {}
2011
2012func (x *SamePeerSwitchFailure) ProtoReflect() protoreflect.Message {
2013 mi := &file_session_proto_msgTypes[28]
2014 if x != nil {
2015 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2016 if ms.LoadMessageInfo() == nil {
2017 ms.StoreMessageInfo(mi)
2018 }
2019 return ms
2020 }
2021 return mi.MessageOf(x)
2022}
2023
2024// Deprecated: Use SamePeerSwitchFailure.ProtoReflect.Descriptor instead.
2025func (*SamePeerSwitchFailure) Descriptor() ([]byte, []int) {
2026 return file_session_proto_rawDescGZIP(), []int{28}
2027}
2028
2029func (x *SamePeerSwitchFailure) GetRequestId() uint64 {
2030 if x != nil {
2031 return x.RequestId
2032 }
2033 return 0
2034}
2035
2036func (x *SamePeerSwitchFailure) GetCode() uint32 {
2037 if x != nil {
2038 return x.Code
2039 }
2040 return 0
2041}
2042
2043// SuspendAttachment requests an acknowledged passive publication barrier.
2044type SuspendAttachment struct {
2045 state protoimpl.MessageState `protogen:"open.v1"`
2046 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
2047 unknownFields protoimpl.UnknownFields
2048 sizeCache protoimpl.SizeCache
2049}
2050
2051func (x *SuspendAttachment) Reset() {
2052 *x = SuspendAttachment{}
2053 mi := &file_session_proto_msgTypes[29]
2054 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2055 ms.StoreMessageInfo(mi)
2056}
2057
2058func (x *SuspendAttachment) String() string {
2059 return protoimpl.X.MessageStringOf(x)
2060}
2061
2062func (*SuspendAttachment) ProtoMessage() {}
2063
2064func (x *SuspendAttachment) ProtoReflect() protoreflect.Message {
2065 mi := &file_session_proto_msgTypes[29]
2066 if x != nil {
2067 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2068 if ms.LoadMessageInfo() == nil {
2069 ms.StoreMessageInfo(mi)
2070 }
2071 return ms
2072 }
2073 return mi.MessageOf(x)
2074}
2075
2076// Deprecated: Use SuspendAttachment.ProtoReflect.Descriptor instead.
2077func (*SuspendAttachment) Descriptor() ([]byte, []int) {
2078 return file_session_proto_rawDescGZIP(), []int{29}
2079}
2080
2081func (x *SuspendAttachment) GetRequestId() uint64 {
2082 if x != nil {
2083 return x.RequestId
2084 }
2085 return 0
2086}
2087
2088// AttachmentSuspended is sent only after authority revocation and output drain.
2089type AttachmentSuspended struct {
2090 state protoimpl.MessageState `protogen:"open.v1"`
2091 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
2092 Target *ExactTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
2093 unknownFields protoimpl.UnknownFields
2094 sizeCache protoimpl.SizeCache
2095}
2096
2097func (x *AttachmentSuspended) Reset() {
2098 *x = AttachmentSuspended{}
2099 mi := &file_session_proto_msgTypes[30]
2100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2101 ms.StoreMessageInfo(mi)
2102}
2103
2104func (x *AttachmentSuspended) String() string {
2105 return protoimpl.X.MessageStringOf(x)
2106}
2107
2108func (*AttachmentSuspended) ProtoMessage() {}
2109
2110func (x *AttachmentSuspended) ProtoReflect() protoreflect.Message {
2111 mi := &file_session_proto_msgTypes[30]
2112 if x != nil {
2113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2114 if ms.LoadMessageInfo() == nil {
2115 ms.StoreMessageInfo(mi)
2116 }
2117 return ms
2118 }
2119 return mi.MessageOf(x)
2120}
2121
2122// Deprecated: Use AttachmentSuspended.ProtoReflect.Descriptor instead.
2123func (*AttachmentSuspended) Descriptor() ([]byte, []int) {
2124 return file_session_proto_rawDescGZIP(), []int{30}
2125}
2126
2127func (x *AttachmentSuspended) GetRequestId() uint64 {
2128 if x != nil {
2129 return x.RequestId
2130 }
2131 return 0
2132}
2133
2134func (x *AttachmentSuspended) GetTarget() *ExactTarget {
2135 if x != nil {
2136 return x.Target
2137 }
2138 return nil
2139}
2140
2141// ActivateAttachment targets only the suspended attachment's retained lifecycle.
2142type ActivateAttachment struct {
2143 state protoimpl.MessageState `protogen:"open.v1"`
2144 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
2145 Target *ExactTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
2146 Cols uint32 `protobuf:"varint,3,opt,name=cols,proto3" json:"cols,omitempty"`
2147 Rows uint32 `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
2148 PixelWidth uint32 `protobuf:"varint,5,opt,name=pixel_width,json=pixelWidth,proto3" json:"pixel_width,omitempty"`
2149 PixelHeight uint32 `protobuf:"varint,6,opt,name=pixel_height,json=pixelHeight,proto3" json:"pixel_height,omitempty"`
2150 unknownFields protoimpl.UnknownFields
2151 sizeCache protoimpl.SizeCache
2152}
2153
2154func (x *ActivateAttachment) Reset() {
2155 *x = ActivateAttachment{}
2156 mi := &file_session_proto_msgTypes[31]
2157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2158 ms.StoreMessageInfo(mi)
2159}
2160
2161func (x *ActivateAttachment) String() string {
2162 return protoimpl.X.MessageStringOf(x)
2163}
2164
2165func (*ActivateAttachment) ProtoMessage() {}
2166
2167func (x *ActivateAttachment) ProtoReflect() protoreflect.Message {
2168 mi := &file_session_proto_msgTypes[31]
2169 if x != nil {
2170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2171 if ms.LoadMessageInfo() == nil {
2172 ms.StoreMessageInfo(mi)
2173 }
2174 return ms
2175 }
2176 return mi.MessageOf(x)
2177}
2178
2179// Deprecated: Use ActivateAttachment.ProtoReflect.Descriptor instead.
2180func (*ActivateAttachment) Descriptor() ([]byte, []int) {
2181 return file_session_proto_rawDescGZIP(), []int{31}
2182}
2183
2184func (x *ActivateAttachment) GetRequestId() uint64 {
2185 if x != nil {
2186 return x.RequestId
2187 }
2188 return 0
2189}
2190
2191func (x *ActivateAttachment) GetTarget() *ExactTarget {
2192 if x != nil {
2193 return x.Target
2194 }
2195 return nil
2196}
2197
2198func (x *ActivateAttachment) GetCols() uint32 {
2199 if x != nil {
2200 return x.Cols
2201 }
2202 return 0
2203}
2204
2205func (x *ActivateAttachment) GetRows() uint32 {
2206 if x != nil {
2207 return x.Rows
2208 }
2209 return 0
2210}
2211
2212func (x *ActivateAttachment) GetPixelWidth() uint32 {
2213 if x != nil {
2214 return x.PixelWidth
2215 }
2216 return 0
2217}
2218
2219func (x *ActivateAttachment) GetPixelHeight() uint32 {
2220 if x != nil {
2221 return x.PixelHeight
2222 }
2223 return 0
2224}
2225
2226// AttachmentActivated follows a full Output and changed RoutePosition on a
2227// fresh epoch. The identity and epoch/state/publication fence must match that
2228// Output before input resumes.
2229type AttachmentActivated struct {
2230 state protoimpl.MessageState `protogen:"open.v1"`
2231 RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
2232 Identity *CommittedRouteIdentity `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
2233 Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
2234 State uint64 `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"`
2235 ViewPublication uint64 `protobuf:"varint,5,opt,name=view_publication,json=viewPublication,proto3" json:"view_publication,omitempty"`
2236 unknownFields protoimpl.UnknownFields
2237 sizeCache protoimpl.SizeCache
2238}
2239
2240func (x *AttachmentActivated) Reset() {
2241 *x = AttachmentActivated{}
2242 mi := &file_session_proto_msgTypes[32]
2243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2244 ms.StoreMessageInfo(mi)
2245}
2246
2247func (x *AttachmentActivated) String() string {
2248 return protoimpl.X.MessageStringOf(x)
2249}
2250
2251func (*AttachmentActivated) ProtoMessage() {}
2252
2253func (x *AttachmentActivated) ProtoReflect() protoreflect.Message {
2254 mi := &file_session_proto_msgTypes[32]
2255 if x != nil {
2256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2257 if ms.LoadMessageInfo() == nil {
2258 ms.StoreMessageInfo(mi)
2259 }
2260 return ms
2261 }
2262 return mi.MessageOf(x)
2263}
2264
2265// Deprecated: Use AttachmentActivated.ProtoReflect.Descriptor instead.
2266func (*AttachmentActivated) Descriptor() ([]byte, []int) {
2267 return file_session_proto_rawDescGZIP(), []int{32}
2268}
2269
2270func (x *AttachmentActivated) GetRequestId() uint64 {
2271 if x != nil {
2272 return x.RequestId
2273 }
2274 return 0
2275}
2276
2277func (x *AttachmentActivated) GetIdentity() *CommittedRouteIdentity {
2278 if x != nil {
2279 return x.Identity
2280 }
2281 return nil
2282}
2283
2284func (x *AttachmentActivated) GetEpoch() uint64 {
2285 if x != nil {
2286 return x.Epoch
2287 }
2288 return 0
2289}
2290
2291func (x *AttachmentActivated) GetState() uint64 {
2292 if x != nil {
2293 return x.State
2294 }
2295 return 0
2296}
2297
2298func (x *AttachmentActivated) GetViewPublication() uint64 {
2299 if x != nil {
2300 return x.ViewPublication
2301 }
2302 return 0
2303}
2304
2305var File_session_proto protoreflect.FileDescriptor
2306
2307const file_session_proto_rawDesc = "" +
2308 "\n" +
2309 "\rsession.proto\x12\vvev.wire.v1\x1a\fcommon.proto\"\xee\x06\n" +
2310 "\x05Hello\x12\x18\n" +
2311 "\aversion\x18\x01 \x01(\rR\aversion\x12\x16\n" +
2312 "\x06intent\x18\x02 \x01(\rR\x06intent\x12\x1b\n" +
2313 "\tclient_id\x18\x03 \x01(\fR\bclientId\x12!\n" +
2314 "\fresume_token\x18\x04 \x01(\x04R\vresumeToken\x12\x12\n" +
2315 "\x04name\x18\x05 \x01(\tR\x04name\x12\x12\n" +
2316 "\x04cols\x18\x06 \x01(\rR\x04cols\x12\x12\n" +
2317 "\x04rows\x18\a \x01(\rR\x04rows\x12\x1f\n" +
2318 "\vpixel_width\x18\b \x01(\rR\n" +
2319 "pixelWidth\x12!\n" +
2320 "\fpixel_height\x18\t \x01(\rR\vpixelHeight\x12\x19\n" +
2321 "\bterm_env\x18\n" +
2322 " \x01(\tR\atermEnv\x12\x10\n" +
2323 "\x03cwd\x18\v \x01(\tR\x03cwd\x12\x1d\n" +
2324 "\n" +
2325 "true_color\x18\f \x01(\bR\ttrueColor\x12/\n" +
2326 "\x14max_output_in_flight\x18\r \x01(\rR\x11maxOutputInFlight\x12\x10\n" +
2327 "\x03env\x18\x0e \x03(\tR\x03env\x12-\n" +
2328 "\x12environment_policy\x18\x10 \x01(\rR\x11environmentPolicy\x12;\n" +
2329 "\fexact_target\x18\x11 \x01(\v2\x18.vev.wire.v1.ExactTargetR\vexactTarget\x12(\n" +
2330 "\x10preferred_tab_id\x18\x12 \x01(\tR\x0epreferredTabId\x127\n" +
2331 "\x17navigation_capabilities\x18\x13 \x01(\rR\x16navigationCapabilities\x12\x16\n" +
2332 "\x06remote\x18\x14 \x01(\bR\x06remote\x122\n" +
2333 "\x15kitty_direct_graphics\x18\x15 \x01(\bR\x13kittyDirectGraphics\x12G\n" +
2334 "\x0esession_target\x18\x16 \x01(\v2 .vev.wire.v1.SessionAttachTargetR\rsessionTarget\x12%\n" +
2335 "\x0ekitty_keyboard\x18\x17 \x01(\bR\rkittyKeyboard\x12%\n" +
2336 "\x0eterminal_focus\x18\x18 \x01(\rR\rterminalFocus\x12\x1d\n" +
2337 "\n" +
2338 "client_pid\x18\x19 \x01(\rR\tclientPidJ\x04\b\x0f\x10\x10R\rremote_target\"\x84\x02\n" +
2339 "\aWelcome\x12\x1d\n" +
2340 "\n" +
2341 "session_id\x18\x01 \x01(\tR\tsessionId\x12!\n" +
2342 "\fsession_name\x18\x02 \x01(\tR\vsessionName\x12\x1c\n" +
2343 "\tephemeral\x18\x03 \x01(\bR\tephemeral\x12!\n" +
2344 "\fresume_token\x18\x04 \x01(\x04R\vresumeToken\x12\"\n" +
2345 "\fcapabilities\x18\x05 \x01(\rR\fcapabilities\x12R\n" +
2346 "\x12committed_identity\x18\x06 \x01(\v2#.vev.wire.v1.CommittedRouteIdentityR\x11committedIdentity\"2\n" +
2347 "\bErrorMsg\x12\x12\n" +
2348 "\x04code\x18\x01 \x01(\rR\x04code\x12\x12\n" +
2349 "\x04text\x18\x02 \x01(\tR\x04text\"h\n" +
2350 "\x16CommittedRouteIdentity\x120\n" +
2351 "\x06target\x18\x01 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\x12\x1c\n" +
2352 "\tephemeral\x18\x02 \x01(\bR\tephemeral\"\xb4\x03\n" +
2353 "\fAttachTarget\x12\x1d\n" +
2354 "\n" +
2355 "request_id\x18\x01 \x01(\x04R\trequestId\x12\x1a\n" +
2356 "\bendpoint\x18\x02 \x01(\tR\bendpoint\x12\x18\n" +
2357 "\asession\x18\x03 \x01(\tR\asession\x12\x16\n" +
2358 "\x06intent\x18\x04 \x01(\rR\x06intent\x12-\n" +
2359 "\x12environment_policy\x18\x06 \x01(\rR\x11environmentPolicy\x12;\n" +
2360 "\fexact_target\x18\a \x01(\v2\x18.vev.wire.v1.ExactTargetR\vexactTarget\x12\x1b\n" +
2361 "\tsame_peer\x18\b \x01(\bR\bsamePeer\x12(\n" +
2362 "\x10preferred_tab_id\x18\t \x01(\tR\x0epreferredTabId\x12&\n" +
2363 "\x0fcause_action_id\x18\n" +
2364 " \x01(\x04R\rcauseActionId\x12G\n" +
2365 "\x0esession_target\x18\v \x01(\v2 .vev.wire.v1.SessionAttachTargetR\rsessionTargetJ\x04\b\x05\x10\x06R\rremote_target\"\xa4\x01\n" +
2366 "\vSessionInfo\x12\x1d\n" +
2367 "\n" +
2368 "session_id\x18\x01 \x01(\tR\tsessionId\x12\x12\n" +
2369 "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
2370 "\x05state\x18\x03 \x01(\rR\x05state\x12\x1c\n" +
2371 "\tephemeral\x18\x04 \x01(\bR\tephemeral\x12\x12\n" +
2372 "\x04tabs\x18\x05 \x01(\rR\x04tabs\x12\x1a\n" +
2373 "\battached\x18\x06 \x01(\bR\battached\"@\n" +
2374 "\bSessions\x124\n" +
2375 "\bsessions\x18\x01 \x03(\v2\x18.vev.wire.v1.SessionInfoR\bsessions\"O\n" +
2376 "\x04Kill\x12\x12\n" +
2377 "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
2378 "\x05scope\x18\x02 \x01(\rR\x05scope\x12\x1d\n" +
2379 "\n" +
2380 "request_id\x18\x03 \x01(\x04R\trequestId\"K\n" +
2381 "\vKillFailure\x12\x14\n" +
2382 "\x05class\x18\x01 \x01(\tR\x05class\x12\x12\n" +
2383 "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
2384 "\x04text\x18\x03 \x01(\tR\x04text\"\xa3\x01\n" +
2385 "\n" +
2386 "KillResult\x12\x1d\n" +
2387 "\n" +
2388 "request_id\x18\x01 \x01(\x04R\trequestId\x12\x18\n" +
2389 "\aoutcome\x18\x02 \x01(\rR\aoutcome\x12\x12\n" +
2390 "\x04code\x18\x03 \x01(\rR\x04code\x12\x12\n" +
2391 "\x04text\x18\x04 \x01(\tR\x04text\x124\n" +
2392 "\bfailures\x18\x05 \x03(\v2\x18.vev.wire.v1.KillFailureR\bfailures\"\"\n" +
2393 "\bDetached\x12\x16\n" +
2394 "\x06reason\x18\x01 \x01(\rR\x06reason\" \n" +
2395 "\x06Detach\x12\x16\n" +
2396 "\x06closed\x18\x01 \x01(\bR\x06closed\"\x06\n" +
2397 "\x04Ping\"\x06\n" +
2398 "\x04Pong\"\x06\n" +
2399 "\x04List\"<\n" +
2400 "\bRouteRef\x12\x10\n" +
2401 "\x03key\x18\x01 \x01(\x04R\x03key\x12\x1e\n" +
2402 "\n" +
2403 "generation\x18\x02 \x01(\x04R\n" +
2404 "generation\"\x90\x01\n" +
2405 "\x14RouteAttentionTarget\x12'\n" +
2406 "\x03ref\x18\x01 \x01(\v2\x15.vev.wire.v1.RouteRefR\x03ref\x120\n" +
2407 "\x06target\x18\x02 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\x12\x1d\n" +
2408 "\n" +
2409 "source_key\x18\x03 \x01(\tR\tsourceKey\"Y\n" +
2410 "\x1aRouteAttentionSubscription\x12;\n" +
2411 "\atargets\x18\x01 \x03(\v2!.vev.wire.v1.RouteAttentionTargetR\atargets\"\xdc\x02\n" +
2412 "\x10RecentRouteEntry\x12\x10\n" +
2413 "\x03key\x18\x01 \x01(\x04R\x03key\x12\x1e\n" +
2414 "\n" +
2415 "generation\x18\x02 \x01(\x04R\n" +
2416 "generation\x120\n" +
2417 "\x06target\x18\x03 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\x12\x12\n" +
2418 "\x04name\x18\x04 \x01(\tR\x04name\x12\x1d\n" +
2419 "\n" +
2420 "host_label\x18\x05 \x01(\tR\thostLabel\x12\x12\n" +
2421 "\x04kind\x18\x06 \x01(\rR\x04kind\x12\x1c\n" +
2422 "\tephemeral\x18\a \x01(\bR\tephemeral\x12\x1c\n" +
2423 "\tattention\x18\b \x01(\bR\tattention\x12\"\n" +
2424 "\freachability\x18\t \x01(\rR\freachability\x12#\n" +
2425 "\rattention_seq\x18\n" +
2426 " \x01(\x04R\fattentionSeq\x12\x18\n" +
2427 "\avisited\x18\v \x01(\bR\avisited\"g\n" +
2428 "\tRouteHost\x12\x10\n" +
2429 "\x03key\x18\x01 \x01(\x04R\x03key\x12\x1e\n" +
2430 "\n" +
2431 "generation\x18\x02 \x01(\x04R\n" +
2432 "generation\x12\x14\n" +
2433 "\x05label\x18\x03 \x01(\tR\x05label\x12\x12\n" +
2434 "\x04kind\x18\x04 \x01(\rR\x04kind\"\xeb\x02\n" +
2435 "\x13RecentRouteSnapshot\x12\x1e\n" +
2436 "\n" +
2437 "generation\x18\x01 \x01(\x04R\n" +
2438 "generation\x12-\n" +
2439 "\x06active\x18\x02 \x01(\v2\x15.vev.wire.v1.RouteRefR\x06active\x12@\n" +
2440 "\factive_entry\x18\x03 \x01(\v2\x1d.vev.wire.v1.RecentRouteEntryR\vactiveEntry\x121\n" +
2441 "\bprevious\x18\x04 \x01(\v2\x15.vev.wire.v1.RouteRefR\bprevious\x12)\n" +
2442 "\x04home\x18\x05 \x01(\v2\x15.vev.wire.v1.RouteRefR\x04home\x127\n" +
2443 "\aentries\x18\x06 \x03(\v2\x1d.vev.wire.v1.RecentRouteEntryR\aentries\x12,\n" +
2444 "\x05hosts\x18\a \x03(\v2\x16.vev.wire.v1.RouteHostR\x05hosts\"\xa2\x01\n" +
2445 "\x15RouteNavigationAction\x12&\n" +
2446 "\x0fcause_action_id\x18\x01 \x01(\x04R\rcauseActionId\x12/\n" +
2447 "\x13snapshot_generation\x18\x02 \x01(\x04R\x12snapshotGeneration\x12\x10\n" +
2448 "\x03key\x18\x03 \x01(\x04R\x03key\x12\x1e\n" +
2449 "\n" +
2450 "generation\x18\x04 \x01(\x04R\n" +
2451 "generation\"\xe7\x01\n" +
2452 "\x18RouteCreateSessionAction\x12&\n" +
2453 "\x0fcause_action_id\x18\x01 \x01(\x04R\rcauseActionId\x12\x1d\n" +
2454 "\n" +
2455 "request_id\x18\x02 \x01(\x04R\trequestId\x12/\n" +
2456 "\x13snapshot_generation\x18\x03 \x01(\x04R\x12snapshotGeneration\x12\x10\n" +
2457 "\x03key\x18\x04 \x01(\x04R\x03key\x12\x1e\n" +
2458 "\n" +
2459 "generation\x18\x05 \x01(\x04R\n" +
2460 "generation\x12!\n" +
2461 "\fsession_name\x18\x06 \x01(\tR\vsessionName\"^\n" +
2462 "\x16RouteNavigationFailure\x12\x10\n" +
2463 "\x03key\x18\x01 \x01(\x04R\x03key\x12\x1e\n" +
2464 "\n" +
2465 "generation\x18\x02 \x01(\x04R\n" +
2466 "generation\x12\x12\n" +
2467 "\x04code\x18\x03 \x01(\rR\x04code\"K\n" +
2468 "\x16SessionCreationFailure\x12\x1d\n" +
2469 "\n" +
2470 "request_id\x18\x01 \x01(\x04R\trequestId\x12\x12\n" +
2471 "\x04code\x18\x02 \x01(\rR\x04code\"e\n" +
2472 "\rRoutePosition\x120\n" +
2473 "\x06target\x18\x01 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\x12\"\n" +
2474 "\ractive_tab_id\x18\x02 \x01(\tR\vactiveTabId\"i\n" +
2475 "\fRouteRetired\x12'\n" +
2476 "\x03ref\x18\x01 \x01(\v2\x15.vev.wire.v1.RouteRefR\x03ref\x120\n" +
2477 "\x06target\x18\x02 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\"\x92\x01\n" +
2478 "\x15SamePeerSwitchRequest\x12\x1d\n" +
2479 "\n" +
2480 "request_id\x18\x01 \x01(\x04R\trequestId\x120\n" +
2481 "\x06target\x18\x02 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\x12(\n" +
2482 "\x10preferred_tab_id\x18\x03 \x01(\tR\x0epreferredTabId\"J\n" +
2483 "\x15SamePeerSwitchFailure\x12\x1d\n" +
2484 "\n" +
2485 "request_id\x18\x01 \x01(\x04R\trequestId\x12\x12\n" +
2486 "\x04code\x18\x02 \x01(\rR\x04code\"2\n" +
2487 "\x11SuspendAttachment\x12\x1d\n" +
2488 "\n" +
2489 "request_id\x18\x01 \x01(\x04R\trequestId\"f\n" +
2490 "\x13AttachmentSuspended\x12\x1d\n" +
2491 "\n" +
2492 "request_id\x18\x01 \x01(\x04R\trequestId\x120\n" +
2493 "\x06target\x18\x02 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\"\xd1\x01\n" +
2494 "\x12ActivateAttachment\x12\x1d\n" +
2495 "\n" +
2496 "request_id\x18\x01 \x01(\x04R\trequestId\x120\n" +
2497 "\x06target\x18\x02 \x01(\v2\x18.vev.wire.v1.ExactTargetR\x06target\x12\x12\n" +
2498 "\x04cols\x18\x03 \x01(\rR\x04cols\x12\x12\n" +
2499 "\x04rows\x18\x04 \x01(\rR\x04rows\x12\x1f\n" +
2500 "\vpixel_width\x18\x05 \x01(\rR\n" +
2501 "pixelWidth\x12!\n" +
2502 "\fpixel_height\x18\x06 \x01(\rR\vpixelHeight\"\xcc\x01\n" +
2503 "\x13AttachmentActivated\x12\x1d\n" +
2504 "\n" +
2505 "request_id\x18\x01 \x01(\x04R\trequestId\x12?\n" +
2506 "\bidentity\x18\x02 \x01(\v2#.vev.wire.v1.CommittedRouteIdentityR\bidentity\x12\x14\n" +
2507 "\x05epoch\x18\x03 \x01(\x04R\x05epoch\x12\x14\n" +
2508 "\x05state\x18\x04 \x01(\x04R\x05state\x12)\n" +
2509 "\x10view_publication\x18\x05 \x01(\x04R\x0fviewPublicationB-Z+github.com/bnema/vev/internal/protocol/wireb\x06proto3"
2510
2511var (
2512 file_session_proto_rawDescOnce sync.Once
2513 file_session_proto_rawDescData []byte
2514)
2515
2516func file_session_proto_rawDescGZIP() []byte {
2517 file_session_proto_rawDescOnce.Do(func() {
2518 file_session_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_session_proto_rawDesc), len(file_session_proto_rawDesc)))
2519 })
2520 return file_session_proto_rawDescData
2521}
2522
2523var file_session_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
2524var file_session_proto_goTypes = []any{
2525 (*Hello)(nil), // 0: vev.wire.v1.Hello
2526 (*Welcome)(nil), // 1: vev.wire.v1.Welcome
2527 (*ErrorMsg)(nil), // 2: vev.wire.v1.ErrorMsg
2528 (*CommittedRouteIdentity)(nil), // 3: vev.wire.v1.CommittedRouteIdentity
2529 (*AttachTarget)(nil), // 4: vev.wire.v1.AttachTarget
2530 (*SessionInfo)(nil), // 5: vev.wire.v1.SessionInfo
2531 (*Sessions)(nil), // 6: vev.wire.v1.Sessions
2532 (*Kill)(nil), // 7: vev.wire.v1.Kill
2533 (*KillFailure)(nil), // 8: vev.wire.v1.KillFailure
2534 (*KillResult)(nil), // 9: vev.wire.v1.KillResult
2535 (*Detached)(nil), // 10: vev.wire.v1.Detached
2536 (*Detach)(nil), // 11: vev.wire.v1.Detach
2537 (*Ping)(nil), // 12: vev.wire.v1.Ping
2538 (*Pong)(nil), // 13: vev.wire.v1.Pong
2539 (*List)(nil), // 14: vev.wire.v1.List
2540 (*RouteRef)(nil), // 15: vev.wire.v1.RouteRef
2541 (*RouteAttentionTarget)(nil), // 16: vev.wire.v1.RouteAttentionTarget
2542 (*RouteAttentionSubscription)(nil), // 17: vev.wire.v1.RouteAttentionSubscription
2543 (*RecentRouteEntry)(nil), // 18: vev.wire.v1.RecentRouteEntry
2544 (*RouteHost)(nil), // 19: vev.wire.v1.RouteHost
2545 (*RecentRouteSnapshot)(nil), // 20: vev.wire.v1.RecentRouteSnapshot
2546 (*RouteNavigationAction)(nil), // 21: vev.wire.v1.RouteNavigationAction
2547 (*RouteCreateSessionAction)(nil), // 22: vev.wire.v1.RouteCreateSessionAction
2548 (*RouteNavigationFailure)(nil), // 23: vev.wire.v1.RouteNavigationFailure
2549 (*SessionCreationFailure)(nil), // 24: vev.wire.v1.SessionCreationFailure
2550 (*RoutePosition)(nil), // 25: vev.wire.v1.RoutePosition
2551 (*RouteRetired)(nil), // 26: vev.wire.v1.RouteRetired
2552 (*SamePeerSwitchRequest)(nil), // 27: vev.wire.v1.SamePeerSwitchRequest
2553 (*SamePeerSwitchFailure)(nil), // 28: vev.wire.v1.SamePeerSwitchFailure
2554 (*SuspendAttachment)(nil), // 29: vev.wire.v1.SuspendAttachment
2555 (*AttachmentSuspended)(nil), // 30: vev.wire.v1.AttachmentSuspended
2556 (*ActivateAttachment)(nil), // 31: vev.wire.v1.ActivateAttachment
2557 (*AttachmentActivated)(nil), // 32: vev.wire.v1.AttachmentActivated
2558 (*ExactTarget)(nil), // 33: vev.wire.v1.ExactTarget
2559 (*SessionAttachTarget)(nil), // 34: vev.wire.v1.SessionAttachTarget
2560}
2561var file_session_proto_depIdxs = []int32{
2562 33, // 0: vev.wire.v1.Hello.exact_target:type_name -> vev.wire.v1.ExactTarget
2563 34, // 1: vev.wire.v1.Hello.session_target:type_name -> vev.wire.v1.SessionAttachTarget
2564 3, // 2: vev.wire.v1.Welcome.committed_identity:type_name -> vev.wire.v1.CommittedRouteIdentity
2565 33, // 3: vev.wire.v1.CommittedRouteIdentity.target:type_name -> vev.wire.v1.ExactTarget
2566 33, // 4: vev.wire.v1.AttachTarget.exact_target:type_name -> vev.wire.v1.ExactTarget
2567 34, // 5: vev.wire.v1.AttachTarget.session_target:type_name -> vev.wire.v1.SessionAttachTarget
2568 5, // 6: vev.wire.v1.Sessions.sessions:type_name -> vev.wire.v1.SessionInfo
2569 8, // 7: vev.wire.v1.KillResult.failures:type_name -> vev.wire.v1.KillFailure
2570 15, // 8: vev.wire.v1.RouteAttentionTarget.ref:type_name -> vev.wire.v1.RouteRef
2571 33, // 9: vev.wire.v1.RouteAttentionTarget.target:type_name -> vev.wire.v1.ExactTarget
2572 16, // 10: vev.wire.v1.RouteAttentionSubscription.targets:type_name -> vev.wire.v1.RouteAttentionTarget
2573 33, // 11: vev.wire.v1.RecentRouteEntry.target:type_name -> vev.wire.v1.ExactTarget
2574 15, // 12: vev.wire.v1.RecentRouteSnapshot.active:type_name -> vev.wire.v1.RouteRef
2575 18, // 13: vev.wire.v1.RecentRouteSnapshot.active_entry:type_name -> vev.wire.v1.RecentRouteEntry
2576 15, // 14: vev.wire.v1.RecentRouteSnapshot.previous:type_name -> vev.wire.v1.RouteRef
2577 15, // 15: vev.wire.v1.RecentRouteSnapshot.home:type_name -> vev.wire.v1.RouteRef
2578 18, // 16: vev.wire.v1.RecentRouteSnapshot.entries:type_name -> vev.wire.v1.RecentRouteEntry
2579 19, // 17: vev.wire.v1.RecentRouteSnapshot.hosts:type_name -> vev.wire.v1.RouteHost
2580 33, // 18: vev.wire.v1.RoutePosition.target:type_name -> vev.wire.v1.ExactTarget
2581 15, // 19: vev.wire.v1.RouteRetired.ref:type_name -> vev.wire.v1.RouteRef
2582 33, // 20: vev.wire.v1.RouteRetired.target:type_name -> vev.wire.v1.ExactTarget
2583 33, // 21: vev.wire.v1.SamePeerSwitchRequest.target:type_name -> vev.wire.v1.ExactTarget
2584 33, // 22: vev.wire.v1.AttachmentSuspended.target:type_name -> vev.wire.v1.ExactTarget
2585 33, // 23: vev.wire.v1.ActivateAttachment.target:type_name -> vev.wire.v1.ExactTarget
2586 3, // 24: vev.wire.v1.AttachmentActivated.identity:type_name -> vev.wire.v1.CommittedRouteIdentity
2587 25, // [25:25] is the sub-list for method output_type
2588 25, // [25:25] is the sub-list for method input_type
2589 25, // [25:25] is the sub-list for extension type_name
2590 25, // [25:25] is the sub-list for extension extendee
2591 0, // [0:25] is the sub-list for field type_name
2592}
2593
2594func init() { file_session_proto_init() }
2595func file_session_proto_init() {
2596 if File_session_proto != nil {
2597 return
2598 }
2599 file_common_proto_init()
2600 type x struct{}
2601 out := protoimpl.TypeBuilder{
2602 File: protoimpl.DescBuilder{
2603 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2604 RawDescriptor: unsafe.Slice(unsafe.StringData(file_session_proto_rawDesc), len(file_session_proto_rawDesc)),
2605 NumEnums: 0,
2606 NumMessages: 33,
2607 NumExtensions: 0,
2608 NumServices: 0,
2609 },
2610 GoTypes: file_session_proto_goTypes,
2611 DependencyIndexes: file_session_proto_depIdxs,
2612 MessageInfos: file_session_proto_msgTypes,
2613 }.Build()
2614 File_session_proto = out.File
2615 file_session_proto_goTypes = nil
2616 file_session_proto_depIdxs = nil
2617}