1996 lines
61 KiB
Go
1996 lines
61 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.1
|
|
// source: player.proto
|
|
|
|
package pb
|
|
|
|
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)
|
|
)
|
|
|
|
// --------------------------------playerServices--------------------------------
|
|
type PlayerServices struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
PlayerId int64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"` //playerId
|
|
GameId int64 `protobuf:"varint,3,opt,name=gameId,proto3" json:"gameId,omitempty"` //gameId
|
|
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` //title
|
|
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` //description
|
|
Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"` //price
|
|
Unit string `protobuf:"bytes,7,opt,name=unit,proto3" json:"unit,omitempty"` //unit
|
|
RankRange string `protobuf:"bytes,8,opt,name=rankRange,proto3" json:"rankRange,omitempty"` //rankRange
|
|
Availability []string `protobuf:"bytes,9,rep,name=availability,proto3" json:"availability,omitempty"` //availability
|
|
Rating float64 `protobuf:"fixed64,10,opt,name=rating,proto3" json:"rating,omitempty"` //rating
|
|
IsActive bool `protobuf:"varint,11,opt,name=isActive,proto3" json:"isActive,omitempty"` //isActive
|
|
CreatedAt int64 `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PlayerServices) Reset() {
|
|
*x = PlayerServices{}
|
|
mi := &file_player_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PlayerServices) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlayerServices) ProtoMessage() {}
|
|
|
|
func (x *PlayerServices) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_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 PlayerServices.ProtoReflect.Descriptor instead.
|
|
func (*PlayerServices) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PlayerServices) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerServices) GetPlayerId() int64 {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerServices) GetGameId() int64 {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerServices) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerServices) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerServices) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerServices) GetUnit() string {
|
|
if x != nil {
|
|
return x.Unit
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerServices) GetRankRange() string {
|
|
if x != nil {
|
|
return x.RankRange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerServices) GetAvailability() []string {
|
|
if x != nil {
|
|
return x.Availability
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PlayerServices) GetRating() float64 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerServices) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PlayerServices) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerServices) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddPlayerServicesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerId int64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` //playerId
|
|
GameId int64 `protobuf:"varint,2,opt,name=gameId,proto3" json:"gameId,omitempty"` //gameId
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` //title
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` //description
|
|
Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` //price
|
|
Unit string `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"` //unit
|
|
RankRange string `protobuf:"bytes,7,opt,name=rankRange,proto3" json:"rankRange,omitempty"` //rankRange
|
|
Availability []string `protobuf:"bytes,8,rep,name=availability,proto3" json:"availability,omitempty"` //availability
|
|
Rating float64 `protobuf:"fixed64,9,opt,name=rating,proto3" json:"rating,omitempty"` //rating
|
|
IsActive bool `protobuf:"varint,10,opt,name=isActive,proto3" json:"isActive,omitempty"` //isActive
|
|
CreatedAt int64 `protobuf:"varint,11,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,12,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) Reset() {
|
|
*x = AddPlayerServicesReq{}
|
|
mi := &file_player_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPlayerServicesReq) ProtoMessage() {}
|
|
|
|
func (x *AddPlayerServicesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_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 AddPlayerServicesReq.ProtoReflect.Descriptor instead.
|
|
func (*AddPlayerServicesReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetPlayerId() int64 {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetGameId() int64 {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetUnit() string {
|
|
if x != nil {
|
|
return x.Unit
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetRankRange() string {
|
|
if x != nil {
|
|
return x.RankRange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetAvailability() []string {
|
|
if x != nil {
|
|
return x.Availability
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetRating() float64 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayerServicesReq) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddPlayerServicesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPlayerServicesResp) Reset() {
|
|
*x = AddPlayerServicesResp{}
|
|
mi := &file_player_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPlayerServicesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPlayerServicesResp) ProtoMessage() {}
|
|
|
|
func (x *AddPlayerServicesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_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 AddPlayerServicesResp.ProtoReflect.Descriptor instead.
|
|
func (*AddPlayerServicesResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type UpdatePlayerServicesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
PlayerId *int64 `protobuf:"varint,2,opt,name=playerId,proto3,oneof" json:"playerId,omitempty"` //playerId
|
|
GameId *int64 `protobuf:"varint,3,opt,name=gameId,proto3,oneof" json:"gameId,omitempty"` //gameId
|
|
Title *string `protobuf:"bytes,4,opt,name=title,proto3,oneof" json:"title,omitempty"` //title
|
|
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` //description
|
|
Price *float64 `protobuf:"fixed64,6,opt,name=price,proto3,oneof" json:"price,omitempty"` //price
|
|
Unit *string `protobuf:"bytes,7,opt,name=unit,proto3,oneof" json:"unit,omitempty"` //unit
|
|
RankRange *string `protobuf:"bytes,8,opt,name=rankRange,proto3,oneof" json:"rankRange,omitempty"` //rankRange
|
|
Availability []string `protobuf:"bytes,9,rep,name=availability,proto3" json:"availability,omitempty"` //availability
|
|
Rating *float64 `protobuf:"fixed64,10,opt,name=rating,proto3,oneof" json:"rating,omitempty"` //rating
|
|
IsActive *bool `protobuf:"varint,11,opt,name=isActive,proto3,oneof" json:"isActive,omitempty"` //isActive
|
|
CreatedAt *int64 `protobuf:"varint,12,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt *int64 `protobuf:"varint,13,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) Reset() {
|
|
*x = UpdatePlayerServicesReq{}
|
|
mi := &file_player_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePlayerServicesReq) ProtoMessage() {}
|
|
|
|
func (x *UpdatePlayerServicesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[3]
|
|
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 UpdatePlayerServicesReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePlayerServicesReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetPlayerId() int64 {
|
|
if x != nil && x.PlayerId != nil {
|
|
return *x.PlayerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetGameId() int64 {
|
|
if x != nil && x.GameId != nil {
|
|
return *x.GameId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetTitle() string {
|
|
if x != nil && x.Title != nil {
|
|
return *x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetPrice() float64 {
|
|
if x != nil && x.Price != nil {
|
|
return *x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetUnit() string {
|
|
if x != nil && x.Unit != nil {
|
|
return *x.Unit
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetRankRange() string {
|
|
if x != nil && x.RankRange != nil {
|
|
return *x.RankRange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetAvailability() []string {
|
|
if x != nil {
|
|
return x.Availability
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetRating() float64 {
|
|
if x != nil && x.Rating != nil {
|
|
return *x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetIsActive() bool {
|
|
if x != nil && x.IsActive != nil {
|
|
return *x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetCreatedAt() int64 {
|
|
if x != nil && x.CreatedAt != nil {
|
|
return *x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesReq) GetUpdatedAt() int64 {
|
|
if x != nil && x.UpdatedAt != nil {
|
|
return *x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdatePlayerServicesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesResp) Reset() {
|
|
*x = UpdatePlayerServicesResp{}
|
|
mi := &file_player_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdatePlayerServicesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePlayerServicesResp) ProtoMessage() {}
|
|
|
|
func (x *UpdatePlayerServicesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[4]
|
|
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 UpdatePlayerServicesResp.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePlayerServicesResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type DelPlayerServicesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DelPlayerServicesReq) Reset() {
|
|
*x = DelPlayerServicesReq{}
|
|
mi := &file_player_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DelPlayerServicesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelPlayerServicesReq) ProtoMessage() {}
|
|
|
|
func (x *DelPlayerServicesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[5]
|
|
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 DelPlayerServicesReq.ProtoReflect.Descriptor instead.
|
|
func (*DelPlayerServicesReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DelPlayerServicesReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DelPlayerServicesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DelPlayerServicesResp) Reset() {
|
|
*x = DelPlayerServicesResp{}
|
|
mi := &file_player_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DelPlayerServicesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelPlayerServicesResp) ProtoMessage() {}
|
|
|
|
func (x *DelPlayerServicesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[6]
|
|
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 DelPlayerServicesResp.ProtoReflect.Descriptor instead.
|
|
func (*DelPlayerServicesResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type GetPlayerServicesByIdReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayerServicesByIdReq) Reset() {
|
|
*x = GetPlayerServicesByIdReq{}
|
|
mi := &file_player_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayerServicesByIdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayerServicesByIdReq) ProtoMessage() {}
|
|
|
|
func (x *GetPlayerServicesByIdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[7]
|
|
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 GetPlayerServicesByIdReq.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayerServicesByIdReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetPlayerServicesByIdReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetPlayerServicesByIdResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerServices *PlayerServices `protobuf:"bytes,1,opt,name=playerServices,proto3" json:"playerServices,omitempty"` //playerServices
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayerServicesByIdResp) Reset() {
|
|
*x = GetPlayerServicesByIdResp{}
|
|
mi := &file_player_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayerServicesByIdResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayerServicesByIdResp) ProtoMessage() {}
|
|
|
|
func (x *GetPlayerServicesByIdResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[8]
|
|
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 GetPlayerServicesByIdResp.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayerServicesByIdResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetPlayerServicesByIdResp) GetPlayerServices() *PlayerServices {
|
|
if x != nil {
|
|
return x.PlayerServices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchPlayerServicesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` //page
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
PlayerId int64 `protobuf:"varint,4,opt,name=playerId,proto3" json:"playerId,omitempty"` //playerId
|
|
GameId int64 `protobuf:"varint,5,opt,name=gameId,proto3" json:"gameId,omitempty"` //gameId
|
|
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` //title
|
|
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` //description
|
|
Price float64 `protobuf:"fixed64,8,opt,name=price,proto3" json:"price,omitempty"` //price
|
|
Unit string `protobuf:"bytes,9,opt,name=unit,proto3" json:"unit,omitempty"` //unit
|
|
RankRange string `protobuf:"bytes,10,opt,name=rankRange,proto3" json:"rankRange,omitempty"` //rankRange
|
|
Availability []string `protobuf:"bytes,11,rep,name=availability,proto3" json:"availability,omitempty"` //availability
|
|
Rating float64 `protobuf:"fixed64,12,opt,name=rating,proto3" json:"rating,omitempty"` //rating
|
|
IsActive bool `protobuf:"varint,13,opt,name=isActive,proto3" json:"isActive,omitempty"` //isActive
|
|
CreatedAt int64 `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) Reset() {
|
|
*x = SearchPlayerServicesReq{}
|
|
mi := &file_player_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlayerServicesReq) ProtoMessage() {}
|
|
|
|
func (x *SearchPlayerServicesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[9]
|
|
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 SearchPlayerServicesReq.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlayerServicesReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetPage() int64 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetPlayerId() int64 {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetGameId() int64 {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetPrice() float64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetUnit() string {
|
|
if x != nil {
|
|
return x.Unit
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetRankRange() string {
|
|
if x != nil {
|
|
return x.RankRange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetAvailability() []string {
|
|
if x != nil {
|
|
return x.Availability
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetRating() float64 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayerServicesReq) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchPlayerServicesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerServices []*PlayerServices `protobuf:"bytes,1,rep,name=playerServices,proto3" json:"playerServices,omitempty"` //playerServices
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchPlayerServicesResp) Reset() {
|
|
*x = SearchPlayerServicesResp{}
|
|
mi := &file_player_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlayerServicesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlayerServicesResp) ProtoMessage() {}
|
|
|
|
func (x *SearchPlayerServicesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[10]
|
|
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 SearchPlayerServicesResp.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlayerServicesResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SearchPlayerServicesResp) GetPlayerServices() []*PlayerServices {
|
|
if x != nil {
|
|
return x.PlayerServices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// --------------------------------players--------------------------------
|
|
type Players struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` //status
|
|
Rating float64 `protobuf:"fixed64,4,opt,name=rating,proto3" json:"rating,omitempty"` //rating
|
|
TotalOrders int64 `protobuf:"varint,5,opt,name=totalOrders,proto3" json:"totalOrders,omitempty"` //totalOrders
|
|
CompletedOrders int64 `protobuf:"varint,6,opt,name=completedOrders,proto3" json:"completedOrders,omitempty"` //completedOrders
|
|
ShopId int64 `protobuf:"varint,7,opt,name=shopId,proto3" json:"shopId,omitempty"` //shopId
|
|
Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` //tags
|
|
Games []int64 `protobuf:"varint,9,rep,packed,name=games,proto3" json:"games,omitempty"` //games
|
|
CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
Gender bool `protobuf:"varint,12,opt,name=gender,proto3" json:"gender,omitempty"` //gender
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Players) Reset() {
|
|
*x = Players{}
|
|
mi := &file_player_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Players) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Players) ProtoMessage() {}
|
|
|
|
func (x *Players) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[11]
|
|
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 Players.ProtoReflect.Descriptor instead.
|
|
func (*Players) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *Players) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Players) GetRating() float64 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetTotalOrders() int64 {
|
|
if x != nil {
|
|
return x.TotalOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetCompletedOrders() int64 {
|
|
if x != nil {
|
|
return x.CompletedOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetShopId() int64 {
|
|
if x != nil {
|
|
return x.ShopId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Players) GetGames() []int64 {
|
|
if x != nil {
|
|
return x.Games
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Players) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Players) GetGender() bool {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AddPlayersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` //userId
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` //status
|
|
Rating float64 `protobuf:"fixed64,3,opt,name=rating,proto3" json:"rating,omitempty"` //rating
|
|
TotalOrders int64 `protobuf:"varint,4,opt,name=totalOrders,proto3" json:"totalOrders,omitempty"` //totalOrders
|
|
CompletedOrders int64 `protobuf:"varint,5,opt,name=completedOrders,proto3" json:"completedOrders,omitempty"` //completedOrders
|
|
ShopId int64 `protobuf:"varint,6,opt,name=shopId,proto3" json:"shopId,omitempty"` //shopId
|
|
Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` //tags
|
|
Games []int64 `protobuf:"varint,8,rep,packed,name=games,proto3" json:"games,omitempty"` //games
|
|
CreatedAt int64 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
Gender int64 `protobuf:"varint,11,opt,name=gender,proto3" json:"gender,omitempty"` //gender
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPlayersReq) Reset() {
|
|
*x = AddPlayersReq{}
|
|
mi := &file_player_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPlayersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPlayersReq) ProtoMessage() {}
|
|
|
|
func (x *AddPlayersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[12]
|
|
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 AddPlayersReq.ProtoReflect.Descriptor instead.
|
|
func (*AddPlayersReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetRating() float64 {
|
|
if x != nil {
|
|
return x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetTotalOrders() int64 {
|
|
if x != nil {
|
|
return x.TotalOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetCompletedOrders() int64 {
|
|
if x != nil {
|
|
return x.CompletedOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetShopId() int64 {
|
|
if x != nil {
|
|
return x.ShopId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetGames() []int64 {
|
|
if x != nil {
|
|
return x.Games
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddPlayersReq) GetGender() int64 {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddPlayersResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPlayersResp) Reset() {
|
|
*x = AddPlayersResp{}
|
|
mi := &file_player_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPlayersResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPlayersResp) ProtoMessage() {}
|
|
|
|
func (x *AddPlayersResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[13]
|
|
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 AddPlayersResp.ProtoReflect.Descriptor instead.
|
|
func (*AddPlayersResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
type UpdatePlayersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
UserId *int64 `protobuf:"varint,2,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId
|
|
Status *string `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` //status
|
|
Rating *float64 `protobuf:"fixed64,4,opt,name=rating,proto3,oneof" json:"rating,omitempty"` //rating
|
|
TotalOrders *int64 `protobuf:"varint,5,opt,name=totalOrders,proto3,oneof" json:"totalOrders,omitempty"` //totalOrders
|
|
CompletedOrders *int64 `protobuf:"varint,6,opt,name=completedOrders,proto3,oneof" json:"completedOrders,omitempty"` //completedOrders
|
|
ShopId *int64 `protobuf:"varint,7,opt,name=shopId,proto3,oneof" json:"shopId,omitempty"` //shopId
|
|
Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` //tags
|
|
Games []int64 `protobuf:"varint,9,rep,packed,name=games,proto3" json:"games,omitempty"` //games
|
|
CreatedAt *int64 `protobuf:"varint,10,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt *int64 `protobuf:"varint,11,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt
|
|
Gender *int64 `protobuf:"varint,12,opt,name=gender,proto3,oneof" json:"gender,omitempty"` //gender
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) Reset() {
|
|
*x = UpdatePlayersReq{}
|
|
mi := &file_player_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePlayersReq) ProtoMessage() {}
|
|
|
|
func (x *UpdatePlayersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[14]
|
|
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 UpdatePlayersReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePlayersReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetUserId() int64 {
|
|
if x != nil && x.UserId != nil {
|
|
return *x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetStatus() string {
|
|
if x != nil && x.Status != nil {
|
|
return *x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetRating() float64 {
|
|
if x != nil && x.Rating != nil {
|
|
return *x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetTotalOrders() int64 {
|
|
if x != nil && x.TotalOrders != nil {
|
|
return *x.TotalOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetCompletedOrders() int64 {
|
|
if x != nil && x.CompletedOrders != nil {
|
|
return *x.CompletedOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetShopId() int64 {
|
|
if x != nil && x.ShopId != nil {
|
|
return *x.ShopId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetGames() []int64 {
|
|
if x != nil {
|
|
return x.Games
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetCreatedAt() int64 {
|
|
if x != nil && x.CreatedAt != nil {
|
|
return *x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetUpdatedAt() int64 {
|
|
if x != nil && x.UpdatedAt != nil {
|
|
return *x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdatePlayersReq) GetGender() int64 {
|
|
if x != nil && x.Gender != nil {
|
|
return *x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdatePlayersResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdatePlayersResp) Reset() {
|
|
*x = UpdatePlayersResp{}
|
|
mi := &file_player_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdatePlayersResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePlayersResp) ProtoMessage() {}
|
|
|
|
func (x *UpdatePlayersResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[15]
|
|
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 UpdatePlayersResp.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePlayersResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
type DelPlayersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DelPlayersReq) Reset() {
|
|
*x = DelPlayersReq{}
|
|
mi := &file_player_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DelPlayersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelPlayersReq) ProtoMessage() {}
|
|
|
|
func (x *DelPlayersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[16]
|
|
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 DelPlayersReq.ProtoReflect.Descriptor instead.
|
|
func (*DelPlayersReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *DelPlayersReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DelPlayersResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DelPlayersResp) Reset() {
|
|
*x = DelPlayersResp{}
|
|
mi := &file_player_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DelPlayersResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelPlayersResp) ProtoMessage() {}
|
|
|
|
func (x *DelPlayersResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[17]
|
|
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 DelPlayersResp.ProtoReflect.Descriptor instead.
|
|
func (*DelPlayersResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
type GetPlayersByIdReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayersByIdReq) Reset() {
|
|
*x = GetPlayersByIdReq{}
|
|
mi := &file_player_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayersByIdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayersByIdReq) ProtoMessage() {}
|
|
|
|
func (x *GetPlayersByIdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[18]
|
|
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 GetPlayersByIdReq.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayersByIdReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetPlayersByIdReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetPlayersByIdResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Players *Players `protobuf:"bytes,1,opt,name=players,proto3" json:"players,omitempty"` //players
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayersByIdResp) Reset() {
|
|
*x = GetPlayersByIdResp{}
|
|
mi := &file_player_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayersByIdResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayersByIdResp) ProtoMessage() {}
|
|
|
|
func (x *GetPlayersByIdResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[19]
|
|
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 GetPlayersByIdResp.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayersByIdResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetPlayersByIdResp) GetPlayers() *Players {
|
|
if x != nil {
|
|
return x.Players
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchPlayersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page *int64 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"` //page
|
|
Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"` //limit
|
|
Id *int64 `protobuf:"varint,3,opt,name=id,proto3,oneof" json:"id,omitempty"` //id
|
|
UserId *int64 `protobuf:"varint,4,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId
|
|
Status *string `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"` //status
|
|
Rating *float64 `protobuf:"fixed64,6,opt,name=rating,proto3,oneof" json:"rating,omitempty"` //rating
|
|
TotalOrders *int64 `protobuf:"varint,7,opt,name=totalOrders,proto3,oneof" json:"totalOrders,omitempty"` //totalOrders
|
|
CompletedOrders *int64 `protobuf:"varint,8,opt,name=completedOrders,proto3,oneof" json:"completedOrders,omitempty"` //completedOrders
|
|
ShopId *int64 `protobuf:"varint,9,opt,name=shopId,proto3,oneof" json:"shopId,omitempty"` //shopId
|
|
Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"` //tags
|
|
Games []int64 `protobuf:"varint,11,rep,packed,name=games,proto3" json:"games,omitempty"` //games
|
|
CreatedAt *int64 `protobuf:"varint,12,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt *int64 `protobuf:"varint,13,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt
|
|
Gender *int64 `protobuf:"varint,14,opt,name=gender,proto3,oneof" json:"gender,omitempty"` //gender
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchPlayersReq) Reset() {
|
|
*x = SearchPlayersReq{}
|
|
mi := &file_player_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlayersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlayersReq) ProtoMessage() {}
|
|
|
|
func (x *SearchPlayersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[20]
|
|
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 SearchPlayersReq.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlayersReq) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetPage() int64 {
|
|
if x != nil && x.Page != nil {
|
|
return *x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetLimit() int64 {
|
|
if x != nil && x.Limit != nil {
|
|
return *x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetId() int64 {
|
|
if x != nil && x.Id != nil {
|
|
return *x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetUserId() int64 {
|
|
if x != nil && x.UserId != nil {
|
|
return *x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetStatus() string {
|
|
if x != nil && x.Status != nil {
|
|
return *x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetRating() float64 {
|
|
if x != nil && x.Rating != nil {
|
|
return *x.Rating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetTotalOrders() int64 {
|
|
if x != nil && x.TotalOrders != nil {
|
|
return *x.TotalOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetCompletedOrders() int64 {
|
|
if x != nil && x.CompletedOrders != nil {
|
|
return *x.CompletedOrders
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetShopId() int64 {
|
|
if x != nil && x.ShopId != nil {
|
|
return *x.ShopId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetGames() []int64 {
|
|
if x != nil {
|
|
return x.Games
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetCreatedAt() int64 {
|
|
if x != nil && x.CreatedAt != nil {
|
|
return *x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetUpdatedAt() int64 {
|
|
if x != nil && x.UpdatedAt != nil {
|
|
return *x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchPlayersReq) GetGender() int64 {
|
|
if x != nil && x.Gender != nil {
|
|
return *x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchPlayersResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Players []*Players `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"` //players
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchPlayersResp) Reset() {
|
|
*x = SearchPlayersResp{}
|
|
mi := &file_player_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlayersResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlayersResp) ProtoMessage() {}
|
|
|
|
func (x *SearchPlayersResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_player_proto_msgTypes[21]
|
|
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 SearchPlayersResp.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlayersResp) Descriptor() ([]byte, []int) {
|
|
return file_player_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *SearchPlayersResp) GetPlayers() []*Players {
|
|
if x != nil {
|
|
return x.Players
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_player_proto protoreflect.FileDescriptor
|
|
|
|
const file_player_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\fplayer.proto\x12\x02pb\"\xe8\x02\n" +
|
|
"\x0ePlayerServices\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
|
"\bplayerId\x18\x02 \x01(\x03R\bplayerId\x12\x16\n" +
|
|
"\x06gameId\x18\x03 \x01(\x03R\x06gameId\x12\x14\n" +
|
|
"\x05title\x18\x04 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x14\n" +
|
|
"\x05price\x18\x06 \x01(\x01R\x05price\x12\x12\n" +
|
|
"\x04unit\x18\a \x01(\tR\x04unit\x12\x1c\n" +
|
|
"\trankRange\x18\b \x01(\tR\trankRange\x12\"\n" +
|
|
"\favailability\x18\t \x03(\tR\favailability\x12\x16\n" +
|
|
"\x06rating\x18\n" +
|
|
" \x01(\x01R\x06rating\x12\x1a\n" +
|
|
"\bisActive\x18\v \x01(\bR\bisActive\x12\x1c\n" +
|
|
"\tcreatedAt\x18\f \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\r \x01(\x03R\tupdatedAt\"\xde\x02\n" +
|
|
"\x14AddPlayerServicesReq\x12\x1a\n" +
|
|
"\bplayerId\x18\x01 \x01(\x03R\bplayerId\x12\x16\n" +
|
|
"\x06gameId\x18\x02 \x01(\x03R\x06gameId\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x14\n" +
|
|
"\x05price\x18\x05 \x01(\x01R\x05price\x12\x12\n" +
|
|
"\x04unit\x18\x06 \x01(\tR\x04unit\x12\x1c\n" +
|
|
"\trankRange\x18\a \x01(\tR\trankRange\x12\"\n" +
|
|
"\favailability\x18\b \x03(\tR\favailability\x12\x16\n" +
|
|
"\x06rating\x18\t \x01(\x01R\x06rating\x12\x1a\n" +
|
|
"\bisActive\x18\n" +
|
|
" \x01(\bR\bisActive\x12\x1c\n" +
|
|
"\tcreatedAt\x18\v \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\f \x01(\x03R\tupdatedAt\"\x17\n" +
|
|
"\x15AddPlayerServicesResp\"\xaf\x04\n" +
|
|
"\x17UpdatePlayerServicesReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n" +
|
|
"\bplayerId\x18\x02 \x01(\x03H\x00R\bplayerId\x88\x01\x01\x12\x1b\n" +
|
|
"\x06gameId\x18\x03 \x01(\x03H\x01R\x06gameId\x88\x01\x01\x12\x19\n" +
|
|
"\x05title\x18\x04 \x01(\tH\x02R\x05title\x88\x01\x01\x12%\n" +
|
|
"\vdescription\x18\x05 \x01(\tH\x03R\vdescription\x88\x01\x01\x12\x19\n" +
|
|
"\x05price\x18\x06 \x01(\x01H\x04R\x05price\x88\x01\x01\x12\x17\n" +
|
|
"\x04unit\x18\a \x01(\tH\x05R\x04unit\x88\x01\x01\x12!\n" +
|
|
"\trankRange\x18\b \x01(\tH\x06R\trankRange\x88\x01\x01\x12\"\n" +
|
|
"\favailability\x18\t \x03(\tR\favailability\x12\x1b\n" +
|
|
"\x06rating\x18\n" +
|
|
" \x01(\x01H\aR\x06rating\x88\x01\x01\x12\x1f\n" +
|
|
"\bisActive\x18\v \x01(\bH\bR\bisActive\x88\x01\x01\x12!\n" +
|
|
"\tcreatedAt\x18\f \x01(\x03H\tR\tcreatedAt\x88\x01\x01\x12!\n" +
|
|
"\tupdatedAt\x18\r \x01(\x03H\n" +
|
|
"R\tupdatedAt\x88\x01\x01B\v\n" +
|
|
"\t_playerIdB\t\n" +
|
|
"\a_gameIdB\b\n" +
|
|
"\x06_titleB\x0e\n" +
|
|
"\f_descriptionB\b\n" +
|
|
"\x06_priceB\a\n" +
|
|
"\x05_unitB\f\n" +
|
|
"\n" +
|
|
"_rankRangeB\t\n" +
|
|
"\a_ratingB\v\n" +
|
|
"\t_isActiveB\f\n" +
|
|
"\n" +
|
|
"_createdAtB\f\n" +
|
|
"\n" +
|
|
"_updatedAt\"\x1a\n" +
|
|
"\x18UpdatePlayerServicesResp\"&\n" +
|
|
"\x14DelPlayerServicesReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x17\n" +
|
|
"\x15DelPlayerServicesResp\"*\n" +
|
|
"\x18GetPlayerServicesByIdReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"W\n" +
|
|
"\x19GetPlayerServicesByIdResp\x12:\n" +
|
|
"\x0eplayerServices\x18\x01 \x01(\v2\x12.pb.PlayerServicesR\x0eplayerServices\"\x9b\x03\n" +
|
|
"\x17SearchPlayerServicesReq\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x0e\n" +
|
|
"\x02id\x18\x03 \x01(\x03R\x02id\x12\x1a\n" +
|
|
"\bplayerId\x18\x04 \x01(\x03R\bplayerId\x12\x16\n" +
|
|
"\x06gameId\x18\x05 \x01(\x03R\x06gameId\x12\x14\n" +
|
|
"\x05title\x18\x06 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\a \x01(\tR\vdescription\x12\x14\n" +
|
|
"\x05price\x18\b \x01(\x01R\x05price\x12\x12\n" +
|
|
"\x04unit\x18\t \x01(\tR\x04unit\x12\x1c\n" +
|
|
"\trankRange\x18\n" +
|
|
" \x01(\tR\trankRange\x12\"\n" +
|
|
"\favailability\x18\v \x03(\tR\favailability\x12\x16\n" +
|
|
"\x06rating\x18\f \x01(\x01R\x06rating\x12\x1a\n" +
|
|
"\bisActive\x18\r \x01(\bR\bisActive\x12\x1c\n" +
|
|
"\tcreatedAt\x18\x0e \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\x0f \x01(\x03R\tupdatedAt\"V\n" +
|
|
"\x18SearchPlayerServicesResp\x12:\n" +
|
|
"\x0eplayerServices\x18\x01 \x03(\v2\x12.pb.PlayerServicesR\x0eplayerServices\"\xc3\x02\n" +
|
|
"\aPlayers\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06rating\x18\x04 \x01(\x01R\x06rating\x12 \n" +
|
|
"\vtotalOrders\x18\x05 \x01(\x03R\vtotalOrders\x12(\n" +
|
|
"\x0fcompletedOrders\x18\x06 \x01(\x03R\x0fcompletedOrders\x12\x16\n" +
|
|
"\x06shopId\x18\a \x01(\x03R\x06shopId\x12\x12\n" +
|
|
"\x04tags\x18\b \x03(\tR\x04tags\x12\x14\n" +
|
|
"\x05games\x18\t \x03(\x03R\x05games\x12\x1c\n" +
|
|
"\tcreatedAt\x18\n" +
|
|
" \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\v \x01(\x03R\tupdatedAt\x12\x16\n" +
|
|
"\x06gender\x18\f \x01(\bR\x06gender\"\xb9\x02\n" +
|
|
"\rAddPlayersReq\x12\x16\n" +
|
|
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06rating\x18\x03 \x01(\x01R\x06rating\x12 \n" +
|
|
"\vtotalOrders\x18\x04 \x01(\x03R\vtotalOrders\x12(\n" +
|
|
"\x0fcompletedOrders\x18\x05 \x01(\x03R\x0fcompletedOrders\x12\x16\n" +
|
|
"\x06shopId\x18\x06 \x01(\x03R\x06shopId\x12\x12\n" +
|
|
"\x04tags\x18\a \x03(\tR\x04tags\x12\x14\n" +
|
|
"\x05games\x18\b \x03(\x03R\x05games\x12\x1c\n" +
|
|
"\tcreatedAt\x18\t \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\n" +
|
|
" \x01(\x03R\tupdatedAt\x12\x16\n" +
|
|
"\x06gender\x18\v \x01(\x03R\x06gender\"\x10\n" +
|
|
"\x0eAddPlayersResp\"\xf0\x03\n" +
|
|
"\x10UpdatePlayersReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1b\n" +
|
|
"\x06userId\x18\x02 \x01(\x03H\x00R\x06userId\x88\x01\x01\x12\x1b\n" +
|
|
"\x06status\x18\x03 \x01(\tH\x01R\x06status\x88\x01\x01\x12\x1b\n" +
|
|
"\x06rating\x18\x04 \x01(\x01H\x02R\x06rating\x88\x01\x01\x12%\n" +
|
|
"\vtotalOrders\x18\x05 \x01(\x03H\x03R\vtotalOrders\x88\x01\x01\x12-\n" +
|
|
"\x0fcompletedOrders\x18\x06 \x01(\x03H\x04R\x0fcompletedOrders\x88\x01\x01\x12\x1b\n" +
|
|
"\x06shopId\x18\a \x01(\x03H\x05R\x06shopId\x88\x01\x01\x12\x12\n" +
|
|
"\x04tags\x18\b \x03(\tR\x04tags\x12\x14\n" +
|
|
"\x05games\x18\t \x03(\x03R\x05games\x12!\n" +
|
|
"\tcreatedAt\x18\n" +
|
|
" \x01(\x03H\x06R\tcreatedAt\x88\x01\x01\x12!\n" +
|
|
"\tupdatedAt\x18\v \x01(\x03H\aR\tupdatedAt\x88\x01\x01\x12\x1b\n" +
|
|
"\x06gender\x18\f \x01(\x03H\bR\x06gender\x88\x01\x01B\t\n" +
|
|
"\a_userIdB\t\n" +
|
|
"\a_statusB\t\n" +
|
|
"\a_ratingB\x0e\n" +
|
|
"\f_totalOrdersB\x12\n" +
|
|
"\x10_completedOrdersB\t\n" +
|
|
"\a_shopIdB\f\n" +
|
|
"\n" +
|
|
"_createdAtB\f\n" +
|
|
"\n" +
|
|
"_updatedAtB\t\n" +
|
|
"\a_gender\"\x13\n" +
|
|
"\x11UpdatePlayersResp\"\x1f\n" +
|
|
"\rDelPlayersReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x10\n" +
|
|
"\x0eDelPlayersResp\"#\n" +
|
|
"\x11GetPlayersByIdReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\";\n" +
|
|
"\x12GetPlayersByIdResp\x12%\n" +
|
|
"\aplayers\x18\x01 \x01(\v2\v.pb.PlayersR\aplayers\"\xc3\x04\n" +
|
|
"\x10SearchPlayersReq\x12\x17\n" +
|
|
"\x04page\x18\x01 \x01(\x03H\x00R\x04page\x88\x01\x01\x12\x19\n" +
|
|
"\x05limit\x18\x02 \x01(\x03H\x01R\x05limit\x88\x01\x01\x12\x13\n" +
|
|
"\x02id\x18\x03 \x01(\x03H\x02R\x02id\x88\x01\x01\x12\x1b\n" +
|
|
"\x06userId\x18\x04 \x01(\x03H\x03R\x06userId\x88\x01\x01\x12\x1b\n" +
|
|
"\x06status\x18\x05 \x01(\tH\x04R\x06status\x88\x01\x01\x12\x1b\n" +
|
|
"\x06rating\x18\x06 \x01(\x01H\x05R\x06rating\x88\x01\x01\x12%\n" +
|
|
"\vtotalOrders\x18\a \x01(\x03H\x06R\vtotalOrders\x88\x01\x01\x12-\n" +
|
|
"\x0fcompletedOrders\x18\b \x01(\x03H\aR\x0fcompletedOrders\x88\x01\x01\x12\x1b\n" +
|
|
"\x06shopId\x18\t \x01(\x03H\bR\x06shopId\x88\x01\x01\x12\x12\n" +
|
|
"\x04tags\x18\n" +
|
|
" \x03(\tR\x04tags\x12\x14\n" +
|
|
"\x05games\x18\v \x03(\x03R\x05games\x12!\n" +
|
|
"\tcreatedAt\x18\f \x01(\x03H\tR\tcreatedAt\x88\x01\x01\x12!\n" +
|
|
"\tupdatedAt\x18\r \x01(\x03H\n" +
|
|
"R\tupdatedAt\x88\x01\x01\x12\x1b\n" +
|
|
"\x06gender\x18\x0e \x01(\x03H\vR\x06gender\x88\x01\x01B\a\n" +
|
|
"\x05_pageB\b\n" +
|
|
"\x06_limitB\x05\n" +
|
|
"\x03_idB\t\n" +
|
|
"\a_userIdB\t\n" +
|
|
"\a_statusB\t\n" +
|
|
"\a_ratingB\x0e\n" +
|
|
"\f_totalOrdersB\x12\n" +
|
|
"\x10_completedOrdersB\t\n" +
|
|
"\a_shopIdB\f\n" +
|
|
"\n" +
|
|
"_createdAtB\f\n" +
|
|
"\n" +
|
|
"_updatedAtB\t\n" +
|
|
"\a_gender\":\n" +
|
|
"\x11SearchPlayersResp\x12%\n" +
|
|
"\aplayers\x18\x01 \x03(\v2\v.pb.PlayersR\aplayers2\x89\x06\n" +
|
|
"\rplayerService\x12H\n" +
|
|
"\x11AddPlayerServices\x12\x18.pb.AddPlayerServicesReq\x1a\x19.pb.AddPlayerServicesResp\x12Q\n" +
|
|
"\x14UpdatePlayerServices\x12\x1b.pb.UpdatePlayerServicesReq\x1a\x1c.pb.UpdatePlayerServicesResp\x12H\n" +
|
|
"\x11DelPlayerServices\x12\x18.pb.DelPlayerServicesReq\x1a\x19.pb.DelPlayerServicesResp\x12T\n" +
|
|
"\x15GetPlayerServicesById\x12\x1c.pb.GetPlayerServicesByIdReq\x1a\x1d.pb.GetPlayerServicesByIdResp\x12Q\n" +
|
|
"\x14SearchPlayerServices\x12\x1b.pb.SearchPlayerServicesReq\x1a\x1c.pb.SearchPlayerServicesResp\x123\n" +
|
|
"\n" +
|
|
"AddPlayers\x12\x11.pb.AddPlayersReq\x1a\x12.pb.AddPlayersResp\x12<\n" +
|
|
"\rUpdatePlayers\x12\x14.pb.UpdatePlayersReq\x1a\x15.pb.UpdatePlayersResp\x123\n" +
|
|
"\n" +
|
|
"DelPlayers\x12\x11.pb.DelPlayersReq\x1a\x12.pb.DelPlayersResp\x12?\n" +
|
|
"\x0eGetPlayersById\x12\x15.pb.GetPlayersByIdReq\x1a\x16.pb.GetPlayersByIdResp\x12A\n" +
|
|
"\x11GetPlayerByUserId\x12\x14.pb.SearchPlayersReq\x1a\x16.pb.GetPlayersByIdResp\x12<\n" +
|
|
"\rSearchPlayers\x12\x14.pb.SearchPlayersReq\x1a\x15.pb.SearchPlayersRespB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_player_proto_rawDescOnce sync.Once
|
|
file_player_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_player_proto_rawDescGZIP() []byte {
|
|
file_player_proto_rawDescOnce.Do(func() {
|
|
file_player_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_player_proto_rawDesc), len(file_player_proto_rawDesc)))
|
|
})
|
|
return file_player_proto_rawDescData
|
|
}
|
|
|
|
var file_player_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
|
var file_player_proto_goTypes = []any{
|
|
(*PlayerServices)(nil), // 0: pb.PlayerServices
|
|
(*AddPlayerServicesReq)(nil), // 1: pb.AddPlayerServicesReq
|
|
(*AddPlayerServicesResp)(nil), // 2: pb.AddPlayerServicesResp
|
|
(*UpdatePlayerServicesReq)(nil), // 3: pb.UpdatePlayerServicesReq
|
|
(*UpdatePlayerServicesResp)(nil), // 4: pb.UpdatePlayerServicesResp
|
|
(*DelPlayerServicesReq)(nil), // 5: pb.DelPlayerServicesReq
|
|
(*DelPlayerServicesResp)(nil), // 6: pb.DelPlayerServicesResp
|
|
(*GetPlayerServicesByIdReq)(nil), // 7: pb.GetPlayerServicesByIdReq
|
|
(*GetPlayerServicesByIdResp)(nil), // 8: pb.GetPlayerServicesByIdResp
|
|
(*SearchPlayerServicesReq)(nil), // 9: pb.SearchPlayerServicesReq
|
|
(*SearchPlayerServicesResp)(nil), // 10: pb.SearchPlayerServicesResp
|
|
(*Players)(nil), // 11: pb.Players
|
|
(*AddPlayersReq)(nil), // 12: pb.AddPlayersReq
|
|
(*AddPlayersResp)(nil), // 13: pb.AddPlayersResp
|
|
(*UpdatePlayersReq)(nil), // 14: pb.UpdatePlayersReq
|
|
(*UpdatePlayersResp)(nil), // 15: pb.UpdatePlayersResp
|
|
(*DelPlayersReq)(nil), // 16: pb.DelPlayersReq
|
|
(*DelPlayersResp)(nil), // 17: pb.DelPlayersResp
|
|
(*GetPlayersByIdReq)(nil), // 18: pb.GetPlayersByIdReq
|
|
(*GetPlayersByIdResp)(nil), // 19: pb.GetPlayersByIdResp
|
|
(*SearchPlayersReq)(nil), // 20: pb.SearchPlayersReq
|
|
(*SearchPlayersResp)(nil), // 21: pb.SearchPlayersResp
|
|
}
|
|
var file_player_proto_depIdxs = []int32{
|
|
0, // 0: pb.GetPlayerServicesByIdResp.playerServices:type_name -> pb.PlayerServices
|
|
0, // 1: pb.SearchPlayerServicesResp.playerServices:type_name -> pb.PlayerServices
|
|
11, // 2: pb.GetPlayersByIdResp.players:type_name -> pb.Players
|
|
11, // 3: pb.SearchPlayersResp.players:type_name -> pb.Players
|
|
1, // 4: pb.playerService.AddPlayerServices:input_type -> pb.AddPlayerServicesReq
|
|
3, // 5: pb.playerService.UpdatePlayerServices:input_type -> pb.UpdatePlayerServicesReq
|
|
5, // 6: pb.playerService.DelPlayerServices:input_type -> pb.DelPlayerServicesReq
|
|
7, // 7: pb.playerService.GetPlayerServicesById:input_type -> pb.GetPlayerServicesByIdReq
|
|
9, // 8: pb.playerService.SearchPlayerServices:input_type -> pb.SearchPlayerServicesReq
|
|
12, // 9: pb.playerService.AddPlayers:input_type -> pb.AddPlayersReq
|
|
14, // 10: pb.playerService.UpdatePlayers:input_type -> pb.UpdatePlayersReq
|
|
16, // 11: pb.playerService.DelPlayers:input_type -> pb.DelPlayersReq
|
|
18, // 12: pb.playerService.GetPlayersById:input_type -> pb.GetPlayersByIdReq
|
|
20, // 13: pb.playerService.GetPlayerByUserId:input_type -> pb.SearchPlayersReq
|
|
20, // 14: pb.playerService.SearchPlayers:input_type -> pb.SearchPlayersReq
|
|
2, // 15: pb.playerService.AddPlayerServices:output_type -> pb.AddPlayerServicesResp
|
|
4, // 16: pb.playerService.UpdatePlayerServices:output_type -> pb.UpdatePlayerServicesResp
|
|
6, // 17: pb.playerService.DelPlayerServices:output_type -> pb.DelPlayerServicesResp
|
|
8, // 18: pb.playerService.GetPlayerServicesById:output_type -> pb.GetPlayerServicesByIdResp
|
|
10, // 19: pb.playerService.SearchPlayerServices:output_type -> pb.SearchPlayerServicesResp
|
|
13, // 20: pb.playerService.AddPlayers:output_type -> pb.AddPlayersResp
|
|
15, // 21: pb.playerService.UpdatePlayers:output_type -> pb.UpdatePlayersResp
|
|
17, // 22: pb.playerService.DelPlayers:output_type -> pb.DelPlayersResp
|
|
19, // 23: pb.playerService.GetPlayersById:output_type -> pb.GetPlayersByIdResp
|
|
19, // 24: pb.playerService.GetPlayerByUserId:output_type -> pb.GetPlayersByIdResp
|
|
21, // 25: pb.playerService.SearchPlayers:output_type -> pb.SearchPlayersResp
|
|
15, // [15:26] is the sub-list for method output_type
|
|
4, // [4:15] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_player_proto_init() }
|
|
func file_player_proto_init() {
|
|
if File_player_proto != nil {
|
|
return
|
|
}
|
|
file_player_proto_msgTypes[3].OneofWrappers = []any{}
|
|
file_player_proto_msgTypes[14].OneofWrappers = []any{}
|
|
file_player_proto_msgTypes[20].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_player_proto_rawDesc), len(file_player_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 22,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_player_proto_goTypes,
|
|
DependencyIndexes: file_player_proto_depIdxs,
|
|
MessageInfos: file_player_proto_msgTypes,
|
|
}.Build()
|
|
File_player_proto = out.File
|
|
file_player_proto_goTypes = nil
|
|
file_player_proto_depIdxs = nil
|
|
}
|