// 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-gateway/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{ // 612 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x95, 0x6d, 0x8b, 0x13, 0x31, 0x14, 0x85, 0x45, 0x50, 0xd6, 0xe8, 0xbe, 0xa5, 0xdd, 0x17, 0xc7, 0x15, 0x51, 0x41, 0x04, 0x69, 0x4b, 0x75, 0x41, 0x10, 0x04, 0x6b, 0xdb, 0x85, 0x85, 0x05, 0x4b, 0xeb, 0x8a, 0xf8, 0x45, 0xd2, 0xce, 0xb5, 0x8d, 0x4c, 0x67, 0x62, 0x92, 0xce, 0xd2, 0x3f, 0xe2, 0xef, 0x95, 0xc9, 0x6d, 0x32, 0xc9, 0x74, 0xd6, 0x6f, 0xcd, 0x73, 0xee, 0x39, 0x34, 0x77, 0x6e, 0x12, 0xf2, 0x04, 0x52, 0x0d, 0x52, 0x48, 0xae, 0xe0, 0xe7, 0x92, 0xa5, 0x6c, 0x0e, 0x4b, 0x48, 0x75, 0x5b, 0xc8, 0x4c, 0x67, 0xf4, 0xae, 0x98, 0x46, 0x8d, 0xbc, 0xdb, 0x29, 0x6b, 0x50, 0x88, 0x0e, 0xf2, 0x6e, 0x47, 0xc8, 0xec, 0x37, 0xcc, 0x36, 0xa5, 0xd1, 0x7e, 0xde, 0xed, 0xc4, 0x90, 0xf3, 0xd9, 0xa6, 0xe4, 0xed, 0xdf, 0x5d, 0xd2, 0x98, 0x2c, 0x99, 0xd4, 0x13, 0xae, 0x61, 0xe8, 0x02, 0xe8, 0x39, 0xd9, 0x19, 0xc3, 0x9c, 0x2b, 0x0d, 0x92, 0x36, 0xda, 0x79, 0xb7, 0x6d, 0x57, 0x63, 0xf8, 0xb3, 0x02, 0xa5, 0xa3, 0xc3, 0x10, 0x8a, 0x64, 0xfd, 0xe2, 0x0e, 0xfd, 0x44, 0x1e, 0x0d, 0x97, 0x8c, 0x27, 0x23, 0x09, 0x82, 0x49, 0xa0, 0x27, 0x45, 0x91, 0x4f, 0xac, 0xfb, 0x68, 0x5b, 0xc0, 0x84, 0x8f, 0xe4, 0xa1, 0xc1, 0xd7, 0x22, 0x66, 0x1a, 0xe8, 0xb1, 0xab, 0x43, 0x60, 0xfd, 0xcd, 0x2d, 0xee, 0xec, 0xa3, 0x45, 0x96, 0x82, 0x6f, 0xf7, 0x40, 0x60, 0x0f, 0x38, 0xda, 0xcf, 0xc9, 0xce, 0xb5, 0x02, 0x79, 0x99, 0xfe, 0xca, 0x70, 0xd7, 0x76, 0x15, 0xec, 0xba, 0x84, 0xe8, 0x7a, 0x43, 0xee, 0x5d, 0x65, 0x73, 0x9e, 0xd2, 0x83, 0x42, 0x35, 0x3f, 0x6d, 0xfd, 0x9e, 0x47, 0xb0, 0xf8, 0x3d, 0x79, 0x30, 0x5a, 0x4d, 0x13, 0x3e, 0xe3, 0x7a, 0x4d, 0xf1, 0x7f, 0xd8, 0xa5, 0x35, 0xd1, 0x0a, 0x75, 0xc6, 0x09, 0xe8, 0x11, 0x53, 0xea, 0x26, 0x46, 0xa3, 0x5b, 0x06, 0x46, 0x8f, 0xa2, 0xf1, 0x03, 0x21, 0x23, 0x1c, 0x82, 0x5e, 0x1c, 0x53, 0xd3, 0xf9, 0x72, 0x6d, 0xad, 0x8d, 0x2a, 0x2e, 0xfb, 0x89, 0xf0, 0x8a, 0x2b, 0xbd, 0xe9, 0x67, 0x09, 0xc2, 0x7e, 0xfa, 0x1c, 0xed, 0x97, 0x64, 0x7f, 0x43, 0x8b, 0x9e, 0x99, 0x88, 0xc8, 0x2b, 0xb5, 0xd0, 0xc6, 0x9c, 0xd6, 0x6a, 0x18, 0xf5, 0x85, 0x1c, 0x0e, 0x53, 0x36, 0x4d, 0xc0, 0xd3, 0xe9, 0x99, 0x19, 0x83, 0x2a, 0xb6, 0x71, 0xd1, 0x2d, 0x2a, 0x06, 0x7e, 0x27, 0xcd, 0x7e, 0xb6, 0x14, 0x2c, 0x5d, 0xf7, 0x84, 0x90, 0x59, 0x0e, 0x13, 0xcd, 0xf4, 0x4a, 0xd1, 0x67, 0x85, 0xab, 0x4e, 0xb1, 0xb1, 0x4f, 0x6f, 0x2f, 0x70, 0xa7, 0xa0, 0xbf, 0x60, 0xe9, 0x1c, 0x36, 0x1f, 0xcb, 0x9c, 0x02, 0x9f, 0x04, 0xa7, 0x20, 0x14, 0x30, 0xe1, 0x82, 0xec, 0x0d, 0xcc, 0x29, 0xfd, 0xba, 0x16, 0x60, 0xda, 0xf6, 0xb8, 0x28, 0x0d, 0x99, 0x4d, 0x39, 0xa9, 0x93, 0x5c, 0xd3, 0x50, 0xe8, 0x25, 0x89, 0x8b, 0x3a, 0x2b, 0xeb, 0x3d, 0x1c, 0x34, 0xad, 0x46, 0x75, 0xb3, 0x84, 0x9a, 0x49, 0x3a, 0x2a, 0x6b, 0xfd, 0x88, 0x46, 0x15, 0xbb, 0x59, 0x2a, 0xf6, 0x9a, 0x42, 0x52, 0xce, 0x92, 0x07, 0x82, 0x59, 0x0a, 0xb8, 0x9b, 0xff, 0x6f, 0x10, 0xf3, 0xcc, 0x98, 0x4d, 0x91, 0x5b, 0x06, 0xf3, 0xef, 0x51, 0x34, 0xf6, 0xc9, 0xae, 0xfd, 0xfc, 0x78, 0x2b, 0x04, 0x63, 0x16, 0xdc, 0x0b, 0xc7, 0x35, 0x4a, 0x75, 0x92, 0x07, 0x5c, 0x69, 0xc9, 0x67, 0xe1, 0x24, 0x5b, 0x58, 0x37, 0xc9, 0xa5, 0x86, 0x51, 0x31, 0x39, 0xf5, 0xc6, 0xd1, 0x7c, 0xf8, 0x4c, 0xc6, 0x63, 0x50, 0xa0, 0xe9, 0xcb, 0xca, 0x09, 0x08, 0x54, 0x1b, 0xfe, 0xfc, 0xff, 0x45, 0xd5, 0x93, 0x6b, 0x6e, 0x33, 0x7f, 0x67, 0xfe, 0x85, 0xd6, 0xdc, 0xe2, 0xd5, 0x4b, 0x63, 0x00, 0x49, 0x70, 0x69, 0x0c, 0x20, 0xa9, 0xbb, 0x34, 0x0c, 0xae, 0x36, 0xfc, 0x82, 0xa7, 0x5c, 0x2d, 0x82, 0x86, 0x23, 0xaa, 0x6b, 0xb8, 0x55, 0x4c, 0xc8, 0xe7, 0xd7, 0x3f, 0x5e, 0xa9, 0xe2, 0x5d, 0x6a, 0x95, 0xaf, 0x5a, 0xab, 0x7c, 0xf9, 0x5a, 0x73, 0xa6, 0xe1, 0x86, 0xad, 0x3b, 0x62, 0x3a, 0xbd, 0x6f, 0x5e, 0xb2, 0x77, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x37, 0x98, 0xef, 0xcf, 0x24, 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) 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) // 企业登录 Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, 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) 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) 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) 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) 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) // 企业登录 Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, 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) 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) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Login 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_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_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_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: "EmailPrepare", Handler: _SmartSiteEnterprise_EmailPrepare_Handler, }, { MethodName: "EmailUpdate", Handler: _SmartSiteEnterprise_EmailUpdate_Handler, }, { MethodName: "PhoneUpdate", Handler: _SmartSiteEnterprise_PhoneUpdate_Handler, }, { MethodName: "UserInfo", Handler: _SmartSiteEnterprise_UserInfo_Handler, }, { MethodName: "Login", Handler: _SmartSiteEnterprise_Login_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", }