vehicle.pb.go 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  502. XXX_unrecognized []byte `json:"-"`
  503. XXX_sizecache int32 `json:"-"`
  504. }
  505. func (m *VehicleItem) Reset() { *m = VehicleItem{} }
  506. func (m *VehicleItem) String() string { return proto.CompactTextString(m) }
  507. func (*VehicleItem) ProtoMessage() {}
  508. func (*VehicleItem) Descriptor() ([]byte, []int) {
  509. return fileDescriptor_416ab71f8212867c, []int{7}
  510. }
  511. func (m *VehicleItem) XXX_Unmarshal(b []byte) error {
  512. return xxx_messageInfo_VehicleItem.Unmarshal(m, b)
  513. }
  514. func (m *VehicleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  515. return xxx_messageInfo_VehicleItem.Marshal(b, m, deterministic)
  516. }
  517. func (m *VehicleItem) XXX_Merge(src proto.Message) {
  518. xxx_messageInfo_VehicleItem.Merge(m, src)
  519. }
  520. func (m *VehicleItem) XXX_Size() int {
  521. return xxx_messageInfo_VehicleItem.Size(m)
  522. }
  523. func (m *VehicleItem) XXX_DiscardUnknown() {
  524. xxx_messageInfo_VehicleItem.DiscardUnknown(m)
  525. }
  526. var xxx_messageInfo_VehicleItem proto.InternalMessageInfo
  527. func (m *VehicleItem) GetId() int64 {
  528. if m != nil {
  529. return m.Id
  530. }
  531. return 0
  532. }
  533. func (m *VehicleItem) GetSpaceId() int64 {
  534. if m != nil {
  535. return m.SpaceId
  536. }
  537. return 0
  538. }
  539. func (m *VehicleItem) GetPlateNo() string {
  540. if m != nil {
  541. return m.PlateNo
  542. }
  543. return ""
  544. }
  545. func (m *VehicleItem) GetVehicleType() int32 {
  546. if m != nil {
  547. return m.VehicleType
  548. }
  549. return 0
  550. }
  551. func (m *VehicleItem) GetVin() string {
  552. if m != nil {
  553. return m.Vin
  554. }
  555. return ""
  556. }
  557. func (m *VehicleItem) GetEngineNo() string {
  558. if m != nil {
  559. return m.EngineNo
  560. }
  561. return ""
  562. }
  563. func (m *VehicleItem) GetBrand() string {
  564. if m != nil {
  565. return m.Brand
  566. }
  567. return ""
  568. }
  569. func (m *VehicleItem) GetColor() string {
  570. if m != nil {
  571. return m.Color
  572. }
  573. return ""
  574. }
  575. func (m *VehicleItem) GetHouseholdUid() int64 {
  576. if m != nil {
  577. return m.HouseholdUid
  578. }
  579. return 0
  580. }
  581. func (m *VehicleItem) GetBindType() int32 {
  582. if m != nil {
  583. return m.BindType
  584. }
  585. return 0
  586. }
  587. func (m *VehicleItem) GetDisplacementUnit() string {
  588. if m != nil {
  589. return m.DisplacementUnit
  590. }
  591. return ""
  592. }
  593. func (m *VehicleItem) GetDisplacement() float64 {
  594. if m != nil {
  595. return m.Displacement
  596. }
  597. return 0
  598. }
  599. func (m *VehicleItem) GetSeat() int32 {
  600. if m != nil {
  601. return m.Seat
  602. }
  603. return 0
  604. }
  605. func (m *VehicleItem) GetHouseholdName() string {
  606. if m != nil {
  607. return m.HouseholdName
  608. }
  609. return ""
  610. }
  611. func (m *VehicleItem) GetHouseholdPhone() string {
  612. if m != nil {
  613. return m.HouseholdPhone
  614. }
  615. return ""
  616. }
  617. func (m *VehicleItem) GetParkId() int64 {
  618. if m != nil {
  619. return m.ParkId
  620. }
  621. return 0
  622. }
  623. func (m *VehicleItem) GetParkName() string {
  624. if m != nil {
  625. return m.ParkName
  626. }
  627. return ""
  628. }
  629. func (m *VehicleItem) GetParkNumber() string {
  630. if m != nil {
  631. return m.ParkNumber
  632. }
  633. return ""
  634. }
  635. func (m *VehicleItem) GetSpaceNumber() string {
  636. if m != nil {
  637. return m.SpaceNumber
  638. }
  639. return ""
  640. }
  641. type VehicleListReply struct {
  642. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  643. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  644. List []*VehicleItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  645. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  646. XXX_unrecognized []byte `json:"-"`
  647. XXX_sizecache int32 `json:"-"`
  648. }
  649. func (m *VehicleListReply) Reset() { *m = VehicleListReply{} }
  650. func (m *VehicleListReply) String() string { return proto.CompactTextString(m) }
  651. func (*VehicleListReply) ProtoMessage() {}
  652. func (*VehicleListReply) Descriptor() ([]byte, []int) {
  653. return fileDescriptor_416ab71f8212867c, []int{8}
  654. }
  655. func (m *VehicleListReply) XXX_Unmarshal(b []byte) error {
  656. return xxx_messageInfo_VehicleListReply.Unmarshal(m, b)
  657. }
  658. func (m *VehicleListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  659. return xxx_messageInfo_VehicleListReply.Marshal(b, m, deterministic)
  660. }
  661. func (m *VehicleListReply) XXX_Merge(src proto.Message) {
  662. xxx_messageInfo_VehicleListReply.Merge(m, src)
  663. }
  664. func (m *VehicleListReply) XXX_Size() int {
  665. return xxx_messageInfo_VehicleListReply.Size(m)
  666. }
  667. func (m *VehicleListReply) XXX_DiscardUnknown() {
  668. xxx_messageInfo_VehicleListReply.DiscardUnknown(m)
  669. }
  670. var xxx_messageInfo_VehicleListReply proto.InternalMessageInfo
  671. func (m *VehicleListReply) GetPage() int64 {
  672. if m != nil {
  673. return m.Page
  674. }
  675. return 0
  676. }
  677. func (m *VehicleListReply) GetTotal() int64 {
  678. if m != nil {
  679. return m.Total
  680. }
  681. return 0
  682. }
  683. func (m *VehicleListReply) GetList() []*VehicleItem {
  684. if m != nil {
  685. return m.List
  686. }
  687. return nil
  688. }
  689. func init() {
  690. proto.RegisterType((*VehicleAddRequest)(nil), "pb_v1.VehicleAddRequest")
  691. proto.RegisterType((*VehicleAddReply)(nil), "pb_v1.VehicleAddReply")
  692. proto.RegisterType((*VehicleUpdateRequest)(nil), "pb_v1.VehicleUpdateRequest")
  693. proto.RegisterType((*VehicleUpdateReply)(nil), "pb_v1.VehicleUpdateReply")
  694. proto.RegisterType((*VehicleDelRequest)(nil), "pb_v1.VehicleDelRequest")
  695. proto.RegisterType((*VehicleDelReply)(nil), "pb_v1.VehicleDelReply")
  696. proto.RegisterType((*VehicleListRequest)(nil), "pb_v1.VehicleListRequest")
  697. proto.RegisterType((*VehicleItem)(nil), "pb_v1.VehicleItem")
  698. proto.RegisterType((*VehicleListReply)(nil), "pb_v1.VehicleListReply")
  699. }
  700. func init() {
  701. proto.RegisterFile("vehicle.proto", fileDescriptor_416ab71f8212867c)
  702. }
  703. var fileDescriptor_416ab71f8212867c = []byte{
  704. // 627 bytes of a gzipped FileDescriptorProto
  705. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xed, 0x6a, 0x13, 0x41,
  706. 0x14, 0x65, 0xb3, 0xf9, 0xbc, 0x9b, 0xb6, 0xe9, 0x58, 0x70, 0xa5, 0xa0, 0xe9, 0x8a, 0x1a, 0x90,
  707. 0xb6, 0xb4, 0x7d, 0x01, 0x15, 0x11, 0x02, 0x52, 0x64, 0xb5, 0xfe, 0xf0, 0xcf, 0x32, 0xc9, 0x5c,
  708. 0x92, 0xa1, 0x9b, 0x9d, 0x71, 0x77, 0x12, 0x49, 0x5f, 0xc1, 0x77, 0xf0, 0x61, 0x7c, 0x14, 0x9f,
  709. 0x44, 0xe6, 0xce, 0xba, 0x49, 0x5a, 0x91, 0x22, 0x88, 0x7f, 0xfa, 0x2b, 0x73, 0xcf, 0xbd, 0x33,
  710. 0x73, 0x26, 0xe7, 0x1c, 0x16, 0xb6, 0x16, 0x38, 0x95, 0xe3, 0x14, 0x8f, 0x74, 0xae, 0x8c, 0x62,
  711. 0x0d, 0x3d, 0x4a, 0x16, 0x27, 0xd1, 0x57, 0x1f, 0x76, 0x3f, 0xba, 0xc6, 0x4b, 0x21, 0x62, 0xfc,
  712. 0x3c, 0xc7, 0xc2, 0xb0, 0x7d, 0xe8, 0x4c, 0x78, 0x2e, 0x30, 0x4b, 0xa4, 0x08, 0xbd, 0xbe, 0x37,
  713. 0xf0, 0xe3, 0xb6, 0x03, 0x86, 0x82, 0x3d, 0x80, 0x76, 0xa1, 0xf9, 0x18, 0x6d, 0xaf, 0x46, 0xbd,
  714. 0x16, 0xd5, 0xae, 0xa5, 0x53, 0x6e, 0x30, 0xc9, 0x54, 0xe8, 0xf7, 0xbd, 0x41, 0x27, 0x6e, 0x51,
  715. 0x7d, 0xae, 0xd8, 0x01, 0x74, 0x4b, 0x02, 0x89, 0x59, 0x6a, 0x0c, 0xeb, 0x7d, 0x6f, 0xd0, 0x88,
  716. 0x83, 0x12, 0xfb, 0xb0, 0xd4, 0xc8, 0x7a, 0xe0, 0x2f, 0x64, 0x16, 0x36, 0x68, 0xa3, 0x5d, 0x5a,
  717. 0x1e, 0x98, 0x4d, 0x64, 0x46, 0x07, 0x36, 0x09, 0x6f, 0x3b, 0xe0, 0x5c, 0xb1, 0x3d, 0x68, 0x8c,
  718. 0x72, 0x9e, 0x89, 0xb0, 0x45, 0x0d, 0x57, 0x58, 0x74, 0xac, 0x52, 0x95, 0x87, 0x6d, 0x87, 0x52,
  719. 0xc1, 0x1e, 0xc3, 0xd6, 0x54, 0xcd, 0x0b, 0x9c, 0xaa, 0x54, 0x24, 0x73, 0x29, 0xc2, 0x0e, 0x11,
  720. 0xef, 0x56, 0xe0, 0x85, 0x14, 0xf6, 0xb6, 0x91, 0xcc, 0x84, 0xe3, 0x07, 0xc4, 0xaf, 0x6d, 0x01,
  721. 0x22, 0xf7, 0x1c, 0x76, 0x85, 0x2c, 0x74, 0xca, 0xc7, 0x38, 0xc3, 0xcc, 0x24, 0xf3, 0x4c, 0x9a,
  722. 0x30, 0xa0, 0x3b, 0x7a, 0xeb, 0x8d, 0x8b, 0x4c, 0x1a, 0x16, 0x41, 0x77, 0x1d, 0x0b, 0xbb, 0x7d,
  723. 0x6f, 0xe0, 0xc5, 0x1b, 0x18, 0x63, 0x50, 0x2f, 0x90, 0x9b, 0x70, 0x8b, 0x2e, 0xa2, 0x75, 0x74,
  724. 0x00, 0x3b, 0xeb, 0x62, 0xe8, 0x74, 0xc9, 0xb6, 0xa1, 0x56, 0x69, 0x50, 0x93, 0x22, 0xfa, 0xe6,
  725. 0xc3, 0x5e, 0x39, 0x73, 0xa1, 0x05, 0x37, 0x78, 0xa7, 0xd9, 0x7f, 0xd5, 0xac, 0x14, 0x68, 0xbb,
  726. 0x12, 0x68, 0x08, 0xec, 0x9a, 0x3e, 0x56, 0xc6, 0x33, 0x68, 0xaa, 0x5c, 0x4e, 0x64, 0x46, 0xd2,
  727. 0x04, 0xa7, 0xfb, 0x47, 0x94, 0xbf, 0xa3, 0xdf, 0x49, 0x19, 0x97, 0xa3, 0xd1, 0x8b, 0x2a, 0x9b,
  728. 0xaf, 0x31, 0xbd, 0x95, 0xce, 0x8e, 0x4c, 0xad, 0x22, 0xf3, 0xa6, 0x32, 0x14, 0x9d, 0xf0, 0xd7,
  729. 0x4c, 0x7e, 0x78, 0xd5, 0xab, 0xde, 0xca, 0xc2, 0xdc, 0x8a, 0x0b, 0x83, 0xba, 0xe6, 0x13, 0x2c,
  730. 0xd9, 0xd0, 0xda, 0x6e, 0xb0, 0xbf, 0x49, 0x21, 0xaf, 0x90, 0xdc, 0xe6, 0xc7, 0x6d, 0x0b, 0xbc,
  731. 0x97, 0x57, 0xb8, 0xe1, 0xc4, 0xfa, 0x9f, 0x9d, 0xd8, 0xb8, 0xe9, 0xc4, 0x0d, 0x27, 0x34, 0xaf,
  732. 0x39, 0xe1, 0x86, 0x97, 0x5a, 0x37, 0xbd, 0x14, 0x7d, 0xaf, 0x43, 0x50, 0x3e, 0x72, 0x68, 0x70,
  733. 0x76, 0x3d, 0x7a, 0x77, 0x21, 0xfa, 0x77, 0x21, 0x7a, 0x02, 0xdb, 0x2b, 0x9a, 0x19, 0x9f, 0x21,
  734. 0x05, 0xaa, 0x13, 0xaf, 0xc8, 0x9f, 0xf3, 0x19, 0xb2, 0x67, 0xb0, 0xb3, 0x1a, 0xd3, 0x53, 0x95,
  735. 0x61, 0xb8, 0x43, 0x73, 0xab, 0xdd, 0xef, 0x2c, 0xca, 0xee, 0x43, 0x4b, 0xf3, 0xfc, 0xd2, 0x2a,
  736. 0xd5, 0xa3, 0x07, 0x37, 0x6d, 0x39, 0x14, 0xce, 0x80, 0xf9, 0xa5, 0xbb, 0x63, 0xd7, 0xfd, 0xb1,
  737. 0x16, 0xa0, 0xe3, 0x1f, 0x41, 0xe0, 0x9a, 0xf3, 0xd9, 0x08, 0xf3, 0x90, 0x51, 0x1b, 0xa8, 0x4d,
  738. 0x88, 0xd5, 0xd2, 0x39, 0xa0, 0x9c, 0xb8, 0x47, 0x13, 0x01, 0x61, 0x6e, 0x24, 0x12, 0xd0, 0xdb,
  739. 0x08, 0x8a, 0x8d, 0xdc, 0xaf, 0x24, 0x78, 0x6b, 0x49, 0xd8, 0x83, 0x86, 0x51, 0x86, 0xa7, 0xa5,
  740. 0x93, 0x5c, 0xc1, 0x9e, 0x42, 0x3d, 0x95, 0x85, 0x09, 0xfd, 0xbe, 0x3f, 0x08, 0x4e, 0xd9, 0x66,
  741. 0x34, 0xad, 0x29, 0x63, 0xea, 0xbf, 0xea, 0x7f, 0x7a, 0xa8, 0x73, 0xa5, 0x31, 0x37, 0xcb, 0x43,
  742. 0xae, 0x75, 0x8a, 0x06, 0x0f, 0x27, 0xdc, 0xe0, 0x17, 0xbe, 0x3c, 0xd6, 0xa3, 0xe3, 0xc5, 0xc9,
  743. 0xa8, 0x49, 0x9f, 0xf9, 0xb3, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xc5, 0x1a, 0x2b, 0xf7,
  744. 0x07, 0x00, 0x00,
  745. }