thirdparty_management.pb.go 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: thirdparty_management.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb
  5. import (
  6. v1 "access-control-monitor/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() {
  25. proto.RegisterFile("thirdparty_management.proto", fileDescriptor_f3d34336399aea71)
  26. }
  27. var fileDescriptor_f3d34336399aea71 = []byte{
  28. // 477 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x5b, 0x6f, 0xd3, 0x30,
  30. 0x14, 0xc7, 0x11, 0x0f, 0x08, 0xfc, 0xc4, 0x9c, 0x0d, 0xb1, 0x76, 0xe5, 0x2a, 0x21, 0x5e, 0xd6,
  31. 0xa9, 0x5c, 0x84, 0xc4, 0xdb, 0xe8, 0xc6, 0x5e, 0x90, 0xa8, 0xd6, 0x32, 0x10, 0x48, 0xa0, 0x53,
  32. 0xe7, 0x74, 0x31, 0x24, 0x76, 0x70, 0x4e, 0x23, 0xf5, 0xc3, 0xf1, 0xdd, 0x90, 0xe3, 0xb9, 0x99,
  33. 0xd3, 0xa4, 0xda, 0xa3, 0xff, 0x97, 0xdf, 0x39, 0x96, 0xa3, 0xb0, 0x3e, 0x25, 0xd2, 0xc4, 0x39,
  34. 0x18, 0x5a, 0xfd, 0xca, 0x40, 0xc1, 0x25, 0x66, 0xa8, 0x68, 0x98, 0x1b, 0x4d, 0x9a, 0xdf, 0xce,
  35. 0xe7, 0xbd, 0xa8, 0x1c, 0x1d, 0xd5, 0x19, 0x67, 0xbc, 0xfa, 0xc7, 0x58, 0x34, 0xcd, 0xc0, 0xd0,
  36. 0x54, 0x12, 0xce, 0xd6, 0x2e, 0x7f, 0xc3, 0xee, 0x9e, 0x21, 0x5d, 0x08, 0x1d, 0x23, 0x8f, 0x86,
  37. 0xe5, 0x68, 0xe8, 0x4f, 0xe7, 0xf8, 0x77, 0x89, 0x05, 0xf5, 0x76, 0x42, 0x31, 0x4f, 0x57, 0xcf,
  38. 0x6e, 0xf1, 0xf7, 0x8c, 0x8d, 0x13, 0x14, 0x7f, 0x5c, 0x6f, 0xcf, 0x46, 0xea, 0xb3, 0x6f, 0x46,
  39. 0x4d, 0xd9, 0x75, 0xdf, 0xb1, 0x7b, 0x53, 0x54, 0xf1, 0x71, 0x0a, 0x26, 0xe3, 0xbb, 0x36, 0xb3,
  40. 0x3e, 0xfa, 0x26, 0x6f, 0xa8, 0x41, 0xf1, 0x34, 0x03, 0x99, 0xd6, 0xc5, 0xea, 0xb8, 0x51, 0xbc,
  41. 0x52, 0x5d, 0xf1, 0x33, 0xdb, 0xb1, 0xda, 0x2c, 0x31, 0x7a, 0x79, 0x99, 0x5c, 0xa0, 0x91, 0x8b,
  42. 0x15, 0x3f, 0xf0, 0xd1, 0x40, 0xf6, 0xa0, 0x5e, 0x87, 0xeb, 0x80, 0x9f, 0xd8, 0xfd, 0xaf, 0x08,
  43. 0x94, 0xa0, 0x19, 0x6b, 0x15, 0x4b, 0x92, 0x5a, 0xf1, 0xbe, 0x6d, 0x34, 0x55, 0x8f, 0xdb, 0x6f,
  44. 0x37, 0xd7, 0xeb, 0x5d, 0x59, 0xa7, 0xaa, 0x94, 0x46, 0xdb, 0xe7, 0x74, 0xeb, 0x6d, 0xc8, 0xc1,
  45. 0x7a, 0x2d, 0x6e, 0x13, 0xf8, 0x51, 0x1b, 0x14, 0x50, 0xd0, 0xe8, 0x6d, 0x00, 0xac, 0xe5, 0x36,
  46. 0xe0, 0x75, 0xd7, 0x01, 0x63, 0xf6, 0x70, 0x62, 0x74, 0x29, 0x95, 0x90, 0x90, 0x9e, 0x21, 0x4d,
  47. 0x8c, 0xfe, 0x8d, 0x82, 0xc6, 0xf6, 0xf1, 0x9f, 0xdb, 0x66, 0x97, 0xeb, 0xf1, 0x4f, 0xb7, 0x87,
  48. 0xdc, 0x94, 0x1f, 0x6c, 0xaf, 0x8e, 0x4c, 0x74, 0xe1, 0x33, 0xfc, 0x49, 0xd8, 0xbe, 0x66, 0x79,
  49. 0xfe, 0xa3, 0x2d, 0x89, 0x96, 0x2b, 0x58, 0xff, 0x64, 0x59, 0xd0, 0x09, 0x96, 0x52, 0x6c, 0x5c,
  50. 0x21, 0x74, 0x3b, 0xae, 0xd0, 0x0c, 0xb9, 0x29, 0x3f, 0xd9, 0x83, 0x96, 0x08, 0x10, 0xf0, 0xae,
  51. 0x3a, 0x10, 0xf8, 0x09, 0x8f, 0xb7, 0x45, 0x1c, 0xff, 0x1b, 0xdb, 0xad, 0x03, 0xee, 0x9b, 0xac,
  52. 0xe8, 0x8d, 0x6a, 0xed, 0x78, 0xf6, 0xa0, 0x3b, 0xe0, 0xc8, 0xe7, 0x8c, 0x87, 0xa3, 0x67, 0x08,
  53. 0x19, 0x1f, 0x6c, 0xae, 0x64, 0x75, 0x4f, 0xed, 0x77, 0xd9, 0x8e, 0xf9, 0x85, 0x45, 0xa1, 0x39,
  54. 0x25, 0x58, 0x2c, 0x78, 0xcb, 0x63, 0x55, 0x86, 0xa7, 0x1e, 0x74, 0xfa, 0x0e, 0x5b, 0xb0, 0x41,
  55. 0x8b, 0x7b, 0x4c, 0x84, 0x2a, 0x06, 0x25, 0x90, 0xbf, 0xec, 0x00, 0xd4, 0x11, 0x3f, 0xea, 0xc5,
  56. 0x0d, 0x92, 0xd5, 0xd0, 0x0f, 0xfd, 0xef, 0xfb, 0x20, 0x04, 0x16, 0xc5, 0xa1, 0xd0, 0x8a, 0x8c,
  57. 0x4e, 0x0f, 0x33, 0xad, 0x24, 0x69, 0x73, 0x94, 0xcf, 0xe7, 0x77, 0xaa, 0x7f, 0xec, 0xeb, 0xff,
  58. 0x01, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x5c, 0x0a, 0x8d, 0x9b, 0x05, 0x00, 0x00,
  59. }
  60. // Reference imports to suppress errors if they are not otherwise used.
  61. var _ context.Context
  62. var _ grpc.ClientConnInterface
  63. // This is a compile-time assertion to ensure that this generated file
  64. // is compatible with the grpc package it is being compiled against.
  65. const _ = grpc.SupportPackageIsVersion6
  66. // SmartSiteThirdpartyClient is the client API for SmartSiteThirdparty service.
  67. //
  68. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  69. type SmartSiteThirdpartyClient interface {
  70. GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error)
  71. // 手机号验证码验证
  72. CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error)
  73. // 发送告警
  74. SendAlarm(ctx context.Context, in *v1.SendAlarmRequest, opts ...grpc.CallOption) (*v1.SendAlarmReply, error)
  75. SendEmail(ctx context.Context, in *v1.SendEmailRequest, opts ...grpc.CallOption) (*v1.SendEmailReply, error)
  76. // 发送认证通过
  77. SendThroughVerify(ctx context.Context, in *v1.SendThroughVerifyRequest, opts ...grpc.CallOption) (*v1.SendThroughVerifyReply, error)
  78. // 实时天气情况
  79. WeatherCondition(ctx context.Context, in *v1.WeatherConditionRequest, opts ...grpc.CallOption) (*v1.WeatherConditionReply, error)
  80. // 获取实时空气质量
  81. WeatherEnviroment(ctx context.Context, in *v1.WeatherEnviromentRequest, opts ...grpc.CallOption) (*v1.WeatherEnviromentReply, error)
  82. WeatherForecast15(ctx context.Context, in *v1.WeatherForecast15Request, opts ...grpc.CallOption) (*v1.WeatherForecast15Reply, error)
  83. // 省厅接口
  84. ProvincialGetProjectCode(ctx context.Context, in *v1.ProvincialGetProjectCodeRequest, opts ...grpc.CallOption) (*v1.ProvincialGetProjectCodeReply, error)
  85. ProvincialPostProject(ctx context.Context, in *v1.ProvincialPostProjectRequest, opts ...grpc.CallOption) (*v1.ProvincialPostProjectReply, error)
  86. ProvincialPostDustDevice(ctx context.Context, in *v1.ProvincialPostDustDeviceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDeviceReply, error)
  87. ProvincialPostDustData(ctx context.Context, in *v1.ProvincialPostDustDataRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDataReply, error)
  88. ProvincialVerifyData(ctx context.Context, in *v1.ProvincialVerifyDataRequest, opts ...grpc.CallOption) (*v1.ProvincialVerifyDataReply, error)
  89. ProvincialPostTeam(ctx context.Context, in *v1.ProvincialPostTeamRequest, opts ...grpc.CallOption) (*v1.ProvincialPostTeamReply, error)
  90. ProvincialPostStaff(ctx context.Context, in *v1.ProvincialPostStaffRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffReply, error)
  91. ProvincialPostStaffAttendance(ctx context.Context, in *v1.ProvincialPostStaffAttendanceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffAttendanceReply, error)
  92. }
  93. type smartSiteThirdpartyClient struct {
  94. cc grpc.ClientConnInterface
  95. }
  96. func NewSmartSiteThirdpartyClient(cc grpc.ClientConnInterface) SmartSiteThirdpartyClient {
  97. return &smartSiteThirdpartyClient{cc}
  98. }
  99. func (c *smartSiteThirdpartyClient) GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error) {
  100. out := new(v1.GetVcodeReply)
  101. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/GetVcode", in, out, opts...)
  102. if err != nil {
  103. return nil, err
  104. }
  105. return out, nil
  106. }
  107. func (c *smartSiteThirdpartyClient) CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error) {
  108. out := new(v1.CheckVcodeReply)
  109. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/CheckVcode", in, out, opts...)
  110. if err != nil {
  111. return nil, err
  112. }
  113. return out, nil
  114. }
  115. func (c *smartSiteThirdpartyClient) SendAlarm(ctx context.Context, in *v1.SendAlarmRequest, opts ...grpc.CallOption) (*v1.SendAlarmReply, error) {
  116. out := new(v1.SendAlarmReply)
  117. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/SendAlarm", in, out, opts...)
  118. if err != nil {
  119. return nil, err
  120. }
  121. return out, nil
  122. }
  123. func (c *smartSiteThirdpartyClient) SendEmail(ctx context.Context, in *v1.SendEmailRequest, opts ...grpc.CallOption) (*v1.SendEmailReply, error) {
  124. out := new(v1.SendEmailReply)
  125. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/SendEmail", in, out, opts...)
  126. if err != nil {
  127. return nil, err
  128. }
  129. return out, nil
  130. }
  131. func (c *smartSiteThirdpartyClient) SendThroughVerify(ctx context.Context, in *v1.SendThroughVerifyRequest, opts ...grpc.CallOption) (*v1.SendThroughVerifyReply, error) {
  132. out := new(v1.SendThroughVerifyReply)
  133. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/SendThroughVerify", in, out, opts...)
  134. if err != nil {
  135. return nil, err
  136. }
  137. return out, nil
  138. }
  139. func (c *smartSiteThirdpartyClient) WeatherCondition(ctx context.Context, in *v1.WeatherConditionRequest, opts ...grpc.CallOption) (*v1.WeatherConditionReply, error) {
  140. out := new(v1.WeatherConditionReply)
  141. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/WeatherCondition", in, out, opts...)
  142. if err != nil {
  143. return nil, err
  144. }
  145. return out, nil
  146. }
  147. func (c *smartSiteThirdpartyClient) WeatherEnviroment(ctx context.Context, in *v1.WeatherEnviromentRequest, opts ...grpc.CallOption) (*v1.WeatherEnviromentReply, error) {
  148. out := new(v1.WeatherEnviromentReply)
  149. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/WeatherEnviroment", in, out, opts...)
  150. if err != nil {
  151. return nil, err
  152. }
  153. return out, nil
  154. }
  155. func (c *smartSiteThirdpartyClient) WeatherForecast15(ctx context.Context, in *v1.WeatherForecast15Request, opts ...grpc.CallOption) (*v1.WeatherForecast15Reply, error) {
  156. out := new(v1.WeatherForecast15Reply)
  157. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/WeatherForecast15", in, out, opts...)
  158. if err != nil {
  159. return nil, err
  160. }
  161. return out, nil
  162. }
  163. func (c *smartSiteThirdpartyClient) ProvincialGetProjectCode(ctx context.Context, in *v1.ProvincialGetProjectCodeRequest, opts ...grpc.CallOption) (*v1.ProvincialGetProjectCodeReply, error) {
  164. out := new(v1.ProvincialGetProjectCodeReply)
  165. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialGetProjectCode", in, out, opts...)
  166. if err != nil {
  167. return nil, err
  168. }
  169. return out, nil
  170. }
  171. func (c *smartSiteThirdpartyClient) ProvincialPostProject(ctx context.Context, in *v1.ProvincialPostProjectRequest, opts ...grpc.CallOption) (*v1.ProvincialPostProjectReply, error) {
  172. out := new(v1.ProvincialPostProjectReply)
  173. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostProject", in, out, opts...)
  174. if err != nil {
  175. return nil, err
  176. }
  177. return out, nil
  178. }
  179. func (c *smartSiteThirdpartyClient) ProvincialPostDustDevice(ctx context.Context, in *v1.ProvincialPostDustDeviceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDeviceReply, error) {
  180. out := new(v1.ProvincialPostDustDeviceReply)
  181. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostDustDevice", in, out, opts...)
  182. if err != nil {
  183. return nil, err
  184. }
  185. return out, nil
  186. }
  187. func (c *smartSiteThirdpartyClient) ProvincialPostDustData(ctx context.Context, in *v1.ProvincialPostDustDataRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDataReply, error) {
  188. out := new(v1.ProvincialPostDustDataReply)
  189. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostDustData", in, out, opts...)
  190. if err != nil {
  191. return nil, err
  192. }
  193. return out, nil
  194. }
  195. func (c *smartSiteThirdpartyClient) ProvincialVerifyData(ctx context.Context, in *v1.ProvincialVerifyDataRequest, opts ...grpc.CallOption) (*v1.ProvincialVerifyDataReply, error) {
  196. out := new(v1.ProvincialVerifyDataReply)
  197. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialVerifyData", in, out, opts...)
  198. if err != nil {
  199. return nil, err
  200. }
  201. return out, nil
  202. }
  203. func (c *smartSiteThirdpartyClient) ProvincialPostTeam(ctx context.Context, in *v1.ProvincialPostTeamRequest, opts ...grpc.CallOption) (*v1.ProvincialPostTeamReply, error) {
  204. out := new(v1.ProvincialPostTeamReply)
  205. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostTeam", in, out, opts...)
  206. if err != nil {
  207. return nil, err
  208. }
  209. return out, nil
  210. }
  211. func (c *smartSiteThirdpartyClient) ProvincialPostStaff(ctx context.Context, in *v1.ProvincialPostStaffRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffReply, error) {
  212. out := new(v1.ProvincialPostStaffReply)
  213. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostStaff", in, out, opts...)
  214. if err != nil {
  215. return nil, err
  216. }
  217. return out, nil
  218. }
  219. func (c *smartSiteThirdpartyClient) ProvincialPostStaffAttendance(ctx context.Context, in *v1.ProvincialPostStaffAttendanceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffAttendanceReply, error) {
  220. out := new(v1.ProvincialPostStaffAttendanceReply)
  221. err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostStaffAttendance", in, out, opts...)
  222. if err != nil {
  223. return nil, err
  224. }
  225. return out, nil
  226. }
  227. // SmartSiteThirdpartyServer is the server API for SmartSiteThirdparty service.
  228. type SmartSiteThirdpartyServer interface {
  229. GetVcode(context.Context, *v1.GetVcodeRequest) (*v1.GetVcodeReply, error)
  230. // 手机号验证码验证
  231. CheckVcode(context.Context, *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error)
  232. // 发送告警
  233. SendAlarm(context.Context, *v1.SendAlarmRequest) (*v1.SendAlarmReply, error)
  234. SendEmail(context.Context, *v1.SendEmailRequest) (*v1.SendEmailReply, error)
  235. // 发送认证通过
  236. SendThroughVerify(context.Context, *v1.SendThroughVerifyRequest) (*v1.SendThroughVerifyReply, error)
  237. // 实时天气情况
  238. WeatherCondition(context.Context, *v1.WeatherConditionRequest) (*v1.WeatherConditionReply, error)
  239. // 获取实时空气质量
  240. WeatherEnviroment(context.Context, *v1.WeatherEnviromentRequest) (*v1.WeatherEnviromentReply, error)
  241. WeatherForecast15(context.Context, *v1.WeatherForecast15Request) (*v1.WeatherForecast15Reply, error)
  242. // 省厅接口
  243. ProvincialGetProjectCode(context.Context, *v1.ProvincialGetProjectCodeRequest) (*v1.ProvincialGetProjectCodeReply, error)
  244. ProvincialPostProject(context.Context, *v1.ProvincialPostProjectRequest) (*v1.ProvincialPostProjectReply, error)
  245. ProvincialPostDustDevice(context.Context, *v1.ProvincialPostDustDeviceRequest) (*v1.ProvincialPostDustDeviceReply, error)
  246. ProvincialPostDustData(context.Context, *v1.ProvincialPostDustDataRequest) (*v1.ProvincialPostDustDataReply, error)
  247. ProvincialVerifyData(context.Context, *v1.ProvincialVerifyDataRequest) (*v1.ProvincialVerifyDataReply, error)
  248. ProvincialPostTeam(context.Context, *v1.ProvincialPostTeamRequest) (*v1.ProvincialPostTeamReply, error)
  249. ProvincialPostStaff(context.Context, *v1.ProvincialPostStaffRequest) (*v1.ProvincialPostStaffReply, error)
  250. ProvincialPostStaffAttendance(context.Context, *v1.ProvincialPostStaffAttendanceRequest) (*v1.ProvincialPostStaffAttendanceReply, error)
  251. }
  252. // UnimplementedSmartSiteThirdpartyServer can be embedded to have forward compatible implementations.
  253. type UnimplementedSmartSiteThirdpartyServer struct {
  254. }
  255. func (*UnimplementedSmartSiteThirdpartyServer) GetVcode(ctx context.Context, req *v1.GetVcodeRequest) (*v1.GetVcodeReply, error) {
  256. return nil, status.Errorf(codes.Unimplemented, "method GetVcode not implemented")
  257. }
  258. func (*UnimplementedSmartSiteThirdpartyServer) CheckVcode(ctx context.Context, req *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error) {
  259. return nil, status.Errorf(codes.Unimplemented, "method CheckVcode not implemented")
  260. }
  261. func (*UnimplementedSmartSiteThirdpartyServer) SendAlarm(ctx context.Context, req *v1.SendAlarmRequest) (*v1.SendAlarmReply, error) {
  262. return nil, status.Errorf(codes.Unimplemented, "method SendAlarm not implemented")
  263. }
  264. func (*UnimplementedSmartSiteThirdpartyServer) SendEmail(ctx context.Context, req *v1.SendEmailRequest) (*v1.SendEmailReply, error) {
  265. return nil, status.Errorf(codes.Unimplemented, "method SendEmail not implemented")
  266. }
  267. func (*UnimplementedSmartSiteThirdpartyServer) SendThroughVerify(ctx context.Context, req *v1.SendThroughVerifyRequest) (*v1.SendThroughVerifyReply, error) {
  268. return nil, status.Errorf(codes.Unimplemented, "method SendThroughVerify not implemented")
  269. }
  270. func (*UnimplementedSmartSiteThirdpartyServer) WeatherCondition(ctx context.Context, req *v1.WeatherConditionRequest) (*v1.WeatherConditionReply, error) {
  271. return nil, status.Errorf(codes.Unimplemented, "method WeatherCondition not implemented")
  272. }
  273. func (*UnimplementedSmartSiteThirdpartyServer) WeatherEnviroment(ctx context.Context, req *v1.WeatherEnviromentRequest) (*v1.WeatherEnviromentReply, error) {
  274. return nil, status.Errorf(codes.Unimplemented, "method WeatherEnviroment not implemented")
  275. }
  276. func (*UnimplementedSmartSiteThirdpartyServer) WeatherForecast15(ctx context.Context, req *v1.WeatherForecast15Request) (*v1.WeatherForecast15Reply, error) {
  277. return nil, status.Errorf(codes.Unimplemented, "method WeatherForecast15 not implemented")
  278. }
  279. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialGetProjectCode(ctx context.Context, req *v1.ProvincialGetProjectCodeRequest) (*v1.ProvincialGetProjectCodeReply, error) {
  280. return nil, status.Errorf(codes.Unimplemented, "method ProvincialGetProjectCode not implemented")
  281. }
  282. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostProject(ctx context.Context, req *v1.ProvincialPostProjectRequest) (*v1.ProvincialPostProjectReply, error) {
  283. return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostProject not implemented")
  284. }
  285. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostDustDevice(ctx context.Context, req *v1.ProvincialPostDustDeviceRequest) (*v1.ProvincialPostDustDeviceReply, error) {
  286. return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostDustDevice not implemented")
  287. }
  288. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostDustData(ctx context.Context, req *v1.ProvincialPostDustDataRequest) (*v1.ProvincialPostDustDataReply, error) {
  289. return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostDustData not implemented")
  290. }
  291. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialVerifyData(ctx context.Context, req *v1.ProvincialVerifyDataRequest) (*v1.ProvincialVerifyDataReply, error) {
  292. return nil, status.Errorf(codes.Unimplemented, "method ProvincialVerifyData not implemented")
  293. }
  294. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostTeam(ctx context.Context, req *v1.ProvincialPostTeamRequest) (*v1.ProvincialPostTeamReply, error) {
  295. return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostTeam not implemented")
  296. }
  297. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostStaff(ctx context.Context, req *v1.ProvincialPostStaffRequest) (*v1.ProvincialPostStaffReply, error) {
  298. return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostStaff not implemented")
  299. }
  300. func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostStaffAttendance(ctx context.Context, req *v1.ProvincialPostStaffAttendanceRequest) (*v1.ProvincialPostStaffAttendanceReply, error) {
  301. return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostStaffAttendance not implemented")
  302. }
  303. func RegisterSmartSiteThirdpartyServer(s *grpc.Server, srv SmartSiteThirdpartyServer) {
  304. s.RegisterService(&_SmartSiteThirdparty_serviceDesc, srv)
  305. }
  306. func _SmartSiteThirdparty_GetVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  307. in := new(v1.GetVcodeRequest)
  308. if err := dec(in); err != nil {
  309. return nil, err
  310. }
  311. if interceptor == nil {
  312. return srv.(SmartSiteThirdpartyServer).GetVcode(ctx, in)
  313. }
  314. info := &grpc.UnaryServerInfo{
  315. Server: srv,
  316. FullMethod: "/pb.SmartSiteThirdparty/GetVcode",
  317. }
  318. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  319. return srv.(SmartSiteThirdpartyServer).GetVcode(ctx, req.(*v1.GetVcodeRequest))
  320. }
  321. return interceptor(ctx, in, info, handler)
  322. }
  323. func _SmartSiteThirdparty_CheckVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  324. in := new(v1.CheckVcodeRequest)
  325. if err := dec(in); err != nil {
  326. return nil, err
  327. }
  328. if interceptor == nil {
  329. return srv.(SmartSiteThirdpartyServer).CheckVcode(ctx, in)
  330. }
  331. info := &grpc.UnaryServerInfo{
  332. Server: srv,
  333. FullMethod: "/pb.SmartSiteThirdparty/CheckVcode",
  334. }
  335. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  336. return srv.(SmartSiteThirdpartyServer).CheckVcode(ctx, req.(*v1.CheckVcodeRequest))
  337. }
  338. return interceptor(ctx, in, info, handler)
  339. }
  340. func _SmartSiteThirdparty_SendAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  341. in := new(v1.SendAlarmRequest)
  342. if err := dec(in); err != nil {
  343. return nil, err
  344. }
  345. if interceptor == nil {
  346. return srv.(SmartSiteThirdpartyServer).SendAlarm(ctx, in)
  347. }
  348. info := &grpc.UnaryServerInfo{
  349. Server: srv,
  350. FullMethod: "/pb.SmartSiteThirdparty/SendAlarm",
  351. }
  352. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  353. return srv.(SmartSiteThirdpartyServer).SendAlarm(ctx, req.(*v1.SendAlarmRequest))
  354. }
  355. return interceptor(ctx, in, info, handler)
  356. }
  357. func _SmartSiteThirdparty_SendEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  358. in := new(v1.SendEmailRequest)
  359. if err := dec(in); err != nil {
  360. return nil, err
  361. }
  362. if interceptor == nil {
  363. return srv.(SmartSiteThirdpartyServer).SendEmail(ctx, in)
  364. }
  365. info := &grpc.UnaryServerInfo{
  366. Server: srv,
  367. FullMethod: "/pb.SmartSiteThirdparty/SendEmail",
  368. }
  369. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  370. return srv.(SmartSiteThirdpartyServer).SendEmail(ctx, req.(*v1.SendEmailRequest))
  371. }
  372. return interceptor(ctx, in, info, handler)
  373. }
  374. func _SmartSiteThirdparty_SendThroughVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  375. in := new(v1.SendThroughVerifyRequest)
  376. if err := dec(in); err != nil {
  377. return nil, err
  378. }
  379. if interceptor == nil {
  380. return srv.(SmartSiteThirdpartyServer).SendThroughVerify(ctx, in)
  381. }
  382. info := &grpc.UnaryServerInfo{
  383. Server: srv,
  384. FullMethod: "/pb.SmartSiteThirdparty/SendThroughVerify",
  385. }
  386. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  387. return srv.(SmartSiteThirdpartyServer).SendThroughVerify(ctx, req.(*v1.SendThroughVerifyRequest))
  388. }
  389. return interceptor(ctx, in, info, handler)
  390. }
  391. func _SmartSiteThirdparty_WeatherCondition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  392. in := new(v1.WeatherConditionRequest)
  393. if err := dec(in); err != nil {
  394. return nil, err
  395. }
  396. if interceptor == nil {
  397. return srv.(SmartSiteThirdpartyServer).WeatherCondition(ctx, in)
  398. }
  399. info := &grpc.UnaryServerInfo{
  400. Server: srv,
  401. FullMethod: "/pb.SmartSiteThirdparty/WeatherCondition",
  402. }
  403. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  404. return srv.(SmartSiteThirdpartyServer).WeatherCondition(ctx, req.(*v1.WeatherConditionRequest))
  405. }
  406. return interceptor(ctx, in, info, handler)
  407. }
  408. func _SmartSiteThirdparty_WeatherEnviroment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  409. in := new(v1.WeatherEnviromentRequest)
  410. if err := dec(in); err != nil {
  411. return nil, err
  412. }
  413. if interceptor == nil {
  414. return srv.(SmartSiteThirdpartyServer).WeatherEnviroment(ctx, in)
  415. }
  416. info := &grpc.UnaryServerInfo{
  417. Server: srv,
  418. FullMethod: "/pb.SmartSiteThirdparty/WeatherEnviroment",
  419. }
  420. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  421. return srv.(SmartSiteThirdpartyServer).WeatherEnviroment(ctx, req.(*v1.WeatherEnviromentRequest))
  422. }
  423. return interceptor(ctx, in, info, handler)
  424. }
  425. func _SmartSiteThirdparty_WeatherForecast15_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  426. in := new(v1.WeatherForecast15Request)
  427. if err := dec(in); err != nil {
  428. return nil, err
  429. }
  430. if interceptor == nil {
  431. return srv.(SmartSiteThirdpartyServer).WeatherForecast15(ctx, in)
  432. }
  433. info := &grpc.UnaryServerInfo{
  434. Server: srv,
  435. FullMethod: "/pb.SmartSiteThirdparty/WeatherForecast15",
  436. }
  437. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  438. return srv.(SmartSiteThirdpartyServer).WeatherForecast15(ctx, req.(*v1.WeatherForecast15Request))
  439. }
  440. return interceptor(ctx, in, info, handler)
  441. }
  442. func _SmartSiteThirdparty_ProvincialGetProjectCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  443. in := new(v1.ProvincialGetProjectCodeRequest)
  444. if err := dec(in); err != nil {
  445. return nil, err
  446. }
  447. if interceptor == nil {
  448. return srv.(SmartSiteThirdpartyServer).ProvincialGetProjectCode(ctx, in)
  449. }
  450. info := &grpc.UnaryServerInfo{
  451. Server: srv,
  452. FullMethod: "/pb.SmartSiteThirdparty/ProvincialGetProjectCode",
  453. }
  454. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  455. return srv.(SmartSiteThirdpartyServer).ProvincialGetProjectCode(ctx, req.(*v1.ProvincialGetProjectCodeRequest))
  456. }
  457. return interceptor(ctx, in, info, handler)
  458. }
  459. func _SmartSiteThirdparty_ProvincialPostProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  460. in := new(v1.ProvincialPostProjectRequest)
  461. if err := dec(in); err != nil {
  462. return nil, err
  463. }
  464. if interceptor == nil {
  465. return srv.(SmartSiteThirdpartyServer).ProvincialPostProject(ctx, in)
  466. }
  467. info := &grpc.UnaryServerInfo{
  468. Server: srv,
  469. FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostProject",
  470. }
  471. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  472. return srv.(SmartSiteThirdpartyServer).ProvincialPostProject(ctx, req.(*v1.ProvincialPostProjectRequest))
  473. }
  474. return interceptor(ctx, in, info, handler)
  475. }
  476. func _SmartSiteThirdparty_ProvincialPostDustDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  477. in := new(v1.ProvincialPostDustDeviceRequest)
  478. if err := dec(in); err != nil {
  479. return nil, err
  480. }
  481. if interceptor == nil {
  482. return srv.(SmartSiteThirdpartyServer).ProvincialPostDustDevice(ctx, in)
  483. }
  484. info := &grpc.UnaryServerInfo{
  485. Server: srv,
  486. FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostDustDevice",
  487. }
  488. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  489. return srv.(SmartSiteThirdpartyServer).ProvincialPostDustDevice(ctx, req.(*v1.ProvincialPostDustDeviceRequest))
  490. }
  491. return interceptor(ctx, in, info, handler)
  492. }
  493. func _SmartSiteThirdparty_ProvincialPostDustData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  494. in := new(v1.ProvincialPostDustDataRequest)
  495. if err := dec(in); err != nil {
  496. return nil, err
  497. }
  498. if interceptor == nil {
  499. return srv.(SmartSiteThirdpartyServer).ProvincialPostDustData(ctx, in)
  500. }
  501. info := &grpc.UnaryServerInfo{
  502. Server: srv,
  503. FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostDustData",
  504. }
  505. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  506. return srv.(SmartSiteThirdpartyServer).ProvincialPostDustData(ctx, req.(*v1.ProvincialPostDustDataRequest))
  507. }
  508. return interceptor(ctx, in, info, handler)
  509. }
  510. func _SmartSiteThirdparty_ProvincialVerifyData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  511. in := new(v1.ProvincialVerifyDataRequest)
  512. if err := dec(in); err != nil {
  513. return nil, err
  514. }
  515. if interceptor == nil {
  516. return srv.(SmartSiteThirdpartyServer).ProvincialVerifyData(ctx, in)
  517. }
  518. info := &grpc.UnaryServerInfo{
  519. Server: srv,
  520. FullMethod: "/pb.SmartSiteThirdparty/ProvincialVerifyData",
  521. }
  522. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  523. return srv.(SmartSiteThirdpartyServer).ProvincialVerifyData(ctx, req.(*v1.ProvincialVerifyDataRequest))
  524. }
  525. return interceptor(ctx, in, info, handler)
  526. }
  527. func _SmartSiteThirdparty_ProvincialPostTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  528. in := new(v1.ProvincialPostTeamRequest)
  529. if err := dec(in); err != nil {
  530. return nil, err
  531. }
  532. if interceptor == nil {
  533. return srv.(SmartSiteThirdpartyServer).ProvincialPostTeam(ctx, in)
  534. }
  535. info := &grpc.UnaryServerInfo{
  536. Server: srv,
  537. FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostTeam",
  538. }
  539. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  540. return srv.(SmartSiteThirdpartyServer).ProvincialPostTeam(ctx, req.(*v1.ProvincialPostTeamRequest))
  541. }
  542. return interceptor(ctx, in, info, handler)
  543. }
  544. func _SmartSiteThirdparty_ProvincialPostStaff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  545. in := new(v1.ProvincialPostStaffRequest)
  546. if err := dec(in); err != nil {
  547. return nil, err
  548. }
  549. if interceptor == nil {
  550. return srv.(SmartSiteThirdpartyServer).ProvincialPostStaff(ctx, in)
  551. }
  552. info := &grpc.UnaryServerInfo{
  553. Server: srv,
  554. FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostStaff",
  555. }
  556. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  557. return srv.(SmartSiteThirdpartyServer).ProvincialPostStaff(ctx, req.(*v1.ProvincialPostStaffRequest))
  558. }
  559. return interceptor(ctx, in, info, handler)
  560. }
  561. func _SmartSiteThirdparty_ProvincialPostStaffAttendance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  562. in := new(v1.ProvincialPostStaffAttendanceRequest)
  563. if err := dec(in); err != nil {
  564. return nil, err
  565. }
  566. if interceptor == nil {
  567. return srv.(SmartSiteThirdpartyServer).ProvincialPostStaffAttendance(ctx, in)
  568. }
  569. info := &grpc.UnaryServerInfo{
  570. Server: srv,
  571. FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostStaffAttendance",
  572. }
  573. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  574. return srv.(SmartSiteThirdpartyServer).ProvincialPostStaffAttendance(ctx, req.(*v1.ProvincialPostStaffAttendanceRequest))
  575. }
  576. return interceptor(ctx, in, info, handler)
  577. }
  578. var _SmartSiteThirdparty_serviceDesc = grpc.ServiceDesc{
  579. ServiceName: "pb.SmartSiteThirdparty",
  580. HandlerType: (*SmartSiteThirdpartyServer)(nil),
  581. Methods: []grpc.MethodDesc{
  582. {
  583. MethodName: "GetVcode",
  584. Handler: _SmartSiteThirdparty_GetVcode_Handler,
  585. },
  586. {
  587. MethodName: "CheckVcode",
  588. Handler: _SmartSiteThirdparty_CheckVcode_Handler,
  589. },
  590. {
  591. MethodName: "SendAlarm",
  592. Handler: _SmartSiteThirdparty_SendAlarm_Handler,
  593. },
  594. {
  595. MethodName: "SendEmail",
  596. Handler: _SmartSiteThirdparty_SendEmail_Handler,
  597. },
  598. {
  599. MethodName: "SendThroughVerify",
  600. Handler: _SmartSiteThirdparty_SendThroughVerify_Handler,
  601. },
  602. {
  603. MethodName: "WeatherCondition",
  604. Handler: _SmartSiteThirdparty_WeatherCondition_Handler,
  605. },
  606. {
  607. MethodName: "WeatherEnviroment",
  608. Handler: _SmartSiteThirdparty_WeatherEnviroment_Handler,
  609. },
  610. {
  611. MethodName: "WeatherForecast15",
  612. Handler: _SmartSiteThirdparty_WeatherForecast15_Handler,
  613. },
  614. {
  615. MethodName: "ProvincialGetProjectCode",
  616. Handler: _SmartSiteThirdparty_ProvincialGetProjectCode_Handler,
  617. },
  618. {
  619. MethodName: "ProvincialPostProject",
  620. Handler: _SmartSiteThirdparty_ProvincialPostProject_Handler,
  621. },
  622. {
  623. MethodName: "ProvincialPostDustDevice",
  624. Handler: _SmartSiteThirdparty_ProvincialPostDustDevice_Handler,
  625. },
  626. {
  627. MethodName: "ProvincialPostDustData",
  628. Handler: _SmartSiteThirdparty_ProvincialPostDustData_Handler,
  629. },
  630. {
  631. MethodName: "ProvincialVerifyData",
  632. Handler: _SmartSiteThirdparty_ProvincialVerifyData_Handler,
  633. },
  634. {
  635. MethodName: "ProvincialPostTeam",
  636. Handler: _SmartSiteThirdparty_ProvincialPostTeam_Handler,
  637. },
  638. {
  639. MethodName: "ProvincialPostStaff",
  640. Handler: _SmartSiteThirdparty_ProvincialPostStaff_Handler,
  641. },
  642. {
  643. MethodName: "ProvincialPostStaffAttendance",
  644. Handler: _SmartSiteThirdparty_ProvincialPostStaffAttendance_Handler,
  645. },
  646. },
  647. Streams: []grpc.StreamDesc{},
  648. Metadata: "thirdparty_management.proto",
  649. }