// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.8
// - protoc             v4.22.0--rc2
// source: pb/artistinfoArtwork.proto

package artistInfoArtwork

import (
	context "context"
	protocol "dubbo.apache.org/dubbo-go/v3/protocol"
	dubbo3 "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3"
	invocation "dubbo.apache.org/dubbo-go/v3/protocol/invocation"
	grpc_go "github.com/dubbogo/grpc-go"
	codes "github.com/dubbogo/grpc-go/codes"
	metadata "github.com/dubbogo/grpc-go/metadata"
	status "github.com/dubbogo/grpc-go/status"
	common "github.com/dubbogo/triple/pkg/common"
	constant "github.com/dubbogo/triple/pkg/common/constant"
	triple "github.com/dubbogo/triple/pkg/triple"
	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.
const _ = grpc_go.SupportPackageIsVersion7

// ArtistInfoArtworkClient is the client API for ArtistInfoArtwork 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 ArtistInfoArtworkClient interface {
	// 画作相关
	CreateArtworkLockRecord(ctx context.Context, in *CreateArtworkLockRecordReq, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment)
	ArtworkLockAction(ctx context.Context, in *ArtworkLockActionRequest, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment)
	GetArtworkLockRecords(ctx context.Context, in *GetArtworkLockRecordsRequest, opts ...grpc_go.CallOption) (*ArtworkLockList, common.ErrorWithAttachment)
	GetArtworkLockHistoryGroup(ctx context.Context, in *GetArtworkLockHistoryRequest, opts ...grpc_go.CallOption) (*GetArtworkLockHistoryResponse, common.ErrorWithAttachment)
	DeleteArtworkRecord(ctx context.Context, in *DeleteArtworkRecordRequest, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment)
	GetArtworkLockDetail(ctx context.Context, in *GetArtworkLockDetailRequest, opts ...grpc_go.CallOption) (*ArtistLockInfo, common.ErrorWithAttachment)
	UpdateArtworkAuditStatus(ctx context.Context, in *UpdateArtworkAuditStatusRequest, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment)
	CheckArtworkBaseInfoEditable(ctx context.Context, in *ArtworkUidRequest, opts ...grpc_go.CallOption) (*CheckArtworkEditableResponse, common.ErrorWithAttachment)
	CheckArtworkSupplementInfoEditable(ctx context.Context, in *ArtworkUidRequest, opts ...grpc_go.CallOption) (*CheckArtworkEditableResponse, common.ErrorWithAttachment)
	GenerateArtworkSupplementInfo(ctx context.Context, in *ArtworkUidsRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
}

type artistInfoArtworkClient struct {
	cc *triple.TripleConn
}

type ArtistInfoArtworkClientImpl struct {
	CreateArtworkLockRecord            func(ctx context.Context, in *CreateArtworkLockRecordReq) (*ArtworkCommonNoParams, error)
	ArtworkLockAction                  func(ctx context.Context, in *ArtworkLockActionRequest) (*ArtworkCommonNoParams, error)
	GetArtworkLockRecords              func(ctx context.Context, in *GetArtworkLockRecordsRequest) (*ArtworkLockList, error)
	GetArtworkLockHistoryGroup         func(ctx context.Context, in *GetArtworkLockHistoryRequest) (*GetArtworkLockHistoryResponse, error)
	DeleteArtworkRecord                func(ctx context.Context, in *DeleteArtworkRecordRequest) (*ArtworkCommonNoParams, error)
	GetArtworkLockDetail               func(ctx context.Context, in *GetArtworkLockDetailRequest) (*ArtistLockInfo, error)
	UpdateArtworkAuditStatus           func(ctx context.Context, in *UpdateArtworkAuditStatusRequest) (*ArtworkCommonNoParams, error)
	CheckArtworkBaseInfoEditable       func(ctx context.Context, in *ArtworkUidRequest) (*CheckArtworkEditableResponse, error)
	CheckArtworkSupplementInfoEditable func(ctx context.Context, in *ArtworkUidRequest) (*CheckArtworkEditableResponse, error)
	GenerateArtworkSupplementInfo      func(ctx context.Context, in *ArtworkUidsRequest) (*emptypb.Empty, error)
}

func (c *ArtistInfoArtworkClientImpl) GetDubboStub(cc *triple.TripleConn) ArtistInfoArtworkClient {
	return NewArtistInfoArtworkClient(cc)
}

func (c *ArtistInfoArtworkClientImpl) XXX_InterfaceName() string {
	return "artistinfo.ArtistInfoArtwork"
}

func NewArtistInfoArtworkClient(cc *triple.TripleConn) ArtistInfoArtworkClient {
	return &artistInfoArtworkClient{cc}
}

func (c *artistInfoArtworkClient) CreateArtworkLockRecord(ctx context.Context, in *CreateArtworkLockRecordReq, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment) {
	out := new(ArtworkCommonNoParams)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateArtworkLockRecord", in, out)
}

func (c *artistInfoArtworkClient) ArtworkLockAction(ctx context.Context, in *ArtworkLockActionRequest, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment) {
	out := new(ArtworkCommonNoParams)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ArtworkLockAction", in, out)
}

func (c *artistInfoArtworkClient) GetArtworkLockRecords(ctx context.Context, in *GetArtworkLockRecordsRequest, opts ...grpc_go.CallOption) (*ArtworkLockList, common.ErrorWithAttachment) {
	out := new(ArtworkLockList)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtworkLockRecords", in, out)
}

func (c *artistInfoArtworkClient) GetArtworkLockHistoryGroup(ctx context.Context, in *GetArtworkLockHistoryRequest, opts ...grpc_go.CallOption) (*GetArtworkLockHistoryResponse, common.ErrorWithAttachment) {
	out := new(GetArtworkLockHistoryResponse)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtworkLockHistoryGroup", in, out)
}

func (c *artistInfoArtworkClient) DeleteArtworkRecord(ctx context.Context, in *DeleteArtworkRecordRequest, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment) {
	out := new(ArtworkCommonNoParams)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeleteArtworkRecord", in, out)
}

func (c *artistInfoArtworkClient) GetArtworkLockDetail(ctx context.Context, in *GetArtworkLockDetailRequest, opts ...grpc_go.CallOption) (*ArtistLockInfo, common.ErrorWithAttachment) {
	out := new(ArtistLockInfo)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtworkLockDetail", in, out)
}

func (c *artistInfoArtworkClient) UpdateArtworkAuditStatus(ctx context.Context, in *UpdateArtworkAuditStatusRequest, opts ...grpc_go.CallOption) (*ArtworkCommonNoParams, common.ErrorWithAttachment) {
	out := new(ArtworkCommonNoParams)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtworkAuditStatus", in, out)
}

func (c *artistInfoArtworkClient) CheckArtworkBaseInfoEditable(ctx context.Context, in *ArtworkUidRequest, opts ...grpc_go.CallOption) (*CheckArtworkEditableResponse, common.ErrorWithAttachment) {
	out := new(CheckArtworkEditableResponse)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CheckArtworkBaseInfoEditable", in, out)
}

func (c *artistInfoArtworkClient) CheckArtworkSupplementInfoEditable(ctx context.Context, in *ArtworkUidRequest, opts ...grpc_go.CallOption) (*CheckArtworkEditableResponse, common.ErrorWithAttachment) {
	out := new(CheckArtworkEditableResponse)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CheckArtworkSupplementInfoEditable", in, out)
}

func (c *artistInfoArtworkClient) GenerateArtworkSupplementInfo(ctx context.Context, in *ArtworkUidsRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
	out := new(emptypb.Empty)
	interfaceKey := ctx.Value(constant.InterfaceKey).(string)
	return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GenerateArtworkSupplementInfo", in, out)
}

// ArtistInfoArtworkServer is the server API for ArtistInfoArtwork service.
// All implementations must embed UnimplementedArtistInfoArtworkServer
// for forward compatibility
type ArtistInfoArtworkServer interface {
	// 画作相关
	CreateArtworkLockRecord(context.Context, *CreateArtworkLockRecordReq) (*ArtworkCommonNoParams, error)
	ArtworkLockAction(context.Context, *ArtworkLockActionRequest) (*ArtworkCommonNoParams, error)
	GetArtworkLockRecords(context.Context, *GetArtworkLockRecordsRequest) (*ArtworkLockList, error)
	GetArtworkLockHistoryGroup(context.Context, *GetArtworkLockHistoryRequest) (*GetArtworkLockHistoryResponse, error)
	DeleteArtworkRecord(context.Context, *DeleteArtworkRecordRequest) (*ArtworkCommonNoParams, error)
	GetArtworkLockDetail(context.Context, *GetArtworkLockDetailRequest) (*ArtistLockInfo, error)
	UpdateArtworkAuditStatus(context.Context, *UpdateArtworkAuditStatusRequest) (*ArtworkCommonNoParams, error)
	CheckArtworkBaseInfoEditable(context.Context, *ArtworkUidRequest) (*CheckArtworkEditableResponse, error)
	CheckArtworkSupplementInfoEditable(context.Context, *ArtworkUidRequest) (*CheckArtworkEditableResponse, error)
	GenerateArtworkSupplementInfo(context.Context, *ArtworkUidsRequest) (*emptypb.Empty, error)
	mustEmbedUnimplementedArtistInfoArtworkServer()
}

// UnimplementedArtistInfoArtworkServer must be embedded to have forward compatible implementations.
type UnimplementedArtistInfoArtworkServer struct {
	proxyImpl protocol.Invoker
}

func (UnimplementedArtistInfoArtworkServer) CreateArtworkLockRecord(context.Context, *CreateArtworkLockRecordReq) (*ArtworkCommonNoParams, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateArtworkLockRecord not implemented")
}
func (UnimplementedArtistInfoArtworkServer) ArtworkLockAction(context.Context, *ArtworkLockActionRequest) (*ArtworkCommonNoParams, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ArtworkLockAction not implemented")
}
func (UnimplementedArtistInfoArtworkServer) GetArtworkLockRecords(context.Context, *GetArtworkLockRecordsRequest) (*ArtworkLockList, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetArtworkLockRecords not implemented")
}
func (UnimplementedArtistInfoArtworkServer) GetArtworkLockHistoryGroup(context.Context, *GetArtworkLockHistoryRequest) (*GetArtworkLockHistoryResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetArtworkLockHistoryGroup not implemented")
}
func (UnimplementedArtistInfoArtworkServer) DeleteArtworkRecord(context.Context, *DeleteArtworkRecordRequest) (*ArtworkCommonNoParams, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteArtworkRecord not implemented")
}
func (UnimplementedArtistInfoArtworkServer) GetArtworkLockDetail(context.Context, *GetArtworkLockDetailRequest) (*ArtistLockInfo, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetArtworkLockDetail not implemented")
}
func (UnimplementedArtistInfoArtworkServer) UpdateArtworkAuditStatus(context.Context, *UpdateArtworkAuditStatusRequest) (*ArtworkCommonNoParams, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateArtworkAuditStatus not implemented")
}
func (UnimplementedArtistInfoArtworkServer) CheckArtworkBaseInfoEditable(context.Context, *ArtworkUidRequest) (*CheckArtworkEditableResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CheckArtworkBaseInfoEditable not implemented")
}
func (UnimplementedArtistInfoArtworkServer) CheckArtworkSupplementInfoEditable(context.Context, *ArtworkUidRequest) (*CheckArtworkEditableResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CheckArtworkSupplementInfoEditable not implemented")
}
func (UnimplementedArtistInfoArtworkServer) GenerateArtworkSupplementInfo(context.Context, *ArtworkUidsRequest) (*emptypb.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GenerateArtworkSupplementInfo not implemented")
}
func (s *UnimplementedArtistInfoArtworkServer) XXX_SetProxyImpl(impl protocol.Invoker) {
	s.proxyImpl = impl
}

func (s *UnimplementedArtistInfoArtworkServer) XXX_GetProxyImpl() protocol.Invoker {
	return s.proxyImpl
}

func (s *UnimplementedArtistInfoArtworkServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
	return &ArtistInfoArtwork_ServiceDesc
}
func (s *UnimplementedArtistInfoArtworkServer) XXX_InterfaceName() string {
	return "artistinfo.ArtistInfoArtwork"
}

func (UnimplementedArtistInfoArtworkServer) mustEmbedUnimplementedArtistInfoArtworkServer() {}

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

func RegisterArtistInfoArtworkServer(s grpc_go.ServiceRegistrar, srv ArtistInfoArtworkServer) {
	s.RegisterService(&ArtistInfoArtwork_ServiceDesc, srv)
}

func _ArtistInfoArtwork_CreateArtworkLockRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateArtworkLockRecordReq)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("CreateArtworkLockRecord", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_ArtworkLockAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(ArtworkLockActionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("ArtworkLockAction", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_GetArtworkLockRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetArtworkLockRecordsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("GetArtworkLockRecords", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_GetArtworkLockHistoryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetArtworkLockHistoryRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("GetArtworkLockHistoryGroup", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_DeleteArtworkRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteArtworkRecordRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("DeleteArtworkRecord", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_GetArtworkLockDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetArtworkLockDetailRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("GetArtworkLockDetail", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_UpdateArtworkAuditStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateArtworkAuditStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("UpdateArtworkAuditStatus", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_CheckArtworkBaseInfoEditable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(ArtworkUidRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("CheckArtworkBaseInfoEditable", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_CheckArtworkSupplementInfoEditable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(ArtworkUidRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("CheckArtworkSupplementInfoEditable", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

func _ArtistInfoArtwork_GenerateArtworkSupplementInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
	in := new(ArtworkUidsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	base := srv.(dubbo3.Dubbo3GrpcService)
	args := []interface{}{}
	args = append(args, in)
	md, _ := metadata.FromIncomingContext(ctx)
	invAttachment := make(map[string]interface{}, len(md))
	for k, v := range md {
		invAttachment[k] = v
	}
	invo := invocation.NewRPCInvocation("GenerateArtworkSupplementInfo", args, invAttachment)
	if interceptor == nil {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	info := &grpc_go.UnaryServerInfo{
		Server:     srv,
		FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
		return result, result.Error()
	}
	return interceptor(ctx, in, info, handler)
}

// ArtistInfoArtwork_ServiceDesc is the grpc_go.ServiceDesc for ArtistInfoArtwork service.
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
var ArtistInfoArtwork_ServiceDesc = grpc_go.ServiceDesc{
	ServiceName: "artistinfo.ArtistInfoArtwork",
	HandlerType: (*ArtistInfoArtworkServer)(nil),
	Methods: []grpc_go.MethodDesc{
		{
			MethodName: "CreateArtworkLockRecord",
			Handler:    _ArtistInfoArtwork_CreateArtworkLockRecord_Handler,
		},
		{
			MethodName: "ArtworkLockAction",
			Handler:    _ArtistInfoArtwork_ArtworkLockAction_Handler,
		},
		{
			MethodName: "GetArtworkLockRecords",
			Handler:    _ArtistInfoArtwork_GetArtworkLockRecords_Handler,
		},
		{
			MethodName: "GetArtworkLockHistoryGroup",
			Handler:    _ArtistInfoArtwork_GetArtworkLockHistoryGroup_Handler,
		},
		{
			MethodName: "DeleteArtworkRecord",
			Handler:    _ArtistInfoArtwork_DeleteArtworkRecord_Handler,
		},
		{
			MethodName: "GetArtworkLockDetail",
			Handler:    _ArtistInfoArtwork_GetArtworkLockDetail_Handler,
		},
		{
			MethodName: "UpdateArtworkAuditStatus",
			Handler:    _ArtistInfoArtwork_UpdateArtworkAuditStatus_Handler,
		},
		{
			MethodName: "CheckArtworkBaseInfoEditable",
			Handler:    _ArtistInfoArtwork_CheckArtworkBaseInfoEditable_Handler,
		},
		{
			MethodName: "CheckArtworkSupplementInfoEditable",
			Handler:    _ArtistInfoArtwork_CheckArtworkSupplementInfoEditable_Handler,
		},
		{
			MethodName: "GenerateArtworkSupplementInfo",
			Handler:    _ArtistInfoArtwork_GenerateArtworkSupplementInfo_Handler,
		},
	},
	Streams:  []grpc_go.StreamDesc{},
	Metadata: "pb/artistinfoArtwork.proto",
}
