park.pb.go 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: park.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type ParkAddRequest struct {
  20. ParkNumber string `protobuf:"bytes,1,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  21. ParkName string `protobuf:"bytes,2,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  22. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  23. GardenId int64 `protobuf:"varint,4,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  24. ParkType int32 `protobuf:"varint,5,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *ParkAddRequest) Reset() { *m = ParkAddRequest{} }
  30. func (m *ParkAddRequest) String() string { return proto.CompactTextString(m) }
  31. func (*ParkAddRequest) ProtoMessage() {}
  32. func (*ParkAddRequest) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_1e1e7f6a041ccf05, []int{0}
  34. }
  35. func (m *ParkAddRequest) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_ParkAddRequest.Unmarshal(m, b)
  37. }
  38. func (m *ParkAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_ParkAddRequest.Marshal(b, m, deterministic)
  40. }
  41. func (m *ParkAddRequest) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_ParkAddRequest.Merge(m, src)
  43. }
  44. func (m *ParkAddRequest) XXX_Size() int {
  45. return xxx_messageInfo_ParkAddRequest.Size(m)
  46. }
  47. func (m *ParkAddRequest) XXX_DiscardUnknown() {
  48. xxx_messageInfo_ParkAddRequest.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_ParkAddRequest proto.InternalMessageInfo
  51. func (m *ParkAddRequest) GetParkNumber() string {
  52. if m != nil {
  53. return m.ParkNumber
  54. }
  55. return ""
  56. }
  57. func (m *ParkAddRequest) GetParkName() string {
  58. if m != nil {
  59. return m.ParkName
  60. }
  61. return ""
  62. }
  63. func (m *ParkAddRequest) GetComment() string {
  64. if m != nil {
  65. return m.Comment
  66. }
  67. return ""
  68. }
  69. func (m *ParkAddRequest) GetGardenId() int64 {
  70. if m != nil {
  71. return m.GardenId
  72. }
  73. return 0
  74. }
  75. func (m *ParkAddRequest) GetParkType() int32 {
  76. if m != nil {
  77. return m.ParkType
  78. }
  79. return 0
  80. }
  81. type ParkAddReply struct {
  82. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  83. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  84. XXX_unrecognized []byte `json:"-"`
  85. XXX_sizecache int32 `json:"-"`
  86. }
  87. func (m *ParkAddReply) Reset() { *m = ParkAddReply{} }
  88. func (m *ParkAddReply) String() string { return proto.CompactTextString(m) }
  89. func (*ParkAddReply) ProtoMessage() {}
  90. func (*ParkAddReply) Descriptor() ([]byte, []int) {
  91. return fileDescriptor_1e1e7f6a041ccf05, []int{1}
  92. }
  93. func (m *ParkAddReply) XXX_Unmarshal(b []byte) error {
  94. return xxx_messageInfo_ParkAddReply.Unmarshal(m, b)
  95. }
  96. func (m *ParkAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  97. return xxx_messageInfo_ParkAddReply.Marshal(b, m, deterministic)
  98. }
  99. func (m *ParkAddReply) XXX_Merge(src proto.Message) {
  100. xxx_messageInfo_ParkAddReply.Merge(m, src)
  101. }
  102. func (m *ParkAddReply) XXX_Size() int {
  103. return xxx_messageInfo_ParkAddReply.Size(m)
  104. }
  105. func (m *ParkAddReply) XXX_DiscardUnknown() {
  106. xxx_messageInfo_ParkAddReply.DiscardUnknown(m)
  107. }
  108. var xxx_messageInfo_ParkAddReply proto.InternalMessageInfo
  109. func (m *ParkAddReply) GetId() int64 {
  110. if m != nil {
  111. return m.Id
  112. }
  113. return 0
  114. }
  115. type ParkUpdateRequest struct {
  116. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  117. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  118. ParkNumber string `protobuf:"bytes,3,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  119. ParkName string `protobuf:"bytes,4,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  120. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment"`
  121. ParkType int32 `protobuf:"varint,6,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  122. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  123. XXX_unrecognized []byte `json:"-"`
  124. XXX_sizecache int32 `json:"-"`
  125. }
  126. func (m *ParkUpdateRequest) Reset() { *m = ParkUpdateRequest{} }
  127. func (m *ParkUpdateRequest) String() string { return proto.CompactTextString(m) }
  128. func (*ParkUpdateRequest) ProtoMessage() {}
  129. func (*ParkUpdateRequest) Descriptor() ([]byte, []int) {
  130. return fileDescriptor_1e1e7f6a041ccf05, []int{2}
  131. }
  132. func (m *ParkUpdateRequest) XXX_Unmarshal(b []byte) error {
  133. return xxx_messageInfo_ParkUpdateRequest.Unmarshal(m, b)
  134. }
  135. func (m *ParkUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  136. return xxx_messageInfo_ParkUpdateRequest.Marshal(b, m, deterministic)
  137. }
  138. func (m *ParkUpdateRequest) XXX_Merge(src proto.Message) {
  139. xxx_messageInfo_ParkUpdateRequest.Merge(m, src)
  140. }
  141. func (m *ParkUpdateRequest) XXX_Size() int {
  142. return xxx_messageInfo_ParkUpdateRequest.Size(m)
  143. }
  144. func (m *ParkUpdateRequest) XXX_DiscardUnknown() {
  145. xxx_messageInfo_ParkUpdateRequest.DiscardUnknown(m)
  146. }
  147. var xxx_messageInfo_ParkUpdateRequest proto.InternalMessageInfo
  148. func (m *ParkUpdateRequest) GetId() int64 {
  149. if m != nil {
  150. return m.Id
  151. }
  152. return 0
  153. }
  154. func (m *ParkUpdateRequest) GetGardenId() int64 {
  155. if m != nil {
  156. return m.GardenId
  157. }
  158. return 0
  159. }
  160. func (m *ParkUpdateRequest) GetParkNumber() string {
  161. if m != nil {
  162. return m.ParkNumber
  163. }
  164. return ""
  165. }
  166. func (m *ParkUpdateRequest) GetParkName() string {
  167. if m != nil {
  168. return m.ParkName
  169. }
  170. return ""
  171. }
  172. func (m *ParkUpdateRequest) GetComment() string {
  173. if m != nil {
  174. return m.Comment
  175. }
  176. return ""
  177. }
  178. func (m *ParkUpdateRequest) GetParkType() int32 {
  179. if m != nil {
  180. return m.ParkType
  181. }
  182. return 0
  183. }
  184. type ParkUpdateReply struct {
  185. Origin *ParkUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  186. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  187. XXX_unrecognized []byte `json:"-"`
  188. XXX_sizecache int32 `json:"-"`
  189. }
  190. func (m *ParkUpdateReply) Reset() { *m = ParkUpdateReply{} }
  191. func (m *ParkUpdateReply) String() string { return proto.CompactTextString(m) }
  192. func (*ParkUpdateReply) ProtoMessage() {}
  193. func (*ParkUpdateReply) Descriptor() ([]byte, []int) {
  194. return fileDescriptor_1e1e7f6a041ccf05, []int{3}
  195. }
  196. func (m *ParkUpdateReply) XXX_Unmarshal(b []byte) error {
  197. return xxx_messageInfo_ParkUpdateReply.Unmarshal(m, b)
  198. }
  199. func (m *ParkUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  200. return xxx_messageInfo_ParkUpdateReply.Marshal(b, m, deterministic)
  201. }
  202. func (m *ParkUpdateReply) XXX_Merge(src proto.Message) {
  203. xxx_messageInfo_ParkUpdateReply.Merge(m, src)
  204. }
  205. func (m *ParkUpdateReply) XXX_Size() int {
  206. return xxx_messageInfo_ParkUpdateReply.Size(m)
  207. }
  208. func (m *ParkUpdateReply) XXX_DiscardUnknown() {
  209. xxx_messageInfo_ParkUpdateReply.DiscardUnknown(m)
  210. }
  211. var xxx_messageInfo_ParkUpdateReply proto.InternalMessageInfo
  212. func (m *ParkUpdateReply) GetOrigin() *ParkUpdateRequest {
  213. if m != nil {
  214. return m.Origin
  215. }
  216. return nil
  217. }
  218. type ParkDelRequest struct {
  219. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  220. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  221. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  222. XXX_unrecognized []byte `json:"-"`
  223. XXX_sizecache int32 `json:"-"`
  224. }
  225. func (m *ParkDelRequest) Reset() { *m = ParkDelRequest{} }
  226. func (m *ParkDelRequest) String() string { return proto.CompactTextString(m) }
  227. func (*ParkDelRequest) ProtoMessage() {}
  228. func (*ParkDelRequest) Descriptor() ([]byte, []int) {
  229. return fileDescriptor_1e1e7f6a041ccf05, []int{4}
  230. }
  231. func (m *ParkDelRequest) XXX_Unmarshal(b []byte) error {
  232. return xxx_messageInfo_ParkDelRequest.Unmarshal(m, b)
  233. }
  234. func (m *ParkDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  235. return xxx_messageInfo_ParkDelRequest.Marshal(b, m, deterministic)
  236. }
  237. func (m *ParkDelRequest) XXX_Merge(src proto.Message) {
  238. xxx_messageInfo_ParkDelRequest.Merge(m, src)
  239. }
  240. func (m *ParkDelRequest) XXX_Size() int {
  241. return xxx_messageInfo_ParkDelRequest.Size(m)
  242. }
  243. func (m *ParkDelRequest) XXX_DiscardUnknown() {
  244. xxx_messageInfo_ParkDelRequest.DiscardUnknown(m)
  245. }
  246. var xxx_messageInfo_ParkDelRequest proto.InternalMessageInfo
  247. func (m *ParkDelRequest) GetId() int64 {
  248. if m != nil {
  249. return m.Id
  250. }
  251. return 0
  252. }
  253. func (m *ParkDelRequest) GetGardenId() int64 {
  254. if m != nil {
  255. return m.GardenId
  256. }
  257. return 0
  258. }
  259. type ParkDelReply struct {
  260. Origin *ParkUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  261. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  262. XXX_unrecognized []byte `json:"-"`
  263. XXX_sizecache int32 `json:"-"`
  264. }
  265. func (m *ParkDelReply) Reset() { *m = ParkDelReply{} }
  266. func (m *ParkDelReply) String() string { return proto.CompactTextString(m) }
  267. func (*ParkDelReply) ProtoMessage() {}
  268. func (*ParkDelReply) Descriptor() ([]byte, []int) {
  269. return fileDescriptor_1e1e7f6a041ccf05, []int{5}
  270. }
  271. func (m *ParkDelReply) XXX_Unmarshal(b []byte) error {
  272. return xxx_messageInfo_ParkDelReply.Unmarshal(m, b)
  273. }
  274. func (m *ParkDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  275. return xxx_messageInfo_ParkDelReply.Marshal(b, m, deterministic)
  276. }
  277. func (m *ParkDelReply) XXX_Merge(src proto.Message) {
  278. xxx_messageInfo_ParkDelReply.Merge(m, src)
  279. }
  280. func (m *ParkDelReply) XXX_Size() int {
  281. return xxx_messageInfo_ParkDelReply.Size(m)
  282. }
  283. func (m *ParkDelReply) XXX_DiscardUnknown() {
  284. xxx_messageInfo_ParkDelReply.DiscardUnknown(m)
  285. }
  286. var xxx_messageInfo_ParkDelReply proto.InternalMessageInfo
  287. func (m *ParkDelReply) GetOrigin() *ParkUpdateRequest {
  288. if m != nil {
  289. return m.Origin
  290. }
  291. return nil
  292. }
  293. type ParkListRequest struct {
  294. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  295. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  296. XXX_unrecognized []byte `json:"-"`
  297. XXX_sizecache int32 `json:"-"`
  298. }
  299. func (m *ParkListRequest) Reset() { *m = ParkListRequest{} }
  300. func (m *ParkListRequest) String() string { return proto.CompactTextString(m) }
  301. func (*ParkListRequest) ProtoMessage() {}
  302. func (*ParkListRequest) Descriptor() ([]byte, []int) {
  303. return fileDescriptor_1e1e7f6a041ccf05, []int{6}
  304. }
  305. func (m *ParkListRequest) XXX_Unmarshal(b []byte) error {
  306. return xxx_messageInfo_ParkListRequest.Unmarshal(m, b)
  307. }
  308. func (m *ParkListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  309. return xxx_messageInfo_ParkListRequest.Marshal(b, m, deterministic)
  310. }
  311. func (m *ParkListRequest) XXX_Merge(src proto.Message) {
  312. xxx_messageInfo_ParkListRequest.Merge(m, src)
  313. }
  314. func (m *ParkListRequest) XXX_Size() int {
  315. return xxx_messageInfo_ParkListRequest.Size(m)
  316. }
  317. func (m *ParkListRequest) XXX_DiscardUnknown() {
  318. xxx_messageInfo_ParkListRequest.DiscardUnknown(m)
  319. }
  320. var xxx_messageInfo_ParkListRequest proto.InternalMessageInfo
  321. func (m *ParkListRequest) GetGardenId() int64 {
  322. if m != nil {
  323. return m.GardenId
  324. }
  325. return 0
  326. }
  327. type ParkItem struct {
  328. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  329. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  330. ParkNumber string `protobuf:"bytes,3,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  331. ParkName string `protobuf:"bytes,4,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  332. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment"`
  333. SpaceCount int64 `protobuf:"varint,6,opt,name=space_count,json=spaceCount,proto3" json:"space_count"`
  334. CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  335. ParkType int32 `protobuf:"varint,8,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  336. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  337. XXX_unrecognized []byte `json:"-"`
  338. XXX_sizecache int32 `json:"-"`
  339. }
  340. func (m *ParkItem) Reset() { *m = ParkItem{} }
  341. func (m *ParkItem) String() string { return proto.CompactTextString(m) }
  342. func (*ParkItem) ProtoMessage() {}
  343. func (*ParkItem) Descriptor() ([]byte, []int) {
  344. return fileDescriptor_1e1e7f6a041ccf05, []int{7}
  345. }
  346. func (m *ParkItem) XXX_Unmarshal(b []byte) error {
  347. return xxx_messageInfo_ParkItem.Unmarshal(m, b)
  348. }
  349. func (m *ParkItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  350. return xxx_messageInfo_ParkItem.Marshal(b, m, deterministic)
  351. }
  352. func (m *ParkItem) XXX_Merge(src proto.Message) {
  353. xxx_messageInfo_ParkItem.Merge(m, src)
  354. }
  355. func (m *ParkItem) XXX_Size() int {
  356. return xxx_messageInfo_ParkItem.Size(m)
  357. }
  358. func (m *ParkItem) XXX_DiscardUnknown() {
  359. xxx_messageInfo_ParkItem.DiscardUnknown(m)
  360. }
  361. var xxx_messageInfo_ParkItem proto.InternalMessageInfo
  362. func (m *ParkItem) GetId() int64 {
  363. if m != nil {
  364. return m.Id
  365. }
  366. return 0
  367. }
  368. func (m *ParkItem) GetGardenId() int64 {
  369. if m != nil {
  370. return m.GardenId
  371. }
  372. return 0
  373. }
  374. func (m *ParkItem) GetParkNumber() string {
  375. if m != nil {
  376. return m.ParkNumber
  377. }
  378. return ""
  379. }
  380. func (m *ParkItem) GetParkName() string {
  381. if m != nil {
  382. return m.ParkName
  383. }
  384. return ""
  385. }
  386. func (m *ParkItem) GetComment() string {
  387. if m != nil {
  388. return m.Comment
  389. }
  390. return ""
  391. }
  392. func (m *ParkItem) GetSpaceCount() int64 {
  393. if m != nil {
  394. return m.SpaceCount
  395. }
  396. return 0
  397. }
  398. func (m *ParkItem) GetCreatedAt() string {
  399. if m != nil {
  400. return m.CreatedAt
  401. }
  402. return ""
  403. }
  404. func (m *ParkItem) GetParkType() int32 {
  405. if m != nil {
  406. return m.ParkType
  407. }
  408. return 0
  409. }
  410. type ParkListReply struct {
  411. List []*ParkItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  412. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  413. XXX_unrecognized []byte `json:"-"`
  414. XXX_sizecache int32 `json:"-"`
  415. }
  416. func (m *ParkListReply) Reset() { *m = ParkListReply{} }
  417. func (m *ParkListReply) String() string { return proto.CompactTextString(m) }
  418. func (*ParkListReply) ProtoMessage() {}
  419. func (*ParkListReply) Descriptor() ([]byte, []int) {
  420. return fileDescriptor_1e1e7f6a041ccf05, []int{8}
  421. }
  422. func (m *ParkListReply) XXX_Unmarshal(b []byte) error {
  423. return xxx_messageInfo_ParkListReply.Unmarshal(m, b)
  424. }
  425. func (m *ParkListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  426. return xxx_messageInfo_ParkListReply.Marshal(b, m, deterministic)
  427. }
  428. func (m *ParkListReply) XXX_Merge(src proto.Message) {
  429. xxx_messageInfo_ParkListReply.Merge(m, src)
  430. }
  431. func (m *ParkListReply) XXX_Size() int {
  432. return xxx_messageInfo_ParkListReply.Size(m)
  433. }
  434. func (m *ParkListReply) XXX_DiscardUnknown() {
  435. xxx_messageInfo_ParkListReply.DiscardUnknown(m)
  436. }
  437. var xxx_messageInfo_ParkListReply proto.InternalMessageInfo
  438. func (m *ParkListReply) GetList() []*ParkItem {
  439. if m != nil {
  440. return m.List
  441. }
  442. return nil
  443. }
  444. type ParkSpaceAddRequest struct {
  445. SpaceNumber string `protobuf:"bytes,1,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  446. SpaceArea float64 `protobuf:"fixed64,2,opt,name=space_area,json=spaceArea,proto3" json:"space_area"`
  447. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  448. ParkId int64 `protobuf:"varint,4,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  449. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  450. GardenId int64 `protobuf:"varint,6,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  451. HouseId int64 `protobuf:"varint,7,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  452. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  453. XXX_unrecognized []byte `json:"-"`
  454. XXX_sizecache int32 `json:"-"`
  455. }
  456. func (m *ParkSpaceAddRequest) Reset() { *m = ParkSpaceAddRequest{} }
  457. func (m *ParkSpaceAddRequest) String() string { return proto.CompactTextString(m) }
  458. func (*ParkSpaceAddRequest) ProtoMessage() {}
  459. func (*ParkSpaceAddRequest) Descriptor() ([]byte, []int) {
  460. return fileDescriptor_1e1e7f6a041ccf05, []int{9}
  461. }
  462. func (m *ParkSpaceAddRequest) XXX_Unmarshal(b []byte) error {
  463. return xxx_messageInfo_ParkSpaceAddRequest.Unmarshal(m, b)
  464. }
  465. func (m *ParkSpaceAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  466. return xxx_messageInfo_ParkSpaceAddRequest.Marshal(b, m, deterministic)
  467. }
  468. func (m *ParkSpaceAddRequest) XXX_Merge(src proto.Message) {
  469. xxx_messageInfo_ParkSpaceAddRequest.Merge(m, src)
  470. }
  471. func (m *ParkSpaceAddRequest) XXX_Size() int {
  472. return xxx_messageInfo_ParkSpaceAddRequest.Size(m)
  473. }
  474. func (m *ParkSpaceAddRequest) XXX_DiscardUnknown() {
  475. xxx_messageInfo_ParkSpaceAddRequest.DiscardUnknown(m)
  476. }
  477. var xxx_messageInfo_ParkSpaceAddRequest proto.InternalMessageInfo
  478. func (m *ParkSpaceAddRequest) GetSpaceNumber() string {
  479. if m != nil {
  480. return m.SpaceNumber
  481. }
  482. return ""
  483. }
  484. func (m *ParkSpaceAddRequest) GetSpaceArea() float64 {
  485. if m != nil {
  486. return m.SpaceArea
  487. }
  488. return 0
  489. }
  490. func (m *ParkSpaceAddRequest) GetComment() string {
  491. if m != nil {
  492. return m.Comment
  493. }
  494. return ""
  495. }
  496. func (m *ParkSpaceAddRequest) GetParkId() int64 {
  497. if m != nil {
  498. return m.ParkId
  499. }
  500. return 0
  501. }
  502. func (m *ParkSpaceAddRequest) GetSpaceType() int32 {
  503. if m != nil {
  504. return m.SpaceType
  505. }
  506. return 0
  507. }
  508. func (m *ParkSpaceAddRequest) GetGardenId() int64 {
  509. if m != nil {
  510. return m.GardenId
  511. }
  512. return 0
  513. }
  514. func (m *ParkSpaceAddRequest) GetHouseId() int64 {
  515. if m != nil {
  516. return m.HouseId
  517. }
  518. return 0
  519. }
  520. type ParkSpaceAddReply struct {
  521. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  522. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  523. XXX_unrecognized []byte `json:"-"`
  524. XXX_sizecache int32 `json:"-"`
  525. }
  526. func (m *ParkSpaceAddReply) Reset() { *m = ParkSpaceAddReply{} }
  527. func (m *ParkSpaceAddReply) String() string { return proto.CompactTextString(m) }
  528. func (*ParkSpaceAddReply) ProtoMessage() {}
  529. func (*ParkSpaceAddReply) Descriptor() ([]byte, []int) {
  530. return fileDescriptor_1e1e7f6a041ccf05, []int{10}
  531. }
  532. func (m *ParkSpaceAddReply) XXX_Unmarshal(b []byte) error {
  533. return xxx_messageInfo_ParkSpaceAddReply.Unmarshal(m, b)
  534. }
  535. func (m *ParkSpaceAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  536. return xxx_messageInfo_ParkSpaceAddReply.Marshal(b, m, deterministic)
  537. }
  538. func (m *ParkSpaceAddReply) XXX_Merge(src proto.Message) {
  539. xxx_messageInfo_ParkSpaceAddReply.Merge(m, src)
  540. }
  541. func (m *ParkSpaceAddReply) XXX_Size() int {
  542. return xxx_messageInfo_ParkSpaceAddReply.Size(m)
  543. }
  544. func (m *ParkSpaceAddReply) XXX_DiscardUnknown() {
  545. xxx_messageInfo_ParkSpaceAddReply.DiscardUnknown(m)
  546. }
  547. var xxx_messageInfo_ParkSpaceAddReply proto.InternalMessageInfo
  548. func (m *ParkSpaceAddReply) GetId() int64 {
  549. if m != nil {
  550. return m.Id
  551. }
  552. return 0
  553. }
  554. type ParkSpaceUpdateRequest struct {
  555. SpaceNumber string `protobuf:"bytes,1,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  556. SpaceArea float64 `protobuf:"fixed64,2,opt,name=space_area,json=spaceArea,proto3" json:"space_area"`
  557. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  558. ParkId int64 `protobuf:"varint,4,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  559. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  560. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id"`
  561. GardenId int64 `protobuf:"varint,7,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  562. HouseId int64 `protobuf:"varint,8,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  563. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  564. XXX_unrecognized []byte `json:"-"`
  565. XXX_sizecache int32 `json:"-"`
  566. }
  567. func (m *ParkSpaceUpdateRequest) Reset() { *m = ParkSpaceUpdateRequest{} }
  568. func (m *ParkSpaceUpdateRequest) String() string { return proto.CompactTextString(m) }
  569. func (*ParkSpaceUpdateRequest) ProtoMessage() {}
  570. func (*ParkSpaceUpdateRequest) Descriptor() ([]byte, []int) {
  571. return fileDescriptor_1e1e7f6a041ccf05, []int{11}
  572. }
  573. func (m *ParkSpaceUpdateRequest) XXX_Unmarshal(b []byte) error {
  574. return xxx_messageInfo_ParkSpaceUpdateRequest.Unmarshal(m, b)
  575. }
  576. func (m *ParkSpaceUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  577. return xxx_messageInfo_ParkSpaceUpdateRequest.Marshal(b, m, deterministic)
  578. }
  579. func (m *ParkSpaceUpdateRequest) XXX_Merge(src proto.Message) {
  580. xxx_messageInfo_ParkSpaceUpdateRequest.Merge(m, src)
  581. }
  582. func (m *ParkSpaceUpdateRequest) XXX_Size() int {
  583. return xxx_messageInfo_ParkSpaceUpdateRequest.Size(m)
  584. }
  585. func (m *ParkSpaceUpdateRequest) XXX_DiscardUnknown() {
  586. xxx_messageInfo_ParkSpaceUpdateRequest.DiscardUnknown(m)
  587. }
  588. var xxx_messageInfo_ParkSpaceUpdateRequest proto.InternalMessageInfo
  589. func (m *ParkSpaceUpdateRequest) GetSpaceNumber() string {
  590. if m != nil {
  591. return m.SpaceNumber
  592. }
  593. return ""
  594. }
  595. func (m *ParkSpaceUpdateRequest) GetSpaceArea() float64 {
  596. if m != nil {
  597. return m.SpaceArea
  598. }
  599. return 0
  600. }
  601. func (m *ParkSpaceUpdateRequest) GetComment() string {
  602. if m != nil {
  603. return m.Comment
  604. }
  605. return ""
  606. }
  607. func (m *ParkSpaceUpdateRequest) GetParkId() int64 {
  608. if m != nil {
  609. return m.ParkId
  610. }
  611. return 0
  612. }
  613. func (m *ParkSpaceUpdateRequest) GetSpaceType() int32 {
  614. if m != nil {
  615. return m.SpaceType
  616. }
  617. return 0
  618. }
  619. func (m *ParkSpaceUpdateRequest) GetId() int64 {
  620. if m != nil {
  621. return m.Id
  622. }
  623. return 0
  624. }
  625. func (m *ParkSpaceUpdateRequest) GetGardenId() int64 {
  626. if m != nil {
  627. return m.GardenId
  628. }
  629. return 0
  630. }
  631. func (m *ParkSpaceUpdateRequest) GetHouseId() int64 {
  632. if m != nil {
  633. return m.HouseId
  634. }
  635. return 0
  636. }
  637. type ParkSpaceUpdateReply struct {
  638. Origin *ParkSpaceUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  639. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  640. XXX_unrecognized []byte `json:"-"`
  641. XXX_sizecache int32 `json:"-"`
  642. }
  643. func (m *ParkSpaceUpdateReply) Reset() { *m = ParkSpaceUpdateReply{} }
  644. func (m *ParkSpaceUpdateReply) String() string { return proto.CompactTextString(m) }
  645. func (*ParkSpaceUpdateReply) ProtoMessage() {}
  646. func (*ParkSpaceUpdateReply) Descriptor() ([]byte, []int) {
  647. return fileDescriptor_1e1e7f6a041ccf05, []int{12}
  648. }
  649. func (m *ParkSpaceUpdateReply) XXX_Unmarshal(b []byte) error {
  650. return xxx_messageInfo_ParkSpaceUpdateReply.Unmarshal(m, b)
  651. }
  652. func (m *ParkSpaceUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  653. return xxx_messageInfo_ParkSpaceUpdateReply.Marshal(b, m, deterministic)
  654. }
  655. func (m *ParkSpaceUpdateReply) XXX_Merge(src proto.Message) {
  656. xxx_messageInfo_ParkSpaceUpdateReply.Merge(m, src)
  657. }
  658. func (m *ParkSpaceUpdateReply) XXX_Size() int {
  659. return xxx_messageInfo_ParkSpaceUpdateReply.Size(m)
  660. }
  661. func (m *ParkSpaceUpdateReply) XXX_DiscardUnknown() {
  662. xxx_messageInfo_ParkSpaceUpdateReply.DiscardUnknown(m)
  663. }
  664. var xxx_messageInfo_ParkSpaceUpdateReply proto.InternalMessageInfo
  665. func (m *ParkSpaceUpdateReply) GetOrigin() *ParkSpaceUpdateRequest {
  666. if m != nil {
  667. return m.Origin
  668. }
  669. return nil
  670. }
  671. type ParkSpaceDelRequest struct {
  672. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  673. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  674. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  675. XXX_unrecognized []byte `json:"-"`
  676. XXX_sizecache int32 `json:"-"`
  677. }
  678. func (m *ParkSpaceDelRequest) Reset() { *m = ParkSpaceDelRequest{} }
  679. func (m *ParkSpaceDelRequest) String() string { return proto.CompactTextString(m) }
  680. func (*ParkSpaceDelRequest) ProtoMessage() {}
  681. func (*ParkSpaceDelRequest) Descriptor() ([]byte, []int) {
  682. return fileDescriptor_1e1e7f6a041ccf05, []int{13}
  683. }
  684. func (m *ParkSpaceDelRequest) XXX_Unmarshal(b []byte) error {
  685. return xxx_messageInfo_ParkSpaceDelRequest.Unmarshal(m, b)
  686. }
  687. func (m *ParkSpaceDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  688. return xxx_messageInfo_ParkSpaceDelRequest.Marshal(b, m, deterministic)
  689. }
  690. func (m *ParkSpaceDelRequest) XXX_Merge(src proto.Message) {
  691. xxx_messageInfo_ParkSpaceDelRequest.Merge(m, src)
  692. }
  693. func (m *ParkSpaceDelRequest) XXX_Size() int {
  694. return xxx_messageInfo_ParkSpaceDelRequest.Size(m)
  695. }
  696. func (m *ParkSpaceDelRequest) XXX_DiscardUnknown() {
  697. xxx_messageInfo_ParkSpaceDelRequest.DiscardUnknown(m)
  698. }
  699. var xxx_messageInfo_ParkSpaceDelRequest proto.InternalMessageInfo
  700. func (m *ParkSpaceDelRequest) GetId() int64 {
  701. if m != nil {
  702. return m.Id
  703. }
  704. return 0
  705. }
  706. func (m *ParkSpaceDelRequest) GetGardenId() int64 {
  707. if m != nil {
  708. return m.GardenId
  709. }
  710. return 0
  711. }
  712. type ParkSpaceDelReply struct {
  713. Origin *ParkSpaceUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  714. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  715. XXX_unrecognized []byte `json:"-"`
  716. XXX_sizecache int32 `json:"-"`
  717. }
  718. func (m *ParkSpaceDelReply) Reset() { *m = ParkSpaceDelReply{} }
  719. func (m *ParkSpaceDelReply) String() string { return proto.CompactTextString(m) }
  720. func (*ParkSpaceDelReply) ProtoMessage() {}
  721. func (*ParkSpaceDelReply) Descriptor() ([]byte, []int) {
  722. return fileDescriptor_1e1e7f6a041ccf05, []int{14}
  723. }
  724. func (m *ParkSpaceDelReply) XXX_Unmarshal(b []byte) error {
  725. return xxx_messageInfo_ParkSpaceDelReply.Unmarshal(m, b)
  726. }
  727. func (m *ParkSpaceDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  728. return xxx_messageInfo_ParkSpaceDelReply.Marshal(b, m, deterministic)
  729. }
  730. func (m *ParkSpaceDelReply) XXX_Merge(src proto.Message) {
  731. xxx_messageInfo_ParkSpaceDelReply.Merge(m, src)
  732. }
  733. func (m *ParkSpaceDelReply) XXX_Size() int {
  734. return xxx_messageInfo_ParkSpaceDelReply.Size(m)
  735. }
  736. func (m *ParkSpaceDelReply) XXX_DiscardUnknown() {
  737. xxx_messageInfo_ParkSpaceDelReply.DiscardUnknown(m)
  738. }
  739. var xxx_messageInfo_ParkSpaceDelReply proto.InternalMessageInfo
  740. func (m *ParkSpaceDelReply) GetOrigin() *ParkSpaceUpdateRequest {
  741. if m != nil {
  742. return m.Origin
  743. }
  744. return nil
  745. }
  746. type ParkSpaceListRequest struct {
  747. ParkId int64 `protobuf:"varint,1,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  748. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  749. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  750. GardenId int64 `protobuf:"varint,4,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  751. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  752. SpaceNumber string `protobuf:"bytes,6,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  753. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  754. XXX_unrecognized []byte `json:"-"`
  755. XXX_sizecache int32 `json:"-"`
  756. }
  757. func (m *ParkSpaceListRequest) Reset() { *m = ParkSpaceListRequest{} }
  758. func (m *ParkSpaceListRequest) String() string { return proto.CompactTextString(m) }
  759. func (*ParkSpaceListRequest) ProtoMessage() {}
  760. func (*ParkSpaceListRequest) Descriptor() ([]byte, []int) {
  761. return fileDescriptor_1e1e7f6a041ccf05, []int{15}
  762. }
  763. func (m *ParkSpaceListRequest) XXX_Unmarshal(b []byte) error {
  764. return xxx_messageInfo_ParkSpaceListRequest.Unmarshal(m, b)
  765. }
  766. func (m *ParkSpaceListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  767. return xxx_messageInfo_ParkSpaceListRequest.Marshal(b, m, deterministic)
  768. }
  769. func (m *ParkSpaceListRequest) XXX_Merge(src proto.Message) {
  770. xxx_messageInfo_ParkSpaceListRequest.Merge(m, src)
  771. }
  772. func (m *ParkSpaceListRequest) XXX_Size() int {
  773. return xxx_messageInfo_ParkSpaceListRequest.Size(m)
  774. }
  775. func (m *ParkSpaceListRequest) XXX_DiscardUnknown() {
  776. xxx_messageInfo_ParkSpaceListRequest.DiscardUnknown(m)
  777. }
  778. var xxx_messageInfo_ParkSpaceListRequest proto.InternalMessageInfo
  779. func (m *ParkSpaceListRequest) GetParkId() int64 {
  780. if m != nil {
  781. return m.ParkId
  782. }
  783. return 0
  784. }
  785. func (m *ParkSpaceListRequest) GetPage() int64 {
  786. if m != nil {
  787. return m.Page
  788. }
  789. return 0
  790. }
  791. func (m *ParkSpaceListRequest) GetPageSize() int64 {
  792. if m != nil {
  793. return m.PageSize
  794. }
  795. return 0
  796. }
  797. func (m *ParkSpaceListRequest) GetGardenId() int64 {
  798. if m != nil {
  799. return m.GardenId
  800. }
  801. return 0
  802. }
  803. func (m *ParkSpaceListRequest) GetSpaceType() int32 {
  804. if m != nil {
  805. return m.SpaceType
  806. }
  807. return 0
  808. }
  809. func (m *ParkSpaceListRequest) GetSpaceNumber() string {
  810. if m != nil {
  811. return m.SpaceNumber
  812. }
  813. return ""
  814. }
  815. type ParkSpaceItem struct {
  816. SpaceNumber string `protobuf:"bytes,1,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  817. SpaceArea float64 `protobuf:"fixed64,2,opt,name=space_area,json=spaceArea,proto3" json:"space_area"`
  818. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  819. ParkId int64 `protobuf:"varint,4,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  820. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  821. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id"`
  822. CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  823. ParkNumber string `protobuf:"bytes,8,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  824. ParkName string `protobuf:"bytes,9,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  825. ParkType int32 `protobuf:"varint,10,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  826. HouseId int64 `protobuf:"varint,11,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  827. HouseName string `protobuf:"bytes,12,opt,name=house_name,json=houseName,proto3" json:"house_name"`
  828. // 1 空闲 2 已售 3 已租
  829. Status int32 `protobuf:"varint,13,opt,name=status,proto3" json:"status"`
  830. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  831. XXX_unrecognized []byte `json:"-"`
  832. XXX_sizecache int32 `json:"-"`
  833. }
  834. func (m *ParkSpaceItem) Reset() { *m = ParkSpaceItem{} }
  835. func (m *ParkSpaceItem) String() string { return proto.CompactTextString(m) }
  836. func (*ParkSpaceItem) ProtoMessage() {}
  837. func (*ParkSpaceItem) Descriptor() ([]byte, []int) {
  838. return fileDescriptor_1e1e7f6a041ccf05, []int{16}
  839. }
  840. func (m *ParkSpaceItem) XXX_Unmarshal(b []byte) error {
  841. return xxx_messageInfo_ParkSpaceItem.Unmarshal(m, b)
  842. }
  843. func (m *ParkSpaceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  844. return xxx_messageInfo_ParkSpaceItem.Marshal(b, m, deterministic)
  845. }
  846. func (m *ParkSpaceItem) XXX_Merge(src proto.Message) {
  847. xxx_messageInfo_ParkSpaceItem.Merge(m, src)
  848. }
  849. func (m *ParkSpaceItem) XXX_Size() int {
  850. return xxx_messageInfo_ParkSpaceItem.Size(m)
  851. }
  852. func (m *ParkSpaceItem) XXX_DiscardUnknown() {
  853. xxx_messageInfo_ParkSpaceItem.DiscardUnknown(m)
  854. }
  855. var xxx_messageInfo_ParkSpaceItem proto.InternalMessageInfo
  856. func (m *ParkSpaceItem) GetSpaceNumber() string {
  857. if m != nil {
  858. return m.SpaceNumber
  859. }
  860. return ""
  861. }
  862. func (m *ParkSpaceItem) GetSpaceArea() float64 {
  863. if m != nil {
  864. return m.SpaceArea
  865. }
  866. return 0
  867. }
  868. func (m *ParkSpaceItem) GetComment() string {
  869. if m != nil {
  870. return m.Comment
  871. }
  872. return ""
  873. }
  874. func (m *ParkSpaceItem) GetParkId() int64 {
  875. if m != nil {
  876. return m.ParkId
  877. }
  878. return 0
  879. }
  880. func (m *ParkSpaceItem) GetSpaceType() int32 {
  881. if m != nil {
  882. return m.SpaceType
  883. }
  884. return 0
  885. }
  886. func (m *ParkSpaceItem) GetId() int64 {
  887. if m != nil {
  888. return m.Id
  889. }
  890. return 0
  891. }
  892. func (m *ParkSpaceItem) GetCreatedAt() string {
  893. if m != nil {
  894. return m.CreatedAt
  895. }
  896. return ""
  897. }
  898. func (m *ParkSpaceItem) GetParkNumber() string {
  899. if m != nil {
  900. return m.ParkNumber
  901. }
  902. return ""
  903. }
  904. func (m *ParkSpaceItem) GetParkName() string {
  905. if m != nil {
  906. return m.ParkName
  907. }
  908. return ""
  909. }
  910. func (m *ParkSpaceItem) GetParkType() int32 {
  911. if m != nil {
  912. return m.ParkType
  913. }
  914. return 0
  915. }
  916. func (m *ParkSpaceItem) GetHouseId() int64 {
  917. if m != nil {
  918. return m.HouseId
  919. }
  920. return 0
  921. }
  922. func (m *ParkSpaceItem) GetHouseName() string {
  923. if m != nil {
  924. return m.HouseName
  925. }
  926. return ""
  927. }
  928. func (m *ParkSpaceItem) GetStatus() int32 {
  929. if m != nil {
  930. return m.Status
  931. }
  932. return 0
  933. }
  934. type ParkSpaceListReply struct {
  935. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  936. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  937. List []*ParkSpaceItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  938. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  939. XXX_unrecognized []byte `json:"-"`
  940. XXX_sizecache int32 `json:"-"`
  941. }
  942. func (m *ParkSpaceListReply) Reset() { *m = ParkSpaceListReply{} }
  943. func (m *ParkSpaceListReply) String() string { return proto.CompactTextString(m) }
  944. func (*ParkSpaceListReply) ProtoMessage() {}
  945. func (*ParkSpaceListReply) Descriptor() ([]byte, []int) {
  946. return fileDescriptor_1e1e7f6a041ccf05, []int{17}
  947. }
  948. func (m *ParkSpaceListReply) XXX_Unmarshal(b []byte) error {
  949. return xxx_messageInfo_ParkSpaceListReply.Unmarshal(m, b)
  950. }
  951. func (m *ParkSpaceListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  952. return xxx_messageInfo_ParkSpaceListReply.Marshal(b, m, deterministic)
  953. }
  954. func (m *ParkSpaceListReply) XXX_Merge(src proto.Message) {
  955. xxx_messageInfo_ParkSpaceListReply.Merge(m, src)
  956. }
  957. func (m *ParkSpaceListReply) XXX_Size() int {
  958. return xxx_messageInfo_ParkSpaceListReply.Size(m)
  959. }
  960. func (m *ParkSpaceListReply) XXX_DiscardUnknown() {
  961. xxx_messageInfo_ParkSpaceListReply.DiscardUnknown(m)
  962. }
  963. var xxx_messageInfo_ParkSpaceListReply proto.InternalMessageInfo
  964. func (m *ParkSpaceListReply) GetTotal() int64 {
  965. if m != nil {
  966. return m.Total
  967. }
  968. return 0
  969. }
  970. func (m *ParkSpaceListReply) GetPage() int64 {
  971. if m != nil {
  972. return m.Page
  973. }
  974. return 0
  975. }
  976. func (m *ParkSpaceListReply) GetList() []*ParkSpaceItem {
  977. if m != nil {
  978. return m.List
  979. }
  980. return nil
  981. }
  982. func init() {
  983. proto.RegisterType((*ParkAddRequest)(nil), "pb_v1.ParkAddRequest")
  984. proto.RegisterType((*ParkAddReply)(nil), "pb_v1.ParkAddReply")
  985. proto.RegisterType((*ParkUpdateRequest)(nil), "pb_v1.ParkUpdateRequest")
  986. proto.RegisterType((*ParkUpdateReply)(nil), "pb_v1.ParkUpdateReply")
  987. proto.RegisterType((*ParkDelRequest)(nil), "pb_v1.ParkDelRequest")
  988. proto.RegisterType((*ParkDelReply)(nil), "pb_v1.ParkDelReply")
  989. proto.RegisterType((*ParkListRequest)(nil), "pb_v1.ParkListRequest")
  990. proto.RegisterType((*ParkItem)(nil), "pb_v1.ParkItem")
  991. proto.RegisterType((*ParkListReply)(nil), "pb_v1.ParkListReply")
  992. proto.RegisterType((*ParkSpaceAddRequest)(nil), "pb_v1.ParkSpaceAddRequest")
  993. proto.RegisterType((*ParkSpaceAddReply)(nil), "pb_v1.ParkSpaceAddReply")
  994. proto.RegisterType((*ParkSpaceUpdateRequest)(nil), "pb_v1.ParkSpaceUpdateRequest")
  995. proto.RegisterType((*ParkSpaceUpdateReply)(nil), "pb_v1.ParkSpaceUpdateReply")
  996. proto.RegisterType((*ParkSpaceDelRequest)(nil), "pb_v1.ParkSpaceDelRequest")
  997. proto.RegisterType((*ParkSpaceDelReply)(nil), "pb_v1.ParkSpaceDelReply")
  998. proto.RegisterType((*ParkSpaceListRequest)(nil), "pb_v1.ParkSpaceListRequest")
  999. proto.RegisterType((*ParkSpaceItem)(nil), "pb_v1.ParkSpaceItem")
  1000. proto.RegisterType((*ParkSpaceListReply)(nil), "pb_v1.ParkSpaceListReply")
  1001. }
  1002. func init() {
  1003. proto.RegisterFile("park.proto", fileDescriptor_1e1e7f6a041ccf05)
  1004. }
  1005. var fileDescriptor_1e1e7f6a041ccf05 = []byte{
  1006. // 698 bytes of a gzipped FileDescriptorProto
  1007. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0xd3, 0x4e,
  1008. 0x10, 0xd5, 0xc6, 0x89, 0xe3, 0x4c, 0xfa, 0x47, 0x3f, 0xff, 0xaa, 0x62, 0x84, 0xda, 0x06, 0xf7,
  1009. 0x92, 0x4b, 0x53, 0x5a, 0xe0, 0x88, 0x44, 0x5b, 0x2e, 0x41, 0x80, 0x90, 0x0b, 0x17, 0x2e, 0xd6,
  1010. 0x26, 0x1e, 0xa5, 0x56, 0x93, 0x78, 0xb1, 0x37, 0x45, 0xe9, 0xc7, 0xe1, 0x3b, 0x70, 0xe6, 0xb3,
  1011. 0x70, 0xe7, 0xc8, 0x1d, 0xb4, 0xb3, 0x6e, 0x62, 0x6f, 0x4a, 0x2a, 0xe5, 0x54, 0x6e, 0xdd, 0x99,
  1012. 0xdd, 0xf1, 0x7b, 0x6f, 0x66, 0x5e, 0x03, 0x20, 0x78, 0x7a, 0xd9, 0x11, 0x69, 0x22, 0x13, 0xb7,
  1013. 0x26, 0x7a, 0xe1, 0xd5, 0x91, 0xff, 0x95, 0xc1, 0xc6, 0x7b, 0x9e, 0x5e, 0x9e, 0x44, 0x51, 0x80,
  1014. 0x9f, 0x27, 0x98, 0x49, 0x77, 0x0f, 0x9a, 0xea, 0x5e, 0x38, 0x9e, 0x8c, 0x7a, 0x98, 0x7a, 0xac,
  1015. 0xc5, 0xda, 0x8d, 0x80, 0x9e, 0xbe, 0xa3, 0x88, 0xfb, 0x08, 0x1a, 0xfa, 0x02, 0x1f, 0xa1, 0x57,
  1016. 0xa1, 0xb4, 0x43, 0x69, 0x3e, 0x42, 0xd7, 0x83, 0x7a, 0x3f, 0x19, 0x8d, 0x70, 0x2c, 0x3d, 0x8b,
  1017. 0x52, 0x37, 0x47, 0xf5, 0x6c, 0xc0, 0xd3, 0x08, 0xc7, 0x61, 0x1c, 0x79, 0xd5, 0x16, 0x6b, 0x5b,
  1018. 0x81, 0xa3, 0x03, 0xdd, 0x68, 0x56, 0x53, 0x4e, 0x05, 0x7a, 0xb5, 0x16, 0x6b, 0xd7, 0x74, 0xcd,
  1019. 0x0f, 0x53, 0x81, 0xfe, 0x2e, 0xac, 0xcd, 0x30, 0x8a, 0xe1, 0xd4, 0xdd, 0x80, 0x4a, 0x1c, 0x11,
  1020. 0x30, 0x2b, 0xa8, 0xc4, 0x91, 0xff, 0x8d, 0xc1, 0x7f, 0xea, 0xc2, 0x47, 0x11, 0x71, 0x89, 0x37,
  1021. 0x3c, 0x8c, 0x5b, 0xe5, 0xef, 0x57, 0x8c, 0xef, 0x1b, 0xa4, 0xad, 0xe5, 0xa4, 0xab, 0x7f, 0x27,
  1022. 0x5d, 0x5b, 0x20, 0x3d, 0xe7, 0x65, 0x1b, 0xbc, 0xce, 0x60, 0xb3, 0x08, 0x5b, 0x51, 0x7b, 0x02,
  1023. 0x76, 0x92, 0xc6, 0x83, 0x78, 0x4c, 0xc0, 0x9b, 0xc7, 0x5e, 0x87, 0xfa, 0xd4, 0x59, 0xa0, 0x17,
  1024. 0xe4, 0xf7, 0xfc, 0x17, 0xba, 0x81, 0xaf, 0x70, 0xb8, 0x0a, 0x71, 0xff, 0xa5, 0xd6, 0x96, 0x9e,
  1025. 0xaf, 0x06, 0xa0, 0xa3, 0x59, 0xbc, 0x89, 0x33, 0x79, 0x83, 0xa0, 0xf4, 0x45, 0x66, 0x7c, 0xf1,
  1026. 0x27, 0x03, 0x47, 0x3d, 0xe8, 0x4a, 0x1c, 0xdd, 0x8f, 0x26, 0xed, 0x41, 0x33, 0x13, 0xbc, 0x8f,
  1027. 0x61, 0x3f, 0x99, 0x8c, 0x25, 0xb5, 0xc9, 0x0a, 0x80, 0x42, 0x67, 0x2a, 0xe2, 0xee, 0x00, 0xf4,
  1028. 0x53, 0xe4, 0x12, 0xa3, 0x90, 0x4b, 0xaf, 0x4e, 0xaf, 0x1b, 0x79, 0xe4, 0xc4, 0x68, 0xb2, 0x63,
  1029. 0x34, 0xf9, 0x19, 0xac, 0xcf, 0xe5, 0x51, 0x0a, 0xef, 0x43, 0x75, 0x18, 0x67, 0xd2, 0x63, 0x2d,
  1030. 0xab, 0xdd, 0x3c, 0xde, 0x2c, 0xe8, 0xab, 0x14, 0x09, 0x28, 0xe9, 0xff, 0x60, 0xf0, 0xbf, 0x0a,
  1031. 0x9d, 0x2b, 0x10, 0x85, 0xe5, 0x7c, 0x0c, 0x6b, 0x1a, 0x6a, 0x69, 0x3b, 0x35, 0xfc, 0x5c, 0x84,
  1032. 0x1d, 0xd0, 0xd0, 0x43, 0x9e, 0x22, 0x27, 0x0d, 0x59, 0xd0, 0xa0, 0xc8, 0x49, 0x8a, 0x7c, 0xc9,
  1033. 0x82, 0x3e, 0x80, 0x3a, 0xd1, 0x98, 0xad, 0xa7, 0xad, 0x8e, 0xdd, 0x68, 0x5e, 0xb1, 0xb0, 0x9d,
  1034. 0xba, 0xa2, 0x62, 0x58, 0xee, 0x99, 0x6d, 0xf4, 0xec, 0x21, 0x38, 0x17, 0xc9, 0x24, 0x43, 0x95,
  1035. 0xab, 0x53, 0xae, 0x4e, 0xe7, 0x6e, 0xe4, 0xef, 0xeb, 0xad, 0x9d, 0x53, 0xbc, 0x6d, 0xb7, 0x7f,
  1036. 0x31, 0xd8, 0x9e, 0xdd, 0x2a, 0x2f, 0xf8, 0x7d, 0xd4, 0x42, 0xc3, 0xb7, 0x6f, 0x9f, 0xe7, 0xfa,
  1037. 0x12, 0x6d, 0x9c, 0xb2, 0x36, 0x6f, 0x61, 0x6b, 0x81, 0xb5, 0x92, 0xe7, 0xb9, 0xb1, 0x9e, 0x3b,
  1038. 0x85, 0xf1, 0x59, 0x94, 0x68, 0xb6, 0xa3, 0xa7, 0x85, 0x69, 0x5a, 0xd5, 0x29, 0x5e, 0x17, 0xda,
  1039. 0x35, 0xb3, 0x8b, 0x15, 0xf1, 0x7c, 0x67, 0x05, 0x7e, 0x45, 0xe7, 0x28, 0xe8, 0xce, 0x4a, 0xba,
  1040. 0xbb, 0x50, 0x15, 0x7c, 0x80, 0x39, 0x2a, 0xfa, 0x5b, 0xef, 0xdd, 0x00, 0xc3, 0x2c, 0xbe, 0x46,
  1041. 0x6a, 0xa0, 0xa5, 0xf6, 0x6e, 0x80, 0xe7, 0xf1, 0x35, 0x2e, 0xff, 0x77, 0x73, 0x47, 0x17, 0xcd,
  1042. 0xc9, 0xb2, 0x17, 0x26, 0xcb, 0xff, 0x5d, 0xd1, 0x7b, 0x4d, 0x0c, 0xc8, 0xca, 0xfe, 0x85, 0x71,
  1043. 0xbc, 0xc3, 0xc8, 0x0c, 0x83, 0x75, 0x96, 0x1b, 0x6c, 0xc3, 0x30, 0xd8, 0x92, 0x0d, 0x42, 0xd9,
  1044. 0x06, 0x4b, 0xb3, 0xde, 0x2c, 0xcd, 0xba, 0x02, 0xa5, 0x53, 0x54, 0x75, 0x4d, 0x83, 0xa2, 0x08,
  1045. 0x95, 0xdd, 0x06, 0x3b, 0x93, 0x5c, 0x4e, 0x32, 0x6f, 0x9d, 0x6a, 0xe6, 0x27, 0xff, 0x02, 0x5c,
  1046. 0x63, 0x84, 0xd4, 0x40, 0x6e, 0x41, 0x4d, 0x26, 0x92, 0x0f, 0xf3, 0xf1, 0xd1, 0x87, 0x5b, 0xa7,
  1047. 0xa7, 0x9d, 0xfb, 0xb0, 0x45, 0x3e, 0xbc, 0x65, 0x0e, 0xee, 0xdc, 0x8c, 0x4f, 0x5b, 0x9f, 0x76,
  1048. 0x45, 0x9a, 0x08, 0x4c, 0xe5, 0xf4, 0x80, 0x0b, 0x31, 0x44, 0x89, 0x07, 0x03, 0x2e, 0xf1, 0x0b,
  1049. 0x9f, 0x1e, 0x8a, 0xde, 0xe1, 0xd5, 0x51, 0xcf, 0xa6, 0x1f, 0x55, 0x4f, 0xff, 0x04, 0x00, 0x00,
  1050. 0xff, 0xff, 0x98, 0xbe, 0x1a, 0x1d, 0x62, 0x09, 0x00, 0x00,
  1051. }