client.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v3.19.4
  5. // source: protos/client.proto
  6. package client
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type MonitorSub struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Tile *BPoint `protobuf:"bytes,1,opt,name=tile,proto3" json:"tile,omitempty"`
  24. Susbscribed bool `protobuf:"varint,2,opt,name=susbscribed,proto3" json:"susbscribed,omitempty"`
  25. }
  26. func (x *MonitorSub) Reset() {
  27. *x = MonitorSub{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_protos_client_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *MonitorSub) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*MonitorSub) ProtoMessage() {}
  38. func (x *MonitorSub) ProtoReflect() protoreflect.Message {
  39. mi := &file_protos_client_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use MonitorSub.ProtoReflect.Descriptor instead.
  50. func (*MonitorSub) Descriptor() ([]byte, []int) {
  51. return file_protos_client_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *MonitorSub) GetTile() *BPoint {
  54. if x != nil {
  55. return x.Tile
  56. }
  57. return nil
  58. }
  59. func (x *MonitorSub) GetSusbscribed() bool {
  60. if x != nil {
  61. return x.Susbscribed
  62. }
  63. return false
  64. }
  65. type MonitorPoint struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. Point *BPoint `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
  70. Color *BColor `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
  71. }
  72. func (x *MonitorPoint) Reset() {
  73. *x = MonitorPoint{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_protos_client_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *MonitorPoint) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*MonitorPoint) ProtoMessage() {}
  84. func (x *MonitorPoint) ProtoReflect() protoreflect.Message {
  85. mi := &file_protos_client_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use MonitorPoint.ProtoReflect.Descriptor instead.
  96. func (*MonitorPoint) Descriptor() ([]byte, []int) {
  97. return file_protos_client_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *MonitorPoint) GetPoint() *BPoint {
  100. if x != nil {
  101. return x.Point
  102. }
  103. return nil
  104. }
  105. func (x *MonitorPoint) GetColor() *BColor {
  106. if x != nil {
  107. return x.Color
  108. }
  109. return nil
  110. }
  111. type MonitorReply struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. Points []*MonitorPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
  116. BytesPoints []byte `protobuf:"bytes,2,opt,name=bytes_points,json=bytesPoints,proto3" json:"bytes_points,omitempty"`
  117. }
  118. func (x *MonitorReply) Reset() {
  119. *x = MonitorReply{}
  120. if protoimpl.UnsafeEnabled {
  121. mi := &file_protos_client_proto_msgTypes[2]
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. ms.StoreMessageInfo(mi)
  124. }
  125. }
  126. func (x *MonitorReply) String() string {
  127. return protoimpl.X.MessageStringOf(x)
  128. }
  129. func (*MonitorReply) ProtoMessage() {}
  130. func (x *MonitorReply) ProtoReflect() protoreflect.Message {
  131. mi := &file_protos_client_proto_msgTypes[2]
  132. if protoimpl.UnsafeEnabled && x != nil {
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. if ms.LoadMessageInfo() == nil {
  135. ms.StoreMessageInfo(mi)
  136. }
  137. return ms
  138. }
  139. return mi.MessageOf(x)
  140. }
  141. // Deprecated: Use MonitorReply.ProtoReflect.Descriptor instead.
  142. func (*MonitorReply) Descriptor() ([]byte, []int) {
  143. return file_protos_client_proto_rawDescGZIP(), []int{2}
  144. }
  145. func (x *MonitorReply) GetPoints() []*MonitorPoint {
  146. if x != nil {
  147. return x.Points
  148. }
  149. return nil
  150. }
  151. func (x *MonitorReply) GetBytesPoints() []byte {
  152. if x != nil {
  153. return x.BytesPoints
  154. }
  155. return nil
  156. }
  157. type MonitorPointList struct {
  158. state protoimpl.MessageState
  159. sizeCache protoimpl.SizeCache
  160. unknownFields protoimpl.UnknownFields
  161. Points []*MonitorPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
  162. }
  163. func (x *MonitorPointList) Reset() {
  164. *x = MonitorPointList{}
  165. if protoimpl.UnsafeEnabled {
  166. mi := &file_protos_client_proto_msgTypes[3]
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. ms.StoreMessageInfo(mi)
  169. }
  170. }
  171. func (x *MonitorPointList) String() string {
  172. return protoimpl.X.MessageStringOf(x)
  173. }
  174. func (*MonitorPointList) ProtoMessage() {}
  175. func (x *MonitorPointList) ProtoReflect() protoreflect.Message {
  176. mi := &file_protos_client_proto_msgTypes[3]
  177. if protoimpl.UnsafeEnabled && x != nil {
  178. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  179. if ms.LoadMessageInfo() == nil {
  180. ms.StoreMessageInfo(mi)
  181. }
  182. return ms
  183. }
  184. return mi.MessageOf(x)
  185. }
  186. // Deprecated: Use MonitorPointList.ProtoReflect.Descriptor instead.
  187. func (*MonitorPointList) Descriptor() ([]byte, []int) {
  188. return file_protos_client_proto_rawDescGZIP(), []int{3}
  189. }
  190. func (x *MonitorPointList) GetPoints() []*MonitorPoint {
  191. if x != nil {
  192. return x.Points
  193. }
  194. return nil
  195. }
  196. type BPoint struct {
  197. state protoimpl.MessageState
  198. sizeCache protoimpl.SizeCache
  199. unknownFields protoimpl.UnknownFields
  200. X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
  201. Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
  202. }
  203. func (x *BPoint) Reset() {
  204. *x = BPoint{}
  205. if protoimpl.UnsafeEnabled {
  206. mi := &file_protos_client_proto_msgTypes[4]
  207. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  208. ms.StoreMessageInfo(mi)
  209. }
  210. }
  211. func (x *BPoint) String() string {
  212. return protoimpl.X.MessageStringOf(x)
  213. }
  214. func (*BPoint) ProtoMessage() {}
  215. func (x *BPoint) ProtoReflect() protoreflect.Message {
  216. mi := &file_protos_client_proto_msgTypes[4]
  217. if protoimpl.UnsafeEnabled && x != nil {
  218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  219. if ms.LoadMessageInfo() == nil {
  220. ms.StoreMessageInfo(mi)
  221. }
  222. return ms
  223. }
  224. return mi.MessageOf(x)
  225. }
  226. // Deprecated: Use BPoint.ProtoReflect.Descriptor instead.
  227. func (*BPoint) Descriptor() ([]byte, []int) {
  228. return file_protos_client_proto_rawDescGZIP(), []int{4}
  229. }
  230. func (x *BPoint) GetX() int32 {
  231. if x != nil {
  232. return x.X
  233. }
  234. return 0
  235. }
  236. func (x *BPoint) GetY() int32 {
  237. if x != nil {
  238. return x.Y
  239. }
  240. return 0
  241. }
  242. type BColor struct {
  243. state protoimpl.MessageState
  244. sizeCache protoimpl.SizeCache
  245. unknownFields protoimpl.UnknownFields
  246. Rgba uint32 `protobuf:"varint,1,opt,name=rgba,proto3" json:"rgba,omitempty"`
  247. }
  248. func (x *BColor) Reset() {
  249. *x = BColor{}
  250. if protoimpl.UnsafeEnabled {
  251. mi := &file_protos_client_proto_msgTypes[5]
  252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  253. ms.StoreMessageInfo(mi)
  254. }
  255. }
  256. func (x *BColor) String() string {
  257. return protoimpl.X.MessageStringOf(x)
  258. }
  259. func (*BColor) ProtoMessage() {}
  260. func (x *BColor) ProtoReflect() protoreflect.Message {
  261. mi := &file_protos_client_proto_msgTypes[5]
  262. if protoimpl.UnsafeEnabled && x != nil {
  263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  264. if ms.LoadMessageInfo() == nil {
  265. ms.StoreMessageInfo(mi)
  266. }
  267. return ms
  268. }
  269. return mi.MessageOf(x)
  270. }
  271. // Deprecated: Use BColor.ProtoReflect.Descriptor instead.
  272. func (*BColor) Descriptor() ([]byte, []int) {
  273. return file_protos_client_proto_rawDescGZIP(), []int{5}
  274. }
  275. func (x *BColor) GetRgba() uint32 {
  276. if x != nil {
  277. return x.Rgba
  278. }
  279. return 0
  280. }
  281. type PaintRequest struct {
  282. state protoimpl.MessageState
  283. sizeCache protoimpl.SizeCache
  284. unknownFields protoimpl.UnknownFields
  285. Point *BPoint `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
  286. Color *BColor `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
  287. }
  288. func (x *PaintRequest) Reset() {
  289. *x = PaintRequest{}
  290. if protoimpl.UnsafeEnabled {
  291. mi := &file_protos_client_proto_msgTypes[6]
  292. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  293. ms.StoreMessageInfo(mi)
  294. }
  295. }
  296. func (x *PaintRequest) String() string {
  297. return protoimpl.X.MessageStringOf(x)
  298. }
  299. func (*PaintRequest) ProtoMessage() {}
  300. func (x *PaintRequest) ProtoReflect() protoreflect.Message {
  301. mi := &file_protos_client_proto_msgTypes[6]
  302. if protoimpl.UnsafeEnabled && x != nil {
  303. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  304. if ms.LoadMessageInfo() == nil {
  305. ms.StoreMessageInfo(mi)
  306. }
  307. return ms
  308. }
  309. return mi.MessageOf(x)
  310. }
  311. // Deprecated: Use PaintRequest.ProtoReflect.Descriptor instead.
  312. func (*PaintRequest) Descriptor() ([]byte, []int) {
  313. return file_protos_client_proto_rawDescGZIP(), []int{6}
  314. }
  315. func (x *PaintRequest) GetPoint() *BPoint {
  316. if x != nil {
  317. return x.Point
  318. }
  319. return nil
  320. }
  321. func (x *PaintRequest) GetColor() *BColor {
  322. if x != nil {
  323. return x.Color
  324. }
  325. return nil
  326. }
  327. // The response message containing the greetings
  328. type PaintReply struct {
  329. state protoimpl.MessageState
  330. sizeCache protoimpl.SizeCache
  331. unknownFields protoimpl.UnknownFields
  332. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  333. }
  334. func (x *PaintReply) Reset() {
  335. *x = PaintReply{}
  336. if protoimpl.UnsafeEnabled {
  337. mi := &file_protos_client_proto_msgTypes[7]
  338. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  339. ms.StoreMessageInfo(mi)
  340. }
  341. }
  342. func (x *PaintReply) String() string {
  343. return protoimpl.X.MessageStringOf(x)
  344. }
  345. func (*PaintReply) ProtoMessage() {}
  346. func (x *PaintReply) ProtoReflect() protoreflect.Message {
  347. mi := &file_protos_client_proto_msgTypes[7]
  348. if protoimpl.UnsafeEnabled && x != nil {
  349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  350. if ms.LoadMessageInfo() == nil {
  351. ms.StoreMessageInfo(mi)
  352. }
  353. return ms
  354. }
  355. return mi.MessageOf(x)
  356. }
  357. // Deprecated: Use PaintReply.ProtoReflect.Descriptor instead.
  358. func (*PaintReply) Descriptor() ([]byte, []int) {
  359. return file_protos_client_proto_rawDescGZIP(), []int{7}
  360. }
  361. func (x *PaintReply) GetMessage() string {
  362. if x != nil {
  363. return x.Message
  364. }
  365. return ""
  366. }
  367. type RTCData struct {
  368. state protoimpl.MessageState
  369. sizeCache protoimpl.SizeCache
  370. unknownFields protoimpl.UnknownFields
  371. Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
  372. Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  373. }
  374. func (x *RTCData) Reset() {
  375. *x = RTCData{}
  376. if protoimpl.UnsafeEnabled {
  377. mi := &file_protos_client_proto_msgTypes[8]
  378. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  379. ms.StoreMessageInfo(mi)
  380. }
  381. }
  382. func (x *RTCData) String() string {
  383. return protoimpl.X.MessageStringOf(x)
  384. }
  385. func (*RTCData) ProtoMessage() {}
  386. func (x *RTCData) ProtoReflect() protoreflect.Message {
  387. mi := &file_protos_client_proto_msgTypes[8]
  388. if protoimpl.UnsafeEnabled && x != nil {
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. if ms.LoadMessageInfo() == nil {
  391. ms.StoreMessageInfo(mi)
  392. }
  393. return ms
  394. }
  395. return mi.MessageOf(x)
  396. }
  397. // Deprecated: Use RTCData.ProtoReflect.Descriptor instead.
  398. func (*RTCData) Descriptor() ([]byte, []int) {
  399. return file_protos_client_proto_rawDescGZIP(), []int{8}
  400. }
  401. func (x *RTCData) GetEvent() string {
  402. if x != nil {
  403. return x.Event
  404. }
  405. return ""
  406. }
  407. func (x *RTCData) GetData() string {
  408. if x != nil {
  409. return x.Data
  410. }
  411. return ""
  412. }
  413. var File_protos_client_proto protoreflect.FileDescriptor
  414. var file_protos_client_proto_rawDesc = []byte{
  415. 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
  416. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
  417. 0x53, 0x75, 0x62, 0x12, 0x1b, 0x0a, 0x04, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  418. 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x74, 0x69, 0x6c, 0x65,
  419. 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x73, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x18,
  420. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x75, 0x73, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
  421. 0x65, 0x64, 0x22, 0x4c, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69,
  422. 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  423. 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e,
  424. 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  425. 0x32, 0x07, 0x2e, 0x42, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
  426. 0x22, 0x58, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79,
  427. 0x12, 0x25, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  428. 0x32, 0x0d, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52,
  429. 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73,
  430. 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x62,
  431. 0x79, 0x74, 0x65, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x39, 0x0a, 0x10, 0x4d, 0x6f,
  432. 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25,
  433. 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d,
  434. 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70,
  435. 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x24, 0x0a, 0x06, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12,
  436. 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a,
  437. 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x22, 0x1c, 0x0a, 0x06, 0x42,
  438. 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x67, 0x62, 0x61, 0x18, 0x01, 0x20,
  439. 0x01, 0x28, 0x0d, 0x52, 0x04, 0x72, 0x67, 0x62, 0x61, 0x22, 0x4c, 0x0a, 0x0c, 0x50, 0x61, 0x69,
  440. 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x70, 0x6f, 0x69,
  441. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e,
  442. 0x74, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f,
  443. 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
  444. 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x26, 0x0a, 0x0a, 0x50, 0x61, 0x69, 0x6e, 0x74,
  445. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  446. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
  447. 0x33, 0x0a, 0x07, 0x52, 0x54, 0x43, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76,
  448. 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,
  449. 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  450. 0x64, 0x61, 0x74, 0x61, 0x32, 0x87, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x69, 0x6e, 0x74, 0x43, 0x6c,
  451. 0x69, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x50, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x0d, 0x2e,
  452. 0x50, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x50,
  453. 0x61, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x29, 0x0a, 0x07, 0x4d,
  454. 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x0b, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
  455. 0x53, 0x75, 0x62, 0x1a, 0x0d, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70,
  456. 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x26, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  457. 0x74, 0x52, 0x54, 0x43, 0x12, 0x08, 0x2e, 0x52, 0x54, 0x43, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x08,
  458. 0x2e, 0x52, 0x54, 0x43, 0x44, 0x61, 0x74, 0x61, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x11,
  459. 0x5a, 0x0f, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
  460. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  461. }
  462. var (
  463. file_protos_client_proto_rawDescOnce sync.Once
  464. file_protos_client_proto_rawDescData = file_protos_client_proto_rawDesc
  465. )
  466. func file_protos_client_proto_rawDescGZIP() []byte {
  467. file_protos_client_proto_rawDescOnce.Do(func() {
  468. file_protos_client_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_client_proto_rawDescData)
  469. })
  470. return file_protos_client_proto_rawDescData
  471. }
  472. var file_protos_client_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  473. var file_protos_client_proto_goTypes = []interface{}{
  474. (*MonitorSub)(nil), // 0: MonitorSub
  475. (*MonitorPoint)(nil), // 1: MonitorPoint
  476. (*MonitorReply)(nil), // 2: MonitorReply
  477. (*MonitorPointList)(nil), // 3: MonitorPointList
  478. (*BPoint)(nil), // 4: BPoint
  479. (*BColor)(nil), // 5: BColor
  480. (*PaintRequest)(nil), // 6: PaintRequest
  481. (*PaintReply)(nil), // 7: PaintReply
  482. (*RTCData)(nil), // 8: RTCData
  483. }
  484. var file_protos_client_proto_depIdxs = []int32{
  485. 4, // 0: MonitorSub.tile:type_name -> BPoint
  486. 4, // 1: MonitorPoint.point:type_name -> BPoint
  487. 5, // 2: MonitorPoint.color:type_name -> BColor
  488. 1, // 3: MonitorReply.points:type_name -> MonitorPoint
  489. 1, // 4: MonitorPointList.points:type_name -> MonitorPoint
  490. 4, // 5: PaintRequest.point:type_name -> BPoint
  491. 5, // 6: PaintRequest.color:type_name -> BColor
  492. 6, // 7: PaintClient.Paint:input_type -> PaintRequest
  493. 0, // 8: PaintClient.Monitor:input_type -> MonitorSub
  494. 8, // 9: PaintClient.RequestRTC:input_type -> RTCData
  495. 7, // 10: PaintClient.Paint:output_type -> PaintReply
  496. 2, // 11: PaintClient.Monitor:output_type -> MonitorReply
  497. 8, // 12: PaintClient.RequestRTC:output_type -> RTCData
  498. 10, // [10:13] is the sub-list for method output_type
  499. 7, // [7:10] is the sub-list for method input_type
  500. 7, // [7:7] is the sub-list for extension type_name
  501. 7, // [7:7] is the sub-list for extension extendee
  502. 0, // [0:7] is the sub-list for field type_name
  503. }
  504. func init() { file_protos_client_proto_init() }
  505. func file_protos_client_proto_init() {
  506. if File_protos_client_proto != nil {
  507. return
  508. }
  509. if !protoimpl.UnsafeEnabled {
  510. file_protos_client_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  511. switch v := v.(*MonitorSub); i {
  512. case 0:
  513. return &v.state
  514. case 1:
  515. return &v.sizeCache
  516. case 2:
  517. return &v.unknownFields
  518. default:
  519. return nil
  520. }
  521. }
  522. file_protos_client_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  523. switch v := v.(*MonitorPoint); i {
  524. case 0:
  525. return &v.state
  526. case 1:
  527. return &v.sizeCache
  528. case 2:
  529. return &v.unknownFields
  530. default:
  531. return nil
  532. }
  533. }
  534. file_protos_client_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  535. switch v := v.(*MonitorReply); i {
  536. case 0:
  537. return &v.state
  538. case 1:
  539. return &v.sizeCache
  540. case 2:
  541. return &v.unknownFields
  542. default:
  543. return nil
  544. }
  545. }
  546. file_protos_client_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  547. switch v := v.(*MonitorPointList); i {
  548. case 0:
  549. return &v.state
  550. case 1:
  551. return &v.sizeCache
  552. case 2:
  553. return &v.unknownFields
  554. default:
  555. return nil
  556. }
  557. }
  558. file_protos_client_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  559. switch v := v.(*BPoint); i {
  560. case 0:
  561. return &v.state
  562. case 1:
  563. return &v.sizeCache
  564. case 2:
  565. return &v.unknownFields
  566. default:
  567. return nil
  568. }
  569. }
  570. file_protos_client_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  571. switch v := v.(*BColor); i {
  572. case 0:
  573. return &v.state
  574. case 1:
  575. return &v.sizeCache
  576. case 2:
  577. return &v.unknownFields
  578. default:
  579. return nil
  580. }
  581. }
  582. file_protos_client_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  583. switch v := v.(*PaintRequest); i {
  584. case 0:
  585. return &v.state
  586. case 1:
  587. return &v.sizeCache
  588. case 2:
  589. return &v.unknownFields
  590. default:
  591. return nil
  592. }
  593. }
  594. file_protos_client_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  595. switch v := v.(*PaintReply); i {
  596. case 0:
  597. return &v.state
  598. case 1:
  599. return &v.sizeCache
  600. case 2:
  601. return &v.unknownFields
  602. default:
  603. return nil
  604. }
  605. }
  606. file_protos_client_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  607. switch v := v.(*RTCData); i {
  608. case 0:
  609. return &v.state
  610. case 1:
  611. return &v.sizeCache
  612. case 2:
  613. return &v.unknownFields
  614. default:
  615. return nil
  616. }
  617. }
  618. }
  619. type x struct{}
  620. out := protoimpl.TypeBuilder{
  621. File: protoimpl.DescBuilder{
  622. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  623. RawDescriptor: file_protos_client_proto_rawDesc,
  624. NumEnums: 0,
  625. NumMessages: 9,
  626. NumExtensions: 0,
  627. NumServices: 1,
  628. },
  629. GoTypes: file_protos_client_proto_goTypes,
  630. DependencyIndexes: file_protos_client_proto_depIdxs,
  631. MessageInfos: file_protos_client_proto_msgTypes,
  632. }.Build()
  633. File_protos_client_proto = out.File
  634. file_protos_client_proto_rawDesc = nil
  635. file_protos_client_proto_goTypes = nil
  636. file_protos_client_proto_depIdxs = nil
  637. }