// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_friend_cheat.proto

package proto

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	math "math"
)

// 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 CrossResetApplyTimeRequest 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 *CrossResetApplyTimeRequest) Reset()         { *m = CrossResetApplyTimeRequest{} }
func (m *CrossResetApplyTimeRequest) String() string { return proto.CompactTextString(m) }
func (*CrossResetApplyTimeRequest) ProtoMessage()    {}
func (*CrossResetApplyTimeRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_48bdff44fc885427, []int{0}
}

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

var xxx_messageInfo_CrossResetApplyTimeRequest proto.InternalMessageInfo

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

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

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

var xxx_messageInfo_CrossResetApplyTimeResponse proto.InternalMessageInfo

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

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

//作弊器-一键达到好友上限
type CrossSetApplyToLimitRequest 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 *CrossSetApplyToLimitRequest) Reset()         { *m = CrossSetApplyToLimitRequest{} }
func (m *CrossSetApplyToLimitRequest) String() string { return proto.CompactTextString(m) }
func (*CrossSetApplyToLimitRequest) ProtoMessage()    {}
func (*CrossSetApplyToLimitRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_48bdff44fc885427, []int{2}
}

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

var xxx_messageInfo_CrossSetApplyToLimitRequest proto.InternalMessageInfo

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

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

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

var xxx_messageInfo_CrossSetApplyToLimitResponse proto.InternalMessageInfo

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

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

func init() {
	proto.RegisterType((*CrossResetApplyTimeRequest)(nil), "proto.CrossResetApplyTimeRequest")
	proto.RegisterType((*CrossResetApplyTimeResponse)(nil), "proto.CrossResetApplyTimeResponse")
	proto.RegisterType((*CrossSetApplyToLimitRequest)(nil), "proto.CrossSetApplyToLimitRequest")
	proto.RegisterType((*CrossSetApplyToLimitResponse)(nil), "proto.CrossSetApplyToLimitResponse")
}

func init() { proto.RegisterFile("service/cross_friend_cheat.proto", fileDescriptor_48bdff44fc885427) }

var fileDescriptor_48bdff44fc885427 = []byte{
	// 225 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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x59, 0x08, 0x45, 0x1b, 0x76, 0xef, 0x4b, 0x29, 0xe3, 0x55, 0x03, 0x31, 0x3b, 0x89,
	0x0d, 0xac, 0xc6, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x05, 0xfc, 0xa8, 0xe9, 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

// FriendCheatServiceClient is the client API for FriendCheatService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type FriendCheatServiceClient interface {
	ResetApplyTime(ctx context.Context, in *CrossResetApplyTimeRequest, opts ...grpc.CallOption) (*CrossResetApplyTimeResponse, error)
	SetApplyToLimit(ctx context.Context, in *CrossSetApplyToLimitRequest, opts ...grpc.CallOption) (*CrossSetApplyToLimitResponse, error)
}

type friendCheatServiceClient struct {
	cc *grpc.ClientConn
}

func NewFriendCheatServiceClient(cc *grpc.ClientConn) FriendCheatServiceClient {
	return &friendCheatServiceClient{cc}
}

func (c *friendCheatServiceClient) ResetApplyTime(ctx context.Context, in *CrossResetApplyTimeRequest, opts ...grpc.CallOption) (*CrossResetApplyTimeResponse, error) {
	out := new(CrossResetApplyTimeResponse)
	err := c.cc.Invoke(ctx, "/proto.FriendCheatService/ResetApplyTime", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *friendCheatServiceClient) SetApplyToLimit(ctx context.Context, in *CrossSetApplyToLimitRequest, opts ...grpc.CallOption) (*CrossSetApplyToLimitResponse, error) {
	out := new(CrossSetApplyToLimitResponse)
	err := c.cc.Invoke(ctx, "/proto.FriendCheatService/SetApplyToLimit", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// FriendCheatServiceServer is the server API for FriendCheatService service.
type FriendCheatServiceServer interface {
	ResetApplyTime(context.Context, *CrossResetApplyTimeRequest) (*CrossResetApplyTimeResponse, error)
	SetApplyToLimit(context.Context, *CrossSetApplyToLimitRequest) (*CrossSetApplyToLimitResponse, error)
}

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

func (*UnimplementedFriendCheatServiceServer) ResetApplyTime(ctx context.Context, req *CrossResetApplyTimeRequest) (*CrossResetApplyTimeResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ResetApplyTime not implemented")
}
func (*UnimplementedFriendCheatServiceServer) SetApplyToLimit(ctx context.Context, req *CrossSetApplyToLimitRequest) (*CrossSetApplyToLimitResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SetApplyToLimit not implemented")
}

func RegisterFriendCheatServiceServer(s *grpc.Server, srv FriendCheatServiceServer) {
	s.RegisterService(&_FriendCheatService_serviceDesc, srv)
}

func _FriendCheatService_ResetApplyTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossResetApplyTimeRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(FriendCheatServiceServer).ResetApplyTime(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.FriendCheatService/ResetApplyTime",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(FriendCheatServiceServer).ResetApplyTime(ctx, req.(*CrossResetApplyTimeRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _FriendCheatService_SetApplyToLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossSetApplyToLimitRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(FriendCheatServiceServer).SetApplyToLimit(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.FriendCheatService/SetApplyToLimit",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(FriendCheatServiceServer).SetApplyToLimit(ctx, req.(*CrossSetApplyToLimitRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _FriendCheatService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.FriendCheatService",
	HandlerType: (*FriendCheatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ResetApplyTime",
			Handler:    _FriendCheatService_ResetApplyTime_Handler,
		},
		{
			MethodName: "SetApplyToLimit",
			Handler:    _FriendCheatService_SetApplyToLimit_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_friend_cheat.proto",
}
