vehicle.pb.go 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  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 VehicleListRequest struct {
  20. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  21. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  22. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  23. PlateNo string `protobuf:"bytes,4,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  24. VehicleType int32 `protobuf:"varint,5,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
  25. BindType int32 `protobuf:"varint,6,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  26. HouseholdUid int64 `protobuf:"varint,7,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  27. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  28. XXX_unrecognized []byte `json:"-"`
  29. XXX_sizecache int32 `json:"-"`
  30. }
  31. func (m *VehicleListRequest) Reset() { *m = VehicleListRequest{} }
  32. func (m *VehicleListRequest) String() string { return proto.CompactTextString(m) }
  33. func (*VehicleListRequest) ProtoMessage() {}
  34. func (*VehicleListRequest) Descriptor() ([]byte, []int) {
  35. return fileDescriptor_416ab71f8212867c, []int{0}
  36. }
  37. func (m *VehicleListRequest) XXX_Unmarshal(b []byte) error {
  38. return xxx_messageInfo_VehicleListRequest.Unmarshal(m, b)
  39. }
  40. func (m *VehicleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. return xxx_messageInfo_VehicleListRequest.Marshal(b, m, deterministic)
  42. }
  43. func (m *VehicleListRequest) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_VehicleListRequest.Merge(m, src)
  45. }
  46. func (m *VehicleListRequest) XXX_Size() int {
  47. return xxx_messageInfo_VehicleListRequest.Size(m)
  48. }
  49. func (m *VehicleListRequest) XXX_DiscardUnknown() {
  50. xxx_messageInfo_VehicleListRequest.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_VehicleListRequest proto.InternalMessageInfo
  53. func (m *VehicleListRequest) GetGardenId() int64 {
  54. if m != nil {
  55. return m.GardenId
  56. }
  57. return 0
  58. }
  59. func (m *VehicleListRequest) GetPage() int64 {
  60. if m != nil {
  61. return m.Page
  62. }
  63. return 0
  64. }
  65. func (m *VehicleListRequest) GetPageSize() int64 {
  66. if m != nil {
  67. return m.PageSize
  68. }
  69. return 0
  70. }
  71. func (m *VehicleListRequest) GetPlateNo() string {
  72. if m != nil {
  73. return m.PlateNo
  74. }
  75. return ""
  76. }
  77. func (m *VehicleListRequest) GetVehicleType() int32 {
  78. if m != nil {
  79. return m.VehicleType
  80. }
  81. return 0
  82. }
  83. func (m *VehicleListRequest) GetBindType() int32 {
  84. if m != nil {
  85. return m.BindType
  86. }
  87. return 0
  88. }
  89. func (m *VehicleListRequest) GetHouseholdUid() int64 {
  90. if m != nil {
  91. return m.HouseholdUid
  92. }
  93. return 0
  94. }
  95. type VehicleItem struct {
  96. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  97. SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
  98. PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  99. VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
  100. Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
  101. EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
  102. Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
  103. Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
  104. HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  105. BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  106. DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
  107. Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
  108. Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
  109. HouseholdName string `protobuf:"bytes,14,opt,name=household_name,json=householdName,proto3" json:"household_name"`
  110. HouseholdPhone string `protobuf:"bytes,15,opt,name=household_phone,json=householdPhone,proto3" json:"household_phone"`
  111. ParkId int64 `protobuf:"varint,16,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  112. ParkName string `protobuf:"bytes,17,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  113. ParkNumber string `protobuf:"bytes,18,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  114. SpaceNumber string `protobuf:"bytes,19,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  115. BrandPic string `protobuf:"bytes,20,opt,name=brand_pic,json=brandPic,proto3" json:"brand_pic"`
  116. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  117. XXX_unrecognized []byte `json:"-"`
  118. XXX_sizecache int32 `json:"-"`
  119. }
  120. func (m *VehicleItem) Reset() { *m = VehicleItem{} }
  121. func (m *VehicleItem) String() string { return proto.CompactTextString(m) }
  122. func (*VehicleItem) ProtoMessage() {}
  123. func (*VehicleItem) Descriptor() ([]byte, []int) {
  124. return fileDescriptor_416ab71f8212867c, []int{1}
  125. }
  126. func (m *VehicleItem) XXX_Unmarshal(b []byte) error {
  127. return xxx_messageInfo_VehicleItem.Unmarshal(m, b)
  128. }
  129. func (m *VehicleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  130. return xxx_messageInfo_VehicleItem.Marshal(b, m, deterministic)
  131. }
  132. func (m *VehicleItem) XXX_Merge(src proto.Message) {
  133. xxx_messageInfo_VehicleItem.Merge(m, src)
  134. }
  135. func (m *VehicleItem) XXX_Size() int {
  136. return xxx_messageInfo_VehicleItem.Size(m)
  137. }
  138. func (m *VehicleItem) XXX_DiscardUnknown() {
  139. xxx_messageInfo_VehicleItem.DiscardUnknown(m)
  140. }
  141. var xxx_messageInfo_VehicleItem proto.InternalMessageInfo
  142. func (m *VehicleItem) GetId() int64 {
  143. if m != nil {
  144. return m.Id
  145. }
  146. return 0
  147. }
  148. func (m *VehicleItem) GetSpaceId() int64 {
  149. if m != nil {
  150. return m.SpaceId
  151. }
  152. return 0
  153. }
  154. func (m *VehicleItem) GetPlateNo() string {
  155. if m != nil {
  156. return m.PlateNo
  157. }
  158. return ""
  159. }
  160. func (m *VehicleItem) GetVehicleType() int32 {
  161. if m != nil {
  162. return m.VehicleType
  163. }
  164. return 0
  165. }
  166. func (m *VehicleItem) GetVin() string {
  167. if m != nil {
  168. return m.Vin
  169. }
  170. return ""
  171. }
  172. func (m *VehicleItem) GetEngineNo() string {
  173. if m != nil {
  174. return m.EngineNo
  175. }
  176. return ""
  177. }
  178. func (m *VehicleItem) GetBrand() string {
  179. if m != nil {
  180. return m.Brand
  181. }
  182. return ""
  183. }
  184. func (m *VehicleItem) GetColor() string {
  185. if m != nil {
  186. return m.Color
  187. }
  188. return ""
  189. }
  190. func (m *VehicleItem) GetHouseholdUid() int64 {
  191. if m != nil {
  192. return m.HouseholdUid
  193. }
  194. return 0
  195. }
  196. func (m *VehicleItem) GetBindType() int32 {
  197. if m != nil {
  198. return m.BindType
  199. }
  200. return 0
  201. }
  202. func (m *VehicleItem) GetDisplacementUnit() string {
  203. if m != nil {
  204. return m.DisplacementUnit
  205. }
  206. return ""
  207. }
  208. func (m *VehicleItem) GetDisplacement() float64 {
  209. if m != nil {
  210. return m.Displacement
  211. }
  212. return 0
  213. }
  214. func (m *VehicleItem) GetSeat() int32 {
  215. if m != nil {
  216. return m.Seat
  217. }
  218. return 0
  219. }
  220. func (m *VehicleItem) GetHouseholdName() string {
  221. if m != nil {
  222. return m.HouseholdName
  223. }
  224. return ""
  225. }
  226. func (m *VehicleItem) GetHouseholdPhone() string {
  227. if m != nil {
  228. return m.HouseholdPhone
  229. }
  230. return ""
  231. }
  232. func (m *VehicleItem) GetParkId() int64 {
  233. if m != nil {
  234. return m.ParkId
  235. }
  236. return 0
  237. }
  238. func (m *VehicleItem) GetParkName() string {
  239. if m != nil {
  240. return m.ParkName
  241. }
  242. return ""
  243. }
  244. func (m *VehicleItem) GetParkNumber() string {
  245. if m != nil {
  246. return m.ParkNumber
  247. }
  248. return ""
  249. }
  250. func (m *VehicleItem) GetSpaceNumber() string {
  251. if m != nil {
  252. return m.SpaceNumber
  253. }
  254. return ""
  255. }
  256. func (m *VehicleItem) GetBrandPic() string {
  257. if m != nil {
  258. return m.BrandPic
  259. }
  260. return ""
  261. }
  262. type VehicleListReply struct {
  263. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  264. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  265. List []*VehicleItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  266. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  267. XXX_unrecognized []byte `json:"-"`
  268. XXX_sizecache int32 `json:"-"`
  269. }
  270. func (m *VehicleListReply) Reset() { *m = VehicleListReply{} }
  271. func (m *VehicleListReply) String() string { return proto.CompactTextString(m) }
  272. func (*VehicleListReply) ProtoMessage() {}
  273. func (*VehicleListReply) Descriptor() ([]byte, []int) {
  274. return fileDescriptor_416ab71f8212867c, []int{2}
  275. }
  276. func (m *VehicleListReply) XXX_Unmarshal(b []byte) error {
  277. return xxx_messageInfo_VehicleListReply.Unmarshal(m, b)
  278. }
  279. func (m *VehicleListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  280. return xxx_messageInfo_VehicleListReply.Marshal(b, m, deterministic)
  281. }
  282. func (m *VehicleListReply) XXX_Merge(src proto.Message) {
  283. xxx_messageInfo_VehicleListReply.Merge(m, src)
  284. }
  285. func (m *VehicleListReply) XXX_Size() int {
  286. return xxx_messageInfo_VehicleListReply.Size(m)
  287. }
  288. func (m *VehicleListReply) XXX_DiscardUnknown() {
  289. xxx_messageInfo_VehicleListReply.DiscardUnknown(m)
  290. }
  291. var xxx_messageInfo_VehicleListReply proto.InternalMessageInfo
  292. func (m *VehicleListReply) GetPage() int64 {
  293. if m != nil {
  294. return m.Page
  295. }
  296. return 0
  297. }
  298. func (m *VehicleListReply) GetTotal() int64 {
  299. if m != nil {
  300. return m.Total
  301. }
  302. return 0
  303. }
  304. func (m *VehicleListReply) GetList() []*VehicleItem {
  305. if m != nil {
  306. return m.List
  307. }
  308. return nil
  309. }
  310. func init() {
  311. proto.RegisterType((*VehicleListRequest)(nil), "pb_v1.VehicleListRequest")
  312. proto.RegisterType((*VehicleItem)(nil), "pb_v1.VehicleItem")
  313. proto.RegisterType((*VehicleListReply)(nil), "pb_v1.VehicleListReply")
  314. }
  315. func init() {
  316. proto.RegisterFile("vehicle.proto", fileDescriptor_416ab71f8212867c)
  317. }
  318. var fileDescriptor_416ab71f8212867c = []byte{
  319. // 530 bytes of a gzipped FileDescriptorProto
  320. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xcd, 0x8e, 0xd3, 0x30,
  321. 0x10, 0xc7, 0x95, 0xa6, 0x9f, 0x4e, 0xdb, 0xed, 0x9a, 0x4a, 0x18, 0x71, 0x20, 0x14, 0x01, 0x95,
  322. 0xd0, 0x76, 0xb5, 0xf0, 0x06, 0xdc, 0x2a, 0xa1, 0x6a, 0x15, 0x58, 0x0e, 0x5c, 0x22, 0x27, 0x1e,
  323. 0xb5, 0xd6, 0xa6, 0xb6, 0x49, 0xdc, 0xa2, 0xec, 0xcb, 0x22, 0xf1, 0x24, 0xc8, 0xe3, 0xa8, 0x1f,
  324. 0x54, 0xe2, 0x94, 0xcc, 0x6f, 0xc6, 0x9e, 0xf9, 0x8f, 0x67, 0xc8, 0x68, 0x0f, 0x1b, 0x99, 0x17,
  325. 0xb0, 0x30, 0xa5, 0xb6, 0x9a, 0x76, 0x4c, 0x96, 0xee, 0xef, 0x66, 0x7f, 0x02, 0x42, 0xbf, 0x7b,
  326. 0xc7, 0x17, 0x59, 0xd9, 0x04, 0x7e, 0xee, 0xa0, 0xb2, 0xf4, 0x25, 0x19, 0xac, 0x79, 0x29, 0x40,
  327. 0xa5, 0x52, 0xb0, 0x20, 0x0e, 0xe6, 0x61, 0xd2, 0xf7, 0x60, 0x29, 0x28, 0x25, 0x6d, 0xc3, 0xd7,
  328. 0xc0, 0x5a, 0xc8, 0xf1, 0xdf, 0x1d, 0x70, 0xdf, 0xb4, 0x92, 0x4f, 0xc0, 0x42, 0x7f, 0xc0, 0x81,
  329. 0xaf, 0xf2, 0x09, 0xe8, 0x0b, 0xd2, 0x37, 0x05, 0xb7, 0x90, 0x2a, 0xcd, 0xda, 0x71, 0x30, 0x1f,
  330. 0x24, 0x3d, 0xb4, 0x57, 0x9a, 0xbe, 0x26, 0xc3, 0xa6, 0xae, 0xd4, 0xd6, 0x06, 0x58, 0x27, 0x0e,
  331. 0xe6, 0x9d, 0x24, 0x6a, 0xd8, 0xb7, 0xda, 0xe0, 0xd5, 0x99, 0x54, 0xc2, 0xfb, 0xbb, 0xe8, 0xef,
  332. 0x3b, 0x80, 0xce, 0x37, 0x64, 0xb4, 0xd1, 0xbb, 0x0a, 0x36, 0xba, 0x10, 0xe9, 0x4e, 0x0a, 0xd6,
  333. 0xc3, 0xdc, 0xc3, 0x03, 0x7c, 0x90, 0x62, 0xf6, 0xbb, 0x4d, 0xa2, 0x46, 0xe4, 0xd2, 0xc2, 0x96,
  334. 0x8e, 0x49, 0xeb, 0x20, 0xab, 0x25, 0x85, 0xab, 0xaf, 0x32, 0x3c, 0x07, 0x27, 0xd6, 0x8b, 0xea,
  335. 0xa1, 0xbd, 0x14, 0x67, 0xa5, 0x87, 0xff, 0x2f, 0xbd, 0x7d, 0x59, 0xfa, 0x84, 0x84, 0x7b, 0xa9,
  336. 0x50, 0xd4, 0x20, 0x71, 0xbf, 0x4e, 0x0c, 0xa8, 0xb5, 0x54, 0x78, 0x61, 0x17, 0x79, 0xdf, 0x83,
  337. 0x95, 0xa6, 0x53, 0xd2, 0xc9, 0x4a, 0xae, 0xbc, 0x88, 0x41, 0xe2, 0x0d, 0x47, 0x73, 0x5d, 0xe8,
  338. 0x92, 0xf5, 0x3d, 0x45, 0xe3, 0x52, 0xf8, 0xe0, 0x52, 0xf8, 0x79, 0xeb, 0xc8, 0x3f, 0xad, 0xfb,
  339. 0x40, 0xae, 0x85, 0xac, 0x4c, 0xc1, 0x73, 0xd8, 0x82, 0xb2, 0xe9, 0x4e, 0x49, 0xcb, 0x22, 0xcc,
  340. 0x31, 0x39, 0x75, 0x3c, 0x28, 0x69, 0xe9, 0x8c, 0x0c, 0x4f, 0x19, 0x1b, 0xc6, 0xc1, 0x3c, 0x48,
  341. 0xce, 0x98, 0x9b, 0x8b, 0x0a, 0xb8, 0x65, 0x23, 0x4c, 0x84, 0xff, 0xf4, 0x2d, 0x19, 0x1f, 0xcb,
  342. 0x54, 0x7c, 0x0b, 0x6c, 0x8c, 0x19, 0x8e, 0xc5, 0xaf, 0xf8, 0x16, 0xe8, 0x7b, 0x72, 0x75, 0x0c,
  343. 0x33, 0x1b, 0xad, 0x80, 0x5d, 0x61, 0xdc, 0xf1, 0xf4, 0xbd, 0xa3, 0xf4, 0x39, 0xe9, 0x19, 0x5e,
  344. 0x3e, 0xba, 0x97, 0x9a, 0xa0, 0xe0, 0xae, 0x33, 0x97, 0xc2, 0x0f, 0x60, 0xf9, 0xe8, 0x73, 0x5c,
  345. 0xfb, 0xc6, 0x3a, 0x80, 0xd7, 0xbf, 0x22, 0x91, 0x77, 0xee, 0xb6, 0x19, 0x94, 0x8c, 0xa2, 0x9b,
  346. 0xa0, 0x1b, 0x89, 0x7b, 0x4b, 0x3f, 0x01, 0x4d, 0xc4, 0x33, 0x8c, 0x88, 0x90, 0x35, 0x21, 0xae,
  347. 0x97, 0xee, 0x3d, 0x52, 0x23, 0x73, 0x36, 0xf5, 0x09, 0x10, 0xdc, 0xcb, 0x7c, 0x26, 0xc8, 0xe4,
  348. 0x6c, 0x8b, 0x4c, 0x51, 0x1f, 0xd6, 0x24, 0x38, 0x59, 0x93, 0x29, 0xe9, 0x58, 0x6d, 0x79, 0xd1,
  349. 0x8c, 0x99, 0x37, 0xe8, 0x3b, 0xd2, 0x2e, 0x64, 0x65, 0x59, 0x18, 0x87, 0xf3, 0xe8, 0x23, 0x5d,
  350. 0xe0, 0x6a, 0x2e, 0x4e, 0x26, 0x36, 0x41, 0xff, 0xe7, 0xd9, 0x8f, 0xd8, 0x94, 0xda, 0x40, 0x69,
  351. 0xeb, 0x9b, 0x43, 0x5f, 0x6e, 0xd6, 0xdc, 0xc2, 0x2f, 0x5e, 0xdf, 0x9a, 0xec, 0x76, 0x7f, 0x97,
  352. 0x75, 0x71, 0xbd, 0x3f, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x41, 0x0e, 0x9c, 0x64, 0xef, 0x03,
  353. 0x00, 0x00,
  354. }