// Code generated by protoc-gen-go. DO NOT EDIT. // source: enterprise_management.proto // package声明符,用来防止不同的消息类型有命名冲突 package pb import ( 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" v1 "smart-enterprise-management/pb/v1" ) // 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("enterprise_management.proto", fileDescriptor_885de2346b917992) } var fileDescriptor_885de2346b917992 = []byte{ // 604 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x95, 0x6b, 0x8b, 0x13, 0x3f, 0x14, 0xc6, 0xff, 0xfc, 0x41, 0x59, 0xa3, 0x7b, 0x4b, 0xf7, 0xe6, 0xb8, 0xde, 0x5f, 0xca, 0x6e, 0xa9, 0x2e, 0x08, 0x82, 0x60, 0x6d, 0xbb, 0xb0, 0xb0, 0x60, 0x69, 0x5d, 0x11, 0xdf, 0xc8, 0xb4, 0x73, 0x6c, 0x23, 0xd3, 0x4c, 0x4c, 0xd2, 0x91, 0x7e, 0x11, 0x3f, 0xaf, 0x4c, 0x4e, 0x73, 0x9b, 0xce, 0xfa, 0x6e, 0xf2, 0x7b, 0xce, 0xf3, 0xc0, 0x9c, 0x9c, 0x24, 0xe4, 0x11, 0x70, 0x0d, 0x52, 0x48, 0xa6, 0xe0, 0xfb, 0x22, 0xe5, 0xe9, 0x0c, 0x16, 0xc0, 0xf5, 0xb9, 0x90, 0x85, 0x2e, 0xe8, 0xff, 0x62, 0x92, 0xb4, 0xca, 0x4e, 0xdb, 0xd7, 0xa0, 0x90, 0xec, 0x95, 0x9d, 0xb6, 0x90, 0xc5, 0x4f, 0x98, 0xae, 0x4b, 0x93, 0xdd, 0xb2, 0xd3, 0xce, 0xa0, 0x64, 0xd3, 0x75, 0xc9, 0xeb, 0x3f, 0xdb, 0xa4, 0x35, 0x5e, 0xa4, 0x52, 0x8f, 0x99, 0x86, 0x81, 0x0b, 0xa0, 0x17, 0x64, 0x6b, 0x04, 0x33, 0xa6, 0x34, 0x48, 0xda, 0x3a, 0x2f, 0x3b, 0xe7, 0x76, 0x35, 0x82, 0x5f, 0x4b, 0x50, 0x3a, 0xd9, 0x8f, 0xa1, 0xc8, 0x57, 0x2f, 0xfe, 0xa3, 0xaf, 0xc8, 0x9d, 0xeb, 0x62, 0xc6, 0x38, 0xdd, 0xab, 0x54, 0xf3, 0x69, 0xeb, 0x77, 0x02, 0x82, 0xc5, 0x1f, 0xc8, 0x83, 0xc1, 0x22, 0x65, 0xf9, 0x50, 0x82, 0x48, 0x25, 0xd0, 0xe3, 0xaa, 0x22, 0x24, 0xd6, 0x7a, 0xb8, 0x29, 0x60, 0xc2, 0x7b, 0x72, 0xdf, 0xe0, 0x1b, 0x91, 0xa5, 0x1a, 0xe8, 0x91, 0xab, 0x43, 0x60, 0xfd, 0x07, 0x1b, 0xdc, 0xd9, 0x87, 0xf3, 0x82, 0x43, 0x68, 0x0f, 0x40, 0x64, 0x8f, 0x38, 0xda, 0x2f, 0xc8, 0xd6, 0x8d, 0x02, 0x79, 0xc5, 0x7f, 0x14, 0xd8, 0x22, 0xbb, 0x8a, 0x5a, 0xe4, 0x21, 0xba, 0xde, 0x92, 0x7b, 0xc3, 0xe5, 0x24, 0x67, 0x53, 0xa6, 0x57, 0x14, 0xa3, 0xed, 0xd2, 0xfa, 0x68, 0x8d, 0x3a, 0xe3, 0x18, 0xf4, 0x30, 0x55, 0xea, 0x77, 0x86, 0x46, 0xb7, 0x8c, 0x8c, 0x01, 0x45, 0xe3, 0x3b, 0x42, 0x86, 0x38, 0x04, 0xdd, 0x2c, 0xa3, 0xa6, 0x99, 0x7e, 0x6d, 0xad, 0xad, 0x3a, 0xf6, 0x2d, 0x42, 0x78, 0xcd, 0x94, 0x5e, 0xb7, 0xc8, 0x83, 0xb8, 0x45, 0x21, 0x47, 0xfb, 0x15, 0xd9, 0x5d, 0xd3, 0xaa, 0x0d, 0x26, 0x22, 0x09, 0x4a, 0x2d, 0xb4, 0x31, 0x27, 0x8d, 0x1a, 0x46, 0x7d, 0x22, 0xfb, 0x03, 0x9e, 0x4e, 0x72, 0x08, 0x74, 0x7a, 0x6a, 0x76, 0xb6, 0x8e, 0x6d, 0x5c, 0x72, 0x8b, 0x8a, 0x81, 0x5f, 0xc9, 0x41, 0xaf, 0x58, 0x88, 0x94, 0xaf, 0xba, 0x42, 0xc8, 0xa2, 0x84, 0xb1, 0x4e, 0xf5, 0x52, 0xd1, 0xa7, 0x95, 0xab, 0x49, 0xb1, 0xb1, 0x8f, 0x6f, 0x2f, 0x70, 0x83, 0xdd, 0x9b, 0xa7, 0x7c, 0x06, 0xeb, 0xcd, 0x32, 0x83, 0x1d, 0x92, 0x68, 0xb0, 0x63, 0x01, 0x13, 0x2e, 0xc9, 0x4e, 0xdf, 0x9c, 0xd2, 0xcf, 0x2b, 0x01, 0xa6, 0x6d, 0x0f, 0xab, 0xd2, 0x98, 0xd9, 0x94, 0xe3, 0x26, 0xc9, 0x35, 0x0d, 0x85, 0x6e, 0x9e, 0xbb, 0xa8, 0x53, 0x5f, 0x1f, 0xe0, 0xa8, 0x69, 0x0d, 0xaa, 0x9b, 0x25, 0xd4, 0x4c, 0xd2, 0xa1, 0xaf, 0x0d, 0x23, 0x5a, 0x75, 0xec, 0x66, 0xa9, 0xfa, 0x57, 0x0e, 0xb9, 0x9f, 0xa5, 0x00, 0x44, 0xb3, 0x14, 0x71, 0x37, 0xff, 0x5f, 0x20, 0x63, 0x85, 0x31, 0x9b, 0x22, 0xb7, 0x8c, 0xe6, 0x3f, 0xa0, 0x68, 0xec, 0x91, 0x6d, 0xbb, 0xfd, 0x78, 0xd0, 0xa3, 0x31, 0x8b, 0x8e, 0xfa, 0x51, 0x83, 0x52, 0x9f, 0xe4, 0x3e, 0x53, 0x5a, 0xb2, 0x69, 0x3c, 0xc9, 0x16, 0x36, 0x4d, 0xb2, 0xd7, 0x30, 0x2a, 0x23, 0x27, 0xc1, 0x38, 0x9a, 0x8d, 0x2f, 0x64, 0x36, 0x02, 0x05, 0x9a, 0xbe, 0xac, 0x9d, 0x80, 0x48, 0xb5, 0xe1, 0xcf, 0xff, 0x5d, 0x54, 0x3f, 0xb9, 0xe6, 0x82, 0x0a, 0xff, 0x2c, 0xbc, 0xa3, 0x0e, 0x36, 0x78, 0xfd, 0xd2, 0xe8, 0x43, 0x1e, 0x5d, 0x1a, 0x7d, 0xc8, 0x9b, 0x2e, 0x0d, 0x83, 0xeb, 0x0d, 0xbf, 0x64, 0x9c, 0xa9, 0x79, 0xd4, 0x70, 0x44, 0x4d, 0x0d, 0xb7, 0x8a, 0x09, 0xf9, 0xf8, 0xec, 0xdb, 0x13, 0x55, 0xbd, 0x4b, 0x67, 0xfe, 0x55, 0x3b, 0xf3, 0x2f, 0x5f, 0x5b, 0x4c, 0x26, 0x77, 0xcd, 0x0b, 0xf6, 0xe6, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x96, 0x1b, 0x8c, 0xb3, 0x1c, 0x07, 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 // SmartSiteEnterpriseClient is the client API for SmartSiteEnterprise service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type SmartSiteEnterpriseClient interface { // 企业注册需政府审批 Register(ctx context.Context, in *v1.RegisterRequest, opts ...grpc.CallOption) (*v1.RegisterReply, error) // 企业登录 Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error) EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error) PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) // 公示列表 Publicity(ctx context.Context, in *v1.PublicityRequest, opts ...grpc.CallOption) (*v1.PublicityReply, error) // 企业忘记密码设置密码 SetPasswd(ctx context.Context, in *v1.SetPasswdRequest, opts ...grpc.CallOption) (*v1.SetPasswdReply, error) // 添加工程 ProjectAdd(ctx context.Context, in *v1.ProjectAddRequest, opts ...grpc.CallOption) (*v1.ProjectAddReply, error) // 项目列表 ProjectList(ctx context.Context, in *v1.ProjectListRequest, opts ...grpc.CallOption) (*v1.ProjectListReply, error) // 项目账号列表 ProjectUserList(ctx context.Context, in *v1.ProjectUserListRequest, opts ...grpc.CallOption) (*v1.ProjectUserListReply, error) // 项目账号启停用 EnableProjectUser(ctx context.Context, in *v1.EnableProjectUserRequest, opts ...grpc.CallOption) (*v1.EnableProjectUserReply, error) // 企业注册状态 CompanyApproveStatus(ctx context.Context, in *v1.CompanyApproveStatusRequest, opts ...grpc.CallOption) (*v1.CompanyApproveStatusReply, error) // 企业修改密码 ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) // 设备类型列表 DeviceTypeList(ctx context.Context, in *v1.DeviceTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceTypeListReply, error) // 平台支持的设备类型 DeviceAllTypeList(ctx context.Context, in *v1.DeviceAllTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceAllTypeListReply, error) // 设备列表 DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) // 视频通道列表 ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error) // 视频设备列表 VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error) // 更新项目 ProjectUpdate(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectUpdateReply, error) // 获取省市区 ProjectDistrict(ctx context.Context, in *v1.ProjectDistrictRequest, opts ...grpc.CallOption) (*v1.ProjectDistrictReply, error) // 重置项目账号密码 ProjectUserPasswordReset(ctx context.Context, in *v1.ProjectUserPasswordResetRequest, opts ...grpc.CallOption) (*v1.ProjectUserPasswordResetReply, error) ProjectInfo(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoReply, error) ProjectDel(ctx context.Context, in *v1.ProjectDelRequest, opts ...grpc.CallOption) (*v1.ProjectDelReply, error) ProjectFinish(ctx context.Context, in *v1.ProjectFinishRequest, opts ...grpc.CallOption) (*v1.ProjectFinishReply, error) } type smartSiteEnterpriseClient struct { cc grpc.ClientConnInterface } func NewSmartSiteEnterpriseClient(cc grpc.ClientConnInterface) SmartSiteEnterpriseClient { return &smartSiteEnterpriseClient{cc} } func (c *smartSiteEnterpriseClient) Register(ctx context.Context, in *v1.RegisterRequest, opts ...grpc.CallOption) (*v1.RegisterReply, error) { out := new(v1.RegisterReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/Register", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) { out := new(v1.LoginReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/Login", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error) { out := new(v1.EmailPrepareReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/EmailPrepare", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error) { out := new(v1.EmailUpdateReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/EmailUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error) { out := new(v1.PhoneUpdateReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/PhoneUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) { out := new(v1.UserInfoReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/UserInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) Publicity(ctx context.Context, in *v1.PublicityRequest, opts ...grpc.CallOption) (*v1.PublicityReply, error) { out := new(v1.PublicityReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/Publicity", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) SetPasswd(ctx context.Context, in *v1.SetPasswdRequest, opts ...grpc.CallOption) (*v1.SetPasswdReply, error) { out := new(v1.SetPasswdReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/SetPasswd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectAdd(ctx context.Context, in *v1.ProjectAddRequest, opts ...grpc.CallOption) (*v1.ProjectAddReply, error) { out := new(v1.ProjectAddReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectList(ctx context.Context, in *v1.ProjectListRequest, opts ...grpc.CallOption) (*v1.ProjectListReply, error) { out := new(v1.ProjectListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectUserList(ctx context.Context, in *v1.ProjectUserListRequest, opts ...grpc.CallOption) (*v1.ProjectUserListReply, error) { out := new(v1.ProjectUserListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectUserList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) EnableProjectUser(ctx context.Context, in *v1.EnableProjectUserRequest, opts ...grpc.CallOption) (*v1.EnableProjectUserReply, error) { out := new(v1.EnableProjectUserReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/EnableProjectUser", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) CompanyApproveStatus(ctx context.Context, in *v1.CompanyApproveStatusRequest, opts ...grpc.CallOption) (*v1.CompanyApproveStatusReply, error) { out := new(v1.CompanyApproveStatusReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/CompanyApproveStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) { out := new(v1.ChangePasswdReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ChangePasswd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) DeviceTypeList(ctx context.Context, in *v1.DeviceTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceTypeListReply, error) { out := new(v1.DeviceTypeListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/DeviceTypeList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) DeviceAllTypeList(ctx context.Context, in *v1.DeviceAllTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceAllTypeListReply, error) { out := new(v1.DeviceAllTypeListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/DeviceAllTypeList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) { out := new(v1.DeviceListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/DeviceList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error) { out := new(v1.ChannelListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ChannelList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error) { out := new(v1.VedioListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/VedioList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectUpdate(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectUpdateReply, error) { out := new(v1.ProjectUpdateReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectDistrict(ctx context.Context, in *v1.ProjectDistrictRequest, opts ...grpc.CallOption) (*v1.ProjectDistrictReply, error) { out := new(v1.ProjectDistrictReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectDistrict", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectUserPasswordReset(ctx context.Context, in *v1.ProjectUserPasswordResetRequest, opts ...grpc.CallOption) (*v1.ProjectUserPasswordResetReply, error) { out := new(v1.ProjectUserPasswordResetReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectUserPasswordReset", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectInfo(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoReply, error) { out := new(v1.ProjectInfoReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectDel(ctx context.Context, in *v1.ProjectDelRequest, opts ...grpc.CallOption) (*v1.ProjectDelReply, error) { out := new(v1.ProjectDelReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteEnterpriseClient) ProjectFinish(ctx context.Context, in *v1.ProjectFinishRequest, opts ...grpc.CallOption) (*v1.ProjectFinishReply, error) { out := new(v1.ProjectFinishReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteEnterprise/ProjectFinish", in, out, opts...) if err != nil { return nil, err } return out, nil } // SmartSiteEnterpriseServer is the server API for SmartSiteEnterprise service. type SmartSiteEnterpriseServer interface { // 企业注册需政府审批 Register(context.Context, *v1.RegisterRequest) (*v1.RegisterReply, error) // 企业登录 Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error) EmailPrepare(context.Context, *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error) EmailUpdate(context.Context, *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error) PhoneUpdate(context.Context, *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error) UserInfo(context.Context, *v1.UserInfoRequest) (*v1.UserInfoReply, error) // 公示列表 Publicity(context.Context, *v1.PublicityRequest) (*v1.PublicityReply, error) // 企业忘记密码设置密码 SetPasswd(context.Context, *v1.SetPasswdRequest) (*v1.SetPasswdReply, error) // 添加工程 ProjectAdd(context.Context, *v1.ProjectAddRequest) (*v1.ProjectAddReply, error) // 项目列表 ProjectList(context.Context, *v1.ProjectListRequest) (*v1.ProjectListReply, error) // 项目账号列表 ProjectUserList(context.Context, *v1.ProjectUserListRequest) (*v1.ProjectUserListReply, error) // 项目账号启停用 EnableProjectUser(context.Context, *v1.EnableProjectUserRequest) (*v1.EnableProjectUserReply, error) // 企业注册状态 CompanyApproveStatus(context.Context, *v1.CompanyApproveStatusRequest) (*v1.CompanyApproveStatusReply, error) // 企业修改密码 ChangePasswd(context.Context, *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) // 设备类型列表 DeviceTypeList(context.Context, *v1.DeviceTypeListRequest) (*v1.DeviceTypeListReply, error) // 平台支持的设备类型 DeviceAllTypeList(context.Context, *v1.DeviceAllTypeListRequest) (*v1.DeviceAllTypeListReply, error) // 设备列表 DeviceList(context.Context, *v1.DeviceListRequest) (*v1.DeviceListReply, error) // 视频通道列表 ChannelList(context.Context, *v1.ChannelListRequest) (*v1.ChannelListReply, error) // 视频设备列表 VedioList(context.Context, *v1.VedioListRequest) (*v1.VedioListReply, error) // 更新项目 ProjectUpdate(context.Context, *v1.ProjectUpdateRequest) (*v1.ProjectUpdateReply, error) // 获取省市区 ProjectDistrict(context.Context, *v1.ProjectDistrictRequest) (*v1.ProjectDistrictReply, error) // 重置项目账号密码 ProjectUserPasswordReset(context.Context, *v1.ProjectUserPasswordResetRequest) (*v1.ProjectUserPasswordResetReply, error) ProjectInfo(context.Context, *v1.ProjectInfoRequest) (*v1.ProjectInfoReply, error) ProjectDel(context.Context, *v1.ProjectDelRequest) (*v1.ProjectDelReply, error) ProjectFinish(context.Context, *v1.ProjectFinishRequest) (*v1.ProjectFinishReply, error) } // UnimplementedSmartSiteEnterpriseServer can be embedded to have forward compatible implementations. type UnimplementedSmartSiteEnterpriseServer struct { } func (*UnimplementedSmartSiteEnterpriseServer) Register(ctx context.Context, req *v1.RegisterRequest) (*v1.RegisterReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Register not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Login not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) EmailPrepare(ctx context.Context, req *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error) { return nil, status.Errorf(codes.Unimplemented, "method EmailPrepare not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) EmailUpdate(ctx context.Context, req *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method EmailUpdate not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) PhoneUpdate(ctx context.Context, req *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PhoneUpdate not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) Publicity(ctx context.Context, req *v1.PublicityRequest) (*v1.PublicityReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Publicity not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) SetPasswd(ctx context.Context, req *v1.SetPasswdRequest) (*v1.SetPasswdReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SetPasswd not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectAdd(ctx context.Context, req *v1.ProjectAddRequest) (*v1.ProjectAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectAdd not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectList(ctx context.Context, req *v1.ProjectListRequest) (*v1.ProjectListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectUserList(ctx context.Context, req *v1.ProjectUserListRequest) (*v1.ProjectUserListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectUserList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) EnableProjectUser(ctx context.Context, req *v1.EnableProjectUserRequest) (*v1.EnableProjectUserReply, error) { return nil, status.Errorf(codes.Unimplemented, "method EnableProjectUser not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) CompanyApproveStatus(ctx context.Context, req *v1.CompanyApproveStatusRequest) (*v1.CompanyApproveStatusReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyApproveStatus not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ChangePasswd(ctx context.Context, req *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangePasswd not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) DeviceTypeList(ctx context.Context, req *v1.DeviceTypeListRequest) (*v1.DeviceTypeListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceTypeList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) DeviceAllTypeList(ctx context.Context, req *v1.DeviceAllTypeListRequest) (*v1.DeviceAllTypeListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceAllTypeList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) DeviceList(ctx context.Context, req *v1.DeviceListRequest) (*v1.DeviceListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ChannelList(ctx context.Context, req *v1.ChannelListRequest) (*v1.ChannelListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ChannelList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) VedioList(ctx context.Context, req *v1.VedioListRequest) (*v1.VedioListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method VedioList not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectUpdate(ctx context.Context, req *v1.ProjectUpdateRequest) (*v1.ProjectUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectUpdate not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectDistrict(ctx context.Context, req *v1.ProjectDistrictRequest) (*v1.ProjectDistrictReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectDistrict not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectUserPasswordReset(ctx context.Context, req *v1.ProjectUserPasswordResetRequest) (*v1.ProjectUserPasswordResetReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectUserPasswordReset not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectInfo(ctx context.Context, req *v1.ProjectInfoRequest) (*v1.ProjectInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectInfo not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectDel(ctx context.Context, req *v1.ProjectDelRequest) (*v1.ProjectDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectDel not implemented") } func (*UnimplementedSmartSiteEnterpriseServer) ProjectFinish(ctx context.Context, req *v1.ProjectFinishRequest) (*v1.ProjectFinishReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectFinish not implemented") } func RegisterSmartSiteEnterpriseServer(s *grpc.Server, srv SmartSiteEnterpriseServer) { s.RegisterService(&_SmartSiteEnterprise_serviceDesc, srv) } func _SmartSiteEnterprise_Register_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.RegisterRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).Register(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/Register", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).Register(ctx, req.(*v1.RegisterRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.LoginRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).Login(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/Login", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).Login(ctx, req.(*v1.LoginRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_EmailPrepare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.EmailPrepareRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).EmailPrepare(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/EmailPrepare", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).EmailPrepare(ctx, req.(*v1.EmailPrepareRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_EmailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.EmailUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).EmailUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/EmailUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).EmailUpdate(ctx, req.(*v1.EmailUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_PhoneUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PhoneUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).PhoneUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/PhoneUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).PhoneUpdate(ctx, req.(*v1.PhoneUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).UserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/UserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).UserInfo(ctx, req.(*v1.UserInfoRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_Publicity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PublicityRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).Publicity(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/Publicity", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).Publicity(ctx, req.(*v1.PublicityRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_SetPasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.SetPasswdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).SetPasswd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/SetPasswd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).SetPasswd(ctx, req.(*v1.SetPasswdRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectAdd(ctx, req.(*v1.ProjectAddRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectList(ctx, req.(*v1.ProjectListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectUserListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectUserList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectUserList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectUserList(ctx, req.(*v1.ProjectUserListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_EnableProjectUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.EnableProjectUserRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).EnableProjectUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/EnableProjectUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).EnableProjectUser(ctx, req.(*v1.EnableProjectUserRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_CompanyApproveStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyApproveStatusRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).CompanyApproveStatus(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/CompanyApproveStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).CompanyApproveStatus(ctx, req.(*v1.CompanyApproveStatusRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ChangePasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ChangePasswdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ChangePasswd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ChangePasswd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ChangePasswd(ctx, req.(*v1.ChangePasswdRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_DeviceTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceTypeListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).DeviceTypeList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/DeviceTypeList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).DeviceTypeList(ctx, req.(*v1.DeviceTypeListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_DeviceAllTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceAllTypeListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).DeviceAllTypeList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/DeviceAllTypeList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).DeviceAllTypeList(ctx, req.(*v1.DeviceAllTypeListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).DeviceList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/DeviceList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).DeviceList(ctx, req.(*v1.DeviceListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ChannelList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ChannelListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ChannelList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ChannelList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ChannelList(ctx, req.(*v1.ChannelListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_VedioList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.VedioListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).VedioList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/VedioList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).VedioList(ctx, req.(*v1.VedioListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectUpdate(ctx, req.(*v1.ProjectUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectDistrict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectDistrictRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectDistrict(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectDistrict", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectDistrict(ctx, req.(*v1.ProjectDistrictRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectUserPasswordReset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectUserPasswordResetRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectUserPasswordReset(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectUserPasswordReset", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectUserPasswordReset(ctx, req.(*v1.ProjectUserPasswordResetRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectInfo(ctx, req.(*v1.ProjectInfoRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectDel(ctx, req.(*v1.ProjectDelRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteEnterprise_ProjectFinish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectFinishRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteEnterpriseServer).ProjectFinish(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteEnterprise/ProjectFinish", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteEnterpriseServer).ProjectFinish(ctx, req.(*v1.ProjectFinishRequest)) } return interceptor(ctx, in, info, handler) } var _SmartSiteEnterprise_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.SmartSiteEnterprise", HandlerType: (*SmartSiteEnterpriseServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _SmartSiteEnterprise_Register_Handler, }, { MethodName: "Login", Handler: _SmartSiteEnterprise_Login_Handler, }, { MethodName: "EmailPrepare", Handler: _SmartSiteEnterprise_EmailPrepare_Handler, }, { MethodName: "EmailUpdate", Handler: _SmartSiteEnterprise_EmailUpdate_Handler, }, { MethodName: "PhoneUpdate", Handler: _SmartSiteEnterprise_PhoneUpdate_Handler, }, { MethodName: "UserInfo", Handler: _SmartSiteEnterprise_UserInfo_Handler, }, { MethodName: "Publicity", Handler: _SmartSiteEnterprise_Publicity_Handler, }, { MethodName: "SetPasswd", Handler: _SmartSiteEnterprise_SetPasswd_Handler, }, { MethodName: "ProjectAdd", Handler: _SmartSiteEnterprise_ProjectAdd_Handler, }, { MethodName: "ProjectList", Handler: _SmartSiteEnterprise_ProjectList_Handler, }, { MethodName: "ProjectUserList", Handler: _SmartSiteEnterprise_ProjectUserList_Handler, }, { MethodName: "EnableProjectUser", Handler: _SmartSiteEnterprise_EnableProjectUser_Handler, }, { MethodName: "CompanyApproveStatus", Handler: _SmartSiteEnterprise_CompanyApproveStatus_Handler, }, { MethodName: "ChangePasswd", Handler: _SmartSiteEnterprise_ChangePasswd_Handler, }, { MethodName: "DeviceTypeList", Handler: _SmartSiteEnterprise_DeviceTypeList_Handler, }, { MethodName: "DeviceAllTypeList", Handler: _SmartSiteEnterprise_DeviceAllTypeList_Handler, }, { MethodName: "DeviceList", Handler: _SmartSiteEnterprise_DeviceList_Handler, }, { MethodName: "ChannelList", Handler: _SmartSiteEnterprise_ChannelList_Handler, }, { MethodName: "VedioList", Handler: _SmartSiteEnterprise_VedioList_Handler, }, { MethodName: "ProjectUpdate", Handler: _SmartSiteEnterprise_ProjectUpdate_Handler, }, { MethodName: "ProjectDistrict", Handler: _SmartSiteEnterprise_ProjectDistrict_Handler, }, { MethodName: "ProjectUserPasswordReset", Handler: _SmartSiteEnterprise_ProjectUserPasswordReset_Handler, }, { MethodName: "ProjectInfo", Handler: _SmartSiteEnterprise_ProjectInfo_Handler, }, { MethodName: "ProjectDel", Handler: _SmartSiteEnterprise_ProjectDel_Handler, }, { MethodName: "ProjectFinish", Handler: _SmartSiteEnterprise_ProjectFinish_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "enterprise_management.proto", }