1// Shared wire-only values for the vev session protocol.
2//
3// Package vev.wire.v1 is the canonical Protobuf contract replacing the
4// custom MsgType codecs. Field numbers are new Protobuf numbers, never
5// preserved legacy MsgType IDs. Semantic validation stays in
6// internal/protocol; sessionwire owns conversion.
7
8// Code generated by protoc-gen-go. DO NOT EDIT.
9// versions:
10// protoc-gen-go v1.36.12
11// protoc (unknown)
12// source: common.proto
13
14package wire
15
16import (
17 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
18 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
19 reflect "reflect"
20 sync "sync"
21 unsafe "unsafe"
22)
23
24const (
25 // Verify that this generated code is sufficiently up-to-date.
26 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
27 // Verify that runtime/protoimpl is sufficiently up-to-date.
28 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
29)
30
31// LifecycleID is the opaque 16-byte identity of one session lifecycle
32// (domain.SessionLifecycleID / domain.IncarnationID).
33type LifecycleID struct {
34 state protoimpl.MessageState `protogen:"open.v1"`
35 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // exactly 16 bytes
36 unknownFields protoimpl.UnknownFields
37 sizeCache protoimpl.SizeCache
38}
39
40func (x *LifecycleID) Reset() {
41 *x = LifecycleID{}
42 mi := &file_common_proto_msgTypes[0]
43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44 ms.StoreMessageInfo(mi)
45}
46
47func (x *LifecycleID) String() string {
48 return protoimpl.X.MessageStringOf(x)
49}
50
51func (*LifecycleID) ProtoMessage() {}
52
53func (x *LifecycleID) ProtoReflect() protoreflect.Message {
54 mi := &file_common_proto_msgTypes[0]
55 if x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63}
64
65// Deprecated: Use LifecycleID.ProtoReflect.Descriptor instead.
66func (*LifecycleID) Descriptor() ([]byte, []int) {
67 return file_common_proto_rawDescGZIP(), []int{0}
68}
69
70func (x *LifecycleID) GetValue() []byte {
71 if x != nil {
72 return x.Value
73 }
74 return nil
75}
76
77// TabSelector is an exact tab identity handoff (domain.TabSelector).
78type TabSelector struct {
79 state protoimpl.MessageState `protogen:"open.v1"`
80 // Closed taxonomy: 0 = absent, 1 = stable ID, 2 = ordinal.
81 Kind uint32 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"`
82 StableId string `protobuf:"bytes,2,opt,name=stable_id,json=stableId,proto3" json:"stable_id,omitempty"`
83 Ordinal uint32 `protobuf:"varint,3,opt,name=ordinal,proto3" json:"ordinal,omitempty"`
84 RawName string `protobuf:"bytes,4,opt,name=raw_name,json=rawName,proto3" json:"raw_name,omitempty"`
85 ExpectedCount uint32 `protobuf:"varint,5,opt,name=expected_count,json=expectedCount,proto3" json:"expected_count,omitempty"`
86 unknownFields protoimpl.UnknownFields
87 sizeCache protoimpl.SizeCache
88}
89
90func (x *TabSelector) Reset() {
91 *x = TabSelector{}
92 mi := &file_common_proto_msgTypes[1]
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 ms.StoreMessageInfo(mi)
95}
96
97func (x *TabSelector) String() string {
98 return protoimpl.X.MessageStringOf(x)
99}
100
101func (*TabSelector) ProtoMessage() {}
102
103func (x *TabSelector) ProtoReflect() protoreflect.Message {
104 mi := &file_common_proto_msgTypes[1]
105 if x != nil {
106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107 if ms.LoadMessageInfo() == nil {
108 ms.StoreMessageInfo(mi)
109 }
110 return ms
111 }
112 return mi.MessageOf(x)
113}
114
115// Deprecated: Use TabSelector.ProtoReflect.Descriptor instead.
116func (*TabSelector) Descriptor() ([]byte, []int) {
117 return file_common_proto_rawDescGZIP(), []int{1}
118}
119
120func (x *TabSelector) GetKind() uint32 {
121 if x != nil {
122 return x.Kind
123 }
124 return 0
125}
126
127func (x *TabSelector) GetStableId() string {
128 if x != nil {
129 return x.StableId
130 }
131 return ""
132}
133
134func (x *TabSelector) GetOrdinal() uint32 {
135 if x != nil {
136 return x.Ordinal
137 }
138 return 0
139}
140
141func (x *TabSelector) GetRawName() string {
142 if x != nil {
143 return x.RawName
144 }
145 return ""
146}
147
148func (x *TabSelector) GetExpectedCount() uint32 {
149 if x != nil {
150 return x.ExpectedCount
151 }
152 return 0
153}
154
155// RemoteTarget is the structured picker-based remote identity
156// (domain.RemoteSessionTarget). Endpoint and display origin stay separate:
157// the latter is presentation-only.
158type RemoteTarget struct {
159 state protoimpl.MessageState `protogen:"open.v1"`
160 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
161 DisplayOrigin string `protobuf:"bytes,2,opt,name=display_origin,json=displayOrigin,proto3" json:"display_origin,omitempty"`
162 LifecycleId *LifecycleID `protobuf:"bytes,3,opt,name=lifecycle_id,json=lifecycleId,proto3" json:"lifecycle_id,omitempty"`
163 SessionName string `protobuf:"bytes,4,opt,name=session_name,json=sessionName,proto3" json:"session_name,omitempty"`
164 LiveTabId string `protobuf:"bytes,5,opt,name=live_tab_id,json=liveTabId,proto3" json:"live_tab_id,omitempty"`
165 StoppedTab *TabSelector `protobuf:"bytes,6,opt,name=stopped_tab,json=stoppedTab,proto3" json:"stopped_tab,omitempty"`
166 Stopped bool `protobuf:"varint,7,opt,name=stopped,proto3" json:"stopped,omitempty"`
167 unknownFields protoimpl.UnknownFields
168 sizeCache protoimpl.SizeCache
169}
170
171func (x *RemoteTarget) Reset() {
172 *x = RemoteTarget{}
173 mi := &file_common_proto_msgTypes[2]
174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175 ms.StoreMessageInfo(mi)
176}
177
178func (x *RemoteTarget) String() string {
179 return protoimpl.X.MessageStringOf(x)
180}
181
182func (*RemoteTarget) ProtoMessage() {}
183
184func (x *RemoteTarget) ProtoReflect() protoreflect.Message {
185 mi := &file_common_proto_msgTypes[2]
186 if x != nil {
187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188 if ms.LoadMessageInfo() == nil {
189 ms.StoreMessageInfo(mi)
190 }
191 return ms
192 }
193 return mi.MessageOf(x)
194}
195
196// Deprecated: Use RemoteTarget.ProtoReflect.Descriptor instead.
197func (*RemoteTarget) Descriptor() ([]byte, []int) {
198 return file_common_proto_rawDescGZIP(), []int{2}
199}
200
201func (x *RemoteTarget) GetEndpoint() string {
202 if x != nil {
203 return x.Endpoint
204 }
205 return ""
206}
207
208func (x *RemoteTarget) GetDisplayOrigin() string {
209 if x != nil {
210 return x.DisplayOrigin
211 }
212 return ""
213}
214
215func (x *RemoteTarget) GetLifecycleId() *LifecycleID {
216 if x != nil {
217 return x.LifecycleId
218 }
219 return nil
220}
221
222func (x *RemoteTarget) GetSessionName() string {
223 if x != nil {
224 return x.SessionName
225 }
226 return ""
227}
228
229func (x *RemoteTarget) GetLiveTabId() string {
230 if x != nil {
231 return x.LiveTabId
232 }
233 return ""
234}
235
236func (x *RemoteTarget) GetStoppedTab() *TabSelector {
237 if x != nil {
238 return x.StoppedTab
239 }
240 return nil
241}
242
243func (x *RemoteTarget) GetStopped() bool {
244 if x != nil {
245 return x.Stopped
246 }
247 return false
248}
249
250// ExactTarget is the daemon-neutral attach identity
251// (protocol.ExactSessionTarget).
252type ExactTarget struct {
253 state protoimpl.MessageState `protogen:"open.v1"`
254 LifecycleId *LifecycleID `protobuf:"bytes,1,opt,name=lifecycle_id,json=lifecycleId,proto3" json:"lifecycle_id,omitempty"`
255 SessionName string `protobuf:"bytes,2,opt,name=session_name,json=sessionName,proto3" json:"session_name,omitempty"`
256 unknownFields protoimpl.UnknownFields
257 sizeCache protoimpl.SizeCache
258}
259
260func (x *ExactTarget) Reset() {
261 *x = ExactTarget{}
262 mi := &file_common_proto_msgTypes[3]
263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
264 ms.StoreMessageInfo(mi)
265}
266
267func (x *ExactTarget) String() string {
268 return protoimpl.X.MessageStringOf(x)
269}
270
271func (*ExactTarget) ProtoMessage() {}
272
273func (x *ExactTarget) ProtoReflect() protoreflect.Message {
274 mi := &file_common_proto_msgTypes[3]
275 if x != nil {
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 if ms.LoadMessageInfo() == nil {
278 ms.StoreMessageInfo(mi)
279 }
280 return ms
281 }
282 return mi.MessageOf(x)
283}
284
285// Deprecated: Use ExactTarget.ProtoReflect.Descriptor instead.
286func (*ExactTarget) Descriptor() ([]byte, []int) {
287 return file_common_proto_rawDescGZIP(), []int{3}
288}
289
290func (x *ExactTarget) GetLifecycleId() *LifecycleID {
291 if x != nil {
292 return x.LifecycleId
293 }
294 return nil
295}
296
297func (x *ExactTarget) GetSessionName() string {
298 if x != nil {
299 return x.SessionName
300 }
301 return ""
302}
303
304// SessionAttachTarget is exact identity local to the receiving daemon.
305type SessionAttachTarget struct {
306 state protoimpl.MessageState `protogen:"open.v1"`
307 SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
308 LifecycleId *LifecycleID `protobuf:"bytes,2,opt,name=lifecycle_id,json=lifecycleId,proto3" json:"lifecycle_id,omitempty"`
309 SessionName string `protobuf:"bytes,3,opt,name=session_name,json=sessionName,proto3" json:"session_name,omitempty"`
310 TabId string `protobuf:"bytes,4,opt,name=tab_id,json=tabId,proto3" json:"tab_id,omitempty"`
311 TabIndex *int32 `protobuf:"varint,5,opt,name=tab_index,json=tabIndex,proto3,oneof" json:"tab_index,omitempty"`
312 TabRawName string `protobuf:"bytes,6,opt,name=tab_raw_name,json=tabRawName,proto3" json:"tab_raw_name,omitempty"`
313 TabExpectedCount uint32 `protobuf:"varint,7,opt,name=tab_expected_count,json=tabExpectedCount,proto3" json:"tab_expected_count,omitempty"`
314 Stopped bool `protobuf:"varint,8,opt,name=stopped,proto3" json:"stopped,omitempty"`
315 unknownFields protoimpl.UnknownFields
316 sizeCache protoimpl.SizeCache
317}
318
319func (x *SessionAttachTarget) Reset() {
320 *x = SessionAttachTarget{}
321 mi := &file_common_proto_msgTypes[4]
322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
323 ms.StoreMessageInfo(mi)
324}
325
326func (x *SessionAttachTarget) String() string {
327 return protoimpl.X.MessageStringOf(x)
328}
329
330func (*SessionAttachTarget) ProtoMessage() {}
331
332func (x *SessionAttachTarget) ProtoReflect() protoreflect.Message {
333 mi := &file_common_proto_msgTypes[4]
334 if x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
342}
343
344// Deprecated: Use SessionAttachTarget.ProtoReflect.Descriptor instead.
345func (*SessionAttachTarget) Descriptor() ([]byte, []int) {
346 return file_common_proto_rawDescGZIP(), []int{4}
347}
348
349func (x *SessionAttachTarget) GetSessionId() string {
350 if x != nil {
351 return x.SessionId
352 }
353 return ""
354}
355
356func (x *SessionAttachTarget) GetLifecycleId() *LifecycleID {
357 if x != nil {
358 return x.LifecycleId
359 }
360 return nil
361}
362
363func (x *SessionAttachTarget) GetSessionName() string {
364 if x != nil {
365 return x.SessionName
366 }
367 return ""
368}
369
370func (x *SessionAttachTarget) GetTabId() string {
371 if x != nil {
372 return x.TabId
373 }
374 return ""
375}
376
377func (x *SessionAttachTarget) GetTabIndex() int32 {
378 if x != nil && x.TabIndex != nil {
379 return *x.TabIndex
380 }
381 return 0
382}
383
384func (x *SessionAttachTarget) GetTabRawName() string {
385 if x != nil {
386 return x.TabRawName
387 }
388 return ""
389}
390
391func (x *SessionAttachTarget) GetTabExpectedCount() uint32 {
392 if x != nil {
393 return x.TabExpectedCount
394 }
395 return 0
396}
397
398func (x *SessionAttachTarget) GetStopped() bool {
399 if x != nil {
400 return x.Stopped
401 }
402 return false
403}
404
405// RGB is one terminal color triple (renderer.RGB).
406type RGB struct {
407 state protoimpl.MessageState `protogen:"open.v1"`
408 R uint32 `protobuf:"varint,1,opt,name=r,proto3" json:"r,omitempty"`
409 G uint32 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"`
410 B uint32 `protobuf:"varint,3,opt,name=b,proto3" json:"b,omitempty"`
411 unknownFields protoimpl.UnknownFields
412 sizeCache protoimpl.SizeCache
413}
414
415func (x *RGB) Reset() {
416 *x = RGB{}
417 mi := &file_common_proto_msgTypes[5]
418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419 ms.StoreMessageInfo(mi)
420}
421
422func (x *RGB) String() string {
423 return protoimpl.X.MessageStringOf(x)
424}
425
426func (*RGB) ProtoMessage() {}
427
428func (x *RGB) ProtoReflect() protoreflect.Message {
429 mi := &file_common_proto_msgTypes[5]
430 if x != nil {
431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432 if ms.LoadMessageInfo() == nil {
433 ms.StoreMessageInfo(mi)
434 }
435 return ms
436 }
437 return mi.MessageOf(x)
438}
439
440// Deprecated: Use RGB.ProtoReflect.Descriptor instead.
441func (*RGB) Descriptor() ([]byte, []int) {
442 return file_common_proto_rawDescGZIP(), []int{5}
443}
444
445func (x *RGB) GetR() uint32 {
446 if x != nil {
447 return x.R
448 }
449 return 0
450}
451
452func (x *RGB) GetG() uint32 {
453 if x != nil {
454 return x.G
455 }
456 return 0
457}
458
459func (x *RGB) GetB() uint32 {
460 if x != nil {
461 return x.B
462 }
463 return 0
464}
465
466// CellStyle is the bounded style block of one preview cell
467// (renderer.Style). Indexed colors use int32 so -1 (unset) survives.
468type CellStyle struct {
469 state protoimpl.MessageState `protogen:"open.v1"`
470 Bold bool `protobuf:"varint,1,opt,name=bold,proto3" json:"bold,omitempty"`
471 Italic bool `protobuf:"varint,2,opt,name=italic,proto3" json:"italic,omitempty"`
472 Inverse bool `protobuf:"varint,3,opt,name=inverse,proto3" json:"inverse,omitempty"`
473 Attrs uint32 `protobuf:"varint,4,opt,name=attrs,proto3" json:"attrs,omitempty"`
474 Foreground int32 `protobuf:"varint,5,opt,name=foreground,proto3" json:"foreground,omitempty"`
475 Background int32 `protobuf:"varint,6,opt,name=background,proto3" json:"background,omitempty"`
476 HasForegroundRgb bool `protobuf:"varint,7,opt,name=has_foreground_rgb,json=hasForegroundRgb,proto3" json:"has_foreground_rgb,omitempty"`
477 HasBackgroundRgb bool `protobuf:"varint,8,opt,name=has_background_rgb,json=hasBackgroundRgb,proto3" json:"has_background_rgb,omitempty"`
478 HasUnderlineColor bool `protobuf:"varint,9,opt,name=has_underline_color,json=hasUnderlineColor,proto3" json:"has_underline_color,omitempty"`
479 HasUnderlineColorRgb bool `protobuf:"varint,10,opt,name=has_underline_color_rgb,json=hasUnderlineColorRgb,proto3" json:"has_underline_color_rgb,omitempty"`
480 UnderlineStyle uint32 `protobuf:"varint,11,opt,name=underline_style,json=underlineStyle,proto3" json:"underline_style,omitempty"`
481 UnderlineColor int32 `protobuf:"varint,12,opt,name=underline_color,json=underlineColor,proto3" json:"underline_color,omitempty"`
482 ForegroundRgb *RGB `protobuf:"bytes,13,opt,name=foreground_rgb,json=foregroundRgb,proto3" json:"foreground_rgb,omitempty"`
483 BackgroundRgb *RGB `protobuf:"bytes,14,opt,name=background_rgb,json=backgroundRgb,proto3" json:"background_rgb,omitempty"`
484 UnderlineColorRgb *RGB `protobuf:"bytes,15,opt,name=underline_color_rgb,json=underlineColorRgb,proto3" json:"underline_color_rgb,omitempty"`
485 unknownFields protoimpl.UnknownFields
486 sizeCache protoimpl.SizeCache
487}
488
489func (x *CellStyle) Reset() {
490 *x = CellStyle{}
491 mi := &file_common_proto_msgTypes[6]
492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
493 ms.StoreMessageInfo(mi)
494}
495
496func (x *CellStyle) String() string {
497 return protoimpl.X.MessageStringOf(x)
498}
499
500func (*CellStyle) ProtoMessage() {}
501
502func (x *CellStyle) ProtoReflect() protoreflect.Message {
503 mi := &file_common_proto_msgTypes[6]
504 if x != nil {
505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
506 if ms.LoadMessageInfo() == nil {
507 ms.StoreMessageInfo(mi)
508 }
509 return ms
510 }
511 return mi.MessageOf(x)
512}
513
514// Deprecated: Use CellStyle.ProtoReflect.Descriptor instead.
515func (*CellStyle) Descriptor() ([]byte, []int) {
516 return file_common_proto_rawDescGZIP(), []int{6}
517}
518
519func (x *CellStyle) GetBold() bool {
520 if x != nil {
521 return x.Bold
522 }
523 return false
524}
525
526func (x *CellStyle) GetItalic() bool {
527 if x != nil {
528 return x.Italic
529 }
530 return false
531}
532
533func (x *CellStyle) GetInverse() bool {
534 if x != nil {
535 return x.Inverse
536 }
537 return false
538}
539
540func (x *CellStyle) GetAttrs() uint32 {
541 if x != nil {
542 return x.Attrs
543 }
544 return 0
545}
546
547func (x *CellStyle) GetForeground() int32 {
548 if x != nil {
549 return x.Foreground
550 }
551 return 0
552}
553
554func (x *CellStyle) GetBackground() int32 {
555 if x != nil {
556 return x.Background
557 }
558 return 0
559}
560
561func (x *CellStyle) GetHasForegroundRgb() bool {
562 if x != nil {
563 return x.HasForegroundRgb
564 }
565 return false
566}
567
568func (x *CellStyle) GetHasBackgroundRgb() bool {
569 if x != nil {
570 return x.HasBackgroundRgb
571 }
572 return false
573}
574
575func (x *CellStyle) GetHasUnderlineColor() bool {
576 if x != nil {
577 return x.HasUnderlineColor
578 }
579 return false
580}
581
582func (x *CellStyle) GetHasUnderlineColorRgb() bool {
583 if x != nil {
584 return x.HasUnderlineColorRgb
585 }
586 return false
587}
588
589func (x *CellStyle) GetUnderlineStyle() uint32 {
590 if x != nil {
591 return x.UnderlineStyle
592 }
593 return 0
594}
595
596func (x *CellStyle) GetUnderlineColor() int32 {
597 if x != nil {
598 return x.UnderlineColor
599 }
600 return 0
601}
602
603func (x *CellStyle) GetForegroundRgb() *RGB {
604 if x != nil {
605 return x.ForegroundRgb
606 }
607 return nil
608}
609
610func (x *CellStyle) GetBackgroundRgb() *RGB {
611 if x != nil {
612 return x.BackgroundRgb
613 }
614 return nil
615}
616
617func (x *CellStyle) GetUnderlineColorRgb() *RGB {
618 if x != nil {
619 return x.UnderlineColorRgb
620 }
621 return nil
622}
623
624// PreviewCell is one styled viewport cell: rune, continuation flag, style.
625// Cell payloads beyond rune/style never travel on this wire.
626type PreviewCell struct {
627 state protoimpl.MessageState `protogen:"open.v1"`
628 RuneValue uint32 `protobuf:"varint,1,opt,name=rune_value,json=runeValue,proto3" json:"rune_value,omitempty"`
629 Continuation bool `protobuf:"varint,2,opt,name=continuation,proto3" json:"continuation,omitempty"`
630 Style *CellStyle `protobuf:"bytes,3,opt,name=style,proto3" json:"style,omitempty"`
631 unknownFields protoimpl.UnknownFields
632 sizeCache protoimpl.SizeCache
633}
634
635func (x *PreviewCell) Reset() {
636 *x = PreviewCell{}
637 mi := &file_common_proto_msgTypes[7]
638 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
639 ms.StoreMessageInfo(mi)
640}
641
642func (x *PreviewCell) String() string {
643 return protoimpl.X.MessageStringOf(x)
644}
645
646func (*PreviewCell) ProtoMessage() {}
647
648func (x *PreviewCell) ProtoReflect() protoreflect.Message {
649 mi := &file_common_proto_msgTypes[7]
650 if x != nil {
651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
652 if ms.LoadMessageInfo() == nil {
653 ms.StoreMessageInfo(mi)
654 }
655 return ms
656 }
657 return mi.MessageOf(x)
658}
659
660// Deprecated: Use PreviewCell.ProtoReflect.Descriptor instead.
661func (*PreviewCell) Descriptor() ([]byte, []int) {
662 return file_common_proto_rawDescGZIP(), []int{7}
663}
664
665func (x *PreviewCell) GetRuneValue() uint32 {
666 if x != nil {
667 return x.RuneValue
668 }
669 return 0
670}
671
672func (x *PreviewCell) GetContinuation() bool {
673 if x != nil {
674 return x.Continuation
675 }
676 return false
677}
678
679func (x *PreviewCell) GetStyle() *CellStyle {
680 if x != nil {
681 return x.Style
682 }
683 return nil
684}
685
686// RemoteRegistration is the exact configured identity of one monitored
687// endpoint (domain.RemoteRegistration).
688type RemoteRegistration struct {
689 state protoimpl.MessageState `protogen:"open.v1"`
690 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
691 Incarnation []byte `protobuf:"bytes,2,opt,name=incarnation,proto3" json:"incarnation,omitempty"` // exactly 16 bytes
692 Generation uint64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
693 unknownFields protoimpl.UnknownFields
694 sizeCache protoimpl.SizeCache
695}
696
697func (x *RemoteRegistration) Reset() {
698 *x = RemoteRegistration{}
699 mi := &file_common_proto_msgTypes[8]
700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
701 ms.StoreMessageInfo(mi)
702}
703
704func (x *RemoteRegistration) String() string {
705 return protoimpl.X.MessageStringOf(x)
706}
707
708func (*RemoteRegistration) ProtoMessage() {}
709
710func (x *RemoteRegistration) ProtoReflect() protoreflect.Message {
711 mi := &file_common_proto_msgTypes[8]
712 if x != nil {
713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
714 if ms.LoadMessageInfo() == nil {
715 ms.StoreMessageInfo(mi)
716 }
717 return ms
718 }
719 return mi.MessageOf(x)
720}
721
722// Deprecated: Use RemoteRegistration.ProtoReflect.Descriptor instead.
723func (*RemoteRegistration) Descriptor() ([]byte, []int) {
724 return file_common_proto_rawDescGZIP(), []int{8}
725}
726
727func (x *RemoteRegistration) GetEndpoint() string {
728 if x != nil {
729 return x.Endpoint
730 }
731 return ""
732}
733
734func (x *RemoteRegistration) GetIncarnation() []byte {
735 if x != nil {
736 return x.Incarnation
737 }
738 return nil
739}
740
741func (x *RemoteRegistration) GetGeneration() uint64 {
742 if x != nil {
743 return x.Generation
744 }
745 return 0
746}
747
748var File_common_proto protoreflect.FileDescriptor
749
750const file_common_proto_rawDesc = "" +
751 "\n" +
752 "\fcommon.proto\x12\vvev.wire.v1\"#\n" +
753 "\vLifecycleID\x12\x14\n" +
754 "\x05value\x18\x01 \x01(\fR\x05value\"\x9a\x01\n" +
755 "\vTabSelector\x12\x12\n" +
756 "\x04kind\x18\x01 \x01(\rR\x04kind\x12\x1b\n" +
757 "\tstable_id\x18\x02 \x01(\tR\bstableId\x12\x18\n" +
758 "\aordinal\x18\x03 \x01(\rR\aordinal\x12\x19\n" +
759 "\braw_name\x18\x04 \x01(\tR\arawName\x12%\n" +
760 "\x0eexpected_count\x18\x05 \x01(\rR\rexpectedCount\"\xa6\x02\n" +
761 "\fRemoteTarget\x12\x1a\n" +
762 "\bendpoint\x18\x01 \x01(\tR\bendpoint\x12%\n" +
763 "\x0edisplay_origin\x18\x02 \x01(\tR\rdisplayOrigin\x12;\n" +
764 "\flifecycle_id\x18\x03 \x01(\v2\x18.vev.wire.v1.LifecycleIDR\vlifecycleId\x12!\n" +
765 "\fsession_name\x18\x04 \x01(\tR\vsessionName\x12\x1e\n" +
766 "\vlive_tab_id\x18\x05 \x01(\tR\tliveTabId\x129\n" +
767 "\vstopped_tab\x18\x06 \x01(\v2\x18.vev.wire.v1.TabSelectorR\n" +
768 "stoppedTab\x12\x18\n" +
769 "\astopped\x18\a \x01(\bR\astopped\"m\n" +
770 "\vExactTarget\x12;\n" +
771 "\flifecycle_id\x18\x01 \x01(\v2\x18.vev.wire.v1.LifecycleIDR\vlifecycleId\x12!\n" +
772 "\fsession_name\x18\x02 \x01(\tR\vsessionName\"\xc5\x02\n" +
773 "\x13SessionAttachTarget\x12\x1d\n" +
774 "\n" +
775 "session_id\x18\x01 \x01(\tR\tsessionId\x12;\n" +
776 "\flifecycle_id\x18\x02 \x01(\v2\x18.vev.wire.v1.LifecycleIDR\vlifecycleId\x12!\n" +
777 "\fsession_name\x18\x03 \x01(\tR\vsessionName\x12\x15\n" +
778 "\x06tab_id\x18\x04 \x01(\tR\x05tabId\x12 \n" +
779 "\ttab_index\x18\x05 \x01(\x05H\x00R\btabIndex\x88\x01\x01\x12 \n" +
780 "\ftab_raw_name\x18\x06 \x01(\tR\n" +
781 "tabRawName\x12,\n" +
782 "\x12tab_expected_count\x18\a \x01(\rR\x10tabExpectedCount\x12\x18\n" +
783 "\astopped\x18\b \x01(\bR\astoppedB\f\n" +
784 "\n" +
785 "_tab_index\"/\n" +
786 "\x03RGB\x12\f\n" +
787 "\x01r\x18\x01 \x01(\rR\x01r\x12\f\n" +
788 "\x01g\x18\x02 \x01(\rR\x01g\x12\f\n" +
789 "\x01b\x18\x03 \x01(\rR\x01b\"\xf0\x04\n" +
790 "\tCellStyle\x12\x12\n" +
791 "\x04bold\x18\x01 \x01(\bR\x04bold\x12\x16\n" +
792 "\x06italic\x18\x02 \x01(\bR\x06italic\x12\x18\n" +
793 "\ainverse\x18\x03 \x01(\bR\ainverse\x12\x14\n" +
794 "\x05attrs\x18\x04 \x01(\rR\x05attrs\x12\x1e\n" +
795 "\n" +
796 "foreground\x18\x05 \x01(\x05R\n" +
797 "foreground\x12\x1e\n" +
798 "\n" +
799 "background\x18\x06 \x01(\x05R\n" +
800 "background\x12,\n" +
801 "\x12has_foreground_rgb\x18\a \x01(\bR\x10hasForegroundRgb\x12,\n" +
802 "\x12has_background_rgb\x18\b \x01(\bR\x10hasBackgroundRgb\x12.\n" +
803 "\x13has_underline_color\x18\t \x01(\bR\x11hasUnderlineColor\x125\n" +
804 "\x17has_underline_color_rgb\x18\n" +
805 " \x01(\bR\x14hasUnderlineColorRgb\x12'\n" +
806 "\x0funderline_style\x18\v \x01(\rR\x0eunderlineStyle\x12'\n" +
807 "\x0funderline_color\x18\f \x01(\x05R\x0eunderlineColor\x127\n" +
808 "\x0eforeground_rgb\x18\r \x01(\v2\x10.vev.wire.v1.RGBR\rforegroundRgb\x127\n" +
809 "\x0ebackground_rgb\x18\x0e \x01(\v2\x10.vev.wire.v1.RGBR\rbackgroundRgb\x12@\n" +
810 "\x13underline_color_rgb\x18\x0f \x01(\v2\x10.vev.wire.v1.RGBR\x11underlineColorRgb\"~\n" +
811 "\vPreviewCell\x12\x1d\n" +
812 "\n" +
813 "rune_value\x18\x01 \x01(\rR\truneValue\x12\"\n" +
814 "\fcontinuation\x18\x02 \x01(\bR\fcontinuation\x12,\n" +
815 "\x05style\x18\x03 \x01(\v2\x16.vev.wire.v1.CellStyleR\x05style\"r\n" +
816 "\x12RemoteRegistration\x12\x1a\n" +
817 "\bendpoint\x18\x01 \x01(\tR\bendpoint\x12 \n" +
818 "\vincarnation\x18\x02 \x01(\fR\vincarnation\x12\x1e\n" +
819 "\n" +
820 "generation\x18\x03 \x01(\x04R\n" +
821 "generationB-Z+github.com/bnema/vev/internal/protocol/wireb\x06proto3"
822
823var (
824 file_common_proto_rawDescOnce sync.Once
825 file_common_proto_rawDescData []byte
826)
827
828func file_common_proto_rawDescGZIP() []byte {
829 file_common_proto_rawDescOnce.Do(func() {
830 file_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)))
831 })
832 return file_common_proto_rawDescData
833}
834
835var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
836var file_common_proto_goTypes = []any{
837 (*LifecycleID)(nil), // 0: vev.wire.v1.LifecycleID
838 (*TabSelector)(nil), // 1: vev.wire.v1.TabSelector
839 (*RemoteTarget)(nil), // 2: vev.wire.v1.RemoteTarget
840 (*ExactTarget)(nil), // 3: vev.wire.v1.ExactTarget
841 (*SessionAttachTarget)(nil), // 4: vev.wire.v1.SessionAttachTarget
842 (*RGB)(nil), // 5: vev.wire.v1.RGB
843 (*CellStyle)(nil), // 6: vev.wire.v1.CellStyle
844 (*PreviewCell)(nil), // 7: vev.wire.v1.PreviewCell
845 (*RemoteRegistration)(nil), // 8: vev.wire.v1.RemoteRegistration
846}
847var file_common_proto_depIdxs = []int32{
848 0, // 0: vev.wire.v1.RemoteTarget.lifecycle_id:type_name -> vev.wire.v1.LifecycleID
849 1, // 1: vev.wire.v1.RemoteTarget.stopped_tab:type_name -> vev.wire.v1.TabSelector
850 0, // 2: vev.wire.v1.ExactTarget.lifecycle_id:type_name -> vev.wire.v1.LifecycleID
851 0, // 3: vev.wire.v1.SessionAttachTarget.lifecycle_id:type_name -> vev.wire.v1.LifecycleID
852 5, // 4: vev.wire.v1.CellStyle.foreground_rgb:type_name -> vev.wire.v1.RGB
853 5, // 5: vev.wire.v1.CellStyle.background_rgb:type_name -> vev.wire.v1.RGB
854 5, // 6: vev.wire.v1.CellStyle.underline_color_rgb:type_name -> vev.wire.v1.RGB
855 6, // 7: vev.wire.v1.PreviewCell.style:type_name -> vev.wire.v1.CellStyle
856 8, // [8:8] is the sub-list for method output_type
857 8, // [8:8] is the sub-list for method input_type
858 8, // [8:8] is the sub-list for extension type_name
859 8, // [8:8] is the sub-list for extension extendee
860 0, // [0:8] is the sub-list for field type_name
861}
862
863func init() { file_common_proto_init() }
864func file_common_proto_init() {
865 if File_common_proto != nil {
866 return
867 }
868 file_common_proto_msgTypes[4].OneofWrappers = []any{}
869 type x struct{}
870 out := protoimpl.TypeBuilder{
871 File: protoimpl.DescBuilder{
872 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
873 RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
874 NumEnums: 0,
875 NumMessages: 9,
876 NumExtensions: 0,
877 NumServices: 0,
878 },
879 GoTypes: file_common_proto_goTypes,
880 DependencyIndexes: file_common_proto_depIdxs,
881 MessageInfos: file_common_proto_msgTypes,
882 }.Build()
883 File_common_proto = out.File
884 file_common_proto_goTypes = nil
885 file_common_proto_depIdxs = nil
886}