vehicle.pb.go 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: vehicle.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 VehicleAddRequest struct {
  20. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  21. SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
  22. PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  23. VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
  24. Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
  25. EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
  26. Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
  27. Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
  28. HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  29. BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  30. DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
  31. Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
  32. Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
  33. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  34. XXX_unrecognized []byte `json:"-"`
  35. XXX_sizecache int32 `json:"-"`
  36. }
  37. func (m *VehicleAddRequest) Reset() { *m = VehicleAddRequest{} }
  38. func (m *VehicleAddRequest) String() string { return proto.CompactTextString(m) }
  39. func (*VehicleAddRequest) ProtoMessage() {}
  40. func (*VehicleAddRequest) Descriptor() ([]byte, []int) {
  41. return fileDescriptor_416ab71f8212867c, []int{0}
  42. }
  43. func (m *VehicleAddRequest) XXX_Unmarshal(b []byte) error {
  44. return xxx_messageInfo_VehicleAddRequest.Unmarshal(m, b)
  45. }
  46. func (m *VehicleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  47. return xxx_messageInfo_VehicleAddRequest.Marshal(b, m, deterministic)
  48. }
  49. func (m *VehicleAddRequest) XXX_Merge(src proto.Message) {
  50. xxx_messageInfo_VehicleAddRequest.Merge(m, src)
  51. }
  52. func (m *VehicleAddRequest) XXX_Size() int {
  53. return xxx_messageInfo_VehicleAddRequest.Size(m)
  54. }
  55. func (m *VehicleAddRequest) XXX_DiscardUnknown() {
  56. xxx_messageInfo_VehicleAddRequest.DiscardUnknown(m)
  57. }
  58. var xxx_messageInfo_VehicleAddRequest proto.InternalMessageInfo
  59. func (m *VehicleAddRequest) GetGardenId() int64 {
  60. if m != nil {
  61. return m.GardenId
  62. }
  63. return 0
  64. }
  65. func (m *VehicleAddRequest) GetSpaceId() int64 {
  66. if m != nil {
  67. return m.SpaceId
  68. }
  69. return 0
  70. }
  71. func (m *VehicleAddRequest) GetPlateNo() string {
  72. if m != nil {
  73. return m.PlateNo
  74. }
  75. return ""
  76. }
  77. func (m *VehicleAddRequest) GetVehicleType() int32 {
  78. if m != nil {
  79. return m.VehicleType
  80. }
  81. return 0
  82. }
  83. func (m *VehicleAddRequest) GetVin() string {
  84. if m != nil {
  85. return m.Vin
  86. }
  87. return ""
  88. }
  89. func (m *VehicleAddRequest) GetEngineNo() string {
  90. if m != nil {
  91. return m.EngineNo
  92. }
  93. return ""
  94. }
  95. func (m *VehicleAddRequest) GetBrand() string {
  96. if m != nil {
  97. return m.Brand
  98. }
  99. return ""
  100. }
  101. func (m *VehicleAddRequest) GetColor() string {
  102. if m != nil {
  103. return m.Color
  104. }
  105. return ""
  106. }
  107. func (m *VehicleAddRequest) GetHouseholdUid() int64 {
  108. if m != nil {
  109. return m.HouseholdUid
  110. }
  111. return 0
  112. }
  113. func (m *VehicleAddRequest) GetBindType() int32 {
  114. if m != nil {
  115. return m.BindType
  116. }
  117. return 0
  118. }
  119. func (m *VehicleAddRequest) GetDisplacementUnit() string {
  120. if m != nil {
  121. return m.DisplacementUnit
  122. }
  123. return ""
  124. }
  125. func (m *VehicleAddRequest) GetDisplacement() float64 {
  126. if m != nil {
  127. return m.Displacement
  128. }
  129. return 0
  130. }
  131. func (m *VehicleAddRequest) GetSeat() int32 {
  132. if m != nil {
  133. return m.Seat
  134. }
  135. return 0
  136. }
  137. type VehicleAddReply struct {
  138. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  139. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  140. XXX_unrecognized []byte `json:"-"`
  141. XXX_sizecache int32 `json:"-"`
  142. }
  143. func (m *VehicleAddReply) Reset() { *m = VehicleAddReply{} }
  144. func (m *VehicleAddReply) String() string { return proto.CompactTextString(m) }
  145. func (*VehicleAddReply) ProtoMessage() {}
  146. func (*VehicleAddReply) Descriptor() ([]byte, []int) {
  147. return fileDescriptor_416ab71f8212867c, []int{1}
  148. }
  149. func (m *VehicleAddReply) XXX_Unmarshal(b []byte) error {
  150. return xxx_messageInfo_VehicleAddReply.Unmarshal(m, b)
  151. }
  152. func (m *VehicleAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  153. return xxx_messageInfo_VehicleAddReply.Marshal(b, m, deterministic)
  154. }
  155. func (m *VehicleAddReply) XXX_Merge(src proto.Message) {
  156. xxx_messageInfo_VehicleAddReply.Merge(m, src)
  157. }
  158. func (m *VehicleAddReply) XXX_Size() int {
  159. return xxx_messageInfo_VehicleAddReply.Size(m)
  160. }
  161. func (m *VehicleAddReply) XXX_DiscardUnknown() {
  162. xxx_messageInfo_VehicleAddReply.DiscardUnknown(m)
  163. }
  164. var xxx_messageInfo_VehicleAddReply proto.InternalMessageInfo
  165. func (m *VehicleAddReply) GetId() int64 {
  166. if m != nil {
  167. return m.Id
  168. }
  169. return 0
  170. }
  171. type VehicleUpdateRequest struct {
  172. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  173. SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
  174. PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  175. VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
  176. Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
  177. EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
  178. Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
  179. Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
  180. HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  181. BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  182. DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
  183. Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
  184. Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
  185. Id int64 `protobuf:"varint,14,opt,name=id,proto3" json:"id"`
  186. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  187. XXX_unrecognized []byte `json:"-"`
  188. XXX_sizecache int32 `json:"-"`
  189. }
  190. func (m *VehicleUpdateRequest) Reset() { *m = VehicleUpdateRequest{} }
  191. func (m *VehicleUpdateRequest) String() string { return proto.CompactTextString(m) }
  192. func (*VehicleUpdateRequest) ProtoMessage() {}
  193. func (*VehicleUpdateRequest) Descriptor() ([]byte, []int) {
  194. return fileDescriptor_416ab71f8212867c, []int{2}
  195. }
  196. func (m *VehicleUpdateRequest) XXX_Unmarshal(b []byte) error {
  197. return xxx_messageInfo_VehicleUpdateRequest.Unmarshal(m, b)
  198. }
  199. func (m *VehicleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  200. return xxx_messageInfo_VehicleUpdateRequest.Marshal(b, m, deterministic)
  201. }
  202. func (m *VehicleUpdateRequest) XXX_Merge(src proto.Message) {
  203. xxx_messageInfo_VehicleUpdateRequest.Merge(m, src)
  204. }
  205. func (m *VehicleUpdateRequest) XXX_Size() int {
  206. return xxx_messageInfo_VehicleUpdateRequest.Size(m)
  207. }
  208. func (m *VehicleUpdateRequest) XXX_DiscardUnknown() {
  209. xxx_messageInfo_VehicleUpdateRequest.DiscardUnknown(m)
  210. }
  211. var xxx_messageInfo_VehicleUpdateRequest proto.InternalMessageInfo
  212. func (m *VehicleUpdateRequest) GetGardenId() int64 {
  213. if m != nil {
  214. return m.GardenId
  215. }
  216. return 0
  217. }
  218. func (m *VehicleUpdateRequest) GetSpaceId() int64 {
  219. if m != nil {
  220. return m.SpaceId
  221. }
  222. return 0
  223. }
  224. func (m *VehicleUpdateRequest) GetPlateNo() string {
  225. if m != nil {
  226. return m.PlateNo
  227. }
  228. return ""
  229. }
  230. func (m *VehicleUpdateRequest) GetVehicleType() int32 {
  231. if m != nil {
  232. return m.VehicleType
  233. }
  234. return 0
  235. }
  236. func (m *VehicleUpdateRequest) GetVin() string {
  237. if m != nil {
  238. return m.Vin
  239. }
  240. return ""
  241. }
  242. func (m *VehicleUpdateRequest) GetEngineNo() string {
  243. if m != nil {
  244. return m.EngineNo
  245. }
  246. return ""
  247. }
  248. func (m *VehicleUpdateRequest) GetBrand() string {
  249. if m != nil {
  250. return m.Brand
  251. }
  252. return ""
  253. }
  254. func (m *VehicleUpdateRequest) GetColor() string {
  255. if m != nil {
  256. return m.Color
  257. }
  258. return ""
  259. }
  260. func (m *VehicleUpdateRequest) GetHouseholdUid() int64 {
  261. if m != nil {
  262. return m.HouseholdUid
  263. }
  264. return 0
  265. }
  266. func (m *VehicleUpdateRequest) GetBindType() int32 {
  267. if m != nil {
  268. return m.BindType
  269. }
  270. return 0
  271. }
  272. func (m *VehicleUpdateRequest) GetDisplacementUnit() string {
  273. if m != nil {
  274. return m.DisplacementUnit
  275. }
  276. return ""
  277. }
  278. func (m *VehicleUpdateRequest) GetDisplacement() float64 {
  279. if m != nil {
  280. return m.Displacement
  281. }
  282. return 0
  283. }
  284. func (m *VehicleUpdateRequest) GetSeat() int32 {
  285. if m != nil {
  286. return m.Seat
  287. }
  288. return 0
  289. }
  290. func (m *VehicleUpdateRequest) GetId() int64 {
  291. if m != nil {
  292. return m.Id
  293. }
  294. return 0
  295. }
  296. type VehicleUpdateReply struct {
  297. Origin *VehicleUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  298. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  299. XXX_unrecognized []byte `json:"-"`
  300. XXX_sizecache int32 `json:"-"`
  301. }
  302. func (m *VehicleUpdateReply) Reset() { *m = VehicleUpdateReply{} }
  303. func (m *VehicleUpdateReply) String() string { return proto.CompactTextString(m) }
  304. func (*VehicleUpdateReply) ProtoMessage() {}
  305. func (*VehicleUpdateReply) Descriptor() ([]byte, []int) {
  306. return fileDescriptor_416ab71f8212867c, []int{3}
  307. }
  308. func (m *VehicleUpdateReply) XXX_Unmarshal(b []byte) error {
  309. return xxx_messageInfo_VehicleUpdateReply.Unmarshal(m, b)
  310. }
  311. func (m *VehicleUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  312. return xxx_messageInfo_VehicleUpdateReply.Marshal(b, m, deterministic)
  313. }
  314. func (m *VehicleUpdateReply) XXX_Merge(src proto.Message) {
  315. xxx_messageInfo_VehicleUpdateReply.Merge(m, src)
  316. }
  317. func (m *VehicleUpdateReply) XXX_Size() int {
  318. return xxx_messageInfo_VehicleUpdateReply.Size(m)
  319. }
  320. func (m *VehicleUpdateReply) XXX_DiscardUnknown() {
  321. xxx_messageInfo_VehicleUpdateReply.DiscardUnknown(m)
  322. }
  323. var xxx_messageInfo_VehicleUpdateReply proto.InternalMessageInfo
  324. func (m *VehicleUpdateReply) GetOrigin() *VehicleUpdateRequest {
  325. if m != nil {
  326. return m.Origin
  327. }
  328. return nil
  329. }
  330. type VehicleDelRequest struct {
  331. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  332. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
  333. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  334. XXX_unrecognized []byte `json:"-"`
  335. XXX_sizecache int32 `json:"-"`
  336. }
  337. func (m *VehicleDelRequest) Reset() { *m = VehicleDelRequest{} }
  338. func (m *VehicleDelRequest) String() string { return proto.CompactTextString(m) }
  339. func (*VehicleDelRequest) ProtoMessage() {}
  340. func (*VehicleDelRequest) Descriptor() ([]byte, []int) {
  341. return fileDescriptor_416ab71f8212867c, []int{4}
  342. }
  343. func (m *VehicleDelRequest) XXX_Unmarshal(b []byte) error {
  344. return xxx_messageInfo_VehicleDelRequest.Unmarshal(m, b)
  345. }
  346. func (m *VehicleDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  347. return xxx_messageInfo_VehicleDelRequest.Marshal(b, m, deterministic)
  348. }
  349. func (m *VehicleDelRequest) XXX_Merge(src proto.Message) {
  350. xxx_messageInfo_VehicleDelRequest.Merge(m, src)
  351. }
  352. func (m *VehicleDelRequest) XXX_Size() int {
  353. return xxx_messageInfo_VehicleDelRequest.Size(m)
  354. }
  355. func (m *VehicleDelRequest) XXX_DiscardUnknown() {
  356. xxx_messageInfo_VehicleDelRequest.DiscardUnknown(m)
  357. }
  358. var xxx_messageInfo_VehicleDelRequest proto.InternalMessageInfo
  359. func (m *VehicleDelRequest) GetGardenId() int64 {
  360. if m != nil {
  361. return m.GardenId
  362. }
  363. return 0
  364. }
  365. func (m *VehicleDelRequest) GetId() int64 {
  366. if m != nil {
  367. return m.Id
  368. }
  369. return 0
  370. }
  371. type VehicleDelReply struct {
  372. Origin *VehicleUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  373. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  374. XXX_unrecognized []byte `json:"-"`
  375. XXX_sizecache int32 `json:"-"`
  376. }
  377. func (m *VehicleDelReply) Reset() { *m = VehicleDelReply{} }
  378. func (m *VehicleDelReply) String() string { return proto.CompactTextString(m) }
  379. func (*VehicleDelReply) ProtoMessage() {}
  380. func (*VehicleDelReply) Descriptor() ([]byte, []int) {
  381. return fileDescriptor_416ab71f8212867c, []int{5}
  382. }
  383. func (m *VehicleDelReply) XXX_Unmarshal(b []byte) error {
  384. return xxx_messageInfo_VehicleDelReply.Unmarshal(m, b)
  385. }
  386. func (m *VehicleDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  387. return xxx_messageInfo_VehicleDelReply.Marshal(b, m, deterministic)
  388. }
  389. func (m *VehicleDelReply) XXX_Merge(src proto.Message) {
  390. xxx_messageInfo_VehicleDelReply.Merge(m, src)
  391. }
  392. func (m *VehicleDelReply) XXX_Size() int {
  393. return xxx_messageInfo_VehicleDelReply.Size(m)
  394. }
  395. func (m *VehicleDelReply) XXX_DiscardUnknown() {
  396. xxx_messageInfo_VehicleDelReply.DiscardUnknown(m)
  397. }
  398. var xxx_messageInfo_VehicleDelReply proto.InternalMessageInfo
  399. func (m *VehicleDelReply) GetOrigin() *VehicleUpdateRequest {
  400. if m != nil {
  401. return m.Origin
  402. }
  403. return nil
  404. }
  405. type VehicleListRequest struct {
  406. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  407. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  408. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  409. PlateNo string `protobuf:"bytes,4,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  410. VehicleType int32 `protobuf:"varint,5,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
  411. BindType int32 `protobuf:"varint,6,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  412. HouseholdUid int64 `protobuf:"varint,7,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  413. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  414. XXX_unrecognized []byte `json:"-"`
  415. XXX_sizecache int32 `json:"-"`
  416. }
  417. func (m *VehicleListRequest) Reset() { *m = VehicleListRequest{} }
  418. func (m *VehicleListRequest) String() string { return proto.CompactTextString(m) }
  419. func (*VehicleListRequest) ProtoMessage() {}
  420. func (*VehicleListRequest) Descriptor() ([]byte, []int) {
  421. return fileDescriptor_416ab71f8212867c, []int{6}
  422. }
  423. func (m *VehicleListRequest) XXX_Unmarshal(b []byte) error {
  424. return xxx_messageInfo_VehicleListRequest.Unmarshal(m, b)
  425. }
  426. func (m *VehicleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  427. return xxx_messageInfo_VehicleListRequest.Marshal(b, m, deterministic)
  428. }
  429. func (m *VehicleListRequest) XXX_Merge(src proto.Message) {
  430. xxx_messageInfo_VehicleListRequest.Merge(m, src)
  431. }
  432. func (m *VehicleListRequest) XXX_Size() int {
  433. return xxx_messageInfo_VehicleListRequest.Size(m)
  434. }
  435. func (m *VehicleListRequest) XXX_DiscardUnknown() {
  436. xxx_messageInfo_VehicleListRequest.DiscardUnknown(m)
  437. }
  438. var xxx_messageInfo_VehicleListRequest proto.InternalMessageInfo
  439. func (m *VehicleListRequest) GetGardenId() int64 {
  440. if m != nil {
  441. return m.GardenId
  442. }
  443. return 0
  444. }
  445. func (m *VehicleListRequest) GetPage() int64 {
  446. if m != nil {
  447. return m.Page
  448. }
  449. return 0
  450. }
  451. func (m *VehicleListRequest) GetPageSize() int64 {
  452. if m != nil {
  453. return m.PageSize
  454. }
  455. return 0
  456. }
  457. func (m *VehicleListRequest) GetPlateNo() string {
  458. if m != nil {
  459. return m.PlateNo
  460. }
  461. return ""
  462. }
  463. func (m *VehicleListRequest) GetVehicleType() int32 {
  464. if m != nil {
  465. return m.VehicleType
  466. }
  467. return 0
  468. }
  469. func (m *VehicleListRequest) GetBindType() int32 {
  470. if m != nil {
  471. return m.BindType
  472. }
  473. return 0
  474. }
  475. func (m *VehicleListRequest) GetHouseholdUid() int64 {
  476. if m != nil {
  477. return m.HouseholdUid
  478. }
  479. return 0
  480. }
  481. type VehicleItem struct {
  482. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  483. SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
  484. PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  485. VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
  486. Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
  487. EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
  488. Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
  489. Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
  490. HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  491. BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  492. DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
  493. Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
  494. Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
  495. HouseholdName string `protobuf:"bytes,14,opt,name=household_name,json=householdName,proto3" json:"household_name"`
  496. HouseholdPhone string `protobuf:"bytes,15,opt,name=household_phone,json=householdPhone,proto3" json:"household_phone"`
  497. ParkId int64 `protobuf:"varint,16,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  498. ParkName string `protobuf:"bytes,17,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  499. ParkNumber string `protobuf:"bytes,18,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  500. SpaceNumber string `protobuf:"bytes,19,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  501. BrandPic string `protobuf:"bytes,20,opt,name=brand_pic,json=brandPic,proto3" json:"brand_pic"`
  502. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  503. XXX_unrecognized []byte `json:"-"`
  504. XXX_sizecache int32 `json:"-"`
  505. }
  506. func (m *VehicleItem) Reset() { *m = VehicleItem{} }
  507. func (m *VehicleItem) String() string { return proto.CompactTextString(m) }
  508. func (*VehicleItem) ProtoMessage() {}
  509. func (*VehicleItem) Descriptor() ([]byte, []int) {
  510. return fileDescriptor_416ab71f8212867c, []int{7}
  511. }
  512. func (m *VehicleItem) XXX_Unmarshal(b []byte) error {
  513. return xxx_messageInfo_VehicleItem.Unmarshal(m, b)
  514. }
  515. func (m *VehicleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  516. return xxx_messageInfo_VehicleItem.Marshal(b, m, deterministic)
  517. }
  518. func (m *VehicleItem) XXX_Merge(src proto.Message) {
  519. xxx_messageInfo_VehicleItem.Merge(m, src)
  520. }
  521. func (m *VehicleItem) XXX_Size() int {
  522. return xxx_messageInfo_VehicleItem.Size(m)
  523. }
  524. func (m *VehicleItem) XXX_DiscardUnknown() {
  525. xxx_messageInfo_VehicleItem.DiscardUnknown(m)
  526. }
  527. var xxx_messageInfo_VehicleItem proto.InternalMessageInfo
  528. func (m *VehicleItem) GetId() int64 {
  529. if m != nil {
  530. return m.Id
  531. }
  532. return 0
  533. }
  534. func (m *VehicleItem) GetSpaceId() int64 {
  535. if m != nil {
  536. return m.SpaceId
  537. }
  538. return 0
  539. }
  540. func (m *VehicleItem) GetPlateNo() string {
  541. if m != nil {
  542. return m.PlateNo
  543. }
  544. return ""
  545. }
  546. func (m *VehicleItem) GetVehicleType() int32 {
  547. if m != nil {
  548. return m.VehicleType
  549. }
  550. return 0
  551. }
  552. func (m *VehicleItem) GetVin() string {
  553. if m != nil {
  554. return m.Vin
  555. }
  556. return ""
  557. }
  558. func (m *VehicleItem) GetEngineNo() string {
  559. if m != nil {
  560. return m.EngineNo
  561. }
  562. return ""
  563. }
  564. func (m *VehicleItem) GetBrand() string {
  565. if m != nil {
  566. return m.Brand
  567. }
  568. return ""
  569. }
  570. func (m *VehicleItem) GetColor() string {
  571. if m != nil {
  572. return m.Color
  573. }
  574. return ""
  575. }
  576. func (m *VehicleItem) GetHouseholdUid() int64 {
  577. if m != nil {
  578. return m.HouseholdUid
  579. }
  580. return 0
  581. }
  582. func (m *VehicleItem) GetBindType() int32 {
  583. if m != nil {
  584. return m.BindType
  585. }
  586. return 0
  587. }
  588. func (m *VehicleItem) GetDisplacementUnit() string {
  589. if m != nil {
  590. return m.DisplacementUnit
  591. }
  592. return ""
  593. }
  594. func (m *VehicleItem) GetDisplacement() float64 {
  595. if m != nil {
  596. return m.Displacement
  597. }
  598. return 0
  599. }
  600. func (m *VehicleItem) GetSeat() int32 {
  601. if m != nil {
  602. return m.Seat
  603. }
  604. return 0
  605. }
  606. func (m *VehicleItem) GetHouseholdName() string {
  607. if m != nil {
  608. return m.HouseholdName
  609. }
  610. return ""
  611. }
  612. func (m *VehicleItem) GetHouseholdPhone() string {
  613. if m != nil {
  614. return m.HouseholdPhone
  615. }
  616. return ""
  617. }
  618. func (m *VehicleItem) GetParkId() int64 {
  619. if m != nil {
  620. return m.ParkId
  621. }
  622. return 0
  623. }
  624. func (m *VehicleItem) GetParkName() string {
  625. if m != nil {
  626. return m.ParkName
  627. }
  628. return ""
  629. }
  630. func (m *VehicleItem) GetParkNumber() string {
  631. if m != nil {
  632. return m.ParkNumber
  633. }
  634. return ""
  635. }
  636. func (m *VehicleItem) GetSpaceNumber() string {
  637. if m != nil {
  638. return m.SpaceNumber
  639. }
  640. return ""
  641. }
  642. func (m *VehicleItem) GetBrandPic() string {
  643. if m != nil {
  644. return m.BrandPic
  645. }
  646. return ""
  647. }
  648. type VehicleListReply struct {
  649. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  650. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  651. List []*VehicleItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  652. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  653. XXX_unrecognized []byte `json:"-"`
  654. XXX_sizecache int32 `json:"-"`
  655. }
  656. func (m *VehicleListReply) Reset() { *m = VehicleListReply{} }
  657. func (m *VehicleListReply) String() string { return proto.CompactTextString(m) }
  658. func (*VehicleListReply) ProtoMessage() {}
  659. func (*VehicleListReply) Descriptor() ([]byte, []int) {
  660. return fileDescriptor_416ab71f8212867c, []int{8}
  661. }
  662. func (m *VehicleListReply) XXX_Unmarshal(b []byte) error {
  663. return xxx_messageInfo_VehicleListReply.Unmarshal(m, b)
  664. }
  665. func (m *VehicleListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  666. return xxx_messageInfo_VehicleListReply.Marshal(b, m, deterministic)
  667. }
  668. func (m *VehicleListReply) XXX_Merge(src proto.Message) {
  669. xxx_messageInfo_VehicleListReply.Merge(m, src)
  670. }
  671. func (m *VehicleListReply) XXX_Size() int {
  672. return xxx_messageInfo_VehicleListReply.Size(m)
  673. }
  674. func (m *VehicleListReply) XXX_DiscardUnknown() {
  675. xxx_messageInfo_VehicleListReply.DiscardUnknown(m)
  676. }
  677. var xxx_messageInfo_VehicleListReply proto.InternalMessageInfo
  678. func (m *VehicleListReply) GetPage() int64 {
  679. if m != nil {
  680. return m.Page
  681. }
  682. return 0
  683. }
  684. func (m *VehicleListReply) GetTotal() int64 {
  685. if m != nil {
  686. return m.Total
  687. }
  688. return 0
  689. }
  690. func (m *VehicleListReply) GetList() []*VehicleItem {
  691. if m != nil {
  692. return m.List
  693. }
  694. return nil
  695. }
  696. func init() {
  697. proto.RegisterType((*VehicleAddRequest)(nil), "pb_v1.VehicleAddRequest")
  698. proto.RegisterType((*VehicleAddReply)(nil), "pb_v1.VehicleAddReply")
  699. proto.RegisterType((*VehicleUpdateRequest)(nil), "pb_v1.VehicleUpdateRequest")
  700. proto.RegisterType((*VehicleUpdateReply)(nil), "pb_v1.VehicleUpdateReply")
  701. proto.RegisterType((*VehicleDelRequest)(nil), "pb_v1.VehicleDelRequest")
  702. proto.RegisterType((*VehicleDelReply)(nil), "pb_v1.VehicleDelReply")
  703. proto.RegisterType((*VehicleListRequest)(nil), "pb_v1.VehicleListRequest")
  704. proto.RegisterType((*VehicleItem)(nil), "pb_v1.VehicleItem")
  705. proto.RegisterType((*VehicleListReply)(nil), "pb_v1.VehicleListReply")
  706. }
  707. func init() {
  708. proto.RegisterFile("vehicle.proto", fileDescriptor_416ab71f8212867c)
  709. }
  710. var fileDescriptor_416ab71f8212867c = []byte{
  711. // 632 bytes of a gzipped FileDescriptorProto
  712. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xdd, 0x6a, 0x13, 0x41,
  713. 0x14, 0x66, 0xb3, 0xf9, 0x3d, 0x9b, 0xb6, 0xe9, 0x18, 0xe9, 0x48, 0x2f, 0x4c, 0x57, 0xd4, 0x80,
  714. 0xd8, 0xd2, 0xf6, 0x05, 0x54, 0x44, 0x08, 0x48, 0x29, 0xab, 0xf5, 0xc2, 0x9b, 0x65, 0xb3, 0x33,
  715. 0x24, 0x43, 0x37, 0x33, 0xe3, 0xee, 0x24, 0x90, 0xbe, 0x82, 0xef, 0xe0, 0xab, 0x09, 0x3e, 0x89,
  716. 0xcc, 0x99, 0x75, 0x93, 0x34, 0x22, 0x45, 0x10, 0x6f, 0x7a, 0x95, 0x39, 0xdf, 0x39, 0x33, 0xf3,
  717. 0xcd, 0x7e, 0xdf, 0x47, 0x60, 0x67, 0xc1, 0xa7, 0x22, 0xcd, 0xf8, 0xb1, 0xce, 0x95, 0x51, 0xa4,
  718. 0xa1, 0xc7, 0xf1, 0xe2, 0x34, 0xfc, 0xea, 0xc3, 0xfe, 0x27, 0xd7, 0x78, 0xcd, 0x58, 0xc4, 0xbf,
  719. 0xcc, 0x79, 0x61, 0xc8, 0x21, 0x74, 0x26, 0x49, 0xce, 0xb8, 0x8c, 0x05, 0xa3, 0xde, 0xc0, 0x1b,
  720. 0xfa, 0x51, 0xdb, 0x01, 0x23, 0x46, 0x1e, 0x41, 0xbb, 0xd0, 0x49, 0xca, 0x6d, 0xaf, 0x86, 0xbd,
  721. 0x16, 0xd6, 0xae, 0xa5, 0xb3, 0xc4, 0xf0, 0x58, 0x2a, 0xea, 0x0f, 0xbc, 0x61, 0x27, 0x6a, 0x61,
  722. 0x7d, 0xa1, 0xc8, 0x11, 0x74, 0x4b, 0x02, 0xb1, 0x59, 0x6a, 0x4e, 0xeb, 0x03, 0x6f, 0xd8, 0x88,
  723. 0x82, 0x12, 0xfb, 0xb8, 0xd4, 0x9c, 0xf4, 0xc0, 0x5f, 0x08, 0x49, 0x1b, 0xb8, 0xd1, 0x2e, 0x2d,
  724. 0x0f, 0x2e, 0x27, 0x42, 0xe2, 0x81, 0x4d, 0xc4, 0xdb, 0x0e, 0xb8, 0x50, 0xa4, 0x0f, 0x8d, 0x71,
  725. 0x9e, 0x48, 0x46, 0x5b, 0xd8, 0x70, 0x85, 0x45, 0x53, 0x95, 0xa9, 0x9c, 0xb6, 0x1d, 0x8a, 0x05,
  726. 0x79, 0x02, 0x3b, 0x53, 0x35, 0x2f, 0xf8, 0x54, 0x65, 0x2c, 0x9e, 0x0b, 0x46, 0x3b, 0x48, 0xbc,
  727. 0x5b, 0x81, 0x57, 0x82, 0xd9, 0xdb, 0xc6, 0x42, 0x32, 0xc7, 0x0f, 0x90, 0x5f, 0xdb, 0x02, 0x48,
  728. 0xee, 0x05, 0xec, 0x33, 0x51, 0xe8, 0x2c, 0x49, 0xf9, 0x8c, 0x4b, 0x13, 0xcf, 0xa5, 0x30, 0x34,
  729. 0xc0, 0x3b, 0x7a, 0xeb, 0x8d, 0x2b, 0x29, 0x0c, 0x09, 0xa1, 0xbb, 0x8e, 0xd1, 0xee, 0xc0, 0x1b,
  730. 0x7a, 0xd1, 0x06, 0x46, 0x08, 0xd4, 0x0b, 0x9e, 0x18, 0xba, 0x83, 0x17, 0xe1, 0x3a, 0x3c, 0x82,
  731. 0xbd, 0x75, 0x31, 0x74, 0xb6, 0x24, 0xbb, 0x50, 0xab, 0x34, 0xa8, 0x09, 0x16, 0x7e, 0xf3, 0xa1,
  732. 0x5f, 0xce, 0x5c, 0x69, 0x96, 0x18, 0x7e, 0xaf, 0xd9, 0x7f, 0xd5, 0xac, 0x14, 0x68, 0xb7, 0x12,
  733. 0x68, 0x04, 0xe4, 0x96, 0x3e, 0x56, 0xc6, 0x73, 0x68, 0xaa, 0x5c, 0x4c, 0x84, 0x44, 0x69, 0x82,
  734. 0xb3, 0xc3, 0x63, 0xcc, 0xdf, 0xf1, 0xef, 0xa4, 0x8c, 0xca, 0xd1, 0xf0, 0x55, 0x95, 0xcd, 0xb7,
  735. 0x3c, 0xbb, 0x93, 0xce, 0x8e, 0x4c, 0xad, 0x22, 0xf3, 0xae, 0x32, 0x14, 0x9e, 0xf0, 0xd7, 0x4c,
  736. 0x7e, 0x78, 0xd5, 0xab, 0xde, 0x8b, 0xc2, 0xdc, 0x89, 0x0b, 0x81, 0xba, 0x4e, 0x26, 0xbc, 0x64,
  737. 0x83, 0x6b, 0xbb, 0xc1, 0xfe, 0xc6, 0x85, 0xb8, 0xe1, 0xe8, 0x36, 0x3f, 0x6a, 0x5b, 0xe0, 0x83,
  738. 0xb8, 0xe1, 0x1b, 0x4e, 0xac, 0xff, 0xd9, 0x89, 0x8d, 0x6d, 0x27, 0x6e, 0x38, 0xa1, 0x79, 0xcb,
  739. 0x09, 0x5b, 0x5e, 0x6a, 0x6d, 0x7b, 0x29, 0xfc, 0x5e, 0x87, 0xa0, 0x7c, 0xe4, 0xc8, 0xf0, 0xd9,
  740. 0xed, 0xe8, 0xdd, 0x87, 0xe8, 0xdf, 0x85, 0xe8, 0x29, 0xec, 0xae, 0x68, 0xca, 0x64, 0xc6, 0x31,
  741. 0x50, 0x9d, 0x68, 0x45, 0xfe, 0x22, 0x99, 0x71, 0xf2, 0x1c, 0xf6, 0x56, 0x63, 0x7a, 0xaa, 0x24,
  742. 0xa7, 0x7b, 0x38, 0xb7, 0xda, 0x7d, 0x69, 0x51, 0x72, 0x00, 0x2d, 0x9d, 0xe4, 0xd7, 0x56, 0xa9,
  743. 0x1e, 0x3e, 0xb8, 0x69, 0xcb, 0x11, 0x73, 0x06, 0xcc, 0xaf, 0xdd, 0x1d, 0xfb, 0xee, 0xc3, 0x5a,
  744. 0x00, 0x8f, 0x7f, 0x0c, 0x81, 0x6b, 0xce, 0x67, 0x63, 0x9e, 0x53, 0x82, 0x6d, 0xc0, 0x36, 0x22,
  745. 0x56, 0x4b, 0xe7, 0x80, 0x72, 0xe2, 0x01, 0x4e, 0x04, 0x88, 0x95, 0x23, 0xf6, 0x5b, 0x5a, 0x3d,
  746. 0x62, 0x2d, 0x52, 0xda, 0x77, 0x17, 0x20, 0x70, 0x29, 0xd2, 0x90, 0x41, 0x6f, 0x23, 0x45, 0x36,
  747. 0x8f, 0xbf, 0x62, 0xe2, 0xad, 0xc5, 0xa4, 0x0f, 0x0d, 0xa3, 0x4c, 0x92, 0x95, 0x36, 0x73, 0x05,
  748. 0x79, 0x06, 0xf5, 0x4c, 0x14, 0x86, 0xfa, 0x03, 0x7f, 0x18, 0x9c, 0x91, 0xcd, 0xdc, 0x5a, 0xc7,
  749. 0x46, 0xd8, 0x7f, 0x73, 0xf0, 0xf9, 0xa1, 0xce, 0x95, 0xe6, 0xb9, 0x59, 0xbe, 0x74, 0x69, 0x3c,
  750. 0xd1, 0xe3, 0x93, 0xc5, 0xe9, 0xb8, 0x89, 0x7f, 0xfd, 0xe7, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff,
  751. 0xb3, 0xca, 0x70, 0xe3, 0x0b, 0x08, 0x00, 0x00,
  752. }