// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.21.2 // source: servers.proto package servers import ( maps "git.itzana.me/strafesnet/go-grpc/maps" users "git.itzana.me/strafesnet/go-grpc/users" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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 ServerList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Servers []*ServerItem `protobuf:"bytes,1,rep,name=Servers,proto3" json:"Servers,omitempty"` } func (x *ServerList) Reset() { *x = ServerList{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerList) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerList) ProtoMessage() {} func (x *ServerList) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerList.ProtoReflect.Descriptor instead. func (*ServerList) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{0} } func (x *ServerList) GetServers() []*ServerItem { if x != nil { return x.Servers } return nil } type IdMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` } func (x *IdMessage) Reset() { *x = IdMessage{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IdMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*IdMessage) ProtoMessage() {} func (x *IdMessage) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use IdMessage.ProtoReflect.Descriptor instead. func (*IdMessage) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{1} } func (x *IdMessage) GetID() string { if x != nil { return x.ID } return "" } type ServerCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` PlaceID int64 `protobuf:"varint,2,opt,name=PlaceID,proto3" json:"PlaceID,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=StartTime,proto3" json:"StartTime,omitempty"` VipServerID string `protobuf:"bytes,4,opt,name=VipServerID,proto3" json:"VipServerID,omitempty"` UserID int64 `protobuf:"varint,5,opt,name=UserID,proto3" json:"UserID,omitempty"` GameID int32 `protobuf:"varint,6,opt,name=GameID,proto3" json:"GameID,omitempty"` MapID int64 `protobuf:"varint,7,opt,name=MapID,proto3" json:"MapID,omitempty"` MapDate int64 `protobuf:"varint,8,opt,name=MapDate,proto3" json:"MapDate,omitempty"` PlayerList []int64 `protobuf:"varint,9,rep,packed,name=PlayerList,proto3" json:"PlayerList,omitempty"` LastUpdate int64 `protobuf:"varint,10,opt,name=LastUpdate,proto3" json:"LastUpdate,omitempty"` } func (x *ServerCreate) Reset() { *x = ServerCreate{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerCreate) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerCreate) ProtoMessage() {} func (x *ServerCreate) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerCreate.ProtoReflect.Descriptor instead. func (*ServerCreate) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{2} } func (x *ServerCreate) GetID() string { if x != nil { return x.ID } return "" } func (x *ServerCreate) GetPlaceID() int64 { if x != nil { return x.PlaceID } return 0 } func (x *ServerCreate) GetStartTime() int64 { if x != nil { return x.StartTime } return 0 } func (x *ServerCreate) GetVipServerID() string { if x != nil { return x.VipServerID } return "" } func (x *ServerCreate) GetUserID() int64 { if x != nil { return x.UserID } return 0 } func (x *ServerCreate) GetGameID() int32 { if x != nil { return x.GameID } return 0 } func (x *ServerCreate) GetMapID() int64 { if x != nil { return x.MapID } return 0 } func (x *ServerCreate) GetMapDate() int64 { if x != nil { return x.MapDate } return 0 } func (x *ServerCreate) GetPlayerList() []int64 { if x != nil { return x.PlayerList } return nil } func (x *ServerCreate) GetLastUpdate() int64 { if x != nil { return x.LastUpdate } return 0 } type ServerItem struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` PlaceID int64 `protobuf:"varint,2,opt,name=PlaceID,proto3" json:"PlaceID,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=StartTime,proto3" json:"StartTime,omitempty"` VipServerID string `protobuf:"bytes,4,opt,name=VipServerID,proto3" json:"VipServerID,omitempty"` User *users.UserResponse `protobuf:"bytes,5,opt,name=User,proto3" json:"User,omitempty"` GameID int32 `protobuf:"varint,6,opt,name=GameID,proto3" json:"GameID,omitempty"` Map *maps.MapResponse `protobuf:"bytes,7,opt,name=Map,proto3" json:"Map,omitempty"` MapDate int64 `protobuf:"varint,8,opt,name=MapDate,proto3" json:"MapDate,omitempty"` PlayerList []int64 `protobuf:"varint,9,rep,packed,name=PlayerList,proto3" json:"PlayerList,omitempty"` LastUpdate int64 `protobuf:"varint,10,opt,name=LastUpdate,proto3" json:"LastUpdate,omitempty"` } func (x *ServerItem) Reset() { *x = ServerItem{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerItem) ProtoMessage() {} func (x *ServerItem) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerItem.ProtoReflect.Descriptor instead. func (*ServerItem) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{3} } func (x *ServerItem) GetID() string { if x != nil { return x.ID } return "" } func (x *ServerItem) GetPlaceID() int64 { if x != nil { return x.PlaceID } return 0 } func (x *ServerItem) GetStartTime() int64 { if x != nil { return x.StartTime } return 0 } func (x *ServerItem) GetVipServerID() string { if x != nil { return x.VipServerID } return "" } func (x *ServerItem) GetUser() *users.UserResponse { if x != nil { return x.User } return nil } func (x *ServerItem) GetGameID() int32 { if x != nil { return x.GameID } return 0 } func (x *ServerItem) GetMap() *maps.MapResponse { if x != nil { return x.Map } return nil } func (x *ServerItem) GetMapDate() int64 { if x != nil { return x.MapDate } return 0 } func (x *ServerItem) GetPlayerList() []int64 { if x != nil { return x.PlayerList } return nil } func (x *ServerItem) GetLastUpdate() int64 { if x != nil { return x.LastUpdate } return 0 } type ServerUpdate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` MapID *int64 `protobuf:"varint,2,opt,name=MapID,proto3,oneof" json:"MapID,omitempty"` MapDate *int64 `protobuf:"varint,3,opt,name=MapDate,proto3,oneof" json:"MapDate,omitempty"` PlayerList []int64 `protobuf:"varint,4,rep,packed,name=PlayerList,proto3" json:"PlayerList,omitempty"` } func (x *ServerUpdate) Reset() { *x = ServerUpdate{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerUpdate) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerUpdate) ProtoMessage() {} func (x *ServerUpdate) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerUpdate.ProtoReflect.Descriptor instead. func (*ServerUpdate) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{4} } func (x *ServerUpdate) GetID() string { if x != nil { return x.ID } return "" } func (x *ServerUpdate) GetMapID() int64 { if x != nil && x.MapID != nil { return *x.MapID } return 0 } func (x *ServerUpdate) GetMapDate() int64 { if x != nil && x.MapDate != nil { return *x.MapDate } return 0 } func (x *ServerUpdate) GetPlayerList() []int64 { if x != nil { return x.PlayerList } return nil } type ServerFilter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID *string `protobuf:"bytes,1,opt,name=ID,proto3,oneof" json:"ID,omitempty"` PlaceID *int64 `protobuf:"varint,2,opt,name=PlaceID,proto3,oneof" json:"PlaceID,omitempty"` VipServerID *string `protobuf:"bytes,4,opt,name=VipServerID,proto3,oneof" json:"VipServerID,omitempty"` UserID *int64 `protobuf:"varint,5,opt,name=UserID,proto3,oneof" json:"UserID,omitempty"` GameID *int32 `protobuf:"varint,6,opt,name=GameID,proto3,oneof" json:"GameID,omitempty"` MapID *int64 `protobuf:"varint,7,opt,name=MapID,proto3,oneof" json:"MapID,omitempty"` } func (x *ServerFilter) Reset() { *x = ServerFilter{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerFilter) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerFilter) ProtoMessage() {} func (x *ServerFilter) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerFilter.ProtoReflect.Descriptor instead. func (*ServerFilter) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{5} } func (x *ServerFilter) GetID() string { if x != nil && x.ID != nil { return *x.ID } return "" } func (x *ServerFilter) GetPlaceID() int64 { if x != nil && x.PlaceID != nil { return *x.PlaceID } return 0 } func (x *ServerFilter) GetVipServerID() string { if x != nil && x.VipServerID != nil { return *x.VipServerID } return "" } func (x *ServerFilter) GetUserID() int64 { if x != nil && x.UserID != nil { return *x.UserID } return 0 } func (x *ServerFilter) GetGameID() int32 { if x != nil && x.GameID != nil { return *x.GameID } return 0 } func (x *ServerFilter) GetMapID() int64 { if x != nil && x.MapID != nil { return *x.MapID } return 0 } type Pagination struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Size int32 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"` Number int32 `protobuf:"varint,2,opt,name=Number,proto3" json:"Number,omitempty"` } func (x *Pagination) Reset() { *x = Pagination{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Pagination) String() string { return protoimpl.X.MessageStringOf(x) } func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Pagination.ProtoReflect.Descriptor instead. func (*Pagination) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{6} } func (x *Pagination) GetSize() int32 { if x != nil { return x.Size } return 0 } func (x *Pagination) GetNumber() int32 { if x != nil { return x.Number } return 0 } type ServerListRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Filter *ServerFilter `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"` Page *Pagination `protobuf:"bytes,2,opt,name=Page,proto3" json:"Page,omitempty"` } func (x *ServerListRequest) Reset() { *x = ServerListRequest{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerListRequest) ProtoMessage() {} func (x *ServerListRequest) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerListRequest.ProtoReflect.Descriptor instead. func (*ServerListRequest) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{7} } func (x *ServerListRequest) GetFilter() *ServerFilter { if x != nil { return x.Filter } return nil } func (x *ServerListRequest) GetPage() *Pagination { if x != nil { return x.Page } return nil } type NullResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *NullResponse) Reset() { *x = NullResponse{} if protoimpl.UnsafeEnabled { mi := &file_servers_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *NullResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*NullResponse) ProtoMessage() {} func (x *NullResponse) ProtoReflect() protoreflect.Message { mi := &file_servers_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NullResponse.ProtoReflect.Descriptor instead. func (*NullResponse) Descriptor() ([]byte, []int) { return file_servers_proto_rawDescGZIP(), []int{8} } var File_servers_proto protoreflect.FileDescriptor var file_servers_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x1a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x1b, 0x0a, 0x09, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0xb6, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x23, 0x0a, 0x03, 0x4d, 0x61, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, 0x4d, 0x61, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x19, 0x0a, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x07, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x4d, 0x61, 0x70, 0x44, 0x61, 0x74, 0x65, 0x22, 0x81, 0x02, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x02, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x07, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0b, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x04, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x48, 0x05, 0x52, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x49, 0x44, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x44, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x56, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x22, 0x38, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x9d, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x12, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x12, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x37, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61, 0x2e, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x72, 0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_servers_proto_rawDescOnce sync.Once file_servers_proto_rawDescData = file_servers_proto_rawDesc ) func file_servers_proto_rawDescGZIP() []byte { file_servers_proto_rawDescOnce.Do(func() { file_servers_proto_rawDescData = protoimpl.X.CompressGZIP(file_servers_proto_rawDescData) }) return file_servers_proto_rawDescData } var file_servers_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_servers_proto_goTypes = []interface{}{ (*ServerList)(nil), // 0: servers.ServerList (*IdMessage)(nil), // 1: servers.IdMessage (*ServerCreate)(nil), // 2: servers.ServerCreate (*ServerItem)(nil), // 3: servers.ServerItem (*ServerUpdate)(nil), // 4: servers.ServerUpdate (*ServerFilter)(nil), // 5: servers.ServerFilter (*Pagination)(nil), // 6: servers.Pagination (*ServerListRequest)(nil), // 7: servers.ServerListRequest (*NullResponse)(nil), // 8: servers.NullResponse (*users.UserResponse)(nil), // 9: users.UserResponse (*maps.MapResponse)(nil), // 10: maps.MapResponse } var file_servers_proto_depIdxs = []int32{ 3, // 0: servers.ServerList.Servers:type_name -> servers.ServerItem 9, // 1: servers.ServerItem.User:type_name -> users.UserResponse 10, // 2: servers.ServerItem.Map:type_name -> maps.MapResponse 5, // 3: servers.ServerListRequest.Filter:type_name -> servers.ServerFilter 6, // 4: servers.ServerListRequest.Page:type_name -> servers.Pagination 2, // 5: servers.ServerService.Create:input_type -> servers.ServerCreate 4, // 6: servers.ServerService.Update:input_type -> servers.ServerUpdate 1, // 7: servers.ServerService.Delete:input_type -> servers.IdMessage 1, // 8: servers.ServerService.Get:input_type -> servers.IdMessage 7, // 9: servers.ServerService.List:input_type -> servers.ServerListRequest 8, // 10: servers.ServerService.Create:output_type -> servers.NullResponse 8, // 11: servers.ServerService.Update:output_type -> servers.NullResponse 8, // 12: servers.ServerService.Delete:output_type -> servers.NullResponse 3, // 13: servers.ServerService.Get:output_type -> servers.ServerItem 0, // 14: servers.ServerService.List:output_type -> servers.ServerList 10, // [10:15] is the sub-list for method output_type 5, // [5:10] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_servers_proto_init() } func file_servers_proto_init() { if File_servers_proto != nil { return } if !protoimpl.UnsafeEnabled { file_servers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerList); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IdMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerCreate); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerItem); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerUpdate); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerFilter); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Pagination); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerListRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_servers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NullResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_servers_proto_msgTypes[4].OneofWrappers = []interface{}{} file_servers_proto_msgTypes[5].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_servers_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, GoTypes: file_servers_proto_goTypes, DependencyIndexes: file_servers_proto_depIdxs, MessageInfos: file_servers_proto_msgTypes, }.Build() File_servers_proto = out.File file_servers_proto_rawDesc = nil file_servers_proto_goTypes = nil file_servers_proto_depIdxs = nil }