// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_general_activity_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 CrossGeneralActCreateDefaultActivityRequest struct {
	Time                 *model.ActivityTime `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	ServerId             []int64             `protobuf:"zigzag64,2,rep,packed,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Typ                  int32               `protobuf:"zigzag32,3,opt,name=typ,proto3" json:"typ,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

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

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

var xxx_messageInfo_CrossGeneralActCreateDefaultActivityRequest proto.InternalMessageInfo

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

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

func (m *CrossGeneralActCreateDefaultActivityRequest) GetTyp() int32 {
	if m != nil {
		return m.Typ
	}
	return 0
}

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

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

var xxx_messageInfo_CrossGeneralActCreateDefaultActivityResponse proto.InternalMessageInfo

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

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

func init() {
	proto.RegisterType((*CrossGeneralActCreateDefaultActivityRequest)(nil), "proto.CrossGeneralActCreateDefaultActivityRequest")
	proto.RegisterType((*CrossGeneralActCreateDefaultActivityResponse)(nil), "proto.CrossGeneralActCreateDefaultActivityResponse")
}

func init() {
	proto.RegisterFile("service/cross_general_activity_cheat.proto", fileDescriptor_46d7441b8b4ba8c1)
}

var fileDescriptor_46d7441b8b4ba8c1 = []byte{
	// 264 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x50, 0x4d, 0x4b, 0x03, 0x31,
	0x10, 0x25, 0xdd, 0x2a, 0x36, 0x5e, 0x74, 0xfc, 0x60, 0xa9, 0x97, 0xa5, 0x17, 0x17, 0x95, 0x16,
	0xb6, 0xbf, 0xa0, 0x54, 0x10, 0xaf, 0x51, 0xbc, 0x2e, 0x31, 0x3b, 0xd5, 0xc0, 0xee, 0x66, 0x4d,
	0xa6, 0x85, 0xde, 0xbc, 0xf8,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xd8, 0xc5, 0xea, 0x51, 0xcc,
	0x78, 0xde, 0x6b, 0x27, 0xa6, 0x78, 0x3d, 0x0c, 0x3b, 0xf3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff,
	0x3c, 0x93, 0x66, 0x51, 0xcf, 0x01, 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

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

type generalActCheatServiceClient struct {
	cc *grpc.ClientConn
}

func NewGeneralActCheatServiceClient(cc *grpc.ClientConn) GeneralActCheatServiceClient {
	return &generalActCheatServiceClient{cc}
}

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

// GeneralActCheatServiceServer is the server API for GeneralActCheatService service.
type GeneralActCheatServiceServer interface {
	CreateDefaultActivity(context.Context, *CrossGeneralActCreateDefaultActivityRequest) (*CrossGeneralActCreateDefaultActivityResponse, error)
}

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

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

func RegisterGeneralActCheatServiceServer(s *grpc.Server, srv GeneralActCheatServiceServer) {
	s.RegisterService(&_GeneralActCheatService_serviceDesc, srv)
}

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

var _GeneralActCheatService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.GeneralActCheatService",
	HandlerType: (*GeneralActCheatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDefaultActivity",
			Handler:    _GeneralActCheatService_CreateDefaultActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_general_activity_cheat.proto",
}
