123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850 |
- // 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"`
- 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 ""
- }
- 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{
- // 627 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xed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