Documentation ¶
Index ¶
- Variables
- type CommandStatus
- func (CommandStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CommandStatus) Enum() *CommandStatus
- func (CommandStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandStatus) Number() protoreflect.EnumNumber
- func (x CommandStatus) String() string
- func (CommandStatus) Type() protoreflect.EnumType
- type Empty
- type Main
- func (*Main) Descriptor() ([]byte, []int)deprecated
- func (x *Main) GetAppLockStatusRequest() *app.LockStatusRequest
- func (x *Main) GetAppLockStatusResponse() *app.LockStatusResponse
- func (x *Main) GetAppStartRequest() *app.StartRequest
- func (x *Main) GetCommandId() uint32
- func (x *Main) GetCommandStatus() CommandStatus
- func (m *Main) GetContent() isMain_Content
- func (x *Main) GetEmpty() *Empty
- func (x *Main) GetGuiScreenFrame() *gui.ScreenFrame
- func (x *Main) GetGuiSendInputEventRequest() *gui.SendInputEventRequest
- func (x *Main) GetGuiStartScreenStreamRequest() *gui.StartScreenStreamRequest
- func (x *Main) GetGuiStartVirtualDisplayRequest() *gui.StartVirtualDisplayRequest
- func (x *Main) GetGuiStopScreenStreamRequest() *gui.StopScreenStreamRequest
- func (x *Main) GetGuiStopVirtualDisplayRequest() *gui.StopVirtualDisplayRequest
- func (x *Main) GetHasNext() bool
- func (x *Main) GetPingRequest() *status.PingRequest
- func (x *Main) GetPingResponse() *status.PingResponse
- func (x *Main) GetStopSession() *StopSession
- func (x *Main) GetStorageDeleteRequest() *storage.DeleteRequest
- func (x *Main) GetStorageListRequest() *storage.ListRequest
- func (x *Main) GetStorageListResponse() *storage.ListResponse
- func (x *Main) GetStorageMd5SumRequest() *storage.Md5SumRequest
- func (x *Main) GetStorageMd5SumResponse() *storage.Md5SumResponse
- func (x *Main) GetStorageMkdirRequest() *storage.MkdirRequest
- func (x *Main) GetStorageReadRequest() *storage.ReadRequest
- func (x *Main) GetStorageReadResponse() *storage.ReadResponse
- func (x *Main) GetStorageStatRequest() *storage.StatRequest
- func (x *Main) GetStorageStatResponse() *storage.StatResponse
- func (x *Main) GetStorageWriteRequest() *storage.WriteRequest
- func (*Main) ProtoMessage()
- func (x *Main) ProtoReflect() protoreflect.Message
- func (x *Main) Reset()
- func (x *Main) String() string
- type Main_AppLockStatusRequest
- type Main_AppLockStatusResponse
- type Main_AppStartRequest
- type Main_Empty
- type Main_GuiScreenFrame
- type Main_GuiSendInputEventRequest
- type Main_GuiStartScreenStreamRequest
- type Main_GuiStartVirtualDisplayRequest
- type Main_GuiStopScreenStreamRequest
- type Main_GuiStopVirtualDisplayRequest
- type Main_PingRequest
- type Main_PingResponse
- type Main_StopSession
- type Main_StorageDeleteRequest
- type Main_StorageListRequest
- type Main_StorageListResponse
- type Main_StorageMd5SumRequest
- type Main_StorageMd5SumResponse
- type Main_StorageMkdirRequest
- type Main_StorageReadRequest
- type Main_StorageReadResponse
- type Main_StorageStatRequest
- type Main_StorageStatResponse
- type Main_StorageWriteRequest
- type StopSession
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CommandStatus_name = map[int32]string{ 0: "OK", 1: "ERROR", 2: "ERROR_DECODE", 3: "ERROR_NOT_IMPLEMENTED", 4: "ERROR_BUSY", 14: "ERROR_CONTINUOUS_COMMAND_INTERRUPTED", 15: "ERROR_INVALID_PARAMETERS", 5: "ERROR_STORAGE_NOT_READY", 6: "ERROR_STORAGE_EXIST", 7: "ERROR_STORAGE_NOT_EXIST", 8: "ERROR_STORAGE_INVALID_PARAMETER", 9: "ERROR_STORAGE_DENIED", 10: "ERROR_STORAGE_INVALID_NAME", 11: "ERROR_STORAGE_INTERNAL", 12: "ERROR_STORAGE_NOT_IMPLEMENTED", 13: "ERROR_STORAGE_ALREADY_OPEN", 18: "ERROR_STORAGE_DIR_NOT_EMPTY", 16: "ERROR_APP_CANT_START", 17: "ERROR_APP_SYSTEM_LOCKED", 19: "ERROR_VIRTUAL_DISPLAY_ALREADY_STARTED", 20: "ERROR_VIRTUAL_DISPLAY_NOT_STARTED", } CommandStatus_value = map[string]int32{ "OK": 0, "ERROR": 1, "ERROR_DECODE": 2, "ERROR_NOT_IMPLEMENTED": 3, "ERROR_BUSY": 4, "ERROR_CONTINUOUS_COMMAND_INTERRUPTED": 14, "ERROR_INVALID_PARAMETERS": 15, "ERROR_STORAGE_NOT_READY": 5, "ERROR_STORAGE_EXIST": 6, "ERROR_STORAGE_NOT_EXIST": 7, "ERROR_STORAGE_INVALID_PARAMETER": 8, "ERROR_STORAGE_DENIED": 9, "ERROR_STORAGE_INVALID_NAME": 10, "ERROR_STORAGE_INTERNAL": 11, "ERROR_STORAGE_NOT_IMPLEMENTED": 12, "ERROR_STORAGE_ALREADY_OPEN": 13, "ERROR_STORAGE_DIR_NOT_EMPTY": 18, "ERROR_APP_CANT_START": 16, "ERROR_APP_SYSTEM_LOCKED": 17, "ERROR_VIRTUAL_DISPLAY_ALREADY_STARTED": 19, "ERROR_VIRTUAL_DISPLAY_NOT_STARTED": 20, } )
Enum value maps for CommandStatus.
View Source
var File_flipper_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommandStatus ¶
type CommandStatus int32
const ( CommandStatus_OK CommandStatus = 0 //*< Common Errors CommandStatus_ERROR CommandStatus = 1 //*< Unknown error CommandStatus_ERROR_DECODE CommandStatus = 2 //*< Command can't be decoded successfully - command_id in response may be wrong! CommandStatus_ERROR_NOT_IMPLEMENTED CommandStatus = 3 //*< Command succesfully decoded, but not implemented (deprecated or not yet implemented) CommandStatus_ERROR_BUSY CommandStatus = 4 //*< Somebody took global lock, so not all commands are available CommandStatus_ERROR_CONTINUOUS_COMMAND_INTERRUPTED CommandStatus = 14 //*< Not received has_next == 0 CommandStatus_ERROR_INVALID_PARAMETERS CommandStatus = 15 //*< not provided (or provided invalid) crucial parameters to perform rpc //*< Storage Errors CommandStatus_ERROR_STORAGE_NOT_READY CommandStatus = 5 //*< FS not ready CommandStatus_ERROR_STORAGE_EXIST CommandStatus = 6 //*< File/Dir alrady exist CommandStatus_ERROR_STORAGE_NOT_EXIST CommandStatus = 7 //*< File/Dir does not exist CommandStatus_ERROR_STORAGE_INVALID_PARAMETER CommandStatus = 8 //*< Invalid API parameter CommandStatus_ERROR_STORAGE_DENIED CommandStatus = 9 //*< Access denied CommandStatus_ERROR_STORAGE_INVALID_NAME CommandStatus = 10 //*< Invalid name/path CommandStatus_ERROR_STORAGE_INTERNAL CommandStatus = 11 //*< Internal error CommandStatus_ERROR_STORAGE_NOT_IMPLEMENTED CommandStatus = 12 //*< Functon not implemented CommandStatus_ERROR_STORAGE_ALREADY_OPEN CommandStatus = 13 //*< File/Dir already opened CommandStatus_ERROR_STORAGE_DIR_NOT_EMPTY CommandStatus = 18 //*< Directory, you're going to remove is not empty //*< Application Errors CommandStatus_ERROR_APP_CANT_START CommandStatus = 16 //*< Can't start app - internal error CommandStatus_ERROR_APP_SYSTEM_LOCKED CommandStatus = 17 //*< Another app is running //*< Virtual Display Errors CommandStatus_ERROR_VIRTUAL_DISPLAY_ALREADY_STARTED CommandStatus = 19 //*< Virtual Display session can't be started twice CommandStatus_ERROR_VIRTUAL_DISPLAY_NOT_STARTED CommandStatus = 20 //*< Virtual Display session can't be stopped when it's not started )
func (CommandStatus) Descriptor ¶
func (CommandStatus) Descriptor() protoreflect.EnumDescriptor
func (CommandStatus) Enum ¶
func (x CommandStatus) Enum() *CommandStatus
func (CommandStatus) EnumDescriptor
deprecated
func (CommandStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandStatus.Descriptor instead.
func (CommandStatus) Number ¶
func (x CommandStatus) Number() protoreflect.EnumNumber
func (CommandStatus) String ¶
func (x CommandStatus) String() string
func (CommandStatus) Type ¶
func (CommandStatus) Type() protoreflect.EnumType
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
There are Server commands (e.g. Storage_write), which have no body message in response. But 'oneof' obligate to have at least 1 encoded message in scope. For this needs Empty message is implemented.
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Main ¶
type Main struct { CommandId uint32 `protobuf:"varint,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` CommandStatus CommandStatus `protobuf:"varint,2,opt,name=command_status,json=commandStatus,proto3,enum=PB.CommandStatus" json:"command_status,omitempty"` HasNext bool `protobuf:"varint,3,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"` // Types that are assignable to Content: // *Main_Empty // *Main_StopSession // *Main_PingRequest // *Main_PingResponse // *Main_StorageStatRequest // *Main_StorageStatResponse // *Main_StorageListRequest // *Main_StorageListResponse // *Main_StorageReadRequest // *Main_StorageReadResponse // *Main_StorageWriteRequest // *Main_StorageDeleteRequest // *Main_StorageMkdirRequest // *Main_StorageMd5SumRequest // *Main_StorageMd5SumResponse // *Main_AppStartRequest // *Main_AppLockStatusRequest // *Main_AppLockStatusResponse // *Main_GuiStartScreenStreamRequest // *Main_GuiStopScreenStreamRequest // *Main_GuiScreenFrame // *Main_GuiSendInputEventRequest // *Main_GuiStartVirtualDisplayRequest // *Main_GuiStopVirtualDisplayRequest Content isMain_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*Main) Descriptor
deprecated
func (*Main) GetAppLockStatusRequest ¶
func (x *Main) GetAppLockStatusRequest() *app.LockStatusRequest
func (*Main) GetAppLockStatusResponse ¶
func (x *Main) GetAppLockStatusResponse() *app.LockStatusResponse
func (*Main) GetAppStartRequest ¶
func (x *Main) GetAppStartRequest() *app.StartRequest
func (*Main) GetCommandId ¶
func (*Main) GetCommandStatus ¶
func (x *Main) GetCommandStatus() CommandStatus
func (*Main) GetContent ¶
func (m *Main) GetContent() isMain_Content
func (*Main) GetGuiScreenFrame ¶
func (x *Main) GetGuiScreenFrame() *gui.ScreenFrame
func (*Main) GetGuiSendInputEventRequest ¶
func (x *Main) GetGuiSendInputEventRequest() *gui.SendInputEventRequest
func (*Main) GetGuiStartScreenStreamRequest ¶
func (x *Main) GetGuiStartScreenStreamRequest() *gui.StartScreenStreamRequest
func (*Main) GetGuiStartVirtualDisplayRequest ¶
func (x *Main) GetGuiStartVirtualDisplayRequest() *gui.StartVirtualDisplayRequest
func (*Main) GetGuiStopScreenStreamRequest ¶
func (x *Main) GetGuiStopScreenStreamRequest() *gui.StopScreenStreamRequest
func (*Main) GetGuiStopVirtualDisplayRequest ¶
func (x *Main) GetGuiStopVirtualDisplayRequest() *gui.StopVirtualDisplayRequest
func (*Main) GetHasNext ¶
func (*Main) GetPingRequest ¶
func (x *Main) GetPingRequest() *status.PingRequest
func (*Main) GetPingResponse ¶
func (x *Main) GetPingResponse() *status.PingResponse
func (*Main) GetStopSession ¶
func (x *Main) GetStopSession() *StopSession
func (*Main) GetStorageDeleteRequest ¶
func (x *Main) GetStorageDeleteRequest() *storage.DeleteRequest
func (*Main) GetStorageListRequest ¶
func (x *Main) GetStorageListRequest() *storage.ListRequest
func (*Main) GetStorageListResponse ¶
func (x *Main) GetStorageListResponse() *storage.ListResponse
func (*Main) GetStorageMd5SumRequest ¶
func (x *Main) GetStorageMd5SumRequest() *storage.Md5SumRequest
func (*Main) GetStorageMd5SumResponse ¶
func (x *Main) GetStorageMd5SumResponse() *storage.Md5SumResponse
func (*Main) GetStorageMkdirRequest ¶
func (x *Main) GetStorageMkdirRequest() *storage.MkdirRequest
func (*Main) GetStorageReadRequest ¶
func (x *Main) GetStorageReadRequest() *storage.ReadRequest
func (*Main) GetStorageReadResponse ¶
func (x *Main) GetStorageReadResponse() *storage.ReadResponse
func (*Main) GetStorageStatRequest ¶
func (x *Main) GetStorageStatRequest() *storage.StatRequest
func (*Main) GetStorageStatResponse ¶
func (x *Main) GetStorageStatResponse() *storage.StatResponse
func (*Main) GetStorageWriteRequest ¶
func (x *Main) GetStorageWriteRequest() *storage.WriteRequest
func (*Main) ProtoMessage ¶
func (*Main) ProtoMessage()
func (*Main) ProtoReflect ¶
func (x *Main) ProtoReflect() protoreflect.Message
type Main_AppLockStatusRequest ¶
type Main_AppLockStatusRequest struct {
AppLockStatusRequest *app.LockStatusRequest `protobuf:"bytes,17,opt,name=app_lock_status_request,json=appLockStatusRequest,proto3,oneof"`
}
type Main_AppLockStatusResponse ¶
type Main_AppLockStatusResponse struct {
AppLockStatusResponse *app.LockStatusResponse `protobuf:"bytes,18,opt,name=app_lock_status_response,json=appLockStatusResponse,proto3,oneof"`
}
type Main_AppStartRequest ¶
type Main_AppStartRequest struct {
AppStartRequest *app.StartRequest `protobuf:"bytes,16,opt,name=app_start_request,json=appStartRequest,proto3,oneof"`
}
type Main_Empty ¶
type Main_Empty struct {
Empty *Empty `protobuf:"bytes,4,opt,name=empty,proto3,oneof"`
}
type Main_GuiScreenFrame ¶
type Main_GuiScreenFrame struct {
GuiScreenFrame *gui.ScreenFrame `protobuf:"bytes,22,opt,name=gui_screen_frame,json=guiScreenFrame,proto3,oneof"`
}
type Main_GuiSendInputEventRequest ¶
type Main_GuiSendInputEventRequest struct {
GuiSendInputEventRequest *gui.SendInputEventRequest `protobuf:"bytes,23,opt,name=gui_send_input_event_request,json=guiSendInputEventRequest,proto3,oneof"`
}
type Main_GuiStartScreenStreamRequest ¶
type Main_GuiStartScreenStreamRequest struct {
GuiStartScreenStreamRequest *gui.StartScreenStreamRequest `protobuf:"bytes,20,opt,name=gui_start_screen_stream_request,json=guiStartScreenStreamRequest,proto3,oneof"`
}
type Main_GuiStartVirtualDisplayRequest ¶
type Main_GuiStartVirtualDisplayRequest struct {
GuiStartVirtualDisplayRequest *gui.StartVirtualDisplayRequest `protobuf:"bytes,26,opt,name=gui_start_virtual_display_request,json=guiStartVirtualDisplayRequest,proto3,oneof"`
}
type Main_GuiStopScreenStreamRequest ¶
type Main_GuiStopScreenStreamRequest struct {
GuiStopScreenStreamRequest *gui.StopScreenStreamRequest `protobuf:"bytes,21,opt,name=gui_stop_screen_stream_request,json=guiStopScreenStreamRequest,proto3,oneof"`
}
type Main_GuiStopVirtualDisplayRequest ¶
type Main_GuiStopVirtualDisplayRequest struct {
GuiStopVirtualDisplayRequest *gui.StopVirtualDisplayRequest `protobuf:"bytes,27,opt,name=gui_stop_virtual_display_request,json=guiStopVirtualDisplayRequest,proto3,oneof"`
}
type Main_PingRequest ¶
type Main_PingRequest struct {
PingRequest *status.PingRequest `protobuf:"bytes,5,opt,name=ping_request,json=pingRequest,proto3,oneof"`
}
type Main_PingResponse ¶
type Main_PingResponse struct {
PingResponse *status.PingResponse `protobuf:"bytes,6,opt,name=ping_response,json=pingResponse,proto3,oneof"`
}
type Main_StopSession ¶
type Main_StopSession struct {
StopSession *StopSession `protobuf:"bytes,19,opt,name=stop_session,json=stopSession,proto3,oneof"`
}
type Main_StorageDeleteRequest ¶
type Main_StorageDeleteRequest struct {
StorageDeleteRequest *storage.DeleteRequest `protobuf:"bytes,12,opt,name=storage_delete_request,json=storageDeleteRequest,proto3,oneof"`
}
type Main_StorageListRequest ¶
type Main_StorageListRequest struct {
StorageListRequest *storage.ListRequest `protobuf:"bytes,7,opt,name=storage_list_request,json=storageListRequest,proto3,oneof"`
}
type Main_StorageListResponse ¶
type Main_StorageListResponse struct {
StorageListResponse *storage.ListResponse `protobuf:"bytes,8,opt,name=storage_list_response,json=storageListResponse,proto3,oneof"`
}
type Main_StorageMd5SumRequest ¶
type Main_StorageMd5SumRequest struct {
StorageMd5SumRequest *storage.Md5SumRequest `protobuf:"bytes,14,opt,name=storage_md5sum_request,json=storageMd5sumRequest,proto3,oneof"`
}
type Main_StorageMd5SumResponse ¶
type Main_StorageMd5SumResponse struct {
StorageMd5SumResponse *storage.Md5SumResponse `protobuf:"bytes,15,opt,name=storage_md5sum_response,json=storageMd5sumResponse,proto3,oneof"`
}
type Main_StorageMkdirRequest ¶
type Main_StorageMkdirRequest struct {
StorageMkdirRequest *storage.MkdirRequest `protobuf:"bytes,13,opt,name=storage_mkdir_request,json=storageMkdirRequest,proto3,oneof"`
}
type Main_StorageReadRequest ¶
type Main_StorageReadRequest struct {
StorageReadRequest *storage.ReadRequest `protobuf:"bytes,9,opt,name=storage_read_request,json=storageReadRequest,proto3,oneof"`
}
type Main_StorageReadResponse ¶
type Main_StorageReadResponse struct {
StorageReadResponse *storage.ReadResponse `protobuf:"bytes,10,opt,name=storage_read_response,json=storageReadResponse,proto3,oneof"`
}
type Main_StorageStatRequest ¶
type Main_StorageStatRequest struct {
StorageStatRequest *storage.StatRequest `protobuf:"bytes,24,opt,name=storage_stat_request,json=storageStatRequest,proto3,oneof"`
}
type Main_StorageStatResponse ¶
type Main_StorageStatResponse struct {
StorageStatResponse *storage.StatResponse `protobuf:"bytes,25,opt,name=storage_stat_response,json=storageStatResponse,proto3,oneof"`
}
type Main_StorageWriteRequest ¶
type Main_StorageWriteRequest struct {
StorageWriteRequest *storage.WriteRequest `protobuf:"bytes,11,opt,name=storage_write_request,json=storageWriteRequest,proto3,oneof"`
}
type StopSession ¶
type StopSession struct {
// contains filtered or unexported fields
}
func (*StopSession) Descriptor
deprecated
func (*StopSession) Descriptor() ([]byte, []int)
Deprecated: Use StopSession.ProtoReflect.Descriptor instead.
func (*StopSession) ProtoMessage ¶
func (*StopSession) ProtoMessage()
func (*StopSession) ProtoReflect ¶
func (x *StopSession) ProtoReflect() protoreflect.Message
func (*StopSession) Reset ¶
func (x *StopSession) Reset()
func (*StopSession) String ¶
func (x *StopSession) String() string
Click to show internal directories.
Click to hide internal directories.