// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_activity_popup_game.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"
)

// 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 CrossActivityPopupGetRequest struct {
	LogicalRegionId      uint32   `protobuf:"varint,1,opt,name=logical_region_id,json=logicalRegionId,proto3" json:"logical_region_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossActivityPopupGetRequest proto.InternalMessageInfo

func (m *CrossActivityPopupGetRequest) GetLogicalRegionId() uint32 {
	if m != nil {
		return m.LogicalRegionId
	}
	return 0
}

type CrossActivityPopupGetResponse 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"`
	Data                 *CrossActivityPopupGetResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (m *CrossActivityPopupGetResponse) Reset()         { *m = CrossActivityPopupGetResponse{} }
func (m *CrossActivityPopupGetResponse) String() string { return proto.CompactTextString(m) }
func (*CrossActivityPopupGetResponse) ProtoMessage()    {}
func (*CrossActivityPopupGetResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_e3e9a976b5d01ac9, []int{1}
}

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

var xxx_messageInfo_CrossActivityPopupGetResponse proto.InternalMessageInfo

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

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

func (m *CrossActivityPopupGetResponse) GetData() *CrossActivityPopupGetResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossActivityPopupGetResponse_Data struct {
	ActivityTypes        []int32  `protobuf:"varint,1,rep,packed,name=activity_types,json=activityTypes,proto3" json:"activity_types,omitempty"`
	Limit                int32    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossActivityPopupGetResponse_Data proto.InternalMessageInfo

func (m *CrossActivityPopupGetResponse_Data) GetActivityTypes() []int32 {
	if m != nil {
		return m.ActivityTypes
	}
	return nil
}

func (m *CrossActivityPopupGetResponse_Data) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func init() {
	proto.RegisterType((*CrossActivityPopupGetRequest)(nil), "proto.CrossActivityPopupGetRequest")
	proto.RegisterType((*CrossActivityPopupGetResponse)(nil), "proto.CrossActivityPopupGetResponse")
	proto.RegisterType((*CrossActivityPopupGetResponse_Data)(nil), "proto.CrossActivityPopupGetResponse.Data")
}

func init() {
	proto.RegisterFile("service/cross_activity_popup_game.proto", fileDescriptor_e3e9a976b5d01ac9)
}

var fileDescriptor_e3e9a976b5d01ac9 = []byte{
	// 269 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xc3, 0x40,
	0x10, 0x85, 0x59, 0x93, 0x08, 0x8e, 0x54, 0x71, 0xf0, 0x10, 0x8b, 0x42, 0xa8, 0x8a, 0xd1, 0x43,
	0x84, 0x7a, 0xf6, 0x20, 0x15, 0x8a, 0x9e, 0xca, 0xea, 0x3d, 0xac, 0xc9, 0x18, 0x16, 0x92, 0xec,
	0x9a, 0x9d, 0x16, 0xfa, 0x1b, 0xfd, 0x53, 0x92, 0x4d, 0xf5, 0x22, 0x16, 0x4f, 0x3b, 0xf3, 0xf6,
	0xed, 0xdb, 0x8f, 0x07, 0x57, 0x8e, 0xba, 0x95, 0x2e, 0xe8, 0xb6, 0xe8, 0x8c, 0x73, 0xb9, 0x2a,
	0x58, 0xaf, 0x34, 0xaf, 0x73, 0x6b, 0xec, 0xd2, 0xe6, 0x95, 0x6a, 0x28, 0xb3, 0x9d, 0x61, 0x83,
	0x91, 0x3f, 0x26, 0xcf, 0x70, 0x3a, 0xeb, 0x9d, 0x0f, 0x1b, 0xe3, 0xa2, 0xf7, 0xcd, 0x89, 0x25,
	0x7d, 0x2c, 0xc9, 0x31, 0xde, 0xc0, 0x51, 0x6d, 0x2a, 0x5d, 0xa8, 0x3a, 0xef, 0xa8, 0xd2, 0xa6,
	0xcd, 0x75, 0x19, 0x8b, 0x44, 0xa4, 0x23, 0x79, 0xb8, 0xb9, 0x90, 0x5e, 0x7f, 0x2a, 0x27, 0x9f,
	0x02, 0xce, 0xfe, 0x08, 0x73, 0xd6, 0xb4, 0x8e, 0x10, 0x21, 0x2c, 0x4c, 0x49, 0x3e, 0x00, 0xa5,
	0x9f, 0x7b, 0x4d, 0xb7, 0xef, 0x26, 0xde, 0x49, 0x44, 0xba, 0x27, 0xfd, 0x8c, 0xf7, 0x10, 0x96,
	0x8a, 0x55, 0x1c, 0x24, 0x22, 0xdd, 0x9f, 0x5e, 0x0f, 0xc8, 0xd9, 0xd6, 0xec, 0xec, 0x51, 0xb1,
	0x92, 0xfe, 0xd9, 0x78, 0x06, 0x61, 0xbf, 0xe1, 0x25, 0x1c, 0xfc, 0x14, 0xc0, 0x6b, 0x4b, 0x2e,
	0x16, 0x49, 0x90, 0x46, 0x72, 0xf4, 0xad, 0xbe, 0xf6, 0x22, 0x1e, 0x43, 0x54, 0xeb, 0x46, 0xb3,
	0x47, 0x88, 0xe4, 0xb0, 0x4c, 0x1b, 0x38, 0xf9, 0xfd, 0xe1, 0xcb, 0xd0, 0x2e, 0x2e, 0x20, 0x98,
	0x13, 0xe3, 0xf9, 0x76, 0x32, 0x5f, 0xe1, 0xf8, 0xe2, 0x3f, 0xf8, 0x6f, 0xbb, 0xde, 0x74, 0xf7,
	0x15, 0x00, 0x00, 0xff, 0xff, 0xab, 0xbe, 0x27, 0xe9, 0xc1, 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

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

type crossActivityPopupServiceClient struct {
	cc *grpc.ClientConn
}

func NewCrossActivityPopupServiceClient(cc *grpc.ClientConn) CrossActivityPopupServiceClient {
	return &crossActivityPopupServiceClient{cc}
}

func (c *crossActivityPopupServiceClient) Get(ctx context.Context, in *CrossActivityPopupGetRequest, opts ...grpc.CallOption) (*CrossActivityPopupGetResponse, error) {
	out := new(CrossActivityPopupGetResponse)
	err := c.cc.Invoke(ctx, "/proto.CrossActivityPopupService/Get", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// CrossActivityPopupServiceServer is the server API for CrossActivityPopupService service.
type CrossActivityPopupServiceServer interface {
	Get(context.Context, *CrossActivityPopupGetRequest) (*CrossActivityPopupGetResponse, error)
}

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

func (*UnimplementedCrossActivityPopupServiceServer) Get(ctx context.Context, req *CrossActivityPopupGetRequest) (*CrossActivityPopupGetResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}

func RegisterCrossActivityPopupServiceServer(s *grpc.Server, srv CrossActivityPopupServiceServer) {
	s.RegisterService(&_CrossActivityPopupService_serviceDesc, srv)
}

func _CrossActivityPopupService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossActivityPopupGetRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CrossActivityPopupServiceServer).Get(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.CrossActivityPopupService/Get",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CrossActivityPopupServiceServer).Get(ctx, req.(*CrossActivityPopupGetRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _CrossActivityPopupService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.CrossActivityPopupService",
	HandlerType: (*CrossActivityPopupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _CrossActivityPopupService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_activity_popup_game.proto",
}
