// Code generated by protoc-gen-go. DO NOT EDIT.
// source: service/cross_toggle_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 CrossGetServerTogglesRequest struct {
	LogicalRegionId      int32    `protobuf:"zigzag32,1,opt,name=logical_region_id,json=logicalRegionId,proto3" json:"logical_region_id,omitempty"`
	ServerId             []int32  `protobuf:"zigzag32,2,rep,packed,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Typ                  []int32  `protobuf:"zigzag32,3,rep,packed,name=typ,proto3" json:"typ,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossGetServerTogglesRequest proto.InternalMessageInfo

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

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

func (m *CrossGetServerTogglesRequest) GetTyp() []int32 {
	if m != nil {
		return m.Typ
	}
	return nil
}

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

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

var xxx_messageInfo_CrossGetServerTogglesResponse proto.InternalMessageInfo

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

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

func (m *CrossGetServerTogglesResponse) GetData() *CrossGetServerTogglesResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossGetServerTogglesResponse_Data struct {
	Data                 string   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossGetServerTogglesResponse_Data proto.InternalMessageInfo

func (m *CrossGetServerTogglesResponse_Data) GetData() string {
	if m != nil {
		return m.Data
	}
	return ""
}

func init() {
	proto.RegisterType((*CrossGetServerTogglesRequest)(nil), "proto.CrossGetServerTogglesRequest")
	proto.RegisterType((*CrossGetServerTogglesResponse)(nil), "proto.CrossGetServerTogglesResponse")
	proto.RegisterType((*CrossGetServerTogglesResponse_Data)(nil), "proto.CrossGetServerTogglesResponse.Data")
}

func init() {
	proto.RegisterFile("service/cross_toggle_game.proto", fileDescriptor_7d16584d58e112cb)
}

var fileDescriptor_7d16584d58e112cb = []byte{
	// 264 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xc4, 0x30,
	0x10, 0x85, 0xe9, 0xb6, 0x8a, 0x1d, 0x11, 0xb7, 0x73, 0x2a, 0x55, 0xb1, 0xac, 0x1e, 0xaa, 0x87,
	0x0a, 0xeb, 0xd9, 0x93, 0x82, 0xec, 0x35, 0xeb, 0x55, 0x4a, 0x6c, 0xc7, 0x12, 0xa8, 0x4d, 0x4d,
	0xe2, 0xc2, 0xfe, 0x1d, 0x7f, 0xa9, 0x64, 0x22, 0x1e, 0x04, 0x17, 0x4f, 0x99, 0xbc, 0x79, 0xf3,
	0xbd, 0x64, 0xe0, 0xdc, 0x92, 0xd9, 0xa8, 0x96, 0x6e, 0x5a, 0xa3, 0xad, 0x6d, 0x9c, 0xee, 0xfb,
	0x81, 0x9a, 0x5e, 0xbe, 0x51, 0x3d, 0x19, 0xed, 0x34, 0xee, 0xf1, 0xb1, 0xd8, 0xc2, 0xe9, 0xbd,
	0x77, 0x3c, 0x92, 0x5b, 0x93, 0xd9, 0x90, 0x79, 0x62, 0xa7, 0x15, 0xf4, 0xfe, 0x41, 0xd6, 0xe1,
	0x35, 0x64, 0x83, 0xee, 0x55, 0x2b, 0x87, 0xc6, 0x50, 0xaf, 0xf4, 0xd8, 0xa8, 0x2e, 0x8f, 0xca,
	0xa8, 0xca, 0xc4, 0xf1, 0x77, 0x43, 0xb0, 0xbe, 0xea, 0xf0, 0x04, 0x52, 0xcb, 0x0c, 0xef, 0x99,
	0x95, 0x71, 0x95, 0x89, 0x83, 0x20, 0xac, 0x3a, 0x9c, 0x43, 0xec, 0xb6, 0x53, 0x1e, 0xb3, 0xec,
	0xcb, 0xc5, 0x67, 0x04, 0x67, 0x7f, 0x64, 0xdb, 0x49, 0x8f, 0x96, 0x10, 0x21, 0x69, 0x75, 0x47,
	0x9c, 0x87, 0x82, 0x6b, 0xaf, 0xa9, 0xf1, 0x55, 0xe7, 0xb3, 0x32, 0xaa, 0x52, 0xc1, 0x35, 0xde,
	0x41, 0xd2, 0x49, 0x27, 0xf3, 0xb8, 0x8c, 0xaa, 0xc3, 0xe5, 0x55, 0xf8, 0x61, 0xbd, 0x93, 0x5d,
	0x3f, 0x48, 0x27, 0x05, 0x8f, 0x15, 0x05, 0x24, 0xfe, 0xe6, 0xd1, 0x3f, 0x98, 0x34, 0xf4, 0x96,
	0x23, 0x1c, 0x85, 0xc9, 0x75, 0xd8, 0x27, 0x3e, 0xc3, 0xfc, 0x37, 0x13, 0x2f, 0x76, 0x27, 0xf2,
	0x26, 0x8b, 0xcb, 0xff, 0x3c, 0xeb, 0x65, 0x9f, 0x4d, 0xb7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff,
	0xfa, 0x8c, 0x99, 0x84, 0xc0, 0x01, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface

// 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.SupportPackageIsVersion6

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

type toggleServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewToggleServiceClient(cc grpc.ClientConnInterface) ToggleServiceClient {
	return &toggleServiceClient{cc}
}

func (c *toggleServiceClient) GetServerToggles(ctx context.Context, in *CrossGetServerTogglesRequest, opts ...grpc.CallOption) (*CrossGetServerTogglesResponse, error) {
	out := new(CrossGetServerTogglesResponse)
	err := c.cc.Invoke(ctx, "/proto.ToggleService/GetServerToggles", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ToggleServiceServer is the server API for ToggleService service.
type ToggleServiceServer interface {
	GetServerToggles(context.Context, *CrossGetServerTogglesRequest) (*CrossGetServerTogglesResponse, error)
}

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

func (*UnimplementedToggleServiceServer) GetServerToggles(ctx context.Context, req *CrossGetServerTogglesRequest) (*CrossGetServerTogglesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetServerToggles not implemented")
}

func RegisterToggleServiceServer(s *grpc.Server, srv ToggleServiceServer) {
	s.RegisterService(&_ToggleService_serviceDesc, srv)
}

func _ToggleService_GetServerToggles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossGetServerTogglesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ToggleServiceServer).GetServerToggles(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.ToggleService/GetServerToggles",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ToggleServiceServer).GetServerToggles(ctx, req.(*CrossGetServerTogglesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _ToggleService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.ToggleService",
	HandlerType: (*ToggleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetServerToggles",
			Handler:    _ToggleService_GetServerToggles_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_toggle_game.proto",
}
