adm_vehicle_style.pb.go 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: adm_vehicle_style.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb
  5. import (
  6. v1 "adm-vehicle-style/pb/v1"
  7. context "context"
  8. fmt "fmt"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. math "math"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  24. func init() { proto.RegisterFile("adm_vehicle_style.proto", fileDescriptor_7df2a90d4754b945) }
  25. var fileDescriptor_7df2a90d4754b945 = []byte{
  26. // 632 bytes of a gzipped FileDescriptorProto
  27. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5b, 0x6f, 0xd3, 0x30,
  28. 0x14, 0xe6, 0x85, 0x89, 0x9d, 0x75, 0xeb, 0xea, 0xde, 0x20, 0x6c, 0x02, 0xf1, 0xbe, 0x54, 0x1d,
  29. 0x48, 0x15, 0x37, 0x01, 0x6b, 0x0b, 0xaa, 0xa0, 0x42, 0xac, 0x03, 0x09, 0x5e, 0x26, 0xb7, 0x39,
  30. 0xa8, 0xd1, 0x72, 0x23, 0x71, 0x23, 0xfa, 0x87, 0xf9, 0x1d, 0x28, 0x76, 0x9d, 0xd8, 0x4e, 0x02,
  31. 0x88, 0xb7, 0x9c, 0xef, 0x9c, 0xef, 0x3b, 0x3e, 0x17, 0x5b, 0x81, 0x3e, 0x75, 0xfc, 0xeb, 0x14,
  32. 0xd7, 0xee, 0xca, 0xc3, 0xeb, 0x84, 0x6d, 0x3d, 0xb4, 0xa3, 0x38, 0x64, 0x21, 0x81, 0x68, 0x69,
  33. 0x27, 0x18, 0xa7, 0xee, 0x0a, 0xad, 0x5e, 0x3a, 0x1c, 0x54, 0xc4, 0x58, 0x87, 0xe9, 0x70, 0xe0,
  34. 0x50, 0x46, 0x85, 0x79, 0xfe, 0xab, 0x09, 0x8d, 0x2f, 0x22, 0x6c, 0x91, 0x45, 0x91, 0x11, 0xec,
  35. 0x5f, 0xc4, 0x34, 0x70, 0x3e, 0xb8, 0x09, 0x23, 0x1d, 0x3b, 0x1d, 0xda, 0xb9, 0x79, 0x89, 0x3f,
  36. 0x36, 0x98, 0x30, 0x8b, 0x18, 0x68, 0xe4, 0x6d, 0x1f, 0xdd, 0x22, 0x36, 0xec, 0x2d, 0x90, 0xc6,
  37. 0xab, 0x35, 0x69, 0x65, 0x7e, 0xf1, 0x2d, 0x29, 0x4d, 0x15, 0x12, 0xf1, 0xcf, 0xe1, 0xf0, 0x73,
  38. 0xe4, 0x50, 0x86, 0x8b, 0xaf, 0x5c, 0x8b, 0xdc, 0xcd, 0x62, 0x34, 0x48, 0xb2, 0x8f, 0x32, 0xcf,
  39. 0xd4, 0x8f, 0xd8, 0x56, 0x92, 0x9f, 0xc0, 0x9d, 0x77, 0xc8, 0xe6, 0xf4, 0x06, 0x63, 0xd2, 0xce,
  40. 0xbc, 0xd2, 0x92, 0x94, 0x96, 0x0e, 0x0a, 0xd6, 0x08, 0x0e, 0x84, 0xbe, 0x20, 0xf6, 0x8a, 0x84,
  41. 0x1a, 0xb7, 0x9c, 0xee, 0x19, 0xc0, 0x02, 0x63, 0x17, 0x13, 0xde, 0x95, 0xae, 0x28, 0x46, 0xda,
  42. 0x92, 0xd6, 0x36, 0x61, 0xc1, 0x7d, 0x0a, 0x8d, 0x5d, 0x51, 0xdc, 0x45, 0xfa, 0x4a, 0x99, 0x1c,
  43. 0xa9, 0x4f, 0x3b, 0x82, 0x7d, 0x3e, 0x94, 0x62, 0x16, 0xb9, 0xa9, 0xcd, 0x42, 0x41, 0x8d, 0x42,
  44. 0xc5, 0x4c, 0x95, 0x42, 0x39, 0xf0, 0xf7, 0x8c, 0xb3, 0xe0, 0x7b, 0xa8, 0x64, 0xcc, 0xcc, 0x72,
  45. 0x46, 0x81, 0x0a, 0xe2, 0x2b, 0x68, 0x2a, 0x09, 0x38, 0xdd, 0x32, 0xb2, 0xaa, 0x22, 0xe5, 0xcc,
  46. 0x6f, 0xe1, 0x68, 0x4e, 0xdd, 0x80, 0x51, 0x37, 0x98, 0xd3, 0x60, 0x43, 0x3d, 0x72, 0x2f, 0x8b,
  47. 0xd1, 0x31, 0x49, 0xef, 0x57, 0xb9, 0xf2, 0xcd, 0x98, 0x31, 0xf4, 0x79, 0xcb, 0xf8, 0x44, 0xa4,
  48. 0xa5, 0x6d, 0x46, 0x01, 0x0a, 0xd6, 0x0c, 0x3a, 0x72, 0x11, 0xb4, 0x33, 0x3c, 0x50, 0x57, 0xa4,
  49. 0xea, 0x24, 0xe5, 0x42, 0x2e, 0x81, 0xe8, 0xa1, 0xbc, 0x19, 0xa7, 0xe5, 0x13, 0xab, 0xfd, 0xb8,
  50. 0x5f, 0xe7, 0x16, 0x9a, 0x2f, 0xe4, 0x58, 0x18, 0xfa, 0x7f, 0xea, 0x8b, 0x32, 0x1b, 0x86, 0xbe,
  51. 0x72, 0x33, 0xc7, 0xe7, 0xbc, 0x21, 0xbc, 0x76, 0xf1, 0xad, 0xdd, 0x4c, 0x09, 0x55, 0xce, 0x32,
  52. 0xcb, 0x59, 0x9a, 0x25, 0x97, 0xaf, 0x6b, 0xc1, 0x18, 0x5a, 0x13, 0xf4, 0xb0, 0xe8, 0x19, 0x5d,
  53. 0x21, 0x39, 0xc9, 0xc2, 0x4a, 0x70, 0xbd, 0xc8, 0x4b, 0x38, 0x98, 0xfe, 0x8c, 0xc2, 0x98, 0x29,
  54. 0x3b, 0xac, 0x00, 0x92, 0xd8, 0x29, 0xe1, 0x82, 0x3e, 0x85, 0xb6, 0x82, 0x5e, 0xd1, 0xe4, 0x86,
  55. 0x77, 0xc0, 0xc8, 0x63, 0x9d, 0x18, 0x74, 0x19, 0x28, 0x65, 0xde, 0x43, 0x57, 0x9c, 0xd9, 0x88,
  56. 0x21, 0x0f, 0x8b, 0x72, 0x0c, 0x57, 0x7d, 0x49, 0x36, 0xdc, 0xfe, 0xb4, 0xc1, 0x78, 0x4b, 0x8e,
  57. 0x33, 0x17, 0xff, 0xd4, 0xb6, 0x72, 0x87, 0x24, 0x51, 0x18, 0x24, 0x28, 0x06, 0x21, 0x32, 0x18,
  58. 0x83, 0x30, 0xc0, 0xfa, 0x84, 0xaf, 0xa1, 0x71, 0x85, 0x7e, 0xe4, 0x51, 0x26, 0xde, 0x10, 0x7e,
  59. 0x6f, 0x54, 0x44, 0x52, 0xbb, 0x65, 0x47, 0xbe, 0xcd, 0x12, 0x9e, 0x20, 0xa3, 0xae, 0xc7, 0x75,
  60. 0x4e, 0xd5, 0xf0, 0x02, 0xd7, 0xb6, 0xb9, 0xca, 0x9d, 0x5f, 0x75, 0xdd, 0x29, 0x56, 0x5a, 0xc7,
  61. 0xb4, 0xab, 0x6e, 0xba, 0x84, 0xce, 0x47, 0x68, 0xbd, 0x71, 0x1c, 0x43, 0x8a, 0x0f, 0xb4, 0x04,
  62. 0x4b, 0x35, 0xab, 0xc6, 0x6b, 0xbc, 0x02, 0x86, 0xe6, 0x7f, 0xbc, 0x02, 0x33, 0xe8, 0x8c, 0xd7,
  63. 0x61, 0x98, 0x54, 0x4a, 0x55, 0x79, 0xea, 0xa5, 0x26, 0x70, 0x2c, 0x43, 0xf3, 0x97, 0x4d, 0xeb,
  64. 0xf0, 0xbf, 0xbc, 0x70, 0x17, 0xbd, 0x6f, 0x1d, 0xea, 0xf8, 0x67, 0xbb, 0x5f, 0x82, 0x33, 0xfe,
  65. 0x4b, 0x30, 0x88, 0x96, 0xcb, 0x3d, 0xfe, 0x1f, 0xf0, 0xf8, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff,
  66. 0xf7, 0x7e, 0xfd, 0x74, 0x55, 0x08, 0x00, 0x00,
  67. }
  68. // Reference imports to suppress errors if they are not otherwise used.
  69. var _ context.Context
  70. var _ grpc.ClientConn
  71. // This is a compile-time assertion to ensure that this generated file
  72. // is compatible with the grpc package it is being compiled against.
  73. const _ = grpc.SupportPackageIsVersion4
  74. // VehicleStyleClient is the client API for VehicleStyle service.
  75. //
  76. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  77. type VehicleStyleClient interface {
  78. // 品牌列表
  79. BrandList(ctx context.Context, in *v1.BrandListRequest, opts ...grpc.CallOption) (*v1.BrandListReply, error)
  80. // 模糊搜索
  81. Search(ctx context.Context, in *v1.SearchRequest, opts ...grpc.CallOption) (*v1.SearchReply, error)
  82. // 更新品牌信息
  83. UpdateSYBrand(ctx context.Context, in *v1.UpdateSYBrandRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  84. // 获取厂商列表
  85. GetMaker(ctx context.Context, in *v1.GetMakerRequest, opts ...grpc.CallOption) (*v1.GetMakerReply, error)
  86. // 更新厂商
  87. UpdateMaker(ctx context.Context, in *v1.UpdateMakerRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  88. // 车系列表
  89. SeriesList(ctx context.Context, in *v1.SeriesListRequest, opts ...grpc.CallOption) (*v1.SeriesListReply, error)
  90. // 更新车系
  91. UpdateSeries(ctx context.Context, in *v1.UpdateSeriesRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  92. // 车型列表
  93. StyleList(ctx context.Context, in *v1.StyleListRequest, opts ...grpc.CallOption) (*v1.StyleListReply, error)
  94. // 更新车型
  95. UpdateStyle(ctx context.Context, in *v1.UpdateStyleRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  96. // 获取车辆配置信息
  97. StyleInfo(ctx context.Context, in *v1.StyleInfoRequest, opts ...grpc.CallOption) (*v1.StyleInfoReply, error)
  98. // 更新车辆配置信息
  99. UpdateStyleInfo(ctx context.Context, in *v1.UpdateStyleInfoRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  100. // 维保手册
  101. MaintainManual(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.MaintainManualReply, error)
  102. // 项目列表
  103. ItemList(ctx context.Context, in *v1.ItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error)
  104. // 更新维保手册
  105. UpdateMaintainManual(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  106. // 维保详情
  107. MaintainManualInfo(ctx context.Context, in *v1.MaintainManualInfoRequest, opts ...grpc.CallOption) (*v1.MaintainManualInfoReply, error)
  108. // 配件参数
  109. StyleItem(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.StyleItemReply, error)
  110. // 获取c2列表
  111. C2List(ctx context.Context, in *v1.C2ListRequest, opts ...grpc.CallOption) (*v1.C2ListReply, error)
  112. // 修改配件参数信息
  113. UpdateStyleItem(ctx context.Context, in *v1.UpdateStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  114. // 删除维保信息
  115. DeleteMaintainace(ctx context.Context, in *v1.DeleteMaintainaceRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  116. // 车型信息导出
  117. ExportStyle(ctx context.Context, in *v1.ExportStyleRequest, opts ...grpc.CallOption) (*v1.ExportStyleReply, error)
  118. // 车型导出列表
  119. ExportStyleTaskList(ctx context.Context, in *v1.EmptyReply, opts ...grpc.CallOption) (*v1.ExportStyleTaskListReply, error)
  120. // 删除车型导出列表
  121. DeleteExportStyleTask(ctx context.Context, in *v1.DeleteExportStyleTaskRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  122. // 通用接口查询
  123. Query(ctx context.Context, in *v1.QueryRequest, opts ...grpc.CallOption) (*v1.QueryResponse, error)
  124. // 删除配件信息
  125. DeleteStyleItem(ctx context.Context, in *v1.DeleteStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  126. // 模板列表
  127. TemplateList(ctx context.Context, in *v1.TemplateListRequest, opts ...grpc.CallOption) (*v1.TemplateListReply, error)
  128. // 模板详情列表
  129. TemplateDetailList(ctx context.Context, in *v1.TemplateDetailListRequest, opts ...grpc.CallOption) (*v1.TemplateDetailListReply, error)
  130. // 模板详情
  131. TemplateDetail(ctx context.Context, in *v1.TemplateDetailRequest, opts ...grpc.CallOption) (*v1.TemplateDetailReply, error)
  132. // 增加模板
  133. AddTemplateDetail(ctx context.Context, in *v1.AddTemplateDetailRequest, opts ...grpc.CallOption) (*v1.AddTemplateDetailReply, error)
  134. // 修改模板
  135. UpdateTemplateDetail(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  136. // 选择模板
  137. ChooseTemplateDetail(ctx context.Context, in *v1.ChooseTemplateDetailRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
  138. // 项目列表
  139. TemplateItemList(ctx context.Context, in *v1.TemplateItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error)
  140. }
  141. type vehicleStyleClient struct {
  142. cc *grpc.ClientConn
  143. }
  144. func NewVehicleStyleClient(cc *grpc.ClientConn) VehicleStyleClient {
  145. return &vehicleStyleClient{cc}
  146. }
  147. func (c *vehicleStyleClient) BrandList(ctx context.Context, in *v1.BrandListRequest, opts ...grpc.CallOption) (*v1.BrandListReply, error) {
  148. out := new(v1.BrandListReply)
  149. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/BrandList", in, out, opts...)
  150. if err != nil {
  151. return nil, err
  152. }
  153. return out, nil
  154. }
  155. func (c *vehicleStyleClient) Search(ctx context.Context, in *v1.SearchRequest, opts ...grpc.CallOption) (*v1.SearchReply, error) {
  156. out := new(v1.SearchReply)
  157. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/Search", in, out, opts...)
  158. if err != nil {
  159. return nil, err
  160. }
  161. return out, nil
  162. }
  163. func (c *vehicleStyleClient) UpdateSYBrand(ctx context.Context, in *v1.UpdateSYBrandRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  164. out := new(v1.EmptyReply)
  165. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateSYBrand", in, out, opts...)
  166. if err != nil {
  167. return nil, err
  168. }
  169. return out, nil
  170. }
  171. func (c *vehicleStyleClient) GetMaker(ctx context.Context, in *v1.GetMakerRequest, opts ...grpc.CallOption) (*v1.GetMakerReply, error) {
  172. out := new(v1.GetMakerReply)
  173. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/GetMaker", in, out, opts...)
  174. if err != nil {
  175. return nil, err
  176. }
  177. return out, nil
  178. }
  179. func (c *vehicleStyleClient) UpdateMaker(ctx context.Context, in *v1.UpdateMakerRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  180. out := new(v1.EmptyReply)
  181. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateMaker", in, out, opts...)
  182. if err != nil {
  183. return nil, err
  184. }
  185. return out, nil
  186. }
  187. func (c *vehicleStyleClient) SeriesList(ctx context.Context, in *v1.SeriesListRequest, opts ...grpc.CallOption) (*v1.SeriesListReply, error) {
  188. out := new(v1.SeriesListReply)
  189. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/SeriesList", in, out, opts...)
  190. if err != nil {
  191. return nil, err
  192. }
  193. return out, nil
  194. }
  195. func (c *vehicleStyleClient) UpdateSeries(ctx context.Context, in *v1.UpdateSeriesRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  196. out := new(v1.EmptyReply)
  197. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateSeries", in, out, opts...)
  198. if err != nil {
  199. return nil, err
  200. }
  201. return out, nil
  202. }
  203. func (c *vehicleStyleClient) StyleList(ctx context.Context, in *v1.StyleListRequest, opts ...grpc.CallOption) (*v1.StyleListReply, error) {
  204. out := new(v1.StyleListReply)
  205. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/StyleList", in, out, opts...)
  206. if err != nil {
  207. return nil, err
  208. }
  209. return out, nil
  210. }
  211. func (c *vehicleStyleClient) UpdateStyle(ctx context.Context, in *v1.UpdateStyleRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  212. out := new(v1.EmptyReply)
  213. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateStyle", in, out, opts...)
  214. if err != nil {
  215. return nil, err
  216. }
  217. return out, nil
  218. }
  219. func (c *vehicleStyleClient) StyleInfo(ctx context.Context, in *v1.StyleInfoRequest, opts ...grpc.CallOption) (*v1.StyleInfoReply, error) {
  220. out := new(v1.StyleInfoReply)
  221. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/StyleInfo", in, out, opts...)
  222. if err != nil {
  223. return nil, err
  224. }
  225. return out, nil
  226. }
  227. func (c *vehicleStyleClient) UpdateStyleInfo(ctx context.Context, in *v1.UpdateStyleInfoRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  228. out := new(v1.EmptyReply)
  229. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateStyleInfo", in, out, opts...)
  230. if err != nil {
  231. return nil, err
  232. }
  233. return out, nil
  234. }
  235. func (c *vehicleStyleClient) MaintainManual(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.MaintainManualReply, error) {
  236. out := new(v1.MaintainManualReply)
  237. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/MaintainManual", in, out, opts...)
  238. if err != nil {
  239. return nil, err
  240. }
  241. return out, nil
  242. }
  243. func (c *vehicleStyleClient) ItemList(ctx context.Context, in *v1.ItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error) {
  244. out := new(v1.ItemListReply)
  245. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ItemList", in, out, opts...)
  246. if err != nil {
  247. return nil, err
  248. }
  249. return out, nil
  250. }
  251. func (c *vehicleStyleClient) UpdateMaintainManual(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  252. out := new(v1.EmptyReply)
  253. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateMaintainManual", in, out, opts...)
  254. if err != nil {
  255. return nil, err
  256. }
  257. return out, nil
  258. }
  259. func (c *vehicleStyleClient) MaintainManualInfo(ctx context.Context, in *v1.MaintainManualInfoRequest, opts ...grpc.CallOption) (*v1.MaintainManualInfoReply, error) {
  260. out := new(v1.MaintainManualInfoReply)
  261. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/MaintainManualInfo", in, out, opts...)
  262. if err != nil {
  263. return nil, err
  264. }
  265. return out, nil
  266. }
  267. func (c *vehicleStyleClient) StyleItem(ctx context.Context, in *v1.MaintainManualRequest, opts ...grpc.CallOption) (*v1.StyleItemReply, error) {
  268. out := new(v1.StyleItemReply)
  269. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/StyleItem", in, out, opts...)
  270. if err != nil {
  271. return nil, err
  272. }
  273. return out, nil
  274. }
  275. func (c *vehicleStyleClient) C2List(ctx context.Context, in *v1.C2ListRequest, opts ...grpc.CallOption) (*v1.C2ListReply, error) {
  276. out := new(v1.C2ListReply)
  277. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/C2List", in, out, opts...)
  278. if err != nil {
  279. return nil, err
  280. }
  281. return out, nil
  282. }
  283. func (c *vehicleStyleClient) UpdateStyleItem(ctx context.Context, in *v1.UpdateStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  284. out := new(v1.EmptyReply)
  285. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateStyleItem", in, out, opts...)
  286. if err != nil {
  287. return nil, err
  288. }
  289. return out, nil
  290. }
  291. func (c *vehicleStyleClient) DeleteMaintainace(ctx context.Context, in *v1.DeleteMaintainaceRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  292. out := new(v1.EmptyReply)
  293. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/DeleteMaintainace", in, out, opts...)
  294. if err != nil {
  295. return nil, err
  296. }
  297. return out, nil
  298. }
  299. func (c *vehicleStyleClient) ExportStyle(ctx context.Context, in *v1.ExportStyleRequest, opts ...grpc.CallOption) (*v1.ExportStyleReply, error) {
  300. out := new(v1.ExportStyleReply)
  301. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ExportStyle", in, out, opts...)
  302. if err != nil {
  303. return nil, err
  304. }
  305. return out, nil
  306. }
  307. func (c *vehicleStyleClient) ExportStyleTaskList(ctx context.Context, in *v1.EmptyReply, opts ...grpc.CallOption) (*v1.ExportStyleTaskListReply, error) {
  308. out := new(v1.ExportStyleTaskListReply)
  309. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ExportStyleTaskList", in, out, opts...)
  310. if err != nil {
  311. return nil, err
  312. }
  313. return out, nil
  314. }
  315. func (c *vehicleStyleClient) DeleteExportStyleTask(ctx context.Context, in *v1.DeleteExportStyleTaskRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  316. out := new(v1.EmptyReply)
  317. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/DeleteExportStyleTask", in, out, opts...)
  318. if err != nil {
  319. return nil, err
  320. }
  321. return out, nil
  322. }
  323. func (c *vehicleStyleClient) Query(ctx context.Context, in *v1.QueryRequest, opts ...grpc.CallOption) (*v1.QueryResponse, error) {
  324. out := new(v1.QueryResponse)
  325. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/Query", in, out, opts...)
  326. if err != nil {
  327. return nil, err
  328. }
  329. return out, nil
  330. }
  331. func (c *vehicleStyleClient) DeleteStyleItem(ctx context.Context, in *v1.DeleteStyleItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  332. out := new(v1.EmptyReply)
  333. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/DeleteStyleItem", in, out, opts...)
  334. if err != nil {
  335. return nil, err
  336. }
  337. return out, nil
  338. }
  339. func (c *vehicleStyleClient) TemplateList(ctx context.Context, in *v1.TemplateListRequest, opts ...grpc.CallOption) (*v1.TemplateListReply, error) {
  340. out := new(v1.TemplateListReply)
  341. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateList", in, out, opts...)
  342. if err != nil {
  343. return nil, err
  344. }
  345. return out, nil
  346. }
  347. func (c *vehicleStyleClient) TemplateDetailList(ctx context.Context, in *v1.TemplateDetailListRequest, opts ...grpc.CallOption) (*v1.TemplateDetailListReply, error) {
  348. out := new(v1.TemplateDetailListReply)
  349. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateDetailList", in, out, opts...)
  350. if err != nil {
  351. return nil, err
  352. }
  353. return out, nil
  354. }
  355. func (c *vehicleStyleClient) TemplateDetail(ctx context.Context, in *v1.TemplateDetailRequest, opts ...grpc.CallOption) (*v1.TemplateDetailReply, error) {
  356. out := new(v1.TemplateDetailReply)
  357. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateDetail", in, out, opts...)
  358. if err != nil {
  359. return nil, err
  360. }
  361. return out, nil
  362. }
  363. func (c *vehicleStyleClient) AddTemplateDetail(ctx context.Context, in *v1.AddTemplateDetailRequest, opts ...grpc.CallOption) (*v1.AddTemplateDetailReply, error) {
  364. out := new(v1.AddTemplateDetailReply)
  365. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/AddTemplateDetail", in, out, opts...)
  366. if err != nil {
  367. return nil, err
  368. }
  369. return out, nil
  370. }
  371. func (c *vehicleStyleClient) UpdateTemplateDetail(ctx context.Context, in *v1.UpdateMaintainManualRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  372. out := new(v1.EmptyReply)
  373. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/UpdateTemplateDetail", in, out, opts...)
  374. if err != nil {
  375. return nil, err
  376. }
  377. return out, nil
  378. }
  379. func (c *vehicleStyleClient) ChooseTemplateDetail(ctx context.Context, in *v1.ChooseTemplateDetailRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error) {
  380. out := new(v1.EmptyReply)
  381. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/ChooseTemplateDetail", in, out, opts...)
  382. if err != nil {
  383. return nil, err
  384. }
  385. return out, nil
  386. }
  387. func (c *vehicleStyleClient) TemplateItemList(ctx context.Context, in *v1.TemplateItemListRequest, opts ...grpc.CallOption) (*v1.ItemListReply, error) {
  388. out := new(v1.ItemListReply)
  389. err := c.cc.Invoke(ctx, "/pb.service.VehicleStyle/TemplateItemList", in, out, opts...)
  390. if err != nil {
  391. return nil, err
  392. }
  393. return out, nil
  394. }
  395. // VehicleStyleServer is the server API for VehicleStyle service.
  396. type VehicleStyleServer interface {
  397. // 品牌列表
  398. BrandList(context.Context, *v1.BrandListRequest) (*v1.BrandListReply, error)
  399. // 模糊搜索
  400. Search(context.Context, *v1.SearchRequest) (*v1.SearchReply, error)
  401. // 更新品牌信息
  402. UpdateSYBrand(context.Context, *v1.UpdateSYBrandRequest) (*v1.EmptyReply, error)
  403. // 获取厂商列表
  404. GetMaker(context.Context, *v1.GetMakerRequest) (*v1.GetMakerReply, error)
  405. // 更新厂商
  406. UpdateMaker(context.Context, *v1.UpdateMakerRequest) (*v1.EmptyReply, error)
  407. // 车系列表
  408. SeriesList(context.Context, *v1.SeriesListRequest) (*v1.SeriesListReply, error)
  409. // 更新车系
  410. UpdateSeries(context.Context, *v1.UpdateSeriesRequest) (*v1.EmptyReply, error)
  411. // 车型列表
  412. StyleList(context.Context, *v1.StyleListRequest) (*v1.StyleListReply, error)
  413. // 更新车型
  414. UpdateStyle(context.Context, *v1.UpdateStyleRequest) (*v1.EmptyReply, error)
  415. // 获取车辆配置信息
  416. StyleInfo(context.Context, *v1.StyleInfoRequest) (*v1.StyleInfoReply, error)
  417. // 更新车辆配置信息
  418. UpdateStyleInfo(context.Context, *v1.UpdateStyleInfoRequest) (*v1.EmptyReply, error)
  419. // 维保手册
  420. MaintainManual(context.Context, *v1.MaintainManualRequest) (*v1.MaintainManualReply, error)
  421. // 项目列表
  422. ItemList(context.Context, *v1.ItemListRequest) (*v1.ItemListReply, error)
  423. // 更新维保手册
  424. UpdateMaintainManual(context.Context, *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error)
  425. // 维保详情
  426. MaintainManualInfo(context.Context, *v1.MaintainManualInfoRequest) (*v1.MaintainManualInfoReply, error)
  427. // 配件参数
  428. StyleItem(context.Context, *v1.MaintainManualRequest) (*v1.StyleItemReply, error)
  429. // 获取c2列表
  430. C2List(context.Context, *v1.C2ListRequest) (*v1.C2ListReply, error)
  431. // 修改配件参数信息
  432. UpdateStyleItem(context.Context, *v1.UpdateStyleItemRequest) (*v1.EmptyReply, error)
  433. // 删除维保信息
  434. DeleteMaintainace(context.Context, *v1.DeleteMaintainaceRequest) (*v1.EmptyReply, error)
  435. // 车型信息导出
  436. ExportStyle(context.Context, *v1.ExportStyleRequest) (*v1.ExportStyleReply, error)
  437. // 车型导出列表
  438. ExportStyleTaskList(context.Context, *v1.EmptyReply) (*v1.ExportStyleTaskListReply, error)
  439. // 删除车型导出列表
  440. DeleteExportStyleTask(context.Context, *v1.DeleteExportStyleTaskRequest) (*v1.EmptyReply, error)
  441. // 通用接口查询
  442. Query(context.Context, *v1.QueryRequest) (*v1.QueryResponse, error)
  443. // 删除配件信息
  444. DeleteStyleItem(context.Context, *v1.DeleteStyleItemRequest) (*v1.EmptyReply, error)
  445. // 模板列表
  446. TemplateList(context.Context, *v1.TemplateListRequest) (*v1.TemplateListReply, error)
  447. // 模板详情列表
  448. TemplateDetailList(context.Context, *v1.TemplateDetailListRequest) (*v1.TemplateDetailListReply, error)
  449. // 模板详情
  450. TemplateDetail(context.Context, *v1.TemplateDetailRequest) (*v1.TemplateDetailReply, error)
  451. // 增加模板
  452. AddTemplateDetail(context.Context, *v1.AddTemplateDetailRequest) (*v1.AddTemplateDetailReply, error)
  453. // 修改模板
  454. UpdateTemplateDetail(context.Context, *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error)
  455. // 选择模板
  456. ChooseTemplateDetail(context.Context, *v1.ChooseTemplateDetailRequest) (*v1.EmptyReply, error)
  457. // 项目列表
  458. TemplateItemList(context.Context, *v1.TemplateItemListRequest) (*v1.ItemListReply, error)
  459. }
  460. // UnimplementedVehicleStyleServer can be embedded to have forward compatible implementations.
  461. type UnimplementedVehicleStyleServer struct {
  462. }
  463. func (*UnimplementedVehicleStyleServer) BrandList(ctx context.Context, req *v1.BrandListRequest) (*v1.BrandListReply, error) {
  464. return nil, status.Errorf(codes.Unimplemented, "method BrandList not implemented")
  465. }
  466. func (*UnimplementedVehicleStyleServer) Search(ctx context.Context, req *v1.SearchRequest) (*v1.SearchReply, error) {
  467. return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
  468. }
  469. func (*UnimplementedVehicleStyleServer) UpdateSYBrand(ctx context.Context, req *v1.UpdateSYBrandRequest) (*v1.EmptyReply, error) {
  470. return nil, status.Errorf(codes.Unimplemented, "method UpdateSYBrand not implemented")
  471. }
  472. func (*UnimplementedVehicleStyleServer) GetMaker(ctx context.Context, req *v1.GetMakerRequest) (*v1.GetMakerReply, error) {
  473. return nil, status.Errorf(codes.Unimplemented, "method GetMaker not implemented")
  474. }
  475. func (*UnimplementedVehicleStyleServer) UpdateMaker(ctx context.Context, req *v1.UpdateMakerRequest) (*v1.EmptyReply, error) {
  476. return nil, status.Errorf(codes.Unimplemented, "method UpdateMaker not implemented")
  477. }
  478. func (*UnimplementedVehicleStyleServer) SeriesList(ctx context.Context, req *v1.SeriesListRequest) (*v1.SeriesListReply, error) {
  479. return nil, status.Errorf(codes.Unimplemented, "method SeriesList not implemented")
  480. }
  481. func (*UnimplementedVehicleStyleServer) UpdateSeries(ctx context.Context, req *v1.UpdateSeriesRequest) (*v1.EmptyReply, error) {
  482. return nil, status.Errorf(codes.Unimplemented, "method UpdateSeries not implemented")
  483. }
  484. func (*UnimplementedVehicleStyleServer) StyleList(ctx context.Context, req *v1.StyleListRequest) (*v1.StyleListReply, error) {
  485. return nil, status.Errorf(codes.Unimplemented, "method StyleList not implemented")
  486. }
  487. func (*UnimplementedVehicleStyleServer) UpdateStyle(ctx context.Context, req *v1.UpdateStyleRequest) (*v1.EmptyReply, error) {
  488. return nil, status.Errorf(codes.Unimplemented, "method UpdateStyle not implemented")
  489. }
  490. func (*UnimplementedVehicleStyleServer) StyleInfo(ctx context.Context, req *v1.StyleInfoRequest) (*v1.StyleInfoReply, error) {
  491. return nil, status.Errorf(codes.Unimplemented, "method StyleInfo not implemented")
  492. }
  493. func (*UnimplementedVehicleStyleServer) UpdateStyleInfo(ctx context.Context, req *v1.UpdateStyleInfoRequest) (*v1.EmptyReply, error) {
  494. return nil, status.Errorf(codes.Unimplemented, "method UpdateStyleInfo not implemented")
  495. }
  496. func (*UnimplementedVehicleStyleServer) MaintainManual(ctx context.Context, req *v1.MaintainManualRequest) (*v1.MaintainManualReply, error) {
  497. return nil, status.Errorf(codes.Unimplemented, "method MaintainManual not implemented")
  498. }
  499. func (*UnimplementedVehicleStyleServer) ItemList(ctx context.Context, req *v1.ItemListRequest) (*v1.ItemListReply, error) {
  500. return nil, status.Errorf(codes.Unimplemented, "method ItemList not implemented")
  501. }
  502. func (*UnimplementedVehicleStyleServer) UpdateMaintainManual(ctx context.Context, req *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error) {
  503. return nil, status.Errorf(codes.Unimplemented, "method UpdateMaintainManual not implemented")
  504. }
  505. func (*UnimplementedVehicleStyleServer) MaintainManualInfo(ctx context.Context, req *v1.MaintainManualInfoRequest) (*v1.MaintainManualInfoReply, error) {
  506. return nil, status.Errorf(codes.Unimplemented, "method MaintainManualInfo not implemented")
  507. }
  508. func (*UnimplementedVehicleStyleServer) StyleItem(ctx context.Context, req *v1.MaintainManualRequest) (*v1.StyleItemReply, error) {
  509. return nil, status.Errorf(codes.Unimplemented, "method StyleItem not implemented")
  510. }
  511. func (*UnimplementedVehicleStyleServer) C2List(ctx context.Context, req *v1.C2ListRequest) (*v1.C2ListReply, error) {
  512. return nil, status.Errorf(codes.Unimplemented, "method C2List not implemented")
  513. }
  514. func (*UnimplementedVehicleStyleServer) UpdateStyleItem(ctx context.Context, req *v1.UpdateStyleItemRequest) (*v1.EmptyReply, error) {
  515. return nil, status.Errorf(codes.Unimplemented, "method UpdateStyleItem not implemented")
  516. }
  517. func (*UnimplementedVehicleStyleServer) DeleteMaintainace(ctx context.Context, req *v1.DeleteMaintainaceRequest) (*v1.EmptyReply, error) {
  518. return nil, status.Errorf(codes.Unimplemented, "method DeleteMaintainace not implemented")
  519. }
  520. func (*UnimplementedVehicleStyleServer) ExportStyle(ctx context.Context, req *v1.ExportStyleRequest) (*v1.ExportStyleReply, error) {
  521. return nil, status.Errorf(codes.Unimplemented, "method ExportStyle not implemented")
  522. }
  523. func (*UnimplementedVehicleStyleServer) ExportStyleTaskList(ctx context.Context, req *v1.EmptyReply) (*v1.ExportStyleTaskListReply, error) {
  524. return nil, status.Errorf(codes.Unimplemented, "method ExportStyleTaskList not implemented")
  525. }
  526. func (*UnimplementedVehicleStyleServer) DeleteExportStyleTask(ctx context.Context, req *v1.DeleteExportStyleTaskRequest) (*v1.EmptyReply, error) {
  527. return nil, status.Errorf(codes.Unimplemented, "method DeleteExportStyleTask not implemented")
  528. }
  529. func (*UnimplementedVehicleStyleServer) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error) {
  530. return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
  531. }
  532. func (*UnimplementedVehicleStyleServer) DeleteStyleItem(ctx context.Context, req *v1.DeleteStyleItemRequest) (*v1.EmptyReply, error) {
  533. return nil, status.Errorf(codes.Unimplemented, "method DeleteStyleItem not implemented")
  534. }
  535. func (*UnimplementedVehicleStyleServer) TemplateList(ctx context.Context, req *v1.TemplateListRequest) (*v1.TemplateListReply, error) {
  536. return nil, status.Errorf(codes.Unimplemented, "method TemplateList not implemented")
  537. }
  538. func (*UnimplementedVehicleStyleServer) TemplateDetailList(ctx context.Context, req *v1.TemplateDetailListRequest) (*v1.TemplateDetailListReply, error) {
  539. return nil, status.Errorf(codes.Unimplemented, "method TemplateDetailList not implemented")
  540. }
  541. func (*UnimplementedVehicleStyleServer) TemplateDetail(ctx context.Context, req *v1.TemplateDetailRequest) (*v1.TemplateDetailReply, error) {
  542. return nil, status.Errorf(codes.Unimplemented, "method TemplateDetail not implemented")
  543. }
  544. func (*UnimplementedVehicleStyleServer) AddTemplateDetail(ctx context.Context, req *v1.AddTemplateDetailRequest) (*v1.AddTemplateDetailReply, error) {
  545. return nil, status.Errorf(codes.Unimplemented, "method AddTemplateDetail not implemented")
  546. }
  547. func (*UnimplementedVehicleStyleServer) UpdateTemplateDetail(ctx context.Context, req *v1.UpdateMaintainManualRequest) (*v1.EmptyReply, error) {
  548. return nil, status.Errorf(codes.Unimplemented, "method UpdateTemplateDetail not implemented")
  549. }
  550. func (*UnimplementedVehicleStyleServer) ChooseTemplateDetail(ctx context.Context, req *v1.ChooseTemplateDetailRequest) (*v1.EmptyReply, error) {
  551. return nil, status.Errorf(codes.Unimplemented, "method ChooseTemplateDetail not implemented")
  552. }
  553. func (*UnimplementedVehicleStyleServer) TemplateItemList(ctx context.Context, req *v1.TemplateItemListRequest) (*v1.ItemListReply, error) {
  554. return nil, status.Errorf(codes.Unimplemented, "method TemplateItemList not implemented")
  555. }
  556. func RegisterVehicleStyleServer(s *grpc.Server, srv VehicleStyleServer) {
  557. s.RegisterService(&_VehicleStyle_serviceDesc, srv)
  558. }
  559. func _VehicleStyle_BrandList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  560. in := new(v1.BrandListRequest)
  561. if err := dec(in); err != nil {
  562. return nil, err
  563. }
  564. if interceptor == nil {
  565. return srv.(VehicleStyleServer).BrandList(ctx, in)
  566. }
  567. info := &grpc.UnaryServerInfo{
  568. Server: srv,
  569. FullMethod: "/pb.service.VehicleStyle/BrandList",
  570. }
  571. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  572. return srv.(VehicleStyleServer).BrandList(ctx, req.(*v1.BrandListRequest))
  573. }
  574. return interceptor(ctx, in, info, handler)
  575. }
  576. func _VehicleStyle_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  577. in := new(v1.SearchRequest)
  578. if err := dec(in); err != nil {
  579. return nil, err
  580. }
  581. if interceptor == nil {
  582. return srv.(VehicleStyleServer).Search(ctx, in)
  583. }
  584. info := &grpc.UnaryServerInfo{
  585. Server: srv,
  586. FullMethod: "/pb.service.VehicleStyle/Search",
  587. }
  588. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  589. return srv.(VehicleStyleServer).Search(ctx, req.(*v1.SearchRequest))
  590. }
  591. return interceptor(ctx, in, info, handler)
  592. }
  593. func _VehicleStyle_UpdateSYBrand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  594. in := new(v1.UpdateSYBrandRequest)
  595. if err := dec(in); err != nil {
  596. return nil, err
  597. }
  598. if interceptor == nil {
  599. return srv.(VehicleStyleServer).UpdateSYBrand(ctx, in)
  600. }
  601. info := &grpc.UnaryServerInfo{
  602. Server: srv,
  603. FullMethod: "/pb.service.VehicleStyle/UpdateSYBrand",
  604. }
  605. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  606. return srv.(VehicleStyleServer).UpdateSYBrand(ctx, req.(*v1.UpdateSYBrandRequest))
  607. }
  608. return interceptor(ctx, in, info, handler)
  609. }
  610. func _VehicleStyle_GetMaker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  611. in := new(v1.GetMakerRequest)
  612. if err := dec(in); err != nil {
  613. return nil, err
  614. }
  615. if interceptor == nil {
  616. return srv.(VehicleStyleServer).GetMaker(ctx, in)
  617. }
  618. info := &grpc.UnaryServerInfo{
  619. Server: srv,
  620. FullMethod: "/pb.service.VehicleStyle/GetMaker",
  621. }
  622. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  623. return srv.(VehicleStyleServer).GetMaker(ctx, req.(*v1.GetMakerRequest))
  624. }
  625. return interceptor(ctx, in, info, handler)
  626. }
  627. func _VehicleStyle_UpdateMaker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  628. in := new(v1.UpdateMakerRequest)
  629. if err := dec(in); err != nil {
  630. return nil, err
  631. }
  632. if interceptor == nil {
  633. return srv.(VehicleStyleServer).UpdateMaker(ctx, in)
  634. }
  635. info := &grpc.UnaryServerInfo{
  636. Server: srv,
  637. FullMethod: "/pb.service.VehicleStyle/UpdateMaker",
  638. }
  639. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  640. return srv.(VehicleStyleServer).UpdateMaker(ctx, req.(*v1.UpdateMakerRequest))
  641. }
  642. return interceptor(ctx, in, info, handler)
  643. }
  644. func _VehicleStyle_SeriesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  645. in := new(v1.SeriesListRequest)
  646. if err := dec(in); err != nil {
  647. return nil, err
  648. }
  649. if interceptor == nil {
  650. return srv.(VehicleStyleServer).SeriesList(ctx, in)
  651. }
  652. info := &grpc.UnaryServerInfo{
  653. Server: srv,
  654. FullMethod: "/pb.service.VehicleStyle/SeriesList",
  655. }
  656. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  657. return srv.(VehicleStyleServer).SeriesList(ctx, req.(*v1.SeriesListRequest))
  658. }
  659. return interceptor(ctx, in, info, handler)
  660. }
  661. func _VehicleStyle_UpdateSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  662. in := new(v1.UpdateSeriesRequest)
  663. if err := dec(in); err != nil {
  664. return nil, err
  665. }
  666. if interceptor == nil {
  667. return srv.(VehicleStyleServer).UpdateSeries(ctx, in)
  668. }
  669. info := &grpc.UnaryServerInfo{
  670. Server: srv,
  671. FullMethod: "/pb.service.VehicleStyle/UpdateSeries",
  672. }
  673. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  674. return srv.(VehicleStyleServer).UpdateSeries(ctx, req.(*v1.UpdateSeriesRequest))
  675. }
  676. return interceptor(ctx, in, info, handler)
  677. }
  678. func _VehicleStyle_StyleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  679. in := new(v1.StyleListRequest)
  680. if err := dec(in); err != nil {
  681. return nil, err
  682. }
  683. if interceptor == nil {
  684. return srv.(VehicleStyleServer).StyleList(ctx, in)
  685. }
  686. info := &grpc.UnaryServerInfo{
  687. Server: srv,
  688. FullMethod: "/pb.service.VehicleStyle/StyleList",
  689. }
  690. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  691. return srv.(VehicleStyleServer).StyleList(ctx, req.(*v1.StyleListRequest))
  692. }
  693. return interceptor(ctx, in, info, handler)
  694. }
  695. func _VehicleStyle_UpdateStyle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  696. in := new(v1.UpdateStyleRequest)
  697. if err := dec(in); err != nil {
  698. return nil, err
  699. }
  700. if interceptor == nil {
  701. return srv.(VehicleStyleServer).UpdateStyle(ctx, in)
  702. }
  703. info := &grpc.UnaryServerInfo{
  704. Server: srv,
  705. FullMethod: "/pb.service.VehicleStyle/UpdateStyle",
  706. }
  707. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  708. return srv.(VehicleStyleServer).UpdateStyle(ctx, req.(*v1.UpdateStyleRequest))
  709. }
  710. return interceptor(ctx, in, info, handler)
  711. }
  712. func _VehicleStyle_StyleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  713. in := new(v1.StyleInfoRequest)
  714. if err := dec(in); err != nil {
  715. return nil, err
  716. }
  717. if interceptor == nil {
  718. return srv.(VehicleStyleServer).StyleInfo(ctx, in)
  719. }
  720. info := &grpc.UnaryServerInfo{
  721. Server: srv,
  722. FullMethod: "/pb.service.VehicleStyle/StyleInfo",
  723. }
  724. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  725. return srv.(VehicleStyleServer).StyleInfo(ctx, req.(*v1.StyleInfoRequest))
  726. }
  727. return interceptor(ctx, in, info, handler)
  728. }
  729. func _VehicleStyle_UpdateStyleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  730. in := new(v1.UpdateStyleInfoRequest)
  731. if err := dec(in); err != nil {
  732. return nil, err
  733. }
  734. if interceptor == nil {
  735. return srv.(VehicleStyleServer).UpdateStyleInfo(ctx, in)
  736. }
  737. info := &grpc.UnaryServerInfo{
  738. Server: srv,
  739. FullMethod: "/pb.service.VehicleStyle/UpdateStyleInfo",
  740. }
  741. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  742. return srv.(VehicleStyleServer).UpdateStyleInfo(ctx, req.(*v1.UpdateStyleInfoRequest))
  743. }
  744. return interceptor(ctx, in, info, handler)
  745. }
  746. func _VehicleStyle_MaintainManual_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  747. in := new(v1.MaintainManualRequest)
  748. if err := dec(in); err != nil {
  749. return nil, err
  750. }
  751. if interceptor == nil {
  752. return srv.(VehicleStyleServer).MaintainManual(ctx, in)
  753. }
  754. info := &grpc.UnaryServerInfo{
  755. Server: srv,
  756. FullMethod: "/pb.service.VehicleStyle/MaintainManual",
  757. }
  758. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  759. return srv.(VehicleStyleServer).MaintainManual(ctx, req.(*v1.MaintainManualRequest))
  760. }
  761. return interceptor(ctx, in, info, handler)
  762. }
  763. func _VehicleStyle_ItemList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  764. in := new(v1.ItemListRequest)
  765. if err := dec(in); err != nil {
  766. return nil, err
  767. }
  768. if interceptor == nil {
  769. return srv.(VehicleStyleServer).ItemList(ctx, in)
  770. }
  771. info := &grpc.UnaryServerInfo{
  772. Server: srv,
  773. FullMethod: "/pb.service.VehicleStyle/ItemList",
  774. }
  775. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  776. return srv.(VehicleStyleServer).ItemList(ctx, req.(*v1.ItemListRequest))
  777. }
  778. return interceptor(ctx, in, info, handler)
  779. }
  780. func _VehicleStyle_UpdateMaintainManual_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  781. in := new(v1.UpdateMaintainManualRequest)
  782. if err := dec(in); err != nil {
  783. return nil, err
  784. }
  785. if interceptor == nil {
  786. return srv.(VehicleStyleServer).UpdateMaintainManual(ctx, in)
  787. }
  788. info := &grpc.UnaryServerInfo{
  789. Server: srv,
  790. FullMethod: "/pb.service.VehicleStyle/UpdateMaintainManual",
  791. }
  792. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  793. return srv.(VehicleStyleServer).UpdateMaintainManual(ctx, req.(*v1.UpdateMaintainManualRequest))
  794. }
  795. return interceptor(ctx, in, info, handler)
  796. }
  797. func _VehicleStyle_MaintainManualInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  798. in := new(v1.MaintainManualInfoRequest)
  799. if err := dec(in); err != nil {
  800. return nil, err
  801. }
  802. if interceptor == nil {
  803. return srv.(VehicleStyleServer).MaintainManualInfo(ctx, in)
  804. }
  805. info := &grpc.UnaryServerInfo{
  806. Server: srv,
  807. FullMethod: "/pb.service.VehicleStyle/MaintainManualInfo",
  808. }
  809. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  810. return srv.(VehicleStyleServer).MaintainManualInfo(ctx, req.(*v1.MaintainManualInfoRequest))
  811. }
  812. return interceptor(ctx, in, info, handler)
  813. }
  814. func _VehicleStyle_StyleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  815. in := new(v1.MaintainManualRequest)
  816. if err := dec(in); err != nil {
  817. return nil, err
  818. }
  819. if interceptor == nil {
  820. return srv.(VehicleStyleServer).StyleItem(ctx, in)
  821. }
  822. info := &grpc.UnaryServerInfo{
  823. Server: srv,
  824. FullMethod: "/pb.service.VehicleStyle/StyleItem",
  825. }
  826. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  827. return srv.(VehicleStyleServer).StyleItem(ctx, req.(*v1.MaintainManualRequest))
  828. }
  829. return interceptor(ctx, in, info, handler)
  830. }
  831. func _VehicleStyle_C2List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  832. in := new(v1.C2ListRequest)
  833. if err := dec(in); err != nil {
  834. return nil, err
  835. }
  836. if interceptor == nil {
  837. return srv.(VehicleStyleServer).C2List(ctx, in)
  838. }
  839. info := &grpc.UnaryServerInfo{
  840. Server: srv,
  841. FullMethod: "/pb.service.VehicleStyle/C2List",
  842. }
  843. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  844. return srv.(VehicleStyleServer).C2List(ctx, req.(*v1.C2ListRequest))
  845. }
  846. return interceptor(ctx, in, info, handler)
  847. }
  848. func _VehicleStyle_UpdateStyleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  849. in := new(v1.UpdateStyleItemRequest)
  850. if err := dec(in); err != nil {
  851. return nil, err
  852. }
  853. if interceptor == nil {
  854. return srv.(VehicleStyleServer).UpdateStyleItem(ctx, in)
  855. }
  856. info := &grpc.UnaryServerInfo{
  857. Server: srv,
  858. FullMethod: "/pb.service.VehicleStyle/UpdateStyleItem",
  859. }
  860. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  861. return srv.(VehicleStyleServer).UpdateStyleItem(ctx, req.(*v1.UpdateStyleItemRequest))
  862. }
  863. return interceptor(ctx, in, info, handler)
  864. }
  865. func _VehicleStyle_DeleteMaintainace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  866. in := new(v1.DeleteMaintainaceRequest)
  867. if err := dec(in); err != nil {
  868. return nil, err
  869. }
  870. if interceptor == nil {
  871. return srv.(VehicleStyleServer).DeleteMaintainace(ctx, in)
  872. }
  873. info := &grpc.UnaryServerInfo{
  874. Server: srv,
  875. FullMethod: "/pb.service.VehicleStyle/DeleteMaintainace",
  876. }
  877. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  878. return srv.(VehicleStyleServer).DeleteMaintainace(ctx, req.(*v1.DeleteMaintainaceRequest))
  879. }
  880. return interceptor(ctx, in, info, handler)
  881. }
  882. func _VehicleStyle_ExportStyle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  883. in := new(v1.ExportStyleRequest)
  884. if err := dec(in); err != nil {
  885. return nil, err
  886. }
  887. if interceptor == nil {
  888. return srv.(VehicleStyleServer).ExportStyle(ctx, in)
  889. }
  890. info := &grpc.UnaryServerInfo{
  891. Server: srv,
  892. FullMethod: "/pb.service.VehicleStyle/ExportStyle",
  893. }
  894. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  895. return srv.(VehicleStyleServer).ExportStyle(ctx, req.(*v1.ExportStyleRequest))
  896. }
  897. return interceptor(ctx, in, info, handler)
  898. }
  899. func _VehicleStyle_ExportStyleTaskList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  900. in := new(v1.EmptyReply)
  901. if err := dec(in); err != nil {
  902. return nil, err
  903. }
  904. if interceptor == nil {
  905. return srv.(VehicleStyleServer).ExportStyleTaskList(ctx, in)
  906. }
  907. info := &grpc.UnaryServerInfo{
  908. Server: srv,
  909. FullMethod: "/pb.service.VehicleStyle/ExportStyleTaskList",
  910. }
  911. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  912. return srv.(VehicleStyleServer).ExportStyleTaskList(ctx, req.(*v1.EmptyReply))
  913. }
  914. return interceptor(ctx, in, info, handler)
  915. }
  916. func _VehicleStyle_DeleteExportStyleTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  917. in := new(v1.DeleteExportStyleTaskRequest)
  918. if err := dec(in); err != nil {
  919. return nil, err
  920. }
  921. if interceptor == nil {
  922. return srv.(VehicleStyleServer).DeleteExportStyleTask(ctx, in)
  923. }
  924. info := &grpc.UnaryServerInfo{
  925. Server: srv,
  926. FullMethod: "/pb.service.VehicleStyle/DeleteExportStyleTask",
  927. }
  928. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  929. return srv.(VehicleStyleServer).DeleteExportStyleTask(ctx, req.(*v1.DeleteExportStyleTaskRequest))
  930. }
  931. return interceptor(ctx, in, info, handler)
  932. }
  933. func _VehicleStyle_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  934. in := new(v1.QueryRequest)
  935. if err := dec(in); err != nil {
  936. return nil, err
  937. }
  938. if interceptor == nil {
  939. return srv.(VehicleStyleServer).Query(ctx, in)
  940. }
  941. info := &grpc.UnaryServerInfo{
  942. Server: srv,
  943. FullMethod: "/pb.service.VehicleStyle/Query",
  944. }
  945. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  946. return srv.(VehicleStyleServer).Query(ctx, req.(*v1.QueryRequest))
  947. }
  948. return interceptor(ctx, in, info, handler)
  949. }
  950. func _VehicleStyle_DeleteStyleItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  951. in := new(v1.DeleteStyleItemRequest)
  952. if err := dec(in); err != nil {
  953. return nil, err
  954. }
  955. if interceptor == nil {
  956. return srv.(VehicleStyleServer).DeleteStyleItem(ctx, in)
  957. }
  958. info := &grpc.UnaryServerInfo{
  959. Server: srv,
  960. FullMethod: "/pb.service.VehicleStyle/DeleteStyleItem",
  961. }
  962. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  963. return srv.(VehicleStyleServer).DeleteStyleItem(ctx, req.(*v1.DeleteStyleItemRequest))
  964. }
  965. return interceptor(ctx, in, info, handler)
  966. }
  967. func _VehicleStyle_TemplateList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  968. in := new(v1.TemplateListRequest)
  969. if err := dec(in); err != nil {
  970. return nil, err
  971. }
  972. if interceptor == nil {
  973. return srv.(VehicleStyleServer).TemplateList(ctx, in)
  974. }
  975. info := &grpc.UnaryServerInfo{
  976. Server: srv,
  977. FullMethod: "/pb.service.VehicleStyle/TemplateList",
  978. }
  979. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  980. return srv.(VehicleStyleServer).TemplateList(ctx, req.(*v1.TemplateListRequest))
  981. }
  982. return interceptor(ctx, in, info, handler)
  983. }
  984. func _VehicleStyle_TemplateDetailList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  985. in := new(v1.TemplateDetailListRequest)
  986. if err := dec(in); err != nil {
  987. return nil, err
  988. }
  989. if interceptor == nil {
  990. return srv.(VehicleStyleServer).TemplateDetailList(ctx, in)
  991. }
  992. info := &grpc.UnaryServerInfo{
  993. Server: srv,
  994. FullMethod: "/pb.service.VehicleStyle/TemplateDetailList",
  995. }
  996. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  997. return srv.(VehicleStyleServer).TemplateDetailList(ctx, req.(*v1.TemplateDetailListRequest))
  998. }
  999. return interceptor(ctx, in, info, handler)
  1000. }
  1001. func _VehicleStyle_TemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1002. in := new(v1.TemplateDetailRequest)
  1003. if err := dec(in); err != nil {
  1004. return nil, err
  1005. }
  1006. if interceptor == nil {
  1007. return srv.(VehicleStyleServer).TemplateDetail(ctx, in)
  1008. }
  1009. info := &grpc.UnaryServerInfo{
  1010. Server: srv,
  1011. FullMethod: "/pb.service.VehicleStyle/TemplateDetail",
  1012. }
  1013. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1014. return srv.(VehicleStyleServer).TemplateDetail(ctx, req.(*v1.TemplateDetailRequest))
  1015. }
  1016. return interceptor(ctx, in, info, handler)
  1017. }
  1018. func _VehicleStyle_AddTemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1019. in := new(v1.AddTemplateDetailRequest)
  1020. if err := dec(in); err != nil {
  1021. return nil, err
  1022. }
  1023. if interceptor == nil {
  1024. return srv.(VehicleStyleServer).AddTemplateDetail(ctx, in)
  1025. }
  1026. info := &grpc.UnaryServerInfo{
  1027. Server: srv,
  1028. FullMethod: "/pb.service.VehicleStyle/AddTemplateDetail",
  1029. }
  1030. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1031. return srv.(VehicleStyleServer).AddTemplateDetail(ctx, req.(*v1.AddTemplateDetailRequest))
  1032. }
  1033. return interceptor(ctx, in, info, handler)
  1034. }
  1035. func _VehicleStyle_UpdateTemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1036. in := new(v1.UpdateMaintainManualRequest)
  1037. if err := dec(in); err != nil {
  1038. return nil, err
  1039. }
  1040. if interceptor == nil {
  1041. return srv.(VehicleStyleServer).UpdateTemplateDetail(ctx, in)
  1042. }
  1043. info := &grpc.UnaryServerInfo{
  1044. Server: srv,
  1045. FullMethod: "/pb.service.VehicleStyle/UpdateTemplateDetail",
  1046. }
  1047. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1048. return srv.(VehicleStyleServer).UpdateTemplateDetail(ctx, req.(*v1.UpdateMaintainManualRequest))
  1049. }
  1050. return interceptor(ctx, in, info, handler)
  1051. }
  1052. func _VehicleStyle_ChooseTemplateDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1053. in := new(v1.ChooseTemplateDetailRequest)
  1054. if err := dec(in); err != nil {
  1055. return nil, err
  1056. }
  1057. if interceptor == nil {
  1058. return srv.(VehicleStyleServer).ChooseTemplateDetail(ctx, in)
  1059. }
  1060. info := &grpc.UnaryServerInfo{
  1061. Server: srv,
  1062. FullMethod: "/pb.service.VehicleStyle/ChooseTemplateDetail",
  1063. }
  1064. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1065. return srv.(VehicleStyleServer).ChooseTemplateDetail(ctx, req.(*v1.ChooseTemplateDetailRequest))
  1066. }
  1067. return interceptor(ctx, in, info, handler)
  1068. }
  1069. func _VehicleStyle_TemplateItemList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1070. in := new(v1.TemplateItemListRequest)
  1071. if err := dec(in); err != nil {
  1072. return nil, err
  1073. }
  1074. if interceptor == nil {
  1075. return srv.(VehicleStyleServer).TemplateItemList(ctx, in)
  1076. }
  1077. info := &grpc.UnaryServerInfo{
  1078. Server: srv,
  1079. FullMethod: "/pb.service.VehicleStyle/TemplateItemList",
  1080. }
  1081. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1082. return srv.(VehicleStyleServer).TemplateItemList(ctx, req.(*v1.TemplateItemListRequest))
  1083. }
  1084. return interceptor(ctx, in, info, handler)
  1085. }
  1086. var _VehicleStyle_serviceDesc = grpc.ServiceDesc{
  1087. ServiceName: "pb.service.VehicleStyle",
  1088. HandlerType: (*VehicleStyleServer)(nil),
  1089. Methods: []grpc.MethodDesc{
  1090. {
  1091. MethodName: "BrandList",
  1092. Handler: _VehicleStyle_BrandList_Handler,
  1093. },
  1094. {
  1095. MethodName: "Search",
  1096. Handler: _VehicleStyle_Search_Handler,
  1097. },
  1098. {
  1099. MethodName: "UpdateSYBrand",
  1100. Handler: _VehicleStyle_UpdateSYBrand_Handler,
  1101. },
  1102. {
  1103. MethodName: "GetMaker",
  1104. Handler: _VehicleStyle_GetMaker_Handler,
  1105. },
  1106. {
  1107. MethodName: "UpdateMaker",
  1108. Handler: _VehicleStyle_UpdateMaker_Handler,
  1109. },
  1110. {
  1111. MethodName: "SeriesList",
  1112. Handler: _VehicleStyle_SeriesList_Handler,
  1113. },
  1114. {
  1115. MethodName: "UpdateSeries",
  1116. Handler: _VehicleStyle_UpdateSeries_Handler,
  1117. },
  1118. {
  1119. MethodName: "StyleList",
  1120. Handler: _VehicleStyle_StyleList_Handler,
  1121. },
  1122. {
  1123. MethodName: "UpdateStyle",
  1124. Handler: _VehicleStyle_UpdateStyle_Handler,
  1125. },
  1126. {
  1127. MethodName: "StyleInfo",
  1128. Handler: _VehicleStyle_StyleInfo_Handler,
  1129. },
  1130. {
  1131. MethodName: "UpdateStyleInfo",
  1132. Handler: _VehicleStyle_UpdateStyleInfo_Handler,
  1133. },
  1134. {
  1135. MethodName: "MaintainManual",
  1136. Handler: _VehicleStyle_MaintainManual_Handler,
  1137. },
  1138. {
  1139. MethodName: "ItemList",
  1140. Handler: _VehicleStyle_ItemList_Handler,
  1141. },
  1142. {
  1143. MethodName: "UpdateMaintainManual",
  1144. Handler: _VehicleStyle_UpdateMaintainManual_Handler,
  1145. },
  1146. {
  1147. MethodName: "MaintainManualInfo",
  1148. Handler: _VehicleStyle_MaintainManualInfo_Handler,
  1149. },
  1150. {
  1151. MethodName: "StyleItem",
  1152. Handler: _VehicleStyle_StyleItem_Handler,
  1153. },
  1154. {
  1155. MethodName: "C2List",
  1156. Handler: _VehicleStyle_C2List_Handler,
  1157. },
  1158. {
  1159. MethodName: "UpdateStyleItem",
  1160. Handler: _VehicleStyle_UpdateStyleItem_Handler,
  1161. },
  1162. {
  1163. MethodName: "DeleteMaintainace",
  1164. Handler: _VehicleStyle_DeleteMaintainace_Handler,
  1165. },
  1166. {
  1167. MethodName: "ExportStyle",
  1168. Handler: _VehicleStyle_ExportStyle_Handler,
  1169. },
  1170. {
  1171. MethodName: "ExportStyleTaskList",
  1172. Handler: _VehicleStyle_ExportStyleTaskList_Handler,
  1173. },
  1174. {
  1175. MethodName: "DeleteExportStyleTask",
  1176. Handler: _VehicleStyle_DeleteExportStyleTask_Handler,
  1177. },
  1178. {
  1179. MethodName: "Query",
  1180. Handler: _VehicleStyle_Query_Handler,
  1181. },
  1182. {
  1183. MethodName: "DeleteStyleItem",
  1184. Handler: _VehicleStyle_DeleteStyleItem_Handler,
  1185. },
  1186. {
  1187. MethodName: "TemplateList",
  1188. Handler: _VehicleStyle_TemplateList_Handler,
  1189. },
  1190. {
  1191. MethodName: "TemplateDetailList",
  1192. Handler: _VehicleStyle_TemplateDetailList_Handler,
  1193. },
  1194. {
  1195. MethodName: "TemplateDetail",
  1196. Handler: _VehicleStyle_TemplateDetail_Handler,
  1197. },
  1198. {
  1199. MethodName: "AddTemplateDetail",
  1200. Handler: _VehicleStyle_AddTemplateDetail_Handler,
  1201. },
  1202. {
  1203. MethodName: "UpdateTemplateDetail",
  1204. Handler: _VehicleStyle_UpdateTemplateDetail_Handler,
  1205. },
  1206. {
  1207. MethodName: "ChooseTemplateDetail",
  1208. Handler: _VehicleStyle_ChooseTemplateDetail_Handler,
  1209. },
  1210. {
  1211. MethodName: "TemplateItemList",
  1212. Handler: _VehicleStyle_TemplateItemList_Handler,
  1213. },
  1214. },
  1215. Streams: []grpc.StreamDesc{},
  1216. Metadata: "adm_vehicle_style.proto",
  1217. }