123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: vehicle.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type VehicleAddRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
- PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
- VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
- Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
- EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
- Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
- Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
- HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
- BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
- DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
- Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
- Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleAddRequest) Reset() { *m = VehicleAddRequest{} }
- func (m *VehicleAddRequest) String() string { return proto.CompactTextString(m) }
- func (*VehicleAddRequest) ProtoMessage() {}
- func (*VehicleAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{0}
- }
- func (m *VehicleAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleAddRequest.Unmarshal(m, b)
- }
- func (m *VehicleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleAddRequest.Marshal(b, m, deterministic)
- }
- func (m *VehicleAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleAddRequest.Merge(m, src)
- }
- func (m *VehicleAddRequest) XXX_Size() int {
- return xxx_messageInfo_VehicleAddRequest.Size(m)
- }
- func (m *VehicleAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleAddRequest proto.InternalMessageInfo
- func (m *VehicleAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VehicleAddRequest) GetSpaceId() int64 {
- if m != nil {
- return m.SpaceId
- }
- return 0
- }
- func (m *VehicleAddRequest) GetPlateNo() string {
- if m != nil {
- return m.PlateNo
- }
- return ""
- }
- func (m *VehicleAddRequest) GetVehicleType() int32 {
- if m != nil {
- return m.VehicleType
- }
- return 0
- }
- func (m *VehicleAddRequest) GetVin() string {
- if m != nil {
- return m.Vin
- }
- return ""
- }
- func (m *VehicleAddRequest) GetEngineNo() string {
- if m != nil {
- return m.EngineNo
- }
- return ""
- }
- func (m *VehicleAddRequest) GetBrand() string {
- if m != nil {
- return m.Brand
- }
- return ""
- }
- func (m *VehicleAddRequest) GetColor() string {
- if m != nil {
- return m.Color
- }
- return ""
- }
- func (m *VehicleAddRequest) GetHouseholdUid() int64 {
- if m != nil {
- return m.HouseholdUid
- }
- return 0
- }
- func (m *VehicleAddRequest) GetBindType() int32 {
- if m != nil {
- return m.BindType
- }
- return 0
- }
- func (m *VehicleAddRequest) GetDisplacementUnit() string {
- if m != nil {
- return m.DisplacementUnit
- }
- return ""
- }
- func (m *VehicleAddRequest) GetDisplacement() float64 {
- if m != nil {
- return m.Displacement
- }
- return 0
- }
- func (m *VehicleAddRequest) GetSeat() int32 {
- if m != nil {
- return m.Seat
- }
- return 0
- }
- type VehicleAddReply struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleAddReply) Reset() { *m = VehicleAddReply{} }
- func (m *VehicleAddReply) String() string { return proto.CompactTextString(m) }
- func (*VehicleAddReply) ProtoMessage() {}
- func (*VehicleAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{1}
- }
- func (m *VehicleAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleAddReply.Unmarshal(m, b)
- }
- func (m *VehicleAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleAddReply.Marshal(b, m, deterministic)
- }
- func (m *VehicleAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleAddReply.Merge(m, src)
- }
- func (m *VehicleAddReply) XXX_Size() int {
- return xxx_messageInfo_VehicleAddReply.Size(m)
- }
- func (m *VehicleAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleAddReply proto.InternalMessageInfo
- func (m *VehicleAddReply) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type VehicleUpdateRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
- PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
- VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
- Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
- EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
- Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
- Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
- HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
- BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
- DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
- Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
- Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
- Id int64 `protobuf:"varint,14,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleUpdateRequest) Reset() { *m = VehicleUpdateRequest{} }
- func (m *VehicleUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*VehicleUpdateRequest) ProtoMessage() {}
- func (*VehicleUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{2}
- }
- func (m *VehicleUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleUpdateRequest.Unmarshal(m, b)
- }
- func (m *VehicleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *VehicleUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleUpdateRequest.Merge(m, src)
- }
- func (m *VehicleUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_VehicleUpdateRequest.Size(m)
- }
- func (m *VehicleUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleUpdateRequest proto.InternalMessageInfo
- func (m *VehicleUpdateRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetSpaceId() int64 {
- if m != nil {
- return m.SpaceId
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetPlateNo() string {
- if m != nil {
- return m.PlateNo
- }
- return ""
- }
- func (m *VehicleUpdateRequest) GetVehicleType() int32 {
- if m != nil {
- return m.VehicleType
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetVin() string {
- if m != nil {
- return m.Vin
- }
- return ""
- }
- func (m *VehicleUpdateRequest) GetEngineNo() string {
- if m != nil {
- return m.EngineNo
- }
- return ""
- }
- func (m *VehicleUpdateRequest) GetBrand() string {
- if m != nil {
- return m.Brand
- }
- return ""
- }
- func (m *VehicleUpdateRequest) GetColor() string {
- if m != nil {
- return m.Color
- }
- return ""
- }
- func (m *VehicleUpdateRequest) GetHouseholdUid() int64 {
- if m != nil {
- return m.HouseholdUid
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetBindType() int32 {
- if m != nil {
- return m.BindType
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetDisplacementUnit() string {
- if m != nil {
- return m.DisplacementUnit
- }
- return ""
- }
- func (m *VehicleUpdateRequest) GetDisplacement() float64 {
- if m != nil {
- return m.Displacement
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetSeat() int32 {
- if m != nil {
- return m.Seat
- }
- return 0
- }
- func (m *VehicleUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type VehicleUpdateReply struct {
- Origin *VehicleUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleUpdateReply) Reset() { *m = VehicleUpdateReply{} }
- func (m *VehicleUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*VehicleUpdateReply) ProtoMessage() {}
- func (*VehicleUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{3}
- }
- func (m *VehicleUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleUpdateReply.Unmarshal(m, b)
- }
- func (m *VehicleUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *VehicleUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleUpdateReply.Merge(m, src)
- }
- func (m *VehicleUpdateReply) XXX_Size() int {
- return xxx_messageInfo_VehicleUpdateReply.Size(m)
- }
- func (m *VehicleUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleUpdateReply proto.InternalMessageInfo
- func (m *VehicleUpdateReply) GetOrigin() *VehicleUpdateRequest {
- if m != nil {
- return m.Origin
- }
- return nil
- }
- type VehicleDelRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleDelRequest) Reset() { *m = VehicleDelRequest{} }
- func (m *VehicleDelRequest) String() string { return proto.CompactTextString(m) }
- func (*VehicleDelRequest) ProtoMessage() {}
- func (*VehicleDelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{4}
- }
- func (m *VehicleDelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleDelRequest.Unmarshal(m, b)
- }
- func (m *VehicleDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleDelRequest.Marshal(b, m, deterministic)
- }
- func (m *VehicleDelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleDelRequest.Merge(m, src)
- }
- func (m *VehicleDelRequest) XXX_Size() int {
- return xxx_messageInfo_VehicleDelRequest.Size(m)
- }
- func (m *VehicleDelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleDelRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleDelRequest proto.InternalMessageInfo
- func (m *VehicleDelRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VehicleDelRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type VehicleDelReply struct {
- Origin *VehicleUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleDelReply) Reset() { *m = VehicleDelReply{} }
- func (m *VehicleDelReply) String() string { return proto.CompactTextString(m) }
- func (*VehicleDelReply) ProtoMessage() {}
- func (*VehicleDelReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{5}
- }
- func (m *VehicleDelReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleDelReply.Unmarshal(m, b)
- }
- func (m *VehicleDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleDelReply.Marshal(b, m, deterministic)
- }
- func (m *VehicleDelReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleDelReply.Merge(m, src)
- }
- func (m *VehicleDelReply) XXX_Size() int {
- return xxx_messageInfo_VehicleDelReply.Size(m)
- }
- func (m *VehicleDelReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleDelReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleDelReply proto.InternalMessageInfo
- func (m *VehicleDelReply) GetOrigin() *VehicleUpdateRequest {
- if m != nil {
- return m.Origin
- }
- return nil
- }
- type VehicleListRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- PlateNo string `protobuf:"bytes,4,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
- VehicleType int32 `protobuf:"varint,5,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
- BindType int32 `protobuf:"varint,6,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
- HouseholdUid int64 `protobuf:"varint,7,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleListRequest) Reset() { *m = VehicleListRequest{} }
- func (m *VehicleListRequest) String() string { return proto.CompactTextString(m) }
- func (*VehicleListRequest) ProtoMessage() {}
- func (*VehicleListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{6}
- }
- func (m *VehicleListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleListRequest.Unmarshal(m, b)
- }
- func (m *VehicleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleListRequest.Marshal(b, m, deterministic)
- }
- func (m *VehicleListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleListRequest.Merge(m, src)
- }
- func (m *VehicleListRequest) XXX_Size() int {
- return xxx_messageInfo_VehicleListRequest.Size(m)
- }
- func (m *VehicleListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleListRequest proto.InternalMessageInfo
- func (m *VehicleListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VehicleListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VehicleListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *VehicleListRequest) GetPlateNo() string {
- if m != nil {
- return m.PlateNo
- }
- return ""
- }
- func (m *VehicleListRequest) GetVehicleType() int32 {
- if m != nil {
- return m.VehicleType
- }
- return 0
- }
- func (m *VehicleListRequest) GetBindType() int32 {
- if m != nil {
- return m.BindType
- }
- return 0
- }
- func (m *VehicleListRequest) GetHouseholdUid() int64 {
- if m != nil {
- return m.HouseholdUid
- }
- return 0
- }
- type VehicleItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- SpaceId int64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id"`
- PlateNo string `protobuf:"bytes,3,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
- VehicleType int32 `protobuf:"varint,4,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type"`
- Vin string `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin"`
- EngineNo string `protobuf:"bytes,6,opt,name=engine_no,json=engineNo,proto3" json:"engine_no"`
- Brand string `protobuf:"bytes,7,opt,name=brand,proto3" json:"brand"`
- Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"`
- HouseholdUid int64 `protobuf:"varint,9,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
- BindType int32 `protobuf:"varint,10,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
- DisplacementUnit string `protobuf:"bytes,11,opt,name=displacement_unit,json=displacementUnit,proto3" json:"displacement_unit"`
- Displacement float64 `protobuf:"fixed64,12,opt,name=displacement,proto3" json:"displacement"`
- Seat int32 `protobuf:"varint,13,opt,name=seat,proto3" json:"seat"`
- HouseholdName string `protobuf:"bytes,14,opt,name=household_name,json=householdName,proto3" json:"household_name"`
- HouseholdPhone string `protobuf:"bytes,15,opt,name=household_phone,json=householdPhone,proto3" json:"household_phone"`
- ParkId int64 `protobuf:"varint,16,opt,name=park_id,json=parkId,proto3" json:"park_id"`
- ParkName string `protobuf:"bytes,17,opt,name=park_name,json=parkName,proto3" json:"park_name"`
- ParkNumber string `protobuf:"bytes,18,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
- SpaceNumber string `protobuf:"bytes,19,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
- BrandPic string `protobuf:"bytes,20,opt,name=brand_pic,json=brandPic,proto3" json:"brand_pic"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleItem) Reset() { *m = VehicleItem{} }
- func (m *VehicleItem) String() string { return proto.CompactTextString(m) }
- func (*VehicleItem) ProtoMessage() {}
- func (*VehicleItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{7}
- }
- func (m *VehicleItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleItem.Unmarshal(m, b)
- }
- func (m *VehicleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleItem.Marshal(b, m, deterministic)
- }
- func (m *VehicleItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleItem.Merge(m, src)
- }
- func (m *VehicleItem) XXX_Size() int {
- return xxx_messageInfo_VehicleItem.Size(m)
- }
- func (m *VehicleItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleItem proto.InternalMessageInfo
- func (m *VehicleItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VehicleItem) GetSpaceId() int64 {
- if m != nil {
- return m.SpaceId
- }
- return 0
- }
- func (m *VehicleItem) GetPlateNo() string {
- if m != nil {
- return m.PlateNo
- }
- return ""
- }
- func (m *VehicleItem) GetVehicleType() int32 {
- if m != nil {
- return m.VehicleType
- }
- return 0
- }
- func (m *VehicleItem) GetVin() string {
- if m != nil {
- return m.Vin
- }
- return ""
- }
- func (m *VehicleItem) GetEngineNo() string {
- if m != nil {
- return m.EngineNo
- }
- return ""
- }
- func (m *VehicleItem) GetBrand() string {
- if m != nil {
- return m.Brand
- }
- return ""
- }
- func (m *VehicleItem) GetColor() string {
- if m != nil {
- return m.Color
- }
- return ""
- }
- func (m *VehicleItem) GetHouseholdUid() int64 {
- if m != nil {
- return m.HouseholdUid
- }
- return 0
- }
- func (m *VehicleItem) GetBindType() int32 {
- if m != nil {
- return m.BindType
- }
- return 0
- }
- func (m *VehicleItem) GetDisplacementUnit() string {
- if m != nil {
- return m.DisplacementUnit
- }
- return ""
- }
- func (m *VehicleItem) GetDisplacement() float64 {
- if m != nil {
- return m.Displacement
- }
- return 0
- }
- func (m *VehicleItem) GetSeat() int32 {
- if m != nil {
- return m.Seat
- }
- return 0
- }
- func (m *VehicleItem) GetHouseholdName() string {
- if m != nil {
- return m.HouseholdName
- }
- return ""
- }
- func (m *VehicleItem) GetHouseholdPhone() string {
- if m != nil {
- return m.HouseholdPhone
- }
- return ""
- }
- func (m *VehicleItem) GetParkId() int64 {
- if m != nil {
- return m.ParkId
- }
- return 0
- }
- func (m *VehicleItem) GetParkName() string {
- if m != nil {
- return m.ParkName
- }
- return ""
- }
- func (m *VehicleItem) GetParkNumber() string {
- if m != nil {
- return m.ParkNumber
- }
- return ""
- }
- func (m *VehicleItem) GetSpaceNumber() string {
- if m != nil {
- return m.SpaceNumber
- }
- return ""
- }
- func (m *VehicleItem) GetBrandPic() string {
- if m != nil {
- return m.BrandPic
- }
- return ""
- }
- type VehicleListReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*VehicleItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VehicleListReply) Reset() { *m = VehicleListReply{} }
- func (m *VehicleListReply) String() string { return proto.CompactTextString(m) }
- func (*VehicleListReply) ProtoMessage() {}
- func (*VehicleListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_416ab71f8212867c, []int{8}
- }
- func (m *VehicleListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VehicleListReply.Unmarshal(m, b)
- }
- func (m *VehicleListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VehicleListReply.Marshal(b, m, deterministic)
- }
- func (m *VehicleListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VehicleListReply.Merge(m, src)
- }
- func (m *VehicleListReply) XXX_Size() int {
- return xxx_messageInfo_VehicleListReply.Size(m)
- }
- func (m *VehicleListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VehicleListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VehicleListReply proto.InternalMessageInfo
- func (m *VehicleListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VehicleListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *VehicleListReply) GetList() []*VehicleItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func init() {
- proto.RegisterType((*VehicleAddRequest)(nil), "pb_v1.VehicleAddRequest")
- proto.RegisterType((*VehicleAddReply)(nil), "pb_v1.VehicleAddReply")
- proto.RegisterType((*VehicleUpdateRequest)(nil), "pb_v1.VehicleUpdateRequest")
- proto.RegisterType((*VehicleUpdateReply)(nil), "pb_v1.VehicleUpdateReply")
- proto.RegisterType((*VehicleDelRequest)(nil), "pb_v1.VehicleDelRequest")
- proto.RegisterType((*VehicleDelReply)(nil), "pb_v1.VehicleDelReply")
- proto.RegisterType((*VehicleListRequest)(nil), "pb_v1.VehicleListRequest")
- proto.RegisterType((*VehicleItem)(nil), "pb_v1.VehicleItem")
- proto.RegisterType((*VehicleListReply)(nil), "pb_v1.VehicleListReply")
- }
- func init() {
- proto.RegisterFile("vehicle.proto", fileDescriptor_416ab71f8212867c)
- }
- var fileDescriptor_416ab71f8212867c = []byte{
- // 632 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xdd, 0x6a, 0x13, 0x41,
- 0x14, 0x66, 0xb3, 0xf9, 0x3d, 0x9b, 0xb6, 0xe9, 0x18, 0xe9, 0x48, 0x2f, 0x4c, 0x57, 0xd4, 0x80,
- 0xd8, 0xd2, 0xf6, 0x05, 0x54, 0x44, 0x08, 0x48, 0x29, 0xab, 0xf5, 0xc2, 0x9b, 0x65, 0xb3, 0x33,
- 0x24, 0x43, 0x37, 0x33, 0xe3, 0xee, 0x24, 0x90, 0xbe, 0x82, 0xef, 0xe0, 0xab, 0x09, 0x3e, 0x89,
- 0xcc, 0x99, 0x75, 0x93, 0x34, 0x22, 0x45, 0x10, 0x6f, 0x7a, 0x95, 0x39, 0xdf, 0x39, 0x33, 0xf3,
- 0xcd, 0x7e, 0xdf, 0x47, 0x60, 0x67, 0xc1, 0xa7, 0x22, 0xcd, 0xf8, 0xb1, 0xce, 0x95, 0x51, 0xa4,
- 0xa1, 0xc7, 0xf1, 0xe2, 0x34, 0xfc, 0xea, 0xc3, 0xfe, 0x27, 0xd7, 0x78, 0xcd, 0x58, 0xc4, 0xbf,
- 0xcc, 0x79, 0x61, 0xc8, 0x21, 0x74, 0x26, 0x49, 0xce, 0xb8, 0x8c, 0x05, 0xa3, 0xde, 0xc0, 0x1b,
- 0xfa, 0x51, 0xdb, 0x01, 0x23, 0x46, 0x1e, 0x41, 0xbb, 0xd0, 0x49, 0xca, 0x6d, 0xaf, 0x86, 0xbd,
- 0x16, 0xd6, 0xae, 0xa5, 0xb3, 0xc4, 0xf0, 0x58, 0x2a, 0xea, 0x0f, 0xbc, 0x61, 0x27, 0x6a, 0x61,
- 0x7d, 0xa1, 0xc8, 0x11, 0x74, 0x4b, 0x02, 0xb1, 0x59, 0x6a, 0x4e, 0xeb, 0x03, 0x6f, 0xd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