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

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

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

var xxx_messageInfo_CrossGuidanceGetSwitchRequest proto.InternalMessageInfo

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

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

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

var xxx_messageInfo_CrossGuidanceGetSwitchResponse proto.InternalMessageInfo

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

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

func (m *CrossGuidanceGetSwitchResponse) GetData() *CrossGuidanceGetSwitchResponse_Data {
	if m != nil {
		return m.Data
	}
	return nil
}

type CrossGuidanceGetSwitchResponse_Server struct {
	ServerId             int32    `protobuf:"zigzag32,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Close                bool     `protobuf:"varint,2,opt,name=close,proto3" json:"close,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossGuidanceGetSwitchResponse_Server proto.InternalMessageInfo

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

func (m *CrossGuidanceGetSwitchResponse_Server) GetClose() bool {
	if m != nil {
		return m.Close
	}
	return false
}

type CrossGuidanceGetSwitchResponse_Data struct {
	Servers              []*CrossGuidanceGetSwitchResponse_Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

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

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

var xxx_messageInfo_CrossGuidanceGetSwitchResponse_Data proto.InternalMessageInfo

func (m *CrossGuidanceGetSwitchResponse_Data) GetServers() []*CrossGuidanceGetSwitchResponse_Server {
	if m != nil {
		return m.Servers
	}
	return nil
}

func init() {
	proto.RegisterType((*CrossGuidanceGetSwitchRequest)(nil), "proto.CrossGuidanceGetSwitchRequest")
	proto.RegisterType((*CrossGuidanceGetSwitchResponse)(nil), "proto.CrossGuidanceGetSwitchResponse")
	proto.RegisterType((*CrossGuidanceGetSwitchResponse_Server)(nil), "proto.CrossGuidanceGetSwitchResponse.Server")
	proto.RegisterType((*CrossGuidanceGetSwitchResponse_Data)(nil), "proto.CrossGuidanceGetSwitchResponse.Data")
}

func init() { proto.RegisterFile("service/cross_guidance_game.proto", fileDescriptor_debf53561962b080) }

var fileDescriptor_debf53561962b080 = []byte{
	// 269 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4b, 0xc3, 0x30,
	0x14, 0xc7, 0xc9, 0xd6, 0xcd, 0xf5, 0xed, 0x20, 0x3e, 0x3c, 0x94, 0x8a, 0x52, 0x87, 0x42, 0x11,
	0xa9, 0x50, 0x8f, 0x8a, 0x17, 0xc5, 0xe1, 0xc5, 0x43, 0x7a, 0xf1, 0x56, 0x62, 0xf2, 0x9c, 0x41,
	0x6d, 0x66, 0x93, 0xe9, 0x5f, 0xe2, 0xff, 0x2b, 0x4d, 0x9c, 0x88, 0xa0, 0xdb, 0xa9, 0xaf, 0x8f,
	0xef, 0x8f, 0x4f, 0x12, 0xd8, 0xb7, 0xd4, 0xbe, 0x69, 0x49, 0x27, 0xb2, 0x35, 0xd6, 0xd6, 0xb3,
	0x85, 0x56, 0xa2, 0x91, 0x54, 0xcf, 0xc4, 0x0b, 0x15, 0xf3, 0xd6, 0x38, 0x83, 0x03, 0xff, 0x99,
	0x9c, 0xc3, 0xee, 0x65, 0xa7, 0x99, 0x7e, 0x49, 0xa6, 0xe4, 0xaa, 0x77, 0xed, 0xe4, 0x23, 0xa7,
	0xd7, 0x05, 0x59, 0x87, 0x3b, 0x10, 0x77, 0x61, 0xd4, 0xd6, 0x5a, 0x25, 0x2c, 0xeb, 0xe7, 0x5b,
	0x7c, 0x14, 0x16, 0x37, 0x6a, 0xf2, 0xd1, 0x83, 0xbd, 0xbf, 0xec, 0x76, 0x6e, 0x1a, 0x4b, 0x88,
	0x10, 0x49, 0xa3, 0x28, 0x61, 0x19, 0xcb, 0x91, 0xfb, 0xb9, 0xdb, 0xe9, 0xe6, 0xc1, 0x24, 0xbd,
	0x8c, 0xe5, 0x31, 0xf7, 0x33, 0x5e, 0x40, 0xa4, 0x84, 0x13, 0x49, 0x3f, 0x63, 0xf9, 0xb8, 0x3c,
	0x0a, 0x94, 0xc5, 0xff, 0xe1, 0xc5, 0x95, 0x70, 0x82, 0x7b, 0x5f, 0x7a, 0x06, 0xc3, 0xca, 0x63,
	0xfd, 0x26, 0x66, 0x3f, 0x89, 0x71, 0x1b, 0x06, 0xf2, 0xd9, 0x58, 0xf2, 0xdd, 0x23, 0x1e, 0x7e,
	0xd2, 0x5b, 0x88, 0xba, 0x28, 0xbc, 0x86, 0x8d, 0xa0, 0xb4, 0xfe, 0xa8, 0xe3, 0xf2, 0x78, 0x3d,
	0x8e, 0xd0, 0xcc, 0x97, 0xe6, 0xf2, 0x09, 0x36, 0x97, 0xe2, 0x2a, 0xbc, 0x04, 0xde, 0x41, 0xfc,
	0xed, 0xc3, 0x83, 0x15, 0xb1, 0xfe, 0xea, 0xd3, 0xc3, 0xb5, 0xca, 0xef, 0x87, 0x5e, 0x75, 0xfa,
	0x19, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x4c, 0xac, 0x3c, 0xf5, 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

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

type guidanceServiceClient struct {
	cc *grpc.ClientConn
}

func NewGuidanceServiceClient(cc *grpc.ClientConn) GuidanceServiceClient {
	return &guidanceServiceClient{cc}
}

func (c *guidanceServiceClient) GetSwitch(ctx context.Context, in *CrossGuidanceGetSwitchRequest, opts ...grpc.CallOption) (*CrossGuidanceGetSwitchResponse, error) {
	out := new(CrossGuidanceGetSwitchResponse)
	err := c.cc.Invoke(ctx, "/proto.GuidanceService/GetSwitch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// GuidanceServiceServer is the server API for GuidanceService service.
type GuidanceServiceServer interface {
	GetSwitch(context.Context, *CrossGuidanceGetSwitchRequest) (*CrossGuidanceGetSwitchResponse, error)
}

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

func (*UnimplementedGuidanceServiceServer) GetSwitch(ctx context.Context, req *CrossGuidanceGetSwitchRequest) (*CrossGuidanceGetSwitchResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetSwitch not implemented")
}

func RegisterGuidanceServiceServer(s *grpc.Server, srv GuidanceServiceServer) {
	s.RegisterService(&_GuidanceService_serviceDesc, srv)
}

func _GuidanceService_GetSwitch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CrossGuidanceGetSwitchRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(GuidanceServiceServer).GetSwitch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/proto.GuidanceService/GetSwitch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(GuidanceServiceServer).GetSwitch(ctx, req.(*CrossGuidanceGetSwitchRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _GuidanceService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "proto.GuidanceService",
	HandlerType: (*GuidanceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSwitch",
			Handler:    _GuidanceService_GetSwitch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service/cross_guidance_game.proto",
}
