organization_grpc.pb.go 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. // versions:
  3. // - protoc-gen-go-grpc v1.2.0
  4. // - protoc v4.23.4
  5. // source: organization.proto
  6. package pb
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. )
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the grpc package it is being compiled against.
  15. // Requires gRPC-Go v1.32.0 or later.
  16. const _ = grpc.SupportPackageIsVersion7
  17. // OrganizationClient is the client API for Organization service.
  18. //
  19. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  20. type OrganizationClient interface {
  21. GetWorkingUfByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingUfByCodeResp, error)
  22. FindWorkingUfByCycle(ctx context.Context, in *FindWorkingUfByCycleReq, opts ...grpc.CallOption) (*FindWorkingUfByCycleResp, error)
  23. GetWorkingRoByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingRoByCodeResp, error)
  24. GetWorkingChestByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingChestByCodeResp, error)
  25. GetWorkingPumpByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingPumpByCodeResp, error)
  26. GetWorkingValveByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingValveByCodeResp, error)
  27. MultiAddItemHistoryData(ctx context.Context, in *MultiAddItemHistoryDataReq, opts ...grpc.CallOption) (*MultiAddItemHistoryDataResp, error)
  28. ItemHistoryDataList(ctx context.Context, in *ItemHistoryDataListReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error)
  29. ItemHistoryDataByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error)
  30. ItemHistoryDataMaxMinByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataMaxMinResp, error)
  31. ItemHistoryDataFirstLastByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataFirstLastResp, error)
  32. ChangeTypeItemHistoryData(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ChangeTypeItemHistoryDataResp, error)
  33. ItemHistoryDataForChart(ctx context.Context, in *ItemHistoryDataForChartReq, opts ...grpc.CallOption) (*ItemHistoryDataForChartResp, error)
  34. FindAppList(ctx context.Context, in *FindAppListReq, opts ...grpc.CallOption) (*FindAppListResp, error)
  35. GetAppInfo(ctx context.Context, in *GetAppInfoReq, opts ...grpc.CallOption) (*GetAppInfoResp, error)
  36. CreateAppInfo(ctx context.Context, in *CreateAppInfoReq, opts ...grpc.CallOption) (*CreateAppInfoResp, error)
  37. RemoveAppInfo(ctx context.Context, in *RemoveAppInfoReq, opts ...grpc.CallOption) (*RemoveAppInfoResp, error)
  38. DisableAppInfo(ctx context.Context, in *DisableAppInfoReq, opts ...grpc.CallOption) (*DisableAppInfoResp, error)
  39. EnableAppInfo(ctx context.Context, in *EnableAppInfoReq, opts ...grpc.CallOption) (*EnableAppInfoResp, error)
  40. ResetAppSecret(ctx context.Context, in *ResetAppSecretReq, opts ...grpc.CallOption) (*ResetAppSecretResp, error)
  41. ExpireAppSecret(ctx context.Context, in *ExpireAppSecretReq, opts ...grpc.CallOption) (*ExpireAppSecretResp, error)
  42. ResetAppProject(ctx context.Context, in *ResetAppProjectReq, opts ...grpc.CallOption) (*ResetAppProjectResp, error)
  43. }
  44. type organizationClient struct {
  45. cc grpc.ClientConnInterface
  46. }
  47. func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient {
  48. return &organizationClient{cc}
  49. }
  50. func (c *organizationClient) GetWorkingUfByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingUfByCodeResp, error) {
  51. out := new(GetWorkingUfByCodeResp)
  52. err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingUfByCode", in, out, opts...)
  53. if err != nil {
  54. return nil, err
  55. }
  56. return out, nil
  57. }
  58. func (c *organizationClient) FindWorkingUfByCycle(ctx context.Context, in *FindWorkingUfByCycleReq, opts ...grpc.CallOption) (*FindWorkingUfByCycleResp, error) {
  59. out := new(FindWorkingUfByCycleResp)
  60. err := c.cc.Invoke(ctx, "/pb.Organization/FindWorkingUfByCycle", in, out, opts...)
  61. if err != nil {
  62. return nil, err
  63. }
  64. return out, nil
  65. }
  66. func (c *organizationClient) GetWorkingRoByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingRoByCodeResp, error) {
  67. out := new(GetWorkingRoByCodeResp)
  68. err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingRoByCode", in, out, opts...)
  69. if err != nil {
  70. return nil, err
  71. }
  72. return out, nil
  73. }
  74. func (c *organizationClient) GetWorkingChestByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingChestByCodeResp, error) {
  75. out := new(GetWorkingChestByCodeResp)
  76. err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingChestByCode", in, out, opts...)
  77. if err != nil {
  78. return nil, err
  79. }
  80. return out, nil
  81. }
  82. func (c *organizationClient) GetWorkingPumpByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingPumpByCodeResp, error) {
  83. out := new(GetWorkingPumpByCodeResp)
  84. err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingPumpByCode", in, out, opts...)
  85. if err != nil {
  86. return nil, err
  87. }
  88. return out, nil
  89. }
  90. func (c *organizationClient) GetWorkingValveByCode(ctx context.Context, in *DcWorkingReq, opts ...grpc.CallOption) (*GetWorkingValveByCodeResp, error) {
  91. out := new(GetWorkingValveByCodeResp)
  92. err := c.cc.Invoke(ctx, "/pb.Organization/GetWorkingValveByCode", in, out, opts...)
  93. if err != nil {
  94. return nil, err
  95. }
  96. return out, nil
  97. }
  98. func (c *organizationClient) MultiAddItemHistoryData(ctx context.Context, in *MultiAddItemHistoryDataReq, opts ...grpc.CallOption) (*MultiAddItemHistoryDataResp, error) {
  99. out := new(MultiAddItemHistoryDataResp)
  100. err := c.cc.Invoke(ctx, "/pb.Organization/MultiAddItemHistoryData", in, out, opts...)
  101. if err != nil {
  102. return nil, err
  103. }
  104. return out, nil
  105. }
  106. func (c *organizationClient) ItemHistoryDataList(ctx context.Context, in *ItemHistoryDataListReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error) {
  107. out := new(ItemHistoryDataListResp)
  108. err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataList", in, out, opts...)
  109. if err != nil {
  110. return nil, err
  111. }
  112. return out, nil
  113. }
  114. func (c *organizationClient) ItemHistoryDataByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataListResp, error) {
  115. out := new(ItemHistoryDataListResp)
  116. err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataByTime", in, out, opts...)
  117. if err != nil {
  118. return nil, err
  119. }
  120. return out, nil
  121. }
  122. func (c *organizationClient) ItemHistoryDataMaxMinByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataMaxMinResp, error) {
  123. out := new(ItemHistoryDataMaxMinResp)
  124. err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataMaxMinByTime", in, out, opts...)
  125. if err != nil {
  126. return nil, err
  127. }
  128. return out, nil
  129. }
  130. func (c *organizationClient) ItemHistoryDataFirstLastByTime(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ItemHistoryDataFirstLastResp, error) {
  131. out := new(ItemHistoryDataFirstLastResp)
  132. err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataFirstLastByTime", in, out, opts...)
  133. if err != nil {
  134. return nil, err
  135. }
  136. return out, nil
  137. }
  138. func (c *organizationClient) ChangeTypeItemHistoryData(ctx context.Context, in *ItemHistoryDataByTimeReq, opts ...grpc.CallOption) (*ChangeTypeItemHistoryDataResp, error) {
  139. out := new(ChangeTypeItemHistoryDataResp)
  140. err := c.cc.Invoke(ctx, "/pb.Organization/ChangeTypeItemHistoryData", in, out, opts...)
  141. if err != nil {
  142. return nil, err
  143. }
  144. return out, nil
  145. }
  146. func (c *organizationClient) ItemHistoryDataForChart(ctx context.Context, in *ItemHistoryDataForChartReq, opts ...grpc.CallOption) (*ItemHistoryDataForChartResp, error) {
  147. out := new(ItemHistoryDataForChartResp)
  148. err := c.cc.Invoke(ctx, "/pb.Organization/ItemHistoryDataForChart", in, out, opts...)
  149. if err != nil {
  150. return nil, err
  151. }
  152. return out, nil
  153. }
  154. func (c *organizationClient) FindAppList(ctx context.Context, in *FindAppListReq, opts ...grpc.CallOption) (*FindAppListResp, error) {
  155. out := new(FindAppListResp)
  156. err := c.cc.Invoke(ctx, "/pb.Organization/FindAppList", in, out, opts...)
  157. if err != nil {
  158. return nil, err
  159. }
  160. return out, nil
  161. }
  162. func (c *organizationClient) GetAppInfo(ctx context.Context, in *GetAppInfoReq, opts ...grpc.CallOption) (*GetAppInfoResp, error) {
  163. out := new(GetAppInfoResp)
  164. err := c.cc.Invoke(ctx, "/pb.Organization/GetAppInfo", in, out, opts...)
  165. if err != nil {
  166. return nil, err
  167. }
  168. return out, nil
  169. }
  170. func (c *organizationClient) CreateAppInfo(ctx context.Context, in *CreateAppInfoReq, opts ...grpc.CallOption) (*CreateAppInfoResp, error) {
  171. out := new(CreateAppInfoResp)
  172. err := c.cc.Invoke(ctx, "/pb.Organization/CreateAppInfo", in, out, opts...)
  173. if err != nil {
  174. return nil, err
  175. }
  176. return out, nil
  177. }
  178. func (c *organizationClient) RemoveAppInfo(ctx context.Context, in *RemoveAppInfoReq, opts ...grpc.CallOption) (*RemoveAppInfoResp, error) {
  179. out := new(RemoveAppInfoResp)
  180. err := c.cc.Invoke(ctx, "/pb.Organization/RemoveAppInfo", in, out, opts...)
  181. if err != nil {
  182. return nil, err
  183. }
  184. return out, nil
  185. }
  186. func (c *organizationClient) DisableAppInfo(ctx context.Context, in *DisableAppInfoReq, opts ...grpc.CallOption) (*DisableAppInfoResp, error) {
  187. out := new(DisableAppInfoResp)
  188. err := c.cc.Invoke(ctx, "/pb.Organization/DisableAppInfo", in, out, opts...)
  189. if err != nil {
  190. return nil, err
  191. }
  192. return out, nil
  193. }
  194. func (c *organizationClient) EnableAppInfo(ctx context.Context, in *EnableAppInfoReq, opts ...grpc.CallOption) (*EnableAppInfoResp, error) {
  195. out := new(EnableAppInfoResp)
  196. err := c.cc.Invoke(ctx, "/pb.Organization/EnableAppInfo", in, out, opts...)
  197. if err != nil {
  198. return nil, err
  199. }
  200. return out, nil
  201. }
  202. func (c *organizationClient) ResetAppSecret(ctx context.Context, in *ResetAppSecretReq, opts ...grpc.CallOption) (*ResetAppSecretResp, error) {
  203. out := new(ResetAppSecretResp)
  204. err := c.cc.Invoke(ctx, "/pb.Organization/ResetAppSecret", in, out, opts...)
  205. if err != nil {
  206. return nil, err
  207. }
  208. return out, nil
  209. }
  210. func (c *organizationClient) ExpireAppSecret(ctx context.Context, in *ExpireAppSecretReq, opts ...grpc.CallOption) (*ExpireAppSecretResp, error) {
  211. out := new(ExpireAppSecretResp)
  212. err := c.cc.Invoke(ctx, "/pb.Organization/ExpireAppSecret", in, out, opts...)
  213. if err != nil {
  214. return nil, err
  215. }
  216. return out, nil
  217. }
  218. func (c *organizationClient) ResetAppProject(ctx context.Context, in *ResetAppProjectReq, opts ...grpc.CallOption) (*ResetAppProjectResp, error) {
  219. out := new(ResetAppProjectResp)
  220. err := c.cc.Invoke(ctx, "/pb.Organization/ResetAppProject", in, out, opts...)
  221. if err != nil {
  222. return nil, err
  223. }
  224. return out, nil
  225. }
  226. // OrganizationServer is the server API for Organization service.
  227. // All implementations must embed UnimplementedOrganizationServer
  228. // for forward compatibility
  229. type OrganizationServer interface {
  230. GetWorkingUfByCode(context.Context, *DcWorkingReq) (*GetWorkingUfByCodeResp, error)
  231. FindWorkingUfByCycle(context.Context, *FindWorkingUfByCycleReq) (*FindWorkingUfByCycleResp, error)
  232. GetWorkingRoByCode(context.Context, *DcWorkingReq) (*GetWorkingRoByCodeResp, error)
  233. GetWorkingChestByCode(context.Context, *DcWorkingReq) (*GetWorkingChestByCodeResp, error)
  234. GetWorkingPumpByCode(context.Context, *DcWorkingReq) (*GetWorkingPumpByCodeResp, error)
  235. GetWorkingValveByCode(context.Context, *DcWorkingReq) (*GetWorkingValveByCodeResp, error)
  236. MultiAddItemHistoryData(context.Context, *MultiAddItemHistoryDataReq) (*MultiAddItemHistoryDataResp, error)
  237. ItemHistoryDataList(context.Context, *ItemHistoryDataListReq) (*ItemHistoryDataListResp, error)
  238. ItemHistoryDataByTime(context.Context, *ItemHistoryDataByTimeReq) (*ItemHistoryDataListResp, error)
  239. ItemHistoryDataMaxMinByTime(context.Context, *ItemHistoryDataByTimeReq) (*ItemHistoryDataMaxMinResp, error)
  240. ItemHistoryDataFirstLastByTime(context.Context, *ItemHistoryDataByTimeReq) (*ItemHistoryDataFirstLastResp, error)
  241. ChangeTypeItemHistoryData(context.Context, *ItemHistoryDataByTimeReq) (*ChangeTypeItemHistoryDataResp, error)
  242. ItemHistoryDataForChart(context.Context, *ItemHistoryDataForChartReq) (*ItemHistoryDataForChartResp, error)
  243. FindAppList(context.Context, *FindAppListReq) (*FindAppListResp, error)
  244. GetAppInfo(context.Context, *GetAppInfoReq) (*GetAppInfoResp, error)
  245. CreateAppInfo(context.Context, *CreateAppInfoReq) (*CreateAppInfoResp, error)
  246. RemoveAppInfo(context.Context, *RemoveAppInfoReq) (*RemoveAppInfoResp, error)
  247. DisableAppInfo(context.Context, *DisableAppInfoReq) (*DisableAppInfoResp, error)
  248. EnableAppInfo(context.Context, *EnableAppInfoReq) (*EnableAppInfoResp, error)
  249. ResetAppSecret(context.Context, *ResetAppSecretReq) (*ResetAppSecretResp, error)
  250. ExpireAppSecret(context.Context, *ExpireAppSecretReq) (*ExpireAppSecretResp, error)
  251. ResetAppProject(context.Context, *ResetAppProjectReq) (*ResetAppProjectResp, error)
  252. mustEmbedUnimplementedOrganizationServer()
  253. }
  254. // UnimplementedOrganizationServer must be embedded to have forward compatible implementations.
  255. type UnimplementedOrganizationServer struct {
  256. }
  257. func (UnimplementedOrganizationServer) GetWorkingUfByCode(context.Context, *DcWorkingReq) (*GetWorkingUfByCodeResp, error) {
  258. return nil, status.Errorf(codes.Unimplemented, "method GetWorkingUfByCode not implemented")
  259. }
  260. func (UnimplementedOrganizationServer) FindWorkingUfByCycle(context.Context, *FindWorkingUfByCycleReq) (*FindWorkingUfByCycleResp, error) {
  261. return nil, status.Errorf(codes.Unimplemented, "method FindWorkingUfByCycle not implemented")
  262. }
  263. func (UnimplementedOrganizationServer) GetWorkingRoByCode(context.Context, *DcWorkingReq) (*GetWorkingRoByCodeResp, error) {
  264. return nil, status.Errorf(codes.Unimplemented, "method GetWorkingRoByCode not implemented")
  265. }
  266. func (UnimplementedOrganizationServer) GetWorkingChestByCode(context.Context, *DcWorkingReq) (*GetWorkingChestByCodeResp, error) {
  267. return nil, status.Errorf(codes.Unimplemented, "method GetWorkingChestByCode not implemented")
  268. }
  269. func (UnimplementedOrganizationServer) GetWorkingPumpByCode(context.Context, *DcWorkingReq) (*GetWorkingPumpByCodeResp, error) {
  270. return nil, status.Errorf(codes.Unimplemented, "method GetWorkingPumpByCode not implemented")
  271. }
  272. func (UnimplementedOrganizationServer) GetWorkingValveByCode(context.Context, *DcWorkingReq) (*GetWorkingValveByCodeResp, error) {
  273. return nil, status.Errorf(codes.Unimplemented, "method GetWorkingValveByCode not implemented")
  274. }
  275. func (UnimplementedOrganizationServer) MultiAddItemHistoryData(context.Context, *MultiAddItemHistoryDataReq) (*MultiAddItemHistoryDataResp, error) {
  276. return nil, status.Errorf(codes.Unimplemented, "method MultiAddItemHistoryData not implemented")
  277. }
  278. func (UnimplementedOrganizationServer) ItemHistoryDataList(context.Context, *ItemHistoryDataListReq) (*ItemHistoryDataListResp, error) {
  279. return nil, status.Errorf(codes.Unimplemented, "method ItemHistoryDataList not implemented")
  280. }
  281. func (UnimplementedOrganizationServer) ItemHistoryDataByTime(context.Context, *ItemHistoryDataByTimeReq) (*ItemHistoryDataListResp, error) {
  282. return nil, status.Errorf(codes.Unimplemented, "method ItemHistoryDataByTime not implemented")
  283. }
  284. func (UnimplementedOrganizationServer) ItemHistoryDataMaxMinByTime(context.Context, *ItemHistoryDataByTimeReq) (*ItemHistoryDataMaxMinResp, error) {
  285. return nil, status.Errorf(codes.Unimplemented, "method ItemHistoryDataMaxMinByTime not implemented")
  286. }
  287. func (UnimplementedOrganizationServer) ItemHistoryDataFirstLastByTime(context.Context, *ItemHistoryDataByTimeReq) (*ItemHistoryDataFirstLastResp, error) {
  288. return nil, status.Errorf(codes.Unimplemented, "method ItemHistoryDataFirstLastByTime not implemented")
  289. }
  290. func (UnimplementedOrganizationServer) ChangeTypeItemHistoryData(context.Context, *ItemHistoryDataByTimeReq) (*ChangeTypeItemHistoryDataResp, error) {
  291. return nil, status.Errorf(codes.Unimplemented, "method ChangeTypeItemHistoryData not implemented")
  292. }
  293. func (UnimplementedOrganizationServer) ItemHistoryDataForChart(context.Context, *ItemHistoryDataForChartReq) (*ItemHistoryDataForChartResp, error) {
  294. return nil, status.Errorf(codes.Unimplemented, "method ItemHistoryDataForChart not implemented")
  295. }
  296. func (UnimplementedOrganizationServer) FindAppList(context.Context, *FindAppListReq) (*FindAppListResp, error) {
  297. return nil, status.Errorf(codes.Unimplemented, "method FindAppList not implemented")
  298. }
  299. func (UnimplementedOrganizationServer) GetAppInfo(context.Context, *GetAppInfoReq) (*GetAppInfoResp, error) {
  300. return nil, status.Errorf(codes.Unimplemented, "method GetAppInfo not implemented")
  301. }
  302. func (UnimplementedOrganizationServer) CreateAppInfo(context.Context, *CreateAppInfoReq) (*CreateAppInfoResp, error) {
  303. return nil, status.Errorf(codes.Unimplemented, "method CreateAppInfo not implemented")
  304. }
  305. func (UnimplementedOrganizationServer) RemoveAppInfo(context.Context, *RemoveAppInfoReq) (*RemoveAppInfoResp, error) {
  306. return nil, status.Errorf(codes.Unimplemented, "method RemoveAppInfo not implemented")
  307. }
  308. func (UnimplementedOrganizationServer) DisableAppInfo(context.Context, *DisableAppInfoReq) (*DisableAppInfoResp, error) {
  309. return nil, status.Errorf(codes.Unimplemented, "method DisableAppInfo not implemented")
  310. }
  311. func (UnimplementedOrganizationServer) EnableAppInfo(context.Context, *EnableAppInfoReq) (*EnableAppInfoResp, error) {
  312. return nil, status.Errorf(codes.Unimplemented, "method EnableAppInfo not implemented")
  313. }
  314. func (UnimplementedOrganizationServer) ResetAppSecret(context.Context, *ResetAppSecretReq) (*ResetAppSecretResp, error) {
  315. return nil, status.Errorf(codes.Unimplemented, "method ResetAppSecret not implemented")
  316. }
  317. func (UnimplementedOrganizationServer) ExpireAppSecret(context.Context, *ExpireAppSecretReq) (*ExpireAppSecretResp, error) {
  318. return nil, status.Errorf(codes.Unimplemented, "method ExpireAppSecret not implemented")
  319. }
  320. func (UnimplementedOrganizationServer) ResetAppProject(context.Context, *ResetAppProjectReq) (*ResetAppProjectResp, error) {
  321. return nil, status.Errorf(codes.Unimplemented, "method ResetAppProject not implemented")
  322. }
  323. func (UnimplementedOrganizationServer) mustEmbedUnimplementedOrganizationServer() {}
  324. // UnsafeOrganizationServer may be embedded to opt out of forward compatibility for this service.
  325. // Use of this interface is not recommended, as added methods to OrganizationServer will
  326. // result in compilation errors.
  327. type UnsafeOrganizationServer interface {
  328. mustEmbedUnimplementedOrganizationServer()
  329. }
  330. func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer) {
  331. s.RegisterService(&Organization_ServiceDesc, srv)
  332. }
  333. func _Organization_GetWorkingUfByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  334. in := new(DcWorkingReq)
  335. if err := dec(in); err != nil {
  336. return nil, err
  337. }
  338. if interceptor == nil {
  339. return srv.(OrganizationServer).GetWorkingUfByCode(ctx, in)
  340. }
  341. info := &grpc.UnaryServerInfo{
  342. Server: srv,
  343. FullMethod: "/pb.Organization/GetWorkingUfByCode",
  344. }
  345. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  346. return srv.(OrganizationServer).GetWorkingUfByCode(ctx, req.(*DcWorkingReq))
  347. }
  348. return interceptor(ctx, in, info, handler)
  349. }
  350. func _Organization_FindWorkingUfByCycle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  351. in := new(FindWorkingUfByCycleReq)
  352. if err := dec(in); err != nil {
  353. return nil, err
  354. }
  355. if interceptor == nil {
  356. return srv.(OrganizationServer).FindWorkingUfByCycle(ctx, in)
  357. }
  358. info := &grpc.UnaryServerInfo{
  359. Server: srv,
  360. FullMethod: "/pb.Organization/FindWorkingUfByCycle",
  361. }
  362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  363. return srv.(OrganizationServer).FindWorkingUfByCycle(ctx, req.(*FindWorkingUfByCycleReq))
  364. }
  365. return interceptor(ctx, in, info, handler)
  366. }
  367. func _Organization_GetWorkingRoByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  368. in := new(DcWorkingReq)
  369. if err := dec(in); err != nil {
  370. return nil, err
  371. }
  372. if interceptor == nil {
  373. return srv.(OrganizationServer).GetWorkingRoByCode(ctx, in)
  374. }
  375. info := &grpc.UnaryServerInfo{
  376. Server: srv,
  377. FullMethod: "/pb.Organization/GetWorkingRoByCode",
  378. }
  379. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  380. return srv.(OrganizationServer).GetWorkingRoByCode(ctx, req.(*DcWorkingReq))
  381. }
  382. return interceptor(ctx, in, info, handler)
  383. }
  384. func _Organization_GetWorkingChestByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  385. in := new(DcWorkingReq)
  386. if err := dec(in); err != nil {
  387. return nil, err
  388. }
  389. if interceptor == nil {
  390. return srv.(OrganizationServer).GetWorkingChestByCode(ctx, in)
  391. }
  392. info := &grpc.UnaryServerInfo{
  393. Server: srv,
  394. FullMethod: "/pb.Organization/GetWorkingChestByCode",
  395. }
  396. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  397. return srv.(OrganizationServer).GetWorkingChestByCode(ctx, req.(*DcWorkingReq))
  398. }
  399. return interceptor(ctx, in, info, handler)
  400. }
  401. func _Organization_GetWorkingPumpByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  402. in := new(DcWorkingReq)
  403. if err := dec(in); err != nil {
  404. return nil, err
  405. }
  406. if interceptor == nil {
  407. return srv.(OrganizationServer).GetWorkingPumpByCode(ctx, in)
  408. }
  409. info := &grpc.UnaryServerInfo{
  410. Server: srv,
  411. FullMethod: "/pb.Organization/GetWorkingPumpByCode",
  412. }
  413. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  414. return srv.(OrganizationServer).GetWorkingPumpByCode(ctx, req.(*DcWorkingReq))
  415. }
  416. return interceptor(ctx, in, info, handler)
  417. }
  418. func _Organization_GetWorkingValveByCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  419. in := new(DcWorkingReq)
  420. if err := dec(in); err != nil {
  421. return nil, err
  422. }
  423. if interceptor == nil {
  424. return srv.(OrganizationServer).GetWorkingValveByCode(ctx, in)
  425. }
  426. info := &grpc.UnaryServerInfo{
  427. Server: srv,
  428. FullMethod: "/pb.Organization/GetWorkingValveByCode",
  429. }
  430. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  431. return srv.(OrganizationServer).GetWorkingValveByCode(ctx, req.(*DcWorkingReq))
  432. }
  433. return interceptor(ctx, in, info, handler)
  434. }
  435. func _Organization_MultiAddItemHistoryData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  436. in := new(MultiAddItemHistoryDataReq)
  437. if err := dec(in); err != nil {
  438. return nil, err
  439. }
  440. if interceptor == nil {
  441. return srv.(OrganizationServer).MultiAddItemHistoryData(ctx, in)
  442. }
  443. info := &grpc.UnaryServerInfo{
  444. Server: srv,
  445. FullMethod: "/pb.Organization/MultiAddItemHistoryData",
  446. }
  447. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  448. return srv.(OrganizationServer).MultiAddItemHistoryData(ctx, req.(*MultiAddItemHistoryDataReq))
  449. }
  450. return interceptor(ctx, in, info, handler)
  451. }
  452. func _Organization_ItemHistoryDataList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  453. in := new(ItemHistoryDataListReq)
  454. if err := dec(in); err != nil {
  455. return nil, err
  456. }
  457. if interceptor == nil {
  458. return srv.(OrganizationServer).ItemHistoryDataList(ctx, in)
  459. }
  460. info := &grpc.UnaryServerInfo{
  461. Server: srv,
  462. FullMethod: "/pb.Organization/ItemHistoryDataList",
  463. }
  464. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  465. return srv.(OrganizationServer).ItemHistoryDataList(ctx, req.(*ItemHistoryDataListReq))
  466. }
  467. return interceptor(ctx, in, info, handler)
  468. }
  469. func _Organization_ItemHistoryDataByTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  470. in := new(ItemHistoryDataByTimeReq)
  471. if err := dec(in); err != nil {
  472. return nil, err
  473. }
  474. if interceptor == nil {
  475. return srv.(OrganizationServer).ItemHistoryDataByTime(ctx, in)
  476. }
  477. info := &grpc.UnaryServerInfo{
  478. Server: srv,
  479. FullMethod: "/pb.Organization/ItemHistoryDataByTime",
  480. }
  481. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  482. return srv.(OrganizationServer).ItemHistoryDataByTime(ctx, req.(*ItemHistoryDataByTimeReq))
  483. }
  484. return interceptor(ctx, in, info, handler)
  485. }
  486. func _Organization_ItemHistoryDataMaxMinByTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  487. in := new(ItemHistoryDataByTimeReq)
  488. if err := dec(in); err != nil {
  489. return nil, err
  490. }
  491. if interceptor == nil {
  492. return srv.(OrganizationServer).ItemHistoryDataMaxMinByTime(ctx, in)
  493. }
  494. info := &grpc.UnaryServerInfo{
  495. Server: srv,
  496. FullMethod: "/pb.Organization/ItemHistoryDataMaxMinByTime",
  497. }
  498. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  499. return srv.(OrganizationServer).ItemHistoryDataMaxMinByTime(ctx, req.(*ItemHistoryDataByTimeReq))
  500. }
  501. return interceptor(ctx, in, info, handler)
  502. }
  503. func _Organization_ItemHistoryDataFirstLastByTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  504. in := new(ItemHistoryDataByTimeReq)
  505. if err := dec(in); err != nil {
  506. return nil, err
  507. }
  508. if interceptor == nil {
  509. return srv.(OrganizationServer).ItemHistoryDataFirstLastByTime(ctx, in)
  510. }
  511. info := &grpc.UnaryServerInfo{
  512. Server: srv,
  513. FullMethod: "/pb.Organization/ItemHistoryDataFirstLastByTime",
  514. }
  515. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  516. return srv.(OrganizationServer).ItemHistoryDataFirstLastByTime(ctx, req.(*ItemHistoryDataByTimeReq))
  517. }
  518. return interceptor(ctx, in, info, handler)
  519. }
  520. func _Organization_ChangeTypeItemHistoryData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  521. in := new(ItemHistoryDataByTimeReq)
  522. if err := dec(in); err != nil {
  523. return nil, err
  524. }
  525. if interceptor == nil {
  526. return srv.(OrganizationServer).ChangeTypeItemHistoryData(ctx, in)
  527. }
  528. info := &grpc.UnaryServerInfo{
  529. Server: srv,
  530. FullMethod: "/pb.Organization/ChangeTypeItemHistoryData",
  531. }
  532. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  533. return srv.(OrganizationServer).ChangeTypeItemHistoryData(ctx, req.(*ItemHistoryDataByTimeReq))
  534. }
  535. return interceptor(ctx, in, info, handler)
  536. }
  537. func _Organization_ItemHistoryDataForChart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  538. in := new(ItemHistoryDataForChartReq)
  539. if err := dec(in); err != nil {
  540. return nil, err
  541. }
  542. if interceptor == nil {
  543. return srv.(OrganizationServer).ItemHistoryDataForChart(ctx, in)
  544. }
  545. info := &grpc.UnaryServerInfo{
  546. Server: srv,
  547. FullMethod: "/pb.Organization/ItemHistoryDataForChart",
  548. }
  549. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  550. return srv.(OrganizationServer).ItemHistoryDataForChart(ctx, req.(*ItemHistoryDataForChartReq))
  551. }
  552. return interceptor(ctx, in, info, handler)
  553. }
  554. func _Organization_FindAppList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  555. in := new(FindAppListReq)
  556. if err := dec(in); err != nil {
  557. return nil, err
  558. }
  559. if interceptor == nil {
  560. return srv.(OrganizationServer).FindAppList(ctx, in)
  561. }
  562. info := &grpc.UnaryServerInfo{
  563. Server: srv,
  564. FullMethod: "/pb.Organization/FindAppList",
  565. }
  566. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  567. return srv.(OrganizationServer).FindAppList(ctx, req.(*FindAppListReq))
  568. }
  569. return interceptor(ctx, in, info, handler)
  570. }
  571. func _Organization_GetAppInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  572. in := new(GetAppInfoReq)
  573. if err := dec(in); err != nil {
  574. return nil, err
  575. }
  576. if interceptor == nil {
  577. return srv.(OrganizationServer).GetAppInfo(ctx, in)
  578. }
  579. info := &grpc.UnaryServerInfo{
  580. Server: srv,
  581. FullMethod: "/pb.Organization/GetAppInfo",
  582. }
  583. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  584. return srv.(OrganizationServer).GetAppInfo(ctx, req.(*GetAppInfoReq))
  585. }
  586. return interceptor(ctx, in, info, handler)
  587. }
  588. func _Organization_CreateAppInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  589. in := new(CreateAppInfoReq)
  590. if err := dec(in); err != nil {
  591. return nil, err
  592. }
  593. if interceptor == nil {
  594. return srv.(OrganizationServer).CreateAppInfo(ctx, in)
  595. }
  596. info := &grpc.UnaryServerInfo{
  597. Server: srv,
  598. FullMethod: "/pb.Organization/CreateAppInfo",
  599. }
  600. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  601. return srv.(OrganizationServer).CreateAppInfo(ctx, req.(*CreateAppInfoReq))
  602. }
  603. return interceptor(ctx, in, info, handler)
  604. }
  605. func _Organization_RemoveAppInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  606. in := new(RemoveAppInfoReq)
  607. if err := dec(in); err != nil {
  608. return nil, err
  609. }
  610. if interceptor == nil {
  611. return srv.(OrganizationServer).RemoveAppInfo(ctx, in)
  612. }
  613. info := &grpc.UnaryServerInfo{
  614. Server: srv,
  615. FullMethod: "/pb.Organization/RemoveAppInfo",
  616. }
  617. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  618. return srv.(OrganizationServer).RemoveAppInfo(ctx, req.(*RemoveAppInfoReq))
  619. }
  620. return interceptor(ctx, in, info, handler)
  621. }
  622. func _Organization_DisableAppInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  623. in := new(DisableAppInfoReq)
  624. if err := dec(in); err != nil {
  625. return nil, err
  626. }
  627. if interceptor == nil {
  628. return srv.(OrganizationServer).DisableAppInfo(ctx, in)
  629. }
  630. info := &grpc.UnaryServerInfo{
  631. Server: srv,
  632. FullMethod: "/pb.Organization/DisableAppInfo",
  633. }
  634. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  635. return srv.(OrganizationServer).DisableAppInfo(ctx, req.(*DisableAppInfoReq))
  636. }
  637. return interceptor(ctx, in, info, handler)
  638. }
  639. func _Organization_EnableAppInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  640. in := new(EnableAppInfoReq)
  641. if err := dec(in); err != nil {
  642. return nil, err
  643. }
  644. if interceptor == nil {
  645. return srv.(OrganizationServer).EnableAppInfo(ctx, in)
  646. }
  647. info := &grpc.UnaryServerInfo{
  648. Server: srv,
  649. FullMethod: "/pb.Organization/EnableAppInfo",
  650. }
  651. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  652. return srv.(OrganizationServer).EnableAppInfo(ctx, req.(*EnableAppInfoReq))
  653. }
  654. return interceptor(ctx, in, info, handler)
  655. }
  656. func _Organization_ResetAppSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  657. in := new(ResetAppSecretReq)
  658. if err := dec(in); err != nil {
  659. return nil, err
  660. }
  661. if interceptor == nil {
  662. return srv.(OrganizationServer).ResetAppSecret(ctx, in)
  663. }
  664. info := &grpc.UnaryServerInfo{
  665. Server: srv,
  666. FullMethod: "/pb.Organization/ResetAppSecret",
  667. }
  668. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  669. return srv.(OrganizationServer).ResetAppSecret(ctx, req.(*ResetAppSecretReq))
  670. }
  671. return interceptor(ctx, in, info, handler)
  672. }
  673. func _Organization_ExpireAppSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  674. in := new(ExpireAppSecretReq)
  675. if err := dec(in); err != nil {
  676. return nil, err
  677. }
  678. if interceptor == nil {
  679. return srv.(OrganizationServer).ExpireAppSecret(ctx, in)
  680. }
  681. info := &grpc.UnaryServerInfo{
  682. Server: srv,
  683. FullMethod: "/pb.Organization/ExpireAppSecret",
  684. }
  685. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  686. return srv.(OrganizationServer).ExpireAppSecret(ctx, req.(*ExpireAppSecretReq))
  687. }
  688. return interceptor(ctx, in, info, handler)
  689. }
  690. func _Organization_ResetAppProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  691. in := new(ResetAppProjectReq)
  692. if err := dec(in); err != nil {
  693. return nil, err
  694. }
  695. if interceptor == nil {
  696. return srv.(OrganizationServer).ResetAppProject(ctx, in)
  697. }
  698. info := &grpc.UnaryServerInfo{
  699. Server: srv,
  700. FullMethod: "/pb.Organization/ResetAppProject",
  701. }
  702. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  703. return srv.(OrganizationServer).ResetAppProject(ctx, req.(*ResetAppProjectReq))
  704. }
  705. return interceptor(ctx, in, info, handler)
  706. }
  707. // Organization_ServiceDesc is the grpc.ServiceDesc for Organization service.
  708. // It's only intended for direct use with grpc.RegisterService,
  709. // and not to be introspected or modified (even as a copy)
  710. var Organization_ServiceDesc = grpc.ServiceDesc{
  711. ServiceName: "pb.Organization",
  712. HandlerType: (*OrganizationServer)(nil),
  713. Methods: []grpc.MethodDesc{
  714. {
  715. MethodName: "GetWorkingUfByCode",
  716. Handler: _Organization_GetWorkingUfByCode_Handler,
  717. },
  718. {
  719. MethodName: "FindWorkingUfByCycle",
  720. Handler: _Organization_FindWorkingUfByCycle_Handler,
  721. },
  722. {
  723. MethodName: "GetWorkingRoByCode",
  724. Handler: _Organization_GetWorkingRoByCode_Handler,
  725. },
  726. {
  727. MethodName: "GetWorkingChestByCode",
  728. Handler: _Organization_GetWorkingChestByCode_Handler,
  729. },
  730. {
  731. MethodName: "GetWorkingPumpByCode",
  732. Handler: _Organization_GetWorkingPumpByCode_Handler,
  733. },
  734. {
  735. MethodName: "GetWorkingValveByCode",
  736. Handler: _Organization_GetWorkingValveByCode_Handler,
  737. },
  738. {
  739. MethodName: "MultiAddItemHistoryData",
  740. Handler: _Organization_MultiAddItemHistoryData_Handler,
  741. },
  742. {
  743. MethodName: "ItemHistoryDataList",
  744. Handler: _Organization_ItemHistoryDataList_Handler,
  745. },
  746. {
  747. MethodName: "ItemHistoryDataByTime",
  748. Handler: _Organization_ItemHistoryDataByTime_Handler,
  749. },
  750. {
  751. MethodName: "ItemHistoryDataMaxMinByTime",
  752. Handler: _Organization_ItemHistoryDataMaxMinByTime_Handler,
  753. },
  754. {
  755. MethodName: "ItemHistoryDataFirstLastByTime",
  756. Handler: _Organization_ItemHistoryDataFirstLastByTime_Handler,
  757. },
  758. {
  759. MethodName: "ChangeTypeItemHistoryData",
  760. Handler: _Organization_ChangeTypeItemHistoryData_Handler,
  761. },
  762. {
  763. MethodName: "ItemHistoryDataForChart",
  764. Handler: _Organization_ItemHistoryDataForChart_Handler,
  765. },
  766. {
  767. MethodName: "FindAppList",
  768. Handler: _Organization_FindAppList_Handler,
  769. },
  770. {
  771. MethodName: "GetAppInfo",
  772. Handler: _Organization_GetAppInfo_Handler,
  773. },
  774. {
  775. MethodName: "CreateAppInfo",
  776. Handler: _Organization_CreateAppInfo_Handler,
  777. },
  778. {
  779. MethodName: "RemoveAppInfo",
  780. Handler: _Organization_RemoveAppInfo_Handler,
  781. },
  782. {
  783. MethodName: "DisableAppInfo",
  784. Handler: _Organization_DisableAppInfo_Handler,
  785. },
  786. {
  787. MethodName: "EnableAppInfo",
  788. Handler: _Organization_EnableAppInfo_Handler,
  789. },
  790. {
  791. MethodName: "ResetAppSecret",
  792. Handler: _Organization_ResetAppSecret_Handler,
  793. },
  794. {
  795. MethodName: "ExpireAppSecret",
  796. Handler: _Organization_ExpireAppSecret_Handler,
  797. },
  798. {
  799. MethodName: "ResetAppProject",
  800. Handler: _Organization_ResetAppProject_Handler,
  801. },
  802. },
  803. Streams: []grpc.StreamDesc{},
  804. Metadata: "organization.proto",
  805. }