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

package bxbase

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

// BxbaseClient is the client API for Bxbase 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 BxbaseClient interface {
	//新增标签
	Addlabel(ctx context.Context, in *AddlabelReq, opts ...grpc.CallOption) (*AddlabelRes, error)
	//获取标签
	GetLabelAction(ctx context.Context, in *GetLabelActionReq, opts ...grpc.CallOption) (*GetLabelActionRes, error)
	//标签新增或删除
	LabelAction(ctx context.Context, in *LabelActionReq, opts ...grpc.CallOption) (*LabelActionRes, error)
	//招标信息收藏
	BCAction(ctx context.Context, in *BCActionReq, opts ...grpc.CallOption) (*LabelActionRes, error)
	//招标信息是否被收藏
	IsCollAction(ctx context.Context, in *IsCollActionReq, opts ...grpc.CallOption) (*IsCollActionRes, error)
	//获取收藏列表
	List(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*ListRes, error)
	//获取筛选列表
	ShowSearch(ctx context.Context, in *ShowSearchReq, opts ...grpc.CallOption) (*ShowSearchRes, error)
	//添加删选列表
	AddSearch(ctx context.Context, in *AddSearchReq, opts ...grpc.CallOption) (*CommonRes, error)
	//修改筛选列表
	CheckSearch(ctx context.Context, in *AddSearchReq, opts ...grpc.CallOption) (*CheckRes, error)
	//删除筛选列表
	DelSearch(ctx context.Context, in *DelSearchReq, opts ...grpc.CallOption) (*CommonRes, error)
	//首页最新招标信息
	NewestBidding(ctx context.Context, in *NewestBiddingReq, opts ...grpc.CallOption) (*NewsetBiddingResp, error)
	//剑鱼网站收录情况
	Included(ctx context.Context, in *AppIdReq, opts ...grpc.CallOption) (*IncludedResp, error)
}

type bxbaseClient struct {
	cc grpc.ClientConnInterface
}

func NewBxbaseClient(cc grpc.ClientConnInterface) BxbaseClient {
	return &bxbaseClient{cc}
}

func (c *bxbaseClient) Addlabel(ctx context.Context, in *AddlabelReq, opts ...grpc.CallOption) (*AddlabelRes, error) {
	out := new(AddlabelRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/Addlabel", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) GetLabelAction(ctx context.Context, in *GetLabelActionReq, opts ...grpc.CallOption) (*GetLabelActionRes, error) {
	out := new(GetLabelActionRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/GetLabelAction", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) LabelAction(ctx context.Context, in *LabelActionReq, opts ...grpc.CallOption) (*LabelActionRes, error) {
	out := new(LabelActionRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/LabelAction", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) BCAction(ctx context.Context, in *BCActionReq, opts ...grpc.CallOption) (*LabelActionRes, error) {
	out := new(LabelActionRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/BCAction", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) IsCollAction(ctx context.Context, in *IsCollActionReq, opts ...grpc.CallOption) (*IsCollActionRes, error) {
	out := new(IsCollActionRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/IsCollAction", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) List(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*ListRes, error) {
	out := new(ListRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/List", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) ShowSearch(ctx context.Context, in *ShowSearchReq, opts ...grpc.CallOption) (*ShowSearchRes, error) {
	out := new(ShowSearchRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/ShowSearch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) AddSearch(ctx context.Context, in *AddSearchReq, opts ...grpc.CallOption) (*CommonRes, error) {
	out := new(CommonRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/AddSearch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) CheckSearch(ctx context.Context, in *AddSearchReq, opts ...grpc.CallOption) (*CheckRes, error) {
	out := new(CheckRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/CheckSearch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) DelSearch(ctx context.Context, in *DelSearchReq, opts ...grpc.CallOption) (*CommonRes, error) {
	out := new(CommonRes)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/DelSearch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) NewestBidding(ctx context.Context, in *NewestBiddingReq, opts ...grpc.CallOption) (*NewsetBiddingResp, error) {
	out := new(NewsetBiddingResp)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/NewestBidding", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *bxbaseClient) Included(ctx context.Context, in *AppIdReq, opts ...grpc.CallOption) (*IncludedResp, error) {
	out := new(IncludedResp)
	err := c.cc.Invoke(ctx, "/bxcol.bxbase/Included", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// BxbaseServer is the server API for Bxbase service.
// All implementations must embed UnimplementedBxbaseServer
// for forward compatibility
type BxbaseServer interface {
	//新增标签
	Addlabel(context.Context, *AddlabelReq) (*AddlabelRes, error)
	//获取标签
	GetLabelAction(context.Context, *GetLabelActionReq) (*GetLabelActionRes, error)
	//标签新增或删除
	LabelAction(context.Context, *LabelActionReq) (*LabelActionRes, error)
	//招标信息收藏
	BCAction(context.Context, *BCActionReq) (*LabelActionRes, error)
	//招标信息是否被收藏
	IsCollAction(context.Context, *IsCollActionReq) (*IsCollActionRes, error)
	//获取收藏列表
	List(context.Context, *ListReq) (*ListRes, error)
	//获取筛选列表
	ShowSearch(context.Context, *ShowSearchReq) (*ShowSearchRes, error)
	//添加删选列表
	AddSearch(context.Context, *AddSearchReq) (*CommonRes, error)
	//修改筛选列表
	CheckSearch(context.Context, *AddSearchReq) (*CheckRes, error)
	//删除筛选列表
	DelSearch(context.Context, *DelSearchReq) (*CommonRes, error)
	//首页最新招标信息
	NewestBidding(context.Context, *NewestBiddingReq) (*NewsetBiddingResp, error)
	//剑鱼网站收录情况
	Included(context.Context, *AppIdReq) (*IncludedResp, error)
	mustEmbedUnimplementedBxbaseServer()
}

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

func (UnimplementedBxbaseServer) Addlabel(context.Context, *AddlabelReq) (*AddlabelRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Addlabel not implemented")
}
func (UnimplementedBxbaseServer) GetLabelAction(context.Context, *GetLabelActionReq) (*GetLabelActionRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetLabelAction not implemented")
}
func (UnimplementedBxbaseServer) LabelAction(context.Context, *LabelActionReq) (*LabelActionRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LabelAction not implemented")
}
func (UnimplementedBxbaseServer) BCAction(context.Context, *BCActionReq) (*LabelActionRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method BCAction not implemented")
}
func (UnimplementedBxbaseServer) IsCollAction(context.Context, *IsCollActionReq) (*IsCollActionRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method IsCollAction not implemented")
}
func (UnimplementedBxbaseServer) List(context.Context, *ListReq) (*ListRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func (UnimplementedBxbaseServer) ShowSearch(context.Context, *ShowSearchReq) (*ShowSearchRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ShowSearch not implemented")
}
func (UnimplementedBxbaseServer) AddSearch(context.Context, *AddSearchReq) (*CommonRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AddSearch not implemented")
}
func (UnimplementedBxbaseServer) CheckSearch(context.Context, *AddSearchReq) (*CheckRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CheckSearch not implemented")
}
func (UnimplementedBxbaseServer) DelSearch(context.Context, *DelSearchReq) (*CommonRes, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DelSearch not implemented")
}
func (UnimplementedBxbaseServer) NewestBidding(context.Context, *NewestBiddingReq) (*NewsetBiddingResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method NewestBidding not implemented")
}
func (UnimplementedBxbaseServer) Included(context.Context, *AppIdReq) (*IncludedResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Included not implemented")
}
func (UnimplementedBxbaseServer) mustEmbedUnimplementedBxbaseServer() {}

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

func RegisterBxbaseServer(s grpc.ServiceRegistrar, srv BxbaseServer) {
	s.RegisterService(&Bxbase_ServiceDesc, srv)
}

func _Bxbase_Addlabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AddlabelReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).Addlabel(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/Addlabel",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).Addlabel(ctx, req.(*AddlabelReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_GetLabelAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetLabelActionReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).GetLabelAction(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/GetLabelAction",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).GetLabelAction(ctx, req.(*GetLabelActionReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_LabelAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(LabelActionReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).LabelAction(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/LabelAction",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).LabelAction(ctx, req.(*LabelActionReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_BCAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(BCActionReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).BCAction(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/BCAction",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).BCAction(ctx, req.(*BCActionReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_IsCollAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(IsCollActionReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).IsCollAction(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/IsCollAction",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).IsCollAction(ctx, req.(*IsCollActionReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).List(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/List",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).List(ctx, req.(*ListReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_ShowSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ShowSearchReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).ShowSearch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/ShowSearch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).ShowSearch(ctx, req.(*ShowSearchReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_AddSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AddSearchReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).AddSearch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/AddSearch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).AddSearch(ctx, req.(*AddSearchReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_CheckSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AddSearchReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).CheckSearch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/CheckSearch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).CheckSearch(ctx, req.(*AddSearchReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_DelSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DelSearchReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).DelSearch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/DelSearch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).DelSearch(ctx, req.(*DelSearchReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_NewestBidding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(NewestBiddingReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).NewestBidding(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/NewestBidding",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).NewestBidding(ctx, req.(*NewestBiddingReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _Bxbase_Included_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AppIdReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(BxbaseServer).Included(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/bxcol.bxbase/Included",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(BxbaseServer).Included(ctx, req.(*AppIdReq))
	}
	return interceptor(ctx, in, info, handler)
}

// Bxbase_ServiceDesc is the grpc.ServiceDesc for Bxbase service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Bxbase_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bxcol.bxbase",
	HandlerType: (*BxbaseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Addlabel",
			Handler:    _Bxbase_Addlabel_Handler,
		},
		{
			MethodName: "GetLabelAction",
			Handler:    _Bxbase_GetLabelAction_Handler,
		},
		{
			MethodName: "LabelAction",
			Handler:    _Bxbase_LabelAction_Handler,
		},
		{
			MethodName: "BCAction",
			Handler:    _Bxbase_BCAction_Handler,
		},
		{
			MethodName: "IsCollAction",
			Handler:    _Bxbase_IsCollAction_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Bxbase_List_Handler,
		},
		{
			MethodName: "ShowSearch",
			Handler:    _Bxbase_ShowSearch_Handler,
		},
		{
			MethodName: "AddSearch",
			Handler:    _Bxbase_AddSearch_Handler,
		},
		{
			MethodName: "CheckSearch",
			Handler:    _Bxbase_CheckSearch_Handler,
		},
		{
			MethodName: "DelSearch",
			Handler:    _Bxbase_DelSearch_Handler,
		},
		{
			MethodName: "NewestBidding",
			Handler:    _Bxbase_NewestBidding_Handler,
		},
		{
			MethodName: "Included",
			Handler:    _Bxbase_Included_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bxbase.proto",
}
