// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_activity_task_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 CrossCheatActivityTaskCreateRequest struct {
	TaskTypes            []*model.CrossActivityTaskType `protobuf:"bytes,1,rep,name=task_types,json=taskTypes,proto3" json:"task_types,omitempty"`
	Time                 *model.ActivityTime           `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	ServerIds            []uint32                       `protobuf:"varint,3,rep,packed,name=server_ids,json=serverIds,proto3" json:"server_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

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

var xxx_messageInfo_CrossCheatActivityTaskCreateRequest proto.InternalMessageInfo

func (m *CrossCheatActivityTaskCreateRequest) GetTaskTypes() []*model.CrossActivityTaskType {
	if m != nil {
		return m.TaskTypes
	}
	return nil
}

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

func (m *CrossCheatActivityTaskCreateRequest) GetServerIds() []uint32 {
	if m != nil {
		return m.ServerIds
	}
	return nil
}

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

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

var xxx_messageInfo_CrossCheatActivityTaskCreateResponse proto.InternalMessageInfo

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

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

type CrossCheatActivityTaskRemoveRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossCheatActivityTaskRemoveRequest proto.InternalMessageInfo

func (m *CrossCheatActivityTaskRemoveRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

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

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

var xxx_messageInfo_CrossCheatActivityTaskRemoveResponse proto.InternalMessageInfo

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

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

func init() {
	proto.RegisterType((*CrossCheatActivityTaskCreateRequest)(nil), "proto.CrossCheatActivityTaskCreateRequest")
	proto.RegisterType((*CrossCheatActivityTaskCreateResponse)(nil), "proto.CrossCheatActivityTaskCreateResponse")
	proto.RegisterType((*CrossCheatActivityTaskRemoveRequest)(nil), "proto.CrossCheatActivityTaskRemoveRequest")
	proto.RegisterType((*CrossCheatActivityTaskRemoveResponse)(nil), "proto.CrossCheatActivityTaskRemoveResponse")
}

func init() {
	proto.RegisterFile("service/cross_activity_task_cheat.proto", fileDescriptor_71780859c450b813)
}

var fileDescriptor_71780859c450b813 = []byte{
	// 333 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x4b, 0xfb, 0x40,
	0x10, 0x25, 0x6d, 0x7f, 0x85, 0x4c, 0xf9, 0x79, 0x58, 0x05, 0x43, 0xb0, 0x18, 0xaa, 0xd0, 0xa0,
	0xd0, 0x42, 0xc5, 0x93, 0x27, 0xe9, 0xc9, 0x8b, 0x87, 0xb5, 0xf7, 0xb0, 0xcd, 0x8e, 0xba, 0xd6,
	0x74, 0x63, 0x66, 0x2d, 0xe4, 0x2b, 0xf9, 0xbd, 0xfc, 0x1e, 0x92, 0xdd, 0xb4, 0xb4, 0xd0, 0x3f,
	0x7a, 0xca, 0x30, 0xf3, 0xde, 0x9b, 0x37, 0x2f, 0x0b, 0x7d, 0xc2, 0x62, 0xa1, 0x52, 0x1c, 0xa6,
	0x85, 0x26, 0x4a, 0x44, 0x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0xf3, 0x86, 0x92, 0xbb, 0x6d, 0x2c,
	0x69, 0x7f, 0xb3, 0x31, 0xfa, 0xf6, 0xa0, 0xbb, 0x5d, 0xf0, 0xc9, 0x3d, 0x0e, 0x26, 0xa0, 0xed,
	0x4e, 0x64, 0x57, 0xeb, 0x99, 0xef, 0xff, 0x67, 0xe1, 0xf5, 0xaf, 0xb0, 0xb5, 0x59, 0x01, 0x6d,
	0x67, 0xff, 0xc0, 0x8a, 0x8d, 0x68, 0x0e, 0xac, 0xd8, 0xcc, 0x63, 0xda, 0xb6, 0xd8, 0x9b, 0x9f,
	0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x75, 0xea, 0xf7, 0xf4, 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

// CrossCheatActivityTaskServiceClient is the client API for CrossCheatActivityTaskService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type CrossCheatActivityTaskServiceClient interface {
	//创建活动
	Create(ctx context.Context, in *CrossCheatActivityTaskCreateRequest, opts ...grpc.CallOption) (*CrossCheatActivityTaskCreateResponse, error)
	//删除活动
	Remove(ctx context.Context, in *CrossCheatActivityTaskRemoveRequest, opts ...grpc.CallOption) (*CrossCheatActivityTaskRemoveResponse, error)
}

type crossCheatActivityTaskServiceClient struct {
	cc *grpc.ClientConn
}

func NewCrossCheatActivityTaskServiceClient(cc *grpc.ClientConn) CrossCheatActivityTaskServiceClient {
	return &crossCheatActivityTaskServiceClient{cc}
}

func (c *crossCheatActivityTaskServiceClient) Create(ctx context.Context, in *CrossCheatActivityTaskCreateRequest, opts ...grpc.CallOption) (*CrossCheatActivityTaskCreateResponse, error) {
	out := new(CrossCheatActivityTaskCreateResponse)
	err := c.cc.Invoke(ctx, "/proto.CrossCheatActivityTaskService/Create", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *crossCheatActivityTaskServiceClient) Remove(ctx context.Context, in *CrossCheatActivityTaskRemoveRequest, opts ...grpc.CallOption) (*CrossCheatActivityTaskRemoveResponse, error) {
	out := new(CrossCheatActivityTaskRemoveResponse)
	err := c.cc.Invoke(ctx, "/proto.CrossCheatActivityTaskService/Remove", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// CrossCheatActivityTaskServiceServer is the server API for CrossCheatActivityTaskService service.
type CrossCheatActivityTaskServiceServer interface {
	//创建活动
	Create(context.Context, *CrossCheatActivityTaskCreateRequest) (*CrossCheatActivityTaskCreateResponse, error)
	//删除活动
	Remove(context.Context, *CrossCheatActivityTaskRemoveRequest) (*CrossCheatActivityTaskRemoveResponse, error)
}

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

func (*UnimplementedCrossCheatActivityTaskServiceServer) Create(ctx context.Context, req *CrossCheatActivityTaskCreateRequest) (*CrossCheatActivityTaskCreateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedCrossCheatActivityTaskServiceServer) Remove(ctx context.Context, req *CrossCheatActivityTaskRemoveRequest) (*CrossCheatActivityTaskRemoveResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented")
}

func RegisterCrossCheatActivityTaskServiceServer(s *grpc.Server, srv CrossCheatActivityTaskServiceServer) {
	s.RegisterService(&_CrossCheatActivityTaskService_serviceDesc, srv)
}

func _CrossCheatActivityTaskService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossCheatActivityTaskCreateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CrossCheatActivityTaskServiceServer).Create(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.CrossCheatActivityTaskService/Create",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CrossCheatActivityTaskServiceServer).Create(ctx, req.(*CrossCheatActivityTaskCreateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _CrossCheatActivityTaskService_Remove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossCheatActivityTaskRemoveRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CrossCheatActivityTaskServiceServer).Remove(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.CrossCheatActivityTaskService/Remove",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CrossCheatActivityTaskServiceServer).Remove(ctx, req.(*CrossCheatActivityTaskRemoveRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _CrossCheatActivityTaskService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.CrossCheatActivityTaskService",
	HandlerType: (*CrossCheatActivityTaskServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _CrossCheatActivityTaskService_Create_Handler,
		},
		{
			MethodName: "Remove",
			Handler:    _CrossCheatActivityTaskService_Remove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_activity_task_cheat.proto",
}
