// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: commonspace/clientspaceproto/protos/clientspace.proto

package clientspaceproto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type SpaceExchangeRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SpaceIds      []string               `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
	LocalServer   *LocalServer           `protobuf:"bytes,2,opt,name=localServer,proto3" json:"localServer,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SpaceExchangeRequest) Reset() {
	*x = SpaceExchangeRequest{}
	mi := &file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SpaceExchangeRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SpaceExchangeRequest) ProtoMessage() {}

func (x *SpaceExchangeRequest) ProtoReflect() protoreflect.Message {
	mi := &file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SpaceExchangeRequest.ProtoReflect.Descriptor instead.
func (*SpaceExchangeRequest) Descriptor() ([]byte, []int) {
	return file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescGZIP(), []int{0}
}

func (x *SpaceExchangeRequest) GetSpaceIds() []string {
	if x != nil {
		return x.SpaceIds
	}
	return nil
}

func (x *SpaceExchangeRequest) GetLocalServer() *LocalServer {
	if x != nil {
		return x.LocalServer
	}
	return nil
}

type SpaceExchangeResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SpaceIds      []string               `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SpaceExchangeResponse) Reset() {
	*x = SpaceExchangeResponse{}
	mi := &file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SpaceExchangeResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SpaceExchangeResponse) ProtoMessage() {}

func (x *SpaceExchangeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SpaceExchangeResponse.ProtoReflect.Descriptor instead.
func (*SpaceExchangeResponse) Descriptor() ([]byte, []int) {
	return file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescGZIP(), []int{1}
}

func (x *SpaceExchangeResponse) GetSpaceIds() []string {
	if x != nil {
		return x.SpaceIds
	}
	return nil
}

type LocalServer struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Ips           []string               `protobuf:"bytes,1,rep,name=Ips,proto3" json:"Ips,omitempty"`
	Port          int32                  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *LocalServer) Reset() {
	*x = LocalServer{}
	mi := &file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *LocalServer) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LocalServer) ProtoMessage() {}

func (x *LocalServer) ProtoReflect() protoreflect.Message {
	mi := &file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use LocalServer.ProtoReflect.Descriptor instead.
func (*LocalServer) Descriptor() ([]byte, []int) {
	return file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescGZIP(), []int{2}
}

func (x *LocalServer) GetIps() []string {
	if x != nil {
		return x.Ips
	}
	return nil
}

func (x *LocalServer) GetPort() int32 {
	if x != nil {
		return x.Port
	}
	return 0
}

var File_commonspace_clientspaceproto_protos_clientspace_proto protoreflect.FileDescriptor

const file_commonspace_clientspaceproto_protos_clientspace_proto_rawDesc = "" +
	"\n" +
	"5commonspace/clientspaceproto/protos/clientspace.proto\x12\vclientspace\"n\n" +
	"\x14SpaceExchangeRequest\x12\x1a\n" +
	"\bspaceIds\x18\x01 \x03(\tR\bspaceIds\x12:\n" +
	"\vlocalServer\x18\x02 \x01(\v2\x18.clientspace.LocalServerR\vlocalServer\"3\n" +
	"\x15SpaceExchangeResponse\x12\x1a\n" +
	"\bspaceIds\x18\x01 \x03(\tR\bspaceIds\"3\n" +
	"\vLocalServer\x12\x10\n" +
	"\x03Ips\x18\x01 \x03(\tR\x03Ips\x12\x12\n" +
	"\x04port\x18\x02 \x01(\x05R\x04port2e\n" +
	"\vClientSpace\x12V\n" +
	"\rSpaceExchange\x12!.clientspace.SpaceExchangeRequest\x1a\".clientspace.SpaceExchangeResponseB\x1eZ\x1ccommonspace/clientspaceprotob\x06proto3"

var (
	file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescOnce sync.Once
	file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescData []byte
)

func file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescGZIP() []byte {
	file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescOnce.Do(func() {
		file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_commonspace_clientspaceproto_protos_clientspace_proto_rawDesc), len(file_commonspace_clientspaceproto_protos_clientspace_proto_rawDesc)))
	})
	return file_commonspace_clientspaceproto_protos_clientspace_proto_rawDescData
}

var file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_commonspace_clientspaceproto_protos_clientspace_proto_goTypes = []any{
	(*SpaceExchangeRequest)(nil),  // 0: clientspace.SpaceExchangeRequest
	(*SpaceExchangeResponse)(nil), // 1: clientspace.SpaceExchangeResponse
	(*LocalServer)(nil),           // 2: clientspace.LocalServer
}
var file_commonspace_clientspaceproto_protos_clientspace_proto_depIdxs = []int32{
	2, // 0: clientspace.SpaceExchangeRequest.localServer:type_name -> clientspace.LocalServer
	0, // 1: clientspace.ClientSpace.SpaceExchange:input_type -> clientspace.SpaceExchangeRequest
	1, // 2: clientspace.ClientSpace.SpaceExchange:output_type -> clientspace.SpaceExchangeResponse
	2, // [2:3] is the sub-list for method output_type
	1, // [1:2] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_commonspace_clientspaceproto_protos_clientspace_proto_init() }
func file_commonspace_clientspaceproto_protos_clientspace_proto_init() {
	if File_commonspace_clientspaceproto_protos_clientspace_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_commonspace_clientspaceproto_protos_clientspace_proto_rawDesc), len(file_commonspace_clientspaceproto_protos_clientspace_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_commonspace_clientspaceproto_protos_clientspace_proto_goTypes,
		DependencyIndexes: file_commonspace_clientspaceproto_protos_clientspace_proto_depIdxs,
		MessageInfos:      file_commonspace_clientspaceproto_protos_clientspace_proto_msgTypes,
	}.Build()
	File_commonspace_clientspaceproto_protos_clientspace_proto = out.File
	file_commonspace_clientspaceproto_protos_clientspace_proto_goTypes = nil
	file_commonspace_clientspaceproto_protos_clientspace_proto_depIdxs = nil
}
