// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_mystery_shop_cheat.proto

package proto

import (
	fmt "fmt"
	math "math"
	context "context"
	proto "github.com/golang/protobuf/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	model "vikingar/proto/gen-go/model"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// 使用默认配置创建活动--
type MysteryShopCreateDefaultActivityRPCRequest struct {
	Base                 *MysteryShopCheatRequestBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Time                 *model.ActivityTime          `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	Server               []int32                      `protobuf:"varint,3,rep,packed,name=server,proto3" json:"server,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (m *MysteryShopCreateDefaultActivityRPCRequest) Reset() {
	*m = MysteryShopCreateDefaultActivityRPCRequest{}
}
func (m *MysteryShopCreateDefaultActivityRPCRequest) String() string {
	return proto.CompactTextString(m)
}
func (*MysteryShopCreateDefaultActivityRPCRequest) ProtoMessage() {}
func (*MysteryShopCreateDefaultActivityRPCRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_63393ba452e67618, []int{0}
}

func (m *MysteryShopCreateDefaultActivityRPCRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MysteryShopCreateDefaultActivityRPCRequest.Unmarshal(m, b)
}
func (m *MysteryShopCreateDefaultActivityRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MysteryShopCreateDefaultActivityRPCRequest.Marshal(b, m, deterministic)
}
func (m *MysteryShopCreateDefaultActivityRPCRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MysteryShopCreateDefaultActivityRPCRequest.Merge(m, src)
}
func (m *MysteryShopCreateDefaultActivityRPCRequest) XXX_Size() int {
	return xxx_messageInfo_MysteryShopCreateDefaultActivityRPCRequest.Size(m)
}
func (m *MysteryShopCreateDefaultActivityRPCRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_MysteryShopCreateDefaultActivityRPCRequest.DiscardUnknown(m)
}

var xxx_messageInfo_MysteryShopCreateDefaultActivityRPCRequest proto.InternalMessageInfo

func (m *MysteryShopCreateDefaultActivityRPCRequest) GetBase() *MysteryShopCheatRequestBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *MysteryShopCreateDefaultActivityRPCRequest) GetTime() *model.ActivityTime {
	if m != nil {
		return m.Time
	}
	return nil
}

func (m *MysteryShopCreateDefaultActivityRPCRequest) GetServer() []int32 {
	if m != nil {
		return m.Server
	}
	return nil
}

type MysteryShopCreateDefaultActivityRPCResponse struct {
	Code                 int64    `protobuf:"zigzag64,1,opt,name=code,proto3" json:"code,omitempty"`
	Info                 string   `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *MysteryShopCreateDefaultActivityRPCResponse) Reset() {
	*m = MysteryShopCreateDefaultActivityRPCResponse{}
}
func (m *MysteryShopCreateDefaultActivityRPCResponse) String() string {
	return proto.CompactTextString(m)
}
func (*MysteryShopCreateDefaultActivityRPCResponse) ProtoMessage() {}
func (*MysteryShopCreateDefaultActivityRPCResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_63393ba452e67618, []int{1}
}

func (m *MysteryShopCreateDefaultActivityRPCResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MysteryShopCreateDefaultActivityRPCResponse.Unmarshal(m, b)
}
func (m *MysteryShopCreateDefaultActivityRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MysteryShopCreateDefaultActivityRPCResponse.Marshal(b, m, deterministic)
}
func (m *MysteryShopCreateDefaultActivityRPCResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MysteryShopCreateDefaultActivityRPCResponse.Merge(m, src)
}
func (m *MysteryShopCreateDefaultActivityRPCResponse) XXX_Size() int {
	return xxx_messageInfo_MysteryShopCreateDefaultActivityRPCResponse.Size(m)
}
func (m *MysteryShopCreateDefaultActivityRPCResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_MysteryShopCreateDefaultActivityRPCResponse.DiscardUnknown(m)
}

var xxx_messageInfo_MysteryShopCreateDefaultActivityRPCResponse proto.InternalMessageInfo

func (m *MysteryShopCreateDefaultActivityRPCResponse) GetCode() int64 {
	if m != nil {
		return m.Code
	}
	return 0
}

func (m *MysteryShopCreateDefaultActivityRPCResponse) GetInfo() string {
	if m != nil {
		return m.Info
	}
	return ""
}

type MysteryShopCheatRequestBase struct {
	RoleId               string   `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	ServerId             int32    `protobuf:"varint,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *MysteryShopCheatRequestBase) Reset()         { *m = MysteryShopCheatRequestBase{} }
func (m *MysteryShopCheatRequestBase) String() string { return proto.CompactTextString(m) }
func (*MysteryShopCheatRequestBase) ProtoMessage()    {}
func (*MysteryShopCheatRequestBase) Descriptor() ([]byte, []int) {
	return fileDescriptor_63393ba452e67618, []int{2}
}

func (m *MysteryShopCheatRequestBase) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MysteryShopCheatRequestBase.Unmarshal(m, b)
}
func (m *MysteryShopCheatRequestBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MysteryShopCheatRequestBase.Marshal(b, m, deterministic)
}
func (m *MysteryShopCheatRequestBase) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MysteryShopCheatRequestBase.Merge(m, src)
}
func (m *MysteryShopCheatRequestBase) XXX_Size() int {
	return xxx_messageInfo_MysteryShopCheatRequestBase.Size(m)
}
func (m *MysteryShopCheatRequestBase) XXX_DiscardUnknown() {
	xxx_messageInfo_MysteryShopCheatRequestBase.DiscardUnknown(m)
}

var xxx_messageInfo_MysteryShopCheatRequestBase proto.InternalMessageInfo

func (m *MysteryShopCheatRequestBase) GetRoleId() string {
	if m != nil {
		return m.RoleId
	}
	return ""
}

func (m *MysteryShopCheatRequestBase) GetServerId() int32 {
	if m != nil {
		return m.ServerId
	}
	return 0
}

func init() {
	proto.RegisterType((*MysteryShopCreateDefaultActivityRPCRequest)(nil), "proto.MysteryShopCreateDefaultActivityRPCRequest")
	proto.RegisterType((*MysteryShopCreateDefaultActivityRPCResponse)(nil), "proto.MysteryShopCreateDefaultActivityRPCResponse")
	proto.RegisterType((*MysteryShopCheatRequestBase)(nil), "proto.MysteryShopCheatRequestBase")
}

func init() {
	proto.RegisterFile("service/cross_mystery_shop_cheat.proto", fileDescriptor_63393ba452e67618)
}

var fileDescriptor_63393ba452e67618 = []byte{
	// 304 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0x4d, 0x4b, 0xc3, 0x40,
	0x10, 0x25, 0xb6, 0x89, 0x66, 0xbc, 0xad, 0x1f, 0x0d, 0xed, 0xa5, 0xe4, 0xa0, 0x45, 0xa1, 0xc5,
	0x08, 0xde, 0xb5, 0x5e, 0x7a, 0x10, 0x64, 0xa3, 0xe7, 0xb0, 0x4d, 0xa6, 0x64, 0x21, 0xe9, 0xc6,
	0xdd, 0x6d, 0x21, 0x17, 0xff, 0x87, 0x3f, 0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0x0a, 0x33, 0x5e, 0x58,
	0xa5, 0x90, 0x06, 0x26, 0x5d, 0x14, 0x64, 0x04, 0xa1, 0x33, 0x66, 0x5a, 0x46, 0xd0, 0xa7, 0x47,
	0xae, 0xb0, 0x28, 0x92, 0x0f, 0x0f, 0x06, 0xbf, 0x55, 0x53, 0x77, 0x2b, 0xf2, 0x0e, 0x67, 0x3b,
	0xcd, 0x93, 0x9b, 0x1d, 0xbb, 0xdc, 0x7f, 0x8c, 0x61, 0xf2, 0x1f, 0x8a, 0x5b, 0xcc, 0x32, 0xb0,
	0x94, 0xdb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x75, 0xc5, 0x0f, 0x3d, 0x02, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// 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.SupportPackageIsVersion4

// MysteryShopCheatServiceClient is the client API for MysteryShopCheatService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MysteryShopCheatServiceClient interface {
	// 使用默认配置创建活动
	CreateDefaultActivity(ctx context.Context, in *MysteryShopCreateDefaultActivityRPCRequest, opts ...grpc.CallOption) (*MysteryShopCreateDefaultActivityRPCResponse, error)
}

type mysteryShopCheatServiceClient struct {
	cc *grpc.ClientConn
}

func NewMysteryShopCheatServiceClient(cc *grpc.ClientConn) MysteryShopCheatServiceClient {
	return &mysteryShopCheatServiceClient{cc}
}

func (c *mysteryShopCheatServiceClient) CreateDefaultActivity(ctx context.Context, in *MysteryShopCreateDefaultActivityRPCRequest, opts ...grpc.CallOption) (*MysteryShopCreateDefaultActivityRPCResponse, error) {
	out := new(MysteryShopCreateDefaultActivityRPCResponse)
	err := c.cc.Invoke(ctx, "/proto.MysteryShopCheatService/CreateDefaultActivity", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// MysteryShopCheatServiceServer is the server API for MysteryShopCheatService service.
type MysteryShopCheatServiceServer interface {
	// 使用默认配置创建活动
	CreateDefaultActivity(context.Context, *MysteryShopCreateDefaultActivityRPCRequest) (*MysteryShopCreateDefaultActivityRPCResponse, error)
}

// UnimplementedMysteryShopCheatServiceServer can be embedded to have forward compatible implementations.
type UnimplementedMysteryShopCheatServiceServer struct {
}

func (*UnimplementedMysteryShopCheatServiceServer) CreateDefaultActivity(ctx context.Context, req *MysteryShopCreateDefaultActivityRPCRequest) (*MysteryShopCreateDefaultActivityRPCResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateDefaultActivity not implemented")
}

func RegisterMysteryShopCheatServiceServer(s *grpc.Server, srv MysteryShopCheatServiceServer) {
	s.RegisterService(&_MysteryShopCheatService_serviceDesc, srv)
}

func _MysteryShopCheatService_CreateDefaultActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MysteryShopCreateDefaultActivityRPCRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MysteryShopCheatServiceServer).CreateDefaultActivity(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.MysteryShopCheatService/CreateDefaultActivity",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MysteryShopCheatServiceServer).CreateDefaultActivity(ctx, req.(*MysteryShopCreateDefaultActivityRPCRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _MysteryShopCheatService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.MysteryShopCheatService",
	HandlerType: (*MysteryShopCheatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDefaultActivity",
			Handler:    _MysteryShopCheatService_CreateDefaultActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_mystery_shop_cheat.proto",
}
