diff --git a/protos/sni/sni.pb.go b/protos/sni/sni.pb.go index c7475f4..9875e95 100644 --- a/protos/sni/sni.pb.go +++ b/protos/sni/sni.pb.go @@ -148,6 +148,7 @@ const ( DeviceCapability_ResetSystem DeviceCapability = 4 DeviceCapability_PauseUnpauseEmulation DeviceCapability = 5 DeviceCapability_PauseToggleEmulation DeviceCapability = 6 + DeviceCapability_ResetToMenu DeviceCapability = 7 // TODO: query ROM name DeviceCapability_ReadDirectory DeviceCapability = 10 DeviceCapability_MakeDirectory DeviceCapability = 11 @@ -168,6 +169,7 @@ var ( 4: "ResetSystem", 5: "PauseUnpauseEmulation", 6: "PauseToggleEmulation", + 7: "ResetToMenu", 10: "ReadDirectory", 11: "MakeDirectory", 12: "RemoveFile", @@ -184,6 +186,7 @@ var ( "ResetSystem": 4, "PauseUnpauseEmulation": 5, "PauseToggleEmulation": 6, + "ResetToMenu": 7, "ReadDirectory": 10, "MakeDirectory": 11, "RemoveFile": 12, @@ -456,6 +459,100 @@ func (x *ResetSystemResponse) GetUri() string { return "" } +type ResetToMenuRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` +} + +func (x *ResetToMenuRequest) Reset() { + *x = ResetToMenuRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_sni_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetToMenuRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetToMenuRequest) ProtoMessage() {} + +func (x *ResetToMenuRequest) ProtoReflect() protoreflect.Message { + mi := &file_sni_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetToMenuRequest.ProtoReflect.Descriptor instead. +func (*ResetToMenuRequest) Descriptor() ([]byte, []int) { + return file_sni_proto_rawDescGZIP(), []int{4} +} + +func (x *ResetToMenuRequest) GetUri() string { + if x != nil { + return x.Uri + } + return "" +} + +type ResetToMenuResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` +} + +func (x *ResetToMenuResponse) Reset() { + *x = ResetToMenuResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_sni_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetToMenuResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetToMenuResponse) ProtoMessage() {} + +func (x *ResetToMenuResponse) ProtoReflect() protoreflect.Message { + mi := &file_sni_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetToMenuResponse.ProtoReflect.Descriptor instead. +func (*ResetToMenuResponse) Descriptor() ([]byte, []int) { + return file_sni_proto_rawDescGZIP(), []int{5} +} + +func (x *ResetToMenuResponse) GetUri() string { + if x != nil { + return x.Uri + } + return "" +} + type PauseEmulationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -469,7 +566,7 @@ type PauseEmulationRequest struct { func (x *PauseEmulationRequest) Reset() { *x = PauseEmulationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[4] + mi := &file_sni_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -482,7 +579,7 @@ func (x *PauseEmulationRequest) String() string { func (*PauseEmulationRequest) ProtoMessage() {} func (x *PauseEmulationRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[4] + mi := &file_sni_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -495,7 +592,7 @@ func (x *PauseEmulationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PauseEmulationRequest.ProtoReflect.Descriptor instead. func (*PauseEmulationRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{4} + return file_sni_proto_rawDescGZIP(), []int{6} } func (x *PauseEmulationRequest) GetUri() string { @@ -524,7 +621,7 @@ type PauseEmulationResponse struct { func (x *PauseEmulationResponse) Reset() { *x = PauseEmulationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[5] + mi := &file_sni_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -537,7 +634,7 @@ func (x *PauseEmulationResponse) String() string { func (*PauseEmulationResponse) ProtoMessage() {} func (x *PauseEmulationResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[5] + mi := &file_sni_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -550,7 +647,7 @@ func (x *PauseEmulationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PauseEmulationResponse.ProtoReflect.Descriptor instead. func (*PauseEmulationResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{5} + return file_sni_proto_rawDescGZIP(), []int{7} } func (x *PauseEmulationResponse) GetUri() string { @@ -578,7 +675,7 @@ type PauseToggleEmulationRequest struct { func (x *PauseToggleEmulationRequest) Reset() { *x = PauseToggleEmulationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[6] + mi := &file_sni_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -591,7 +688,7 @@ func (x *PauseToggleEmulationRequest) String() string { func (*PauseToggleEmulationRequest) ProtoMessage() {} func (x *PauseToggleEmulationRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[6] + mi := &file_sni_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -604,7 +701,7 @@ func (x *PauseToggleEmulationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PauseToggleEmulationRequest.ProtoReflect.Descriptor instead. func (*PauseToggleEmulationRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{6} + return file_sni_proto_rawDescGZIP(), []int{8} } func (x *PauseToggleEmulationRequest) GetUri() string { @@ -625,7 +722,7 @@ type PauseToggleEmulationResponse struct { func (x *PauseToggleEmulationResponse) Reset() { *x = PauseToggleEmulationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[7] + mi := &file_sni_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -638,7 +735,7 @@ func (x *PauseToggleEmulationResponse) String() string { func (*PauseToggleEmulationResponse) ProtoMessage() {} func (x *PauseToggleEmulationResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[7] + mi := &file_sni_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -651,7 +748,7 @@ func (x *PauseToggleEmulationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PauseToggleEmulationResponse.ProtoReflect.Descriptor instead. func (*PauseToggleEmulationResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{7} + return file_sni_proto_rawDescGZIP(), []int{9} } func (x *PauseToggleEmulationResponse) GetUri() string { @@ -677,7 +774,7 @@ type DetectMemoryMappingRequest struct { func (x *DetectMemoryMappingRequest) Reset() { *x = DetectMemoryMappingRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[8] + mi := &file_sni_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -690,7 +787,7 @@ func (x *DetectMemoryMappingRequest) String() string { func (*DetectMemoryMappingRequest) ProtoMessage() {} func (x *DetectMemoryMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[8] + mi := &file_sni_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -703,7 +800,7 @@ func (x *DetectMemoryMappingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DetectMemoryMappingRequest.ProtoReflect.Descriptor instead. func (*DetectMemoryMappingRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{8} + return file_sni_proto_rawDescGZIP(), []int{10} } func (x *DetectMemoryMappingRequest) GetUri() string { @@ -744,7 +841,7 @@ type DetectMemoryMappingResponse struct { func (x *DetectMemoryMappingResponse) Reset() { *x = DetectMemoryMappingResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[9] + mi := &file_sni_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -757,7 +854,7 @@ func (x *DetectMemoryMappingResponse) String() string { func (*DetectMemoryMappingResponse) ProtoMessage() {} func (x *DetectMemoryMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[9] + mi := &file_sni_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -770,7 +867,7 @@ func (x *DetectMemoryMappingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DetectMemoryMappingResponse.ProtoReflect.Descriptor instead. func (*DetectMemoryMappingResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{9} + return file_sni_proto_rawDescGZIP(), []int{11} } func (x *DetectMemoryMappingResponse) GetUri() string { @@ -815,7 +912,7 @@ type ReadMemoryRequest struct { func (x *ReadMemoryRequest) Reset() { *x = ReadMemoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[10] + mi := &file_sni_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -828,7 +925,7 @@ func (x *ReadMemoryRequest) String() string { func (*ReadMemoryRequest) ProtoMessage() {} func (x *ReadMemoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[10] + mi := &file_sni_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -841,7 +938,7 @@ func (x *ReadMemoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadMemoryRequest.ProtoReflect.Descriptor instead. func (*ReadMemoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{10} + return file_sni_proto_rawDescGZIP(), []int{12} } func (x *ReadMemoryRequest) GetRequestAddress() uint32 { @@ -889,7 +986,7 @@ type ReadMemoryResponse struct { func (x *ReadMemoryResponse) Reset() { *x = ReadMemoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[11] + mi := &file_sni_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -902,7 +999,7 @@ func (x *ReadMemoryResponse) String() string { func (*ReadMemoryResponse) ProtoMessage() {} func (x *ReadMemoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[11] + mi := &file_sni_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -915,7 +1012,7 @@ func (x *ReadMemoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadMemoryResponse.ProtoReflect.Descriptor instead. func (*ReadMemoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{11} + return file_sni_proto_rawDescGZIP(), []int{13} } func (x *ReadMemoryResponse) GetRequestAddress() uint32 { @@ -974,7 +1071,7 @@ type WriteMemoryRequest struct { func (x *WriteMemoryRequest) Reset() { *x = WriteMemoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[12] + mi := &file_sni_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -987,7 +1084,7 @@ func (x *WriteMemoryRequest) String() string { func (*WriteMemoryRequest) ProtoMessage() {} func (x *WriteMemoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[12] + mi := &file_sni_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1000,7 +1097,7 @@ func (x *WriteMemoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteMemoryRequest.ProtoReflect.Descriptor instead. func (*WriteMemoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{12} + return file_sni_proto_rawDescGZIP(), []int{14} } func (x *WriteMemoryRequest) GetRequestAddress() uint32 { @@ -1047,7 +1144,7 @@ type WriteMemoryResponse struct { func (x *WriteMemoryResponse) Reset() { *x = WriteMemoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[13] + mi := &file_sni_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1060,7 +1157,7 @@ func (x *WriteMemoryResponse) String() string { func (*WriteMemoryResponse) ProtoMessage() {} func (x *WriteMemoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[13] + mi := &file_sni_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1073,7 +1170,7 @@ func (x *WriteMemoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteMemoryResponse.ProtoReflect.Descriptor instead. func (*WriteMemoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{13} + return file_sni_proto_rawDescGZIP(), []int{15} } func (x *WriteMemoryResponse) GetRequestAddress() uint32 { @@ -1130,7 +1227,7 @@ type SingleReadMemoryRequest struct { func (x *SingleReadMemoryRequest) Reset() { *x = SingleReadMemoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[14] + mi := &file_sni_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1143,7 +1240,7 @@ func (x *SingleReadMemoryRequest) String() string { func (*SingleReadMemoryRequest) ProtoMessage() {} func (x *SingleReadMemoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[14] + mi := &file_sni_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1156,7 +1253,7 @@ func (x *SingleReadMemoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SingleReadMemoryRequest.ProtoReflect.Descriptor instead. func (*SingleReadMemoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{14} + return file_sni_proto_rawDescGZIP(), []int{16} } func (x *SingleReadMemoryRequest) GetUri() string { @@ -1185,7 +1282,7 @@ type SingleReadMemoryResponse struct { func (x *SingleReadMemoryResponse) Reset() { *x = SingleReadMemoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[15] + mi := &file_sni_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1198,7 +1295,7 @@ func (x *SingleReadMemoryResponse) String() string { func (*SingleReadMemoryResponse) ProtoMessage() {} func (x *SingleReadMemoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[15] + mi := &file_sni_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1211,7 +1308,7 @@ func (x *SingleReadMemoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SingleReadMemoryResponse.ProtoReflect.Descriptor instead. func (*SingleReadMemoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{15} + return file_sni_proto_rawDescGZIP(), []int{17} } func (x *SingleReadMemoryResponse) GetUri() string { @@ -1240,7 +1337,7 @@ type SingleWriteMemoryRequest struct { func (x *SingleWriteMemoryRequest) Reset() { *x = SingleWriteMemoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[16] + mi := &file_sni_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1253,7 +1350,7 @@ func (x *SingleWriteMemoryRequest) String() string { func (*SingleWriteMemoryRequest) ProtoMessage() {} func (x *SingleWriteMemoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[16] + mi := &file_sni_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1266,7 +1363,7 @@ func (x *SingleWriteMemoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SingleWriteMemoryRequest.ProtoReflect.Descriptor instead. func (*SingleWriteMemoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{16} + return file_sni_proto_rawDescGZIP(), []int{18} } func (x *SingleWriteMemoryRequest) GetUri() string { @@ -1295,7 +1392,7 @@ type SingleWriteMemoryResponse struct { func (x *SingleWriteMemoryResponse) Reset() { *x = SingleWriteMemoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[17] + mi := &file_sni_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1308,7 +1405,7 @@ func (x *SingleWriteMemoryResponse) String() string { func (*SingleWriteMemoryResponse) ProtoMessage() {} func (x *SingleWriteMemoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[17] + mi := &file_sni_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1321,7 +1418,7 @@ func (x *SingleWriteMemoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SingleWriteMemoryResponse.ProtoReflect.Descriptor instead. func (*SingleWriteMemoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{17} + return file_sni_proto_rawDescGZIP(), []int{19} } func (x *SingleWriteMemoryResponse) GetUri() string { @@ -1350,7 +1447,7 @@ type MultiReadMemoryRequest struct { func (x *MultiReadMemoryRequest) Reset() { *x = MultiReadMemoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[18] + mi := &file_sni_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1363,7 +1460,7 @@ func (x *MultiReadMemoryRequest) String() string { func (*MultiReadMemoryRequest) ProtoMessage() {} func (x *MultiReadMemoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[18] + mi := &file_sni_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1376,7 +1473,7 @@ func (x *MultiReadMemoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MultiReadMemoryRequest.ProtoReflect.Descriptor instead. func (*MultiReadMemoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{18} + return file_sni_proto_rawDescGZIP(), []int{20} } func (x *MultiReadMemoryRequest) GetUri() string { @@ -1405,7 +1502,7 @@ type MultiReadMemoryResponse struct { func (x *MultiReadMemoryResponse) Reset() { *x = MultiReadMemoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[19] + mi := &file_sni_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1418,7 +1515,7 @@ func (x *MultiReadMemoryResponse) String() string { func (*MultiReadMemoryResponse) ProtoMessage() {} func (x *MultiReadMemoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[19] + mi := &file_sni_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1431,7 +1528,7 @@ func (x *MultiReadMemoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MultiReadMemoryResponse.ProtoReflect.Descriptor instead. func (*MultiReadMemoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{19} + return file_sni_proto_rawDescGZIP(), []int{21} } func (x *MultiReadMemoryResponse) GetUri() string { @@ -1460,7 +1557,7 @@ type MultiWriteMemoryRequest struct { func (x *MultiWriteMemoryRequest) Reset() { *x = MultiWriteMemoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[20] + mi := &file_sni_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1473,7 +1570,7 @@ func (x *MultiWriteMemoryRequest) String() string { func (*MultiWriteMemoryRequest) ProtoMessage() {} func (x *MultiWriteMemoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[20] + mi := &file_sni_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1486,7 +1583,7 @@ func (x *MultiWriteMemoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MultiWriteMemoryRequest.ProtoReflect.Descriptor instead. func (*MultiWriteMemoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{20} + return file_sni_proto_rawDescGZIP(), []int{22} } func (x *MultiWriteMemoryRequest) GetUri() string { @@ -1515,7 +1612,7 @@ type MultiWriteMemoryResponse struct { func (x *MultiWriteMemoryResponse) Reset() { *x = MultiWriteMemoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[21] + mi := &file_sni_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1528,7 +1625,7 @@ func (x *MultiWriteMemoryResponse) String() string { func (*MultiWriteMemoryResponse) ProtoMessage() {} func (x *MultiWriteMemoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[21] + mi := &file_sni_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1541,7 +1638,7 @@ func (x *MultiWriteMemoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MultiWriteMemoryResponse.ProtoReflect.Descriptor instead. func (*MultiWriteMemoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{21} + return file_sni_proto_rawDescGZIP(), []int{23} } func (x *MultiWriteMemoryResponse) GetUri() string { @@ -1570,7 +1667,7 @@ type ReadDirectoryRequest struct { func (x *ReadDirectoryRequest) Reset() { *x = ReadDirectoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[22] + mi := &file_sni_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1583,7 +1680,7 @@ func (x *ReadDirectoryRequest) String() string { func (*ReadDirectoryRequest) ProtoMessage() {} func (x *ReadDirectoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[22] + mi := &file_sni_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1596,7 +1693,7 @@ func (x *ReadDirectoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadDirectoryRequest.ProtoReflect.Descriptor instead. func (*ReadDirectoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{22} + return file_sni_proto_rawDescGZIP(), []int{24} } func (x *ReadDirectoryRequest) GetUri() string { @@ -1625,7 +1722,7 @@ type DirEntry struct { func (x *DirEntry) Reset() { *x = DirEntry{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[23] + mi := &file_sni_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1638,7 +1735,7 @@ func (x *DirEntry) String() string { func (*DirEntry) ProtoMessage() {} func (x *DirEntry) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[23] + mi := &file_sni_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1651,7 +1748,7 @@ func (x *DirEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use DirEntry.ProtoReflect.Descriptor instead. func (*DirEntry) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{23} + return file_sni_proto_rawDescGZIP(), []int{25} } func (x *DirEntry) GetName() string { @@ -1681,7 +1778,7 @@ type ReadDirectoryResponse struct { func (x *ReadDirectoryResponse) Reset() { *x = ReadDirectoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[24] + mi := &file_sni_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1694,7 +1791,7 @@ func (x *ReadDirectoryResponse) String() string { func (*ReadDirectoryResponse) ProtoMessage() {} func (x *ReadDirectoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[24] + mi := &file_sni_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1707,7 +1804,7 @@ func (x *ReadDirectoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadDirectoryResponse.ProtoReflect.Descriptor instead. func (*ReadDirectoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{24} + return file_sni_proto_rawDescGZIP(), []int{26} } func (x *ReadDirectoryResponse) GetUri() string { @@ -1743,7 +1840,7 @@ type MakeDirectoryRequest struct { func (x *MakeDirectoryRequest) Reset() { *x = MakeDirectoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[25] + mi := &file_sni_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1756,7 +1853,7 @@ func (x *MakeDirectoryRequest) String() string { func (*MakeDirectoryRequest) ProtoMessage() {} func (x *MakeDirectoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[25] + mi := &file_sni_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1769,7 +1866,7 @@ func (x *MakeDirectoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MakeDirectoryRequest.ProtoReflect.Descriptor instead. func (*MakeDirectoryRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{25} + return file_sni_proto_rawDescGZIP(), []int{27} } func (x *MakeDirectoryRequest) GetUri() string { @@ -1798,7 +1895,7 @@ type MakeDirectoryResponse struct { func (x *MakeDirectoryResponse) Reset() { *x = MakeDirectoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[26] + mi := &file_sni_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1811,7 +1908,7 @@ func (x *MakeDirectoryResponse) String() string { func (*MakeDirectoryResponse) ProtoMessage() {} func (x *MakeDirectoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[26] + mi := &file_sni_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1824,7 +1921,7 @@ func (x *MakeDirectoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MakeDirectoryResponse.ProtoReflect.Descriptor instead. func (*MakeDirectoryResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{26} + return file_sni_proto_rawDescGZIP(), []int{28} } func (x *MakeDirectoryResponse) GetUri() string { @@ -1853,7 +1950,7 @@ type RemoveFileRequest struct { func (x *RemoveFileRequest) Reset() { *x = RemoveFileRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[27] + mi := &file_sni_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1866,7 +1963,7 @@ func (x *RemoveFileRequest) String() string { func (*RemoveFileRequest) ProtoMessage() {} func (x *RemoveFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[27] + mi := &file_sni_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1879,7 +1976,7 @@ func (x *RemoveFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveFileRequest.ProtoReflect.Descriptor instead. func (*RemoveFileRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{27} + return file_sni_proto_rawDescGZIP(), []int{29} } func (x *RemoveFileRequest) GetUri() string { @@ -1908,7 +2005,7 @@ type RemoveFileResponse struct { func (x *RemoveFileResponse) Reset() { *x = RemoveFileResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[28] + mi := &file_sni_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1921,7 +2018,7 @@ func (x *RemoveFileResponse) String() string { func (*RemoveFileResponse) ProtoMessage() {} func (x *RemoveFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[28] + mi := &file_sni_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1934,7 +2031,7 @@ func (x *RemoveFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveFileResponse.ProtoReflect.Descriptor instead. func (*RemoveFileResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{28} + return file_sni_proto_rawDescGZIP(), []int{30} } func (x *RemoveFileResponse) GetUri() string { @@ -1964,7 +2061,7 @@ type RenameFileRequest struct { func (x *RenameFileRequest) Reset() { *x = RenameFileRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[29] + mi := &file_sni_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1977,7 +2074,7 @@ func (x *RenameFileRequest) String() string { func (*RenameFileRequest) ProtoMessage() {} func (x *RenameFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[29] + mi := &file_sni_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1990,7 +2087,7 @@ func (x *RenameFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameFileRequest.ProtoReflect.Descriptor instead. func (*RenameFileRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{29} + return file_sni_proto_rawDescGZIP(), []int{31} } func (x *RenameFileRequest) GetUri() string { @@ -2027,7 +2124,7 @@ type RenameFileResponse struct { func (x *RenameFileResponse) Reset() { *x = RenameFileResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[30] + mi := &file_sni_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2040,7 +2137,7 @@ func (x *RenameFileResponse) String() string { func (*RenameFileResponse) ProtoMessage() {} func (x *RenameFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[30] + mi := &file_sni_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2053,7 +2150,7 @@ func (x *RenameFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameFileResponse.ProtoReflect.Descriptor instead. func (*RenameFileResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{30} + return file_sni_proto_rawDescGZIP(), []int{32} } func (x *RenameFileResponse) GetUri() string { @@ -2090,7 +2187,7 @@ type PutFileRequest struct { func (x *PutFileRequest) Reset() { *x = PutFileRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[31] + mi := &file_sni_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2103,7 +2200,7 @@ func (x *PutFileRequest) String() string { func (*PutFileRequest) ProtoMessage() {} func (x *PutFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[31] + mi := &file_sni_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2116,7 +2213,7 @@ func (x *PutFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutFileRequest.ProtoReflect.Descriptor instead. func (*PutFileRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{31} + return file_sni_proto_rawDescGZIP(), []int{33} } func (x *PutFileRequest) GetUri() string { @@ -2153,7 +2250,7 @@ type PutFileResponse struct { func (x *PutFileResponse) Reset() { *x = PutFileResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[32] + mi := &file_sni_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2166,7 +2263,7 @@ func (x *PutFileResponse) String() string { func (*PutFileResponse) ProtoMessage() {} func (x *PutFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[32] + mi := &file_sni_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2179,7 +2276,7 @@ func (x *PutFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutFileResponse.ProtoReflect.Descriptor instead. func (*PutFileResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{32} + return file_sni_proto_rawDescGZIP(), []int{34} } func (x *PutFileResponse) GetUri() string { @@ -2215,7 +2312,7 @@ type GetFileRequest struct { func (x *GetFileRequest) Reset() { *x = GetFileRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[33] + mi := &file_sni_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2228,7 +2325,7 @@ func (x *GetFileRequest) String() string { func (*GetFileRequest) ProtoMessage() {} func (x *GetFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[33] + mi := &file_sni_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2241,7 +2338,7 @@ func (x *GetFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead. func (*GetFileRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{33} + return file_sni_proto_rawDescGZIP(), []int{35} } func (x *GetFileRequest) GetUri() string { @@ -2272,7 +2369,7 @@ type GetFileResponse struct { func (x *GetFileResponse) Reset() { *x = GetFileResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[34] + mi := &file_sni_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2285,7 +2382,7 @@ func (x *GetFileResponse) String() string { func (*GetFileResponse) ProtoMessage() {} func (x *GetFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[34] + mi := &file_sni_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2298,7 +2395,7 @@ func (x *GetFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead. func (*GetFileResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{34} + return file_sni_proto_rawDescGZIP(), []int{36} } func (x *GetFileResponse) GetUri() string { @@ -2341,7 +2438,7 @@ type BootFileRequest struct { func (x *BootFileRequest) Reset() { *x = BootFileRequest{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[35] + mi := &file_sni_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2354,7 +2451,7 @@ func (x *BootFileRequest) String() string { func (*BootFileRequest) ProtoMessage() {} func (x *BootFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[35] + mi := &file_sni_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2367,7 +2464,7 @@ func (x *BootFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BootFileRequest.ProtoReflect.Descriptor instead. func (*BootFileRequest) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{35} + return file_sni_proto_rawDescGZIP(), []int{37} } func (x *BootFileRequest) GetUri() string { @@ -2396,7 +2493,7 @@ type BootFileResponse struct { func (x *BootFileResponse) Reset() { *x = BootFileResponse{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[36] + mi := &file_sni_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2409,7 +2506,7 @@ func (x *BootFileResponse) String() string { func (*BootFileResponse) ProtoMessage() {} func (x *BootFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[36] + mi := &file_sni_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2422,7 +2519,7 @@ func (x *BootFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BootFileResponse.ProtoReflect.Descriptor instead. func (*BootFileResponse) Descriptor() ([]byte, []int) { - return file_sni_proto_rawDescGZIP(), []int{36} + return file_sni_proto_rawDescGZIP(), []int{38} } func (x *BootFileResponse) GetUri() string { @@ -2447,7 +2544,8 @@ type DevicesResponse_Device struct { // URI that describes exactly how to connect to the device, e.g.: // RetroArch: "ra://127.0.0.1:55355" // FX Pak Pro: "fxpakpro://./dev/cu.usbmodemDEMO000000001" (MacOS) - // "fxpakpro://./COM4" (Windows) + // "fxpakpro://./COM4" (Windows) + // "fxpakpro://./dev/ttyACM0" (Linux) // uri is used as the unique identifier of the device for clients to refer to Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // friendly display name of the device @@ -2463,7 +2561,7 @@ type DevicesResponse_Device struct { func (x *DevicesResponse_Device) Reset() { *x = DevicesResponse_Device{} if protoimpl.UnsafeEnabled { - mi := &file_sni_proto_msgTypes[37] + mi := &file_sni_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2476,7 +2574,7 @@ func (x *DevicesResponse_Device) String() string { func (*DevicesResponse_Device) ProtoMessage() {} func (x *DevicesResponse_Device) ProtoReflect() protoreflect.Message { - mi := &file_sni_proto_msgTypes[37] + mi := &file_sni_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2555,334 +2653,344 @@ var file_sni_proto_rawDesc = []byte{ 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x27, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x41, 0x0a, 0x15, 0x50, 0x61, 0x75, 0x73, 0x65, 0x45, - 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x69, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x22, 0x42, 0x0a, 0x16, 0x50, 0x61, 0x75, - 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x22, 0x2f, 0x0a, - 0x1b, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x30, - 0x0a, 0x1c, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, - 0x22, 0xd6, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x26, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, + 0x6f, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x27, + 0x0a, 0x13, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x41, 0x0a, 0x15, 0x50, 0x61, 0x75, 0x73, 0x65, + 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, + 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x22, 0x42, 0x0a, 0x16, 0x50, 0x61, + 0x75, 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x22, 0x2f, + 0x0a, 0x1b, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, + 0x30, 0x0a, 0x1c, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, + 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x69, 0x12, 0x49, 0x0a, 0x15, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x48, 0x00, 0x52, 0x15, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x4d, 0x65, 0x6d, 0x6f, - 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x0f, - 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0f, 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x88, 0x01, 0x01, 0x42, 0x18, 0x0a, 0x16, 0x5f, - 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x22, 0xaf, 0x01, 0x0a, 0x1b, 0x44, 0x65, - 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x34, 0x0a, 0x0d, 0x6d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x52, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, - 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x30, 0x30, - 0x46, 0x46, 0x42, 0x30, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x6f, 0x6d, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x22, 0xd4, 0x01, 0x0a, 0x11, - 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x13, 0x72, 0x65, 0x71, + 0x69, 0x22, 0xd6, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, + 0x72, 0x69, 0x12, 0x49, 0x0a, 0x15, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x4d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x48, 0x00, 0x52, 0x15, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, + 0x0f, 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0f, 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x88, 0x01, 0x01, 0x42, 0x18, 0x0a, 0x16, + 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x6f, 0x6d, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x22, 0xaf, 0x01, 0x0a, 0x1b, 0x44, + 0x65, 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x34, 0x0a, 0x0d, + 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, + 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x30, + 0x30, 0x46, 0x46, 0x42, 0x30, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x6f, 0x6d, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x30, 0x30, 0x46, 0x46, 0x42, 0x30, 0x22, 0xd4, 0x01, 0x0a, + 0x11, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x13, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x14, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, + 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, + 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x12, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, + 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, + 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0xd5, 0x01, 0x0a, 0x12, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x3f, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x14, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x12, - 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, - 0x7a, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x12, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x3f, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x42, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x64, - 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x12, + 0x12, 0x42, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, + 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x14, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xbb, 0x02, 0x0a, 0x13, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x14, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, + 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, - 0xd5, 0x01, 0x0a, 0x12, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3f, - 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x42, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xbb, 0x02, 0x0a, 0x13, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, - 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, 0x65, 0x52, 0x12, 0x64, - 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x59, 0x0a, 0x17, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, + 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x59, 0x0a, 0x17, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, + 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x72, 0x69, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x5d, 0x0a, 0x18, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, + 0x2f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x5b, 0x0a, 0x18, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2d, + 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, + 0x19, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x30, 0x0a, 0x08, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, + 0x0a, 0x16, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2e, 0x0a, 0x08, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x69, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x5d, 0x0a, 0x18, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, - 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2f, - 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x5b, 0x0a, 0x18, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, - 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2d, 0x0a, - 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, - 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x19, - 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x30, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, - 0x16, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2e, 0x0a, 0x08, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, - 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x5e, 0x0a, 0x17, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x5e, 0x0a, 0x17, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x31, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x65, 0x61, + 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, + 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x60, 0x0a, 0x18, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x32, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, + 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x14, 0x52, 0x65, + 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x41, 0x0a, 0x08, 0x44, 0x69, 0x72, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x44, 0x69, 0x72, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x62, 0x0a, 0x15, 0x52, + 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x31, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x65, 0x61, 0x64, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x60, 0x0a, 0x18, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x32, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x14, 0x52, 0x65, 0x61, - 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x07, 0x65, 0x6e, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x69, + 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, + 0x3c, 0x0a, 0x14, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3d, 0x0a, + 0x15, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x39, 0x0a, 0x11, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x41, 0x0a, 0x08, 0x44, 0x69, 0x72, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x44, 0x69, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x62, 0x0a, 0x15, 0x52, 0x65, - 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x07, 0x65, 0x6e, 0x74, - 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x69, 0x72, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x3c, - 0x0a, 0x14, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x5b, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, + 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x5c, 0x0a, 0x12, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3d, 0x0a, 0x15, - 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x39, 0x0a, 0x11, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, + 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4a, + 0x0a, 0x0e, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x22, 0x5b, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, - 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x5c, 0x0a, 0x12, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6e, - 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4a, 0x0a, - 0x0e, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4b, 0x0a, 0x0f, 0x50, 0x75, 0x74, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x5f, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, - 0x37, 0x0a, 0x0f, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4b, 0x0a, 0x0f, 0x50, 0x75, + 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, + 0x5f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x38, 0x0a, 0x10, 0x42, 0x6f, 0x6f, 0x74, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x2a, 0x33, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x78, 0x50, 0x61, 0x6b, 0x50, 0x72, 0x6f, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x6e, 0x65, 0x73, 0x41, 0x42, 0x75, 0x73, 0x10, 0x01, 0x12, 0x07, - 0x0a, 0x03, 0x52, 0x61, 0x77, 0x10, 0x02, 0x2a, 0x3f, 0x0a, 0x0d, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, - 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x69, 0x52, 0x4f, 0x4d, 0x10, 0x01, - 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x6f, 0x52, 0x4f, 0x4d, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, - 0x78, 0x48, 0x69, 0x52, 0x4f, 0x4d, 0x10, 0x03, 0x2a, 0x81, 0x02, 0x0a, 0x10, 0x44, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x08, 0x0a, - 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x61, 0x64, 0x4d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x41, 0x53, 0x4d, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, - 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x61, 0x75, - 0x73, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, - 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x06, 0x12, 0x11, - 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x10, - 0x0a, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x79, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, - 0x6c, 0x65, 0x10, 0x0c, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, - 0x6c, 0x65, 0x10, 0x0d, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x10, - 0x0e, 0x12, 0x0b, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x0f, 0x12, 0x0c, - 0x0a, 0x08, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x10, 0x2a, 0x27, 0x0a, 0x0c, - 0x44, 0x69, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, - 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, - 0x69, 0x6c, 0x65, 0x10, 0x01, 0x32, 0x3d, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x12, 0x32, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, - 0x0f, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x10, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x32, 0xee, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x13, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x52, 0x65, 0x73, - 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x15, 0x50, 0x61, 0x75, 0x73, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x75, - 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x50, 0x61, - 0x75, 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, - 0x0a, 0x14, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, - 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, - 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x81, 0x04, 0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x0d, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0a, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, - 0x61, 0x64, 0x12, 0x18, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, 0x4d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x53, - 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0b, 0x53, 0x69, 0x6e, - 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, - 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x40, 0x0a, 0x09, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x12, 0x17, - 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, - 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0a, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x12, 0x18, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, - 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x52, 0x65, 0x61, 0x64, 0x12, 0x17, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, - 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x18, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, - 0x48, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x18, - 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x32, 0x9b, 0x03, 0x0a, 0x10, 0x44, 0x65, - 0x76, 0x69, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x40, - 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x15, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, + 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x37, 0x0a, 0x0f, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x38, 0x0a, 0x10, 0x42, 0x6f, 0x6f, + 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x2a, 0x33, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x78, 0x50, 0x61, 0x6b, 0x50, 0x72, 0x6f, 0x10, + 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x6e, 0x65, 0x73, 0x41, 0x42, 0x75, 0x73, 0x10, 0x01, 0x12, + 0x07, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x10, 0x02, 0x2a, 0x3f, 0x0a, 0x0d, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, + 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x69, 0x52, 0x4f, 0x4d, 0x10, + 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x6f, 0x52, 0x4f, 0x4d, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, + 0x45, 0x78, 0x48, 0x69, 0x52, 0x4f, 0x4d, 0x10, 0x03, 0x2a, 0x92, 0x02, 0x0a, 0x10, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x08, + 0x0a, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x61, 0x64, + 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x41, 0x53, 0x4d, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x65, 0x73, + 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x61, + 0x75, 0x73, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, + 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x06, 0x12, + 0x0f, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6e, 0x75, 0x10, 0x07, + 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x79, 0x10, 0x0a, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x79, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x10, 0x0c, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x10, 0x0d, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x10, 0x0e, 0x12, 0x0b, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x0f, + 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x10, 0x2a, 0x27, + 0x0a, 0x0c, 0x44, 0x69, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, + 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x10, 0x00, 0x12, 0x08, 0x0a, + 0x04, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x01, 0x32, 0x3d, 0x0a, 0x07, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x12, 0x32, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x12, 0x0f, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0xaa, 0x02, 0x0a, 0x0d, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, + 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x13, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x4d, + 0x65, 0x6e, 0x75, 0x12, 0x13, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x4d, 0x65, 0x6e, + 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x54, 0x6f, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4a, 0x0a, 0x15, 0x50, 0x61, 0x75, 0x73, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, + 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x50, 0x61, 0x75, 0x73, + 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x14, + 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, + 0x6c, 0x65, 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, + 0x45, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x32, 0x81, 0x04, 0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x0d, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x44, + 0x65, 0x74, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0a, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, + 0x12, 0x18, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x53, 0x69, 0x6e, + 0x67, 0x6c, 0x65, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0b, 0x53, 0x69, 0x6e, 0x67, 0x6c, + 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x40, 0x0a, 0x09, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x12, 0x17, 0x2e, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, + 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x43, 0x0a, 0x0a, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, + 0x18, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x61, 0x64, 0x12, 0x17, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, + 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, + 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x48, 0x0a, + 0x0b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x57, 0x72, + 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x32, 0x9b, 0x03, 0x0a, 0x10, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x40, 0x0a, 0x0d, + 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x15, 0x2e, + 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, + 0x0a, 0x0d, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x15, 0x2e, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x40, 0x0a, 0x0d, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x15, 0x2e, 0x4d, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x4d, 0x61, 0x6b, 0x65, 0x44, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x12, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x52, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x2e, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x07, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, - 0x0f, 0x2e, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x10, 0x2e, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, - 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x10, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x08, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x10, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x22, 0x5a, 0x20, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x74, 0x74, 0x70, 0x6f, 0x2f, 0x73, 0x6e, 0x69, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x73, 0x6e, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x12, 0x37, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x52, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x52, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x07, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0f, 0x2e, + 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, + 0x2e, 0x50, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0f, 0x2e, + 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, + 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x31, 0x0a, 0x08, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x10, + 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x11, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x22, 0x5a, 0x20, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x74, 0x74, 0x70, 0x6f, 0x2f, 0x73, 0x6e, 0x69, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x73, 0x6e, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -2898,7 +3006,7 @@ func file_sni_proto_rawDescGZIP() []byte { } var file_sni_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_sni_proto_msgTypes = make([]protoimpl.MessageInfo, 38) +var file_sni_proto_msgTypes = make([]protoimpl.MessageInfo, 40) var file_sni_proto_goTypes = []interface{}{ (AddressSpace)(0), // 0: AddressSpace (MemoryMapping)(0), // 1: MemoryMapping @@ -2908,43 +3016,45 @@ var file_sni_proto_goTypes = []interface{}{ (*DevicesResponse)(nil), // 5: DevicesResponse (*ResetSystemRequest)(nil), // 6: ResetSystemRequest (*ResetSystemResponse)(nil), // 7: ResetSystemResponse - (*PauseEmulationRequest)(nil), // 8: PauseEmulationRequest - (*PauseEmulationResponse)(nil), // 9: PauseEmulationResponse - (*PauseToggleEmulationRequest)(nil), // 10: PauseToggleEmulationRequest - (*PauseToggleEmulationResponse)(nil), // 11: PauseToggleEmulationResponse - (*DetectMemoryMappingRequest)(nil), // 12: DetectMemoryMappingRequest - (*DetectMemoryMappingResponse)(nil), // 13: DetectMemoryMappingResponse - (*ReadMemoryRequest)(nil), // 14: ReadMemoryRequest - (*ReadMemoryResponse)(nil), // 15: ReadMemoryResponse - (*WriteMemoryRequest)(nil), // 16: WriteMemoryRequest - (*WriteMemoryResponse)(nil), // 17: WriteMemoryResponse - (*SingleReadMemoryRequest)(nil), // 18: SingleReadMemoryRequest - (*SingleReadMemoryResponse)(nil), // 19: SingleReadMemoryResponse - (*SingleWriteMemoryRequest)(nil), // 20: SingleWriteMemoryRequest - (*SingleWriteMemoryResponse)(nil), // 21: SingleWriteMemoryResponse - (*MultiReadMemoryRequest)(nil), // 22: MultiReadMemoryRequest - (*MultiReadMemoryResponse)(nil), // 23: MultiReadMemoryResponse - (*MultiWriteMemoryRequest)(nil), // 24: MultiWriteMemoryRequest - (*MultiWriteMemoryResponse)(nil), // 25: MultiWriteMemoryResponse - (*ReadDirectoryRequest)(nil), // 26: ReadDirectoryRequest - (*DirEntry)(nil), // 27: DirEntry - (*ReadDirectoryResponse)(nil), // 28: ReadDirectoryResponse - (*MakeDirectoryRequest)(nil), // 29: MakeDirectoryRequest - (*MakeDirectoryResponse)(nil), // 30: MakeDirectoryResponse - (*RemoveFileRequest)(nil), // 31: RemoveFileRequest - (*RemoveFileResponse)(nil), // 32: RemoveFileResponse - (*RenameFileRequest)(nil), // 33: RenameFileRequest - (*RenameFileResponse)(nil), // 34: RenameFileResponse - (*PutFileRequest)(nil), // 35: PutFileRequest - (*PutFileResponse)(nil), // 36: PutFileResponse - (*GetFileRequest)(nil), // 37: GetFileRequest - (*GetFileResponse)(nil), // 38: GetFileResponse - (*BootFileRequest)(nil), // 39: BootFileRequest - (*BootFileResponse)(nil), // 40: BootFileResponse - (*DevicesResponse_Device)(nil), // 41: DevicesResponse.Device + (*ResetToMenuRequest)(nil), // 8: ResetToMenuRequest + (*ResetToMenuResponse)(nil), // 9: ResetToMenuResponse + (*PauseEmulationRequest)(nil), // 10: PauseEmulationRequest + (*PauseEmulationResponse)(nil), // 11: PauseEmulationResponse + (*PauseToggleEmulationRequest)(nil), // 12: PauseToggleEmulationRequest + (*PauseToggleEmulationResponse)(nil), // 13: PauseToggleEmulationResponse + (*DetectMemoryMappingRequest)(nil), // 14: DetectMemoryMappingRequest + (*DetectMemoryMappingResponse)(nil), // 15: DetectMemoryMappingResponse + (*ReadMemoryRequest)(nil), // 16: ReadMemoryRequest + (*ReadMemoryResponse)(nil), // 17: ReadMemoryResponse + (*WriteMemoryRequest)(nil), // 18: WriteMemoryRequest + (*WriteMemoryResponse)(nil), // 19: WriteMemoryResponse + (*SingleReadMemoryRequest)(nil), // 20: SingleReadMemoryRequest + (*SingleReadMemoryResponse)(nil), // 21: SingleReadMemoryResponse + (*SingleWriteMemoryRequest)(nil), // 22: SingleWriteMemoryRequest + (*SingleWriteMemoryResponse)(nil), // 23: SingleWriteMemoryResponse + (*MultiReadMemoryRequest)(nil), // 24: MultiReadMemoryRequest + (*MultiReadMemoryResponse)(nil), // 25: MultiReadMemoryResponse + (*MultiWriteMemoryRequest)(nil), // 26: MultiWriteMemoryRequest + (*MultiWriteMemoryResponse)(nil), // 27: MultiWriteMemoryResponse + (*ReadDirectoryRequest)(nil), // 28: ReadDirectoryRequest + (*DirEntry)(nil), // 29: DirEntry + (*ReadDirectoryResponse)(nil), // 30: ReadDirectoryResponse + (*MakeDirectoryRequest)(nil), // 31: MakeDirectoryRequest + (*MakeDirectoryResponse)(nil), // 32: MakeDirectoryResponse + (*RemoveFileRequest)(nil), // 33: RemoveFileRequest + (*RemoveFileResponse)(nil), // 34: RemoveFileResponse + (*RenameFileRequest)(nil), // 35: RenameFileRequest + (*RenameFileResponse)(nil), // 36: RenameFileResponse + (*PutFileRequest)(nil), // 37: PutFileRequest + (*PutFileResponse)(nil), // 38: PutFileResponse + (*GetFileRequest)(nil), // 39: GetFileRequest + (*GetFileResponse)(nil), // 40: GetFileResponse + (*BootFileRequest)(nil), // 41: BootFileRequest + (*BootFileResponse)(nil), // 42: BootFileResponse + (*DevicesResponse_Device)(nil), // 43: DevicesResponse.Device } var file_sni_proto_depIdxs = []int32{ - 41, // 0: DevicesResponse.devices:type_name -> DevicesResponse.Device + 43, // 0: DevicesResponse.devices:type_name -> DevicesResponse.Device 1, // 1: DetectMemoryMappingRequest.fallbackMemoryMapping:type_name -> MemoryMapping 1, // 2: DetectMemoryMappingResponse.memoryMapping:type_name -> MemoryMapping 0, // 3: ReadMemoryRequest.requestAddressSpace:type_name -> AddressSpace @@ -2957,56 +3067,58 @@ var file_sni_proto_depIdxs = []int32{ 0, // 10: WriteMemoryResponse.requestAddressSpace:type_name -> AddressSpace 1, // 11: WriteMemoryResponse.requestMemoryMapping:type_name -> MemoryMapping 0, // 12: WriteMemoryResponse.deviceAddressSpace:type_name -> AddressSpace - 14, // 13: SingleReadMemoryRequest.request:type_name -> ReadMemoryRequest - 15, // 14: SingleReadMemoryResponse.response:type_name -> ReadMemoryResponse - 16, // 15: SingleWriteMemoryRequest.request:type_name -> WriteMemoryRequest - 17, // 16: SingleWriteMemoryResponse.response:type_name -> WriteMemoryResponse - 14, // 17: MultiReadMemoryRequest.requests:type_name -> ReadMemoryRequest - 15, // 18: MultiReadMemoryResponse.responses:type_name -> ReadMemoryResponse - 16, // 19: MultiWriteMemoryRequest.requests:type_name -> WriteMemoryRequest - 17, // 20: MultiWriteMemoryResponse.responses:type_name -> WriteMemoryResponse + 16, // 13: SingleReadMemoryRequest.request:type_name -> ReadMemoryRequest + 17, // 14: SingleReadMemoryResponse.response:type_name -> ReadMemoryResponse + 18, // 15: SingleWriteMemoryRequest.request:type_name -> WriteMemoryRequest + 19, // 16: SingleWriteMemoryResponse.response:type_name -> WriteMemoryResponse + 16, // 17: MultiReadMemoryRequest.requests:type_name -> ReadMemoryRequest + 17, // 18: MultiReadMemoryResponse.responses:type_name -> ReadMemoryResponse + 18, // 19: MultiWriteMemoryRequest.requests:type_name -> WriteMemoryRequest + 19, // 20: MultiWriteMemoryResponse.responses:type_name -> WriteMemoryResponse 3, // 21: DirEntry.type:type_name -> DirEntryType - 27, // 22: ReadDirectoryResponse.entries:type_name -> DirEntry + 29, // 22: ReadDirectoryResponse.entries:type_name -> DirEntry 2, // 23: DevicesResponse.Device.capabilities:type_name -> DeviceCapability 0, // 24: DevicesResponse.Device.defaultAddressSpace:type_name -> AddressSpace 4, // 25: Devices.ListDevices:input_type -> DevicesRequest 6, // 26: DeviceControl.ResetSystem:input_type -> ResetSystemRequest - 8, // 27: DeviceControl.PauseUnpauseEmulation:input_type -> PauseEmulationRequest - 10, // 28: DeviceControl.PauseToggleEmulation:input_type -> PauseToggleEmulationRequest - 12, // 29: DeviceMemory.MappingDetect:input_type -> DetectMemoryMappingRequest - 18, // 30: DeviceMemory.SingleRead:input_type -> SingleReadMemoryRequest - 20, // 31: DeviceMemory.SingleWrite:input_type -> SingleWriteMemoryRequest - 22, // 32: DeviceMemory.MultiRead:input_type -> MultiReadMemoryRequest - 24, // 33: DeviceMemory.MultiWrite:input_type -> MultiWriteMemoryRequest - 22, // 34: DeviceMemory.StreamRead:input_type -> MultiReadMemoryRequest - 24, // 35: DeviceMemory.StreamWrite:input_type -> MultiWriteMemoryRequest - 26, // 36: DeviceFilesystem.ReadDirectory:input_type -> ReadDirectoryRequest - 29, // 37: DeviceFilesystem.MakeDirectory:input_type -> MakeDirectoryRequest - 31, // 38: DeviceFilesystem.RemoveFile:input_type -> RemoveFileRequest - 33, // 39: DeviceFilesystem.RenameFile:input_type -> RenameFileRequest - 35, // 40: DeviceFilesystem.PutFile:input_type -> PutFileRequest - 37, // 41: DeviceFilesystem.GetFile:input_type -> GetFileRequest - 39, // 42: DeviceFilesystem.BootFile:input_type -> BootFileRequest - 5, // 43: Devices.ListDevices:output_type -> DevicesResponse - 7, // 44: DeviceControl.ResetSystem:output_type -> ResetSystemResponse - 9, // 45: DeviceControl.PauseUnpauseEmulation:output_type -> PauseEmulationResponse - 11, // 46: DeviceControl.PauseToggleEmulation:output_type -> PauseToggleEmulationResponse - 13, // 47: DeviceMemory.MappingDetect:output_type -> DetectMemoryMappingResponse - 19, // 48: DeviceMemory.SingleRead:output_type -> SingleReadMemoryResponse - 21, // 49: DeviceMemory.SingleWrite:output_type -> SingleWriteMemoryResponse - 23, // 50: DeviceMemory.MultiRead:output_type -> MultiReadMemoryResponse - 25, // 51: DeviceMemory.MultiWrite:output_type -> MultiWriteMemoryResponse - 23, // 52: DeviceMemory.StreamRead:output_type -> MultiReadMemoryResponse - 25, // 53: DeviceMemory.StreamWrite:output_type -> MultiWriteMemoryResponse - 28, // 54: DeviceFilesystem.ReadDirectory:output_type -> ReadDirectoryResponse - 30, // 55: DeviceFilesystem.MakeDirectory:output_type -> MakeDirectoryResponse - 32, // 56: DeviceFilesystem.RemoveFile:output_type -> RemoveFileResponse - 34, // 57: DeviceFilesystem.RenameFile:output_type -> RenameFileResponse - 36, // 58: DeviceFilesystem.PutFile:output_type -> PutFileResponse - 38, // 59: DeviceFilesystem.GetFile:output_type -> GetFileResponse - 40, // 60: DeviceFilesystem.BootFile:output_type -> BootFileResponse - 43, // [43:61] is the sub-list for method output_type - 25, // [25:43] is the sub-list for method input_type + 8, // 27: DeviceControl.ResetToMenu:input_type -> ResetToMenuRequest + 10, // 28: DeviceControl.PauseUnpauseEmulation:input_type -> PauseEmulationRequest + 12, // 29: DeviceControl.PauseToggleEmulation:input_type -> PauseToggleEmulationRequest + 14, // 30: DeviceMemory.MappingDetect:input_type -> DetectMemoryMappingRequest + 20, // 31: DeviceMemory.SingleRead:input_type -> SingleReadMemoryRequest + 22, // 32: DeviceMemory.SingleWrite:input_type -> SingleWriteMemoryRequest + 24, // 33: DeviceMemory.MultiRead:input_type -> MultiReadMemoryRequest + 26, // 34: DeviceMemory.MultiWrite:input_type -> MultiWriteMemoryRequest + 24, // 35: DeviceMemory.StreamRead:input_type -> MultiReadMemoryRequest + 26, // 36: DeviceMemory.StreamWrite:input_type -> MultiWriteMemoryRequest + 28, // 37: DeviceFilesystem.ReadDirectory:input_type -> ReadDirectoryRequest + 31, // 38: DeviceFilesystem.MakeDirectory:input_type -> MakeDirectoryRequest + 33, // 39: DeviceFilesystem.RemoveFile:input_type -> RemoveFileRequest + 35, // 40: DeviceFilesystem.RenameFile:input_type -> RenameFileRequest + 37, // 41: DeviceFilesystem.PutFile:input_type -> PutFileRequest + 39, // 42: DeviceFilesystem.GetFile:input_type -> GetFileRequest + 41, // 43: DeviceFilesystem.BootFile:input_type -> BootFileRequest + 5, // 44: Devices.ListDevices:output_type -> DevicesResponse + 7, // 45: DeviceControl.ResetSystem:output_type -> ResetSystemResponse + 9, // 46: DeviceControl.ResetToMenu:output_type -> ResetToMenuResponse + 11, // 47: DeviceControl.PauseUnpauseEmulation:output_type -> PauseEmulationResponse + 13, // 48: DeviceControl.PauseToggleEmulation:output_type -> PauseToggleEmulationResponse + 15, // 49: DeviceMemory.MappingDetect:output_type -> DetectMemoryMappingResponse + 21, // 50: DeviceMemory.SingleRead:output_type -> SingleReadMemoryResponse + 23, // 51: DeviceMemory.SingleWrite:output_type -> SingleWriteMemoryResponse + 25, // 52: DeviceMemory.MultiRead:output_type -> MultiReadMemoryResponse + 27, // 53: DeviceMemory.MultiWrite:output_type -> MultiWriteMemoryResponse + 25, // 54: DeviceMemory.StreamRead:output_type -> MultiReadMemoryResponse + 27, // 55: DeviceMemory.StreamWrite:output_type -> MultiWriteMemoryResponse + 30, // 56: DeviceFilesystem.ReadDirectory:output_type -> ReadDirectoryResponse + 32, // 57: DeviceFilesystem.MakeDirectory:output_type -> MakeDirectoryResponse + 34, // 58: DeviceFilesystem.RemoveFile:output_type -> RemoveFileResponse + 36, // 59: DeviceFilesystem.RenameFile:output_type -> RenameFileResponse + 38, // 60: DeviceFilesystem.PutFile:output_type -> PutFileResponse + 40, // 61: DeviceFilesystem.GetFile:output_type -> GetFileResponse + 42, // 62: DeviceFilesystem.BootFile:output_type -> BootFileResponse + 44, // [44:63] is the sub-list for method output_type + 25, // [25:44] is the sub-list for method input_type 25, // [25:25] is the sub-list for extension type_name 25, // [25:25] is the sub-list for extension extendee 0, // [0:25] is the sub-list for field type_name @@ -3067,7 +3179,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PauseEmulationRequest); i { + switch v := v.(*ResetToMenuRequest); i { case 0: return &v.state case 1: @@ -3079,7 +3191,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PauseEmulationResponse); i { + switch v := v.(*ResetToMenuResponse); i { case 0: return &v.state case 1: @@ -3091,7 +3203,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PauseToggleEmulationRequest); i { + switch v := v.(*PauseEmulationRequest); i { case 0: return &v.state case 1: @@ -3103,7 +3215,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PauseToggleEmulationResponse); i { + switch v := v.(*PauseEmulationResponse); i { case 0: return &v.state case 1: @@ -3115,7 +3227,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DetectMemoryMappingRequest); i { + switch v := v.(*PauseToggleEmulationRequest); i { case 0: return &v.state case 1: @@ -3127,7 +3239,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DetectMemoryMappingResponse); i { + switch v := v.(*PauseToggleEmulationResponse); i { case 0: return &v.state case 1: @@ -3139,7 +3251,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadMemoryRequest); i { + switch v := v.(*DetectMemoryMappingRequest); i { case 0: return &v.state case 1: @@ -3151,7 +3263,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadMemoryResponse); i { + switch v := v.(*DetectMemoryMappingResponse); i { case 0: return &v.state case 1: @@ -3163,7 +3275,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteMemoryRequest); i { + switch v := v.(*ReadMemoryRequest); i { case 0: return &v.state case 1: @@ -3175,7 +3287,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteMemoryResponse); i { + switch v := v.(*ReadMemoryResponse); i { case 0: return &v.state case 1: @@ -3187,7 +3299,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SingleReadMemoryRequest); i { + switch v := v.(*WriteMemoryRequest); i { case 0: return &v.state case 1: @@ -3199,7 +3311,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SingleReadMemoryResponse); i { + switch v := v.(*WriteMemoryResponse); i { case 0: return &v.state case 1: @@ -3211,7 +3323,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SingleWriteMemoryRequest); i { + switch v := v.(*SingleReadMemoryRequest); i { case 0: return &v.state case 1: @@ -3223,7 +3335,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SingleWriteMemoryResponse); i { + switch v := v.(*SingleReadMemoryResponse); i { case 0: return &v.state case 1: @@ -3235,7 +3347,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiReadMemoryRequest); i { + switch v := v.(*SingleWriteMemoryRequest); i { case 0: return &v.state case 1: @@ -3247,7 +3359,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiReadMemoryResponse); i { + switch v := v.(*SingleWriteMemoryResponse); i { case 0: return &v.state case 1: @@ -3259,7 +3371,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiWriteMemoryRequest); i { + switch v := v.(*MultiReadMemoryRequest); i { case 0: return &v.state case 1: @@ -3271,7 +3383,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiWriteMemoryResponse); i { + switch v := v.(*MultiReadMemoryResponse); i { case 0: return &v.state case 1: @@ -3283,7 +3395,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadDirectoryRequest); i { + switch v := v.(*MultiWriteMemoryRequest); i { case 0: return &v.state case 1: @@ -3295,7 +3407,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DirEntry); i { + switch v := v.(*MultiWriteMemoryResponse); i { case 0: return &v.state case 1: @@ -3307,7 +3419,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadDirectoryResponse); i { + switch v := v.(*ReadDirectoryRequest); i { case 0: return &v.state case 1: @@ -3319,7 +3431,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MakeDirectoryRequest); i { + switch v := v.(*DirEntry); i { case 0: return &v.state case 1: @@ -3331,7 +3443,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MakeDirectoryResponse); i { + switch v := v.(*ReadDirectoryResponse); i { case 0: return &v.state case 1: @@ -3343,7 +3455,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveFileRequest); i { + switch v := v.(*MakeDirectoryRequest); i { case 0: return &v.state case 1: @@ -3355,7 +3467,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveFileResponse); i { + switch v := v.(*MakeDirectoryResponse); i { case 0: return &v.state case 1: @@ -3367,7 +3479,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameFileRequest); i { + switch v := v.(*RemoveFileRequest); i { case 0: return &v.state case 1: @@ -3379,7 +3491,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameFileResponse); i { + switch v := v.(*RemoveFileResponse); i { case 0: return &v.state case 1: @@ -3391,7 +3503,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutFileRequest); i { + switch v := v.(*RenameFileRequest); i { case 0: return &v.state case 1: @@ -3403,7 +3515,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutFileResponse); i { + switch v := v.(*RenameFileResponse); i { case 0: return &v.state case 1: @@ -3415,7 +3527,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFileRequest); i { + switch v := v.(*PutFileRequest); i { case 0: return &v.state case 1: @@ -3427,7 +3539,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFileResponse); i { + switch v := v.(*PutFileResponse); i { case 0: return &v.state case 1: @@ -3439,7 +3551,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BootFileRequest); i { + switch v := v.(*GetFileRequest); i { case 0: return &v.state case 1: @@ -3451,7 +3563,7 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BootFileResponse); i { + switch v := v.(*GetFileResponse); i { case 0: return &v.state case 1: @@ -3463,6 +3575,30 @@ func file_sni_proto_init() { } } file_sni_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BootFileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_sni_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BootFileResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_sni_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DevicesResponse_Device); i { case 0: return &v.state @@ -3475,14 +3611,14 @@ func file_sni_proto_init() { } } } - file_sni_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_sni_proto_msgTypes[10].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_sni_proto_rawDesc, NumEnums: 4, - NumMessages: 38, + NumMessages: 40, NumExtensions: 0, NumServices: 4, }, diff --git a/protos/sni/sni.proto b/protos/sni/sni.proto index b0810d9..7dd6e87 100644 --- a/protos/sni/sni.proto +++ b/protos/sni/sni.proto @@ -15,6 +15,9 @@ service DeviceControl { // only available if DeviceCapability ResetSystem is present rpc ResetSystem(ResetSystemRequest) returns (ResetSystemResponse) {} + // only available if DeviceCapability ResetToMenu is present + rpc ResetToMenu(ResetToMenuRequest) returns (ResetToMenuResponse) {} + // only available if DeviceCapability PauseUnpauseEmulation is present rpc PauseUnpauseEmulation(PauseEmulationRequest) returns (PauseEmulationResponse) {} @@ -95,6 +98,7 @@ enum DeviceCapability { ResetSystem = 4; PauseUnpauseEmulation = 5; PauseToggleEmulation = 6; + ResetToMenu = 7; // TODO: query ROM name ReadDirectory = 10; MakeDirectory = 11; @@ -147,6 +151,13 @@ message ResetSystemResponse { string uri = 1; } +message ResetToMenuRequest { + string uri = 1; +} +message ResetToMenuResponse { + string uri = 1; +} + message PauseEmulationRequest { string uri = 1; // true to pause emulation, false to unpause diff --git a/protos/sni/sni_grpc.pb.go b/protos/sni/sni_grpc.pb.go index e763983..a77cc5f 100644 --- a/protos/sni/sni_grpc.pb.go +++ b/protos/sni/sni_grpc.pb.go @@ -108,6 +108,8 @@ var Devices_ServiceDesc = grpc.ServiceDesc{ type DeviceControlClient interface { // only available if DeviceCapability ResetSystem is present ResetSystem(ctx context.Context, in *ResetSystemRequest, opts ...grpc.CallOption) (*ResetSystemResponse, error) + // only available if DeviceCapability ResetToMenu is present + ResetToMenu(ctx context.Context, in *ResetToMenuRequest, opts ...grpc.CallOption) (*ResetToMenuResponse, error) // only available if DeviceCapability PauseUnpauseEmulation is present PauseUnpauseEmulation(ctx context.Context, in *PauseEmulationRequest, opts ...grpc.CallOption) (*PauseEmulationResponse, error) // only available if DeviceCapability PauseToggleEmulation is present @@ -131,6 +133,15 @@ func (c *deviceControlClient) ResetSystem(ctx context.Context, in *ResetSystemRe return out, nil } +func (c *deviceControlClient) ResetToMenu(ctx context.Context, in *ResetToMenuRequest, opts ...grpc.CallOption) (*ResetToMenuResponse, error) { + out := new(ResetToMenuResponse) + err := c.cc.Invoke(ctx, "/DeviceControl/ResetToMenu", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *deviceControlClient) PauseUnpauseEmulation(ctx context.Context, in *PauseEmulationRequest, opts ...grpc.CallOption) (*PauseEmulationResponse, error) { out := new(PauseEmulationResponse) err := c.cc.Invoke(ctx, "/DeviceControl/PauseUnpauseEmulation", in, out, opts...) @@ -155,6 +166,8 @@ func (c *deviceControlClient) PauseToggleEmulation(ctx context.Context, in *Paus type DeviceControlServer interface { // only available if DeviceCapability ResetSystem is present ResetSystem(context.Context, *ResetSystemRequest) (*ResetSystemResponse, error) + // only available if DeviceCapability ResetToMenu is present + ResetToMenu(context.Context, *ResetToMenuRequest) (*ResetToMenuResponse, error) // only available if DeviceCapability PauseUnpauseEmulation is present PauseUnpauseEmulation(context.Context, *PauseEmulationRequest) (*PauseEmulationResponse, error) // only available if DeviceCapability PauseToggleEmulation is present @@ -169,6 +182,9 @@ type UnimplementedDeviceControlServer struct { func (UnimplementedDeviceControlServer) ResetSystem(context.Context, *ResetSystemRequest) (*ResetSystemResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetSystem not implemented") } +func (UnimplementedDeviceControlServer) ResetToMenu(context.Context, *ResetToMenuRequest) (*ResetToMenuResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResetToMenu not implemented") +} func (UnimplementedDeviceControlServer) PauseUnpauseEmulation(context.Context, *PauseEmulationRequest) (*PauseEmulationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PauseUnpauseEmulation not implemented") } @@ -206,6 +222,24 @@ func _DeviceControl_ResetSystem_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _DeviceControl_ResetToMenu_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResetToMenuRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceControlServer).ResetToMenu(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/DeviceControl/ResetToMenu", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceControlServer).ResetToMenu(ctx, req.(*ResetToMenuRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _DeviceControl_PauseUnpauseEmulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PauseEmulationRequest) if err := dec(in); err != nil { @@ -253,6 +287,10 @@ var DeviceControl_ServiceDesc = grpc.ServiceDesc{ MethodName: "ResetSystem", Handler: _DeviceControl_ResetSystem_Handler, }, + { + MethodName: "ResetToMenu", + Handler: _DeviceControl_ResetToMenu_Handler, + }, { MethodName: "PauseUnpauseEmulation", Handler: _DeviceControl_PauseUnpauseEmulation_Handler, diff --git a/snes/autocloseabledevice.go b/snes/autocloseabledevice.go index c726339..a0b3490 100644 --- a/snes/autocloseabledevice.go +++ b/snes/autocloseabledevice.go @@ -78,6 +78,14 @@ func (a *autoCloseableDevice) ResetSystem(ctx context.Context) (err error) { return } +func (a *autoCloseableDevice) ResetToMenu(ctx context.Context) (err error) { + err = a.ensureOpened(ctx, func(ctx context.Context, device Device) (err error) { + err = device.ResetToMenu(ctx) + return + }) + return +} + func (a *autoCloseableDevice) PauseUnpause(ctx context.Context, pausedState bool) (ok bool, err error) { err = a.ensureOpened(ctx, func(ctx context.Context, device Device) (err error) { ok, err = device.PauseUnpause(ctx, pausedState) diff --git a/snes/control.go b/snes/control.go index d9e961b..6cf00da 100644 --- a/snes/control.go +++ b/snes/control.go @@ -6,6 +6,7 @@ import ( type DeviceControl interface { ResetSystem(ctx context.Context) error + ResetToMenu(ctx context.Context) error PauseUnpause(ctx context.Context, pausedState bool) (bool, error) PauseToggle(ctx context.Context) error diff --git a/snes/drivers/emunw/client.go b/snes/drivers/emunw/client.go index 2929e1d..97a2913 100644 --- a/snes/drivers/emunw/client.go +++ b/snes/drivers/emunw/client.go @@ -437,6 +437,10 @@ func (c *Client) ResetSystem(ctx context.Context) (err error) { return } +func (c *Client) ResetToMenu(ctx context.Context) error { + panic("implement me") +} + func (c *Client) PauseUnpause(ctx context.Context, pausedState bool) (newState bool, err error) { deadline, ok := ctx.Deadline() if !ok { diff --git a/snes/drivers/fxpakpro/control.go b/snes/drivers/fxpakpro/control.go index 8be01ce..0135d58 100644 --- a/snes/drivers/fxpakpro/control.go +++ b/snes/drivers/fxpakpro/control.go @@ -9,7 +9,7 @@ func (d *Device) ResetSystem(ctx context.Context) (err error) { sb := make([]byte, 512) sb[0], sb[1], sb[2], sb[3] = byte('U'), byte('S'), byte('B'), byte('A') sb[4] = byte(OpRESET) - sb[5] = byte(SpaceFILE) + sb[5] = byte(SpaceSNES) sb[6] = byte(FlagNONE) if shouldLock(ctx) { @@ -46,6 +46,47 @@ func (d *Device) ResetSystem(ctx context.Context) (err error) { return } +func (d *Device) ResetToMenu(ctx context.Context) (err error) { + sb := make([]byte, 512) + sb[0], sb[1], sb[2], sb[3] = byte('U'), byte('S'), byte('B'), byte('A') + sb[4] = byte(OpMENU_RESET) + sb[5] = byte(SpaceSNES) + sb[6] = byte(FlagNONE) + + if shouldLock(ctx) { + defer d.lock.Unlock() + d.lock.Lock() + } + + err = sendSerial(d.f, 512, sb) + if err != nil { + err = d.FatalError(err) + _ = d.Close() + return + } + + err = recvSerial(ctx, d.f, sb, 512) + if err != nil { + err = d.FatalError(err) + _ = d.Close() + return + } + + if sb[0] != 'U' || sb[1] != 'S' || sb[2] != 'B' || sb[3] != 'A' { + _ = d.Close() + err = fmt.Errorf("menu_reset: fxpakpro response packet does not contain USBA header") + err = d.FatalError(err) + return + } + if ec := sb[5]; ec != 0 { + err = fmt.Errorf("menu_reset: %w", fxpakproError(ec)) + err = d.NonFatalError(err) + return + } + + return +} + func (d *Device) PauseUnpause(ctx context.Context, pausedState bool) (bool, error) { panic("implement me") } diff --git a/snes/drivers/fxpakpro/driver.go b/snes/drivers/fxpakpro/driver.go index ffbef5e..b781c49 100644 --- a/snes/drivers/fxpakpro/driver.go +++ b/snes/drivers/fxpakpro/driver.go @@ -63,6 +63,7 @@ var driverCapabilities = []sni.DeviceCapability{ sni.DeviceCapability_ReadMemory, sni.DeviceCapability_WriteMemory, sni.DeviceCapability_ResetSystem, + sni.DeviceCapability_ResetToMenu, sni.DeviceCapability_ExecuteASM, // filesystem: sni.DeviceCapability_ReadDirectory, diff --git a/snes/drivers/luabridge/control.go b/snes/drivers/luabridge/control.go index f6b0345..c40bf2d 100644 --- a/snes/drivers/luabridge/control.go +++ b/snes/drivers/luabridge/control.go @@ -15,6 +15,10 @@ func (d *Device) ResetSystem(ctx context.Context) (err error) { return } +func (d *Device) ResetToMenu(ctx context.Context) error { + panic("implement me") +} + func (d *Device) PauseUnpause(ctx context.Context, pausedState bool) (paused bool, err error) { deadline, ok := ctx.Deadline() if !ok { diff --git a/snes/drivers/mock/device.go b/snes/drivers/mock/device.go index 9be2f8d..3ab793b 100644 --- a/snes/drivers/mock/device.go +++ b/snes/drivers/mock/device.go @@ -91,6 +91,10 @@ func (d *Device) ResetSystem(ctx context.Context) error { panic("implement me") } +func (d *Device) ResetToMenu(ctx context.Context) error { + panic("implement me") +} + func (d *Device) PauseUnpause(ctx context.Context, pausedState bool) (bool, error) { panic("implement me") } diff --git a/snes/drivers/retroarch/raclient.go b/snes/drivers/retroarch/raclient.go index 56ea078..f5e6b51 100644 --- a/snes/drivers/retroarch/raclient.go +++ b/snes/drivers/retroarch/raclient.go @@ -585,6 +585,10 @@ func (c *RAClient) ResetSystem(ctx context.Context) (err error) { return } +func (c *RAClient) ResetToMenu(ctx context.Context) error { + panic("implement me") +} + func (c *RAClient) PauseUnpause(ctx context.Context, pausedState bool) (bool, error) { return false, fmt.Errorf("capability unavailable") } diff --git a/snes/services/grpcimpl/control.go b/snes/services/grpcimpl/control.go index aad2934..9e144d0 100644 --- a/snes/services/grpcimpl/control.go +++ b/snes/services/grpcimpl/control.go @@ -42,6 +42,35 @@ func (d *DeviceControlService) ResetSystem(gctx context.Context, request *sni.Re return } +func (d *DeviceControlService) ResetToMenu(gctx context.Context, request *sni.ResetToMenuRequest) (grsp *sni.ResetToMenuResponse, gerr error) { + uri, err := url.Parse(request.GetUri()) + if err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + + var driver snes.Driver + var device snes.AutoCloseableDevice + driver, device, gerr = snes.DeviceByUri(uri) + if gerr != nil { + return nil, grpcError(gerr) + } + + if _, err := driver.HasCapabilities(sni.DeviceCapability_ResetToMenu); err != nil { + return nil, status.Error(codes.Unimplemented, err.Error()) + } + + gerr = device.ResetToMenu(gctx) + if gerr != nil { + return nil, grpcError(gerr) + } + + grsp = &sni.ResetToMenuResponse{ + Uri: request.Uri, + } + + return +} + func (d *DeviceControlService) PauseUnpauseEmulation(gctx context.Context, request *sni.PauseEmulationRequest) (grsp *sni.PauseEmulationResponse, gerr error) { uri, err := url.Parse(request.GetUri()) if err != nil { diff --git a/snes/services/usb2snes/usb2snes.go b/snes/services/usb2snes/usb2snes.go index cf4dc16..10731ba 100644 --- a/snes/services/usb2snes/usb2snes.go +++ b/snes/services/usb2snes/usb2snes.go @@ -503,6 +503,19 @@ serverLoop: } break + case "Menu": + if device == nil { + log.Printf("usb2snes: %s: %s requires Attach first\n", clientName, cmd.Opcode) + break serverLoop + } + + err = device.ResetToMenu(context.Background()) + if err != nil { + log.Printf("usb2snes: %s: %s error: %s\n", clientName, cmd.Opcode, err) + break serverLoop + } + break + case "Boot": if device == nil { log.Printf("usb2snes: %s: %s requires Attach first\n", clientName, cmd.Opcode)