// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc             (unknown)
// source: central/service.proto

package central

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
)

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

// AuthServiceClient is the client API for AuthService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type AuthServiceClient interface {
	Meta(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MetaData, error)
	VerifyEmailPassword(ctx context.Context, in *VerifyEmailPasswordReq, opts ...grpc.CallOption) (*VerifyEmailPasswordRsp, error)
	VerifyOtpCode(ctx context.Context, in *VerifyOtpCodeReq, opts ...grpc.CallOption) (*VerifyRsp, error)
	VerifyRecoveryCode(ctx context.Context, in *VerifyRecoveryCodeReq, opts ...grpc.CallOption) (*VerifyRsp, error)
	StartEnableMFA(ctx context.Context, in *StartEnableMFAReq, opts ...grpc.CallOption) (*StartEnableMFARsp, error)
	ConfirmMfaAuthenticators(ctx context.Context, in *ConfirmMfaAuthenticatorsReq, opts ...grpc.CallOption) (*VerifyRsp, error)
	DisableMFA(ctx context.Context, in *DisableMfaReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type authServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient {
	return &authServiceClient{cc}
}

func (c *authServiceClient) Meta(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MetaData, error) {
	out := new(MetaData)
	err := c.cc.Invoke(ctx, "/central.AuthService/Meta", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *authServiceClient) VerifyEmailPassword(ctx context.Context, in *VerifyEmailPasswordReq, opts ...grpc.CallOption) (*VerifyEmailPasswordRsp, error) {
	out := new(VerifyEmailPasswordRsp)
	err := c.cc.Invoke(ctx, "/central.AuthService/VerifyEmailPassword", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *authServiceClient) VerifyOtpCode(ctx context.Context, in *VerifyOtpCodeReq, opts ...grpc.CallOption) (*VerifyRsp, error) {
	out := new(VerifyRsp)
	err := c.cc.Invoke(ctx, "/central.AuthService/VerifyOtpCode", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *authServiceClient) VerifyRecoveryCode(ctx context.Context, in *VerifyRecoveryCodeReq, opts ...grpc.CallOption) (*VerifyRsp, error) {
	out := new(VerifyRsp)
	err := c.cc.Invoke(ctx, "/central.AuthService/VerifyRecoveryCode", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *authServiceClient) StartEnableMFA(ctx context.Context, in *StartEnableMFAReq, opts ...grpc.CallOption) (*StartEnableMFARsp, error) {
	out := new(StartEnableMFARsp)
	err := c.cc.Invoke(ctx, "/central.AuthService/StartEnableMFA", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *authServiceClient) ConfirmMfaAuthenticators(ctx context.Context, in *ConfirmMfaAuthenticatorsReq, opts ...grpc.CallOption) (*VerifyRsp, error) {
	out := new(VerifyRsp)
	err := c.cc.Invoke(ctx, "/central.AuthService/ConfirmMfaAuthenticators", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *authServiceClient) DisableMFA(ctx context.Context, in *DisableMfaReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.AuthService/DisableMFA", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// AuthServiceServer is the server API for AuthService service.
// All implementations must embed UnimplementedAuthServiceServer
// for forward compatibility
type AuthServiceServer interface {
	Meta(context.Context, *emptypb.Empty) (*MetaData, error)
	VerifyEmailPassword(context.Context, *VerifyEmailPasswordReq) (*VerifyEmailPasswordRsp, error)
	VerifyOtpCode(context.Context, *VerifyOtpCodeReq) (*VerifyRsp, error)
	VerifyRecoveryCode(context.Context, *VerifyRecoveryCodeReq) (*VerifyRsp, error)
	StartEnableMFA(context.Context, *StartEnableMFAReq) (*StartEnableMFARsp, error)
	ConfirmMfaAuthenticators(context.Context, *ConfirmMfaAuthenticatorsReq) (*VerifyRsp, error)
	DisableMFA(context.Context, *DisableMfaReq) (*emptypb.Empty, error)
	mustEmbedUnimplementedAuthServiceServer()
}

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

func (UnimplementedAuthServiceServer) Meta(context.Context, *emptypb.Empty) (*MetaData, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Meta not implemented")
}
func (UnimplementedAuthServiceServer) VerifyEmailPassword(context.Context, *VerifyEmailPasswordReq) (*VerifyEmailPasswordRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method VerifyEmailPassword not implemented")
}
func (UnimplementedAuthServiceServer) VerifyOtpCode(context.Context, *VerifyOtpCodeReq) (*VerifyRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method VerifyOtpCode not implemented")
}
func (UnimplementedAuthServiceServer) VerifyRecoveryCode(context.Context, *VerifyRecoveryCodeReq) (*VerifyRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method VerifyRecoveryCode not implemented")
}
func (UnimplementedAuthServiceServer) StartEnableMFA(context.Context, *StartEnableMFAReq) (*StartEnableMFARsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method StartEnableMFA not implemented")
}
func (UnimplementedAuthServiceServer) ConfirmMfaAuthenticators(context.Context, *ConfirmMfaAuthenticatorsReq) (*VerifyRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ConfirmMfaAuthenticators not implemented")
}
func (UnimplementedAuthServiceServer) DisableMFA(context.Context, *DisableMfaReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DisableMFA not implemented")
}
func (UnimplementedAuthServiceServer) mustEmbedUnimplementedAuthServiceServer() {}

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

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer) {
	s.RegisterService(&AuthService_ServiceDesc, srv)
}

func _AuthService_Meta_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).Meta(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/Meta",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).Meta(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuthService_VerifyEmailPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VerifyEmailPasswordReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).VerifyEmailPassword(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/VerifyEmailPassword",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).VerifyEmailPassword(ctx, req.(*VerifyEmailPasswordReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuthService_VerifyOtpCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VerifyOtpCodeReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).VerifyOtpCode(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/VerifyOtpCode",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).VerifyOtpCode(ctx, req.(*VerifyOtpCodeReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuthService_VerifyRecoveryCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VerifyRecoveryCodeReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).VerifyRecoveryCode(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/VerifyRecoveryCode",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).VerifyRecoveryCode(ctx, req.(*VerifyRecoveryCodeReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuthService_StartEnableMFA_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(StartEnableMFAReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).StartEnableMFA(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/StartEnableMFA",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).StartEnableMFA(ctx, req.(*StartEnableMFAReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuthService_ConfirmMfaAuthenticators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ConfirmMfaAuthenticatorsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).ConfirmMfaAuthenticators(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/ConfirmMfaAuthenticators",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).ConfirmMfaAuthenticators(ctx, req.(*ConfirmMfaAuthenticatorsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuthService_DisableMFA_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DisableMfaReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuthServiceServer).DisableMFA(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuthService/DisableMFA",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuthServiceServer).DisableMFA(ctx, req.(*DisableMfaReq))
	}
	return interceptor(ctx, in, info, handler)
}

// AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var AuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.AuthService",
	HandlerType: (*AuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Meta",
			Handler:    _AuthService_Meta_Handler,
		},
		{
			MethodName: "VerifyEmailPassword",
			Handler:    _AuthService_VerifyEmailPassword_Handler,
		},
		{
			MethodName: "VerifyOtpCode",
			Handler:    _AuthService_VerifyOtpCode_Handler,
		},
		{
			MethodName: "VerifyRecoveryCode",
			Handler:    _AuthService_VerifyRecoveryCode_Handler,
		},
		{
			MethodName: "StartEnableMFA",
			Handler:    _AuthService_StartEnableMFA_Handler,
		},
		{
			MethodName: "ConfirmMfaAuthenticators",
			Handler:    _AuthService_ConfirmMfaAuthenticators_Handler,
		},
		{
			MethodName: "DisableMFA",
			Handler:    _AuthService_DisableMFA_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// AuditLogServiceClient is the client API for AuditLogService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type AuditLogServiceClient interface {
	CreateAuditLog(ctx context.Context, in *CreateAuditLogReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Auth0AuditLog(ctx context.Context, in *Auth0AuditLogReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	PaymentMethodAuditLog(ctx context.Context, in *PaymentMethodAuditLogReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type auditLogServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewAuditLogServiceClient(cc grpc.ClientConnInterface) AuditLogServiceClient {
	return &auditLogServiceClient{cc}
}

func (c *auditLogServiceClient) CreateAuditLog(ctx context.Context, in *CreateAuditLogReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.AuditLogService/CreateAuditLog", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *auditLogServiceClient) Auth0AuditLog(ctx context.Context, in *Auth0AuditLogReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.AuditLogService/Auth0AuditLog", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *auditLogServiceClient) PaymentMethodAuditLog(ctx context.Context, in *PaymentMethodAuditLogReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.AuditLogService/PaymentMethodAuditLog", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// AuditLogServiceServer is the server API for AuditLogService service.
// All implementations must embed UnimplementedAuditLogServiceServer
// for forward compatibility
type AuditLogServiceServer interface {
	CreateAuditLog(context.Context, *CreateAuditLogReq) (*emptypb.Empty, error)
	Auth0AuditLog(context.Context, *Auth0AuditLogReq) (*emptypb.Empty, error)
	PaymentMethodAuditLog(context.Context, *PaymentMethodAuditLogReq) (*emptypb.Empty, error)
	mustEmbedUnimplementedAuditLogServiceServer()
}

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

func (UnimplementedAuditLogServiceServer) CreateAuditLog(context.Context, *CreateAuditLogReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateAuditLog not implemented")
}
func (UnimplementedAuditLogServiceServer) Auth0AuditLog(context.Context, *Auth0AuditLogReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Auth0AuditLog not implemented")
}
func (UnimplementedAuditLogServiceServer) PaymentMethodAuditLog(context.Context, *PaymentMethodAuditLogReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method PaymentMethodAuditLog not implemented")
}
func (UnimplementedAuditLogServiceServer) mustEmbedUnimplementedAuditLogServiceServer() {}

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

func RegisterAuditLogServiceServer(s grpc.ServiceRegistrar, srv AuditLogServiceServer) {
	s.RegisterService(&AuditLogService_ServiceDesc, srv)
}

func _AuditLogService_CreateAuditLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateAuditLogReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuditLogServiceServer).CreateAuditLog(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuditLogService/CreateAuditLog",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuditLogServiceServer).CreateAuditLog(ctx, req.(*CreateAuditLogReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuditLogService_Auth0AuditLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(Auth0AuditLogReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuditLogServiceServer).Auth0AuditLog(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuditLogService/Auth0AuditLog",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuditLogServiceServer).Auth0AuditLog(ctx, req.(*Auth0AuditLogReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _AuditLogService_PaymentMethodAuditLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(PaymentMethodAuditLogReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AuditLogServiceServer).PaymentMethodAuditLog(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.AuditLogService/PaymentMethodAuditLog",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AuditLogServiceServer).PaymentMethodAuditLog(ctx, req.(*PaymentMethodAuditLogReq))
	}
	return interceptor(ctx, in, info, handler)
}

// AuditLogService_ServiceDesc is the grpc.ServiceDesc for AuditLogService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var AuditLogService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.AuditLogService",
	HandlerType: (*AuditLogServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAuditLog",
			Handler:    _AuditLogService_CreateAuditLog_Handler,
		},
		{
			MethodName: "Auth0AuditLog",
			Handler:    _AuditLogService_Auth0AuditLog_Handler,
		},
		{
			MethodName: "PaymentMethodAuditLog",
			Handler:    _AuditLogService_PaymentMethodAuditLog_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// TenantServiceClient is the client API for TenantService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type TenantServiceClient interface {
	OrgBindThirdParty(ctx context.Context, in *OrgBindThirdPartyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ValidateThirdPartyToken(ctx context.Context, in *ValidateThirdPartyTokenReq, opts ...grpc.CallOption) (*ValidateThirdPartyTokenResponse, error)
	CreatePocApplication(ctx context.Context, in *CreatePocApplicationReq, opts ...grpc.CallOption) (*CreatePocApplicationResp, error)
	// submit  register request
	Registration(ctx context.Context, in *RegistrationReq, opts ...grpc.CallOption) (*DefaultResp, error)
	SendVerificationEmail(ctx context.Context, in *SendVerificationEmailReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListOrganizations(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OrganizationList, error)
	UpdateOrganization(ctx context.Context, in *UpdateOrgReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AcknowledgeCNPolicy(ctx context.Context, in *AcknowledgeCNPolicyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListUsers(ctx context.Context, in *ListUsersReq, opts ...grpc.CallOption) (*Users, error)
	GetUserProfile(ctx context.Context, in *OrgIdReq, opts ...grpc.CallOption) (*UserProfile, error)
	UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UpdateUserProfile must be defined after UpdateUser, to get higher priority
	UpdateUserProfile(ctx context.Context, in *UpdateUserProfileReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteUser(ctx context.Context, in *DeleteUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*ProjectId, error)
	ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*Projects, error)
	// return projects in org，not related with user
	ListOrgProjects(ctx context.Context, in *ListOrgProjectsReq, opts ...grpc.CallOption) (*Projects, error)
	UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListProjectUsers(ctx context.Context, in *ListProjectUsersReq, opts ...grpc.CallOption) (*Users, error)
	InviteUser(ctx context.Context, in *InviteUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	InviteUserToOrg(ctx context.Context, in *InviteUserToOrgReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteProjectUser(ctx context.Context, in *DeleteProjectUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateProjectUserRole(ctx context.Context, in *UpdateProjectUserRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AcceptInvitation(ctx context.Context, in *AcceptInvitationReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Temporary interface for alicoud provider source to config feature flag
	ConfigFeatureFlagForProviderSource(ctx context.Context, in *ConfigFeatureFlagForProviderSourceReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateAuth0User(ctx context.Context, in *CreateAuth0UserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListTenantAccessLogs(ctx context.Context, in *ListAccessLogReq, opts ...grpc.CallOption) (*ListAccessLogResp, error)
	GetClientIP(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetClientIPResp, error)
	ListRolesByUserID(ctx context.Context, in *ListRolesByUserIDReq, opts ...grpc.CallOption) (*ListRolesByUserIDRsp, error)
	ListUsersByScope(ctx context.Context, in *ListUsersByScopeReq, opts ...grpc.CallOption) (*Users, error)
	ListLoginUserRoles(ctx context.Context, in *ListLoginUserRolesReq, opts ...grpc.CallOption) (*ListLoginUserRolesRsp, error)
	ListOrgActiveAuthMethods(ctx context.Context, in *ListOrgActiveAuthMethodsReq, opts ...grpc.CallOption) (*ListOrgActiveAuthMethodsRsp, error)
	GetOrgByCompanyName(ctx context.Context, in *GetOrgByCompanyNameReq, opts ...grpc.CallOption) (*GetOrgByCompanyNameRsp, error)
	OpenOrgSso(ctx context.Context, in *OpenOrgSsoReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetExpWhiteList(ctx context.Context, in *GetExpWhiteListReq, opts ...grpc.CallOption) (*GetExpWhiteListResp, error)
	GetMspConfig(ctx context.Context, in *GetMspConfigReq, opts ...grpc.CallOption) (*GetMspConfigResp, error)
	GetMspCustomer(ctx context.Context, in *GetMspCustomerReq, opts ...grpc.CallOption) (*GetMspCustomerResp, error)
	GetPartnerByCustomerId(ctx context.Context, in *GetPartnerByCustomerIdReq, opts ...grpc.CallOption) (*GetPartnerByCustomerIdResp, error)
}

type tenantServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient {
	return &tenantServiceClient{cc}
}

func (c *tenantServiceClient) OrgBindThirdParty(ctx context.Context, in *OrgBindThirdPartyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/OrgBindThirdParty", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ValidateThirdPartyToken(ctx context.Context, in *ValidateThirdPartyTokenReq, opts ...grpc.CallOption) (*ValidateThirdPartyTokenResponse, error) {
	out := new(ValidateThirdPartyTokenResponse)
	err := c.cc.Invoke(ctx, "/central.TenantService/ValidateThirdPartyToken", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) CreatePocApplication(ctx context.Context, in *CreatePocApplicationReq, opts ...grpc.CallOption) (*CreatePocApplicationResp, error) {
	out := new(CreatePocApplicationResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/CreatePocApplication", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) Registration(ctx context.Context, in *RegistrationReq, opts ...grpc.CallOption) (*DefaultResp, error) {
	out := new(DefaultResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/Registration", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) SendVerificationEmail(ctx context.Context, in *SendVerificationEmailReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/SendVerificationEmail", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListOrganizations(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OrganizationList, error) {
	out := new(OrganizationList)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListOrganizations", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) UpdateOrganization(ctx context.Context, in *UpdateOrgReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/UpdateOrganization", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) AcknowledgeCNPolicy(ctx context.Context, in *AcknowledgeCNPolicyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/AcknowledgeCNPolicy", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListUsers(ctx context.Context, in *ListUsersReq, opts ...grpc.CallOption) (*Users, error) {
	out := new(Users)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetUserProfile(ctx context.Context, in *OrgIdReq, opts ...grpc.CallOption) (*UserProfile, error) {
	out := new(UserProfile)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetUserProfile", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/UpdateUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) UpdateUserProfile(ctx context.Context, in *UpdateUserProfileReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/UpdateUserProfile", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) DeleteUser(ctx context.Context, in *DeleteUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/DeleteUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*ProjectId, error) {
	out := new(ProjectId)
	err := c.cc.Invoke(ctx, "/central.TenantService/CreateProject", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*Projects, error) {
	out := new(Projects)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListProjects", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListOrgProjects(ctx context.Context, in *ListOrgProjectsReq, opts ...grpc.CallOption) (*Projects, error) {
	out := new(Projects)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListOrgProjects", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/UpdateProject", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/DeleteProject", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListProjectUsers(ctx context.Context, in *ListProjectUsersReq, opts ...grpc.CallOption) (*Users, error) {
	out := new(Users)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListProjectUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) InviteUser(ctx context.Context, in *InviteUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/InviteUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) InviteUserToOrg(ctx context.Context, in *InviteUserToOrgReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/InviteUserToOrg", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) DeleteProjectUser(ctx context.Context, in *DeleteProjectUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/DeleteProjectUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) UpdateProjectUserRole(ctx context.Context, in *UpdateProjectUserRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/UpdateProjectUserRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) AcceptInvitation(ctx context.Context, in *AcceptInvitationReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/AcceptInvitation", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ConfigFeatureFlagForProviderSource(ctx context.Context, in *ConfigFeatureFlagForProviderSourceReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/ConfigFeatureFlagForProviderSource", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) CreateAuth0User(ctx context.Context, in *CreateAuth0UserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/CreateAuth0User", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListTenantAccessLogs(ctx context.Context, in *ListAccessLogReq, opts ...grpc.CallOption) (*ListAccessLogResp, error) {
	out := new(ListAccessLogResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListTenantAccessLogs", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetClientIP(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetClientIPResp, error) {
	out := new(GetClientIPResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetClientIP", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListRolesByUserID(ctx context.Context, in *ListRolesByUserIDReq, opts ...grpc.CallOption) (*ListRolesByUserIDRsp, error) {
	out := new(ListRolesByUserIDRsp)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListRolesByUserID", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListUsersByScope(ctx context.Context, in *ListUsersByScopeReq, opts ...grpc.CallOption) (*Users, error) {
	out := new(Users)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListUsersByScope", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListLoginUserRoles(ctx context.Context, in *ListLoginUserRolesReq, opts ...grpc.CallOption) (*ListLoginUserRolesRsp, error) {
	out := new(ListLoginUserRolesRsp)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListLoginUserRoles", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) ListOrgActiveAuthMethods(ctx context.Context, in *ListOrgActiveAuthMethodsReq, opts ...grpc.CallOption) (*ListOrgActiveAuthMethodsRsp, error) {
	out := new(ListOrgActiveAuthMethodsRsp)
	err := c.cc.Invoke(ctx, "/central.TenantService/ListOrgActiveAuthMethods", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetOrgByCompanyName(ctx context.Context, in *GetOrgByCompanyNameReq, opts ...grpc.CallOption) (*GetOrgByCompanyNameRsp, error) {
	out := new(GetOrgByCompanyNameRsp)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetOrgByCompanyName", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) OpenOrgSso(ctx context.Context, in *OpenOrgSsoReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.TenantService/OpenOrgSso", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetExpWhiteList(ctx context.Context, in *GetExpWhiteListReq, opts ...grpc.CallOption) (*GetExpWhiteListResp, error) {
	out := new(GetExpWhiteListResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetExpWhiteList", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetMspConfig(ctx context.Context, in *GetMspConfigReq, opts ...grpc.CallOption) (*GetMspConfigResp, error) {
	out := new(GetMspConfigResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetMspConfig", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetMspCustomer(ctx context.Context, in *GetMspCustomerReq, opts ...grpc.CallOption) (*GetMspCustomerResp, error) {
	out := new(GetMspCustomerResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetMspCustomer", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *tenantServiceClient) GetPartnerByCustomerId(ctx context.Context, in *GetPartnerByCustomerIdReq, opts ...grpc.CallOption) (*GetPartnerByCustomerIdResp, error) {
	out := new(GetPartnerByCustomerIdResp)
	err := c.cc.Invoke(ctx, "/central.TenantService/GetPartnerByCustomerId", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// TenantServiceServer is the server API for TenantService service.
// All implementations must embed UnimplementedTenantServiceServer
// for forward compatibility
type TenantServiceServer interface {
	OrgBindThirdParty(context.Context, *OrgBindThirdPartyReq) (*emptypb.Empty, error)
	ValidateThirdPartyToken(context.Context, *ValidateThirdPartyTokenReq) (*ValidateThirdPartyTokenResponse, error)
	CreatePocApplication(context.Context, *CreatePocApplicationReq) (*CreatePocApplicationResp, error)
	// submit  register request
	Registration(context.Context, *RegistrationReq) (*DefaultResp, error)
	SendVerificationEmail(context.Context, *SendVerificationEmailReq) (*emptypb.Empty, error)
	ListOrganizations(context.Context, *emptypb.Empty) (*OrganizationList, error)
	UpdateOrganization(context.Context, *UpdateOrgReq) (*emptypb.Empty, error)
	AcknowledgeCNPolicy(context.Context, *AcknowledgeCNPolicyReq) (*emptypb.Empty, error)
	ListUsers(context.Context, *ListUsersReq) (*Users, error)
	GetUserProfile(context.Context, *OrgIdReq) (*UserProfile, error)
	UpdateUser(context.Context, *UpdateUserReq) (*emptypb.Empty, error)
	// UpdateUserProfile must be defined after UpdateUser, to get higher priority
	UpdateUserProfile(context.Context, *UpdateUserProfileReq) (*emptypb.Empty, error)
	DeleteUser(context.Context, *DeleteUserReq) (*emptypb.Empty, error)
	CreateProject(context.Context, *CreateProjectReq) (*ProjectId, error)
	ListProjects(context.Context, *ListProjectsReq) (*Projects, error)
	// return projects in org，not related with user
	ListOrgProjects(context.Context, *ListOrgProjectsReq) (*Projects, error)
	UpdateProject(context.Context, *UpdateProjectReq) (*emptypb.Empty, error)
	DeleteProject(context.Context, *DeleteProjectReq) (*emptypb.Empty, error)
	ListProjectUsers(context.Context, *ListProjectUsersReq) (*Users, error)
	InviteUser(context.Context, *InviteUserReq) (*emptypb.Empty, error)
	InviteUserToOrg(context.Context, *InviteUserToOrgReq) (*emptypb.Empty, error)
	DeleteProjectUser(context.Context, *DeleteProjectUserReq) (*emptypb.Empty, error)
	UpdateProjectUserRole(context.Context, *UpdateProjectUserRoleReq) (*emptypb.Empty, error)
	AcceptInvitation(context.Context, *AcceptInvitationReq) (*emptypb.Empty, error)
	// Temporary interface for alicoud provider source to config feature flag
	ConfigFeatureFlagForProviderSource(context.Context, *ConfigFeatureFlagForProviderSourceReq) (*emptypb.Empty, error)
	CreateAuth0User(context.Context, *CreateAuth0UserReq) (*emptypb.Empty, error)
	ListTenantAccessLogs(context.Context, *ListAccessLogReq) (*ListAccessLogResp, error)
	GetClientIP(context.Context, *emptypb.Empty) (*GetClientIPResp, error)
	ListRolesByUserID(context.Context, *ListRolesByUserIDReq) (*ListRolesByUserIDRsp, error)
	ListUsersByScope(context.Context, *ListUsersByScopeReq) (*Users, error)
	ListLoginUserRoles(context.Context, *ListLoginUserRolesReq) (*ListLoginUserRolesRsp, error)
	ListOrgActiveAuthMethods(context.Context, *ListOrgActiveAuthMethodsReq) (*ListOrgActiveAuthMethodsRsp, error)
	GetOrgByCompanyName(context.Context, *GetOrgByCompanyNameReq) (*GetOrgByCompanyNameRsp, error)
	OpenOrgSso(context.Context, *OpenOrgSsoReq) (*emptypb.Empty, error)
	GetExpWhiteList(context.Context, *GetExpWhiteListReq) (*GetExpWhiteListResp, error)
	GetMspConfig(context.Context, *GetMspConfigReq) (*GetMspConfigResp, error)
	GetMspCustomer(context.Context, *GetMspCustomerReq) (*GetMspCustomerResp, error)
	GetPartnerByCustomerId(context.Context, *GetPartnerByCustomerIdReq) (*GetPartnerByCustomerIdResp, error)
	mustEmbedUnimplementedTenantServiceServer()
}

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

func (UnimplementedTenantServiceServer) OrgBindThirdParty(context.Context, *OrgBindThirdPartyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method OrgBindThirdParty not implemented")
}
func (UnimplementedTenantServiceServer) ValidateThirdPartyToken(context.Context, *ValidateThirdPartyTokenReq) (*ValidateThirdPartyTokenResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ValidateThirdPartyToken not implemented")
}
func (UnimplementedTenantServiceServer) CreatePocApplication(context.Context, *CreatePocApplicationReq) (*CreatePocApplicationResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreatePocApplication not implemented")
}
func (UnimplementedTenantServiceServer) Registration(context.Context, *RegistrationReq) (*DefaultResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Registration not implemented")
}
func (UnimplementedTenantServiceServer) SendVerificationEmail(context.Context, *SendVerificationEmailReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SendVerificationEmail not implemented")
}
func (UnimplementedTenantServiceServer) ListOrganizations(context.Context, *emptypb.Empty) (*OrganizationList, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListOrganizations not implemented")
}
func (UnimplementedTenantServiceServer) UpdateOrganization(context.Context, *UpdateOrgReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganization not implemented")
}
func (UnimplementedTenantServiceServer) AcknowledgeCNPolicy(context.Context, *AcknowledgeCNPolicyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AcknowledgeCNPolicy not implemented")
}
func (UnimplementedTenantServiceServer) ListUsers(context.Context, *ListUsersReq) (*Users, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListUsers not implemented")
}
func (UnimplementedTenantServiceServer) GetUserProfile(context.Context, *OrgIdReq) (*UserProfile, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserProfile not implemented")
}
func (UnimplementedTenantServiceServer) UpdateUser(context.Context, *UpdateUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
}
func (UnimplementedTenantServiceServer) UpdateUserProfile(context.Context, *UpdateUserProfileReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateUserProfile not implemented")
}
func (UnimplementedTenantServiceServer) DeleteUser(context.Context, *DeleteUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented")
}
func (UnimplementedTenantServiceServer) CreateProject(context.Context, *CreateProjectReq) (*ProjectId, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateProject not implemented")
}
func (UnimplementedTenantServiceServer) ListProjects(context.Context, *ListProjectsReq) (*Projects, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListProjects not implemented")
}
func (UnimplementedTenantServiceServer) ListOrgProjects(context.Context, *ListOrgProjectsReq) (*Projects, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListOrgProjects not implemented")
}
func (UnimplementedTenantServiceServer) UpdateProject(context.Context, *UpdateProjectReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateProject not implemented")
}
func (UnimplementedTenantServiceServer) DeleteProject(context.Context, *DeleteProjectReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteProject not implemented")
}
func (UnimplementedTenantServiceServer) ListProjectUsers(context.Context, *ListProjectUsersReq) (*Users, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListProjectUsers not implemented")
}
func (UnimplementedTenantServiceServer) InviteUser(context.Context, *InviteUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method InviteUser not implemented")
}
func (UnimplementedTenantServiceServer) InviteUserToOrg(context.Context, *InviteUserToOrgReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method InviteUserToOrg not implemented")
}
func (UnimplementedTenantServiceServer) DeleteProjectUser(context.Context, *DeleteProjectUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectUser not implemented")
}
func (UnimplementedTenantServiceServer) UpdateProjectUserRole(context.Context, *UpdateProjectUserRoleReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectUserRole not implemented")
}
func (UnimplementedTenantServiceServer) AcceptInvitation(context.Context, *AcceptInvitationReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AcceptInvitation not implemented")
}
func (UnimplementedTenantServiceServer) ConfigFeatureFlagForProviderSource(context.Context, *ConfigFeatureFlagForProviderSourceReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ConfigFeatureFlagForProviderSource not implemented")
}
func (UnimplementedTenantServiceServer) CreateAuth0User(context.Context, *CreateAuth0UserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateAuth0User not implemented")
}
func (UnimplementedTenantServiceServer) ListTenantAccessLogs(context.Context, *ListAccessLogReq) (*ListAccessLogResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListTenantAccessLogs not implemented")
}
func (UnimplementedTenantServiceServer) GetClientIP(context.Context, *emptypb.Empty) (*GetClientIPResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetClientIP not implemented")
}
func (UnimplementedTenantServiceServer) ListRolesByUserID(context.Context, *ListRolesByUserIDReq) (*ListRolesByUserIDRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListRolesByUserID not implemented")
}
func (UnimplementedTenantServiceServer) ListUsersByScope(context.Context, *ListUsersByScopeReq) (*Users, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListUsersByScope not implemented")
}
func (UnimplementedTenantServiceServer) ListLoginUserRoles(context.Context, *ListLoginUserRolesReq) (*ListLoginUserRolesRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListLoginUserRoles not implemented")
}
func (UnimplementedTenantServiceServer) ListOrgActiveAuthMethods(context.Context, *ListOrgActiveAuthMethodsReq) (*ListOrgActiveAuthMethodsRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListOrgActiveAuthMethods not implemented")
}
func (UnimplementedTenantServiceServer) GetOrgByCompanyName(context.Context, *GetOrgByCompanyNameReq) (*GetOrgByCompanyNameRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetOrgByCompanyName not implemented")
}
func (UnimplementedTenantServiceServer) OpenOrgSso(context.Context, *OpenOrgSsoReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method OpenOrgSso not implemented")
}
func (UnimplementedTenantServiceServer) GetExpWhiteList(context.Context, *GetExpWhiteListReq) (*GetExpWhiteListResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetExpWhiteList not implemented")
}
func (UnimplementedTenantServiceServer) GetMspConfig(context.Context, *GetMspConfigReq) (*GetMspConfigResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMspConfig not implemented")
}
func (UnimplementedTenantServiceServer) GetMspCustomer(context.Context, *GetMspCustomerReq) (*GetMspCustomerResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMspCustomer not implemented")
}
func (UnimplementedTenantServiceServer) GetPartnerByCustomerId(context.Context, *GetPartnerByCustomerIdReq) (*GetPartnerByCustomerIdResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetPartnerByCustomerId not implemented")
}
func (UnimplementedTenantServiceServer) mustEmbedUnimplementedTenantServiceServer() {}

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

func RegisterTenantServiceServer(s grpc.ServiceRegistrar, srv TenantServiceServer) {
	s.RegisterService(&TenantService_ServiceDesc, srv)
}

func _TenantService_OrgBindThirdParty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(OrgBindThirdPartyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).OrgBindThirdParty(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/OrgBindThirdParty",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).OrgBindThirdParty(ctx, req.(*OrgBindThirdPartyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ValidateThirdPartyToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ValidateThirdPartyTokenReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ValidateThirdPartyToken(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ValidateThirdPartyToken",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ValidateThirdPartyToken(ctx, req.(*ValidateThirdPartyTokenReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_CreatePocApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreatePocApplicationReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).CreatePocApplication(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/CreatePocApplication",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).CreatePocApplication(ctx, req.(*CreatePocApplicationReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_Registration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(RegistrationReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).Registration(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/Registration",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).Registration(ctx, req.(*RegistrationReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_SendVerificationEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SendVerificationEmailReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).SendVerificationEmail(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/SendVerificationEmail",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).SendVerificationEmail(ctx, req.(*SendVerificationEmailReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListOrganizations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListOrganizations(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListOrganizations",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListOrganizations(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_UpdateOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateOrgReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).UpdateOrganization(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/UpdateOrganization",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).UpdateOrganization(ctx, req.(*UpdateOrgReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_AcknowledgeCNPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AcknowledgeCNPolicyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).AcknowledgeCNPolicy(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/AcknowledgeCNPolicy",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).AcknowledgeCNPolicy(ctx, req.(*AcknowledgeCNPolicyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListUsersReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListUsers",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListUsers(ctx, req.(*ListUsersReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(OrgIdReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetUserProfile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetUserProfile",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetUserProfile(ctx, req.(*OrgIdReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).UpdateUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/UpdateUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).UpdateUser(ctx, req.(*UpdateUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_UpdateUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateUserProfileReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).UpdateUserProfile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/UpdateUserProfile",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).UpdateUserProfile(ctx, req.(*UpdateUserProfileReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).DeleteUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/DeleteUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).DeleteUser(ctx, req.(*DeleteUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_CreateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateProjectReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).CreateProject(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/CreateProject",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).CreateProject(ctx, req.(*CreateProjectReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListProjectsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListProjects(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListProjects",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListProjects(ctx, req.(*ListProjectsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListOrgProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListOrgProjectsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListOrgProjects(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListOrgProjects",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListOrgProjects(ctx, req.(*ListOrgProjectsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateProjectReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).UpdateProject(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/UpdateProject",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).UpdateProject(ctx, req.(*UpdateProjectReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_DeleteProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteProjectReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).DeleteProject(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/DeleteProject",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).DeleteProject(ctx, req.(*DeleteProjectReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListProjectUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListProjectUsersReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListProjectUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListProjectUsers",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListProjectUsers(ctx, req.(*ListProjectUsersReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_InviteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InviteUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).InviteUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/InviteUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).InviteUser(ctx, req.(*InviteUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_InviteUserToOrg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InviteUserToOrgReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).InviteUserToOrg(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/InviteUserToOrg",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).InviteUserToOrg(ctx, req.(*InviteUserToOrgReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_DeleteProjectUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteProjectUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).DeleteProjectUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/DeleteProjectUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).DeleteProjectUser(ctx, req.(*DeleteProjectUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_UpdateProjectUserRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateProjectUserRoleReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).UpdateProjectUserRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/UpdateProjectUserRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).UpdateProjectUserRole(ctx, req.(*UpdateProjectUserRoleReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_AcceptInvitation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AcceptInvitationReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).AcceptInvitation(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/AcceptInvitation",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).AcceptInvitation(ctx, req.(*AcceptInvitationReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ConfigFeatureFlagForProviderSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ConfigFeatureFlagForProviderSourceReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ConfigFeatureFlagForProviderSource(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ConfigFeatureFlagForProviderSource",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ConfigFeatureFlagForProviderSource(ctx, req.(*ConfigFeatureFlagForProviderSourceReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_CreateAuth0User_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateAuth0UserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).CreateAuth0User(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/CreateAuth0User",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).CreateAuth0User(ctx, req.(*CreateAuth0UserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListTenantAccessLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListAccessLogReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListTenantAccessLogs(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListTenantAccessLogs",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListTenantAccessLogs(ctx, req.(*ListAccessLogReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetClientIP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetClientIP(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetClientIP",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetClientIP(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListRolesByUserID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListRolesByUserIDReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListRolesByUserID(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListRolesByUserID",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListRolesByUserID(ctx, req.(*ListRolesByUserIDReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListUsersByScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListUsersByScopeReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListUsersByScope(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListUsersByScope",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListUsersByScope(ctx, req.(*ListUsersByScopeReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListLoginUserRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListLoginUserRolesReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListLoginUserRoles(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListLoginUserRoles",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListLoginUserRoles(ctx, req.(*ListLoginUserRolesReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_ListOrgActiveAuthMethods_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListOrgActiveAuthMethodsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).ListOrgActiveAuthMethods(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/ListOrgActiveAuthMethods",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).ListOrgActiveAuthMethods(ctx, req.(*ListOrgActiveAuthMethodsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetOrgByCompanyName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetOrgByCompanyNameReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetOrgByCompanyName(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetOrgByCompanyName",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetOrgByCompanyName(ctx, req.(*GetOrgByCompanyNameReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_OpenOrgSso_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(OpenOrgSsoReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).OpenOrgSso(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/OpenOrgSso",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).OpenOrgSso(ctx, req.(*OpenOrgSsoReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetExpWhiteList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetExpWhiteListReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetExpWhiteList(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetExpWhiteList",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetExpWhiteList(ctx, req.(*GetExpWhiteListReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetMspConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetMspConfigReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetMspConfig(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetMspConfig",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetMspConfig(ctx, req.(*GetMspConfigReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetMspCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetMspCustomerReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetMspCustomer(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetMspCustomer",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetMspCustomer(ctx, req.(*GetMspCustomerReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _TenantService_GetPartnerByCustomerId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetPartnerByCustomerIdReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(TenantServiceServer).GetPartnerByCustomerId(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.TenantService/GetPartnerByCustomerId",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(TenantServiceServer).GetPartnerByCustomerId(ctx, req.(*GetPartnerByCustomerIdReq))
	}
	return interceptor(ctx, in, info, handler)
}

// TenantService_ServiceDesc is the grpc.ServiceDesc for TenantService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var TenantService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.TenantService",
	HandlerType: (*TenantServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OrgBindThirdParty",
			Handler:    _TenantService_OrgBindThirdParty_Handler,
		},
		{
			MethodName: "ValidateThirdPartyToken",
			Handler:    _TenantService_ValidateThirdPartyToken_Handler,
		},
		{
			MethodName: "CreatePocApplication",
			Handler:    _TenantService_CreatePocApplication_Handler,
		},
		{
			MethodName: "Registration",
			Handler:    _TenantService_Registration_Handler,
		},
		{
			MethodName: "SendVerificationEmail",
			Handler:    _TenantService_SendVerificationEmail_Handler,
		},
		{
			MethodName: "ListOrganizations",
			Handler:    _TenantService_ListOrganizations_Handler,
		},
		{
			MethodName: "UpdateOrganization",
			Handler:    _TenantService_UpdateOrganization_Handler,
		},
		{
			MethodName: "AcknowledgeCNPolicy",
			Handler:    _TenantService_AcknowledgeCNPolicy_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _TenantService_ListUsers_Handler,
		},
		{
			MethodName: "GetUserProfile",
			Handler:    _TenantService_GetUserProfile_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _TenantService_UpdateUser_Handler,
		},
		{
			MethodName: "UpdateUserProfile",
			Handler:    _TenantService_UpdateUserProfile_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _TenantService_DeleteUser_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _TenantService_CreateProject_Handler,
		},
		{
			MethodName: "ListProjects",
			Handler:    _TenantService_ListProjects_Handler,
		},
		{
			MethodName: "ListOrgProjects",
			Handler:    _TenantService_ListOrgProjects_Handler,
		},
		{
			MethodName: "UpdateProject",
			Handler:    _TenantService_UpdateProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _TenantService_DeleteProject_Handler,
		},
		{
			MethodName: "ListProjectUsers",
			Handler:    _TenantService_ListProjectUsers_Handler,
		},
		{
			MethodName: "InviteUser",
			Handler:    _TenantService_InviteUser_Handler,
		},
		{
			MethodName: "InviteUserToOrg",
			Handler:    _TenantService_InviteUserToOrg_Handler,
		},
		{
			MethodName: "DeleteProjectUser",
			Handler:    _TenantService_DeleteProjectUser_Handler,
		},
		{
			MethodName: "UpdateProjectUserRole",
			Handler:    _TenantService_UpdateProjectUserRole_Handler,
		},
		{
			MethodName: "AcceptInvitation",
			Handler:    _TenantService_AcceptInvitation_Handler,
		},
		{
			MethodName: "ConfigFeatureFlagForProviderSource",
			Handler:    _TenantService_ConfigFeatureFlagForProviderSource_Handler,
		},
		{
			MethodName: "CreateAuth0User",
			Handler:    _TenantService_CreateAuth0User_Handler,
		},
		{
			MethodName: "ListTenantAccessLogs",
			Handler:    _TenantService_ListTenantAccessLogs_Handler,
		},
		{
			MethodName: "GetClientIP",
			Handler:    _TenantService_GetClientIP_Handler,
		},
		{
			MethodName: "ListRolesByUserID",
			Handler:    _TenantService_ListRolesByUserID_Handler,
		},
		{
			MethodName: "ListUsersByScope",
			Handler:    _TenantService_ListUsersByScope_Handler,
		},
		{
			MethodName: "ListLoginUserRoles",
			Handler:    _TenantService_ListLoginUserRoles_Handler,
		},
		{
			MethodName: "ListOrgActiveAuthMethods",
			Handler:    _TenantService_ListOrgActiveAuthMethods_Handler,
		},
		{
			MethodName: "GetOrgByCompanyName",
			Handler:    _TenantService_GetOrgByCompanyName_Handler,
		},
		{
			MethodName: "OpenOrgSso",
			Handler:    _TenantService_OpenOrgSso_Handler,
		},
		{
			MethodName: "GetExpWhiteList",
			Handler:    _TenantService_GetExpWhiteList_Handler,
		},
		{
			MethodName: "GetMspConfig",
			Handler:    _TenantService_GetMspConfig_Handler,
		},
		{
			MethodName: "GetMspCustomer",
			Handler:    _TenantService_GetMspCustomer_Handler,
		},
		{
			MethodName: "GetPartnerByCustomerId",
			Handler:    _TenantService_GetPartnerByCustomerId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// LocationServiceClient is the client API for LocationService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type LocationServiceClient interface {
	IP2Location(ctx context.Context, in *IP2LocationReq, opts ...grpc.CallOption) (*IP2LocationResp, error)
}

type locationServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewLocationServiceClient(cc grpc.ClientConnInterface) LocationServiceClient {
	return &locationServiceClient{cc}
}

func (c *locationServiceClient) IP2Location(ctx context.Context, in *IP2LocationReq, opts ...grpc.CallOption) (*IP2LocationResp, error) {
	out := new(IP2LocationResp)
	err := c.cc.Invoke(ctx, "/central.LocationService/IP2Location", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// LocationServiceServer is the server API for LocationService service.
// All implementations must embed UnimplementedLocationServiceServer
// for forward compatibility
type LocationServiceServer interface {
	IP2Location(context.Context, *IP2LocationReq) (*IP2LocationResp, error)
	mustEmbedUnimplementedLocationServiceServer()
}

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

func (UnimplementedLocationServiceServer) IP2Location(context.Context, *IP2LocationReq) (*IP2LocationResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method IP2Location not implemented")
}
func (UnimplementedLocationServiceServer) mustEmbedUnimplementedLocationServiceServer() {}

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

func RegisterLocationServiceServer(s grpc.ServiceRegistrar, srv LocationServiceServer) {
	s.RegisterService(&LocationService_ServiceDesc, srv)
}

func _LocationService_IP2Location_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(IP2LocationReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(LocationServiceServer).IP2Location(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.LocationService/IP2Location",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(LocationServiceServer).IP2Location(ctx, req.(*IP2LocationReq))
	}
	return interceptor(ctx, in, info, handler)
}

// LocationService_ServiceDesc is the grpc.ServiceDesc for LocationService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var LocationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.LocationService",
	HandlerType: (*LocationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IP2Location",
			Handler:    _LocationService_IP2Location_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// OpenAPIKeyServiceClient is the client API for OpenAPIKeyService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type OpenAPIKeyServiceClient interface {
	CreateOpenAPIKey(ctx context.Context, in *CreateOpenAPIKeyReq, opts ...grpc.CallOption) (*OpenAPIKey, error)
	CreateProjectOpenAPIKey(ctx context.Context, in *CreateProjectOpenAPIKeyReq, opts ...grpc.CallOption) (*OpenAPIKey, error)
	ListOpenAPIKeys(ctx context.Context, in *ListOpenAPIKeysReq, opts ...grpc.CallOption) (*OpenAPIKeys, error)
	ListProjectOpenAPIKeys(ctx context.Context, in *ListProjectOpenAPIKeysReq, opts ...grpc.CallOption) (*OpenAPIKeys, error)
	UpdateOpenAPIKey(ctx context.Context, in *UpdateOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateProjectOpenAPIKey(ctx context.Context, in *UpdateProjectOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteOpenAPIKey(ctx context.Context, in *DeleteOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteProjectOpenAPIKey(ctx context.Context, in *DeleteProjectOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// for one console interface
	ListConsoleApiKeys(ctx context.Context, in *ListConsoleApiKeysReq, opts ...grpc.CallOption) (*ListConsoleApiKeysResp, error)
	CreateConsoleApiKey(ctx context.Context, in *UpdateConsoleApiKeyReq, opts ...grpc.CallOption) (*ConsoleApiKey, error)
	UpdateConsoleApiKey(ctx context.Context, in *UpdateConsoleApiKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type openAPIKeyServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewOpenAPIKeyServiceClient(cc grpc.ClientConnInterface) OpenAPIKeyServiceClient {
	return &openAPIKeyServiceClient{cc}
}

func (c *openAPIKeyServiceClient) CreateOpenAPIKey(ctx context.Context, in *CreateOpenAPIKeyReq, opts ...grpc.CallOption) (*OpenAPIKey, error) {
	out := new(OpenAPIKey)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/CreateOpenAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) CreateProjectOpenAPIKey(ctx context.Context, in *CreateProjectOpenAPIKeyReq, opts ...grpc.CallOption) (*OpenAPIKey, error) {
	out := new(OpenAPIKey)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/CreateProjectOpenAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) ListOpenAPIKeys(ctx context.Context, in *ListOpenAPIKeysReq, opts ...grpc.CallOption) (*OpenAPIKeys, error) {
	out := new(OpenAPIKeys)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/ListOpenAPIKeys", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) ListProjectOpenAPIKeys(ctx context.Context, in *ListProjectOpenAPIKeysReq, opts ...grpc.CallOption) (*OpenAPIKeys, error) {
	out := new(OpenAPIKeys)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/ListProjectOpenAPIKeys", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) UpdateOpenAPIKey(ctx context.Context, in *UpdateOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/UpdateOpenAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) UpdateProjectOpenAPIKey(ctx context.Context, in *UpdateProjectOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/UpdateProjectOpenAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) DeleteOpenAPIKey(ctx context.Context, in *DeleteOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/DeleteOpenAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) DeleteProjectOpenAPIKey(ctx context.Context, in *DeleteProjectOpenAPIKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/DeleteProjectOpenAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) ListConsoleApiKeys(ctx context.Context, in *ListConsoleApiKeysReq, opts ...grpc.CallOption) (*ListConsoleApiKeysResp, error) {
	out := new(ListConsoleApiKeysResp)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/ListConsoleApiKeys", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) CreateConsoleApiKey(ctx context.Context, in *UpdateConsoleApiKeyReq, opts ...grpc.CallOption) (*ConsoleApiKey, error) {
	out := new(ConsoleApiKey)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/CreateConsoleApiKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *openAPIKeyServiceClient) UpdateConsoleApiKey(ctx context.Context, in *UpdateConsoleApiKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OpenAPIKeyService/UpdateConsoleApiKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// OpenAPIKeyServiceServer is the server API for OpenAPIKeyService service.
// All implementations must embed UnimplementedOpenAPIKeyServiceServer
// for forward compatibility
type OpenAPIKeyServiceServer interface {
	CreateOpenAPIKey(context.Context, *CreateOpenAPIKeyReq) (*OpenAPIKey, error)
	CreateProjectOpenAPIKey(context.Context, *CreateProjectOpenAPIKeyReq) (*OpenAPIKey, error)
	ListOpenAPIKeys(context.Context, *ListOpenAPIKeysReq) (*OpenAPIKeys, error)
	ListProjectOpenAPIKeys(context.Context, *ListProjectOpenAPIKeysReq) (*OpenAPIKeys, error)
	UpdateOpenAPIKey(context.Context, *UpdateOpenAPIKeyReq) (*emptypb.Empty, error)
	UpdateProjectOpenAPIKey(context.Context, *UpdateProjectOpenAPIKeyReq) (*emptypb.Empty, error)
	DeleteOpenAPIKey(context.Context, *DeleteOpenAPIKeyReq) (*emptypb.Empty, error)
	DeleteProjectOpenAPIKey(context.Context, *DeleteProjectOpenAPIKeyReq) (*emptypb.Empty, error)
	// for one console interface
	ListConsoleApiKeys(context.Context, *ListConsoleApiKeysReq) (*ListConsoleApiKeysResp, error)
	CreateConsoleApiKey(context.Context, *UpdateConsoleApiKeyReq) (*ConsoleApiKey, error)
	UpdateConsoleApiKey(context.Context, *UpdateConsoleApiKeyReq) (*emptypb.Empty, error)
	mustEmbedUnimplementedOpenAPIKeyServiceServer()
}

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

func (UnimplementedOpenAPIKeyServiceServer) CreateOpenAPIKey(context.Context, *CreateOpenAPIKeyReq) (*OpenAPIKey, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateOpenAPIKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) CreateProjectOpenAPIKey(context.Context, *CreateProjectOpenAPIKeyReq) (*OpenAPIKey, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateProjectOpenAPIKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) ListOpenAPIKeys(context.Context, *ListOpenAPIKeysReq) (*OpenAPIKeys, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListOpenAPIKeys not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) ListProjectOpenAPIKeys(context.Context, *ListProjectOpenAPIKeysReq) (*OpenAPIKeys, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListProjectOpenAPIKeys not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) UpdateOpenAPIKey(context.Context, *UpdateOpenAPIKeyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateOpenAPIKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) UpdateProjectOpenAPIKey(context.Context, *UpdateProjectOpenAPIKeyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectOpenAPIKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) DeleteOpenAPIKey(context.Context, *DeleteOpenAPIKeyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteOpenAPIKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) DeleteProjectOpenAPIKey(context.Context, *DeleteProjectOpenAPIKeyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectOpenAPIKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) ListConsoleApiKeys(context.Context, *ListConsoleApiKeysReq) (*ListConsoleApiKeysResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListConsoleApiKeys not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) CreateConsoleApiKey(context.Context, *UpdateConsoleApiKeyReq) (*ConsoleApiKey, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateConsoleApiKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) UpdateConsoleApiKey(context.Context, *UpdateConsoleApiKeyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateConsoleApiKey not implemented")
}
func (UnimplementedOpenAPIKeyServiceServer) mustEmbedUnimplementedOpenAPIKeyServiceServer() {}

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

func RegisterOpenAPIKeyServiceServer(s grpc.ServiceRegistrar, srv OpenAPIKeyServiceServer) {
	s.RegisterService(&OpenAPIKeyService_ServiceDesc, srv)
}

func _OpenAPIKeyService_CreateOpenAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateOpenAPIKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).CreateOpenAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/CreateOpenAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).CreateOpenAPIKey(ctx, req.(*CreateOpenAPIKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_CreateProjectOpenAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateProjectOpenAPIKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).CreateProjectOpenAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/CreateProjectOpenAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).CreateProjectOpenAPIKey(ctx, req.(*CreateProjectOpenAPIKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_ListOpenAPIKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListOpenAPIKeysReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).ListOpenAPIKeys(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/ListOpenAPIKeys",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).ListOpenAPIKeys(ctx, req.(*ListOpenAPIKeysReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_ListProjectOpenAPIKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListProjectOpenAPIKeysReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).ListProjectOpenAPIKeys(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/ListProjectOpenAPIKeys",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).ListProjectOpenAPIKeys(ctx, req.(*ListProjectOpenAPIKeysReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_UpdateOpenAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateOpenAPIKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).UpdateOpenAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/UpdateOpenAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).UpdateOpenAPIKey(ctx, req.(*UpdateOpenAPIKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_UpdateProjectOpenAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateProjectOpenAPIKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).UpdateProjectOpenAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/UpdateProjectOpenAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).UpdateProjectOpenAPIKey(ctx, req.(*UpdateProjectOpenAPIKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_DeleteOpenAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteOpenAPIKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).DeleteOpenAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/DeleteOpenAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).DeleteOpenAPIKey(ctx, req.(*DeleteOpenAPIKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_DeleteProjectOpenAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteProjectOpenAPIKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).DeleteProjectOpenAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/DeleteProjectOpenAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).DeleteProjectOpenAPIKey(ctx, req.(*DeleteProjectOpenAPIKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_ListConsoleApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListConsoleApiKeysReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).ListConsoleApiKeys(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/ListConsoleApiKeys",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).ListConsoleApiKeys(ctx, req.(*ListConsoleApiKeysReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_CreateConsoleApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateConsoleApiKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).CreateConsoleApiKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/CreateConsoleApiKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).CreateConsoleApiKey(ctx, req.(*UpdateConsoleApiKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OpenAPIKeyService_UpdateConsoleApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateConsoleApiKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OpenAPIKeyServiceServer).UpdateConsoleApiKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OpenAPIKeyService/UpdateConsoleApiKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OpenAPIKeyServiceServer).UpdateConsoleApiKey(ctx, req.(*UpdateConsoleApiKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

// OpenAPIKeyService_ServiceDesc is the grpc.ServiceDesc for OpenAPIKeyService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var OpenAPIKeyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.OpenAPIKeyService",
	HandlerType: (*OpenAPIKeyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateOpenAPIKey",
			Handler:    _OpenAPIKeyService_CreateOpenAPIKey_Handler,
		},
		{
			MethodName: "CreateProjectOpenAPIKey",
			Handler:    _OpenAPIKeyService_CreateProjectOpenAPIKey_Handler,
		},
		{
			MethodName: "ListOpenAPIKeys",
			Handler:    _OpenAPIKeyService_ListOpenAPIKeys_Handler,
		},
		{
			MethodName: "ListProjectOpenAPIKeys",
			Handler:    _OpenAPIKeyService_ListProjectOpenAPIKeys_Handler,
		},
		{
			MethodName: "UpdateOpenAPIKey",
			Handler:    _OpenAPIKeyService_UpdateOpenAPIKey_Handler,
		},
		{
			MethodName: "UpdateProjectOpenAPIKey",
			Handler:    _OpenAPIKeyService_UpdateProjectOpenAPIKey_Handler,
		},
		{
			MethodName: "DeleteOpenAPIKey",
			Handler:    _OpenAPIKeyService_DeleteOpenAPIKey_Handler,
		},
		{
			MethodName: "DeleteProjectOpenAPIKey",
			Handler:    _OpenAPIKeyService_DeleteProjectOpenAPIKey_Handler,
		},
		{
			MethodName: "ListConsoleApiKeys",
			Handler:    _OpenAPIKeyService_ListConsoleApiKeys_Handler,
		},
		{
			MethodName: "CreateConsoleApiKey",
			Handler:    _OpenAPIKeyService_CreateConsoleApiKey_Handler,
		},
		{
			MethodName: "UpdateConsoleApiKey",
			Handler:    _OpenAPIKeyService_UpdateConsoleApiKey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// MetricsServiceClient is the client API for MetricsService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type MetricsServiceClient interface {
	LoginMetrics(ctx context.Context, in *LoginMetricsReq, opts ...grpc.CallOption) (*LoginMetricsResp, error)
}

type metricsServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewMetricsServiceClient(cc grpc.ClientConnInterface) MetricsServiceClient {
	return &metricsServiceClient{cc}
}

func (c *metricsServiceClient) LoginMetrics(ctx context.Context, in *LoginMetricsReq, opts ...grpc.CallOption) (*LoginMetricsResp, error) {
	out := new(LoginMetricsResp)
	err := c.cc.Invoke(ctx, "/central.MetricsService/LoginMetrics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// MetricsServiceServer is the server API for MetricsService service.
// All implementations must embed UnimplementedMetricsServiceServer
// for forward compatibility
type MetricsServiceServer interface {
	LoginMetrics(context.Context, *LoginMetricsReq) (*LoginMetricsResp, error)
	mustEmbedUnimplementedMetricsServiceServer()
}

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

func (UnimplementedMetricsServiceServer) LoginMetrics(context.Context, *LoginMetricsReq) (*LoginMetricsResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LoginMetrics not implemented")
}
func (UnimplementedMetricsServiceServer) mustEmbedUnimplementedMetricsServiceServer() {}

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

func RegisterMetricsServiceServer(s grpc.ServiceRegistrar, srv MetricsServiceServer) {
	s.RegisterService(&MetricsService_ServiceDesc, srv)
}

func _MetricsService_LoginMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(LoginMetricsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MetricsServiceServer).LoginMetrics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.MetricsService/LoginMetrics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MetricsServiceServer).LoginMetrics(ctx, req.(*LoginMetricsReq))
	}
	return interceptor(ctx, in, info, handler)
}

// MetricsService_ServiceDesc is the grpc.ServiceDesc for MetricsService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var MetricsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.MetricsService",
	HandlerType: (*MetricsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoginMetrics",
			Handler:    _MetricsService_LoginMetrics_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// ApiKeyServiceClient is the client API for ApiKeyService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type ApiKeyServiceClient interface {
	//	rpc CreateApiKey (CreateApiKeyReq) returns (ApiKey) {
	//	  option (google.api.http) = {
	//	    post: "/api/v1/api-keys"
	//	    body: "*"
	//	  };
	//	  option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
	//	    operation_id: "CreateApiKey"
	//	  };
	//	}
	CreateApiKeyForMsp(ctx context.Context, in *CreateApiKeyForMspReq, opts ...grpc.CallOption) (*CreateApiKeyForMspResp, error)
}

type apiKeyServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewApiKeyServiceClient(cc grpc.ClientConnInterface) ApiKeyServiceClient {
	return &apiKeyServiceClient{cc}
}

func (c *apiKeyServiceClient) CreateApiKeyForMsp(ctx context.Context, in *CreateApiKeyForMspReq, opts ...grpc.CallOption) (*CreateApiKeyForMspResp, error) {
	out := new(CreateApiKeyForMspResp)
	err := c.cc.Invoke(ctx, "/central.ApiKeyService/CreateApiKeyForMsp", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ApiKeyServiceServer is the server API for ApiKeyService service.
// All implementations must embed UnimplementedApiKeyServiceServer
// for forward compatibility
type ApiKeyServiceServer interface {
	//	rpc CreateApiKey (CreateApiKeyReq) returns (ApiKey) {
	//	  option (google.api.http) = {
	//	    post: "/api/v1/api-keys"
	//	    body: "*"
	//	  };
	//	  option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
	//	    operation_id: "CreateApiKey"
	//	  };
	//	}
	CreateApiKeyForMsp(context.Context, *CreateApiKeyForMspReq) (*CreateApiKeyForMspResp, error)
	mustEmbedUnimplementedApiKeyServiceServer()
}

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

func (UnimplementedApiKeyServiceServer) CreateApiKeyForMsp(context.Context, *CreateApiKeyForMspReq) (*CreateApiKeyForMspResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateApiKeyForMsp not implemented")
}
func (UnimplementedApiKeyServiceServer) mustEmbedUnimplementedApiKeyServiceServer() {}

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

func RegisterApiKeyServiceServer(s grpc.ServiceRegistrar, srv ApiKeyServiceServer) {
	s.RegisterService(&ApiKeyService_ServiceDesc, srv)
}

func _ApiKeyService_CreateApiKeyForMsp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateApiKeyForMspReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ApiKeyServiceServer).CreateApiKeyForMsp(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.ApiKeyService/CreateApiKeyForMsp",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ApiKeyServiceServer).CreateApiKeyForMsp(ctx, req.(*CreateApiKeyForMspReq))
	}
	return interceptor(ctx, in, info, handler)
}

// ApiKeyService_ServiceDesc is the grpc.ServiceDesc for ApiKeyService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ApiKeyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.ApiKeyService",
	HandlerType: (*ApiKeyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateApiKeyForMsp",
			Handler:    _ApiKeyService_CreateApiKeyForMsp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// DbJwtServiceClient is the client API for DbJwtService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type DbJwtServiceClient interface {
	GetJwtByToken(ctx context.Context, in *GetJwtByTokenReq, opts ...grpc.CallOption) (*GetJwtByTokenResp, error)
	GetJwtByApiKey(ctx context.Context, in *GetJwtByApiKeyReq, opts ...grpc.CallOption) (*GetJwtByApiKeyResp, error)
	GetJwtByBuiltinUser(ctx context.Context, in *GetJwtByBuiltinUserReq, opts ...grpc.CallOption) (*GetJwtByBuiltinUserResp, error)
	GetCloudAdminPasswd(ctx context.Context, in *GetCloudAdminPasswdReq, opts ...grpc.CallOption) (*GetCloudAdminPasswdResp, error)
}

type dbJwtServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewDbJwtServiceClient(cc grpc.ClientConnInterface) DbJwtServiceClient {
	return &dbJwtServiceClient{cc}
}

func (c *dbJwtServiceClient) GetJwtByToken(ctx context.Context, in *GetJwtByTokenReq, opts ...grpc.CallOption) (*GetJwtByTokenResp, error) {
	out := new(GetJwtByTokenResp)
	err := c.cc.Invoke(ctx, "/central.DbJwtService/GetJwtByToken", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *dbJwtServiceClient) GetJwtByApiKey(ctx context.Context, in *GetJwtByApiKeyReq, opts ...grpc.CallOption) (*GetJwtByApiKeyResp, error) {
	out := new(GetJwtByApiKeyResp)
	err := c.cc.Invoke(ctx, "/central.DbJwtService/GetJwtByApiKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *dbJwtServiceClient) GetJwtByBuiltinUser(ctx context.Context, in *GetJwtByBuiltinUserReq, opts ...grpc.CallOption) (*GetJwtByBuiltinUserResp, error) {
	out := new(GetJwtByBuiltinUserResp)
	err := c.cc.Invoke(ctx, "/central.DbJwtService/GetJwtByBuiltinUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *dbJwtServiceClient) GetCloudAdminPasswd(ctx context.Context, in *GetCloudAdminPasswdReq, opts ...grpc.CallOption) (*GetCloudAdminPasswdResp, error) {
	out := new(GetCloudAdminPasswdResp)
	err := c.cc.Invoke(ctx, "/central.DbJwtService/GetCloudAdminPasswd", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// DbJwtServiceServer is the server API for DbJwtService service.
// All implementations must embed UnimplementedDbJwtServiceServer
// for forward compatibility
type DbJwtServiceServer interface {
	GetJwtByToken(context.Context, *GetJwtByTokenReq) (*GetJwtByTokenResp, error)
	GetJwtByApiKey(context.Context, *GetJwtByApiKeyReq) (*GetJwtByApiKeyResp, error)
	GetJwtByBuiltinUser(context.Context, *GetJwtByBuiltinUserReq) (*GetJwtByBuiltinUserResp, error)
	GetCloudAdminPasswd(context.Context, *GetCloudAdminPasswdReq) (*GetCloudAdminPasswdResp, error)
	mustEmbedUnimplementedDbJwtServiceServer()
}

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

func (UnimplementedDbJwtServiceServer) GetJwtByToken(context.Context, *GetJwtByTokenReq) (*GetJwtByTokenResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetJwtByToken not implemented")
}
func (UnimplementedDbJwtServiceServer) GetJwtByApiKey(context.Context, *GetJwtByApiKeyReq) (*GetJwtByApiKeyResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetJwtByApiKey not implemented")
}
func (UnimplementedDbJwtServiceServer) GetJwtByBuiltinUser(context.Context, *GetJwtByBuiltinUserReq) (*GetJwtByBuiltinUserResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetJwtByBuiltinUser not implemented")
}
func (UnimplementedDbJwtServiceServer) GetCloudAdminPasswd(context.Context, *GetCloudAdminPasswdReq) (*GetCloudAdminPasswdResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetCloudAdminPasswd not implemented")
}
func (UnimplementedDbJwtServiceServer) mustEmbedUnimplementedDbJwtServiceServer() {}

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

func RegisterDbJwtServiceServer(s grpc.ServiceRegistrar, srv DbJwtServiceServer) {
	s.RegisterService(&DbJwtService_ServiceDesc, srv)
}

func _DbJwtService_GetJwtByToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetJwtByTokenReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DbJwtServiceServer).GetJwtByToken(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.DbJwtService/GetJwtByToken",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DbJwtServiceServer).GetJwtByToken(ctx, req.(*GetJwtByTokenReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _DbJwtService_GetJwtByApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetJwtByApiKeyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DbJwtServiceServer).GetJwtByApiKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.DbJwtService/GetJwtByApiKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DbJwtServiceServer).GetJwtByApiKey(ctx, req.(*GetJwtByApiKeyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _DbJwtService_GetJwtByBuiltinUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetJwtByBuiltinUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DbJwtServiceServer).GetJwtByBuiltinUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.DbJwtService/GetJwtByBuiltinUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DbJwtServiceServer).GetJwtByBuiltinUser(ctx, req.(*GetJwtByBuiltinUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _DbJwtService_GetCloudAdminPasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetCloudAdminPasswdReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DbJwtServiceServer).GetCloudAdminPasswd(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.DbJwtService/GetCloudAdminPasswd",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DbJwtServiceServer).GetCloudAdminPasswd(ctx, req.(*GetCloudAdminPasswdReq))
	}
	return interceptor(ctx, in, info, handler)
}

// DbJwtService_ServiceDesc is the grpc.ServiceDesc for DbJwtService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var DbJwtService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.DbJwtService",
	HandlerType: (*DbJwtServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetJwtByToken",
			Handler:    _DbJwtService_GetJwtByToken_Handler,
		},
		{
			MethodName: "GetJwtByApiKey",
			Handler:    _DbJwtService_GetJwtByApiKey_Handler,
		},
		{
			MethodName: "GetJwtByBuiltinUser",
			Handler:    _DbJwtService_GetJwtByBuiltinUser_Handler,
		},
		{
			MethodName: "GetCloudAdminPasswd",
			Handler:    _DbJwtService_GetCloudAdminPasswd_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// OrgAuthMethodServiceClient is the client API for OrgAuthMethodService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type OrgAuthMethodServiceClient interface {
	UpdateAuthMethod(ctx context.Context, in *UpdateAuthMethodReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetAuthMethodStatus(ctx context.Context, in *SetAuthMethodStatusReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListAuthMethods(ctx context.Context, in *ListAuthMethodsFilter, opts ...grpc.CallOption) (*ListAuthMethodsRsp, error)
	GetEmailDomains(ctx context.Context, in *GetEmailDomainsReq, opts ...grpc.CallOption) (*GetEmailDomainsRsp, error)
	ShowAuthMethods(ctx context.Context, in *ShowAuthMethodsReq, opts ...grpc.CallOption) (*ListAuthMethodsRsp, error)
	CheckAuthMethod(ctx context.Context, in *CheckAuthMethodReq, opts ...grpc.CallOption) (*CheckAuthMethodRsp, error)
	CreateBearerToken(ctx context.Context, in *CreateBearerTokenReq, opts ...grpc.CallOption) (*BearerToken, error)
	ListBearerTokens(ctx context.Context, in *ListBearerTokensReq, opts ...grpc.CallOption) (*BearerTokens, error)
}

type orgAuthMethodServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewOrgAuthMethodServiceClient(cc grpc.ClientConnInterface) OrgAuthMethodServiceClient {
	return &orgAuthMethodServiceClient{cc}
}

func (c *orgAuthMethodServiceClient) UpdateAuthMethod(ctx context.Context, in *UpdateAuthMethodReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/UpdateAuthMethod", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) SetAuthMethodStatus(ctx context.Context, in *SetAuthMethodStatusReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/SetAuthMethodStatus", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) ListAuthMethods(ctx context.Context, in *ListAuthMethodsFilter, opts ...grpc.CallOption) (*ListAuthMethodsRsp, error) {
	out := new(ListAuthMethodsRsp)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/ListAuthMethods", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) GetEmailDomains(ctx context.Context, in *GetEmailDomainsReq, opts ...grpc.CallOption) (*GetEmailDomainsRsp, error) {
	out := new(GetEmailDomainsRsp)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/GetEmailDomains", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) ShowAuthMethods(ctx context.Context, in *ShowAuthMethodsReq, opts ...grpc.CallOption) (*ListAuthMethodsRsp, error) {
	out := new(ListAuthMethodsRsp)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/ShowAuthMethods", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) CheckAuthMethod(ctx context.Context, in *CheckAuthMethodReq, opts ...grpc.CallOption) (*CheckAuthMethodRsp, error) {
	out := new(CheckAuthMethodRsp)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/CheckAuthMethod", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) CreateBearerToken(ctx context.Context, in *CreateBearerTokenReq, opts ...grpc.CallOption) (*BearerToken, error) {
	out := new(BearerToken)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/CreateBearerToken", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgAuthMethodServiceClient) ListBearerTokens(ctx context.Context, in *ListBearerTokensReq, opts ...grpc.CallOption) (*BearerTokens, error) {
	out := new(BearerTokens)
	err := c.cc.Invoke(ctx, "/central.OrgAuthMethodService/ListBearerTokens", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// OrgAuthMethodServiceServer is the server API for OrgAuthMethodService service.
// All implementations must embed UnimplementedOrgAuthMethodServiceServer
// for forward compatibility
type OrgAuthMethodServiceServer interface {
	UpdateAuthMethod(context.Context, *UpdateAuthMethodReq) (*emptypb.Empty, error)
	SetAuthMethodStatus(context.Context, *SetAuthMethodStatusReq) (*emptypb.Empty, error)
	ListAuthMethods(context.Context, *ListAuthMethodsFilter) (*ListAuthMethodsRsp, error)
	GetEmailDomains(context.Context, *GetEmailDomainsReq) (*GetEmailDomainsRsp, error)
	ShowAuthMethods(context.Context, *ShowAuthMethodsReq) (*ListAuthMethodsRsp, error)
	CheckAuthMethod(context.Context, *CheckAuthMethodReq) (*CheckAuthMethodRsp, error)
	CreateBearerToken(context.Context, *CreateBearerTokenReq) (*BearerToken, error)
	ListBearerTokens(context.Context, *ListBearerTokensReq) (*BearerTokens, error)
	mustEmbedUnimplementedOrgAuthMethodServiceServer()
}

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

func (UnimplementedOrgAuthMethodServiceServer) UpdateAuthMethod(context.Context, *UpdateAuthMethodReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateAuthMethod not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) SetAuthMethodStatus(context.Context, *SetAuthMethodStatusReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetAuthMethodStatus not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) ListAuthMethods(context.Context, *ListAuthMethodsFilter) (*ListAuthMethodsRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListAuthMethods not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) GetEmailDomains(context.Context, *GetEmailDomainsReq) (*GetEmailDomainsRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetEmailDomains not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) ShowAuthMethods(context.Context, *ShowAuthMethodsReq) (*ListAuthMethodsRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ShowAuthMethods not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) CheckAuthMethod(context.Context, *CheckAuthMethodReq) (*CheckAuthMethodRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CheckAuthMethod not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) CreateBearerToken(context.Context, *CreateBearerTokenReq) (*BearerToken, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateBearerToken not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) ListBearerTokens(context.Context, *ListBearerTokensReq) (*BearerTokens, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListBearerTokens not implemented")
}
func (UnimplementedOrgAuthMethodServiceServer) mustEmbedUnimplementedOrgAuthMethodServiceServer() {}

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

func RegisterOrgAuthMethodServiceServer(s grpc.ServiceRegistrar, srv OrgAuthMethodServiceServer) {
	s.RegisterService(&OrgAuthMethodService_ServiceDesc, srv)
}

func _OrgAuthMethodService_UpdateAuthMethod_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateAuthMethodReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).UpdateAuthMethod(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/UpdateAuthMethod",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).UpdateAuthMethod(ctx, req.(*UpdateAuthMethodReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_SetAuthMethodStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SetAuthMethodStatusReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).SetAuthMethodStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/SetAuthMethodStatus",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).SetAuthMethodStatus(ctx, req.(*SetAuthMethodStatusReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_ListAuthMethods_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListAuthMethodsFilter)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).ListAuthMethods(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/ListAuthMethods",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).ListAuthMethods(ctx, req.(*ListAuthMethodsFilter))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_GetEmailDomains_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetEmailDomainsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).GetEmailDomains(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/GetEmailDomains",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).GetEmailDomains(ctx, req.(*GetEmailDomainsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_ShowAuthMethods_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ShowAuthMethodsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).ShowAuthMethods(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/ShowAuthMethods",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).ShowAuthMethods(ctx, req.(*ShowAuthMethodsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_CheckAuthMethod_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CheckAuthMethodReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).CheckAuthMethod(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/CheckAuthMethod",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).CheckAuthMethod(ctx, req.(*CheckAuthMethodReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_CreateBearerToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateBearerTokenReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).CreateBearerToken(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/CreateBearerToken",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).CreateBearerToken(ctx, req.(*CreateBearerTokenReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgAuthMethodService_ListBearerTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListBearerTokensReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgAuthMethodServiceServer).ListBearerTokens(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgAuthMethodService/ListBearerTokens",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgAuthMethodServiceServer).ListBearerTokens(ctx, req.(*ListBearerTokensReq))
	}
	return interceptor(ctx, in, info, handler)
}

// OrgAuthMethodService_ServiceDesc is the grpc.ServiceDesc for OrgAuthMethodService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var OrgAuthMethodService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.OrgAuthMethodService",
	HandlerType: (*OrgAuthMethodServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateAuthMethod",
			Handler:    _OrgAuthMethodService_UpdateAuthMethod_Handler,
		},
		{
			MethodName: "SetAuthMethodStatus",
			Handler:    _OrgAuthMethodService_SetAuthMethodStatus_Handler,
		},
		{
			MethodName: "ListAuthMethods",
			Handler:    _OrgAuthMethodService_ListAuthMethods_Handler,
		},
		{
			MethodName: "GetEmailDomains",
			Handler:    _OrgAuthMethodService_GetEmailDomains_Handler,
		},
		{
			MethodName: "ShowAuthMethods",
			Handler:    _OrgAuthMethodService_ShowAuthMethods_Handler,
		},
		{
			MethodName: "CheckAuthMethod",
			Handler:    _OrgAuthMethodService_CheckAuthMethod_Handler,
		},
		{
			MethodName: "CreateBearerToken",
			Handler:    _OrgAuthMethodService_CreateBearerToken_Handler,
		},
		{
			MethodName: "ListBearerTokens",
			Handler:    _OrgAuthMethodService_ListBearerTokens_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// UserServiceClient is the client API for UserService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type UserServiceClient interface {
	GetUserUIPrivileges(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserUIPrivilegesResp, error)
	QueryUserServicesAgreement(ctx context.Context, in *GetUserServicesAgreementReq, opts ...grpc.CallOption) (*QueryUserServicesAgreementResp, error)
	SaveUserServicesAgreement(ctx context.Context, in *UserServicesAgreement, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateSqlUser(ctx context.Context, in *CreateSqlUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateSqlUser(ctx context.Context, in *UpdateSqlUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteSqlUser(ctx context.Context, in *DeleteSqlUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListSqlUsers(ctx context.Context, in *ListSqlUsersReq, opts ...grpc.CallOption) (*ListSqlUsersResp, error)
	QuerySqlUser(ctx context.Context, in *QuerySqlUserReq, opts ...grpc.CallOption) (*QuerySqlUserResp, error)
	CreateUserVisitHistory(ctx context.Context, in *CreateUserVisitHistoryReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUserLastVisitHistory(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLastVisitHistoryResp, error)
	GetUserProfileV2(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserProfileResp, error)
	GetUserOrgsProjects(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserOrgsProjectsResp, error)
	GetUserLoginExtInfo(ctx context.Context, in *GetUserLoginExtInfoReq, opts ...grpc.CallOption) (*GetUserLoginExtInfoResp, error)
	CreatePlgOnBoardingSurvey(ctx context.Context, in *CreatePlgOnBoardingSurveyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListConsoleUsers(ctx context.Context, in *ListConsoleUsersReq, opts ...grpc.CallOption) (*ListConsoleUsersResp, error)
	AssignConsoleUserRole(ctx context.Context, in *AssignConsoleUserRoleReq, opts ...grpc.CallOption) (*AssignConsoleUserRoleResp, error)
	EditConsoleUserRole(ctx context.Context, in *EditConsoleUserRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CheckEmailAlreadyHasOrgRole(ctx context.Context, in *CheckEmailAlreadyHasOrgRoleReq, opts ...grpc.CallOption) (*CheckEmailAlreadyHasOrgRoleResp, error)
	RevokeUserLoginState(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type userServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient {
	return &userServiceClient{cc}
}

func (c *userServiceClient) GetUserUIPrivileges(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserUIPrivilegesResp, error) {
	out := new(GetUserUIPrivilegesResp)
	err := c.cc.Invoke(ctx, "/central.UserService/GetUserUIPrivileges", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) QueryUserServicesAgreement(ctx context.Context, in *GetUserServicesAgreementReq, opts ...grpc.CallOption) (*QueryUserServicesAgreementResp, error) {
	out := new(QueryUserServicesAgreementResp)
	err := c.cc.Invoke(ctx, "/central.UserService/QueryUserServicesAgreement", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) SaveUserServicesAgreement(ctx context.Context, in *UserServicesAgreement, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/SaveUserServicesAgreement", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) CreateSqlUser(ctx context.Context, in *CreateSqlUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/CreateSqlUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) UpdateSqlUser(ctx context.Context, in *UpdateSqlUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/UpdateSqlUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) DeleteSqlUser(ctx context.Context, in *DeleteSqlUserReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/DeleteSqlUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) ListSqlUsers(ctx context.Context, in *ListSqlUsersReq, opts ...grpc.CallOption) (*ListSqlUsersResp, error) {
	out := new(ListSqlUsersResp)
	err := c.cc.Invoke(ctx, "/central.UserService/ListSqlUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) QuerySqlUser(ctx context.Context, in *QuerySqlUserReq, opts ...grpc.CallOption) (*QuerySqlUserResp, error) {
	out := new(QuerySqlUserResp)
	err := c.cc.Invoke(ctx, "/central.UserService/QuerySqlUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) CreateUserVisitHistory(ctx context.Context, in *CreateUserVisitHistoryReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/CreateUserVisitHistory", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) GetUserLastVisitHistory(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLastVisitHistoryResp, error) {
	out := new(GetUserLastVisitHistoryResp)
	err := c.cc.Invoke(ctx, "/central.UserService/GetUserLastVisitHistory", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) GetUserProfileV2(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserProfileResp, error) {
	out := new(GetUserProfileResp)
	err := c.cc.Invoke(ctx, "/central.UserService/GetUserProfileV2", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) GetUserOrgsProjects(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserOrgsProjectsResp, error) {
	out := new(GetUserOrgsProjectsResp)
	err := c.cc.Invoke(ctx, "/central.UserService/GetUserOrgsProjects", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) GetUserLoginExtInfo(ctx context.Context, in *GetUserLoginExtInfoReq, opts ...grpc.CallOption) (*GetUserLoginExtInfoResp, error) {
	out := new(GetUserLoginExtInfoResp)
	err := c.cc.Invoke(ctx, "/central.UserService/GetUserLoginExtInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) CreatePlgOnBoardingSurvey(ctx context.Context, in *CreatePlgOnBoardingSurveyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/CreatePlgOnBoardingSurvey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) ListConsoleUsers(ctx context.Context, in *ListConsoleUsersReq, opts ...grpc.CallOption) (*ListConsoleUsersResp, error) {
	out := new(ListConsoleUsersResp)
	err := c.cc.Invoke(ctx, "/central.UserService/ListConsoleUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) AssignConsoleUserRole(ctx context.Context, in *AssignConsoleUserRoleReq, opts ...grpc.CallOption) (*AssignConsoleUserRoleResp, error) {
	out := new(AssignConsoleUserRoleResp)
	err := c.cc.Invoke(ctx, "/central.UserService/AssignConsoleUserRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) EditConsoleUserRole(ctx context.Context, in *EditConsoleUserRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/EditConsoleUserRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) CheckEmailAlreadyHasOrgRole(ctx context.Context, in *CheckEmailAlreadyHasOrgRoleReq, opts ...grpc.CallOption) (*CheckEmailAlreadyHasOrgRoleResp, error) {
	out := new(CheckEmailAlreadyHasOrgRoleResp)
	err := c.cc.Invoke(ctx, "/central.UserService/CheckEmailAlreadyHasOrgRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *userServiceClient) RevokeUserLoginState(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.UserService/RevokeUserLoginState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// UserServiceServer is the server API for UserService service.
// All implementations must embed UnimplementedUserServiceServer
// for forward compatibility
type UserServiceServer interface {
	GetUserUIPrivileges(context.Context, *emptypb.Empty) (*GetUserUIPrivilegesResp, error)
	QueryUserServicesAgreement(context.Context, *GetUserServicesAgreementReq) (*QueryUserServicesAgreementResp, error)
	SaveUserServicesAgreement(context.Context, *UserServicesAgreement) (*emptypb.Empty, error)
	CreateSqlUser(context.Context, *CreateSqlUserReq) (*emptypb.Empty, error)
	UpdateSqlUser(context.Context, *UpdateSqlUserReq) (*emptypb.Empty, error)
	DeleteSqlUser(context.Context, *DeleteSqlUserReq) (*emptypb.Empty, error)
	ListSqlUsers(context.Context, *ListSqlUsersReq) (*ListSqlUsersResp, error)
	QuerySqlUser(context.Context, *QuerySqlUserReq) (*QuerySqlUserResp, error)
	CreateUserVisitHistory(context.Context, *CreateUserVisitHistoryReq) (*emptypb.Empty, error)
	GetUserLastVisitHistory(context.Context, *emptypb.Empty) (*GetUserLastVisitHistoryResp, error)
	GetUserProfileV2(context.Context, *emptypb.Empty) (*GetUserProfileResp, error)
	GetUserOrgsProjects(context.Context, *emptypb.Empty) (*GetUserOrgsProjectsResp, error)
	GetUserLoginExtInfo(context.Context, *GetUserLoginExtInfoReq) (*GetUserLoginExtInfoResp, error)
	CreatePlgOnBoardingSurvey(context.Context, *CreatePlgOnBoardingSurveyReq) (*emptypb.Empty, error)
	ListConsoleUsers(context.Context, *ListConsoleUsersReq) (*ListConsoleUsersResp, error)
	AssignConsoleUserRole(context.Context, *AssignConsoleUserRoleReq) (*AssignConsoleUserRoleResp, error)
	EditConsoleUserRole(context.Context, *EditConsoleUserRoleReq) (*emptypb.Empty, error)
	CheckEmailAlreadyHasOrgRole(context.Context, *CheckEmailAlreadyHasOrgRoleReq) (*CheckEmailAlreadyHasOrgRoleResp, error)
	RevokeUserLoginState(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	mustEmbedUnimplementedUserServiceServer()
}

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

func (UnimplementedUserServiceServer) GetUserUIPrivileges(context.Context, *emptypb.Empty) (*GetUserUIPrivilegesResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserUIPrivileges not implemented")
}
func (UnimplementedUserServiceServer) QueryUserServicesAgreement(context.Context, *GetUserServicesAgreementReq) (*QueryUserServicesAgreementResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method QueryUserServicesAgreement not implemented")
}
func (UnimplementedUserServiceServer) SaveUserServicesAgreement(context.Context, *UserServicesAgreement) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SaveUserServicesAgreement not implemented")
}
func (UnimplementedUserServiceServer) CreateSqlUser(context.Context, *CreateSqlUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateSqlUser not implemented")
}
func (UnimplementedUserServiceServer) UpdateSqlUser(context.Context, *UpdateSqlUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateSqlUser not implemented")
}
func (UnimplementedUserServiceServer) DeleteSqlUser(context.Context, *DeleteSqlUserReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteSqlUser not implemented")
}
func (UnimplementedUserServiceServer) ListSqlUsers(context.Context, *ListSqlUsersReq) (*ListSqlUsersResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListSqlUsers not implemented")
}
func (UnimplementedUserServiceServer) QuerySqlUser(context.Context, *QuerySqlUserReq) (*QuerySqlUserResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method QuerySqlUser not implemented")
}
func (UnimplementedUserServiceServer) CreateUserVisitHistory(context.Context, *CreateUserVisitHistoryReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateUserVisitHistory not implemented")
}
func (UnimplementedUserServiceServer) GetUserLastVisitHistory(context.Context, *emptypb.Empty) (*GetUserLastVisitHistoryResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserLastVisitHistory not implemented")
}
func (UnimplementedUserServiceServer) GetUserProfileV2(context.Context, *emptypb.Empty) (*GetUserProfileResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserProfileV2 not implemented")
}
func (UnimplementedUserServiceServer) GetUserOrgsProjects(context.Context, *emptypb.Empty) (*GetUserOrgsProjectsResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserOrgsProjects not implemented")
}
func (UnimplementedUserServiceServer) GetUserLoginExtInfo(context.Context, *GetUserLoginExtInfoReq) (*GetUserLoginExtInfoResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUserLoginExtInfo not implemented")
}
func (UnimplementedUserServiceServer) CreatePlgOnBoardingSurvey(context.Context, *CreatePlgOnBoardingSurveyReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreatePlgOnBoardingSurvey not implemented")
}
func (UnimplementedUserServiceServer) ListConsoleUsers(context.Context, *ListConsoleUsersReq) (*ListConsoleUsersResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListConsoleUsers not implemented")
}
func (UnimplementedUserServiceServer) AssignConsoleUserRole(context.Context, *AssignConsoleUserRoleReq) (*AssignConsoleUserRoleResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AssignConsoleUserRole not implemented")
}
func (UnimplementedUserServiceServer) EditConsoleUserRole(context.Context, *EditConsoleUserRoleReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method EditConsoleUserRole not implemented")
}
func (UnimplementedUserServiceServer) CheckEmailAlreadyHasOrgRole(context.Context, *CheckEmailAlreadyHasOrgRoleReq) (*CheckEmailAlreadyHasOrgRoleResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CheckEmailAlreadyHasOrgRole not implemented")
}
func (UnimplementedUserServiceServer) RevokeUserLoginState(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method RevokeUserLoginState not implemented")
}
func (UnimplementedUserServiceServer) mustEmbedUnimplementedUserServiceServer() {}

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

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer) {
	s.RegisterService(&UserService_ServiceDesc, srv)
}

func _UserService_GetUserUIPrivileges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).GetUserUIPrivileges(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/GetUserUIPrivileges",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).GetUserUIPrivileges(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_QueryUserServicesAgreement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetUserServicesAgreementReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).QueryUserServicesAgreement(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/QueryUserServicesAgreement",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).QueryUserServicesAgreement(ctx, req.(*GetUserServicesAgreementReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_SaveUserServicesAgreement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UserServicesAgreement)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).SaveUserServicesAgreement(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/SaveUserServicesAgreement",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).SaveUserServicesAgreement(ctx, req.(*UserServicesAgreement))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_CreateSqlUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateSqlUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).CreateSqlUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/CreateSqlUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).CreateSqlUser(ctx, req.(*CreateSqlUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_UpdateSqlUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateSqlUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).UpdateSqlUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/UpdateSqlUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).UpdateSqlUser(ctx, req.(*UpdateSqlUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_DeleteSqlUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteSqlUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).DeleteSqlUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/DeleteSqlUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).DeleteSqlUser(ctx, req.(*DeleteSqlUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_ListSqlUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListSqlUsersReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).ListSqlUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/ListSqlUsers",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).ListSqlUsers(ctx, req.(*ListSqlUsersReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_QuerySqlUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QuerySqlUserReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).QuerySqlUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/QuerySqlUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).QuerySqlUser(ctx, req.(*QuerySqlUserReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_CreateUserVisitHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateUserVisitHistoryReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).CreateUserVisitHistory(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/CreateUserVisitHistory",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).CreateUserVisitHistory(ctx, req.(*CreateUserVisitHistoryReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_GetUserLastVisitHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).GetUserLastVisitHistory(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/GetUserLastVisitHistory",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).GetUserLastVisitHistory(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_GetUserProfileV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).GetUserProfileV2(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/GetUserProfileV2",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).GetUserProfileV2(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_GetUserOrgsProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).GetUserOrgsProjects(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/GetUserOrgsProjects",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).GetUserOrgsProjects(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_GetUserLoginExtInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetUserLoginExtInfoReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).GetUserLoginExtInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/GetUserLoginExtInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).GetUserLoginExtInfo(ctx, req.(*GetUserLoginExtInfoReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_CreatePlgOnBoardingSurvey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreatePlgOnBoardingSurveyReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).CreatePlgOnBoardingSurvey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/CreatePlgOnBoardingSurvey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).CreatePlgOnBoardingSurvey(ctx, req.(*CreatePlgOnBoardingSurveyReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_ListConsoleUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListConsoleUsersReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).ListConsoleUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/ListConsoleUsers",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).ListConsoleUsers(ctx, req.(*ListConsoleUsersReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_AssignConsoleUserRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AssignConsoleUserRoleReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).AssignConsoleUserRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/AssignConsoleUserRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).AssignConsoleUserRole(ctx, req.(*AssignConsoleUserRoleReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_EditConsoleUserRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(EditConsoleUserRoleReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).EditConsoleUserRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/EditConsoleUserRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).EditConsoleUserRole(ctx, req.(*EditConsoleUserRoleReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_CheckEmailAlreadyHasOrgRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CheckEmailAlreadyHasOrgRoleReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).CheckEmailAlreadyHasOrgRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/CheckEmailAlreadyHasOrgRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).CheckEmailAlreadyHasOrgRole(ctx, req.(*CheckEmailAlreadyHasOrgRoleReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _UserService_RevokeUserLoginState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(UserServiceServer).RevokeUserLoginState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.UserService/RevokeUserLoginState",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(UserServiceServer).RevokeUserLoginState(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

// UserService_ServiceDesc is the grpc.ServiceDesc for UserService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserUIPrivileges",
			Handler:    _UserService_GetUserUIPrivileges_Handler,
		},
		{
			MethodName: "QueryUserServicesAgreement",
			Handler:    _UserService_QueryUserServicesAgreement_Handler,
		},
		{
			MethodName: "SaveUserServicesAgreement",
			Handler:    _UserService_SaveUserServicesAgreement_Handler,
		},
		{
			MethodName: "CreateSqlUser",
			Handler:    _UserService_CreateSqlUser_Handler,
		},
		{
			MethodName: "UpdateSqlUser",
			Handler:    _UserService_UpdateSqlUser_Handler,
		},
		{
			MethodName: "DeleteSqlUser",
			Handler:    _UserService_DeleteSqlUser_Handler,
		},
		{
			MethodName: "ListSqlUsers",
			Handler:    _UserService_ListSqlUsers_Handler,
		},
		{
			MethodName: "QuerySqlUser",
			Handler:    _UserService_QuerySqlUser_Handler,
		},
		{
			MethodName: "CreateUserVisitHistory",
			Handler:    _UserService_CreateUserVisitHistory_Handler,
		},
		{
			MethodName: "GetUserLastVisitHistory",
			Handler:    _UserService_GetUserLastVisitHistory_Handler,
		},
		{
			MethodName: "GetUserProfileV2",
			Handler:    _UserService_GetUserProfileV2_Handler,
		},
		{
			MethodName: "GetUserOrgsProjects",
			Handler:    _UserService_GetUserOrgsProjects_Handler,
		},
		{
			MethodName: "GetUserLoginExtInfo",
			Handler:    _UserService_GetUserLoginExtInfo_Handler,
		},
		{
			MethodName: "CreatePlgOnBoardingSurvey",
			Handler:    _UserService_CreatePlgOnBoardingSurvey_Handler,
		},
		{
			MethodName: "ListConsoleUsers",
			Handler:    _UserService_ListConsoleUsers_Handler,
		},
		{
			MethodName: "AssignConsoleUserRole",
			Handler:    _UserService_AssignConsoleUserRole_Handler,
		},
		{
			MethodName: "EditConsoleUserRole",
			Handler:    _UserService_EditConsoleUserRole_Handler,
		},
		{
			MethodName: "CheckEmailAlreadyHasOrgRole",
			Handler:    _UserService_CheckEmailAlreadyHasOrgRole_Handler,
		},
		{
			MethodName: "RevokeUserLoginState",
			Handler:    _UserService_RevokeUserLoginState_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// MessageServiceClient is the client API for MessageService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type MessageServiceClient interface {
	QueryNotice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryNoticeResp, error)
}

type messageServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewMessageServiceClient(cc grpc.ClientConnInterface) MessageServiceClient {
	return &messageServiceClient{cc}
}

func (c *messageServiceClient) QueryNotice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryNoticeResp, error) {
	out := new(QueryNoticeResp)
	err := c.cc.Invoke(ctx, "/central.MessageService/QueryNotice", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// MessageServiceServer is the server API for MessageService service.
// All implementations must embed UnimplementedMessageServiceServer
// for forward compatibility
type MessageServiceServer interface {
	QueryNotice(context.Context, *emptypb.Empty) (*QueryNoticeResp, error)
	mustEmbedUnimplementedMessageServiceServer()
}

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

func (UnimplementedMessageServiceServer) QueryNotice(context.Context, *emptypb.Empty) (*QueryNoticeResp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method QueryNotice not implemented")
}
func (UnimplementedMessageServiceServer) mustEmbedUnimplementedMessageServiceServer() {}

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

func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer) {
	s.RegisterService(&MessageService_ServiceDesc, srv)
}

func _MessageService_QueryNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(emptypb.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MessageServiceServer).QueryNotice(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.MessageService/QueryNotice",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MessageServiceServer).QueryNotice(ctx, req.(*emptypb.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

// MessageService_ServiceDesc is the grpc.ServiceDesc for MessageService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var MessageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.MessageService",
	HandlerType: (*MessageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryNotice",
			Handler:    _MessageService_QueryNotice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// ScimGroupServiceClient is the client API for ScimGroupService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type ScimGroupServiceClient interface {
	ListScimGroups(ctx context.Context, in *ListScimGroupsReq, opts ...grpc.CallOption) (*ListScimGroupsRsp, error)
	UpdateScimGroupRole(ctx context.Context, in *UpdateScimGroupRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type scimGroupServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewScimGroupServiceClient(cc grpc.ClientConnInterface) ScimGroupServiceClient {
	return &scimGroupServiceClient{cc}
}

func (c *scimGroupServiceClient) ListScimGroups(ctx context.Context, in *ListScimGroupsReq, opts ...grpc.CallOption) (*ListScimGroupsRsp, error) {
	out := new(ListScimGroupsRsp)
	err := c.cc.Invoke(ctx, "/central.ScimGroupService/ListScimGroups", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *scimGroupServiceClient) UpdateScimGroupRole(ctx context.Context, in *UpdateScimGroupRoleReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.ScimGroupService/UpdateScimGroupRole", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ScimGroupServiceServer is the server API for ScimGroupService service.
// All implementations must embed UnimplementedScimGroupServiceServer
// for forward compatibility
type ScimGroupServiceServer interface {
	ListScimGroups(context.Context, *ListScimGroupsReq) (*ListScimGroupsRsp, error)
	UpdateScimGroupRole(context.Context, *UpdateScimGroupRoleReq) (*emptypb.Empty, error)
	mustEmbedUnimplementedScimGroupServiceServer()
}

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

func (UnimplementedScimGroupServiceServer) ListScimGroups(context.Context, *ListScimGroupsReq) (*ListScimGroupsRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListScimGroups not implemented")
}
func (UnimplementedScimGroupServiceServer) UpdateScimGroupRole(context.Context, *UpdateScimGroupRoleReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateScimGroupRole not implemented")
}
func (UnimplementedScimGroupServiceServer) mustEmbedUnimplementedScimGroupServiceServer() {}

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

func RegisterScimGroupServiceServer(s grpc.ServiceRegistrar, srv ScimGroupServiceServer) {
	s.RegisterService(&ScimGroupService_ServiceDesc, srv)
}

func _ScimGroupService_ListScimGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListScimGroupsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ScimGroupServiceServer).ListScimGroups(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.ScimGroupService/ListScimGroups",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ScimGroupServiceServer).ListScimGroups(ctx, req.(*ListScimGroupsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _ScimGroupService_UpdateScimGroupRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateScimGroupRoleReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ScimGroupServiceServer).UpdateScimGroupRole(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.ScimGroupService/UpdateScimGroupRole",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ScimGroupServiceServer).UpdateScimGroupRole(ctx, req.(*UpdateScimGroupRoleReq))
	}
	return interceptor(ctx, in, info, handler)
}

// ScimGroupService_ServiceDesc is the grpc.ServiceDesc for ScimGroupService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ScimGroupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.ScimGroupService",
	HandlerType: (*ScimGroupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListScimGroups",
			Handler:    _ScimGroupService_ListScimGroups_Handler,
		},
		{
			MethodName: "UpdateScimGroupRole",
			Handler:    _ScimGroupService_UpdateScimGroupRole_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}

// OrgDomainServiceClient is the client API for OrgDomainService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type OrgDomainServiceClient interface {
	AddDomain(ctx context.Context, in *AddDomainReq, opts ...grpc.CallOption) (*OrgDomain, error)
	VerifyDomain(ctx context.Context, in *VerifyDomainReq, opts ...grpc.CallOption) (*OrgDomain, error)
	ConfirmDomains(ctx context.Context, in *ConfirmDomainsReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListDomains(ctx context.Context, in *ListDomainsReq, opts ...grpc.CallOption) (*ListDomainsRsp, error)
	DeleteDomain(ctx context.Context, in *DeleteDomainReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

type orgDomainServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewOrgDomainServiceClient(cc grpc.ClientConnInterface) OrgDomainServiceClient {
	return &orgDomainServiceClient{cc}
}

func (c *orgDomainServiceClient) AddDomain(ctx context.Context, in *AddDomainReq, opts ...grpc.CallOption) (*OrgDomain, error) {
	out := new(OrgDomain)
	err := c.cc.Invoke(ctx, "/central.OrgDomainService/AddDomain", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgDomainServiceClient) VerifyDomain(ctx context.Context, in *VerifyDomainReq, opts ...grpc.CallOption) (*OrgDomain, error) {
	out := new(OrgDomain)
	err := c.cc.Invoke(ctx, "/central.OrgDomainService/VerifyDomain", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgDomainServiceClient) ConfirmDomains(ctx context.Context, in *ConfirmDomainsReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OrgDomainService/ConfirmDomains", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgDomainServiceClient) ListDomains(ctx context.Context, in *ListDomainsReq, opts ...grpc.CallOption) (*ListDomainsRsp, error) {
	out := new(ListDomainsRsp)
	err := c.cc.Invoke(ctx, "/central.OrgDomainService/ListDomains", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *orgDomainServiceClient) DeleteDomain(ctx context.Context, in *DeleteDomainReq, opts ...grpc.CallOption) (*emptypb.Empty, error) {
	out := new(emptypb.Empty)
	err := c.cc.Invoke(ctx, "/central.OrgDomainService/DeleteDomain", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// OrgDomainServiceServer is the server API for OrgDomainService service.
// All implementations must embed UnimplementedOrgDomainServiceServer
// for forward compatibility
type OrgDomainServiceServer interface {
	AddDomain(context.Context, *AddDomainReq) (*OrgDomain, error)
	VerifyDomain(context.Context, *VerifyDomainReq) (*OrgDomain, error)
	ConfirmDomains(context.Context, *ConfirmDomainsReq) (*emptypb.Empty, error)
	ListDomains(context.Context, *ListDomainsReq) (*ListDomainsRsp, error)
	DeleteDomain(context.Context, *DeleteDomainReq) (*emptypb.Empty, error)
	mustEmbedUnimplementedOrgDomainServiceServer()
}

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

func (UnimplementedOrgDomainServiceServer) AddDomain(context.Context, *AddDomainReq) (*OrgDomain, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AddDomain not implemented")
}
func (UnimplementedOrgDomainServiceServer) VerifyDomain(context.Context, *VerifyDomainReq) (*OrgDomain, error) {
	return nil, status.Errorf(codes.Unimplemented, "method VerifyDomain not implemented")
}
func (UnimplementedOrgDomainServiceServer) ConfirmDomains(context.Context, *ConfirmDomainsReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ConfirmDomains not implemented")
}
func (UnimplementedOrgDomainServiceServer) ListDomains(context.Context, *ListDomainsReq) (*ListDomainsRsp, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListDomains not implemented")
}
func (UnimplementedOrgDomainServiceServer) DeleteDomain(context.Context, *DeleteDomainReq) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteDomain not implemented")
}
func (UnimplementedOrgDomainServiceServer) mustEmbedUnimplementedOrgDomainServiceServer() {}

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

func RegisterOrgDomainServiceServer(s grpc.ServiceRegistrar, srv OrgDomainServiceServer) {
	s.RegisterService(&OrgDomainService_ServiceDesc, srv)
}

func _OrgDomainService_AddDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AddDomainReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgDomainServiceServer).AddDomain(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgDomainService/AddDomain",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgDomainServiceServer).AddDomain(ctx, req.(*AddDomainReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgDomainService_VerifyDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(VerifyDomainReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgDomainServiceServer).VerifyDomain(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgDomainService/VerifyDomain",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgDomainServiceServer).VerifyDomain(ctx, req.(*VerifyDomainReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgDomainService_ConfirmDomains_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ConfirmDomainsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgDomainServiceServer).ConfirmDomains(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgDomainService/ConfirmDomains",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgDomainServiceServer).ConfirmDomains(ctx, req.(*ConfirmDomainsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgDomainService_ListDomains_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListDomainsReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgDomainServiceServer).ListDomains(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgDomainService/ListDomains",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgDomainServiceServer).ListDomains(ctx, req.(*ListDomainsReq))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrgDomainService_DeleteDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteDomainReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrgDomainServiceServer).DeleteDomain(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/central.OrgDomainService/DeleteDomain",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrgDomainServiceServer).DeleteDomain(ctx, req.(*DeleteDomainReq))
	}
	return interceptor(ctx, in, info, handler)
}

// OrgDomainService_ServiceDesc is the grpc.ServiceDesc for OrgDomainService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var OrgDomainService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "central.OrgDomainService",
	HandlerType: (*OrgDomainServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddDomain",
			Handler:    _OrgDomainService_AddDomain_Handler,
		},
		{
			MethodName: "VerifyDomain",
			Handler:    _OrgDomainService_VerifyDomain_Handler,
		},
		{
			MethodName: "ConfirmDomains",
			Handler:    _OrgDomainService_ConfirmDomains_Handler,
		},
		{
			MethodName: "ListDomains",
			Handler:    _OrgDomainService_ListDomains_Handler,
		},
		{
			MethodName: "DeleteDomain",
			Handler:    _OrgDomainService_DeleteDomain_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "central/service.proto",
}
