// Directional envelopes and the connection preamble. // // The preamble is the fixed, bounded envelope understood before any other // payload. The first client frame is always PreambleRequest; the first // server frame is always PreambleResponse. Exact version equality is // mandatory; the preamble negotiates immutable per-connection ceilings once. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.12 // protoc (unknown) // source: envelope.proto package wire import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // PreambleRole names which side sends the preamble. type PreambleRole struct { state protoimpl.MessageState `protogen:"open.v1"` // Closed taxonomy: 1 = client, 2 = server. Role uint32 `protobuf:"varint,1,opt,name=role,proto3" json:"role,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PreambleRole) Reset() { *x = PreambleRole{} mi := &file_envelope_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PreambleRole) String() string { return protoimpl.X.MessageStringOf(x) } func (*PreambleRole) ProtoMessage() {} func (x *PreambleRole) ProtoReflect() protoreflect.Message { mi := &file_envelope_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PreambleRole.ProtoReflect.Descriptor instead. func (*PreambleRole) Descriptor() ([]byte, []int) { return file_envelope_proto_rawDescGZIP(), []int{0} } func (x *PreambleRole) GetRole() uint32 { if x != nil { return x.Role } return 0 } // PreambleRequest is the client's first frame on every connection. type PreambleRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Magic uint32 `protobuf:"varint,1,opt,name=magic,proto3" json:"magic,omitempty"` // must equal PREAMBLE_MAGIC Epoch uint32 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` // must equal PROTOCOL_EPOCH Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // exact session protocol version Role *PreambleRole `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // must be client MaxReceiveEnvelopeBytes uint64 `protobuf:"varint,5,opt,name=max_receive_envelope_bytes,json=maxReceiveEnvelopeBytes,proto3" json:"max_receive_envelope_bytes,omitempty"` // advertised receive ceiling OutputDataLimit uint64 `protobuf:"varint,6,opt,name=output_data_limit,json=outputDataLimit,proto3" json:"output_data_limit,omitempty"` // advertised Output data ceiling CapabilityBits uint32 `protobuf:"varint,7,opt,name=capability_bits,json=capabilityBits,proto3" json:"capability_bits,omitempty"` // optional capability flags unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PreambleRequest) Reset() { *x = PreambleRequest{} mi := &file_envelope_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PreambleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PreambleRequest) ProtoMessage() {} func (x *PreambleRequest) ProtoReflect() protoreflect.Message { mi := &file_envelope_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PreambleRequest.ProtoReflect.Descriptor instead. func (*PreambleRequest) Descriptor() ([]byte, []int) { return file_envelope_proto_rawDescGZIP(), []int{1} } func (x *PreambleRequest) GetMagic() uint32 { if x != nil { return x.Magic } return 0 } func (x *PreambleRequest) GetEpoch() uint32 { if x != nil { return x.Epoch } return 0 } func (x *PreambleRequest) GetVersion() uint32 { if x != nil { return x.Version } return 0 } func (x *PreambleRequest) GetRole() *PreambleRole { if x != nil { return x.Role } return nil } func (x *PreambleRequest) GetMaxReceiveEnvelopeBytes() uint64 { if x != nil { return x.MaxReceiveEnvelopeBytes } return 0 } func (x *PreambleRequest) GetOutputDataLimit() uint64 { if x != nil { return x.OutputDataLimit } return 0 } func (x *PreambleRequest) GetCapabilityBits() uint32 { if x != nil { return x.CapabilityBits } return 0 } // PreambleRejectionCode is the closed preamble refusal taxonomy. type PreambleRejectionCode struct { state protoimpl.MessageState `protogen:"open.v1"` // Closed taxonomy: 1 = bad magic, 2 = epoch mismatch, 3 = version // mismatch, 4 = wrong role, 5 = duplicate preamble, 6 = out of order, // 7 = limit refused. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PreambleRejectionCode) Reset() { *x = PreambleRejectionCode{} mi := &file_envelope_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PreambleRejectionCode) String() string { return protoimpl.X.MessageStringOf(x) } func (*PreambleRejectionCode) ProtoMessage() {} func (x *PreambleRejectionCode) ProtoReflect() protoreflect.Message { mi := &file_envelope_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PreambleRejectionCode.ProtoReflect.Descriptor instead. func (*PreambleRejectionCode) Descriptor() ([]byte, []int) { return file_envelope_proto_rawDescGZIP(), []int{2} } func (x *PreambleRejectionCode) GetCode() uint32 { if x != nil { return x.Code } return 0 } // PreambleResponse is the server's first frame: acceptance or typed refusal. type PreambleResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Magic uint32 `protobuf:"varint,1,opt,name=magic,proto3" json:"magic,omitempty"` // must equal PREAMBLE_MAGIC Epoch uint32 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` Role *PreambleRole `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // must be server MaxReceiveEnvelopeBytes uint64 `protobuf:"varint,5,opt,name=max_receive_envelope_bytes,json=maxReceiveEnvelopeBytes,proto3" json:"max_receive_envelope_bytes,omitempty"` // effective negotiated ceiling OutputDataLimit uint64 `protobuf:"varint,6,opt,name=output_data_limit,json=outputDataLimit,proto3" json:"output_data_limit,omitempty"` // effective Output data ceiling CapabilityBits uint32 `protobuf:"varint,7,opt,name=capability_bits,json=capabilityBits,proto3" json:"capability_bits,omitempty"` Accepted bool `protobuf:"varint,8,opt,name=accepted,proto3" json:"accepted,omitempty"` Rejection *PreambleRejectionCode `protobuf:"bytes,9,opt,name=rejection,proto3" json:"rejection,omitempty"` // set only when accepted is false unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PreambleResponse) Reset() { *x = PreambleResponse{} mi := &file_envelope_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PreambleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*PreambleResponse) ProtoMessage() {} func (x *PreambleResponse) ProtoReflect() protoreflect.Message { mi := &file_envelope_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PreambleResponse.ProtoReflect.Descriptor instead. func (*PreambleResponse) Descriptor() ([]byte, []int) { return file_envelope_proto_rawDescGZIP(), []int{3} } func (x *PreambleResponse) GetMagic() uint32 { if x != nil { return x.Magic } return 0 } func (x *PreambleResponse) GetEpoch() uint32 { if x != nil { return x.Epoch } return 0 } func (x *PreambleResponse) GetVersion() uint32 { if x != nil { return x.Version } return 0 } func (x *PreambleResponse) GetRole() *PreambleRole { if x != nil { return x.Role } return nil } func (x *PreambleResponse) GetMaxReceiveEnvelopeBytes() uint64 { if x != nil { return x.MaxReceiveEnvelopeBytes } return 0 } func (x *PreambleResponse) GetOutputDataLimit() uint64 { if x != nil { return x.OutputDataLimit } return 0 } func (x *PreambleResponse) GetCapabilityBits() uint32 { if x != nil { return x.CapabilityBits } return 0 } func (x *PreambleResponse) GetAccepted() bool { if x != nil { return x.Accepted } return false } func (x *PreambleResponse) GetRejection() *PreambleRejectionCode { if x != nil { return x.Rejection } return nil } // ClientEnvelope is the closed client-to-server union. Exactly one variant // must be set per envelope; sessionwire rejects empty, duplicate, and // wrong-direction payloads before generated unmarshal. type ClientEnvelope struct { state protoimpl.MessageState `protogen:"open.v1"` // Types that are valid to be assigned to Payload: // // *ClientEnvelope_Hello // *ClientEnvelope_Input // *ClientEnvelope_Resize // *ClientEnvelope_Detach // *ClientEnvelope_Ping // *ClientEnvelope_List // *ClientEnvelope_Kill // *ClientEnvelope_Theme // *ClientEnvelope_Ack // *ClientEnvelope_ImagePush // *ClientEnvelope_ClientNotice // *ClientEnvelope_CommandRequest // *ClientEnvelope_OutputResetRequest // *ClientEnvelope_RouteAttentionSubscription // *ClientEnvelope_SamePeerSwitchRequest // *ClientEnvelope_RecentRouteSnapshot // *ClientEnvelope_RouteNavigationFailure // *ClientEnvelope_SessionCreationFailure // *ClientEnvelope_UiFence // *ClientEnvelope_NavigationInventoryRequest // *ClientEnvelope_NavigationInventoryPublication // *ClientEnvelope_NavigationInventoryFailure // *ClientEnvelope_PickerClose // *ClientEnvelope_PickerSelection // *ClientEnvelope_SuspendAttachment // *ClientEnvelope_ActivateAttachment // *ClientEnvelope_SelectTab // *ClientEnvelope_RemotePreviewWatch // *ClientEnvelope_TerminalFocus // *ClientEnvelope_ModifierState Payload isClientEnvelope_Payload `protobuf_oneof:"payload"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ClientEnvelope) Reset() { *x = ClientEnvelope{} mi := &file_envelope_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ClientEnvelope) String() string { return protoimpl.X.MessageStringOf(x) } func (*ClientEnvelope) ProtoMessage() {} func (x *ClientEnvelope) ProtoReflect() protoreflect.Message { mi := &file_envelope_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ClientEnvelope.ProtoReflect.Descriptor instead. func (*ClientEnvelope) Descriptor() ([]byte, []int) { return file_envelope_proto_rawDescGZIP(), []int{4} } func (x *ClientEnvelope) GetPayload() isClientEnvelope_Payload { if x != nil { return x.Payload } return nil } func (x *ClientEnvelope) GetHello() *Hello { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Hello); ok { return x.Hello } } return nil } func (x *ClientEnvelope) GetInput() *Input { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Input); ok { return x.Input } } return nil } func (x *ClientEnvelope) GetResize() *Resize { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Resize); ok { return x.Resize } } return nil } func (x *ClientEnvelope) GetDetach() *Detach { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Detach); ok { return x.Detach } } return nil } func (x *ClientEnvelope) GetPing() *Ping { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Ping); ok { return x.Ping } } return nil } func (x *ClientEnvelope) GetList() *List { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_List); ok { return x.List } } return nil } func (x *ClientEnvelope) GetKill() *Kill { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Kill); ok { return x.Kill } } return nil } func (x *ClientEnvelope) GetTheme() *Theme { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Theme); ok { return x.Theme } } return nil } func (x *ClientEnvelope) GetAck() *Ack { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_Ack); ok { return x.Ack } } return nil } func (x *ClientEnvelope) GetImagePush() *ImagePush { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_ImagePush); ok { return x.ImagePush } } return nil } func (x *ClientEnvelope) GetClientNotice() *ClientNotice { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_ClientNotice); ok { return x.ClientNotice } } return nil } func (x *ClientEnvelope) GetCommandRequest() *CommandRequest { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_CommandRequest); ok { return x.CommandRequest } } return nil } func (x *ClientEnvelope) GetOutputResetRequest() *OutputResetRequest { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_OutputResetRequest); ok { return x.OutputResetRequest } } return nil } func (x *ClientEnvelope) GetRouteAttentionSubscription() *RouteAttentionSubscription { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_RouteAttentionSubscription); ok { return x.RouteAttentionSubscription } } return nil } func (x *ClientEnvelope) GetSamePeerSwitchRequest() *SamePeerSwitchRequest { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_SamePeerSwitchRequest); ok { return x.SamePeerSwitchRequest } } return nil } func (x *ClientEnvelope) GetRecentRouteSnapshot() *RecentRouteSnapshot { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_RecentRouteSnapshot); ok { return x.RecentRouteSnapshot } } return nil } func (x *ClientEnvelope) GetRouteNavigationFailure() *RouteNavigationFailure { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_RouteNavigationFailure); ok { return x.RouteNavigationFailure } } return nil } func (x *ClientEnvelope) GetSessionCreationFailure() *SessionCreationFailure { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_SessionCreationFailure); ok { return x.SessionCreationFailure } } return nil } func (x *ClientEnvelope) GetUiFence() *UIFence { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_UiFence); ok { return x.UiFence } } return nil } func (x *ClientEnvelope) GetNavigationInventoryRequest() *NavigationInventoryRequest { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_NavigationInventoryRequest); ok { return x.NavigationInventoryRequest } } return nil } func (x *ClientEnvelope) GetNavigationInventoryPublication() *NavigationInventoryPublication { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_NavigationInventoryPublication); ok { return x.NavigationInventoryPublication } } return nil } func (x *ClientEnvelope) GetNavigationInventoryFailure() *NavigationInventoryFailure { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_NavigationInventoryFailure); ok { return x.NavigationInventoryFailure } } return nil } func (x *ClientEnvelope) GetPickerClose() *PickerClose { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_PickerClose); ok { return x.PickerClose } } return nil } func (x *ClientEnvelope) GetPickerSelection() *PickerSelection { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_PickerSelection); ok { return x.PickerSelection } } return nil } func (x *ClientEnvelope) GetSuspendAttachment() *SuspendAttachment { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_SuspendAttachment); ok { return x.SuspendAttachment } } return nil } func (x *ClientEnvelope) GetActivateAttachment() *ActivateAttachment { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_ActivateAttachment); ok { return x.ActivateAttachment } } return nil } func (x *ClientEnvelope) GetSelectTab() *SelectTab { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_SelectTab); ok { return x.SelectTab } } return nil } func (x *ClientEnvelope) GetRemotePreviewWatch() *RemotePreviewWatch { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_RemotePreviewWatch); ok { return x.RemotePreviewWatch } } return nil } func (x *ClientEnvelope) GetTerminalFocus() *TerminalFocus { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_TerminalFocus); ok { return x.TerminalFocus } } return nil } func (x *ClientEnvelope) GetModifierState() *ModifierState { if x != nil { if x, ok := x.Payload.(*ClientEnvelope_ModifierState); ok { return x.ModifierState } } return nil } type isClientEnvelope_Payload interface { isClientEnvelope_Payload() } type ClientEnvelope_Hello struct { Hello *Hello `protobuf:"bytes,1,opt,name=hello,proto3,oneof"` } type ClientEnvelope_Input struct { Input *Input `protobuf:"bytes,2,opt,name=input,proto3,oneof"` } type ClientEnvelope_Resize struct { Resize *Resize `protobuf:"bytes,3,opt,name=resize,proto3,oneof"` } type ClientEnvelope_Detach struct { Detach *Detach `protobuf:"bytes,4,opt,name=detach,proto3,oneof"` } type ClientEnvelope_Ping struct { Ping *Ping `protobuf:"bytes,5,opt,name=ping,proto3,oneof"` } type ClientEnvelope_List struct { List *List `protobuf:"bytes,6,opt,name=list,proto3,oneof"` } type ClientEnvelope_Kill struct { Kill *Kill `protobuf:"bytes,7,opt,name=kill,proto3,oneof"` } type ClientEnvelope_Theme struct { Theme *Theme `protobuf:"bytes,8,opt,name=theme,proto3,oneof"` } type ClientEnvelope_Ack struct { Ack *Ack `protobuf:"bytes,9,opt,name=ack,proto3,oneof"` } type ClientEnvelope_ImagePush struct { ImagePush *ImagePush `protobuf:"bytes,10,opt,name=image_push,json=imagePush,proto3,oneof"` } type ClientEnvelope_ClientNotice struct { ClientNotice *ClientNotice `protobuf:"bytes,11,opt,name=client_notice,json=clientNotice,proto3,oneof"` } type ClientEnvelope_CommandRequest struct { CommandRequest *CommandRequest `protobuf:"bytes,12,opt,name=command_request,json=commandRequest,proto3,oneof"` } type ClientEnvelope_OutputResetRequest struct { OutputResetRequest *OutputResetRequest `protobuf:"bytes,13,opt,name=output_reset_request,json=outputResetRequest,proto3,oneof"` } type ClientEnvelope_RouteAttentionSubscription struct { RouteAttentionSubscription *RouteAttentionSubscription `protobuf:"bytes,15,opt,name=route_attention_subscription,json=routeAttentionSubscription,proto3,oneof"` } type ClientEnvelope_SamePeerSwitchRequest struct { SamePeerSwitchRequest *SamePeerSwitchRequest `protobuf:"bytes,16,opt,name=same_peer_switch_request,json=samePeerSwitchRequest,proto3,oneof"` } type ClientEnvelope_RecentRouteSnapshot struct { RecentRouteSnapshot *RecentRouteSnapshot `protobuf:"bytes,17,opt,name=recent_route_snapshot,json=recentRouteSnapshot,proto3,oneof"` } type ClientEnvelope_RouteNavigationFailure struct { RouteNavigationFailure *RouteNavigationFailure `protobuf:"bytes,18,opt,name=route_navigation_failure,json=routeNavigationFailure,proto3,oneof"` } type ClientEnvelope_SessionCreationFailure struct { SessionCreationFailure *SessionCreationFailure `protobuf:"bytes,19,opt,name=session_creation_failure,json=sessionCreationFailure,proto3,oneof"` } type ClientEnvelope_UiFence struct { UiFence *UIFence `protobuf:"bytes,20,opt,name=ui_fence,json=uiFence,proto3,oneof"` } type ClientEnvelope_NavigationInventoryRequest struct { NavigationInventoryRequest *NavigationInventoryRequest `protobuf:"bytes,21,opt,name=navigation_inventory_request,json=navigationInventoryRequest,proto3,oneof"` } type ClientEnvelope_NavigationInventoryPublication struct { NavigationInventoryPublication *NavigationInventoryPublication `protobuf:"bytes,22,opt,name=navigation_inventory_publication,json=navigationInventoryPublication,proto3,oneof"` } type ClientEnvelope_NavigationInventoryFailure struct { NavigationInventoryFailure *NavigationInventoryFailure `protobuf:"bytes,23,opt,name=navigation_inventory_failure,json=navigationInventoryFailure,proto3,oneof"` } type ClientEnvelope_PickerClose struct { PickerClose *PickerClose `protobuf:"bytes,25,opt,name=picker_close,json=pickerClose,proto3,oneof"` } type ClientEnvelope_PickerSelection struct { PickerSelection *PickerSelection `protobuf:"bytes,26,opt,name=picker_selection,json=pickerSelection,proto3,oneof"` } type ClientEnvelope_SuspendAttachment struct { SuspendAttachment *SuspendAttachment `protobuf:"bytes,29,opt,name=suspend_attachment,json=suspendAttachment,proto3,oneof"` } type ClientEnvelope_ActivateAttachment struct { ActivateAttachment *ActivateAttachment `protobuf:"bytes,30,opt,name=activate_attachment,json=activateAttachment,proto3,oneof"` } type ClientEnvelope_SelectTab struct { SelectTab *SelectTab `protobuf:"bytes,31,opt,name=select_tab,json=selectTab,proto3,oneof"` } type ClientEnvelope_RemotePreviewWatch struct { RemotePreviewWatch *RemotePreviewWatch `protobuf:"bytes,32,opt,name=remote_preview_watch,json=remotePreviewWatch,proto3,oneof"` } type ClientEnvelope_TerminalFocus struct { TerminalFocus *TerminalFocus `protobuf:"bytes,33,opt,name=terminal_focus,json=terminalFocus,proto3,oneof"` } type ClientEnvelope_ModifierState struct { ModifierState *ModifierState `protobuf:"bytes,34,opt,name=modifier_state,json=modifierState,proto3,oneof"` } func (*ClientEnvelope_Hello) isClientEnvelope_Payload() {} func (*ClientEnvelope_Input) isClientEnvelope_Payload() {} func (*ClientEnvelope_Resize) isClientEnvelope_Payload() {} func (*ClientEnvelope_Detach) isClientEnvelope_Payload() {} func (*ClientEnvelope_Ping) isClientEnvelope_Payload() {} func (*ClientEnvelope_List) isClientEnvelope_Payload() {} func (*ClientEnvelope_Kill) isClientEnvelope_Payload() {} func (*ClientEnvelope_Theme) isClientEnvelope_Payload() {} func (*ClientEnvelope_Ack) isClientEnvelope_Payload() {} func (*ClientEnvelope_ImagePush) isClientEnvelope_Payload() {} func (*ClientEnvelope_ClientNotice) isClientEnvelope_Payload() {} func (*ClientEnvelope_CommandRequest) isClientEnvelope_Payload() {} func (*ClientEnvelope_OutputResetRequest) isClientEnvelope_Payload() {} func (*ClientEnvelope_RouteAttentionSubscription) isClientEnvelope_Payload() {} func (*ClientEnvelope_SamePeerSwitchRequest) isClientEnvelope_Payload() {} func (*ClientEnvelope_RecentRouteSnapshot) isClientEnvelope_Payload() {} func (*ClientEnvelope_RouteNavigationFailure) isClientEnvelope_Payload() {} func (*ClientEnvelope_SessionCreationFailure) isClientEnvelope_Payload() {} func (*ClientEnvelope_UiFence) isClientEnvelope_Payload() {} func (*ClientEnvelope_NavigationInventoryRequest) isClientEnvelope_Payload() {} func (*ClientEnvelope_NavigationInventoryPublication) isClientEnvelope_Payload() {} func (*ClientEnvelope_NavigationInventoryFailure) isClientEnvelope_Payload() {} func (*ClientEnvelope_PickerClose) isClientEnvelope_Payload() {} func (*ClientEnvelope_PickerSelection) isClientEnvelope_Payload() {} func (*ClientEnvelope_SuspendAttachment) isClientEnvelope_Payload() {} func (*ClientEnvelope_ActivateAttachment) isClientEnvelope_Payload() {} func (*ClientEnvelope_SelectTab) isClientEnvelope_Payload() {} func (*ClientEnvelope_RemotePreviewWatch) isClientEnvelope_Payload() {} func (*ClientEnvelope_TerminalFocus) isClientEnvelope_Payload() {} func (*ClientEnvelope_ModifierState) isClientEnvelope_Payload() {} // ServerEnvelope is the closed server-to-client union. Exactly one variant // must be set per envelope. type ServerEnvelope struct { state protoimpl.MessageState `protogen:"open.v1"` // Types that are valid to be assigned to Payload: // // *ServerEnvelope_Welcome // *ServerEnvelope_Error // *ServerEnvelope_Output // *ServerEnvelope_Detached // *ServerEnvelope_Pong // *ServerEnvelope_Sessions // *ServerEnvelope_CommandResult // *ServerEnvelope_AttachTarget // *ServerEnvelope_RemotePreview // *ServerEnvelope_CommittedRouteIdentity // *ServerEnvelope_RouteNavigationAction // *ServerEnvelope_RouteCreateSessionAction // *ServerEnvelope_RouteNavigationFailure // *ServerEnvelope_RoutePosition // *ServerEnvelope_RouteRetired // *ServerEnvelope_SamePeerSwitchFailure // *ServerEnvelope_UiReceipt // *ServerEnvelope_UiViewUpdate // *ServerEnvelope_NavigationInventoryResponse // *ServerEnvelope_NavigationInventoryDemand // *ServerEnvelope_NavigationInventorySelection // *ServerEnvelope_PickerOffer // *ServerEnvelope_PickerSnapshot // *ServerEnvelope_PickerClosed // *ServerEnvelope_PickerResult // *ServerEnvelope_PickerFailure // *ServerEnvelope_AttachmentSuspended // *ServerEnvelope_AttachmentActivated // *ServerEnvelope_KillResult Payload isServerEnvelope_Payload `protobuf_oneof:"payload"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ServerEnvelope) Reset() { *x = ServerEnvelope{} mi := &file_envelope_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ServerEnvelope) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerEnvelope) ProtoMessage() {} func (x *ServerEnvelope) ProtoReflect() protoreflect.Message { mi := &file_envelope_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerEnvelope.ProtoReflect.Descriptor instead. func (*ServerEnvelope) Descriptor() ([]byte, []int) { return file_envelope_proto_rawDescGZIP(), []int{5} } func (x *ServerEnvelope) GetPayload() isServerEnvelope_Payload { if x != nil { return x.Payload } return nil } func (x *ServerEnvelope) GetWelcome() *Welcome { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_Welcome); ok { return x.Welcome } } return nil } func (x *ServerEnvelope) GetError() *ErrorMsg { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_Error); ok { return x.Error } } return nil } func (x *ServerEnvelope) GetOutput() *Output { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_Output); ok { return x.Output } } return nil } func (x *ServerEnvelope) GetDetached() *Detached { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_Detached); ok { return x.Detached } } return nil } func (x *ServerEnvelope) GetPong() *Pong { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_Pong); ok { return x.Pong } } return nil } func (x *ServerEnvelope) GetSessions() *Sessions { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_Sessions); ok { return x.Sessions } } return nil } func (x *ServerEnvelope) GetCommandResult() *CommandResult { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_CommandResult); ok { return x.CommandResult } } return nil } func (x *ServerEnvelope) GetAttachTarget() *AttachTarget { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_AttachTarget); ok { return x.AttachTarget } } return nil } func (x *ServerEnvelope) GetRemotePreview() *RemotePreview { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_RemotePreview); ok { return x.RemotePreview } } return nil } func (x *ServerEnvelope) GetCommittedRouteIdentity() *CommittedRouteIdentity { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_CommittedRouteIdentity); ok { return x.CommittedRouteIdentity } } return nil } func (x *ServerEnvelope) GetRouteNavigationAction() *RouteNavigationAction { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_RouteNavigationAction); ok { return x.RouteNavigationAction } } return nil } func (x *ServerEnvelope) GetRouteCreateSessionAction() *RouteCreateSessionAction { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_RouteCreateSessionAction); ok { return x.RouteCreateSessionAction } } return nil } func (x *ServerEnvelope) GetRouteNavigationFailure() *RouteNavigationFailure { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_RouteNavigationFailure); ok { return x.RouteNavigationFailure } } return nil } func (x *ServerEnvelope) GetRoutePosition() *RoutePosition { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_RoutePosition); ok { return x.RoutePosition } } return nil } func (x *ServerEnvelope) GetRouteRetired() *RouteRetired { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_RouteRetired); ok { return x.RouteRetired } } return nil } func (x *ServerEnvelope) GetSamePeerSwitchFailure() *SamePeerSwitchFailure { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_SamePeerSwitchFailure); ok { return x.SamePeerSwitchFailure } } return nil } func (x *ServerEnvelope) GetUiReceipt() *UIReceipt { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_UiReceipt); ok { return x.UiReceipt } } return nil } func (x *ServerEnvelope) GetUiViewUpdate() *UIViewUpdate { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_UiViewUpdate); ok { return x.UiViewUpdate } } return nil } func (x *ServerEnvelope) GetNavigationInventoryResponse() *NavigationInventoryResponse { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_NavigationInventoryResponse); ok { return x.NavigationInventoryResponse } } return nil } func (x *ServerEnvelope) GetNavigationInventoryDemand() *NavigationInventoryDemand { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_NavigationInventoryDemand); ok { return x.NavigationInventoryDemand } } return nil } func (x *ServerEnvelope) GetNavigationInventorySelection() *NavigationInventorySelection { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_NavigationInventorySelection); ok { return x.NavigationInventorySelection } } return nil } func (x *ServerEnvelope) GetPickerOffer() *PickerOffer { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_PickerOffer); ok { return x.PickerOffer } } return nil } func (x *ServerEnvelope) GetPickerSnapshot() *PickerSnapshot { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_PickerSnapshot); ok { return x.PickerSnapshot } } return nil } func (x *ServerEnvelope) GetPickerClosed() *PickerClosed { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_PickerClosed); ok { return x.PickerClosed } } return nil } func (x *ServerEnvelope) GetPickerResult() *PickerResult { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_PickerResult); ok { return x.PickerResult } } return nil } func (x *ServerEnvelope) GetPickerFailure() *PickerFailure { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_PickerFailure); ok { return x.PickerFailure } } return nil } func (x *ServerEnvelope) GetAttachmentSuspended() *AttachmentSuspended { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_AttachmentSuspended); ok { return x.AttachmentSuspended } } return nil } func (x *ServerEnvelope) GetAttachmentActivated() *AttachmentActivated { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_AttachmentActivated); ok { return x.AttachmentActivated } } return nil } func (x *ServerEnvelope) GetKillResult() *KillResult { if x != nil { if x, ok := x.Payload.(*ServerEnvelope_KillResult); ok { return x.KillResult } } return nil } type isServerEnvelope_Payload interface { isServerEnvelope_Payload() } type ServerEnvelope_Welcome struct { Welcome *Welcome `protobuf:"bytes,1,opt,name=welcome,proto3,oneof"` } type ServerEnvelope_Error struct { Error *ErrorMsg `protobuf:"bytes,2,opt,name=error,proto3,oneof"` } type ServerEnvelope_Output struct { Output *Output `protobuf:"bytes,3,opt,name=output,proto3,oneof"` } type ServerEnvelope_Detached struct { Detached *Detached `protobuf:"bytes,4,opt,name=detached,proto3,oneof"` } type ServerEnvelope_Pong struct { Pong *Pong `protobuf:"bytes,5,opt,name=pong,proto3,oneof"` } type ServerEnvelope_Sessions struct { Sessions *Sessions `protobuf:"bytes,6,opt,name=sessions,proto3,oneof"` } type ServerEnvelope_CommandResult struct { CommandResult *CommandResult `protobuf:"bytes,7,opt,name=command_result,json=commandResult,proto3,oneof"` } type ServerEnvelope_AttachTarget struct { AttachTarget *AttachTarget `protobuf:"bytes,8,opt,name=attach_target,json=attachTarget,proto3,oneof"` } type ServerEnvelope_RemotePreview struct { RemotePreview *RemotePreview `protobuf:"bytes,9,opt,name=remote_preview,json=remotePreview,proto3,oneof"` } type ServerEnvelope_CommittedRouteIdentity struct { CommittedRouteIdentity *CommittedRouteIdentity `protobuf:"bytes,10,opt,name=committed_route_identity,json=committedRouteIdentity,proto3,oneof"` } type ServerEnvelope_RouteNavigationAction struct { RouteNavigationAction *RouteNavigationAction `protobuf:"bytes,11,opt,name=route_navigation_action,json=routeNavigationAction,proto3,oneof"` } type ServerEnvelope_RouteCreateSessionAction struct { RouteCreateSessionAction *RouteCreateSessionAction `protobuf:"bytes,12,opt,name=route_create_session_action,json=routeCreateSessionAction,proto3,oneof"` } type ServerEnvelope_RouteNavigationFailure struct { RouteNavigationFailure *RouteNavigationFailure `protobuf:"bytes,13,opt,name=route_navigation_failure,json=routeNavigationFailure,proto3,oneof"` } type ServerEnvelope_RoutePosition struct { RoutePosition *RoutePosition `protobuf:"bytes,14,opt,name=route_position,json=routePosition,proto3,oneof"` } type ServerEnvelope_RouteRetired struct { RouteRetired *RouteRetired `protobuf:"bytes,15,opt,name=route_retired,json=routeRetired,proto3,oneof"` } type ServerEnvelope_SamePeerSwitchFailure struct { SamePeerSwitchFailure *SamePeerSwitchFailure `protobuf:"bytes,16,opt,name=same_peer_switch_failure,json=samePeerSwitchFailure,proto3,oneof"` } type ServerEnvelope_UiReceipt struct { UiReceipt *UIReceipt `protobuf:"bytes,17,opt,name=ui_receipt,json=uiReceipt,proto3,oneof"` } type ServerEnvelope_UiViewUpdate struct { UiViewUpdate *UIViewUpdate `protobuf:"bytes,18,opt,name=ui_view_update,json=uiViewUpdate,proto3,oneof"` } type ServerEnvelope_NavigationInventoryResponse struct { NavigationInventoryResponse *NavigationInventoryResponse `protobuf:"bytes,19,opt,name=navigation_inventory_response,json=navigationInventoryResponse,proto3,oneof"` } type ServerEnvelope_NavigationInventoryDemand struct { NavigationInventoryDemand *NavigationInventoryDemand `protobuf:"bytes,20,opt,name=navigation_inventory_demand,json=navigationInventoryDemand,proto3,oneof"` } type ServerEnvelope_NavigationInventorySelection struct { NavigationInventorySelection *NavigationInventorySelection `protobuf:"bytes,21,opt,name=navigation_inventory_selection,json=navigationInventorySelection,proto3,oneof"` } type ServerEnvelope_PickerOffer struct { PickerOffer *PickerOffer `protobuf:"bytes,22,opt,name=picker_offer,json=pickerOffer,proto3,oneof"` } type ServerEnvelope_PickerSnapshot struct { PickerSnapshot *PickerSnapshot `protobuf:"bytes,23,opt,name=picker_snapshot,json=pickerSnapshot,proto3,oneof"` } type ServerEnvelope_PickerClosed struct { PickerClosed *PickerClosed `protobuf:"bytes,24,opt,name=picker_closed,json=pickerClosed,proto3,oneof"` } type ServerEnvelope_PickerResult struct { PickerResult *PickerResult `protobuf:"bytes,25,opt,name=picker_result,json=pickerResult,proto3,oneof"` } type ServerEnvelope_PickerFailure struct { PickerFailure *PickerFailure `protobuf:"bytes,26,opt,name=picker_failure,json=pickerFailure,proto3,oneof"` } type ServerEnvelope_AttachmentSuspended struct { AttachmentSuspended *AttachmentSuspended `protobuf:"bytes,31,opt,name=attachment_suspended,json=attachmentSuspended,proto3,oneof"` } type ServerEnvelope_AttachmentActivated struct { AttachmentActivated *AttachmentActivated `protobuf:"bytes,32,opt,name=attachment_activated,json=attachmentActivated,proto3,oneof"` } type ServerEnvelope_KillResult struct { KillResult *KillResult `protobuf:"bytes,33,opt,name=kill_result,json=killResult,proto3,oneof"` } func (*ServerEnvelope_Welcome) isServerEnvelope_Payload() {} func (*ServerEnvelope_Error) isServerEnvelope_Payload() {} func (*ServerEnvelope_Output) isServerEnvelope_Payload() {} func (*ServerEnvelope_Detached) isServerEnvelope_Payload() {} func (*ServerEnvelope_Pong) isServerEnvelope_Payload() {} func (*ServerEnvelope_Sessions) isServerEnvelope_Payload() {} func (*ServerEnvelope_CommandResult) isServerEnvelope_Payload() {} func (*ServerEnvelope_AttachTarget) isServerEnvelope_Payload() {} func (*ServerEnvelope_RemotePreview) isServerEnvelope_Payload() {} func (*ServerEnvelope_CommittedRouteIdentity) isServerEnvelope_Payload() {} func (*ServerEnvelope_RouteNavigationAction) isServerEnvelope_Payload() {} func (*ServerEnvelope_RouteCreateSessionAction) isServerEnvelope_Payload() {} func (*ServerEnvelope_RouteNavigationFailure) isServerEnvelope_Payload() {} func (*ServerEnvelope_RoutePosition) isServerEnvelope_Payload() {} func (*ServerEnvelope_RouteRetired) isServerEnvelope_Payload() {} func (*ServerEnvelope_SamePeerSwitchFailure) isServerEnvelope_Payload() {} func (*ServerEnvelope_UiReceipt) isServerEnvelope_Payload() {} func (*ServerEnvelope_UiViewUpdate) isServerEnvelope_Payload() {} func (*ServerEnvelope_NavigationInventoryResponse) isServerEnvelope_Payload() {} func (*ServerEnvelope_NavigationInventoryDemand) isServerEnvelope_Payload() {} func (*ServerEnvelope_NavigationInventorySelection) isServerEnvelope_Payload() {} func (*ServerEnvelope_PickerOffer) isServerEnvelope_Payload() {} func (*ServerEnvelope_PickerSnapshot) isServerEnvelope_Payload() {} func (*ServerEnvelope_PickerClosed) isServerEnvelope_Payload() {} func (*ServerEnvelope_PickerResult) isServerEnvelope_Payload() {} func (*ServerEnvelope_PickerFailure) isServerEnvelope_Payload() {} func (*ServerEnvelope_AttachmentSuspended) isServerEnvelope_Payload() {} func (*ServerEnvelope_AttachmentActivated) isServerEnvelope_Payload() {} func (*ServerEnvelope_KillResult) isServerEnvelope_Payload() {} var File_envelope_proto protoreflect.FileDescriptor const file_envelope_proto_rawDesc = "" + "\n" + "\x0eenvelope.proto\x12\vvev.wire.v1\x1a\rcommand.proto\x1a\x10navigation.proto\x1a\fpicker.proto\x1a\rsession.proto\x1a\x0eterminal.proto\"\"\n" + "\fPreambleRole\x12\x12\n" + "\x04role\x18\x01 \x01(\rR\x04role\"\x98\x02\n" + "\x0fPreambleRequest\x12\x14\n" + "\x05magic\x18\x01 \x01(\rR\x05magic\x12\x14\n" + "\x05epoch\x18\x02 \x01(\rR\x05epoch\x12\x18\n" + "\aversion\x18\x03 \x01(\rR\aversion\x12-\n" + "\x04role\x18\x04 \x01(\v2\x19.vev.wire.v1.PreambleRoleR\x04role\x12;\n" + "\x1amax_receive_envelope_bytes\x18\x05 \x01(\x04R\x17maxReceiveEnvelopeBytes\x12*\n" + "\x11output_data_limit\x18\x06 \x01(\x04R\x0foutputDataLimit\x12'\n" + "\x0fcapability_bits\x18\a \x01(\rR\x0ecapabilityBits\"+\n" + "\x15PreambleRejectionCode\x12\x12\n" + "\x04code\x18\x01 \x01(\rR\x04code\"\xf7\x02\n" + "\x10PreambleResponse\x12\x14\n" + "\x05magic\x18\x01 \x01(\rR\x05magic\x12\x14\n" + "\x05epoch\x18\x02 \x01(\rR\x05epoch\x12\x18\n" + "\aversion\x18\x03 \x01(\rR\aversion\x12-\n" + "\x04role\x18\x04 \x01(\v2\x19.vev.wire.v1.PreambleRoleR\x04role\x12;\n" + "\x1amax_receive_envelope_bytes\x18\x05 \x01(\x04R\x17maxReceiveEnvelopeBytes\x12*\n" + "\x11output_data_limit\x18\x06 \x01(\x04R\x0foutputDataLimit\x12'\n" + "\x0fcapability_bits\x18\a \x01(\rR\x0ecapabilityBits\x12\x1a\n" + "\baccepted\x18\b \x01(\bR\baccepted\x12@\n" + "\trejection\x18\t \x01(\v2\".vev.wire.v1.PreambleRejectionCodeR\trejection\"\xf5\x10\n" + "\x0eClientEnvelope\x12*\n" + "\x05hello\x18\x01 \x01(\v2\x12.vev.wire.v1.HelloH\x00R\x05hello\x12*\n" + "\x05input\x18\x02 \x01(\v2\x12.vev.wire.v1.InputH\x00R\x05input\x12-\n" + "\x06resize\x18\x03 \x01(\v2\x13.vev.wire.v1.ResizeH\x00R\x06resize\x12-\n" + "\x06detach\x18\x04 \x01(\v2\x13.vev.wire.v1.DetachH\x00R\x06detach\x12'\n" + "\x04ping\x18\x05 \x01(\v2\x11.vev.wire.v1.PingH\x00R\x04ping\x12'\n" + "\x04list\x18\x06 \x01(\v2\x11.vev.wire.v1.ListH\x00R\x04list\x12'\n" + "\x04kill\x18\a \x01(\v2\x11.vev.wire.v1.KillH\x00R\x04kill\x12*\n" + "\x05theme\x18\b \x01(\v2\x12.vev.wire.v1.ThemeH\x00R\x05theme\x12$\n" + "\x03ack\x18\t \x01(\v2\x10.vev.wire.v1.AckH\x00R\x03ack\x127\n" + "\n" + "image_push\x18\n" + " \x01(\v2\x16.vev.wire.v1.ImagePushH\x00R\timagePush\x12@\n" + "\rclient_notice\x18\v \x01(\v2\x19.vev.wire.v1.ClientNoticeH\x00R\fclientNotice\x12F\n" + "\x0fcommand_request\x18\f \x01(\v2\x1b.vev.wire.v1.CommandRequestH\x00R\x0ecommandRequest\x12S\n" + "\x14output_reset_request\x18\r \x01(\v2\x1f.vev.wire.v1.OutputResetRequestH\x00R\x12outputResetRequest\x12k\n" + "\x1croute_attention_subscription\x18\x0f \x01(\v2'.vev.wire.v1.RouteAttentionSubscriptionH\x00R\x1arouteAttentionSubscription\x12]\n" + "\x18same_peer_switch_request\x18\x10 \x01(\v2\".vev.wire.v1.SamePeerSwitchRequestH\x00R\x15samePeerSwitchRequest\x12V\n" + "\x15recent_route_snapshot\x18\x11 \x01(\v2 .vev.wire.v1.RecentRouteSnapshotH\x00R\x13recentRouteSnapshot\x12_\n" + "\x18route_navigation_failure\x18\x12 \x01(\v2#.vev.wire.v1.RouteNavigationFailureH\x00R\x16routeNavigationFailure\x12_\n" + "\x18session_creation_failure\x18\x13 \x01(\v2#.vev.wire.v1.SessionCreationFailureH\x00R\x16sessionCreationFailure\x121\n" + "\bui_fence\x18\x14 \x01(\v2\x14.vev.wire.v1.UIFenceH\x00R\auiFence\x12k\n" + "\x1cnavigation_inventory_request\x18\x15 \x01(\v2'.vev.wire.v1.NavigationInventoryRequestH\x00R\x1anavigationInventoryRequest\x12w\n" + " navigation_inventory_publication\x18\x16 \x01(\v2+.vev.wire.v1.NavigationInventoryPublicationH\x00R\x1enavigationInventoryPublication\x12k\n" + "\x1cnavigation_inventory_failure\x18\x17 \x01(\v2'.vev.wire.v1.NavigationInventoryFailureH\x00R\x1anavigationInventoryFailure\x12=\n" + "\fpicker_close\x18\x19 \x01(\v2\x18.vev.wire.v1.PickerCloseH\x00R\vpickerClose\x12I\n" + "\x10picker_selection\x18\x1a \x01(\v2\x1c.vev.wire.v1.PickerSelectionH\x00R\x0fpickerSelection\x12O\n" + "\x12suspend_attachment\x18\x1d \x01(\v2\x1e.vev.wire.v1.SuspendAttachmentH\x00R\x11suspendAttachment\x12R\n" + "\x13activate_attachment\x18\x1e \x01(\v2\x1f.vev.wire.v1.ActivateAttachmentH\x00R\x12activateAttachment\x127\n" + "\n" + "select_tab\x18\x1f \x01(\v2\x16.vev.wire.v1.SelectTabH\x00R\tselectTab\x12S\n" + "\x14remote_preview_watch\x18 \x01(\v2\x1f.vev.wire.v1.RemotePreviewWatchH\x00R\x12remotePreviewWatch\x12C\n" + "\x0eterminal_focus\x18! \x01(\v2\x1a.vev.wire.v1.TerminalFocusH\x00R\rterminalFocus\x12C\n" + "\x0emodifier_state\x18\" \x01(\v2\x1a.vev.wire.v1.ModifierStateH\x00R\rmodifierStateB\t\n" + "\apayloadJ\x04\b\x0e\x10\x0fJ\x04\b\x1b\x10\x1c\"\x8d\x11\n" + "\x0eServerEnvelope\x120\n" + "\awelcome\x18\x01 \x01(\v2\x14.vev.wire.v1.WelcomeH\x00R\awelcome\x12-\n" + "\x05error\x18\x02 \x01(\v2\x15.vev.wire.v1.ErrorMsgH\x00R\x05error\x12-\n" + "\x06output\x18\x03 \x01(\v2\x13.vev.wire.v1.OutputH\x00R\x06output\x123\n" + "\bdetached\x18\x04 \x01(\v2\x15.vev.wire.v1.DetachedH\x00R\bdetached\x12'\n" + "\x04pong\x18\x05 \x01(\v2\x11.vev.wire.v1.PongH\x00R\x04pong\x123\n" + "\bsessions\x18\x06 \x01(\v2\x15.vev.wire.v1.SessionsH\x00R\bsessions\x12C\n" + "\x0ecommand_result\x18\a \x01(\v2\x1a.vev.wire.v1.CommandResultH\x00R\rcommandResult\x12@\n" + "\rattach_target\x18\b \x01(\v2\x19.vev.wire.v1.AttachTargetH\x00R\fattachTarget\x12C\n" + "\x0eremote_preview\x18\t \x01(\v2\x1a.vev.wire.v1.RemotePreviewH\x00R\rremotePreview\x12_\n" + "\x18committed_route_identity\x18\n" + " \x01(\v2#.vev.wire.v1.CommittedRouteIdentityH\x00R\x16committedRouteIdentity\x12\\\n" + "\x17route_navigation_action\x18\v \x01(\v2\".vev.wire.v1.RouteNavigationActionH\x00R\x15routeNavigationAction\x12f\n" + "\x1broute_create_session_action\x18\f \x01(\v2%.vev.wire.v1.RouteCreateSessionActionH\x00R\x18routeCreateSessionAction\x12_\n" + "\x18route_navigation_failure\x18\r \x01(\v2#.vev.wire.v1.RouteNavigationFailureH\x00R\x16routeNavigationFailure\x12C\n" + "\x0eroute_position\x18\x0e \x01(\v2\x1a.vev.wire.v1.RoutePositionH\x00R\rroutePosition\x12@\n" + "\rroute_retired\x18\x0f \x01(\v2\x19.vev.wire.v1.RouteRetiredH\x00R\frouteRetired\x12]\n" + "\x18same_peer_switch_failure\x18\x10 \x01(\v2\".vev.wire.v1.SamePeerSwitchFailureH\x00R\x15samePeerSwitchFailure\x127\n" + "\n" + "ui_receipt\x18\x11 \x01(\v2\x16.vev.wire.v1.UIReceiptH\x00R\tuiReceipt\x12A\n" + "\x0eui_view_update\x18\x12 \x01(\v2\x19.vev.wire.v1.UIViewUpdateH\x00R\fuiViewUpdate\x12n\n" + "\x1dnavigation_inventory_response\x18\x13 \x01(\v2(.vev.wire.v1.NavigationInventoryResponseH\x00R\x1bnavigationInventoryResponse\x12h\n" + "\x1bnavigation_inventory_demand\x18\x14 \x01(\v2&.vev.wire.v1.NavigationInventoryDemandH\x00R\x19navigationInventoryDemand\x12q\n" + "\x1enavigation_inventory_selection\x18\x15 \x01(\v2).vev.wire.v1.NavigationInventorySelectionH\x00R\x1cnavigationInventorySelection\x12=\n" + "\fpicker_offer\x18\x16 \x01(\v2\x18.vev.wire.v1.PickerOfferH\x00R\vpickerOffer\x12F\n" + "\x0fpicker_snapshot\x18\x17 \x01(\v2\x1b.vev.wire.v1.PickerSnapshotH\x00R\x0epickerSnapshot\x12@\n" + "\rpicker_closed\x18\x18 \x01(\v2\x19.vev.wire.v1.PickerClosedH\x00R\fpickerClosed\x12@\n" + "\rpicker_result\x18\x19 \x01(\v2\x19.vev.wire.v1.PickerResultH\x00R\fpickerResult\x12C\n" + "\x0epicker_failure\x18\x1a \x01(\v2\x1a.vev.wire.v1.PickerFailureH\x00R\rpickerFailure\x12U\n" + "\x14attachment_suspended\x18\x1f \x01(\v2 .vev.wire.v1.AttachmentSuspendedH\x00R\x13attachmentSuspended\x12U\n" + "\x14attachment_activated\x18 \x01(\v2 .vev.wire.v1.AttachmentActivatedH\x00R\x13attachmentActivated\x12:\n" + "\vkill_result\x18! \x01(\v2\x17.vev.wire.v1.KillResultH\x00R\n" + "killResultB\t\n" + "\apayloadJ\x04\b\x1b\x10\x1cJ\x04\b\x1d\x10\x1eJ\x04\b\x1e\x10\x1fB-Z+github.com/bnema/vev/internal/protocol/wireb\x06proto3" var ( file_envelope_proto_rawDescOnce sync.Once file_envelope_proto_rawDescData []byte ) func file_envelope_proto_rawDescGZIP() []byte { file_envelope_proto_rawDescOnce.Do(func() { file_envelope_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_envelope_proto_rawDesc), len(file_envelope_proto_rawDesc))) }) return file_envelope_proto_rawDescData } var file_envelope_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_envelope_proto_goTypes = []any{ (*PreambleRole)(nil), // 0: vev.wire.v1.PreambleRole (*PreambleRequest)(nil), // 1: vev.wire.v1.PreambleRequest (*PreambleRejectionCode)(nil), // 2: vev.wire.v1.PreambleRejectionCode (*PreambleResponse)(nil), // 3: vev.wire.v1.PreambleResponse (*ClientEnvelope)(nil), // 4: vev.wire.v1.ClientEnvelope (*ServerEnvelope)(nil), // 5: vev.wire.v1.ServerEnvelope (*Hello)(nil), // 6: vev.wire.v1.Hello (*Input)(nil), // 7: vev.wire.v1.Input (*Resize)(nil), // 8: vev.wire.v1.Resize (*Detach)(nil), // 9: vev.wire.v1.Detach (*Ping)(nil), // 10: vev.wire.v1.Ping (*List)(nil), // 11: vev.wire.v1.List (*Kill)(nil), // 12: vev.wire.v1.Kill (*Theme)(nil), // 13: vev.wire.v1.Theme (*Ack)(nil), // 14: vev.wire.v1.Ack (*ImagePush)(nil), // 15: vev.wire.v1.ImagePush (*ClientNotice)(nil), // 16: vev.wire.v1.ClientNotice (*CommandRequest)(nil), // 17: vev.wire.v1.CommandRequest (*OutputResetRequest)(nil), // 18: vev.wire.v1.OutputResetRequest (*RouteAttentionSubscription)(nil), // 19: vev.wire.v1.RouteAttentionSubscription (*SamePeerSwitchRequest)(nil), // 20: vev.wire.v1.SamePeerSwitchRequest (*RecentRouteSnapshot)(nil), // 21: vev.wire.v1.RecentRouteSnapshot (*RouteNavigationFailure)(nil), // 22: vev.wire.v1.RouteNavigationFailure (*SessionCreationFailure)(nil), // 23: vev.wire.v1.SessionCreationFailure (*UIFence)(nil), // 24: vev.wire.v1.UIFence (*NavigationInventoryRequest)(nil), // 25: vev.wire.v1.NavigationInventoryRequest (*NavigationInventoryPublication)(nil), // 26: vev.wire.v1.NavigationInventoryPublication (*NavigationInventoryFailure)(nil), // 27: vev.wire.v1.NavigationInventoryFailure (*PickerClose)(nil), // 28: vev.wire.v1.PickerClose (*PickerSelection)(nil), // 29: vev.wire.v1.PickerSelection (*SuspendAttachment)(nil), // 30: vev.wire.v1.SuspendAttachment (*ActivateAttachment)(nil), // 31: vev.wire.v1.ActivateAttachment (*SelectTab)(nil), // 32: vev.wire.v1.SelectTab (*RemotePreviewWatch)(nil), // 33: vev.wire.v1.RemotePreviewWatch (*TerminalFocus)(nil), // 34: vev.wire.v1.TerminalFocus (*ModifierState)(nil), // 35: vev.wire.v1.ModifierState (*Welcome)(nil), // 36: vev.wire.v1.Welcome (*ErrorMsg)(nil), // 37: vev.wire.v1.ErrorMsg (*Output)(nil), // 38: vev.wire.v1.Output (*Detached)(nil), // 39: vev.wire.v1.Detached (*Pong)(nil), // 40: vev.wire.v1.Pong (*Sessions)(nil), // 41: vev.wire.v1.Sessions (*CommandResult)(nil), // 42: vev.wire.v1.CommandResult (*AttachTarget)(nil), // 43: vev.wire.v1.AttachTarget (*RemotePreview)(nil), // 44: vev.wire.v1.RemotePreview (*CommittedRouteIdentity)(nil), // 45: vev.wire.v1.CommittedRouteIdentity (*RouteNavigationAction)(nil), // 46: vev.wire.v1.RouteNavigationAction (*RouteCreateSessionAction)(nil), // 47: vev.wire.v1.RouteCreateSessionAction (*RoutePosition)(nil), // 48: vev.wire.v1.RoutePosition (*RouteRetired)(nil), // 49: vev.wire.v1.RouteRetired (*SamePeerSwitchFailure)(nil), // 50: vev.wire.v1.SamePeerSwitchFailure (*UIReceipt)(nil), // 51: vev.wire.v1.UIReceipt (*UIViewUpdate)(nil), // 52: vev.wire.v1.UIViewUpdate (*NavigationInventoryResponse)(nil), // 53: vev.wire.v1.NavigationInventoryResponse (*NavigationInventoryDemand)(nil), // 54: vev.wire.v1.NavigationInventoryDemand (*NavigationInventorySelection)(nil), // 55: vev.wire.v1.NavigationInventorySelection (*PickerOffer)(nil), // 56: vev.wire.v1.PickerOffer (*PickerSnapshot)(nil), // 57: vev.wire.v1.PickerSnapshot (*PickerClosed)(nil), // 58: vev.wire.v1.PickerClosed (*PickerResult)(nil), // 59: vev.wire.v1.PickerResult (*PickerFailure)(nil), // 60: vev.wire.v1.PickerFailure (*AttachmentSuspended)(nil), // 61: vev.wire.v1.AttachmentSuspended (*AttachmentActivated)(nil), // 62: vev.wire.v1.AttachmentActivated (*KillResult)(nil), // 63: vev.wire.v1.KillResult } var file_envelope_proto_depIdxs = []int32{ 0, // 0: vev.wire.v1.PreambleRequest.role:type_name -> vev.wire.v1.PreambleRole 0, // 1: vev.wire.v1.PreambleResponse.role:type_name -> vev.wire.v1.PreambleRole 2, // 2: vev.wire.v1.PreambleResponse.rejection:type_name -> vev.wire.v1.PreambleRejectionCode 6, // 3: vev.wire.v1.ClientEnvelope.hello:type_name -> vev.wire.v1.Hello 7, // 4: vev.wire.v1.ClientEnvelope.input:type_name -> vev.wire.v1.Input 8, // 5: vev.wire.v1.ClientEnvelope.resize:type_name -> vev.wire.v1.Resize 9, // 6: vev.wire.v1.ClientEnvelope.detach:type_name -> vev.wire.v1.Detach 10, // 7: vev.wire.v1.ClientEnvelope.ping:type_name -> vev.wire.v1.Ping 11, // 8: vev.wire.v1.ClientEnvelope.list:type_name -> vev.wire.v1.List 12, // 9: vev.wire.v1.ClientEnvelope.kill:type_name -> vev.wire.v1.Kill 13, // 10: vev.wire.v1.ClientEnvelope.theme:type_name -> vev.wire.v1.Theme 14, // 11: vev.wire.v1.ClientEnvelope.ack:type_name -> vev.wire.v1.Ack 15, // 12: vev.wire.v1.ClientEnvelope.image_push:type_name -> vev.wire.v1.ImagePush 16, // 13: vev.wire.v1.ClientEnvelope.client_notice:type_name -> vev.wire.v1.ClientNotice 17, // 14: vev.wire.v1.ClientEnvelope.command_request:type_name -> vev.wire.v1.CommandRequest 18, // 15: vev.wire.v1.ClientEnvelope.output_reset_request:type_name -> vev.wire.v1.OutputResetRequest 19, // 16: vev.wire.v1.ClientEnvelope.route_attention_subscription:type_name -> vev.wire.v1.RouteAttentionSubscription 20, // 17: vev.wire.v1.ClientEnvelope.same_peer_switch_request:type_name -> vev.wire.v1.SamePeerSwitchRequest 21, // 18: vev.wire.v1.ClientEnvelope.recent_route_snapshot:type_name -> vev.wire.v1.RecentRouteSnapshot 22, // 19: vev.wire.v1.ClientEnvelope.route_navigation_failure:type_name -> vev.wire.v1.RouteNavigationFailure 23, // 20: vev.wire.v1.ClientEnvelope.session_creation_failure:type_name -> vev.wire.v1.SessionCreationFailure 24, // 21: vev.wire.v1.ClientEnvelope.ui_fence:type_name -> vev.wire.v1.UIFence 25, // 22: vev.wire.v1.ClientEnvelope.navigation_inventory_request:type_name -> vev.wire.v1.NavigationInventoryRequest 26, // 23: vev.wire.v1.ClientEnvelope.navigation_inventory_publication:type_name -> vev.wire.v1.NavigationInventoryPublication 27, // 24: vev.wire.v1.ClientEnvelope.navigation_inventory_failure:type_name -> vev.wire.v1.NavigationInventoryFailure 28, // 25: vev.wire.v1.ClientEnvelope.picker_close:type_name -> vev.wire.v1.PickerClose 29, // 26: vev.wire.v1.ClientEnvelope.picker_selection:type_name -> vev.wire.v1.PickerSelection 30, // 27: vev.wire.v1.ClientEnvelope.suspend_attachment:type_name -> vev.wire.v1.SuspendAttachment 31, // 28: vev.wire.v1.ClientEnvelope.activate_attachment:type_name -> vev.wire.v1.ActivateAttachment 32, // 29: vev.wire.v1.ClientEnvelope.select_tab:type_name -> vev.wire.v1.SelectTab 33, // 30: vev.wire.v1.ClientEnvelope.remote_preview_watch:type_name -> vev.wire.v1.RemotePreviewWatch 34, // 31: vev.wire.v1.ClientEnvelope.terminal_focus:type_name -> vev.wire.v1.TerminalFocus 35, // 32: vev.wire.v1.ClientEnvelope.modifier_state:type_name -> vev.wire.v1.ModifierState 36, // 33: vev.wire.v1.ServerEnvelope.welcome:type_name -> vev.wire.v1.Welcome 37, // 34: vev.wire.v1.ServerEnvelope.error:type_name -> vev.wire.v1.ErrorMsg 38, // 35: vev.wire.v1.ServerEnvelope.output:type_name -> vev.wire.v1.Output 39, // 36: vev.wire.v1.ServerEnvelope.detached:type_name -> vev.wire.v1.Detached 40, // 37: vev.wire.v1.ServerEnvelope.pong:type_name -> vev.wire.v1.Pong 41, // 38: vev.wire.v1.ServerEnvelope.sessions:type_name -> vev.wire.v1.Sessions 42, // 39: vev.wire.v1.ServerEnvelope.command_result:type_name -> vev.wire.v1.CommandResult 43, // 40: vev.wire.v1.ServerEnvelope.attach_target:type_name -> vev.wire.v1.AttachTarget 44, // 41: vev.wire.v1.ServerEnvelope.remote_preview:type_name -> vev.wire.v1.RemotePreview 45, // 42: vev.wire.v1.ServerEnvelope.committed_route_identity:type_name -> vev.wire.v1.CommittedRouteIdentity 46, // 43: vev.wire.v1.ServerEnvelope.route_navigation_action:type_name -> vev.wire.v1.RouteNavigationAction 47, // 44: vev.wire.v1.ServerEnvelope.route_create_session_action:type_name -> vev.wire.v1.RouteCreateSessionAction 22, // 45: vev.wire.v1.ServerEnvelope.route_navigation_failure:type_name -> vev.wire.v1.RouteNavigationFailure 48, // 46: vev.wire.v1.ServerEnvelope.route_position:type_name -> vev.wire.v1.RoutePosition 49, // 47: vev.wire.v1.ServerEnvelope.route_retired:type_name -> vev.wire.v1.RouteRetired 50, // 48: vev.wire.v1.ServerEnvelope.same_peer_switch_failure:type_name -> vev.wire.v1.SamePeerSwitchFailure 51, // 49: vev.wire.v1.ServerEnvelope.ui_receipt:type_name -> vev.wire.v1.UIReceipt 52, // 50: vev.wire.v1.ServerEnvelope.ui_view_update:type_name -> vev.wire.v1.UIViewUpdate 53, // 51: vev.wire.v1.ServerEnvelope.navigation_inventory_response:type_name -> vev.wire.v1.NavigationInventoryResponse 54, // 52: vev.wire.v1.ServerEnvelope.navigation_inventory_demand:type_name -> vev.wire.v1.NavigationInventoryDemand 55, // 53: vev.wire.v1.ServerEnvelope.navigation_inventory_selection:type_name -> vev.wire.v1.NavigationInventorySelection 56, // 54: vev.wire.v1.ServerEnvelope.picker_offer:type_name -> vev.wire.v1.PickerOffer 57, // 55: vev.wire.v1.ServerEnvelope.picker_snapshot:type_name -> vev.wire.v1.PickerSnapshot 58, // 56: vev.wire.v1.ServerEnvelope.picker_closed:type_name -> vev.wire.v1.PickerClosed 59, // 57: vev.wire.v1.ServerEnvelope.picker_result:type_name -> vev.wire.v1.PickerResult 60, // 58: vev.wire.v1.ServerEnvelope.picker_failure:type_name -> vev.wire.v1.PickerFailure 61, // 59: vev.wire.v1.ServerEnvelope.attachment_suspended:type_name -> vev.wire.v1.AttachmentSuspended 62, // 60: vev.wire.v1.ServerEnvelope.attachment_activated:type_name -> vev.wire.v1.AttachmentActivated 63, // 61: vev.wire.v1.ServerEnvelope.kill_result:type_name -> vev.wire.v1.KillResult 62, // [62:62] is the sub-list for method output_type 62, // [62:62] is the sub-list for method input_type 62, // [62:62] is the sub-list for extension type_name 62, // [62:62] is the sub-list for extension extendee 0, // [0:62] is the sub-list for field type_name } func init() { file_envelope_proto_init() } func file_envelope_proto_init() { if File_envelope_proto != nil { return } file_command_proto_init() file_navigation_proto_init() file_picker_proto_init() file_session_proto_init() file_terminal_proto_init() file_envelope_proto_msgTypes[4].OneofWrappers = []any{ (*ClientEnvelope_Hello)(nil), (*ClientEnvelope_Input)(nil), (*ClientEnvelope_Resize)(nil), (*ClientEnvelope_Detach)(nil), (*ClientEnvelope_Ping)(nil), (*ClientEnvelope_List)(nil), (*ClientEnvelope_Kill)(nil), (*ClientEnvelope_Theme)(nil), (*ClientEnvelope_Ack)(nil), (*ClientEnvelope_ImagePush)(nil), (*ClientEnvelope_ClientNotice)(nil), (*ClientEnvelope_CommandRequest)(nil), (*ClientEnvelope_OutputResetRequest)(nil), (*ClientEnvelope_RouteAttentionSubscription)(nil), (*ClientEnvelope_SamePeerSwitchRequest)(nil), (*ClientEnvelope_RecentRouteSnapshot)(nil), (*ClientEnvelope_RouteNavigationFailure)(nil), (*ClientEnvelope_SessionCreationFailure)(nil), (*ClientEnvelope_UiFence)(nil), (*ClientEnvelope_NavigationInventoryRequest)(nil), (*ClientEnvelope_NavigationInventoryPublication)(nil), (*ClientEnvelope_NavigationInventoryFailure)(nil), (*ClientEnvelope_PickerClose)(nil), (*ClientEnvelope_PickerSelection)(nil), (*ClientEnvelope_SuspendAttachment)(nil), (*ClientEnvelope_ActivateAttachment)(nil), (*ClientEnvelope_SelectTab)(nil), (*ClientEnvelope_RemotePreviewWatch)(nil), (*ClientEnvelope_TerminalFocus)(nil), (*ClientEnvelope_ModifierState)(nil), } file_envelope_proto_msgTypes[5].OneofWrappers = []any{ (*ServerEnvelope_Welcome)(nil), (*ServerEnvelope_Error)(nil), (*ServerEnvelope_Output)(nil), (*ServerEnvelope_Detached)(nil), (*ServerEnvelope_Pong)(nil), (*ServerEnvelope_Sessions)(nil), (*ServerEnvelope_CommandResult)(nil), (*ServerEnvelope_AttachTarget)(nil), (*ServerEnvelope_RemotePreview)(nil), (*ServerEnvelope_CommittedRouteIdentity)(nil), (*ServerEnvelope_RouteNavigationAction)(nil), (*ServerEnvelope_RouteCreateSessionAction)(nil), (*ServerEnvelope_RouteNavigationFailure)(nil), (*ServerEnvelope_RoutePosition)(nil), (*ServerEnvelope_RouteRetired)(nil), (*ServerEnvelope_SamePeerSwitchFailure)(nil), (*ServerEnvelope_UiReceipt)(nil), (*ServerEnvelope_UiViewUpdate)(nil), (*ServerEnvelope_NavigationInventoryResponse)(nil), (*ServerEnvelope_NavigationInventoryDemand)(nil), (*ServerEnvelope_NavigationInventorySelection)(nil), (*ServerEnvelope_PickerOffer)(nil), (*ServerEnvelope_PickerSnapshot)(nil), (*ServerEnvelope_PickerClosed)(nil), (*ServerEnvelope_PickerResult)(nil), (*ServerEnvelope_PickerFailure)(nil), (*ServerEnvelope_AttachmentSuspended)(nil), (*ServerEnvelope_AttachmentActivated)(nil), (*ServerEnvelope_KillResult)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_envelope_proto_rawDesc), len(file_envelope_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 0, }, GoTypes: file_envelope_proto_goTypes, DependencyIndexes: file_envelope_proto_depIdxs, MessageInfos: file_envelope_proto_msgTypes, }.Build() File_envelope_proto = out.File file_envelope_proto_goTypes = nil file_envelope_proto_depIdxs = nil }