// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_share_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 CheatGameShareCreateActivityRPCRequest struct {
	ServerId             int32               `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,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 *CheatGameShareCreateActivityRPCRequest) Reset() {
	*m = CheatGameShareCreateActivityRPCRequest{}
}
func (m *CheatGameShareCreateActivityRPCRequest) String() string { return proto.CompactTextString(m) }
func (*CheatGameShareCreateActivityRPCRequest) ProtoMessage()    {}
func (*CheatGameShareCreateActivityRPCRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_d32dfdcfb612727c, []int{0}
}

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

var xxx_messageInfo_CheatGameShareCreateActivityRPCRequest proto.InternalMessageInfo

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

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

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

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

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

var xxx_messageInfo_CheatGameShareCreateActivityRPCResponse proto.InternalMessageInfo

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

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

func init() {
	proto.RegisterType((*CheatGameShareCreateActivityRPCRequest)(nil), "proto.CheatGameShareCreateActivityRPCRequest")
	proto.RegisterType((*CheatGameShareCreateActivityRPCResponse)(nil), "proto.CheatGameShareCreateActivityRPCResponse")
}

func init() { proto.RegisterFile("service/cross_share_cheat.proto", fileDescriptor_d32dfdcfb612727c) }

var fileDescriptor_d32dfdcfb612727c = []byte{
	// 250 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xbf, 0x4e, 0xc3, 0x30,
	0x10, 0xc6, 0x65, 0xda, 0x54, 0xf4, 0x90, 0x18, 0x8e, 0x3f, 0x8a, 0xca, 0x40, 0xd4, 0x81, 0x66,
	0x21, 0x95, 0xca, 0x13, 0xa0, 0x0c, 0x88, 0x0d, 0x5c, 0xf6, 0xc8, 0x38, 0x87, 0x6a, 0x89, 0xf4,
	0x8a, 0x6d, 0x2a, 0xf1, 0x02, 0x88, 0xc7, 0x46, 0xb6, 0xc3, 0xd0, 0x89, 0x4c, 0x3e, 0xdf, 0xfd,
	0xee, 0xbb, 0x4f, 0x1f, 0x5c, 0x3b, 0xb2, 0x7b, 0xa3, 0x69, 0xa9, 0x2d, 0x3b, 0xd7, 0xb8, 0x8d,
	0xb2, 0xd4, 0xe8, 0x0d, 0x29, 0x5f, 0xed, 0x2c, 0x7b, 0xc6, 0x2c, 0x3e, 0xb3, 0xf3, 0x8e, 0x5b,
	0x7a, 0x5f, 0x2a, 0xed, 0xcd, 0xde, 0xf8, 0xaf, 0x34, 0x9c, 0x7f, 0x0b, 0xb8, 0xa9, 0x03, 0xfc,
	0xa0, 0x3a, 0x5a, 0x87, 0xdd, 0xda, 0x92, 0xf2, 0x74, 0xdf, 0x63, 0xf2, 0xa9, 0x96, 0xf4, 0xf1,
	0x49, 0xce, 0xe3, 0x15, 0x4c, 0xc3, 0x29, 0xb2, 0x8d, 0x69, 0x73, 0x51, 0x88, 0x32, 0x93, 0xc7,
	0xa9, 0xf1, 0xd8, 0xe2, 0x02, 0xc6, 0xde, 0x74, 0x94, 0x1f, 0x15, 0xa2, 0x3c, 0x59, 0x9d, 0x25,
	0xf5, 0xea, 0x4f, 0xe5, 0xc5, 0x74, 0x24, 0x23, 0x80, 0x97, 0x30, 0x49, 0x4b, 0xf9, 0xa8, 0x18,
	0x95, 0x99, 0xec, 0x7f, 0xf3, 0x67, 0x58, 0xfc, 0xeb, 0xc3, 0xed, 0x78, 0xeb, 0x08, 0x11, 0xc6,
	0x9a, 0x5b, 0x8a, 0x1e, 0x50, 0xc6, 0x3a, 0xf4, 0xcc, 0xf6, 0x8d, 0xe3, 0xfd, 0xa9, 0x8c, 0xf5,
	0xea, 0x47, 0xc0, 0xc5, 0xa1, 0xe6, 0x3a, 0x45, 0x85, 0x0c, 0xa7, 0x87, 0xf2, 0x78, 0xdb, 0x3b,
	0x1e, 0x96, 0xc5, 0xac, 0x1a, 0x8a, 0x27, 0xcb, 0xaf, 0x93, 0x88, 0xdf, 0xfd, 0x06, 0x00, 0x00,
	0xff, 0xff, 0x5e, 0x77, 0x61, 0x39, 0xad, 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

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

type cheatGameShareServiceClient struct {
	cc *grpc.ClientConn
}

func NewCheatGameShareServiceClient(cc *grpc.ClientConn) CheatGameShareServiceClient {
	return &cheatGameShareServiceClient{cc}
}

func (c *cheatGameShareServiceClient) CreateActivity(ctx context.Context, in *CheatGameShareCreateActivityRPCRequest, opts ...grpc.CallOption) (*CheatGameShareCreateActivityRPCResponse, error) {
	out := new(CheatGameShareCreateActivityRPCResponse)
	err := c.cc.Invoke(ctx, "/proto.CheatGameShareService/CreateActivity", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// CheatGameShareServiceServer is the server API for CheatGameShareService service.
type CheatGameShareServiceServer interface {
	CreateActivity(context.Context, *CheatGameShareCreateActivityRPCRequest) (*CheatGameShareCreateActivityRPCResponse, error)
}

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

func (*UnimplementedCheatGameShareServiceServer) CreateActivity(ctx context.Context, req *CheatGameShareCreateActivityRPCRequest) (*CheatGameShareCreateActivityRPCResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateActivity not implemented")
}

func RegisterCheatGameShareServiceServer(s *grpc.Server, srv CheatGameShareServiceServer) {
	s.RegisterService(&_CheatGameShareService_serviceDesc, srv)
}

func _CheatGameShareService_CreateActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CheatGameShareCreateActivityRPCRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CheatGameShareServiceServer).CreateActivity(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.CheatGameShareService/CreateActivity",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CheatGameShareServiceServer).CreateActivity(ctx, req.(*CheatGameShareCreateActivityRPCRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _CheatGameShareService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.CheatGameShareService",
	HandlerType: (*CheatGameShareServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateActivity",
			Handler:    _CheatGameShareService_CreateActivity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_share_cheat.proto",
}
