// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc             v7.35.0
// source: proto/user/v1/host.proto

package userv1

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.64.0 or later.
const _ = grpc.SupportPackageIsVersion9

const (
	UserHostService_SearchAgencies_FullMethodName                  = "/hyapp.user.v1.UserHostService/SearchAgencies"
	UserHostService_ApplyToAgency_FullMethodName                   = "/hyapp.user.v1.UserHostService/ApplyToAgency"
	UserHostService_ReviewAgencyApplication_FullMethodName         = "/hyapp.user.v1.UserHostService/ReviewAgencyApplication"
	UserHostService_KickAgencyHost_FullMethodName                  = "/hyapp.user.v1.UserHostService/KickAgencyHost"
	UserHostService_InviteAgency_FullMethodName                    = "/hyapp.user.v1.UserHostService/InviteAgency"
	UserHostService_InviteBD_FullMethodName                        = "/hyapp.user.v1.UserHostService/InviteBD"
	UserHostService_InviteHost_FullMethodName                      = "/hyapp.user.v1.UserHostService/InviteHost"
	UserHostService_ListBDLeaderBDs_FullMethodName                 = "/hyapp.user.v1.UserHostService/ListBDLeaderBDs"
	UserHostService_ListBDLeaderAgencies_FullMethodName            = "/hyapp.user.v1.UserHostService/ListBDLeaderAgencies"
	UserHostService_ListBDAgencies_FullMethodName                  = "/hyapp.user.v1.UserHostService/ListBDAgencies"
	UserHostService_ListManagerTeamAgencies_FullMethodName         = "/hyapp.user.v1.UserHostService/ListManagerTeamAgencies"
	UserHostService_ListRoleInvitations_FullMethodName             = "/hyapp.user.v1.UserHostService/ListRoleInvitations"
	UserHostService_GetRoleInvitation_FullMethodName               = "/hyapp.user.v1.UserHostService/GetRoleInvitation"
	UserHostService_ProcessRoleInvitation_FullMethodName           = "/hyapp.user.v1.UserHostService/ProcessRoleInvitation"
	UserHostService_GetHostProfile_FullMethodName                  = "/hyapp.user.v1.UserHostService/GetHostProfile"
	UserHostService_BatchGetHostProfiles_FullMethodName            = "/hyapp.user.v1.UserHostService/BatchGetHostProfiles"
	UserHostService_GetBDProfile_FullMethodName                    = "/hyapp.user.v1.UserHostService/GetBDProfile"
	UserHostService_GetCoinSellerProfile_FullMethodName            = "/hyapp.user.v1.UserHostService/GetCoinSellerProfile"
	UserHostService_ListActiveCoinSellersInMyRegion_FullMethodName = "/hyapp.user.v1.UserHostService/ListActiveCoinSellersInMyRegion"
	UserHostService_CreateSubCoinSeller_FullMethodName             = "/hyapp.user.v1.UserHostService/CreateSubCoinSeller"
	UserHostService_SubmitSubCoinSellerApplication_FullMethodName  = "/hyapp.user.v1.UserHostService/SubmitSubCoinSellerApplication"
	UserHostService_ListSubCoinSellers_FullMethodName              = "/hyapp.user.v1.UserHostService/ListSubCoinSellers"
	UserHostService_CheckCoinSellerSubRelation_FullMethodName      = "/hyapp.user.v1.UserHostService/CheckCoinSellerSubRelation"
	UserHostService_GetUserRoleSummary_FullMethodName              = "/hyapp.user.v1.UserHostService/GetUserRoleSummary"
	UserHostService_GetAgency_FullMethodName                       = "/hyapp.user.v1.UserHostService/GetAgency"
	UserHostService_CheckBusinessCapability_FullMethodName         = "/hyapp.user.v1.UserHostService/CheckBusinessCapability"
	UserHostService_GetRoleScopePolicy_FullMethodName              = "/hyapp.user.v1.UserHostService/GetRoleScopePolicy"
	UserHostService_GetAgencyMembers_FullMethodName                = "/hyapp.user.v1.UserHostService/GetAgencyMembers"
	UserHostService_GetAgencyApplications_FullMethodName           = "/hyapp.user.v1.UserHostService/GetAgencyApplications"
	UserHostService_UpdateAgencyProfile_FullMethodName             = "/hyapp.user.v1.UserHostService/UpdateAgencyProfile"
	UserHostService_GetHostEngagementStats_FullMethodName          = "/hyapp.user.v1.UserHostService/GetHostEngagementStats"
	UserHostService_RecordPrivateMessageEvent_FullMethodName       = "/hyapp.user.v1.UserHostService/RecordPrivateMessageEvent"
)

// UserHostServiceClient is the client API for UserHostService 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.
//
// UserHostService 是 user-service 内部 host domain 的 gRPC 面，不是独立微服务。
type UserHostServiceClient interface {
	SearchAgencies(ctx context.Context, in *SearchAgenciesRequest, opts ...grpc.CallOption) (*SearchAgenciesResponse, error)
	ApplyToAgency(ctx context.Context, in *ApplyToAgencyRequest, opts ...grpc.CallOption) (*ApplyToAgencyResponse, error)
	ReviewAgencyApplication(ctx context.Context, in *ReviewAgencyApplicationRequest, opts ...grpc.CallOption) (*ReviewAgencyApplicationResponse, error)
	KickAgencyHost(ctx context.Context, in *KickAgencyHostRequest, opts ...grpc.CallOption) (*KickAgencyHostResponse, error)
	InviteAgency(ctx context.Context, in *InviteAgencyRequest, opts ...grpc.CallOption) (*InviteAgencyResponse, error)
	InviteBD(ctx context.Context, in *InviteBDRequest, opts ...grpc.CallOption) (*InviteBDResponse, error)
	InviteHost(ctx context.Context, in *InviteHostRequest, opts ...grpc.CallOption) (*InviteHostResponse, error)
	ListBDLeaderBDs(ctx context.Context, in *ListBDLeaderBDsRequest, opts ...grpc.CallOption) (*ListBDLeaderBDsResponse, error)
	ListBDLeaderAgencies(ctx context.Context, in *ListBDLeaderAgenciesRequest, opts ...grpc.CallOption) (*ListBDLeaderAgenciesResponse, error)
	ListBDAgencies(ctx context.Context, in *ListBDAgenciesRequest, opts ...grpc.CallOption) (*ListBDAgenciesResponse, error)
	// ListManagerTeamAgencies 返回经理团队树内全部有效 Agency；经理中心团队工资统计据此圈定主播归属范围。
	ListManagerTeamAgencies(ctx context.Context, in *ListManagerTeamAgenciesRequest, opts ...grpc.CallOption) (*ListManagerTeamAgenciesResponse, error)
	ListRoleInvitations(ctx context.Context, in *ListRoleInvitationsRequest, opts ...grpc.CallOption) (*ListRoleInvitationsResponse, error)
	GetRoleInvitation(ctx context.Context, in *GetRoleInvitationRequest, opts ...grpc.CallOption) (*GetRoleInvitationResponse, error)
	ProcessRoleInvitation(ctx context.Context, in *ProcessRoleInvitationRequest, opts ...grpc.CallOption) (*ProcessRoleInvitationResponse, error)
	GetHostProfile(ctx context.Context, in *GetHostProfileRequest, opts ...grpc.CallOption) (*GetHostProfileResponse, error)
	BatchGetHostProfiles(ctx context.Context, in *BatchGetHostProfilesRequest, opts ...grpc.CallOption) (*BatchGetHostProfilesResponse, error)
	GetBDProfile(ctx context.Context, in *GetBDProfileRequest, opts ...grpc.CallOption) (*GetBDProfileResponse, error)
	GetCoinSellerProfile(ctx context.Context, in *GetCoinSellerProfileRequest, opts ...grpc.CallOption) (*GetCoinSellerProfileResponse, error)
	ListActiveCoinSellersInMyRegion(ctx context.Context, in *ListActiveCoinSellersInMyRegionRequest, opts ...grpc.CallOption) (*ListActiveCoinSellersInMyRegionResponse, error)
	CreateSubCoinSeller(ctx context.Context, in *CreateSubCoinSellerRequest, opts ...grpc.CallOption) (*CreateSubCoinSellerResponse, error)
	SubmitSubCoinSellerApplication(ctx context.Context, in *SubmitSubCoinSellerApplicationRequest, opts ...grpc.CallOption) (*SubmitSubCoinSellerApplicationResponse, error)
	ListSubCoinSellers(ctx context.Context, in *ListSubCoinSellersRequest, opts ...grpc.CallOption) (*ListSubCoinSellersResponse, error)
	CheckCoinSellerSubRelation(ctx context.Context, in *CheckCoinSellerSubRelationRequest, opts ...grpc.CallOption) (*CheckCoinSellerSubRelationResponse, error)
	GetUserRoleSummary(ctx context.Context, in *GetUserRoleSummaryRequest, opts ...grpc.CallOption) (*GetUserRoleSummaryResponse, error)
	GetAgency(ctx context.Context, in *GetAgencyRequest, opts ...grpc.CallOption) (*GetAgencyResponse, error)
	CheckBusinessCapability(ctx context.Context, in *CheckBusinessCapabilityRequest, opts ...grpc.CallOption) (*CheckBusinessCapabilityResponse, error)
	GetRoleScopePolicy(ctx context.Context, in *GetRoleScopePolicyRequest, opts ...grpc.CallOption) (*GetRoleScopePolicyResponse, error)
	GetAgencyMembers(ctx context.Context, in *GetAgencyMembersRequest, opts ...grpc.CallOption) (*GetAgencyMembersResponse, error)
	GetAgencyApplications(ctx context.Context, in *GetAgencyApplicationsRequest, opts ...grpc.CallOption) (*GetAgencyApplicationsResponse, error)
	UpdateAgencyProfile(ctx context.Context, in *UpdateAgencyProfileRequest, opts ...grpc.CallOption) (*UpdateAgencyProfileResponse, error)
	GetHostEngagementStats(ctx context.Context, in *GetHostEngagementStatsRequest, opts ...grpc.CallOption) (*GetHostEngagementStatsResponse, error)
	RecordPrivateMessageEvent(ctx context.Context, in *RecordPrivateMessageEventRequest, opts ...grpc.CallOption) (*RecordPrivateMessageEventResponse, error)
}

type userHostServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewUserHostServiceClient(cc grpc.ClientConnInterface) UserHostServiceClient {
	return &userHostServiceClient{cc}
}

func (c *userHostServiceClient) SearchAgencies(ctx context.Context, in *SearchAgenciesRequest, opts ...grpc.CallOption) (*SearchAgenciesResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SearchAgenciesResponse)
	err := c.cc.Invoke(ctx, UserHostService_SearchAgencies_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ApplyToAgency(ctx context.Context, in *ApplyToAgencyRequest, opts ...grpc.CallOption) (*ApplyToAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ApplyToAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostService_ApplyToAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ReviewAgencyApplication(ctx context.Context, in *ReviewAgencyApplicationRequest, opts ...grpc.CallOption) (*ReviewAgencyApplicationResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ReviewAgencyApplicationResponse)
	err := c.cc.Invoke(ctx, UserHostService_ReviewAgencyApplication_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) KickAgencyHost(ctx context.Context, in *KickAgencyHostRequest, opts ...grpc.CallOption) (*KickAgencyHostResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(KickAgencyHostResponse)
	err := c.cc.Invoke(ctx, UserHostService_KickAgencyHost_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) InviteAgency(ctx context.Context, in *InviteAgencyRequest, opts ...grpc.CallOption) (*InviteAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(InviteAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostService_InviteAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) InviteBD(ctx context.Context, in *InviteBDRequest, opts ...grpc.CallOption) (*InviteBDResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(InviteBDResponse)
	err := c.cc.Invoke(ctx, UserHostService_InviteBD_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) InviteHost(ctx context.Context, in *InviteHostRequest, opts ...grpc.CallOption) (*InviteHostResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(InviteHostResponse)
	err := c.cc.Invoke(ctx, UserHostService_InviteHost_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListBDLeaderBDs(ctx context.Context, in *ListBDLeaderBDsRequest, opts ...grpc.CallOption) (*ListBDLeaderBDsResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListBDLeaderBDsResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListBDLeaderBDs_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListBDLeaderAgencies(ctx context.Context, in *ListBDLeaderAgenciesRequest, opts ...grpc.CallOption) (*ListBDLeaderAgenciesResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListBDLeaderAgenciesResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListBDLeaderAgencies_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListBDAgencies(ctx context.Context, in *ListBDAgenciesRequest, opts ...grpc.CallOption) (*ListBDAgenciesResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListBDAgenciesResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListBDAgencies_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListManagerTeamAgencies(ctx context.Context, in *ListManagerTeamAgenciesRequest, opts ...grpc.CallOption) (*ListManagerTeamAgenciesResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListManagerTeamAgenciesResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListManagerTeamAgencies_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListRoleInvitations(ctx context.Context, in *ListRoleInvitationsRequest, opts ...grpc.CallOption) (*ListRoleInvitationsResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListRoleInvitationsResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListRoleInvitations_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetRoleInvitation(ctx context.Context, in *GetRoleInvitationRequest, opts ...grpc.CallOption) (*GetRoleInvitationResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetRoleInvitationResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetRoleInvitation_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ProcessRoleInvitation(ctx context.Context, in *ProcessRoleInvitationRequest, opts ...grpc.CallOption) (*ProcessRoleInvitationResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ProcessRoleInvitationResponse)
	err := c.cc.Invoke(ctx, UserHostService_ProcessRoleInvitation_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetHostProfile(ctx context.Context, in *GetHostProfileRequest, opts ...grpc.CallOption) (*GetHostProfileResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetHostProfileResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetHostProfile_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) BatchGetHostProfiles(ctx context.Context, in *BatchGetHostProfilesRequest, opts ...grpc.CallOption) (*BatchGetHostProfilesResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(BatchGetHostProfilesResponse)
	err := c.cc.Invoke(ctx, UserHostService_BatchGetHostProfiles_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetBDProfile(ctx context.Context, in *GetBDProfileRequest, opts ...grpc.CallOption) (*GetBDProfileResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetBDProfileResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetBDProfile_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetCoinSellerProfile(ctx context.Context, in *GetCoinSellerProfileRequest, opts ...grpc.CallOption) (*GetCoinSellerProfileResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetCoinSellerProfileResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetCoinSellerProfile_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListActiveCoinSellersInMyRegion(ctx context.Context, in *ListActiveCoinSellersInMyRegionRequest, opts ...grpc.CallOption) (*ListActiveCoinSellersInMyRegionResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListActiveCoinSellersInMyRegionResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListActiveCoinSellersInMyRegion_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) CreateSubCoinSeller(ctx context.Context, in *CreateSubCoinSellerRequest, opts ...grpc.CallOption) (*CreateSubCoinSellerResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CreateSubCoinSellerResponse)
	err := c.cc.Invoke(ctx, UserHostService_CreateSubCoinSeller_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) SubmitSubCoinSellerApplication(ctx context.Context, in *SubmitSubCoinSellerApplicationRequest, opts ...grpc.CallOption) (*SubmitSubCoinSellerApplicationResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SubmitSubCoinSellerApplicationResponse)
	err := c.cc.Invoke(ctx, UserHostService_SubmitSubCoinSellerApplication_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) ListSubCoinSellers(ctx context.Context, in *ListSubCoinSellersRequest, opts ...grpc.CallOption) (*ListSubCoinSellersResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListSubCoinSellersResponse)
	err := c.cc.Invoke(ctx, UserHostService_ListSubCoinSellers_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) CheckCoinSellerSubRelation(ctx context.Context, in *CheckCoinSellerSubRelationRequest, opts ...grpc.CallOption) (*CheckCoinSellerSubRelationResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CheckCoinSellerSubRelationResponse)
	err := c.cc.Invoke(ctx, UserHostService_CheckCoinSellerSubRelation_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetUserRoleSummary(ctx context.Context, in *GetUserRoleSummaryRequest, opts ...grpc.CallOption) (*GetUserRoleSummaryResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetUserRoleSummaryResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetUserRoleSummary_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetAgency(ctx context.Context, in *GetAgencyRequest, opts ...grpc.CallOption) (*GetAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) CheckBusinessCapability(ctx context.Context, in *CheckBusinessCapabilityRequest, opts ...grpc.CallOption) (*CheckBusinessCapabilityResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CheckBusinessCapabilityResponse)
	err := c.cc.Invoke(ctx, UserHostService_CheckBusinessCapability_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetRoleScopePolicy(ctx context.Context, in *GetRoleScopePolicyRequest, opts ...grpc.CallOption) (*GetRoleScopePolicyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetRoleScopePolicyResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetRoleScopePolicy_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetAgencyMembers(ctx context.Context, in *GetAgencyMembersRequest, opts ...grpc.CallOption) (*GetAgencyMembersResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetAgencyMembersResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetAgencyMembers_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetAgencyApplications(ctx context.Context, in *GetAgencyApplicationsRequest, opts ...grpc.CallOption) (*GetAgencyApplicationsResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetAgencyApplicationsResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetAgencyApplications_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) UpdateAgencyProfile(ctx context.Context, in *UpdateAgencyProfileRequest, opts ...grpc.CallOption) (*UpdateAgencyProfileResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(UpdateAgencyProfileResponse)
	err := c.cc.Invoke(ctx, UserHostService_UpdateAgencyProfile_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) GetHostEngagementStats(ctx context.Context, in *GetHostEngagementStatsRequest, opts ...grpc.CallOption) (*GetHostEngagementStatsResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(GetHostEngagementStatsResponse)
	err := c.cc.Invoke(ctx, UserHostService_GetHostEngagementStats_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostServiceClient) RecordPrivateMessageEvent(ctx context.Context, in *RecordPrivateMessageEventRequest, opts ...grpc.CallOption) (*RecordPrivateMessageEventResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(RecordPrivateMessageEventResponse)
	err := c.cc.Invoke(ctx, UserHostService_RecordPrivateMessageEvent_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// UserHostServiceServer is the server API for UserHostService service.
// All implementations must embed UnimplementedUserHostServiceServer
// for forward compatibility.
//
// UserHostService 是 user-service 内部 host domain 的 gRPC 面，不是独立微服务。
type UserHostServiceServer interface {
	SearchAgencies(context.Context, *SearchAgenciesRequest) (*SearchAgenciesResponse, error)
	ApplyToAgency(context.Context, *ApplyToAgencyRequest) (*ApplyToAgencyResponse, error)
	ReviewAgencyApplication(context.Context, *ReviewAgencyApplicationRequest) (*ReviewAgencyApplicationResponse, error)
	KickAgencyHost(context.Context, *KickAgencyHostRequest) (*KickAgencyHostResponse, error)
	InviteAgency(context.Context, *InviteAgencyRequest) (*InviteAgencyResponse, error)
	InviteBD(context.Context, *InviteBDRequest) (*InviteBDResponse, error)
	InviteHost(context.Context, *InviteHostRequest) (*InviteHostResponse, error)
	ListBDLeaderBDs(context.Context, *ListBDLeaderBDsRequest) (*ListBDLeaderBDsResponse, error)
	ListBDLeaderAgencies(context.Context, *ListBDLeaderAgenciesRequest) (*ListBDLeaderAgenciesResponse, error)
	ListBDAgencies(context.Context, *ListBDAgenciesRequest) (*ListBDAgenciesResponse, error)
	// ListManagerTeamAgencies 返回经理团队树内全部有效 Agency；经理中心团队工资统计据此圈定主播归属范围。
	ListManagerTeamAgencies(context.Context, *ListManagerTeamAgenciesRequest) (*ListManagerTeamAgenciesResponse, error)
	ListRoleInvitations(context.Context, *ListRoleInvitationsRequest) (*ListRoleInvitationsResponse, error)
	GetRoleInvitation(context.Context, *GetRoleInvitationRequest) (*GetRoleInvitationResponse, error)
	ProcessRoleInvitation(context.Context, *ProcessRoleInvitationRequest) (*ProcessRoleInvitationResponse, error)
	GetHostProfile(context.Context, *GetHostProfileRequest) (*GetHostProfileResponse, error)
	BatchGetHostProfiles(context.Context, *BatchGetHostProfilesRequest) (*BatchGetHostProfilesResponse, error)
	GetBDProfile(context.Context, *GetBDProfileRequest) (*GetBDProfileResponse, error)
	GetCoinSellerProfile(context.Context, *GetCoinSellerProfileRequest) (*GetCoinSellerProfileResponse, error)
	ListActiveCoinSellersInMyRegion(context.Context, *ListActiveCoinSellersInMyRegionRequest) (*ListActiveCoinSellersInMyRegionResponse, error)
	CreateSubCoinSeller(context.Context, *CreateSubCoinSellerRequest) (*CreateSubCoinSellerResponse, error)
	SubmitSubCoinSellerApplication(context.Context, *SubmitSubCoinSellerApplicationRequest) (*SubmitSubCoinSellerApplicationResponse, error)
	ListSubCoinSellers(context.Context, *ListSubCoinSellersRequest) (*ListSubCoinSellersResponse, error)
	CheckCoinSellerSubRelation(context.Context, *CheckCoinSellerSubRelationRequest) (*CheckCoinSellerSubRelationResponse, error)
	GetUserRoleSummary(context.Context, *GetUserRoleSummaryRequest) (*GetUserRoleSummaryResponse, error)
	GetAgency(context.Context, *GetAgencyRequest) (*GetAgencyResponse, error)
	CheckBusinessCapability(context.Context, *CheckBusinessCapabilityRequest) (*CheckBusinessCapabilityResponse, error)
	GetRoleScopePolicy(context.Context, *GetRoleScopePolicyRequest) (*GetRoleScopePolicyResponse, error)
	GetAgencyMembers(context.Context, *GetAgencyMembersRequest) (*GetAgencyMembersResponse, error)
	GetAgencyApplications(context.Context, *GetAgencyApplicationsRequest) (*GetAgencyApplicationsResponse, error)
	UpdateAgencyProfile(context.Context, *UpdateAgencyProfileRequest) (*UpdateAgencyProfileResponse, error)
	GetHostEngagementStats(context.Context, *GetHostEngagementStatsRequest) (*GetHostEngagementStatsResponse, error)
	RecordPrivateMessageEvent(context.Context, *RecordPrivateMessageEventRequest) (*RecordPrivateMessageEventResponse, error)
	mustEmbedUnimplementedUserHostServiceServer()
}

// UnimplementedUserHostServiceServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedUserHostServiceServer struct{}

func (UnimplementedUserHostServiceServer) SearchAgencies(context.Context, *SearchAgenciesRequest) (*SearchAgenciesResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SearchAgencies not implemented")
}
func (UnimplementedUserHostServiceServer) ApplyToAgency(context.Context, *ApplyToAgencyRequest) (*ApplyToAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ApplyToAgency not implemented")
}
func (UnimplementedUserHostServiceServer) ReviewAgencyApplication(context.Context, *ReviewAgencyApplicationRequest) (*ReviewAgencyApplicationResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ReviewAgencyApplication not implemented")
}
func (UnimplementedUserHostServiceServer) KickAgencyHost(context.Context, *KickAgencyHostRequest) (*KickAgencyHostResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method KickAgencyHost not implemented")
}
func (UnimplementedUserHostServiceServer) InviteAgency(context.Context, *InviteAgencyRequest) (*InviteAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method InviteAgency not implemented")
}
func (UnimplementedUserHostServiceServer) InviteBD(context.Context, *InviteBDRequest) (*InviteBDResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method InviteBD not implemented")
}
func (UnimplementedUserHostServiceServer) InviteHost(context.Context, *InviteHostRequest) (*InviteHostResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method InviteHost not implemented")
}
func (UnimplementedUserHostServiceServer) ListBDLeaderBDs(context.Context, *ListBDLeaderBDsRequest) (*ListBDLeaderBDsResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListBDLeaderBDs not implemented")
}
func (UnimplementedUserHostServiceServer) ListBDLeaderAgencies(context.Context, *ListBDLeaderAgenciesRequest) (*ListBDLeaderAgenciesResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListBDLeaderAgencies not implemented")
}
func (UnimplementedUserHostServiceServer) ListBDAgencies(context.Context, *ListBDAgenciesRequest) (*ListBDAgenciesResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListBDAgencies not implemented")
}
func (UnimplementedUserHostServiceServer) ListManagerTeamAgencies(context.Context, *ListManagerTeamAgenciesRequest) (*ListManagerTeamAgenciesResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListManagerTeamAgencies not implemented")
}
func (UnimplementedUserHostServiceServer) ListRoleInvitations(context.Context, *ListRoleInvitationsRequest) (*ListRoleInvitationsResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListRoleInvitations not implemented")
}
func (UnimplementedUserHostServiceServer) GetRoleInvitation(context.Context, *GetRoleInvitationRequest) (*GetRoleInvitationResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetRoleInvitation not implemented")
}
func (UnimplementedUserHostServiceServer) ProcessRoleInvitation(context.Context, *ProcessRoleInvitationRequest) (*ProcessRoleInvitationResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ProcessRoleInvitation not implemented")
}
func (UnimplementedUserHostServiceServer) GetHostProfile(context.Context, *GetHostProfileRequest) (*GetHostProfileResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetHostProfile not implemented")
}
func (UnimplementedUserHostServiceServer) BatchGetHostProfiles(context.Context, *BatchGetHostProfilesRequest) (*BatchGetHostProfilesResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method BatchGetHostProfiles not implemented")
}
func (UnimplementedUserHostServiceServer) GetBDProfile(context.Context, *GetBDProfileRequest) (*GetBDProfileResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetBDProfile not implemented")
}
func (UnimplementedUserHostServiceServer) GetCoinSellerProfile(context.Context, *GetCoinSellerProfileRequest) (*GetCoinSellerProfileResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetCoinSellerProfile not implemented")
}
func (UnimplementedUserHostServiceServer) ListActiveCoinSellersInMyRegion(context.Context, *ListActiveCoinSellersInMyRegionRequest) (*ListActiveCoinSellersInMyRegionResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListActiveCoinSellersInMyRegion not implemented")
}
func (UnimplementedUserHostServiceServer) CreateSubCoinSeller(context.Context, *CreateSubCoinSellerRequest) (*CreateSubCoinSellerResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CreateSubCoinSeller not implemented")
}
func (UnimplementedUserHostServiceServer) SubmitSubCoinSellerApplication(context.Context, *SubmitSubCoinSellerApplicationRequest) (*SubmitSubCoinSellerApplicationResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SubmitSubCoinSellerApplication not implemented")
}
func (UnimplementedUserHostServiceServer) ListSubCoinSellers(context.Context, *ListSubCoinSellersRequest) (*ListSubCoinSellersResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListSubCoinSellers not implemented")
}
func (UnimplementedUserHostServiceServer) CheckCoinSellerSubRelation(context.Context, *CheckCoinSellerSubRelationRequest) (*CheckCoinSellerSubRelationResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CheckCoinSellerSubRelation not implemented")
}
func (UnimplementedUserHostServiceServer) GetUserRoleSummary(context.Context, *GetUserRoleSummaryRequest) (*GetUserRoleSummaryResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetUserRoleSummary not implemented")
}
func (UnimplementedUserHostServiceServer) GetAgency(context.Context, *GetAgencyRequest) (*GetAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetAgency not implemented")
}
func (UnimplementedUserHostServiceServer) CheckBusinessCapability(context.Context, *CheckBusinessCapabilityRequest) (*CheckBusinessCapabilityResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CheckBusinessCapability not implemented")
}
func (UnimplementedUserHostServiceServer) GetRoleScopePolicy(context.Context, *GetRoleScopePolicyRequest) (*GetRoleScopePolicyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetRoleScopePolicy not implemented")
}
func (UnimplementedUserHostServiceServer) GetAgencyMembers(context.Context, *GetAgencyMembersRequest) (*GetAgencyMembersResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetAgencyMembers not implemented")
}
func (UnimplementedUserHostServiceServer) GetAgencyApplications(context.Context, *GetAgencyApplicationsRequest) (*GetAgencyApplicationsResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetAgencyApplications not implemented")
}
func (UnimplementedUserHostServiceServer) UpdateAgencyProfile(context.Context, *UpdateAgencyProfileRequest) (*UpdateAgencyProfileResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method UpdateAgencyProfile not implemented")
}
func (UnimplementedUserHostServiceServer) GetHostEngagementStats(context.Context, *GetHostEngagementStatsRequest) (*GetHostEngagementStatsResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method GetHostEngagementStats not implemented")
}
func (UnimplementedUserHostServiceServer) RecordPrivateMessageEvent(context.Context, *RecordPrivateMessageEventRequest) (*RecordPrivateMessageEventResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method RecordPrivateMessageEvent not implemented")
}
func (UnimplementedUserHostServiceServer) mustEmbedUnimplementedUserHostServiceServer() {}
func (UnimplementedUserHostServiceServer) testEmbeddedByValue()                         {}

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

func RegisterUserHostServiceServer(s grpc.ServiceRegistrar, srv UserHostServiceServer) {
	// If the following call panics, it indicates UnimplementedUserHostServiceServer was
	// embedded by pointer and is nil.  This will cause panics if an
	// unimplemented method is ever invoked, so we test this at initialization
	// time to prevent it from happening at runtime later due to I/O.
	if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
		t.testEmbeddedByValue()
	}
	s.RegisterService(&UserHostService_ServiceDesc, srv)
}

func _UserHostService_SearchAgencies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SearchAgenciesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).SearchAgencies(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_SearchAgencies_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).SearchAgencies(ctx, req.(*SearchAgenciesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ApplyToAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ApplyToAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ApplyToAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ApplyToAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ApplyToAgency(ctx, req.(*ApplyToAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ReviewAgencyApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ReviewAgencyApplicationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ReviewAgencyApplication(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ReviewAgencyApplication_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ReviewAgencyApplication(ctx, req.(*ReviewAgencyApplicationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_KickAgencyHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(KickAgencyHostRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).KickAgencyHost(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_KickAgencyHost_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).KickAgencyHost(ctx, req.(*KickAgencyHostRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_InviteAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InviteAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).InviteAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_InviteAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).InviteAgency(ctx, req.(*InviteAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_InviteBD_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InviteBDRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).InviteBD(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_InviteBD_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).InviteBD(ctx, req.(*InviteBDRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_InviteHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InviteHostRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).InviteHost(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_InviteHost_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).InviteHost(ctx, req.(*InviteHostRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListBDLeaderBDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListBDLeaderBDsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListBDLeaderBDs(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListBDLeaderBDs_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListBDLeaderBDs(ctx, req.(*ListBDLeaderBDsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListBDLeaderAgencies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListBDLeaderAgenciesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListBDLeaderAgencies(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListBDLeaderAgencies_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListBDLeaderAgencies(ctx, req.(*ListBDLeaderAgenciesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListBDAgencies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListBDAgenciesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListBDAgencies(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListBDAgencies_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListBDAgencies(ctx, req.(*ListBDAgenciesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListManagerTeamAgencies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListManagerTeamAgenciesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListManagerTeamAgencies(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListManagerTeamAgencies_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListManagerTeamAgencies(ctx, req.(*ListManagerTeamAgenciesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListRoleInvitations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListRoleInvitationsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListRoleInvitations(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListRoleInvitations_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListRoleInvitations(ctx, req.(*ListRoleInvitationsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetRoleInvitation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetRoleInvitationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetRoleInvitation(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetRoleInvitation_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetRoleInvitation(ctx, req.(*GetRoleInvitationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ProcessRoleInvitation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ProcessRoleInvitationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ProcessRoleInvitation(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ProcessRoleInvitation_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ProcessRoleInvitation(ctx, req.(*ProcessRoleInvitationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetHostProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetHostProfileRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetHostProfile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetHostProfile_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetHostProfile(ctx, req.(*GetHostProfileRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_BatchGetHostProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(BatchGetHostProfilesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).BatchGetHostProfiles(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_BatchGetHostProfiles_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).BatchGetHostProfiles(ctx, req.(*BatchGetHostProfilesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetBDProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetBDProfileRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetBDProfile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetBDProfile_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetBDProfile(ctx, req.(*GetBDProfileRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetCoinSellerProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetCoinSellerProfileRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetCoinSellerProfile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetCoinSellerProfile_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetCoinSellerProfile(ctx, req.(*GetCoinSellerProfileRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListActiveCoinSellersInMyRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListActiveCoinSellersInMyRegionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListActiveCoinSellersInMyRegion(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListActiveCoinSellersInMyRegion_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListActiveCoinSellersInMyRegion(ctx, req.(*ListActiveCoinSellersInMyRegionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_CreateSubCoinSeller_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateSubCoinSellerRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).CreateSubCoinSeller(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_CreateSubCoinSeller_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).CreateSubCoinSeller(ctx, req.(*CreateSubCoinSellerRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_SubmitSubCoinSellerApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SubmitSubCoinSellerApplicationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).SubmitSubCoinSellerApplication(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_SubmitSubCoinSellerApplication_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).SubmitSubCoinSellerApplication(ctx, req.(*SubmitSubCoinSellerApplicationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_ListSubCoinSellers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListSubCoinSellersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).ListSubCoinSellers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_ListSubCoinSellers_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).ListSubCoinSellers(ctx, req.(*ListSubCoinSellersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_CheckCoinSellerSubRelation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CheckCoinSellerSubRelationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).CheckCoinSellerSubRelation(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_CheckCoinSellerSubRelation_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).CheckCoinSellerSubRelation(ctx, req.(*CheckCoinSellerSubRelationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetUserRoleSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetUserRoleSummaryRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetUserRoleSummary(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetUserRoleSummary_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetUserRoleSummary(ctx, req.(*GetUserRoleSummaryRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetAgency(ctx, req.(*GetAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_CheckBusinessCapability_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CheckBusinessCapabilityRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).CheckBusinessCapability(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_CheckBusinessCapability_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).CheckBusinessCapability(ctx, req.(*CheckBusinessCapabilityRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetRoleScopePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetRoleScopePolicyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetRoleScopePolicy(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetRoleScopePolicy_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetRoleScopePolicy(ctx, req.(*GetRoleScopePolicyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetAgencyMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetAgencyMembersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetAgencyMembers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetAgencyMembers_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetAgencyMembers(ctx, req.(*GetAgencyMembersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetAgencyApplications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetAgencyApplicationsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetAgencyApplications(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetAgencyApplications_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetAgencyApplications(ctx, req.(*GetAgencyApplicationsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_UpdateAgencyProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateAgencyProfileRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).UpdateAgencyProfile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_UpdateAgencyProfile_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).UpdateAgencyProfile(ctx, req.(*UpdateAgencyProfileRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_GetHostEngagementStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetHostEngagementStatsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).GetHostEngagementStats(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_GetHostEngagementStats_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).GetHostEngagementStats(ctx, req.(*GetHostEngagementStatsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostService_RecordPrivateMessageEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RecordPrivateMessageEventRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostServiceServer).RecordPrivateMessageEvent(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostService_RecordPrivateMessageEvent_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostServiceServer).RecordPrivateMessageEvent(ctx, req.(*RecordPrivateMessageEventRequest))
	}
	return interceptor(ctx, in, info, handler)
}

// UserHostService_ServiceDesc is the grpc.ServiceDesc for UserHostService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var UserHostService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hyapp.user.v1.UserHostService",
	HandlerType: (*UserHostServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SearchAgencies",
			Handler:    _UserHostService_SearchAgencies_Handler,
		},
		{
			MethodName: "ApplyToAgency",
			Handler:    _UserHostService_ApplyToAgency_Handler,
		},
		{
			MethodName: "ReviewAgencyApplication",
			Handler:    _UserHostService_ReviewAgencyApplication_Handler,
		},
		{
			MethodName: "KickAgencyHost",
			Handler:    _UserHostService_KickAgencyHost_Handler,
		},
		{
			MethodName: "InviteAgency",
			Handler:    _UserHostService_InviteAgency_Handler,
		},
		{
			MethodName: "InviteBD",
			Handler:    _UserHostService_InviteBD_Handler,
		},
		{
			MethodName: "InviteHost",
			Handler:    _UserHostService_InviteHost_Handler,
		},
		{
			MethodName: "ListBDLeaderBDs",
			Handler:    _UserHostService_ListBDLeaderBDs_Handler,
		},
		{
			MethodName: "ListBDLeaderAgencies",
			Handler:    _UserHostService_ListBDLeaderAgencies_Handler,
		},
		{
			MethodName: "ListBDAgencies",
			Handler:    _UserHostService_ListBDAgencies_Handler,
		},
		{
			MethodName: "ListManagerTeamAgencies",
			Handler:    _UserHostService_ListManagerTeamAgencies_Handler,
		},
		{
			MethodName: "ListRoleInvitations",
			Handler:    _UserHostService_ListRoleInvitations_Handler,
		},
		{
			MethodName: "GetRoleInvitation",
			Handler:    _UserHostService_GetRoleInvitation_Handler,
		},
		{
			MethodName: "ProcessRoleInvitation",
			Handler:    _UserHostService_ProcessRoleInvitation_Handler,
		},
		{
			MethodName: "GetHostProfile",
			Handler:    _UserHostService_GetHostProfile_Handler,
		},
		{
			MethodName: "BatchGetHostProfiles",
			Handler:    _UserHostService_BatchGetHostProfiles_Handler,
		},
		{
			MethodName: "GetBDProfile",
			Handler:    _UserHostService_GetBDProfile_Handler,
		},
		{
			MethodName: "GetCoinSellerProfile",
			Handler:    _UserHostService_GetCoinSellerProfile_Handler,
		},
		{
			MethodName: "ListActiveCoinSellersInMyRegion",
			Handler:    _UserHostService_ListActiveCoinSellersInMyRegion_Handler,
		},
		{
			MethodName: "CreateSubCoinSeller",
			Handler:    _UserHostService_CreateSubCoinSeller_Handler,
		},
		{
			MethodName: "SubmitSubCoinSellerApplication",
			Handler:    _UserHostService_SubmitSubCoinSellerApplication_Handler,
		},
		{
			MethodName: "ListSubCoinSellers",
			Handler:    _UserHostService_ListSubCoinSellers_Handler,
		},
		{
			MethodName: "CheckCoinSellerSubRelation",
			Handler:    _UserHostService_CheckCoinSellerSubRelation_Handler,
		},
		{
			MethodName: "GetUserRoleSummary",
			Handler:    _UserHostService_GetUserRoleSummary_Handler,
		},
		{
			MethodName: "GetAgency",
			Handler:    _UserHostService_GetAgency_Handler,
		},
		{
			MethodName: "CheckBusinessCapability",
			Handler:    _UserHostService_CheckBusinessCapability_Handler,
		},
		{
			MethodName: "GetRoleScopePolicy",
			Handler:    _UserHostService_GetRoleScopePolicy_Handler,
		},
		{
			MethodName: "GetAgencyMembers",
			Handler:    _UserHostService_GetAgencyMembers_Handler,
		},
		{
			MethodName: "GetAgencyApplications",
			Handler:    _UserHostService_GetAgencyApplications_Handler,
		},
		{
			MethodName: "UpdateAgencyProfile",
			Handler:    _UserHostService_UpdateAgencyProfile_Handler,
		},
		{
			MethodName: "GetHostEngagementStats",
			Handler:    _UserHostService_GetHostEngagementStats_Handler,
		},
		{
			MethodName: "RecordPrivateMessageEvent",
			Handler:    _UserHostService_RecordPrivateMessageEvent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/user/v1/host.proto",
}

const (
	UserHostAdminService_UpdateRoleScopePolicies_FullMethodName           = "/hyapp.user.v1.UserHostAdminService/UpdateRoleScopePolicies"
	UserHostAdminService_CreateBDLeader_FullMethodName                    = "/hyapp.user.v1.UserHostAdminService/CreateBDLeader"
	UserHostAdminService_CreateBD_FullMethodName                          = "/hyapp.user.v1.UserHostAdminService/CreateBD"
	UserHostAdminService_SetBDStatus_FullMethodName                       = "/hyapp.user.v1.UserHostAdminService/SetBDStatus"
	UserHostAdminService_CreateCoinSeller_FullMethodName                  = "/hyapp.user.v1.UserHostAdminService/CreateCoinSeller"
	UserHostAdminService_SetCoinSellerStatus_FullMethodName               = "/hyapp.user.v1.UserHostAdminService/SetCoinSellerStatus"
	UserHostAdminService_ReviewSubCoinSellerApplication_FullMethodName    = "/hyapp.user.v1.UserHostAdminService/ReviewSubCoinSellerApplication"
	UserHostAdminService_CreateAgency_FullMethodName                      = "/hyapp.user.v1.UserHostAdminService/CreateAgency"
	UserHostAdminService_AdminAddAgencyHost_FullMethodName                = "/hyapp.user.v1.UserHostAdminService/AdminAddAgencyHost"
	UserHostAdminService_CloseAgency_FullMethodName                       = "/hyapp.user.v1.UserHostAdminService/CloseAgency"
	UserHostAdminService_DeleteAgency_FullMethodName                      = "/hyapp.user.v1.UserHostAdminService/DeleteAgency"
	UserHostAdminService_SetAgencyStatus_FullMethodName                   = "/hyapp.user.v1.UserHostAdminService/SetAgencyStatus"
	UserHostAdminService_SetAgencyJoinEnabled_FullMethodName              = "/hyapp.user.v1.UserHostAdminService/SetAgencyJoinEnabled"
	UserHostAdminService_ExternalInviteBD_FullMethodName                  = "/hyapp.user.v1.UserHostAdminService/ExternalInviteBD"
	UserHostAdminService_ExternalInviteAgency_FullMethodName              = "/hyapp.user.v1.UserHostAdminService/ExternalInviteAgency"
	UserHostAdminService_ExternalInviteHost_FullMethodName                = "/hyapp.user.v1.UserHostAdminService/ExternalInviteHost"
	UserHostAdminService_ListExternalTeamUsers_FullMethodName             = "/hyapp.user.v1.UserHostAdminService/ListExternalTeamUsers"
	UserHostAdminService_SearchExternalInvitationCandidate_FullMethodName = "/hyapp.user.v1.UserHostAdminService/SearchExternalInvitationCandidate"
)

// UserHostAdminServiceClient is the client API for UserHostAdminService 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.
//
// UserHostAdminService 是后台关系管理入口；公网 admin 鉴权由 admin-server 承担。
type UserHostAdminServiceClient interface {
	// UpdateRoleScopePolicies 是后台修改角色范围的唯一写入口，配置事实归 user DB 所有。
	UpdateRoleScopePolicies(ctx context.Context, in *UpdateRoleScopePoliciesRequest, opts ...grpc.CallOption) (*UpdateRoleScopePoliciesResponse, error)
	CreateBDLeader(ctx context.Context, in *CreateBDLeaderRequest, opts ...grpc.CallOption) (*CreateBDLeaderResponse, error)
	CreateBD(ctx context.Context, in *CreateBDRequest, opts ...grpc.CallOption) (*CreateBDResponse, error)
	SetBDStatus(ctx context.Context, in *SetBDStatusRequest, opts ...grpc.CallOption) (*SetBDStatusResponse, error)
	CreateCoinSeller(ctx context.Context, in *CreateCoinSellerRequest, opts ...grpc.CallOption) (*CreateCoinSellerResponse, error)
	SetCoinSellerStatus(ctx context.Context, in *SetCoinSellerStatusRequest, opts ...grpc.CallOption) (*SetCoinSellerStatusResponse, error)
	ReviewSubCoinSellerApplication(ctx context.Context, in *ReviewSubCoinSellerApplicationRequest, opts ...grpc.CallOption) (*ReviewSubCoinSellerApplicationResponse, error)
	CreateAgency(ctx context.Context, in *CreateAgencyRequest, opts ...grpc.CallOption) (*CreateAgencyResponse, error)
	AdminAddAgencyHost(ctx context.Context, in *AdminAddAgencyHostRequest, opts ...grpc.CallOption) (*AdminAddAgencyHostResponse, error)
	CloseAgency(ctx context.Context, in *CloseAgencyRequest, opts ...grpc.CallOption) (*CloseAgencyResponse, error)
	DeleteAgency(ctx context.Context, in *DeleteAgencyRequest, opts ...grpc.CallOption) (*DeleteAgencyResponse, error)
	SetAgencyStatus(ctx context.Context, in *SetAgencyStatusRequest, opts ...grpc.CallOption) (*SetAgencyStatusResponse, error)
	SetAgencyJoinEnabled(ctx context.Context, in *SetAgencyJoinEnabledRequest, opts ...grpc.CallOption) (*SetAgencyJoinEnabledResponse, error)
	// ExternalInvite* 是外管平台唯一邀请入口；区域和所选父级在 user-service 事务内重验。
	ExternalInviteBD(ctx context.Context, in *ExternalInviteBDRequest, opts ...grpc.CallOption) (*ExternalInviteBDResponse, error)
	ExternalInviteAgency(ctx context.Context, in *ExternalInviteAgencyRequest, opts ...grpc.CallOption) (*ExternalInviteAgencyResponse, error)
	ExternalInviteHost(ctx context.Context, in *ExternalInviteHostRequest, opts ...grpc.CallOption) (*ExternalInviteHostResponse, error)
	// 团队 scope 为空或 region_id 无效时 fail-closed，不会退化成全 App 列表。
	ListExternalTeamUsers(ctx context.Context, in *ListExternalTeamUsersRequest, opts ...grpc.CallOption) (*ListExternalTeamUsersResponse, error)
	SearchExternalInvitationCandidate(ctx context.Context, in *SearchExternalInvitationCandidateRequest, opts ...grpc.CallOption) (*SearchExternalInvitationCandidateResponse, error)
}

type userHostAdminServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewUserHostAdminServiceClient(cc grpc.ClientConnInterface) UserHostAdminServiceClient {
	return &userHostAdminServiceClient{cc}
}

func (c *userHostAdminServiceClient) UpdateRoleScopePolicies(ctx context.Context, in *UpdateRoleScopePoliciesRequest, opts ...grpc.CallOption) (*UpdateRoleScopePoliciesResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(UpdateRoleScopePoliciesResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_UpdateRoleScopePolicies_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) CreateBDLeader(ctx context.Context, in *CreateBDLeaderRequest, opts ...grpc.CallOption) (*CreateBDLeaderResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CreateBDLeaderResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_CreateBDLeader_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) CreateBD(ctx context.Context, in *CreateBDRequest, opts ...grpc.CallOption) (*CreateBDResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CreateBDResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_CreateBD_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) SetBDStatus(ctx context.Context, in *SetBDStatusRequest, opts ...grpc.CallOption) (*SetBDStatusResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SetBDStatusResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_SetBDStatus_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) CreateCoinSeller(ctx context.Context, in *CreateCoinSellerRequest, opts ...grpc.CallOption) (*CreateCoinSellerResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CreateCoinSellerResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_CreateCoinSeller_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) SetCoinSellerStatus(ctx context.Context, in *SetCoinSellerStatusRequest, opts ...grpc.CallOption) (*SetCoinSellerStatusResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SetCoinSellerStatusResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_SetCoinSellerStatus_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) ReviewSubCoinSellerApplication(ctx context.Context, in *ReviewSubCoinSellerApplicationRequest, opts ...grpc.CallOption) (*ReviewSubCoinSellerApplicationResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ReviewSubCoinSellerApplicationResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_ReviewSubCoinSellerApplication_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) CreateAgency(ctx context.Context, in *CreateAgencyRequest, opts ...grpc.CallOption) (*CreateAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CreateAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_CreateAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) AdminAddAgencyHost(ctx context.Context, in *AdminAddAgencyHostRequest, opts ...grpc.CallOption) (*AdminAddAgencyHostResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(AdminAddAgencyHostResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_AdminAddAgencyHost_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) CloseAgency(ctx context.Context, in *CloseAgencyRequest, opts ...grpc.CallOption) (*CloseAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(CloseAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_CloseAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) DeleteAgency(ctx context.Context, in *DeleteAgencyRequest, opts ...grpc.CallOption) (*DeleteAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(DeleteAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_DeleteAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) SetAgencyStatus(ctx context.Context, in *SetAgencyStatusRequest, opts ...grpc.CallOption) (*SetAgencyStatusResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SetAgencyStatusResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_SetAgencyStatus_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) SetAgencyJoinEnabled(ctx context.Context, in *SetAgencyJoinEnabledRequest, opts ...grpc.CallOption) (*SetAgencyJoinEnabledResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SetAgencyJoinEnabledResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_SetAgencyJoinEnabled_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) ExternalInviteBD(ctx context.Context, in *ExternalInviteBDRequest, opts ...grpc.CallOption) (*ExternalInviteBDResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ExternalInviteBDResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_ExternalInviteBD_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) ExternalInviteAgency(ctx context.Context, in *ExternalInviteAgencyRequest, opts ...grpc.CallOption) (*ExternalInviteAgencyResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ExternalInviteAgencyResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_ExternalInviteAgency_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) ExternalInviteHost(ctx context.Context, in *ExternalInviteHostRequest, opts ...grpc.CallOption) (*ExternalInviteHostResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ExternalInviteHostResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_ExternalInviteHost_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) ListExternalTeamUsers(ctx context.Context, in *ListExternalTeamUsersRequest, opts ...grpc.CallOption) (*ListExternalTeamUsersResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListExternalTeamUsersResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_ListExternalTeamUsers_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userHostAdminServiceClient) SearchExternalInvitationCandidate(ctx context.Context, in *SearchExternalInvitationCandidateRequest, opts ...grpc.CallOption) (*SearchExternalInvitationCandidateResponse, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(SearchExternalInvitationCandidateResponse)
	err := c.cc.Invoke(ctx, UserHostAdminService_SearchExternalInvitationCandidate_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// UserHostAdminServiceServer is the server API for UserHostAdminService service.
// All implementations must embed UnimplementedUserHostAdminServiceServer
// for forward compatibility.
//
// UserHostAdminService 是后台关系管理入口；公网 admin 鉴权由 admin-server 承担。
type UserHostAdminServiceServer interface {
	// UpdateRoleScopePolicies 是后台修改角色范围的唯一写入口，配置事实归 user DB 所有。
	UpdateRoleScopePolicies(context.Context, *UpdateRoleScopePoliciesRequest) (*UpdateRoleScopePoliciesResponse, error)
	CreateBDLeader(context.Context, *CreateBDLeaderRequest) (*CreateBDLeaderResponse, error)
	CreateBD(context.Context, *CreateBDRequest) (*CreateBDResponse, error)
	SetBDStatus(context.Context, *SetBDStatusRequest) (*SetBDStatusResponse, error)
	CreateCoinSeller(context.Context, *CreateCoinSellerRequest) (*CreateCoinSellerResponse, error)
	SetCoinSellerStatus(context.Context, *SetCoinSellerStatusRequest) (*SetCoinSellerStatusResponse, error)
	ReviewSubCoinSellerApplication(context.Context, *ReviewSubCoinSellerApplicationRequest) (*ReviewSubCoinSellerApplicationResponse, error)
	CreateAgency(context.Context, *CreateAgencyRequest) (*CreateAgencyResponse, error)
	AdminAddAgencyHost(context.Context, *AdminAddAgencyHostRequest) (*AdminAddAgencyHostResponse, error)
	CloseAgency(context.Context, *CloseAgencyRequest) (*CloseAgencyResponse, error)
	DeleteAgency(context.Context, *DeleteAgencyRequest) (*DeleteAgencyResponse, error)
	SetAgencyStatus(context.Context, *SetAgencyStatusRequest) (*SetAgencyStatusResponse, error)
	SetAgencyJoinEnabled(context.Context, *SetAgencyJoinEnabledRequest) (*SetAgencyJoinEnabledResponse, error)
	// ExternalInvite* 是外管平台唯一邀请入口；区域和所选父级在 user-service 事务内重验。
	ExternalInviteBD(context.Context, *ExternalInviteBDRequest) (*ExternalInviteBDResponse, error)
	ExternalInviteAgency(context.Context, *ExternalInviteAgencyRequest) (*ExternalInviteAgencyResponse, error)
	ExternalInviteHost(context.Context, *ExternalInviteHostRequest) (*ExternalInviteHostResponse, error)
	// 团队 scope 为空或 region_id 无效时 fail-closed，不会退化成全 App 列表。
	ListExternalTeamUsers(context.Context, *ListExternalTeamUsersRequest) (*ListExternalTeamUsersResponse, error)
	SearchExternalInvitationCandidate(context.Context, *SearchExternalInvitationCandidateRequest) (*SearchExternalInvitationCandidateResponse, error)
	mustEmbedUnimplementedUserHostAdminServiceServer()
}

// UnimplementedUserHostAdminServiceServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedUserHostAdminServiceServer struct{}

func (UnimplementedUserHostAdminServiceServer) UpdateRoleScopePolicies(context.Context, *UpdateRoleScopePoliciesRequest) (*UpdateRoleScopePoliciesResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method UpdateRoleScopePolicies not implemented")
}
func (UnimplementedUserHostAdminServiceServer) CreateBDLeader(context.Context, *CreateBDLeaderRequest) (*CreateBDLeaderResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CreateBDLeader not implemented")
}
func (UnimplementedUserHostAdminServiceServer) CreateBD(context.Context, *CreateBDRequest) (*CreateBDResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CreateBD not implemented")
}
func (UnimplementedUserHostAdminServiceServer) SetBDStatus(context.Context, *SetBDStatusRequest) (*SetBDStatusResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SetBDStatus not implemented")
}
func (UnimplementedUserHostAdminServiceServer) CreateCoinSeller(context.Context, *CreateCoinSellerRequest) (*CreateCoinSellerResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CreateCoinSeller not implemented")
}
func (UnimplementedUserHostAdminServiceServer) SetCoinSellerStatus(context.Context, *SetCoinSellerStatusRequest) (*SetCoinSellerStatusResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SetCoinSellerStatus not implemented")
}
func (UnimplementedUserHostAdminServiceServer) ReviewSubCoinSellerApplication(context.Context, *ReviewSubCoinSellerApplicationRequest) (*ReviewSubCoinSellerApplicationResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ReviewSubCoinSellerApplication not implemented")
}
func (UnimplementedUserHostAdminServiceServer) CreateAgency(context.Context, *CreateAgencyRequest) (*CreateAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CreateAgency not implemented")
}
func (UnimplementedUserHostAdminServiceServer) AdminAddAgencyHost(context.Context, *AdminAddAgencyHostRequest) (*AdminAddAgencyHostResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method AdminAddAgencyHost not implemented")
}
func (UnimplementedUserHostAdminServiceServer) CloseAgency(context.Context, *CloseAgencyRequest) (*CloseAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method CloseAgency not implemented")
}
func (UnimplementedUserHostAdminServiceServer) DeleteAgency(context.Context, *DeleteAgencyRequest) (*DeleteAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method DeleteAgency not implemented")
}
func (UnimplementedUserHostAdminServiceServer) SetAgencyStatus(context.Context, *SetAgencyStatusRequest) (*SetAgencyStatusResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SetAgencyStatus not implemented")
}
func (UnimplementedUserHostAdminServiceServer) SetAgencyJoinEnabled(context.Context, *SetAgencyJoinEnabledRequest) (*SetAgencyJoinEnabledResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SetAgencyJoinEnabled not implemented")
}
func (UnimplementedUserHostAdminServiceServer) ExternalInviteBD(context.Context, *ExternalInviteBDRequest) (*ExternalInviteBDResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ExternalInviteBD not implemented")
}
func (UnimplementedUserHostAdminServiceServer) ExternalInviteAgency(context.Context, *ExternalInviteAgencyRequest) (*ExternalInviteAgencyResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ExternalInviteAgency not implemented")
}
func (UnimplementedUserHostAdminServiceServer) ExternalInviteHost(context.Context, *ExternalInviteHostRequest) (*ExternalInviteHostResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ExternalInviteHost not implemented")
}
func (UnimplementedUserHostAdminServiceServer) ListExternalTeamUsers(context.Context, *ListExternalTeamUsersRequest) (*ListExternalTeamUsersResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method ListExternalTeamUsers not implemented")
}
func (UnimplementedUserHostAdminServiceServer) SearchExternalInvitationCandidate(context.Context, *SearchExternalInvitationCandidateRequest) (*SearchExternalInvitationCandidateResponse, error) {
	return nil, status.Error(codes.Unimplemented, "method SearchExternalInvitationCandidate not implemented")
}
func (UnimplementedUserHostAdminServiceServer) mustEmbedUnimplementedUserHostAdminServiceServer() {}
func (UnimplementedUserHostAdminServiceServer) testEmbeddedByValue()                              {}

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

func RegisterUserHostAdminServiceServer(s grpc.ServiceRegistrar, srv UserHostAdminServiceServer) {
	// If the following call panics, it indicates UnimplementedUserHostAdminServiceServer was
	// embedded by pointer and is nil.  This will cause panics if an
	// unimplemented method is ever invoked, so we test this at initialization
	// time to prevent it from happening at runtime later due to I/O.
	if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
		t.testEmbeddedByValue()
	}
	s.RegisterService(&UserHostAdminService_ServiceDesc, srv)
}

func _UserHostAdminService_UpdateRoleScopePolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateRoleScopePoliciesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).UpdateRoleScopePolicies(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_UpdateRoleScopePolicies_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).UpdateRoleScopePolicies(ctx, req.(*UpdateRoleScopePoliciesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_CreateBDLeader_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateBDLeaderRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).CreateBDLeader(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_CreateBDLeader_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).CreateBDLeader(ctx, req.(*CreateBDLeaderRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_CreateBD_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateBDRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).CreateBD(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_CreateBD_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).CreateBD(ctx, req.(*CreateBDRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_SetBDStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetBDStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).SetBDStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_SetBDStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).SetBDStatus(ctx, req.(*SetBDStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_CreateCoinSeller_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateCoinSellerRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).CreateCoinSeller(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_CreateCoinSeller_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).CreateCoinSeller(ctx, req.(*CreateCoinSellerRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_SetCoinSellerStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetCoinSellerStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).SetCoinSellerStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_SetCoinSellerStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).SetCoinSellerStatus(ctx, req.(*SetCoinSellerStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_ReviewSubCoinSellerApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ReviewSubCoinSellerApplicationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).ReviewSubCoinSellerApplication(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_ReviewSubCoinSellerApplication_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).ReviewSubCoinSellerApplication(ctx, req.(*ReviewSubCoinSellerApplicationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_CreateAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).CreateAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_CreateAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).CreateAgency(ctx, req.(*CreateAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_AdminAddAgencyHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AdminAddAgencyHostRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).AdminAddAgencyHost(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_AdminAddAgencyHost_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).AdminAddAgencyHost(ctx, req.(*AdminAddAgencyHostRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_CloseAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CloseAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).CloseAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_CloseAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).CloseAgency(ctx, req.(*CloseAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_DeleteAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).DeleteAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_DeleteAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).DeleteAgency(ctx, req.(*DeleteAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_SetAgencyStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetAgencyStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).SetAgencyStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_SetAgencyStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).SetAgencyStatus(ctx, req.(*SetAgencyStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_SetAgencyJoinEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetAgencyJoinEnabledRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).SetAgencyJoinEnabled(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_SetAgencyJoinEnabled_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).SetAgencyJoinEnabled(ctx, req.(*SetAgencyJoinEnabledRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_ExternalInviteBD_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ExternalInviteBDRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).ExternalInviteBD(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_ExternalInviteBD_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).ExternalInviteBD(ctx, req.(*ExternalInviteBDRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_ExternalInviteAgency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ExternalInviteAgencyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).ExternalInviteAgency(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_ExternalInviteAgency_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).ExternalInviteAgency(ctx, req.(*ExternalInviteAgencyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_ExternalInviteHost_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ExternalInviteHostRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).ExternalInviteHost(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_ExternalInviteHost_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).ExternalInviteHost(ctx, req.(*ExternalInviteHostRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_ListExternalTeamUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListExternalTeamUsersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).ListExternalTeamUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_ListExternalTeamUsers_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).ListExternalTeamUsers(ctx, req.(*ListExternalTeamUsersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserHostAdminService_SearchExternalInvitationCandidate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SearchExternalInvitationCandidateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserHostAdminServiceServer).SearchExternalInvitationCandidate(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: UserHostAdminService_SearchExternalInvitationCandidate_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserHostAdminServiceServer).SearchExternalInvitationCandidate(ctx, req.(*SearchExternalInvitationCandidateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

// UserHostAdminService_ServiceDesc is the grpc.ServiceDesc for UserHostAdminService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var UserHostAdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hyapp.user.v1.UserHostAdminService",
	HandlerType: (*UserHostAdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateRoleScopePolicies",
			Handler:    _UserHostAdminService_UpdateRoleScopePolicies_Handler,
		},
		{
			MethodName: "CreateBDLeader",
			Handler:    _UserHostAdminService_CreateBDLeader_Handler,
		},
		{
			MethodName: "CreateBD",
			Handler:    _UserHostAdminService_CreateBD_Handler,
		},
		{
			MethodName: "SetBDStatus",
			Handler:    _UserHostAdminService_SetBDStatus_Handler,
		},
		{
			MethodName: "CreateCoinSeller",
			Handler:    _UserHostAdminService_CreateCoinSeller_Handler,
		},
		{
			MethodName: "SetCoinSellerStatus",
			Handler:    _UserHostAdminService_SetCoinSellerStatus_Handler,
		},
		{
			MethodName: "ReviewSubCoinSellerApplication",
			Handler:    _UserHostAdminService_ReviewSubCoinSellerApplication_Handler,
		},
		{
			MethodName: "CreateAgency",
			Handler:    _UserHostAdminService_CreateAgency_Handler,
		},
		{
			MethodName: "AdminAddAgencyHost",
			Handler:    _UserHostAdminService_AdminAddAgencyHost_Handler,
		},
		{
			MethodName: "CloseAgency",
			Handler:    _UserHostAdminService_CloseAgency_Handler,
		},
		{
			MethodName: "DeleteAgency",
			Handler:    _UserHostAdminService_DeleteAgency_Handler,
		},
		{
			MethodName: "SetAgencyStatus",
			Handler:    _UserHostAdminService_SetAgencyStatus_Handler,
		},
		{
			MethodName: "SetAgencyJoinEnabled",
			Handler:    _UserHostAdminService_SetAgencyJoinEnabled_Handler,
		},
		{
			MethodName: "ExternalInviteBD",
			Handler:    _UserHostAdminService_ExternalInviteBD_Handler,
		},
		{
			MethodName: "ExternalInviteAgency",
			Handler:    _UserHostAdminService_ExternalInviteAgency_Handler,
		},
		{
			MethodName: "ExternalInviteHost",
			Handler:    _UserHostAdminService_ExternalInviteHost_Handler,
		},
		{
			MethodName: "ListExternalTeamUsers",
			Handler:    _UserHostAdminService_ListExternalTeamUsers_Handler,
		},
		{
			MethodName: "SearchExternalInvitationCandidate",
			Handler:    _UserHostAdminService_SearchExternalInvitationCandidate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/user/v1/host.proto",
}
