// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_enroll_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 EnrollCreateDefaultActivityRPCRequest struct {
	Base                 *EnrollCheatRequestBase `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"`
	OpenWarriorNo        []int32                 `protobuf:"varint,4,rep,packed,name=open_warrior_no,json=openWarriorNo,proto3" json:"open_warrior_no,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

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

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

var xxx_messageInfo_EnrollCreateDefaultActivityRPCRequest proto.InternalMessageInfo

func (m *EnrollCreateDefaultActivityRPCRequest) GetBase() *EnrollCheatRequestBase {
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

func (m *EnrollCreateDefaultActivityRPCRequest) GetOpenWarriorNo() []int32 {
	if m != nil {
		return m.OpenWarriorNo
	}
	return nil
}

type EnrollCreateDefaultActivityRPCResponse 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 *EnrollCreateDefaultActivityRPCResponse) Reset() {
	*m = EnrollCreateDefaultActivityRPCResponse{}
}
func (m *EnrollCreateDefaultActivityRPCResponse) String() string { return proto.CompactTextString(m) }
func (*EnrollCreateDefaultActivityRPCResponse) ProtoMessage()    {}
func (*EnrollCreateDefaultActivityRPCResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2769f79fc0b0119b, []int{1}
}

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

var xxx_messageInfo_EnrollCreateDefaultActivityRPCResponse proto.InternalMessageInfo

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

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

type EnrollCheatRequestBase 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 *EnrollCheatRequestBase) Reset()         { *m = EnrollCheatRequestBase{} }
func (m *EnrollCheatRequestBase) String() string { return proto.CompactTextString(m) }
func (*EnrollCheatRequestBase) ProtoMessage()    {}
func (*EnrollCheatRequestBase) Descriptor() ([]byte, []int) {
	return fileDescriptor_2769f79fc0b0119b, []int{2}
}

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

var xxx_messageInfo_EnrollCheatRequestBase proto.InternalMessageInfo

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

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

func init() {
	proto.RegisterType((*EnrollCreateDefaultActivityRPCRequest)(nil), "proto.EnrollCreateDefaultActivityRPCRequest")
	proto.RegisterType((*EnrollCreateDefaultActivityRPCResponse)(nil), "proto.EnrollCreateDefaultActivityRPCResponse")
	proto.RegisterType((*EnrollCheatRequestBase)(nil), "proto.EnrollCheatRequestBase")
}

func init() { proto.RegisterFile("service/cross_enroll_cheat.proto", fileDescriptor_2769f79fc0b0119b) }

var fileDescriptor_2769f79fc0b0119b = []byte{
	// 320 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0xd1, 0x4a, 0xeb, 0x40,
	0x10, 0x25, 0xb7, 0x69, 0xef, 0xed, 0x5c, 0x44, 0x18, 0xb5, 0x86, 0x8a, 0x50, 0x0a, 0xd6, 0x3e,
	0x68, 0x8b, 0xf5, 0x0b, 0xb4, 0xfa, 0xd0, 0x97, 0x52, 0x56, 0xc1, 0xc7, 0xb0, 0x4d, 0xa6, 0xb8,
	0x90, 0x66, 0xea, 0xee, 0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 0xb9, 0x60, 0x3f, 0x66, 0x53,
	0xf8, 0x77, 0x77, 0x0a, 0xad, 0xed, 0xd1, 0xf0, 0x10, 0xfe, 0x6a, 0x2e, 0x28, 0x55, 0xb9, 0x37,
	0x69, 0x8a, 0x86, 0x2b, 0x27, 0x39, 0x1e, 0x41, 0x33, 0x8c, 0xed, 0x5a, 0xce, 0xab, 0x2e, 0xfe,
	0x05, 0x60, 0x92, 0x8f, 0x5e, 0x23, 0xc0, 0x4f, 0x86, 0x77, 0xe1, 0x68, 0x68, 0xe1, 0x60, 0xeb,
	0xc8, 0x78, 0xf6, 0x75, 0xbf, 0xdf, 0xdf, 0xa6, 0x7d, 0xfe, 0x4b, 0x76, 0x58, 0xc2, 0xbc, 0xe1,
	0xd9, 0x97, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf5, 0xf9, 0xef, 0x41, 0x3c, 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

// EnrollCheatServiceClient is the client API for EnrollCheatService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type EnrollCheatServiceClient interface {
	CreateDefaultActivity(ctx context.Context, in *EnrollCreateDefaultActivityRPCRequest, opts ...grpc.CallOption) (*EnrollCreateDefaultActivityRPCResponse, error)
}

type enrollCheatServiceClient struct {
	cc *grpc.ClientConn
}

func NewEnrollCheatServiceClient(cc *grpc.ClientConn) EnrollCheatServiceClient {
	return &enrollCheatServiceClient{cc}
}

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

// EnrollCheatServiceServer is the server API for EnrollCheatService service.
type EnrollCheatServiceServer interface {
	CreateDefaultActivity(context.Context, *EnrollCreateDefaultActivityRPCRequest) (*EnrollCreateDefaultActivityRPCResponse, error)
}

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

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

func RegisterEnrollCheatServiceServer(s *grpc.Server, srv EnrollCheatServiceServer) {
	s.RegisterService(&_EnrollCheatService_serviceDesc, srv)
}

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

var _EnrollCheatService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.EnrollCheatService",
	HandlerType: (*EnrollCheatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDefaultActivity",
			Handler:    _EnrollCheatService_CreateDefaultActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_enroll_cheat.proto",
}
