// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_open_server_active_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 OpenServerActiveTaskCreateDefaultActivityRequest struct {
	Time                 *model.ActivityTime `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	ServerId             []int32             `protobuf:"zigzag32,2,rep,packed,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	MaxBase              int32               `protobuf:"zigzag32,3,opt,name=max_base,json=maxBase,proto3" json:"max_base,omitempty"`
	MinBase              int32               `protobuf:"zigzag32,4,opt,name=min_base,json=minBase,proto3" json:"min_base,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

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

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

var xxx_messageInfo_OpenServerActiveTaskCreateDefaultActivityRequest proto.InternalMessageInfo

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

func (m *OpenServerActiveTaskCreateDefaultActivityRequest) GetServerId() []int32 {
	if m != nil {
		return m.ServerId
	}
	return nil
}

func (m *OpenServerActiveTaskCreateDefaultActivityRequest) GetMaxBase() int32 {
	if m != nil {
		return m.MaxBase
	}
	return 0
}

func (m *OpenServerActiveTaskCreateDefaultActivityRequest) GetMinBase() int32 {
	if m != nil {
		return m.MinBase
	}
	return 0
}

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

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

var xxx_messageInfo_OpenServerActiveTaskCreateDefaultActivityResponse proto.InternalMessageInfo

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

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

func init() {
	proto.RegisterType((*OpenServerActiveTaskCreateDefaultActivityRequest)(nil), "proto.OpenServerActiveTaskCreateDefaultActivityRequest")
	proto.RegisterType((*OpenServerActiveTaskCreateDefaultActivityResponse)(nil), "proto.OpenServerActiveTaskCreateDefaultActivityResponse")
}

func init() {
	proto.RegisterFile("service/cross_open_server_active_task_cheat.proto", fileDescriptor_b79c5c266a3d3159)
}

var fileDescriptor_b79c5c266a3d3159 = []byte{
	// 286 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x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xa0, 0x56, 0x40, 0x18, 0x77, 0x13,
	0x96, 0x0e, 0xe4, 0x59, 0x01, 0x87, 0x27, 0x20, 0xf4, 0x94, 0x36, 0x81, 0x8a, 0x1a, 0x4a, 0x9b,
	0x9a, 0x1a, 0xbd, 0xf3, 0x69, 0x8b, 0xbe, 0x54, 0x5a, 0x43, 0x28, 0x04, 0x8f, 0x32, 0x9b, 0x87,
	0xc2, 0x42, 0xfa, 0xbb, 0xc6, 0xb4, 0x59, 0xdb, 0xb8, 0x93, 0xb0, 0xb4, 0x2f, 0xfd, 0x3d, 0xfb,
	0x65, 0x3c, 0x39, 0x9a, 0x5e, 0xcf, 0xb9, 0x08, 0xcb, 0x8b, 0x6f, 0xc6, 0xaf, 0x8e, 0xfe, 0x4e,
	0x3c, 0x34, 0x4b, 0xb4, 0x1d, 0x74, 0xf8, 0xd8, 0xde, 0x18, 0x5e, 0xb6, 0x3a, 0xf5, 0xc6, 0xfb,
	0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xa0, 0x99, 0x58, 0x18, 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

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

type openServerActiveTaskCheatServiceClient struct {
	cc *grpc.ClientConn
}

func NewOpenServerActiveTaskCheatServiceClient(cc *grpc.ClientConn) OpenServerActiveTaskCheatServiceClient {
	return &openServerActiveTaskCheatServiceClient{cc}
}

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

// OpenServerActiveTaskCheatServiceServer is the server API for OpenServerActiveTaskCheatService service.
type OpenServerActiveTaskCheatServiceServer interface {
	CreateDefaultActivity(context.Context, *OpenServerActiveTaskCreateDefaultActivityRequest) (*OpenServerActiveTaskCreateDefaultActivityResponse, error)
}

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

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

func RegisterOpenServerActiveTaskCheatServiceServer(s *grpc.Server, srv OpenServerActiveTaskCheatServiceServer) {
	s.RegisterService(&_OpenServerActiveTaskCheatService_serviceDesc, srv)
}

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

var _OpenServerActiveTaskCheatService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.OpenServerActiveTaskCheatService",
	HandlerType: (*OpenServerActiveTaskCheatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDefaultActivity",
			Handler:    _OpenServerActiveTaskCheatService_CreateDefaultActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_open_server_active_task_cheat.proto",
}
