1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: adm_vehicle_style.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb
- import (
- v1 "adm-gateway/pb/v1"
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- 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
- func init() {
- proto.RegisterFile("adm_vehicle_style.proto", fileDescriptor_7df2a90d4754b945)
- }
- var fileDescriptor_7df2a90d4754b945 = []byte{
- // 603 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x6f, 0x6f, 0x12, 0x4f,
- 0x10, 0xfe, 0xbd, 0x6a, 0x7e, 0x9d, 0x22, 0x94, 0x05, 0x8a, 0x62, 0x1b, 0x8d, 0xef, 0xa5, 0x69,
- 0x35, 0x21, 0x1a, 0x4d, 0xb5, 0x80, 0x86, 0x28, 0x31, 0x29, 0xd5, 0x44, 0xdf, 0x34, 0x0b, 0x37,
-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9, 0x1f, 0xfd, 0x0c, 0x00,
- 0x00, 0xff, 0xff, 0x51, 0x69, 0xec, 0x67, 0x18, 0x08, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConnInterface
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion6
- // VehicleStyleClient is the client API for VehicleStyle service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type VehicleStyleClient interface {
- // 品牌列表
- BrandList(ctx context.Context, in *v1.BrandListRequest, opts ...grpc.CallOption) (*v1.BrandListReply, error)
- // 模糊搜索
- Search(ctx context.Context, in *v1.SearchRequest, opts ...grpc.CallOption) (*v1.SearchReply, error)
- // 更新数据信息
- UpdateSYBrand(ctx context.Context, in *v1.UpdateSYBrandRequest, opts ...grpc.CallOption) (*v1.UpdateSYBrandReply, error)
- // 获取厂商列表
- GetMaker(ctx context.Context, in *v1.GetMakerRequest, opts ...grpc.CallOption) (*v1.GetMakerReply, error)
- // 更新厂商
- UpdateMaker(ctx context.Context, in *v1.UpdateMakerRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 车系列表
- SeriesList(ctx context.Context, in *v1.SeriesListRequest, opts ...grpc.CallOption) (*v1.SeriesListReply, error)
- // 更新车系
- UpdateSeries(ctx context.Context, in *v1.UpdateSeriesRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 车型列表
- StyleList(ctx context.Context, in *v1.StyleListRequest, opts ...grpc.CallOption) (*v1.StyleListReply, error)
- // 更新车型
- UpdateStyle(ctx context.Context, in *v1.UpdateStyleRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 获取车辆配置信息
- StyleInfo(ctx context.Context, in *v1.StyleInfoRequest, opts ...grpc.CallOption) (*v1.StyleInfoReply, error)
- // 更新车辆配置信息
- UpdateStyleInfo(ctx context.Context, in *v1.UpdateStyleInfoRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 维保手册
- MaintainManual(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.MaintainManualReply, error)
- // 项目列表
- ItemList(ctx context.Context, in *v1.ItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error)
- // 更新维保手册
- UpdateMaintainManual(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 维保详情
- MaintainManualInfo(ctx context.Context, in *v1.MaintainManualInfoRequest, opts ...grpc.CallOption) (*v1.MaintainManualInfoReply, error)
- // 配件参数
- StyleItem(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.StyleItemReply, error)
- // 获取c2列表
- C2List(ctx context.Context, in *v1.C2ListRequest, opts ...grpc.CallOption) (*v1.C2ListReply, error)
- // 修改配件参数信息
- UpdateStyleItem(ctx context.Context, in *v1.UpdateStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 删除维保信息
- DeleteMaintainace(ctx context.Context, in *v1.DeleteMaintainaceRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 车型信息导出
- ExportStyle(ctx context.Context, in *v1.ExportStyleRequest, opts ...grpc.CallOption) (*v1.ExportStyleReply, error)
- // 车型导出列表
- ExportStyleTaskList(ctx context.Context, in *v1.EmptyReply, opts ...grpc.CallOption) (*v1.ExportStyleTaskListReply, error)
- // 删除车型导出列表
- DeleteExportStyleTask(ctx context.Context, in *v1.DeleteExportStyleTaskRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 删除配件信息
- DeleteStyleItem(ctx context.Context, in *v1.DeleteStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 模板列表
- TemplateList(ctx context.Context, in *v1.TemplateListRequest, opts ...grpc.CallOption) (*v1.TemplateListReply, error)
- // 模板详情列表
- TemplateDetailList(ctx context.Context, in *v1.TemplateDetailListRequest, opts ...grpc.CallOption) (*v1.TemplateDetailListReply, error)
- // 模板详情
- TemplateDetail(ctx context.Context, in *v1.TemplateDetailRequest, opts ...grpc.CallOption) (*v1.TemplateDetailReply, error)
- // 增加模板
- AddTemplateDetail(ctx context.Context, in *v1.AddTemplateDetailRequest, opts ...grpc.CallOption) (*v1.AddTemplateDetailReply, error)
- // 修改模板
- UpdateTemplateDetail(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 选择模板
- ChooseTemplateDetail(ctx context.Context, in *v1.ChooseTemplateDetailRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
- // 项目列表
- TemplateItemList(ctx context.Context, in *v1.TemplateItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error)
- }
- type vehicleStyleClient struct {
- cc grpc.ClientConnInterface
- }
- func NewVehicleStyleClient(cc grpc.ClientConnInterface) VehicleStyleClient {
- return &vehicleStyleClient{cc}
- }
- func (c *vehicleStyleClient) BrandList(ctx context.Context, in *v1.BrandListRequest, opts ...grpc.CallOption) (*v1.BrandListReply, error) {
- out := new(v1.BrandListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/BrandList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) Search(ctx context.Context, in *v1.SearchRequest, opts ...grpc.CallOption) (*v1.SearchReply, error) {
- out := new(v1.SearchReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/Search", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateSYBrand(ctx context.Context, in *v1.UpdateSYBrandRequest, opts ...grpc.CallOption) (*v1.UpdateSYBrandReply, error) {
- out := new(v1.UpdateSYBrandReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateSYBrand", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) GetMaker(ctx context.Context, in *v1.GetMakerRequest, opts ...grpc.CallOption) (*v1.GetMakerReply, error) {
- out := new(v1.GetMakerReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/GetMaker", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateMaker(ctx context.Context, in *v1.UpdateMakerRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateMaker", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) SeriesList(ctx context.Context, in *v1.SeriesListRequest, opts ...grpc.CallOption) (*v1.SeriesListReply, error) {
- out := new(v1.SeriesListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/SeriesList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateSeries(ctx context.Context, in *v1.UpdateSeriesRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateSeries", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) StyleList(ctx context.Context, in *v1.StyleListRequest, opts ...grpc.CallOption) (*v1.StyleListReply, error) {
- out := new(v1.StyleListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/StyleList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateStyle(ctx context.Context, in *v1.UpdateStyleRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateStyle", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) StyleInfo(ctx context.Context, in *v1.StyleInfoRequest, opts ...grpc.CallOption) (*v1.StyleInfoReply, error) {
- out := new(v1.StyleInfoReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/StyleInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateStyleInfo(ctx context.Context, in *v1.UpdateStyleInfoRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateStyleInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) MaintainManual(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.MaintainManualReply, error) {
- out := new(v1.MaintainManualReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/MaintainManual", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) ItemList(ctx context.Context, in *v1.ItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error) {
- out := new(v1.ItemListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ItemList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateMaintainManual(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateMaintainManual", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) MaintainManualInfo(ctx context.Context, in *v1.MaintainManualInfoRequest, opts ...grpc.CallOption) (*v1.MaintainManualInfoReply, error) {
- out := new(v1.MaintainManualInfoReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/MaintainManualInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) StyleItem(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.StyleItemReply, error) {
- out := new(v1.StyleItemReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/StyleItem", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) C2List(ctx context.Context, in *v1.C2ListRequest, opts ...grpc.CallOption) (*v1.C2ListReply, error) {
- out := new(v1.C2ListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/C2List", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateStyleItem(ctx context.Context, in *v1.UpdateStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateStyleItem", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) DeleteMaintainace(ctx context.Context, in *v1.DeleteMaintainaceRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/DeleteMaintainace", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) ExportStyle(ctx context.Context, in *v1.ExportStyleRequest, opts ...grpc.CallOption) (*v1.ExportStyleReply, error) {
- out := new(v1.ExportStyleReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ExportStyle", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) ExportStyleTaskList(ctx context.Context, in *v1.EmptyReply, opts ...grpc.CallOption) (*v1.ExportStyleTaskListReply, error) {
- out := new(v1.ExportStyleTaskListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ExportStyleTaskList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) DeleteExportStyleTask(ctx context.Context, in *v1.DeleteExportStyleTaskRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/DeleteExportStyleTask", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) DeleteStyleItem(ctx context.Context, in *v1.DeleteStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/DeleteStyleItem", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) TemplateList(ctx context.Context, in *v1.TemplateListRequest, opts ...grpc.CallOption) (*v1.TemplateListReply, error) {
- out := new(v1.TemplateListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) TemplateDetailList(ctx context.Context, in *v1.TemplateDetailListRequest, opts ...grpc.CallOption) (*v1.TemplateDetailListReply, error) {
- out := new(v1.TemplateDetailListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateDetailList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) TemplateDetail(ctx context.Context, in *v1.TemplateDetailRequest, opts ...grpc.CallOption) (*v1.TemplateDetailReply, error) {
- out := new(v1.TemplateDetailReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateDetail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) AddTemplateDetail(ctx context.Context, in *v1.AddTemplateDetailRequest, opts ...grpc.CallOption) (*v1.AddTemplateDetailReply, error) {
- out := new(v1.AddTemplateDetailReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/AddTemplateDetail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) UpdateTemplateDetail(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateTemplateDetail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) ChooseTemplateDetail(ctx context.Context, in *v1.ChooseTemplateDetailRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
- out := new(v1.EmptyReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ChooseTemplateDetail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *vehicleStyleClient) TemplateItemList(ctx context.Context, in *v1.TemplateItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error) {
- out := new(v1.ItemListReply)
- err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateItemList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // VehicleStyleServer is the server API for VehicleStyle service.
- type VehicleStyleServer interface {
- // 品牌列表
- BrandList(context.Context, *v1.BrandListRequest) (*v1.BrandListReply, error)
- // 模糊搜索
- Search(context.Context, *v1.SearchRequest) (*v1.SearchReply, error)
- // 更新数据信息
- UpdateSYBrand(context.Context, *v1.UpdateSYBrandRequest) (*v1.UpdateSYBrandReply, error)
- // 获取厂商列表
- GetMaker(context.Context, *v1.GetMakerRequest) (*v1.GetMakerReply, error)
- // 更新厂商
- UpdateMaker(context.Context, *v1.UpdateMakerRequest) (*v1.EmptyReply, error)
- // 车系列表
- SeriesList(context.Context, *v1.SeriesListRequest) (*v1.SeriesListReply, error)
- // 更新车系
- UpdateSeries(context.Context, *v1.UpdateSeriesRequest) (*v1.EmptyReply, error)
- // 车型列表
- StyleList(context.Context, *v1.StyleListRequest) (*v1.StyleListReply, error)
- // 更新车型
- UpdateStyle(context.Context, *v1.UpdateStyleRequest) (*v1.EmptyReply, error)
- // 获取车辆配置信息
- StyleInfo(context.Context, *v1.StyleInfoRequest) (*v1.StyleInfoReply, error)
- // 更新车辆配置信息
- UpdateStyleInfo(context.Context, *v1.UpdateStyleInfoRequest) (*v1.EmptyReply, error)
- // 维保手册
- MaintainManual(context.Context, *v1.MaintainManualRequest) (*v1.MaintainManualReply, error)
- // 项目列表
- ItemList(context.Context, *v1.ItemListRequest) (*v1.ItemListReply, error)
- // 更新维保手册
- UpdateMaintainManual(context.Context, *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error)
- // 维保详情
- MaintainManualInfo(context.Context, *v1.MaintainManualInfoRequest) (*v1.MaintainManualInfoReply, error)
- // 配件参数
- StyleItem(context.Context, *v1.MaintainManualRequest) (*v1.StyleItemReply, error)
- // 获取c2列表
- C2List(context.Context, *v1.C2ListRequest) (*v1.C2ListReply, error)
- // 修改配件参数信息
- UpdateStyleItem(context.Context, *v1.UpdateStyleItemRequest) (*v1.EmptyReply, error)
- // 删除维保信息
- DeleteMaintainace(context.Context, *v1.DeleteMaintainaceRequest) (*v1.EmptyReply, error)
- // 车型信息导出
- ExportStyle(context.Context, *v1.ExportStyleRequest) (*v1.ExportStyleReply, error)
- // 车型导出列表
- ExportStyleTaskList(context.Context, *v1.EmptyReply) (*v1.ExportStyleTaskListReply, error)
- // 删除车型导出列表
- DeleteExportStyleTask(context.Context, *v1.DeleteExportStyleTaskRequest) (*v1.EmptyReply, error)
- // 删除配件信息
- DeleteStyleItem(context.Context, *v1.DeleteStyleItemRequest) (*v1.EmptyReply, error)
- // 模板列表
- TemplateList(context.Context, *v1.TemplateListRequest) (*v1.TemplateListReply, error)
- // 模板详情列表
- TemplateDetailList(context.Context, *v1.TemplateDetailListRequest) (*v1.TemplateDetailListReply, error)
- // 模板详情
- TemplateDetail(context.Context, *v1.TemplateDetailRequest) (*v1.TemplateDetailReply, error)
- // 增加模板
- AddTemplateDetail(context.Context, *v1.AddTemplateDetailRequest) (*v1.AddTemplateDetailReply, error)
- // 修改模板
- UpdateTemplateDetail(context.Context, *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error)
- // 选择模板
- ChooseTemplateDetail(context.Context, *v1.ChooseTemplateDetailRequest) (*v1.EmptyReply, error)
- // 项目列表
- TemplateItemList(context.Context, *v1.TemplateItemListRequest) (*v1.ItemListReply, error)
- }
- // UnimplementedVehicleStyleServer can be embedded to have forward compatible implementations.
- type UnimplementedVehicleStyleServer struct {
- }
- func (*UnimplementedVehicleStyleServer) BrandList(ctx context.Context, req *v1.BrandListRequest) (*v1.BrandListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BrandList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) Search(ctx context.Context, req *v1.SearchRequest) (*v1.SearchReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateSYBrand(ctx context.Context, req *v1.UpdateSYBrandRequest) (*v1.UpdateSYBrandReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateSYBrand not implemented")
- }
- func (*UnimplementedVehicleStyleServer) GetMaker(ctx context.Context, req *v1.GetMakerRequest) (*v1.GetMakerReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetMaker not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateMaker(ctx context.Context, req *v1.UpdateMakerRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateMaker not implemented")
- }
- func (*UnimplementedVehicleStyleServer) SeriesList(ctx context.Context, req *v1.SeriesListRequest) (*v1.SeriesListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SeriesList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateSeries(ctx context.Context, req *v1.UpdateSeriesRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateSeries not implemented")
- }
- func (*UnimplementedVehicleStyleServer) StyleList(ctx context.Context, req *v1.StyleListRequest) (*v1.StyleListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StyleList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateStyle(ctx context.Context, req *v1.UpdateStyleRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateStyle not implemented")
- }
- func (*UnimplementedVehicleStyleServer) StyleInfo(ctx context.Context, req *v1.StyleInfoRequest) (*v1.StyleInfoReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StyleInfo not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateStyleInfo(ctx context.Context, req *v1.UpdateStyleInfoRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateStyleInfo not implemented")
- }
- func (*UnimplementedVehicleStyleServer) MaintainManual(ctx context.Context, req *v1.MaintainManualRequest) (*v1.MaintainManualReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MaintainManual not implemented")
- }
- func (*UnimplementedVehicleStyleServer) ItemList(ctx context.Context, req *v1.ItemListRequest) (*v1.ItemListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ItemList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateMaintainManual(ctx context.Context, req *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateMaintainManual not implemented")
- }
- func (*UnimplementedVehicleStyleServer) MaintainManualInfo(ctx context.Context, req *v1.MaintainManualInfoRequest) (*v1.MaintainManualInfoReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MaintainManualInfo not implemented")
- }
- func (*UnimplementedVehicleStyleServer) StyleItem(ctx context.Context, req *v1.MaintainManualRequest) (*v1.StyleItemReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StyleItem not implemented")
- }
- func (*UnimplementedVehicleStyleServer) C2List(ctx context.Context, req *v1.C2ListRequest) (*v1.C2ListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method C2List not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateStyleItem(ctx context.Context, req *v1.UpdateStyleItemRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateStyleItem not implemented")
- }
- func (*UnimplementedVehicleStyleServer) DeleteMaintainace(ctx context.Context, req *v1.DeleteMaintainaceRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteMaintainace not implemented")
- }
- func (*UnimplementedVehicleStyleServer) ExportStyle(ctx context.Context, req *v1.ExportStyleRequest) (*v1.ExportStyleReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ExportStyle not implemented")
- }
- func (*UnimplementedVehicleStyleServer) ExportStyleTaskList(ctx context.Context, req *v1.EmptyReply) (*v1.ExportStyleTaskListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ExportStyleTaskList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) DeleteExportStyleTask(ctx context.Context, req *v1.DeleteExportStyleTaskRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteExportStyleTask not implemented")
- }
- func (*UnimplementedVehicleStyleServer) DeleteStyleItem(ctx context.Context, req *v1.DeleteStyleItemRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteStyleItem not implemented")
- }
- func (*UnimplementedVehicleStyleServer) TemplateList(ctx context.Context, req *v1.TemplateListRequest) (*v1.TemplateListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TemplateList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) TemplateDetailList(ctx context.Context, req *v1.TemplateDetailListRequest) (*v1.TemplateDetailListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TemplateDetailList not implemented")
- }
- func (*UnimplementedVehicleStyleServer) TemplateDetail(ctx context.Context, req *v1.TemplateDetailRequest) (*v1.TemplateDetailReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TemplateDetail not implemented")
- }
- func (*UnimplementedVehicleStyleServer) AddTemplateDetail(ctx context.Context, req *v1.AddTemplateDetailRequest) (*v1.AddTemplateDetailReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddTemplateDetail not implemented")
- }
- func (*UnimplementedVehicleStyleServer) UpdateTemplateDetail(ctx context.Context, req *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateTemplateDetail not implemented")
- }
- func (*UnimplementedVehicleStyleServer) ChooseTemplateDetail(ctx context.Context, req *v1.ChooseTemplateDetailRequest) (*v1.EmptyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ChooseTemplateDetail not implemented")
- }
- func (*UnimplementedVehicleStyleServer) TemplateItemList(ctx context.Context, req *v1.TemplateItemListRequest) (*v1.ItemListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TemplateItemList not implemented")
- }
- func RegisterVehicleStyleServer(s *grpc.Server, srv VehicleStyleServer) {
- s.RegisterService(&_VehicleStyle_serviceDesc, srv)
- }
- func _VehicleStyle_BrandList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.BrandListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).BrandList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/BrandList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).BrandList(ctx, req.(*v1.BrandListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.SearchRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).Search(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/Search",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).Search(ctx, req.(*v1.SearchRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateSYBrand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateSYBrandRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateSYBrand(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateSYBrand",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateSYBrand(ctx, req.(*v1.UpdateSYBrandRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_GetMaker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.GetMakerRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).GetMaker(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/GetMaker",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).GetMaker(ctx, req.(*v1.GetMakerRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateMaker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateMakerRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateMaker(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateMaker",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateMaker(ctx, req.(*v1.UpdateMakerRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_SeriesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.SeriesListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).SeriesList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/SeriesList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).SeriesList(ctx, req.(*v1.SeriesListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateSeriesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateSeries(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateSeries",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateSeries(ctx, req.(*v1.UpdateSeriesRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_StyleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.StyleListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).StyleList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/StyleList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).StyleList(ctx, req.(*v1.StyleListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateStyle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateStyleRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateStyle(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateStyle",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateStyle(ctx, req.(*v1.UpdateStyleRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_StyleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.StyleInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).StyleInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/StyleInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).StyleInfo(ctx, req.(*v1.StyleInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateStyleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateStyleInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateStyleInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateStyleInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateStyleInfo(ctx, req.(*v1.UpdateStyleInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_MaintainManual_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.MaintainManualRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).MaintainManual(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/MaintainManual",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).MaintainManual(ctx, req.(*v1.MaintainManualRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_ItemList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ItemListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).ItemList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/ItemList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).ItemList(ctx, req.(*v1.ItemListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateMaintainManual_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateMaintainManualRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateMaintainManual(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateMaintainManual",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateMaintainManual(ctx, req.(*v1.UpdateMaintainManualRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_MaintainManualInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.MaintainManualInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).MaintainManualInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/MaintainManualInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).MaintainManualInfo(ctx, req.(*v1.MaintainManualInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_StyleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.MaintainManualRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).StyleItem(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/StyleItem",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).StyleItem(ctx, req.(*v1.MaintainManualRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_C2List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.C2ListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).C2List(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/C2List",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).C2List(ctx, req.(*v1.C2ListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateStyleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateStyleItemRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateStyleItem(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateStyleItem",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateStyleItem(ctx, req.(*v1.UpdateStyleItemRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_DeleteMaintainace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeleteMaintainaceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).DeleteMaintainace(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/DeleteMaintainace",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).DeleteMaintainace(ctx, req.(*v1.DeleteMaintainaceRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_ExportStyle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ExportStyleRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).ExportStyle(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/ExportStyle",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).ExportStyle(ctx, req.(*v1.ExportStyleRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_ExportStyleTaskList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.EmptyReply)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).ExportStyleTaskList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/ExportStyleTaskList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).ExportStyleTaskList(ctx, req.(*v1.EmptyReply))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_DeleteExportStyleTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeleteExportStyleTaskRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).DeleteExportStyleTask(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/DeleteExportStyleTask",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).DeleteExportStyleTask(ctx, req.(*v1.DeleteExportStyleTaskRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_DeleteStyleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeleteStyleItemRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).DeleteStyleItem(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/DeleteStyleItem",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).DeleteStyleItem(ctx, req.(*v1.DeleteStyleItemRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_TemplateList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.TemplateListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).TemplateList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/TemplateList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).TemplateList(ctx, req.(*v1.TemplateListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_TemplateDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.TemplateDetailListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).TemplateDetailList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/TemplateDetailList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).TemplateDetailList(ctx, req.(*v1.TemplateDetailListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_TemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.TemplateDetailRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).TemplateDetail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/TemplateDetail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).TemplateDetail(ctx, req.(*v1.TemplateDetailRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_AddTemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AddTemplateDetailRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).AddTemplateDetail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/AddTemplateDetail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).AddTemplateDetail(ctx, req.(*v1.AddTemplateDetailRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_UpdateTemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UpdateMaintainManualRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).UpdateTemplateDetail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/UpdateTemplateDetail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).UpdateTemplateDetail(ctx, req.(*v1.UpdateMaintainManualRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_ChooseTemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ChooseTemplateDetailRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).ChooseTemplateDetail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/ChooseTemplateDetail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).ChooseTemplateDetail(ctx, req.(*v1.ChooseTemplateDetailRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _VehicleStyle_TemplateItemList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.TemplateItemListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(VehicleStyleServer).TemplateItemList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.service.VehicleStyle/TemplateItemList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VehicleStyleServer).TemplateItemList(ctx, req.(*v1.TemplateItemListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _VehicleStyle_serviceDesc = grpc.ServiceDesc{
- ServiceName: "pb.service.VehicleStyle",
- HandlerType: (*VehicleStyleServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "BrandList",
- Handler: _VehicleStyle_BrandList_Handler,
- },
- {
- MethodName: "Search",
- Handler: _VehicleStyle_Search_Handler,
- },
- {
- MethodName: "UpdateSYBrand",
- Handler: _VehicleStyle_UpdateSYBrand_Handler,
- },
- {
- MethodName: "GetMaker",
- Handler: _VehicleStyle_GetMaker_Handler,
- },
- {
- MethodName: "UpdateMaker",
- Handler: _VehicleStyle_UpdateMaker_Handler,
- },
- {
- MethodName: "SeriesList",
- Handler: _VehicleStyle_SeriesList_Handler,
- },
- {
- MethodName: "UpdateSeries",
- Handler: _VehicleStyle_UpdateSeries_Handler,
- },
- {
- MethodName: "StyleList",
- Handler: _VehicleStyle_StyleList_Handler,
- },
- {
- MethodName: "UpdateStyle",
- Handler: _VehicleStyle_UpdateStyle_Handler,
- },
- {
- MethodName: "StyleInfo",
- Handler: _VehicleStyle_StyleInfo_Handler,
- },
- {
- MethodName: "UpdateStyleInfo",
- Handler: _VehicleStyle_UpdateStyleInfo_Handler,
- },
- {
- MethodName: "MaintainManual",
- Handler: _VehicleStyle_MaintainManual_Handler,
- },
- {
- MethodName: "ItemList",
- Handler: _VehicleStyle_ItemList_Handler,
- },
- {
- MethodName: "UpdateMaintainManual",
- Handler: _VehicleStyle_UpdateMaintainManual_Handler,
- },
- {
- MethodName: "MaintainManualInfo",
- Handler: _VehicleStyle_MaintainManualInfo_Handler,
- },
- {
- MethodName: "StyleItem",
- Handler: _VehicleStyle_StyleItem_Handler,
- },
- {
- MethodName: "C2List",
- Handler: _VehicleStyle_C2List_Handler,
- },
- {
- MethodName: "UpdateStyleItem",
- Handler: _VehicleStyle_UpdateStyleItem_Handler,
- },
- {
- MethodName: "DeleteMaintainace",
- Handler: _VehicleStyle_DeleteMaintainace_Handler,
- },
- {
- MethodName: "ExportStyle",
- Handler: _VehicleStyle_ExportStyle_Handler,
- },
- {
- MethodName: "ExportStyleTaskList",
- Handler: _VehicleStyle_ExportStyleTaskList_Handler,
- },
- {
- MethodName: "DeleteExportStyleTask",
- Handler: _VehicleStyle_DeleteExportStyleTask_Handler,
- },
- {
- MethodName: "DeleteStyleItem",
- Handler: _VehicleStyle_DeleteStyleItem_Handler,
- },
- {
- MethodName: "TemplateList",
- Handler: _VehicleStyle_TemplateList_Handler,
- },
- {
- MethodName: "TemplateDetailList",
- Handler: _VehicleStyle_TemplateDetailList_Handler,
- },
- {
- MethodName: "TemplateDetail",
- Handler: _VehicleStyle_TemplateDetail_Handler,
- },
- {
- MethodName: "AddTemplateDetail",
- Handler: _VehicleStyle_AddTemplateDetail_Handler,
- },
- {
- MethodName: "UpdateTemplateDetail",
- Handler: _VehicleStyle_UpdateTemplateDetail_Handler,
- },
- {
- MethodName: "ChooseTemplateDetail",
- Handler: _VehicleStyle_ChooseTemplateDetail_Handler,
- },
- {
- MethodName: "TemplateItemList",
- Handler: _VehicleStyle_TemplateItemList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "adm_vehicle_style.proto",
- }
|