123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: thirdparty_management.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb
- import (
- v1 "access-control-monitor/pb/v1"
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- func init() {
- proto.RegisterFile("thirdparty_management.proto", fileDescriptor_f3d34336399aea71)
- }
- var fileDescriptor_f3d34336399aea71 = []byte{
- // 477 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x5b, 0x6f, 0xd3, 0x30,
- 0x14, 0xc7, 0x11, 0x0f, 0x08, 0xfc, 0xc4, 0x9c, 0x0d, 0xb1, 0x76, 0xe5, 0x2a, 0x21, 0x5e, 0xd6,
- 0xa9, 0x5c, 0x84, 0xc4, 0xdb, 0xe8, 0xc6, 0x5e, 0x90, 0xa8, 0xd6, 0x32, 0x10, 0x48, 0xa0, 0x53,
- 0xe7, 0x74, 0x31, 0x24, 0x76, 0x70, 0x4e, 0x23, 0xf5, 0xc3, 0xf1, 0xdd, 0x90, 0xe3, 0xb9, 0x99,
- 0xd3, 0xa4, 0xda, 0xa3, 0xff, 0x97, 0xdf, 0x39, 0x96, 0xa3, 0xb0, 0x3e, 0x25, 0xd2, 0xc4, 0x39,
- 0x18, 0x5a, 0xfd, 0xca, 0x40, 0xc1, 0x25, 0x66, 0xa8, 0x68, 0x98, 0x1b, 0x4d, 0x9a, 0xdf, 0xce,
- 0xe7, 0xbd, 0xa8, 0x1c, 0x1d, 0xd5, 0x19, 0x67, 0xbc, 0xfa, 0xc7, 0x58, 0x34, 0xcd, 0xc0, 0xd0,
- 0x54, 0x12, 0xce, 0xd6, 0x2e, 0x7f, 0xc3, 0xee, 0x9e, 0x21, 0x5d, 0x08, 0x1d, 0x23, 0x8f, 0x86,
- 0xe5, 0x68, 0xe8, 0x4f, 0xe7, 0xf8, 0x77, 0x89, 0x05, 0xf5, 0x76, 0x42, 0x31, 0x4f, 0x57, 0xcf,
- 0x6e, 0xf1, 0xf7, 0x8c, 0x8d, 0x13, 0x14, 0x7f, 0x5c, 0x6f, 0xcf, 0x46, 0xea, 0xb3, 0x6f, 0x46,
- 0x4d, 0xd9, 0x75, 0xdf, 0xb1, 0x7b, 0x53, 0x54, 0xf1, 0x71, 0x0a, 0x26, 0xe3, 0xbb, 0x36, 0xb3,
- 0x3e, 0xfa, 0x26, 0x6f, 0xa8, 0x41, 0xf1, 0x34, 0x03, 0x99, 0xd6, 0xc5, 0xea, 0xb8, 0x51, 0xbc,
- 0x52, 0x5d, 0xf1, 0x33, 0xdb, 0xb1, 0xda, 0x2c, 0x31, 0x7a, 0x79, 0x99, 0x5c, 0xa0, 0x91, 0x8b,
- 0x15, 0x3f, 0xf0, 0xd1, 0x40, 0xf6, 0xa0, 0x5e, 0x87, 0xeb, 0x80, 0x9f, 0xd8, 0xfd, 0xaf, 0x08,
- 0x94, 0xa0, 0x19, 0x6b, 0x15, 0x4b, 0x92, 0x5a, 0xf1, 0xbe, 0x6d, 0x34, 0x55, 0x8f, 0xdb, 0x6f,
- 0x37, 0xd7, 0xeb, 0x5d, 0x59, 0xa7, 0xaa, 0x94, 0x46, 0xdb, 0xe7, 0x74, 0xeb, 0x6d, 0xc8, 0xc1,
- 0x7a, 0x2d, 0x6e, 0x13, 0xf8, 0x51, 0x1b, 0x14, 0x50, 0xd0, 0xe8, 0x6d, 0x00, 0xac, 0xe5, 0x36,
- 0xe0, 0x75, 0xd7, 0x01, 0x63, 0xf6, 0x70, 0x62, 0x74, 0x29, 0x95, 0x90, 0x90, 0x9e, 0x21, 0x4d,
- 0x8c, 0xfe, 0x8d, 0x82, 0xc6, 0xf6, 0xf1, 0x9f, 0xdb, 0x66, 0x97, 0xeb, 0xf1, 0x4f, 0xb7, 0x87,
- 0xdc, 0x94, 0x1f, 0x6c, 0xaf, 0x8e, 0x4c, 0x74, 0xe1, 0x33, 0xfc, 0x49, 0xd8, 0xbe, 0x66, 0x79,
- 0xfe, 0xa3, 0x2d, 0x89, 0x96, 0x2b, 0x58, 0xff, 0x64, 0x59, 0xd0, 0x09, 0x96, 0x52, 0x6c, 0x5c,
- 0x21, 0x74, 0x3b, 0xae, 0xd0, 0x0c, 0xb9, 0x29, 0x3f, 0xd9, 0x83, 0x96, 0x08, 0x10, 0xf0, 0xae,
- 0x3a, 0x10, 0xf8, 0x09, 0x8f, 0xb7, 0x45, 0x1c, 0xff, 0x1b, 0xdb, 0xad, 0x03, 0xee, 0x9b, 0xac,
- 0xe8, 0x8d, 0x6a, 0xed, 0x78, 0xf6, 0xa0, 0x3b, 0xe0, 0xc8, 0xe7, 0x8c, 0x87, 0xa3, 0x67, 0x08,
- 0x19, 0x1f, 0x6c, 0xae, 0x64, 0x75, 0x4f, 0xed, 0x77, 0xd9, 0x8e, 0xf9, 0x85, 0x45, 0xa1, 0x39,
- 0x25, 0x58, 0x2c, 0x78, 0xcb, 0x63, 0x55, 0x86, 0xa7, 0x1e, 0x74, 0xfa, 0x0e, 0x5b, 0xb0, 0x41,
- 0x8b, 0x7b, 0x4c, 0x84, 0x2a, 0x06, 0x25, 0x90, 0xbf, 0xec, 0x00, 0xd4, 0x11, 0x3f, 0xea, 0xc5,
- 0x0d, 0x92, 0xd5, 0xd0, 0x0f, 0xfd, 0xef, 0xfb, 0x20, 0x04, 0x16, 0xc5, 0xa1, 0xd0, 0x8a, 0x8c,
- 0x4e, 0x0f, 0x33, 0xad, 0x24, 0x69, 0x73, 0x94, 0xcf, 0xe7, 0x77, 0xaa, 0x7f, 0xec, 0xeb, 0xff,
- 0x01, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x5c, 0x0a, 0x8d, 0x9b, 0x05, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConnInterface
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion6
- // SmartSiteThirdpartyClient is the client API for SmartSiteThirdparty service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type SmartSiteThirdpartyClient interface {
- GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error)
- // 手机号验证码验证
- CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error)
- // 发送告警
- SendAlarm(ctx context.Context, in *v1.SendAlarmRequest, opts ...grpc.CallOption) (*v1.SendAlarmReply, error)
- SendEmail(ctx context.Context, in *v1.SendEmailRequest, opts ...grpc.CallOption) (*v1.SendEmailReply, error)
- // 发送认证通过
- SendThroughVerify(ctx context.Context, in *v1.SendThroughVerifyRequest, opts ...grpc.CallOption) (*v1.SendThroughVerifyReply, error)
- // 实时天气情况
- WeatherCondition(ctx context.Context, in *v1.WeatherConditionRequest, opts ...grpc.CallOption) (*v1.WeatherConditionReply, error)
- // 获取实时空气质量
- WeatherEnviroment(ctx context.Context, in *v1.WeatherEnviromentRequest, opts ...grpc.CallOption) (*v1.WeatherEnviromentReply, error)
- WeatherForecast15(ctx context.Context, in *v1.WeatherForecast15Request, opts ...grpc.CallOption) (*v1.WeatherForecast15Reply, error)
- // 省厅接口
- ProvincialGetProjectCode(ctx context.Context, in *v1.ProvincialGetProjectCodeRequest, opts ...grpc.CallOption) (*v1.ProvincialGetProjectCodeReply, error)
- ProvincialPostProject(ctx context.Context, in *v1.ProvincialPostProjectRequest, opts ...grpc.CallOption) (*v1.ProvincialPostProjectReply, error)
- ProvincialPostDustDevice(ctx context.Context, in *v1.ProvincialPostDustDeviceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDeviceReply, error)
- ProvincialPostDustData(ctx context.Context, in *v1.ProvincialPostDustDataRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDataReply, error)
- ProvincialVerifyData(ctx context.Context, in *v1.ProvincialVerifyDataRequest, opts ...grpc.CallOption) (*v1.ProvincialVerifyDataReply, error)
- ProvincialPostTeam(ctx context.Context, in *v1.ProvincialPostTeamRequest, opts ...grpc.CallOption) (*v1.ProvincialPostTeamReply, error)
- ProvincialPostStaff(ctx context.Context, in *v1.ProvincialPostStaffRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffReply, error)
- ProvincialPostStaffAttendance(ctx context.Context, in *v1.ProvincialPostStaffAttendanceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffAttendanceReply, error)
- }
- type smartSiteThirdpartyClient struct {
- cc grpc.ClientConnInterface
- }
- func NewSmartSiteThirdpartyClient(cc grpc.ClientConnInterface) SmartSiteThirdpartyClient {
- return &smartSiteThirdpartyClient{cc}
- }
- func (c *smartSiteThirdpartyClient) GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error) {
- out := new(v1.GetVcodeReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/GetVcode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error) {
- out := new(v1.CheckVcodeReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/CheckVcode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) SendAlarm(ctx context.Context, in *v1.SendAlarmRequest, opts ...grpc.CallOption) (*v1.SendAlarmReply, error) {
- out := new(v1.SendAlarmReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/SendAlarm", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) SendEmail(ctx context.Context, in *v1.SendEmailRequest, opts ...grpc.CallOption) (*v1.SendEmailReply, error) {
- out := new(v1.SendEmailReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/SendEmail", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) SendThroughVerify(ctx context.Context, in *v1.SendThroughVerifyRequest, opts ...grpc.CallOption) (*v1.SendThroughVerifyReply, error) {
- out := new(v1.SendThroughVerifyReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/SendThroughVerify", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) WeatherCondition(ctx context.Context, in *v1.WeatherConditionRequest, opts ...grpc.CallOption) (*v1.WeatherConditionReply, error) {
- out := new(v1.WeatherConditionReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/WeatherCondition", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) WeatherEnviroment(ctx context.Context, in *v1.WeatherEnviromentRequest, opts ...grpc.CallOption) (*v1.WeatherEnviromentReply, error) {
- out := new(v1.WeatherEnviromentReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/WeatherEnviroment", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) WeatherForecast15(ctx context.Context, in *v1.WeatherForecast15Request, opts ...grpc.CallOption) (*v1.WeatherForecast15Reply, error) {
- out := new(v1.WeatherForecast15Reply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/WeatherForecast15", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialGetProjectCode(ctx context.Context, in *v1.ProvincialGetProjectCodeRequest, opts ...grpc.CallOption) (*v1.ProvincialGetProjectCodeReply, error) {
- out := new(v1.ProvincialGetProjectCodeReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialGetProjectCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialPostProject(ctx context.Context, in *v1.ProvincialPostProjectRequest, opts ...grpc.CallOption) (*v1.ProvincialPostProjectReply, error) {
- out := new(v1.ProvincialPostProjectReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostProject", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialPostDustDevice(ctx context.Context, in *v1.ProvincialPostDustDeviceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDeviceReply, error) {
- out := new(v1.ProvincialPostDustDeviceReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostDustDevice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialPostDustData(ctx context.Context, in *v1.ProvincialPostDustDataRequest, opts ...grpc.CallOption) (*v1.ProvincialPostDustDataReply, error) {
- out := new(v1.ProvincialPostDustDataReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostDustData", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialVerifyData(ctx context.Context, in *v1.ProvincialVerifyDataRequest, opts ...grpc.CallOption) (*v1.ProvincialVerifyDataReply, error) {
- out := new(v1.ProvincialVerifyDataReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialVerifyData", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialPostTeam(ctx context.Context, in *v1.ProvincialPostTeamRequest, opts ...grpc.CallOption) (*v1.ProvincialPostTeamReply, error) {
- out := new(v1.ProvincialPostTeamReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostTeam", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialPostStaff(ctx context.Context, in *v1.ProvincialPostStaffRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffReply, error) {
- out := new(v1.ProvincialPostStaffReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostStaff", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteThirdpartyClient) ProvincialPostStaffAttendance(ctx context.Context, in *v1.ProvincialPostStaffAttendanceRequest, opts ...grpc.CallOption) (*v1.ProvincialPostStaffAttendanceReply, error) {
- out := new(v1.ProvincialPostStaffAttendanceReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteThirdparty/ProvincialPostStaffAttendance", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // SmartSiteThirdpartyServer is the server API for SmartSiteThirdparty service.
- type SmartSiteThirdpartyServer interface {
- GetVcode(context.Context, *v1.GetVcodeRequest) (*v1.GetVcodeReply, error)
- // 手机号验证码验证
- CheckVcode(context.Context, *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error)
- // 发送告警
- SendAlarm(context.Context, *v1.SendAlarmRequest) (*v1.SendAlarmReply, error)
- SendEmail(context.Context, *v1.SendEmailRequest) (*v1.SendEmailReply, error)
- // 发送认证通过
- SendThroughVerify(context.Context, *v1.SendThroughVerifyRequest) (*v1.SendThroughVerifyReply, error)
- // 实时天气情况
- WeatherCondition(context.Context, *v1.WeatherConditionRequest) (*v1.WeatherConditionReply, error)
- // 获取实时空气质量
- WeatherEnviroment(context.Context, *v1.WeatherEnviromentRequest) (*v1.WeatherEnviromentReply, error)
- WeatherForecast15(context.Context, *v1.WeatherForecast15Request) (*v1.WeatherForecast15Reply, error)
- // 省厅接口
- ProvincialGetProjectCode(context.Context, *v1.ProvincialGetProjectCodeRequest) (*v1.ProvincialGetProjectCodeReply, error)
- ProvincialPostProject(context.Context, *v1.ProvincialPostProjectRequest) (*v1.ProvincialPostProjectReply, error)
- ProvincialPostDustDevice(context.Context, *v1.ProvincialPostDustDeviceRequest) (*v1.ProvincialPostDustDeviceReply, error)
- ProvincialPostDustData(context.Context, *v1.ProvincialPostDustDataRequest) (*v1.ProvincialPostDustDataReply, error)
- ProvincialVerifyData(context.Context, *v1.ProvincialVerifyDataRequest) (*v1.ProvincialVerifyDataReply, error)
- ProvincialPostTeam(context.Context, *v1.ProvincialPostTeamRequest) (*v1.ProvincialPostTeamReply, error)
- ProvincialPostStaff(context.Context, *v1.ProvincialPostStaffRequest) (*v1.ProvincialPostStaffReply, error)
- ProvincialPostStaffAttendance(context.Context, *v1.ProvincialPostStaffAttendanceRequest) (*v1.ProvincialPostStaffAttendanceReply, error)
- }
- // UnimplementedSmartSiteThirdpartyServer can be embedded to have forward compatible implementations.
- type UnimplementedSmartSiteThirdpartyServer struct {
- }
- func (*UnimplementedSmartSiteThirdpartyServer) GetVcode(ctx context.Context, req *v1.GetVcodeRequest) (*v1.GetVcodeReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetVcode not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) CheckVcode(ctx context.Context, req *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CheckVcode not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) SendAlarm(ctx context.Context, req *v1.SendAlarmRequest) (*v1.SendAlarmReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendAlarm not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) SendEmail(ctx context.Context, req *v1.SendEmailRequest) (*v1.SendEmailReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendEmail not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) SendThroughVerify(ctx context.Context, req *v1.SendThroughVerifyRequest) (*v1.SendThroughVerifyReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendThroughVerify not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) WeatherCondition(ctx context.Context, req *v1.WeatherConditionRequest) (*v1.WeatherConditionReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method WeatherCondition not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) WeatherEnviroment(ctx context.Context, req *v1.WeatherEnviromentRequest) (*v1.WeatherEnviromentReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method WeatherEnviroment not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) WeatherForecast15(ctx context.Context, req *v1.WeatherForecast15Request) (*v1.WeatherForecast15Reply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method WeatherForecast15 not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialGetProjectCode(ctx context.Context, req *v1.ProvincialGetProjectCodeRequest) (*v1.ProvincialGetProjectCodeReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialGetProjectCode not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostProject(ctx context.Context, req *v1.ProvincialPostProjectRequest) (*v1.ProvincialPostProjectReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostProject not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostDustDevice(ctx context.Context, req *v1.ProvincialPostDustDeviceRequest) (*v1.ProvincialPostDustDeviceReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostDustDevice not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostDustData(ctx context.Context, req *v1.ProvincialPostDustDataRequest) (*v1.ProvincialPostDustDataReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostDustData not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialVerifyData(ctx context.Context, req *v1.ProvincialVerifyDataRequest) (*v1.ProvincialVerifyDataReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialVerifyData not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostTeam(ctx context.Context, req *v1.ProvincialPostTeamRequest) (*v1.ProvincialPostTeamReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostTeam not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostStaff(ctx context.Context, req *v1.ProvincialPostStaffRequest) (*v1.ProvincialPostStaffReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostStaff not implemented")
- }
- func (*UnimplementedSmartSiteThirdpartyServer) ProvincialPostStaffAttendance(ctx context.Context, req *v1.ProvincialPostStaffAttendanceRequest) (*v1.ProvincialPostStaffAttendanceReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProvincialPostStaffAttendance not implemented")
- }
- func RegisterSmartSiteThirdpartyServer(s *grpc.Server, srv SmartSiteThirdpartyServer) {
- s.RegisterService(&_SmartSiteThirdparty_serviceDesc, srv)
- }
- func _SmartSiteThirdparty_GetVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.GetVcodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).GetVcode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/GetVcode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).GetVcode(ctx, req.(*v1.GetVcodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_CheckVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.CheckVcodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).CheckVcode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/CheckVcode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).CheckVcode(ctx, req.(*v1.CheckVcodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_SendAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.SendAlarmRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).SendAlarm(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/SendAlarm",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).SendAlarm(ctx, req.(*v1.SendAlarmRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_SendEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.SendEmailRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).SendEmail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/SendEmail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).SendEmail(ctx, req.(*v1.SendEmailRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_SendThroughVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.SendThroughVerifyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).SendThroughVerify(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/SendThroughVerify",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).SendThroughVerify(ctx, req.(*v1.SendThroughVerifyRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_WeatherCondition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.WeatherConditionRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).WeatherCondition(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/WeatherCondition",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).WeatherCondition(ctx, req.(*v1.WeatherConditionRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_WeatherEnviroment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.WeatherEnviromentRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).WeatherEnviroment(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/WeatherEnviroment",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).WeatherEnviroment(ctx, req.(*v1.WeatherEnviromentRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_WeatherForecast15_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.WeatherForecast15Request)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).WeatherForecast15(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/WeatherForecast15",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).WeatherForecast15(ctx, req.(*v1.WeatherForecast15Request))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialGetProjectCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialGetProjectCodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialGetProjectCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialGetProjectCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialGetProjectCode(ctx, req.(*v1.ProvincialGetProjectCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialPostProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialPostProjectRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostProject(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostProject",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostProject(ctx, req.(*v1.ProvincialPostProjectRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialPostDustDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialPostDustDeviceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostDustDevice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostDustDevice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostDustDevice(ctx, req.(*v1.ProvincialPostDustDeviceRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialPostDustData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialPostDustDataRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostDustData(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostDustData",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostDustData(ctx, req.(*v1.ProvincialPostDustDataRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialVerifyData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialVerifyDataRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialVerifyData(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialVerifyData",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialVerifyData(ctx, req.(*v1.ProvincialVerifyDataRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialPostTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialPostTeamRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostTeam(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostTeam",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostTeam(ctx, req.(*v1.ProvincialPostTeamRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialPostStaff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialPostStaffRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostStaff(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostStaff",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostStaff(ctx, req.(*v1.ProvincialPostStaffRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteThirdparty_ProvincialPostStaffAttendance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProvincialPostStaffAttendanceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostStaffAttendance(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteThirdparty/ProvincialPostStaffAttendance",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteThirdpartyServer).ProvincialPostStaffAttendance(ctx, req.(*v1.ProvincialPostStaffAttendanceRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _SmartSiteThirdparty_serviceDesc = grpc.ServiceDesc{
- ServiceName: "pb.SmartSiteThirdparty",
- HandlerType: (*SmartSiteThirdpartyServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "GetVcode",
- Handler: _SmartSiteThirdparty_GetVcode_Handler,
- },
- {
- MethodName: "CheckVcode",
- Handler: _SmartSiteThirdparty_CheckVcode_Handler,
- },
- {
- MethodName: "SendAlarm",
- Handler: _SmartSiteThirdparty_SendAlarm_Handler,
- },
- {
- MethodName: "SendEmail",
- Handler: _SmartSiteThirdparty_SendEmail_Handler,
- },
- {
- MethodName: "SendThroughVerify",
- Handler: _SmartSiteThirdparty_SendThroughVerify_Handler,
- },
- {
- MethodName: "WeatherCondition",
- Handler: _SmartSiteThirdparty_WeatherCondition_Handler,
- },
- {
- MethodName: "WeatherEnviroment",
- Handler: _SmartSiteThirdparty_WeatherEnviroment_Handler,
- },
- {
- MethodName: "WeatherForecast15",
- Handler: _SmartSiteThirdparty_WeatherForecast15_Handler,
- },
- {
- MethodName: "ProvincialGetProjectCode",
- Handler: _SmartSiteThirdparty_ProvincialGetProjectCode_Handler,
- },
- {
- MethodName: "ProvincialPostProject",
- Handler: _SmartSiteThirdparty_ProvincialPostProject_Handler,
- },
- {
- MethodName: "ProvincialPostDustDevice",
- Handler: _SmartSiteThirdparty_ProvincialPostDustDevice_Handler,
- },
- {
- MethodName: "ProvincialPostDustData",
- Handler: _SmartSiteThirdparty_ProvincialPostDustData_Handler,
- },
- {
- MethodName: "ProvincialVerifyData",
- Handler: _SmartSiteThirdparty_ProvincialVerifyData_Handler,
- },
- {
- MethodName: "ProvincialPostTeam",
- Handler: _SmartSiteThirdparty_ProvincialPostTeam_Handler,
- },
- {
- MethodName: "ProvincialPostStaff",
- Handler: _SmartSiteThirdparty_ProvincialPostStaff_Handler,
- },
- {
- MethodName: "ProvincialPostStaffAttendance",
- Handler: _SmartSiteThirdparty_ProvincialPostStaffAttendance_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "thirdparty_management.proto",
- }
|