Files
apiServer-service/proto/server_visit.pb.go
T
shiran 61be164a0b init
2025-03-05 18:03:36 +08:00

1031 lines
39 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.5
// protoc v6.30.0--rc2
// source: protoFiles/orangeProto/server_visit.proto
package proto
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)
)
// AddServerVisitRecode
type ServerVisitRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
ServerOs string `protobuf:"bytes,2,opt,name=serverOs,proto3" json:"serverOs,omitempty"`
UserAgent string `protobuf:"bytes,3,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
VisitIp string `protobuf:"bytes,4,opt,name=visitIp,proto3" json:"visitIp,omitempty"`
Point int64 `protobuf:"varint,5,opt,name=point,proto3" json:"point,omitempty"`
Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServerVisitRequest) Reset() {
*x = ServerVisitRequest{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServerVisitRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerVisitRequest) ProtoMessage() {}
func (x *ServerVisitRequest) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 ServerVisitRequest.ProtoReflect.Descriptor instead.
func (*ServerVisitRequest) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{0}
}
func (x *ServerVisitRequest) GetNote() string {
if x != nil {
return x.Note
}
return ""
}
func (x *ServerVisitRequest) GetServerOs() string {
if x != nil {
return x.ServerOs
}
return ""
}
func (x *ServerVisitRequest) GetUserAgent() string {
if x != nil {
return x.UserAgent
}
return ""
}
func (x *ServerVisitRequest) GetVisitIp() string {
if x != nil {
return x.VisitIp
}
return ""
}
func (x *ServerVisitRequest) GetPoint() int64 {
if x != nil {
return x.Point
}
return 0
}
func (x *ServerVisitRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type ServerVisitResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServerVisitResponse) Reset() {
*x = ServerVisitResponse{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServerVisitResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerVisitResponse) ProtoMessage() {}
func (x *ServerVisitResponse) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 ServerVisitResponse.ProtoReflect.Descriptor instead.
func (*ServerVisitResponse) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{1}
}
func (x *ServerVisitResponse) GetStatus() bool {
if x != nil {
return x.Status
}
return false
}
// GetUserPoints
type UserPointsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserPointsRequest) Reset() {
*x = UserPointsRequest{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserPointsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPointsRequest) ProtoMessage() {}
func (x *UserPointsRequest) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserPointsRequest.ProtoReflect.Descriptor instead.
func (*UserPointsRequest) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{2}
}
func (x *UserPointsRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *UserPointsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type UserPointsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Points int64 `protobuf:"varint,1,opt,name=points,proto3" json:"points,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserPointsResponse) Reset() {
*x = UserPointsResponse{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserPointsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPointsResponse) ProtoMessage() {}
func (x *UserPointsResponse) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserPointsResponse.ProtoReflect.Descriptor instead.
func (*UserPointsResponse) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{3}
}
func (x *UserPointsResponse) GetPoints() int64 {
if x != nil {
return x.Points
}
return 0
}
// GetUserServerVisitLog
type UserServerVisitLogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserServerVisitLogRequest) Reset() {
*x = UserServerVisitLogRequest{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserServerVisitLogRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserServerVisitLogRequest) ProtoMessage() {}
func (x *UserServerVisitLogRequest) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserServerVisitLogRequest.ProtoReflect.Descriptor instead.
func (*UserServerVisitLogRequest) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{4}
}
func (x *UserServerVisitLogRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
func (x *UserServerVisitLogRequest) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *UserServerVisitLogRequest) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
func (x *UserServerVisitLogRequest) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *UserServerVisitLogRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type UserServerVisitLog struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
TokenId int64 `protobuf:"varint,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"`
ServerOs string `protobuf:"bytes,4,opt,name=serverOs,proto3" json:"serverOs,omitempty"`
UserAgent string `protobuf:"bytes,5,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
VisitIp string `protobuf:"bytes,6,opt,name=visitIp,proto3" json:"visitIp,omitempty"`
CreatedAt int64 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt int64 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserServerVisitLog) Reset() {
*x = UserServerVisitLog{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserServerVisitLog) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserServerVisitLog) ProtoMessage() {}
func (x *UserServerVisitLog) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserServerVisitLog.ProtoReflect.Descriptor instead.
func (*UserServerVisitLog) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{5}
}
func (x *UserServerVisitLog) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *UserServerVisitLog) GetTokenId() int64 {
if x != nil {
return x.TokenId
}
return 0
}
func (x *UserServerVisitLog) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *UserServerVisitLog) GetServerOs() string {
if x != nil {
return x.ServerOs
}
return ""
}
func (x *UserServerVisitLog) GetUserAgent() string {
if x != nil {
return x.UserAgent
}
return ""
}
func (x *UserServerVisitLog) GetVisitIp() string {
if x != nil {
return x.VisitIp
}
return ""
}
func (x *UserServerVisitLog) GetCreatedAt() int64 {
if x != nil {
return x.CreatedAt
}
return 0
}
func (x *UserServerVisitLog) GetUpdatedAt() int64 {
if x != nil {
return x.UpdatedAt
}
return 0
}
type UserServerVisitLogResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
Logs []*UserServerVisitLog `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserServerVisitLogResponse) Reset() {
*x = UserServerVisitLogResponse{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserServerVisitLogResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserServerVisitLogResponse) ProtoMessage() {}
func (x *UserServerVisitLogResponse) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserServerVisitLogResponse.ProtoReflect.Descriptor instead.
func (*UserServerVisitLogResponse) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{6}
}
func (x *UserServerVisitLogResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *UserServerVisitLogResponse) GetLogs() []*UserServerVisitLog {
if x != nil {
return x.Logs
}
return nil
}
// GetUserInfoByToken
type UserInfoByTokenRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserInfoByTokenRequest) Reset() {
*x = UserInfoByTokenRequest{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserInfoByTokenRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserInfoByTokenRequest) ProtoMessage() {}
func (x *UserInfoByTokenRequest) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserInfoByTokenRequest.ProtoReflect.Descriptor instead.
func (*UserInfoByTokenRequest) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{7}
}
func (x *UserInfoByTokenRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type UserInfoByTokenResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover,omitempty"`
Points int64 `protobuf:"varint,4,opt,name=points,proto3" json:"points,omitempty"`
IsDeleted bool `protobuf:"varint,5,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"`
Sex string `protobuf:"bytes,6,opt,name=sex,proto3" json:"sex,omitempty"`
Age int64 `protobuf:"varint,7,opt,name=age,proto3" json:"age,omitempty"`
Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserInfoByTokenResponse) Reset() {
*x = UserInfoByTokenResponse{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserInfoByTokenResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserInfoByTokenResponse) ProtoMessage() {}
func (x *UserInfoByTokenResponse) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserInfoByTokenResponse.ProtoReflect.Descriptor instead.
func (*UserInfoByTokenResponse) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{8}
}
func (x *UserInfoByTokenResponse) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *UserInfoByTokenResponse) GetUserName() string {
if x != nil {
return x.UserName
}
return ""
}
func (x *UserInfoByTokenResponse) GetCover() string {
if x != nil {
return x.Cover
}
return ""
}
func (x *UserInfoByTokenResponse) GetPoints() int64 {
if x != nil {
return x.Points
}
return 0
}
func (x *UserInfoByTokenResponse) GetIsDeleted() bool {
if x != nil {
return x.IsDeleted
}
return false
}
func (x *UserInfoByTokenResponse) GetSex() string {
if x != nil {
return x.Sex
}
return ""
}
func (x *UserInfoByTokenResponse) GetAge() int64 {
if x != nil {
return x.Age
}
return 0
}
func (x *UserInfoByTokenResponse) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
// GetUserPointsRank
type UserPointsRankRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
RankType string `protobuf:"bytes,3,opt,name=rankType,proto3" json:"rankType,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserPointsRankRequest) Reset() {
*x = UserPointsRankRequest{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserPointsRankRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPointsRankRequest) ProtoMessage() {}
func (x *UserPointsRankRequest) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserPointsRankRequest.ProtoReflect.Descriptor instead.
func (*UserPointsRankRequest) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{9}
}
func (x *UserPointsRankRequest) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
func (x *UserPointsRankRequest) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *UserPointsRankRequest) GetRankType() string {
if x != nil {
return x.RankType
}
return ""
}
type UserPointsRank struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
Points int64 `protobuf:"varint,3,opt,name=points,proto3" json:"points,omitempty"`
Cover string `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover,omitempty"`
IsDeleted bool `protobuf:"varint,5,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"`
Sex string `protobuf:"bytes,6,opt,name=sex,proto3" json:"sex,omitempty"`
Age int64 `protobuf:"varint,7,opt,name=age,proto3" json:"age,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserPointsRank) Reset() {
*x = UserPointsRank{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserPointsRank) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPointsRank) ProtoMessage() {}
func (x *UserPointsRank) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserPointsRank.ProtoReflect.Descriptor instead.
func (*UserPointsRank) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{10}
}
func (x *UserPointsRank) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *UserPointsRank) GetUserName() string {
if x != nil {
return x.UserName
}
return ""
}
func (x *UserPointsRank) GetPoints() int64 {
if x != nil {
return x.Points
}
return 0
}
func (x *UserPointsRank) GetCover() string {
if x != nil {
return x.Cover
}
return ""
}
func (x *UserPointsRank) GetIsDeleted() bool {
if x != nil {
return x.IsDeleted
}
return false
}
func (x *UserPointsRank) GetSex() string {
if x != nil {
return x.Sex
}
return ""
}
func (x *UserPointsRank) GetAge() int64 {
if x != nil {
return x.Age
}
return 0
}
type UserPointsRankResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
Ranks []*UserPointsRank `protobuf:"bytes,2,rep,name=ranks,proto3" json:"ranks,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserPointsRankResponse) Reset() {
*x = UserPointsRankResponse{}
mi := &file_protoFiles_orangeProto_server_visit_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserPointsRankResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserPointsRankResponse) ProtoMessage() {}
func (x *UserPointsRankResponse) ProtoReflect() protoreflect.Message {
mi := &file_protoFiles_orangeProto_server_visit_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 UserPointsRankResponse.ProtoReflect.Descriptor instead.
func (*UserPointsRankResponse) Descriptor() ([]byte, []int) {
return file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP(), []int{11}
}
func (x *UserPointsRankResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *UserPointsRankResponse) GetRanks() []*UserPointsRank {
if x != nil {
return x.Ranks
}
return nil
}
var File_protoFiles_orangeProto_server_visit_proto protoreflect.FileDescriptor
var file_protoFiles_orangeProto_server_visit_proto_rawDesc = string([]byte{
0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x61,
0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
0x76, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x73, 0x65, 0x72,
0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x22, 0xa8, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f, 0x73, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f, 0x73, 0x12,
0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a,
0x07, 0x76, 0x69, 0x73, 0x69, 0x74, 0x49, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x76, 0x69, 0x73, 0x69, 0x74, 0x49, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74,
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a,
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
0x6b, 0x65, 0x6e, 0x22, 0x2d, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73,
0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x22, 0x41, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a,
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75,
0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69,
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70,
0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x6f, 0x69,
0x6e, 0x74, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73,
0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64,
0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe6, 0x01, 0x0a, 0x12, 0x55, 0x73,
0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x4c, 0x6f, 0x67,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f, 0x73, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f, 0x73, 0x12, 0x1c,
0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07,
0x76, 0x69, 0x73, 0x69, 0x74, 0x49, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76,
0x69, 0x73, 0x69, 0x74, 0x49, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41,
0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
0x41, 0x74, 0x22, 0x67, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x56, 0x69, 0x73, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73,
0x69, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73,
0x69, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x2e, 0x0a, 0x16, 0x55,
0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcd, 0x01, 0x0a, 0x17,
0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63,
0x6f, 0x76, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x76, 0x65,
0x72, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
0x03, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x44,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65,
0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x5d, 0x0a, 0x15, 0x55,
0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a,
0x0a, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x72, 0x61, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x0e, 0x55,
0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x16, 0x0a,
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75,
0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
0x03, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x76,
0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12,
0x1c, 0x0a, 0x09, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,
0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x10, 0x0a,
0x03, 0x73, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67,
0x65, 0x22, 0x61, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52,
0x61, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x55,
0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72,
0x61, 0x6e, 0x6b, 0x73, 0x32, 0xf4, 0x03, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56,
0x69, 0x73, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x41,
0x64, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x52, 0x65, 0x63,
0x6f, 0x64, 0x65, 0x12, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69,
0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73,
0x69, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x55,
0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x73, 0x65, 0x72, 0x76,
0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e,
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76,
0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e,
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x15,
0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73,
0x69, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69,
0x73, 0x69, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69,
0x73, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55,
0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23,
0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x55, 0x73, 0x65,
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69,
0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65,
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x47,
0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x61, 0x6e, 0x6b,
0x12, 0x22, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73, 0x69, 0x74, 0x2e, 0x55,
0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x69, 0x73,
0x69, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x61, 0x6e,
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x09, 0x5a, 0x07, 0x2e,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
})
var (
file_protoFiles_orangeProto_server_visit_proto_rawDescOnce sync.Once
file_protoFiles_orangeProto_server_visit_proto_rawDescData []byte
)
func file_protoFiles_orangeProto_server_visit_proto_rawDescGZIP() []byte {
file_protoFiles_orangeProto_server_visit_proto_rawDescOnce.Do(func() {
file_protoFiles_orangeProto_server_visit_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_protoFiles_orangeProto_server_visit_proto_rawDesc), len(file_protoFiles_orangeProto_server_visit_proto_rawDesc)))
})
return file_protoFiles_orangeProto_server_visit_proto_rawDescData
}
var file_protoFiles_orangeProto_server_visit_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_protoFiles_orangeProto_server_visit_proto_goTypes = []any{
(*ServerVisitRequest)(nil), // 0: serverVisit.ServerVisitRequest
(*ServerVisitResponse)(nil), // 1: serverVisit.ServerVisitResponse
(*UserPointsRequest)(nil), // 2: serverVisit.UserPointsRequest
(*UserPointsResponse)(nil), // 3: serverVisit.UserPointsResponse
(*UserServerVisitLogRequest)(nil), // 4: serverVisit.UserServerVisitLogRequest
(*UserServerVisitLog)(nil), // 5: serverVisit.UserServerVisitLog
(*UserServerVisitLogResponse)(nil), // 6: serverVisit.UserServerVisitLogResponse
(*UserInfoByTokenRequest)(nil), // 7: serverVisit.UserInfoByTokenRequest
(*UserInfoByTokenResponse)(nil), // 8: serverVisit.UserInfoByTokenResponse
(*UserPointsRankRequest)(nil), // 9: serverVisit.UserPointsRankRequest
(*UserPointsRank)(nil), // 10: serverVisit.UserPointsRank
(*UserPointsRankResponse)(nil), // 11: serverVisit.UserPointsRankResponse
}
var file_protoFiles_orangeProto_server_visit_proto_depIdxs = []int32{
5, // 0: serverVisit.UserServerVisitLogResponse.logs:type_name -> serverVisit.UserServerVisitLog
10, // 1: serverVisit.UserPointsRankResponse.ranks:type_name -> serverVisit.UserPointsRank
0, // 2: serverVisit.ServerVisitService.AddServerVisitRecode:input_type -> serverVisit.ServerVisitRequest
2, // 3: serverVisit.ServerVisitService.GetUserPoints:input_type -> serverVisit.UserPointsRequest
4, // 4: serverVisit.ServerVisitService.GetUserServerVisitLog:input_type -> serverVisit.UserServerVisitLogRequest
7, // 5: serverVisit.ServerVisitService.GetUserInfoByToken:input_type -> serverVisit.UserInfoByTokenRequest
9, // 6: serverVisit.ServerVisitService.GetUserPointsRank:input_type -> serverVisit.UserPointsRankRequest
1, // 7: serverVisit.ServerVisitService.AddServerVisitRecode:output_type -> serverVisit.ServerVisitResponse
3, // 8: serverVisit.ServerVisitService.GetUserPoints:output_type -> serverVisit.UserPointsResponse
6, // 9: serverVisit.ServerVisitService.GetUserServerVisitLog:output_type -> serverVisit.UserServerVisitLogResponse
8, // 10: serverVisit.ServerVisitService.GetUserInfoByToken:output_type -> serverVisit.UserInfoByTokenResponse
11, // 11: serverVisit.ServerVisitService.GetUserPointsRank:output_type -> serverVisit.UserPointsRankResponse
7, // [7:12] is the sub-list for method output_type
2, // [2:7] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_protoFiles_orangeProto_server_visit_proto_init() }
func file_protoFiles_orangeProto_server_visit_proto_init() {
if File_protoFiles_orangeProto_server_visit_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_protoFiles_orangeProto_server_visit_proto_rawDesc), len(file_protoFiles_orangeProto_server_visit_proto_rawDesc)),
NumEnums: 0,
NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_protoFiles_orangeProto_server_visit_proto_goTypes,
DependencyIndexes: file_protoFiles_orangeProto_server_visit_proto_depIdxs,
MessageInfos: file_protoFiles_orangeProto_server_visit_proto_msgTypes,
}.Build()
File_protoFiles_orangeProto_server_visit_proto = out.File
file_protoFiles_orangeProto_server_visit_proto_goTypes = nil
file_protoFiles_orangeProto_server_visit_proto_depIdxs = nil
}