// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc             v3.19.4
// source: bxsubscribe.proto

package bxsubscribe

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7

// BxsubscribeClient is the client API for Bxsubscribe service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type BxsubscribeClient interface {
	//获取订阅推送列表
	GetSubList(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*SubscribeInfosResp, error)
	//获取订阅推送相关信息
	GetSubSomeInfo(ctx context.Context, in *SomeInfoReq, opts ...grpc.CallOption) (*SomeInfoResp, error)
	//修改订阅信息接口
	UpdateSubScribeInfo(ctx context.Context, in *UpdateSubScribeInfoReq, opts ...grpc.CallOption) (*StatusResp, error)
	//推送页面筛选导出
	ByPushHistory(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*ByPushHistoryResp, error)
	//推送数据浏览状态修改
	SetRead(ctx context.Context, in *SetReadReq, opts ...grpc.CallOption) (*StatusResp, error)
	//关键词获取
	GetKey(ctx context.Context, in *GetKeyReq, opts ...grpc.CallOption) (*KeyResp, error)
	//订阅设置获取
	GetSubScribeInfo(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserResq, error)
	//信息分发
	MsgDistributor(ctx context.Context, in *MsgDistributorReq, opts ...grpc.CallOption) (*StatusResp, error)
	//手动分发人员查询
	GetDistributor(ctx context.Context, in *GetDistributorReq, opts ...grpc.CallOption) (*DistributorResp, error)
	//查看状态
	GetViewStatus(ctx context.Context, in *GetViewStatusReq, opts ...grpc.CallOption) (*ViewStatusResp, error)
	//用户推送信息查看
	UserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResq, error)
	//用户邮箱保存
	SetUser(ctx context.Context, in *SetUserInfoReq, opts ...grpc.CallOption) (*StatusResp, error)
	//用户推送设置查看
	GetPushSet(ctx context.Context, in *GetPushSetReq, opts ...grpc.CallOption) (*GetPushSetResp, error)
	//用户推送设置修改
	SetPushSet(ctx context.Context, in *SetPushSetReq, opts ...grpc.CallOption) (*StatusResp, error)
	//查看企业员工用户订阅
	GetStaffSubscribeList(ctx context.Context, in *StaffSubscribeReq, opts ...grpc.CallOption) (*StaffSubscribeListResp, error)
	//查看企业员工用户订阅详情
	GetStaffSubscribeDetail(ctx context.Context, in *StaffSubscribeDetailReq, opts ...grpc.CallOption) (*StaffSubscribeDetail, error)
	//标讯信息分发
	BidDistributor(ctx context.Context, in *BidDistributorReq, opts ...grpc.CallOption) (*StatusResp, error)
}

type bxsubscribeClient struct {
	cc grpc.ClientConnInterface
}

func NewBxsubscribeClient(cc grpc.ClientConnInterface) BxsubscribeClient {
	return &bxsubscribeClient{cc}
}

func (c *bxsubscribeClient) GetSubList(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*SubscribeInfosResp, error) {
	out := new(SubscribeInfosResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubList", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetSubSomeInfo(ctx context.Context, in *SomeInfoReq, opts ...grpc.CallOption) (*SomeInfoResp, error) {
	out := new(SomeInfoResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubSomeInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) UpdateSubScribeInfo(ctx context.Context, in *UpdateSubScribeInfoReq, opts ...grpc.CallOption) (*StatusResp, error) {
	out := new(StatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) ByPushHistory(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*ByPushHistoryResp, error) {
	out := new(ByPushHistoryResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/ByPushHistory", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) SetRead(ctx context.Context, in *SetReadReq, opts ...grpc.CallOption) (*StatusResp, error) {
	out := new(StatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/SetRead", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetKey(ctx context.Context, in *GetKeyReq, opts ...grpc.CallOption) (*KeyResp, error) {
	out := new(KeyResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetSubScribeInfo(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserResq, error) {
	out := new(UserResq)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubScribeInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) MsgDistributor(ctx context.Context, in *MsgDistributorReq, opts ...grpc.CallOption) (*StatusResp, error) {
	out := new(StatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/MsgDistributor", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetDistributor(ctx context.Context, in *GetDistributorReq, opts ...grpc.CallOption) (*DistributorResp, error) {
	out := new(DistributorResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetDistributor", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetViewStatus(ctx context.Context, in *GetViewStatusReq, opts ...grpc.CallOption) (*ViewStatusResp, error) {
	out := new(ViewStatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetViewStatus", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) UserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResq, error) {
	out := new(GetUserInfoResq)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/userInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) SetUser(ctx context.Context, in *SetUserInfoReq, opts ...grpc.CallOption) (*StatusResp, error) {
	out := new(StatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/setUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetPushSet(ctx context.Context, in *GetPushSetReq, opts ...grpc.CallOption) (*GetPushSetResp, error) {
	out := new(GetPushSetResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getPushSet", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) SetPushSet(ctx context.Context, in *SetPushSetReq, opts ...grpc.CallOption) (*StatusResp, error) {
	out := new(StatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/setPushSet", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetStaffSubscribeList(ctx context.Context, in *StaffSubscribeReq, opts ...grpc.CallOption) (*StaffSubscribeListResp, error) {
	out := new(StaffSubscribeListResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getStaffSubscribeList", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) GetStaffSubscribeDetail(ctx context.Context, in *StaffSubscribeDetailReq, opts ...grpc.CallOption) (*StaffSubscribeDetail, error) {
	out := new(StaffSubscribeDetail)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getStaffSubscribeDetail", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxsubscribeClient) BidDistributor(ctx context.Context, in *BidDistributorReq, opts ...grpc.CallOption) (*StatusResp, error) {
	out := new(StatusResp)
	err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/bidDistributor", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// BxsubscribeServer is the server API for Bxsubscribe service.
// All implementations must embed UnimplementedBxsubscribeServer
// for forward compatibility
type BxsubscribeServer interface {
	//获取订阅推送列表
	GetSubList(context.Context, *SubscribeInfosReq) (*SubscribeInfosResp, error)
	//获取订阅推送相关信息
	GetSubSomeInfo(context.Context, *SomeInfoReq) (*SomeInfoResp, error)
	//修改订阅信息接口
	UpdateSubScribeInfo(context.Context, *UpdateSubScribeInfoReq) (*StatusResp, error)
	//推送页面筛选导出
	ByPushHistory(context.Context, *SubscribeInfosReq) (*ByPushHistoryResp, error)
	//推送数据浏览状态修改
	SetRead(context.Context, *SetReadReq) (*StatusResp, error)
	//关键词获取
	GetKey(context.Context, *GetKeyReq) (*KeyResp, error)
	//订阅设置获取
	GetSubScribeInfo(context.Context, *UserReq) (*UserResq, error)
	//信息分发
	MsgDistributor(context.Context, *MsgDistributorReq) (*StatusResp, error)
	//手动分发人员查询
	GetDistributor(context.Context, *GetDistributorReq) (*DistributorResp, error)
	//查看状态
	GetViewStatus(context.Context, *GetViewStatusReq) (*ViewStatusResp, error)
	//用户推送信息查看
	UserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResq, error)
	//用户邮箱保存
	SetUser(context.Context, *SetUserInfoReq) (*StatusResp, error)
	//用户推送设置查看
	GetPushSet(context.Context, *GetPushSetReq) (*GetPushSetResp, error)
	//用户推送设置修改
	SetPushSet(context.Context, *SetPushSetReq) (*StatusResp, error)
	//查看企业员工用户订阅
	GetStaffSubscribeList(context.Context, *StaffSubscribeReq) (*StaffSubscribeListResp, error)
	//查看企业员工用户订阅详情
	GetStaffSubscribeDetail(context.Context, *StaffSubscribeDetailReq) (*StaffSubscribeDetail, error)
	//标讯信息分发
	BidDistributor(context.Context, *BidDistributorReq) (*StatusResp, error)
	mustEmbedUnimplementedBxsubscribeServer()
}

// UnimplementedBxsubscribeServer must be embedded to have forward compatible implementations.
type UnimplementedBxsubscribeServer struct {
}

func (UnimplementedBxsubscribeServer) GetSubList(context.Context, *SubscribeInfosReq) (*SubscribeInfosResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetSubList not implemented")
}
func (UnimplementedBxsubscribeServer) GetSubSomeInfo(context.Context, *SomeInfoReq) (*SomeInfoResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetSubSomeInfo not implemented")
}
func (UnimplementedBxsubscribeServer) UpdateSubScribeInfo(context.Context, *UpdateSubScribeInfoReq) (*StatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateSubScribeInfo not implemented")
}
func (UnimplementedBxsubscribeServer) ByPushHistory(context.Context, *SubscribeInfosReq) (*ByPushHistoryResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ByPushHistory not implemented")
}
func (UnimplementedBxsubscribeServer) SetRead(context.Context, *SetReadReq) (*StatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetRead not implemented")
}
func (UnimplementedBxsubscribeServer) GetKey(context.Context, *GetKeyReq) (*KeyResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetKey not implemented")
}
func (UnimplementedBxsubscribeServer) GetSubScribeInfo(context.Context, *UserReq) (*UserResq, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetSubScribeInfo not implemented")
}
func (UnimplementedBxsubscribeServer) MsgDistributor(context.Context, *MsgDistributorReq) (*StatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method MsgDistributor not implemented")
}
func (UnimplementedBxsubscribeServer) GetDistributor(context.Context, *GetDistributorReq) (*DistributorResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetDistributor not implemented")
}
func (UnimplementedBxsubscribeServer) GetViewStatus(context.Context, *GetViewStatusReq) (*ViewStatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetViewStatus not implemented")
}
func (UnimplementedBxsubscribeServer) UserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResq, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented")
}
func (UnimplementedBxsubscribeServer) SetUser(context.Context, *SetUserInfoReq) (*StatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetUser not implemented")
}
func (UnimplementedBxsubscribeServer) GetPushSet(context.Context, *GetPushSetReq) (*GetPushSetResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetPushSet not implemented")
}
func (UnimplementedBxsubscribeServer) SetPushSet(context.Context, *SetPushSetReq) (*StatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetPushSet not implemented")
}
func (UnimplementedBxsubscribeServer) GetStaffSubscribeList(context.Context, *StaffSubscribeReq) (*StaffSubscribeListResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetStaffSubscribeList not implemented")
}
func (UnimplementedBxsubscribeServer) GetStaffSubscribeDetail(context.Context, *StaffSubscribeDetailReq) (*StaffSubscribeDetail, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetStaffSubscribeDetail not implemented")
}
func (UnimplementedBxsubscribeServer) BidDistributor(context.Context, *BidDistributorReq) (*StatusResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method BidDistributor not implemented")
}
func (UnimplementedBxsubscribeServer) mustEmbedUnimplementedBxsubscribeServer() {}

// UnsafeBxsubscribeServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to BxsubscribeServer will
// result in compilation errors.
type UnsafeBxsubscribeServer interface {
	mustEmbedUnimplementedBxsubscribeServer()
}

func RegisterBxsubscribeServer(s grpc.ServiceRegistrar, srv BxsubscribeServer) {
	s.RegisterService(&Bxsubscribe_ServiceDesc, srv)
}

func _Bxsubscribe_GetSubList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SubscribeInfosReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetSubList(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/GetSubList",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetSubList(ctx, req.(*SubscribeInfosReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetSubSomeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SomeInfoReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetSubSomeInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/GetSubSomeInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetSubSomeInfo(ctx, req.(*SomeInfoReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_UpdateSubScribeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateSubScribeInfoReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).UpdateSubScribeInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).UpdateSubScribeInfo(ctx, req.(*UpdateSubScribeInfoReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_ByPushHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SubscribeInfosReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).ByPushHistory(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/ByPushHistory",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).ByPushHistory(ctx, req.(*SubscribeInfosReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_SetRead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetReadReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).SetRead(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/SetRead",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).SetRead(ctx, req.(*SetReadReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/GetKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetKey(ctx, req.(*GetKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetSubScribeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetSubScribeInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/GetSubScribeInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetSubScribeInfo(ctx, req.(*UserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_MsgDistributor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MsgDistributorReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).MsgDistributor(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/MsgDistributor",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).MsgDistributor(ctx, req.(*MsgDistributorReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetDistributor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetDistributorReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetDistributor(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/GetDistributor",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetDistributor(ctx, req.(*GetDistributorReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetViewStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetViewStatusReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetViewStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/GetViewStatus",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetViewStatus(ctx, req.(*GetViewStatusReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetUserInfoReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).UserInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/userInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).UserInfo(ctx, req.(*GetUserInfoReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_SetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetUserInfoReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).SetUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/setUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).SetUser(ctx, req.(*SetUserInfoReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetPushSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetPushSetReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetPushSet(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/getPushSet",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetPushSet(ctx, req.(*GetPushSetReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_SetPushSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetPushSetReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).SetPushSet(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/setPushSet",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).SetPushSet(ctx, req.(*SetPushSetReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetStaffSubscribeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(StaffSubscribeReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetStaffSubscribeList(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/getStaffSubscribeList",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetStaffSubscribeList(ctx, req.(*StaffSubscribeReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_GetStaffSubscribeDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(StaffSubscribeDetailReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).GetStaffSubscribeDetail(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/getStaffSubscribeDetail",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).GetStaffSubscribeDetail(ctx, req.(*StaffSubscribeDetailReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxsubscribe_BidDistributor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(BidDistributorReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxsubscribeServer).BidDistributor(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxsubscribe.Bxsubscribe/bidDistributor",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxsubscribeServer).BidDistributor(ctx, req.(*BidDistributorReq))
	}
	return interceptor(ctx, in, info, handler)
}

// Bxsubscribe_ServiceDesc is the grpc.ServiceDesc for Bxsubscribe service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Bxsubscribe_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bxsubscribe.Bxsubscribe",
	HandlerType: (*BxsubscribeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSubList",
			Handler:    _Bxsubscribe_GetSubList_Handler,
		},
		{
			MethodName: "GetSubSomeInfo",
			Handler:    _Bxsubscribe_GetSubSomeInfo_Handler,
		},
		{
			MethodName: "UpdateSubScribeInfo",
			Handler:    _Bxsubscribe_UpdateSubScribeInfo_Handler,
		},
		{
			MethodName: "ByPushHistory",
			Handler:    _Bxsubscribe_ByPushHistory_Handler,
		},
		{
			MethodName: "SetRead",
			Handler:    _Bxsubscribe_SetRead_Handler,
		},
		{
			MethodName: "GetKey",
			Handler:    _Bxsubscribe_GetKey_Handler,
		},
		{
			MethodName: "GetSubScribeInfo",
			Handler:    _Bxsubscribe_GetSubScribeInfo_Handler,
		},
		{
			MethodName: "MsgDistributor",
			Handler:    _Bxsubscribe_MsgDistributor_Handler,
		},
		{
			MethodName: "GetDistributor",
			Handler:    _Bxsubscribe_GetDistributor_Handler,
		},
		{
			MethodName: "GetViewStatus",
			Handler:    _Bxsubscribe_GetViewStatus_Handler,
		},
		{
			MethodName: "userInfo",
			Handler:    _Bxsubscribe_UserInfo_Handler,
		},
		{
			MethodName: "setUser",
			Handler:    _Bxsubscribe_SetUser_Handler,
		},
		{
			MethodName: "getPushSet",
			Handler:    _Bxsubscribe_GetPushSet_Handler,
		},
		{
			MethodName: "setPushSet",
			Handler:    _Bxsubscribe_SetPushSet_Handler,
		},
		{
			MethodName: "getStaffSubscribeList",
			Handler:    _Bxsubscribe_GetStaffSubscribeList_Handler,
		},
		{
			MethodName: "getStaffSubscribeDetail",
			Handler:    _Bxsubscribe_GetStaffSubscribeDetail_Handler,
		},
		{
			MethodName: "bidDistributor",
			Handler:    _Bxsubscribe_BidDistributor_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bxsubscribe.proto",
}
