picker.pb.go RawHistoryFolder

1// Client-picker interaction: offers, snapshots, commits, closes.
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: picker.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// PickerLine is one structured row. Key is opaque and source-assigned.
27type PickerLine struct {
28	state protoimpl.MessageState `protogen:"open.v1"`
29	Key   string                 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
30	// Closed kind taxonomy: 1 = section, 2 = session, 3 = tab, 4 = host.
31	Kind   uint32 `protobuf:"varint,2,opt,name=kind,proto3" json:"kind,omitempty"`
32	Label  string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
33	Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
34	// Closed status taxonomy: 0 = none, 1 = up, 2 = stopped, 3 = down,
35	// 4 = stale, 5 = version, 6 = error.
36	Status        uint32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
37	StatusDetail  string `protobuf:"bytes,6,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
38	Attention     bool   `protobuf:"varint,7,opt,name=attention,proto3" json:"attention,omitempty"`
39	Stopped       bool   `protobuf:"varint,8,opt,name=stopped,proto3" json:"stopped,omitempty"`
40	Dim           bool   `protobuf:"varint,9,opt,name=dim,proto3" json:"dim,omitempty"`
41	Focusable     bool   `protobuf:"varint,10,opt,name=focusable,proto3" json:"focusable,omitempty"`
42	Actions       uint32 `protobuf:"varint,11,opt,name=actions,proto3" json:"actions,omitempty"` // bitmask: 1 = navigate, 2 = move, 4 = kill
43	Ephemeral     bool   `protobuf:"varint,12,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
44	unknownFields protoimpl.UnknownFields
45	sizeCache     protoimpl.SizeCache
46}
47
48func (x *PickerLine) Reset() {
49	*x = PickerLine{}
50	mi := &file_picker_proto_msgTypes[0]
51	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52	ms.StoreMessageInfo(mi)
53}
54
55func (x *PickerLine) String() string {
56	return protoimpl.X.MessageStringOf(x)
57}
58
59func (*PickerLine) ProtoMessage() {}
60
61func (x *PickerLine) ProtoReflect() protoreflect.Message {
62	mi := &file_picker_proto_msgTypes[0]
63	if x != nil {
64		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65		if ms.LoadMessageInfo() == nil {
66			ms.StoreMessageInfo(mi)
67		}
68		return ms
69	}
70	return mi.MessageOf(x)
71}
72
73// Deprecated: Use PickerLine.ProtoReflect.Descriptor instead.
74func (*PickerLine) Descriptor() ([]byte, []int) {
75	return file_picker_proto_rawDescGZIP(), []int{0}
76}
77
78func (x *PickerLine) GetKey() string {
79	if x != nil {
80		return x.Key
81	}
82	return ""
83}
84
85func (x *PickerLine) GetKind() uint32 {
86	if x != nil {
87		return x.Kind
88	}
89	return 0
90}
91
92func (x *PickerLine) GetLabel() string {
93	if x != nil {
94		return x.Label
95	}
96	return ""
97}
98
99func (x *PickerLine) GetDetail() string {
100	if x != nil {
101		return x.Detail
102	}
103	return ""
104}
105
106func (x *PickerLine) GetStatus() uint32 {
107	if x != nil {
108		return x.Status
109	}
110	return 0
111}
112
113func (x *PickerLine) GetStatusDetail() string {
114	if x != nil {
115		return x.StatusDetail
116	}
117	return ""
118}
119
120func (x *PickerLine) GetAttention() bool {
121	if x != nil {
122		return x.Attention
123	}
124	return false
125}
126
127func (x *PickerLine) GetStopped() bool {
128	if x != nil {
129		return x.Stopped
130	}
131	return false
132}
133
134func (x *PickerLine) GetDim() bool {
135	if x != nil {
136		return x.Dim
137	}
138	return false
139}
140
141func (x *PickerLine) GetFocusable() bool {
142	if x != nil {
143		return x.Focusable
144	}
145	return false
146}
147
148func (x *PickerLine) GetActions() uint32 {
149	if x != nil {
150		return x.Actions
151	}
152	return 0
153}
154
155func (x *PickerLine) GetEphemeral() bool {
156	if x != nil {
157		return x.Ephemeral
158	}
159	return false
160}
161
162// PickerCursor restores the selected row by opaque key.
163type PickerCursor struct {
164	state         protoimpl.MessageState `protogen:"open.v1"`
165	Key           string                 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
166	Index         int64                  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
167	unknownFields protoimpl.UnknownFields
168	sizeCache     protoimpl.SizeCache
169}
170
171func (x *PickerCursor) Reset() {
172	*x = PickerCursor{}
173	mi := &file_picker_proto_msgTypes[1]
174	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175	ms.StoreMessageInfo(mi)
176}
177
178func (x *PickerCursor) String() string {
179	return protoimpl.X.MessageStringOf(x)
180}
181
182func (*PickerCursor) ProtoMessage() {}
183
184func (x *PickerCursor) ProtoReflect() protoreflect.Message {
185	mi := &file_picker_proto_msgTypes[1]
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 PickerCursor.ProtoReflect.Descriptor instead.
197func (*PickerCursor) Descriptor() ([]byte, []int) {
198	return file_picker_proto_rawDescGZIP(), []int{1}
199}
200
201func (x *PickerCursor) GetKey() string {
202	if x != nil {
203		return x.Key
204	}
205	return ""
206}
207
208func (x *PickerCursor) GetIndex() int64 {
209	if x != nil {
210		return x.Index
211	}
212	return 0
213}
214
215// PickerProjection is one complete daemon-authorised presentation.
216type PickerProjection struct {
217	state         protoimpl.MessageState `protogen:"open.v1"`
218	Lines         []*PickerLine          `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"`
219	Cursor        *PickerCursor          `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
220	unknownFields protoimpl.UnknownFields
221	sizeCache     protoimpl.SizeCache
222}
223
224func (x *PickerProjection) Reset() {
225	*x = PickerProjection{}
226	mi := &file_picker_proto_msgTypes[2]
227	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228	ms.StoreMessageInfo(mi)
229}
230
231func (x *PickerProjection) String() string {
232	return protoimpl.X.MessageStringOf(x)
233}
234
235func (*PickerProjection) ProtoMessage() {}
236
237func (x *PickerProjection) ProtoReflect() protoreflect.Message {
238	mi := &file_picker_proto_msgTypes[2]
239	if x != nil {
240		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241		if ms.LoadMessageInfo() == nil {
242			ms.StoreMessageInfo(mi)
243		}
244		return ms
245	}
246	return mi.MessageOf(x)
247}
248
249// Deprecated: Use PickerProjection.ProtoReflect.Descriptor instead.
250func (*PickerProjection) Descriptor() ([]byte, []int) {
251	return file_picker_proto_rawDescGZIP(), []int{2}
252}
253
254func (x *PickerProjection) GetLines() []*PickerLine {
255	if x != nil {
256		return x.Lines
257	}
258	return nil
259}
260
261func (x *PickerProjection) GetCursor() *PickerCursor {
262	if x != nil {
263		return x.Cursor
264	}
265	return nil
266}
267
268// PickerSnapshot atomically publishes both presentation projections.
269type PickerSnapshot struct {
270	state          protoimpl.MessageState `protogen:"open.v1"`
271	InteractionId  uint64                 `protobuf:"varint,1,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
272	SourceId       string                 `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
273	SourceRevision uint64                 `protobuf:"varint,3,opt,name=source_revision,json=sourceRevision,proto3" json:"source_revision,omitempty"`
274	// Closed source-status taxonomy: 1 = ok, 2 = unavailable, 3 = too large.
275	Status        uint32            `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
276	StatusDetail  string            `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
277	Recent        *PickerProjection `protobuf:"bytes,6,opt,name=recent,proto3" json:"recent,omitempty"`
278	Grouped       *PickerProjection `protobuf:"bytes,7,opt,name=grouped,proto3" json:"grouped,omitempty"`
279	unknownFields protoimpl.UnknownFields
280	sizeCache     protoimpl.SizeCache
281}
282
283func (x *PickerSnapshot) Reset() {
284	*x = PickerSnapshot{}
285	mi := &file_picker_proto_msgTypes[3]
286	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287	ms.StoreMessageInfo(mi)
288}
289
290func (x *PickerSnapshot) String() string {
291	return protoimpl.X.MessageStringOf(x)
292}
293
294func (*PickerSnapshot) ProtoMessage() {}
295
296func (x *PickerSnapshot) ProtoReflect() protoreflect.Message {
297	mi := &file_picker_proto_msgTypes[3]
298	if x != nil {
299		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300		if ms.LoadMessageInfo() == nil {
301			ms.StoreMessageInfo(mi)
302		}
303		return ms
304	}
305	return mi.MessageOf(x)
306}
307
308// Deprecated: Use PickerSnapshot.ProtoReflect.Descriptor instead.
309func (*PickerSnapshot) Descriptor() ([]byte, []int) {
310	return file_picker_proto_rawDescGZIP(), []int{3}
311}
312
313func (x *PickerSnapshot) GetInteractionId() uint64 {
314	if x != nil {
315		return x.InteractionId
316	}
317	return 0
318}
319
320func (x *PickerSnapshot) GetSourceId() string {
321	if x != nil {
322		return x.SourceId
323	}
324	return ""
325}
326
327func (x *PickerSnapshot) GetSourceRevision() uint64 {
328	if x != nil {
329		return x.SourceRevision
330	}
331	return 0
332}
333
334func (x *PickerSnapshot) GetStatus() uint32 {
335	if x != nil {
336		return x.Status
337	}
338	return 0
339}
340
341func (x *PickerSnapshot) GetStatusDetail() string {
342	if x != nil {
343		return x.StatusDetail
344	}
345	return ""
346}
347
348func (x *PickerSnapshot) GetRecent() *PickerProjection {
349	if x != nil {
350		return x.Recent
351	}
352	return nil
353}
354
355func (x *PickerSnapshot) GetGrouped() *PickerProjection {
356	if x != nil {
357		return x.Grouped
358	}
359	return nil
360}
361
362// PickerOffer opens one interaction.
363type PickerOffer struct {
364	state         protoimpl.MessageState `protogen:"open.v1"`
365	InteractionId uint64                 `protobuf:"varint,1,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
366	RequestId     uint64                 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
367	// Closed intent taxonomy: 1 = navigation, 2 = move pane, 3 = move tab.
368	Intent        uint32 `protobuf:"varint,3,opt,name=intent,proto3" json:"intent,omitempty"`
369	MoveSourceKey string `protobuf:"bytes,4,opt,name=move_source_key,json=moveSourceKey,proto3" json:"move_source_key,omitempty"`
370	BarrierEpoch  uint64 `protobuf:"varint,5,opt,name=barrier_epoch,json=barrierEpoch,proto3" json:"barrier_epoch,omitempty"`
371	BarrierState  uint64 `protobuf:"varint,6,opt,name=barrier_state,json=barrierState,proto3" json:"barrier_state,omitempty"`
372	SizeEpoch     uint64 `protobuf:"varint,7,opt,name=size_epoch,json=sizeEpoch,proto3" json:"size_epoch,omitempty"`
373	Title         string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
374	unknownFields protoimpl.UnknownFields
375	sizeCache     protoimpl.SizeCache
376}
377
378func (x *PickerOffer) Reset() {
379	*x = PickerOffer{}
380	mi := &file_picker_proto_msgTypes[4]
381	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
382	ms.StoreMessageInfo(mi)
383}
384
385func (x *PickerOffer) String() string {
386	return protoimpl.X.MessageStringOf(x)
387}
388
389func (*PickerOffer) ProtoMessage() {}
390
391func (x *PickerOffer) ProtoReflect() protoreflect.Message {
392	mi := &file_picker_proto_msgTypes[4]
393	if x != nil {
394		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395		if ms.LoadMessageInfo() == nil {
396			ms.StoreMessageInfo(mi)
397		}
398		return ms
399	}
400	return mi.MessageOf(x)
401}
402
403// Deprecated: Use PickerOffer.ProtoReflect.Descriptor instead.
404func (*PickerOffer) Descriptor() ([]byte, []int) {
405	return file_picker_proto_rawDescGZIP(), []int{4}
406}
407
408func (x *PickerOffer) GetInteractionId() uint64 {
409	if x != nil {
410		return x.InteractionId
411	}
412	return 0
413}
414
415func (x *PickerOffer) GetRequestId() uint64 {
416	if x != nil {
417		return x.RequestId
418	}
419	return 0
420}
421
422func (x *PickerOffer) GetIntent() uint32 {
423	if x != nil {
424		return x.Intent
425	}
426	return 0
427}
428
429func (x *PickerOffer) GetMoveSourceKey() string {
430	if x != nil {
431		return x.MoveSourceKey
432	}
433	return ""
434}
435
436func (x *PickerOffer) GetBarrierEpoch() uint64 {
437	if x != nil {
438		return x.BarrierEpoch
439	}
440	return 0
441}
442
443func (x *PickerOffer) GetBarrierState() uint64 {
444	if x != nil {
445		return x.BarrierState
446	}
447	return 0
448}
449
450func (x *PickerOffer) GetSizeEpoch() uint64 {
451	if x != nil {
452		return x.SizeEpoch
453	}
454	return 0
455}
456
457func (x *PickerOffer) GetTitle() string {
458	if x != nil {
459		return x.Title
460	}
461	return ""
462}
463
464// PickerSelection commits the opaque row key at a revision.
465type PickerSelection struct {
466	state          protoimpl.MessageState `protogen:"open.v1"`
467	CauseActionId  uint64                 `protobuf:"varint,1,opt,name=cause_action_id,json=causeActionId,proto3" json:"cause_action_id,omitempty"`
468	RequestId      uint64                 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
469	InteractionId  uint64                 `protobuf:"varint,3,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
470	SourceId       string                 `protobuf:"bytes,4,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
471	SourceRevision uint64                 `protobuf:"varint,5,opt,name=source_revision,json=sourceRevision,proto3" json:"source_revision,omitempty"`
472	Key            string                 `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
473	// Closed action taxonomy: 1 = navigate, 2 = move, 3 = kill.
474	Action        uint32 `protobuf:"varint,7,opt,name=action,proto3" json:"action,omitempty"`
475	unknownFields protoimpl.UnknownFields
476	sizeCache     protoimpl.SizeCache
477}
478
479func (x *PickerSelection) Reset() {
480	*x = PickerSelection{}
481	mi := &file_picker_proto_msgTypes[5]
482	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
483	ms.StoreMessageInfo(mi)
484}
485
486func (x *PickerSelection) String() string {
487	return protoimpl.X.MessageStringOf(x)
488}
489
490func (*PickerSelection) ProtoMessage() {}
491
492func (x *PickerSelection) ProtoReflect() protoreflect.Message {
493	mi := &file_picker_proto_msgTypes[5]
494	if x != nil {
495		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
496		if ms.LoadMessageInfo() == nil {
497			ms.StoreMessageInfo(mi)
498		}
499		return ms
500	}
501	return mi.MessageOf(x)
502}
503
504// Deprecated: Use PickerSelection.ProtoReflect.Descriptor instead.
505func (*PickerSelection) Descriptor() ([]byte, []int) {
506	return file_picker_proto_rawDescGZIP(), []int{5}
507}
508
509func (x *PickerSelection) GetCauseActionId() uint64 {
510	if x != nil {
511		return x.CauseActionId
512	}
513	return 0
514}
515
516func (x *PickerSelection) GetRequestId() uint64 {
517	if x != nil {
518		return x.RequestId
519	}
520	return 0
521}
522
523func (x *PickerSelection) GetInteractionId() uint64 {
524	if x != nil {
525		return x.InteractionId
526	}
527	return 0
528}
529
530func (x *PickerSelection) GetSourceId() string {
531	if x != nil {
532		return x.SourceId
533	}
534	return ""
535}
536
537func (x *PickerSelection) GetSourceRevision() uint64 {
538	if x != nil {
539		return x.SourceRevision
540	}
541	return 0
542}
543
544func (x *PickerSelection) GetKey() string {
545	if x != nil {
546		return x.Key
547	}
548	return ""
549}
550
551func (x *PickerSelection) GetAction() uint32 {
552	if x != nil {
553		return x.Action
554	}
555	return 0
556}
557
558// PickerResult reports a completed mutation.
559type PickerResult struct {
560	state         protoimpl.MessageState `protogen:"open.v1"`
561	CauseActionId uint64                 `protobuf:"varint,1,opt,name=cause_action_id,json=causeActionId,proto3" json:"cause_action_id,omitempty"`
562	RequestId     uint64                 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
563	InteractionId uint64                 `protobuf:"varint,3,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
564	SourceId      string                 `protobuf:"bytes,4,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
565	Key           string                 `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
566	Action        uint32                 `protobuf:"varint,6,opt,name=action,proto3" json:"action,omitempty"` // same taxonomy as PickerSelection.action
567	unknownFields protoimpl.UnknownFields
568	sizeCache     protoimpl.SizeCache
569}
570
571func (x *PickerResult) Reset() {
572	*x = PickerResult{}
573	mi := &file_picker_proto_msgTypes[6]
574	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
575	ms.StoreMessageInfo(mi)
576}
577
578func (x *PickerResult) String() string {
579	return protoimpl.X.MessageStringOf(x)
580}
581
582func (*PickerResult) ProtoMessage() {}
583
584func (x *PickerResult) ProtoReflect() protoreflect.Message {
585	mi := &file_picker_proto_msgTypes[6]
586	if x != nil {
587		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
588		if ms.LoadMessageInfo() == nil {
589			ms.StoreMessageInfo(mi)
590		}
591		return ms
592	}
593	return mi.MessageOf(x)
594}
595
596// Deprecated: Use PickerResult.ProtoReflect.Descriptor instead.
597func (*PickerResult) Descriptor() ([]byte, []int) {
598	return file_picker_proto_rawDescGZIP(), []int{6}
599}
600
601func (x *PickerResult) GetCauseActionId() uint64 {
602	if x != nil {
603		return x.CauseActionId
604	}
605	return 0
606}
607
608func (x *PickerResult) GetRequestId() uint64 {
609	if x != nil {
610		return x.RequestId
611	}
612	return 0
613}
614
615func (x *PickerResult) GetInteractionId() uint64 {
616	if x != nil {
617		return x.InteractionId
618	}
619	return 0
620}
621
622func (x *PickerResult) GetSourceId() string {
623	if x != nil {
624		return x.SourceId
625	}
626	return ""
627}
628
629func (x *PickerResult) GetKey() string {
630	if x != nil {
631		return x.Key
632	}
633	return ""
634}
635
636func (x *PickerResult) GetAction() uint32 {
637	if x != nil {
638		return x.Action
639	}
640	return 0
641}
642
643// PickerFailure reports a rejected selection with a bounded code.
644type PickerFailure struct {
645	state         protoimpl.MessageState `protogen:"open.v1"`
646	CauseActionId uint64                 `protobuf:"varint,1,opt,name=cause_action_id,json=causeActionId,proto3" json:"cause_action_id,omitempty"`
647	RequestId     uint64                 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
648	InteractionId uint64                 `protobuf:"varint,3,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
649	SourceId      string                 `protobuf:"bytes,4,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
650	Key           string                 `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
651	Action        uint32                 `protobuf:"varint,6,opt,name=action,proto3" json:"action,omitempty"` // same taxonomy as PickerSelection.action
652	// Closed code taxonomy: 1 = stale revision, 2 = unknown key,
653	// 3 = retired target, 4 = navigation failed, 5 = unknown source,
654	// 6 = action failed.
655	Code          uint32 `protobuf:"varint,7,opt,name=code,proto3" json:"code,omitempty"`
656	unknownFields protoimpl.UnknownFields
657	sizeCache     protoimpl.SizeCache
658}
659
660func (x *PickerFailure) Reset() {
661	*x = PickerFailure{}
662	mi := &file_picker_proto_msgTypes[7]
663	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
664	ms.StoreMessageInfo(mi)
665}
666
667func (x *PickerFailure) String() string {
668	return protoimpl.X.MessageStringOf(x)
669}
670
671func (*PickerFailure) ProtoMessage() {}
672
673func (x *PickerFailure) ProtoReflect() protoreflect.Message {
674	mi := &file_picker_proto_msgTypes[7]
675	if x != nil {
676		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
677		if ms.LoadMessageInfo() == nil {
678			ms.StoreMessageInfo(mi)
679		}
680		return ms
681	}
682	return mi.MessageOf(x)
683}
684
685// Deprecated: Use PickerFailure.ProtoReflect.Descriptor instead.
686func (*PickerFailure) Descriptor() ([]byte, []int) {
687	return file_picker_proto_rawDescGZIP(), []int{7}
688}
689
690func (x *PickerFailure) GetCauseActionId() uint64 {
691	if x != nil {
692		return x.CauseActionId
693	}
694	return 0
695}
696
697func (x *PickerFailure) GetRequestId() uint64 {
698	if x != nil {
699		return x.RequestId
700	}
701	return 0
702}
703
704func (x *PickerFailure) GetInteractionId() uint64 {
705	if x != nil {
706		return x.InteractionId
707	}
708	return 0
709}
710
711func (x *PickerFailure) GetSourceId() string {
712	if x != nil {
713		return x.SourceId
714	}
715	return ""
716}
717
718func (x *PickerFailure) GetKey() string {
719	if x != nil {
720		return x.Key
721	}
722	return ""
723}
724
725func (x *PickerFailure) GetAction() uint32 {
726	if x != nil {
727		return x.Action
728	}
729	return 0
730}
731
732func (x *PickerFailure) GetCode() uint32 {
733	if x != nil {
734		return x.Code
735	}
736	return 0
737}
738
739// PickerClose asks the daemon to retire one interaction. Idempotent.
740type PickerClose struct {
741	state         protoimpl.MessageState `protogen:"open.v1"`
742	InteractionId uint64                 `protobuf:"varint,1,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
743	RequestId     uint64                 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
744	unknownFields protoimpl.UnknownFields
745	sizeCache     protoimpl.SizeCache
746}
747
748func (x *PickerClose) Reset() {
749	*x = PickerClose{}
750	mi := &file_picker_proto_msgTypes[8]
751	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
752	ms.StoreMessageInfo(mi)
753}
754
755func (x *PickerClose) String() string {
756	return protoimpl.X.MessageStringOf(x)
757}
758
759func (*PickerClose) ProtoMessage() {}
760
761func (x *PickerClose) ProtoReflect() protoreflect.Message {
762	mi := &file_picker_proto_msgTypes[8]
763	if x != nil {
764		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
765		if ms.LoadMessageInfo() == nil {
766			ms.StoreMessageInfo(mi)
767		}
768		return ms
769	}
770	return mi.MessageOf(x)
771}
772
773// Deprecated: Use PickerClose.ProtoReflect.Descriptor instead.
774func (*PickerClose) Descriptor() ([]byte, []int) {
775	return file_picker_proto_rawDescGZIP(), []int{8}
776}
777
778func (x *PickerClose) GetInteractionId() uint64 {
779	if x != nil {
780		return x.InteractionId
781	}
782	return 0
783}
784
785func (x *PickerClose) GetRequestId() uint64 {
786	if x != nil {
787		return x.RequestId
788	}
789	return 0
790}
791
792// PickerClosed confirms the daemon retired one interaction.
793type PickerClosed struct {
794	state         protoimpl.MessageState `protogen:"open.v1"`
795	InteractionId uint64                 `protobuf:"varint,1,opt,name=interaction_id,json=interactionId,proto3" json:"interaction_id,omitempty"`
796	BarrierEpoch  uint64                 `protobuf:"varint,2,opt,name=barrier_epoch,json=barrierEpoch,proto3" json:"barrier_epoch,omitempty"`
797	BarrierState  uint64                 `protobuf:"varint,3,opt,name=barrier_state,json=barrierState,proto3" json:"barrier_state,omitempty"`
798	unknownFields protoimpl.UnknownFields
799	sizeCache     protoimpl.SizeCache
800}
801
802func (x *PickerClosed) Reset() {
803	*x = PickerClosed{}
804	mi := &file_picker_proto_msgTypes[9]
805	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
806	ms.StoreMessageInfo(mi)
807}
808
809func (x *PickerClosed) String() string {
810	return protoimpl.X.MessageStringOf(x)
811}
812
813func (*PickerClosed) ProtoMessage() {}
814
815func (x *PickerClosed) ProtoReflect() protoreflect.Message {
816	mi := &file_picker_proto_msgTypes[9]
817	if x != nil {
818		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
819		if ms.LoadMessageInfo() == nil {
820			ms.StoreMessageInfo(mi)
821		}
822		return ms
823	}
824	return mi.MessageOf(x)
825}
826
827// Deprecated: Use PickerClosed.ProtoReflect.Descriptor instead.
828func (*PickerClosed) Descriptor() ([]byte, []int) {
829	return file_picker_proto_rawDescGZIP(), []int{9}
830}
831
832func (x *PickerClosed) GetInteractionId() uint64 {
833	if x != nil {
834		return x.InteractionId
835	}
836	return 0
837}
838
839func (x *PickerClosed) GetBarrierEpoch() uint64 {
840	if x != nil {
841		return x.BarrierEpoch
842	}
843	return 0
844}
845
846func (x *PickerClosed) GetBarrierState() uint64 {
847	if x != nil {
848		return x.BarrierState
849	}
850	return 0
851}
852
853var File_picker_proto protoreflect.FileDescriptor
854
855const file_picker_proto_rawDesc = "" +
856	"\n" +
857	"\fpicker.proto\x12\vvev.wire.v1\"\xbd\x02\n" +
858	"\n" +
859	"PickerLine\x12\x10\n" +
860	"\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n" +
861	"\x04kind\x18\x02 \x01(\rR\x04kind\x12\x14\n" +
862	"\x05label\x18\x03 \x01(\tR\x05label\x12\x16\n" +
863	"\x06detail\x18\x04 \x01(\tR\x06detail\x12\x16\n" +
864	"\x06status\x18\x05 \x01(\rR\x06status\x12#\n" +
865	"\rstatus_detail\x18\x06 \x01(\tR\fstatusDetail\x12\x1c\n" +
866	"\tattention\x18\a \x01(\bR\tattention\x12\x18\n" +
867	"\astopped\x18\b \x01(\bR\astopped\x12\x10\n" +
868	"\x03dim\x18\t \x01(\bR\x03dim\x12\x1c\n" +
869	"\tfocusable\x18\n" +
870	" \x01(\bR\tfocusable\x12\x18\n" +
871	"\aactions\x18\v \x01(\rR\aactions\x12\x1c\n" +
872	"\tephemeral\x18\f \x01(\bR\tephemeral\"6\n" +
873	"\fPickerCursor\x12\x10\n" +
874	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
875	"\x05index\x18\x02 \x01(\x03R\x05index\"t\n" +
876	"\x10PickerProjection\x12-\n" +
877	"\x05lines\x18\x01 \x03(\v2\x17.vev.wire.v1.PickerLineR\x05lines\x121\n" +
878	"\x06cursor\x18\x02 \x01(\v2\x19.vev.wire.v1.PickerCursorR\x06cursor\"\xaa\x02\n" +
879	"\x0ePickerSnapshot\x12%\n" +
880	"\x0einteraction_id\x18\x01 \x01(\x04R\rinteractionId\x12\x1b\n" +
881	"\tsource_id\x18\x02 \x01(\tR\bsourceId\x12'\n" +
882	"\x0fsource_revision\x18\x03 \x01(\x04R\x0esourceRevision\x12\x16\n" +
883	"\x06status\x18\x04 \x01(\rR\x06status\x12#\n" +
884	"\rstatus_detail\x18\x05 \x01(\tR\fstatusDetail\x125\n" +
885	"\x06recent\x18\x06 \x01(\v2\x1d.vev.wire.v1.PickerProjectionR\x06recent\x127\n" +
886	"\agrouped\x18\a \x01(\v2\x1d.vev.wire.v1.PickerProjectionR\agrouped\"\x92\x02\n" +
887	"\vPickerOffer\x12%\n" +
888	"\x0einteraction_id\x18\x01 \x01(\x04R\rinteractionId\x12\x1d\n" +
889	"\n" +
890	"request_id\x18\x02 \x01(\x04R\trequestId\x12\x16\n" +
891	"\x06intent\x18\x03 \x01(\rR\x06intent\x12&\n" +
892	"\x0fmove_source_key\x18\x04 \x01(\tR\rmoveSourceKey\x12#\n" +
893	"\rbarrier_epoch\x18\x05 \x01(\x04R\fbarrierEpoch\x12#\n" +
894	"\rbarrier_state\x18\x06 \x01(\x04R\fbarrierState\x12\x1d\n" +
895	"\n" +
896	"size_epoch\x18\a \x01(\x04R\tsizeEpoch\x12\x14\n" +
897	"\x05title\x18\b \x01(\tR\x05title\"\xef\x01\n" +
898	"\x0fPickerSelection\x12&\n" +
899	"\x0fcause_action_id\x18\x01 \x01(\x04R\rcauseActionId\x12\x1d\n" +
900	"\n" +
901	"request_id\x18\x02 \x01(\x04R\trequestId\x12%\n" +
902	"\x0einteraction_id\x18\x03 \x01(\x04R\rinteractionId\x12\x1b\n" +
903	"\tsource_id\x18\x04 \x01(\tR\bsourceId\x12'\n" +
904	"\x0fsource_revision\x18\x05 \x01(\x04R\x0esourceRevision\x12\x10\n" +
905	"\x03key\x18\x06 \x01(\tR\x03key\x12\x16\n" +
906	"\x06action\x18\a \x01(\rR\x06action\"\xc3\x01\n" +
907	"\fPickerResult\x12&\n" +
908	"\x0fcause_action_id\x18\x01 \x01(\x04R\rcauseActionId\x12\x1d\n" +
909	"\n" +
910	"request_id\x18\x02 \x01(\x04R\trequestId\x12%\n" +
911	"\x0einteraction_id\x18\x03 \x01(\x04R\rinteractionId\x12\x1b\n" +
912	"\tsource_id\x18\x04 \x01(\tR\bsourceId\x12\x10\n" +
913	"\x03key\x18\x05 \x01(\tR\x03key\x12\x16\n" +
914	"\x06action\x18\x06 \x01(\rR\x06action\"\xd8\x01\n" +
915	"\rPickerFailure\x12&\n" +
916	"\x0fcause_action_id\x18\x01 \x01(\x04R\rcauseActionId\x12\x1d\n" +
917	"\n" +
918	"request_id\x18\x02 \x01(\x04R\trequestId\x12%\n" +
919	"\x0einteraction_id\x18\x03 \x01(\x04R\rinteractionId\x12\x1b\n" +
920	"\tsource_id\x18\x04 \x01(\tR\bsourceId\x12\x10\n" +
921	"\x03key\x18\x05 \x01(\tR\x03key\x12\x16\n" +
922	"\x06action\x18\x06 \x01(\rR\x06action\x12\x12\n" +
923	"\x04code\x18\a \x01(\rR\x04code\"S\n" +
924	"\vPickerClose\x12%\n" +
925	"\x0einteraction_id\x18\x01 \x01(\x04R\rinteractionId\x12\x1d\n" +
926	"\n" +
927	"request_id\x18\x02 \x01(\x04R\trequestId\"\x7f\n" +
928	"\fPickerClosed\x12%\n" +
929	"\x0einteraction_id\x18\x01 \x01(\x04R\rinteractionId\x12#\n" +
930	"\rbarrier_epoch\x18\x02 \x01(\x04R\fbarrierEpoch\x12#\n" +
931	"\rbarrier_state\x18\x03 \x01(\x04R\fbarrierStateB-Z+github.com/bnema/vev/internal/protocol/wireb\x06proto3"
932
933var (
934	file_picker_proto_rawDescOnce sync.Once
935	file_picker_proto_rawDescData []byte
936)
937
938func file_picker_proto_rawDescGZIP() []byte {
939	file_picker_proto_rawDescOnce.Do(func() {
940		file_picker_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_picker_proto_rawDesc), len(file_picker_proto_rawDesc)))
941	})
942	return file_picker_proto_rawDescData
943}
944
945var file_picker_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
946var file_picker_proto_goTypes = []any{
947	(*PickerLine)(nil),       // 0: vev.wire.v1.PickerLine
948	(*PickerCursor)(nil),     // 1: vev.wire.v1.PickerCursor
949	(*PickerProjection)(nil), // 2: vev.wire.v1.PickerProjection
950	(*PickerSnapshot)(nil),   // 3: vev.wire.v1.PickerSnapshot
951	(*PickerOffer)(nil),      // 4: vev.wire.v1.PickerOffer
952	(*PickerSelection)(nil),  // 5: vev.wire.v1.PickerSelection
953	(*PickerResult)(nil),     // 6: vev.wire.v1.PickerResult
954	(*PickerFailure)(nil),    // 7: vev.wire.v1.PickerFailure
955	(*PickerClose)(nil),      // 8: vev.wire.v1.PickerClose
956	(*PickerClosed)(nil),     // 9: vev.wire.v1.PickerClosed
957}
958var file_picker_proto_depIdxs = []int32{
959	0, // 0: vev.wire.v1.PickerProjection.lines:type_name -> vev.wire.v1.PickerLine
960	1, // 1: vev.wire.v1.PickerProjection.cursor:type_name -> vev.wire.v1.PickerCursor
961	2, // 2: vev.wire.v1.PickerSnapshot.recent:type_name -> vev.wire.v1.PickerProjection
962	2, // 3: vev.wire.v1.PickerSnapshot.grouped:type_name -> vev.wire.v1.PickerProjection
963	4, // [4:4] is the sub-list for method output_type
964	4, // [4:4] is the sub-list for method input_type
965	4, // [4:4] is the sub-list for extension type_name
966	4, // [4:4] is the sub-list for extension extendee
967	0, // [0:4] is the sub-list for field type_name
968}
969
970func init() { file_picker_proto_init() }
971func file_picker_proto_init() {
972	if File_picker_proto != nil {
973		return
974	}
975	type x struct{}
976	out := protoimpl.TypeBuilder{
977		File: protoimpl.DescBuilder{
978			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
979			RawDescriptor: unsafe.Slice(unsafe.StringData(file_picker_proto_rawDesc), len(file_picker_proto_rawDesc)),
980			NumEnums:      0,
981			NumMessages:   10,
982			NumExtensions: 0,
983			NumServices:   0,
984		},
985		GoTypes:           file_picker_proto_goTypes,
986		DependencyIndexes: file_picker_proto_depIdxs,
987		MessageInfos:      file_picker_proto_msgTypes,
988	}.Build()
989	File_picker_proto = out.File
990	file_picker_proto_goTypes = nil
991	file_picker_proto_depIdxs = nil
992}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 12

Tags 11

↑↓ moveenter openesc close