go-grpc/times/times.pb.go

959 lines
31 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.12
// source: times.proto
package times
import (
bots "git.itzana.me/strafesnet/go-grpc/bots"
maps "git.itzana.me/strafesnet/go-grpc/maps"
users "git.itzana.me/strafesnet/go-grpc/users"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type TimeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Time *int64 `protobuf:"varint,2,opt,name=Time,proto3,oneof" json:"Time,omitempty"`
UserID *int64 `protobuf:"varint,3,opt,name=UserID,proto3,oneof" json:"UserID,omitempty"`
MapID *int64 `protobuf:"varint,4,opt,name=MapID,proto3,oneof" json:"MapID,omitempty"`
Date *int64 `protobuf:"varint,5,opt,name=Date,proto3,oneof" json:"Date,omitempty"`
StyleID *int32 `protobuf:"varint,6,opt,name=StyleID,proto3,oneof" json:"StyleID,omitempty"`
ModeID *int32 `protobuf:"varint,7,opt,name=ModeID,proto3,oneof" json:"ModeID,omitempty"`
GameID *int32 `protobuf:"varint,8,opt,name=GameID,proto3,oneof" json:"GameID,omitempty"`
}
func (x *TimeRequest) Reset() {
*x = TimeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TimeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TimeRequest) ProtoMessage() {}
func (x *TimeRequest) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TimeRequest.ProtoReflect.Descriptor instead.
func (*TimeRequest) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{0}
}
func (x *TimeRequest) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
func (x *TimeRequest) GetTime() int64 {
if x != nil && x.Time != nil {
return *x.Time
}
return 0
}
func (x *TimeRequest) GetUserID() int64 {
if x != nil && x.UserID != nil {
return *x.UserID
}
return 0
}
func (x *TimeRequest) GetMapID() int64 {
if x != nil && x.MapID != nil {
return *x.MapID
}
return 0
}
func (x *TimeRequest) GetDate() int64 {
if x != nil && x.Date != nil {
return *x.Date
}
return 0
}
func (x *TimeRequest) GetStyleID() int32 {
if x != nil && x.StyleID != nil {
return *x.StyleID
}
return 0
}
func (x *TimeRequest) GetModeID() int32 {
if x != nil && x.ModeID != nil {
return *x.ModeID
}
return 0
}
func (x *TimeRequest) GetGameID() int32 {
if x != nil && x.GameID != nil {
return *x.GameID
}
return 0
}
type TimeFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID *int64 `protobuf:"varint,1,opt,name=ID,proto3,oneof" json:"ID,omitempty"`
Time *int64 `protobuf:"varint,2,opt,name=Time,proto3,oneof" json:"Time,omitempty"`
UserID *int64 `protobuf:"varint,3,opt,name=UserID,proto3,oneof" json:"UserID,omitempty"`
MapID *int64 `protobuf:"varint,4,opt,name=MapID,proto3,oneof" json:"MapID,omitempty"`
Date *int64 `protobuf:"varint,5,opt,name=Date,proto3,oneof" json:"Date,omitempty"`
StyleID *int32 `protobuf:"varint,6,opt,name=StyleID,proto3,oneof" json:"StyleID,omitempty"`
ModeID *int32 `protobuf:"varint,7,opt,name=ModeID,proto3,oneof" json:"ModeID,omitempty"`
GameID *int32 `protobuf:"varint,8,opt,name=GameID,proto3,oneof" json:"GameID,omitempty"`
}
func (x *TimeFilter) Reset() {
*x = TimeFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TimeFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TimeFilter) ProtoMessage() {}
func (x *TimeFilter) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TimeFilter.ProtoReflect.Descriptor instead.
func (*TimeFilter) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{1}
}
func (x *TimeFilter) GetID() int64 {
if x != nil && x.ID != nil {
return *x.ID
}
return 0
}
func (x *TimeFilter) GetTime() int64 {
if x != nil && x.Time != nil {
return *x.Time
}
return 0
}
func (x *TimeFilter) GetUserID() int64 {
if x != nil && x.UserID != nil {
return *x.UserID
}
return 0
}
func (x *TimeFilter) GetMapID() int64 {
if x != nil && x.MapID != nil {
return *x.MapID
}
return 0
}
func (x *TimeFilter) GetDate() int64 {
if x != nil && x.Date != nil {
return *x.Date
}
return 0
}
func (x *TimeFilter) GetStyleID() int32 {
if x != nil && x.StyleID != nil {
return *x.StyleID
}
return 0
}
func (x *TimeFilter) GetModeID() int32 {
if x != nil && x.ModeID != nil {
return *x.ModeID
}
return 0
}
func (x *TimeFilter) GetGameID() int32 {
if x != nil && x.GameID != nil {
return *x.GameID
}
return 0
}
type TimeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Time int64 `protobuf:"varint,2,opt,name=Time,proto3" json:"Time,omitempty"`
User *users.UserResponse `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"`
Map *maps.MapResponse `protobuf:"bytes,4,opt,name=Map,proto3" json:"Map,omitempty"`
Bot *bots.BotResponse `protobuf:"bytes,5,opt,name=Bot,proto3,oneof" json:"Bot,omitempty"`
Date int64 `protobuf:"varint,6,opt,name=Date,proto3" json:"Date,omitempty"`
StyleID int32 `protobuf:"varint,7,opt,name=StyleID,proto3" json:"StyleID,omitempty"`
ModeID int32 `protobuf:"varint,8,opt,name=ModeID,proto3" json:"ModeID,omitempty"`
GameID int32 `protobuf:"varint,9,opt,name=GameID,proto3" json:"GameID,omitempty"`
}
func (x *TimeResponse) Reset() {
*x = TimeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TimeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TimeResponse) ProtoMessage() {}
func (x *TimeResponse) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TimeResponse.ProtoReflect.Descriptor instead.
func (*TimeResponse) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{2}
}
func (x *TimeResponse) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
func (x *TimeResponse) GetTime() int64 {
if x != nil {
return x.Time
}
return 0
}
func (x *TimeResponse) GetUser() *users.UserResponse {
if x != nil {
return x.User
}
return nil
}
func (x *TimeResponse) GetMap() *maps.MapResponse {
if x != nil {
return x.Map
}
return nil
}
func (x *TimeResponse) GetBot() *bots.BotResponse {
if x != nil {
return x.Bot
}
return nil
}
func (x *TimeResponse) GetDate() int64 {
if x != nil {
return x.Date
}
return 0
}
func (x *TimeResponse) GetStyleID() int32 {
if x != nil {
return x.StyleID
}
return 0
}
func (x *TimeResponse) GetModeID() int32 {
if x != nil {
return x.ModeID
}
return 0
}
func (x *TimeResponse) GetGameID() int32 {
if x != nil {
return x.GameID
}
return 0
}
type IdMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}
func (x *IdMessage) Reset() {
*x = IdMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IdMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IdMessage) ProtoMessage() {}
func (x *IdMessage) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use IdMessage.ProtoReflect.Descriptor instead.
func (*IdMessage) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{3}
}
func (x *IdMessage) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
type TimeList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Times []*TimeResponse `protobuf:"bytes,1,rep,name=Times,proto3" json:"Times,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=Total,proto3" json:"Total,omitempty"`
}
func (x *TimeList) Reset() {
*x = TimeList{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TimeList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TimeList) ProtoMessage() {}
func (x *TimeList) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TimeList.ProtoReflect.Descriptor instead.
func (*TimeList) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{4}
}
func (x *TimeList) GetTimes() []*TimeResponse {
if x != nil {
return x.Times
}
return nil
}
func (x *TimeList) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
type RankResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Rank int64 `protobuf:"varint,1,opt,name=Rank,proto3" json:"Rank,omitempty"`
}
func (x *RankResponse) Reset() {
*x = RankResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RankResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RankResponse) ProtoMessage() {}
func (x *RankResponse) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RankResponse.ProtoReflect.Descriptor instead.
func (*RankResponse) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{5}
}
func (x *RankResponse) GetRank() int64 {
if x != nil {
return x.Rank
}
return 0
}
type ListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Filter *TimeFilter `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"`
Blacklisted bool `protobuf:"varint,2,opt,name=Blacklisted,proto3" json:"Blacklisted,omitempty"`
Page *Pagination `protobuf:"bytes,3,opt,name=Page,proto3" json:"Page,omitempty"`
// 0 - time ASC
// 1 - time DSC
// 2 - date ASC
// 3 - date DSC
Sort uint32 `protobuf:"varint,4,opt,name=Sort,proto3" json:"Sort,omitempty"`
}
func (x *ListRequest) Reset() {
*x = ListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRequest) ProtoMessage() {}
func (x *ListRequest) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{6}
}
func (x *ListRequest) GetFilter() *TimeFilter {
if x != nil {
return x.Filter
}
return nil
}
func (x *ListRequest) GetBlacklisted() bool {
if x != nil {
return x.Blacklisted
}
return false
}
func (x *ListRequest) GetPage() *Pagination {
if x != nil {
return x.Page
}
return nil
}
func (x *ListRequest) GetSort() uint32 {
if x != nil {
return x.Sort
}
return 0
}
type Pagination struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Size int32 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"`
Number int32 `protobuf:"varint,2,opt,name=Number,proto3" json:"Number,omitempty"`
}
func (x *Pagination) Reset() {
*x = Pagination{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Pagination) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pagination) ProtoMessage() {}
func (x *Pagination) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{7}
}
func (x *Pagination) GetSize() int32 {
if x != nil {
return x.Size
}
return 0
}
func (x *Pagination) GetNumber() int32 {
if x != nil {
return x.Number
}
return 0
}
type NullResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *NullResponse) Reset() {
*x = NullResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_times_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NullResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NullResponse) ProtoMessage() {}
func (x *NullResponse) ProtoReflect() protoreflect.Message {
mi := &file_times_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NullResponse.ProtoReflect.Descriptor instead.
func (*NullResponse) Descriptor() ([]byte, []int) {
return file_times_proto_rawDescGZIP(), []int{8}
}
var File_times_proto protoreflect.FileDescriptor
var file_times_proto_rawDesc = []byte{
0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x74,
0x69, 0x6d, 0x65, 0x73, 0x1a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x0a, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x62,
0x6f, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, 0x0b, 0x54, 0x69,
0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x17, 0x0a, 0x04, 0x54, 0x69, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x88,
0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x48, 0x01, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12,
0x19, 0x0a, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02,
0x52, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x44, 0x61,
0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65,
0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x06,
0x20, 0x01, 0x28, 0x05, 0x48, 0x04, 0x52, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x88,
0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01,
0x28, 0x05, 0x48, 0x05, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12,
0x1b, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x48,
0x06, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05,
0x5f, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
0x42, 0x08, 0x0a, 0x06, 0x5f, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x44,
0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x42,
0x09, 0x0a, 0x07, 0x5f, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x47,
0x61, 0x6d, 0x65, 0x49, 0x44, 0x22, 0xb4, 0x02, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x48, 0x00, 0x52, 0x02, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x54, 0x69, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x88,
0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x48, 0x02, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12,
0x19, 0x0a, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03,
0x52, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x44, 0x61,
0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65,
0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x06,
0x20, 0x01, 0x28, 0x05, 0x48, 0x05, 0x52, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x88,
0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01,
0x28, 0x05, 0x48, 0x06, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12,
0x1b, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x48,
0x07, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, 0x03,
0x5f, 0x49, 0x44, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07,
0x5f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x4d, 0x61, 0x70, 0x49,
0x44, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x44, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x53,
0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x4d, 0x6f, 0x64, 0x65, 0x49,
0x44, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x22, 0x90, 0x02, 0x0a,
0x0c, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a,
0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a,
0x04, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x54, 0x69, 0x6d,
0x65, 0x12, 0x27, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x03, 0x4d, 0x61,
0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x4d,
0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, 0x4d, 0x61, 0x70, 0x12,
0x28, 0x0a, 0x03, 0x42, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62,
0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48,
0x00, 0x52, 0x03, 0x42, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74,
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a,
0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49,
0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12,
0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52,
0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x42, 0x6f, 0x74, 0x22,
0x1b, 0x0a, 0x09, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02,
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x22, 0x4b, 0x0a, 0x08,
0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x54, 0x69, 0x6d, 0x65,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e,
0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x54, 0x69,
0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
0x28, 0x03, 0x52, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x22, 0x0a, 0x0c, 0x52, 0x61, 0x6e,
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e,
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x22, 0x95, 0x01,
0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a,
0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x6c, 0x61, 0x63,
0x6b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x42,
0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x50, 0x61,
0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x50, 0x61, 0x67,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x04, 0x53, 0x6f, 0x72, 0x74, 0x22, 0x38, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65,
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22,
0x0e, 0x0a, 0x0c, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
0xac, 0x02, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x12, 0x2e, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x12, 0x2e, 0x74, 0x69, 0x6d,
0x65, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10,
0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x12, 0x31, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x2e, 0x74, 0x69, 0x6d,
0x65, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13,
0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x10, 0x2e,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a,
0x13, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x10, 0x2e, 0x74, 0x69,
0x6d, 0x65, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x74, 0x69, 0x6d,
0x65, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f,
0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12,
0x2d, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x10, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2e,
0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x74, 0x69, 0x6d, 0x65,
0x73, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x28,
0x5a, 0x26, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61, 0x2e, 0x6d, 0x65, 0x2f,
0x73, 0x74, 0x72, 0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x2d, 0x67, 0x72,
0x70, 0x63, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_times_proto_rawDescOnce sync.Once
file_times_proto_rawDescData = file_times_proto_rawDesc
)
func file_times_proto_rawDescGZIP() []byte {
file_times_proto_rawDescOnce.Do(func() {
file_times_proto_rawDescData = protoimpl.X.CompressGZIP(file_times_proto_rawDescData)
})
return file_times_proto_rawDescData
}
var file_times_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_times_proto_goTypes = []interface{}{
(*TimeRequest)(nil), // 0: times.TimeRequest
(*TimeFilter)(nil), // 1: times.TimeFilter
(*TimeResponse)(nil), // 2: times.TimeResponse
(*IdMessage)(nil), // 3: times.IdMessage
(*TimeList)(nil), // 4: times.TimeList
(*RankResponse)(nil), // 5: times.RankResponse
(*ListRequest)(nil), // 6: times.ListRequest
(*Pagination)(nil), // 7: times.Pagination
(*NullResponse)(nil), // 8: times.NullResponse
(*users.UserResponse)(nil), // 9: users.UserResponse
(*maps.MapResponse)(nil), // 10: maps.MapResponse
(*bots.BotResponse)(nil), // 11: bots.BotResponse
}
var file_times_proto_depIdxs = []int32{
9, // 0: times.TimeResponse.User:type_name -> users.UserResponse
10, // 1: times.TimeResponse.Map:type_name -> maps.MapResponse
11, // 2: times.TimeResponse.Bot:type_name -> bots.BotResponse
2, // 3: times.TimeList.Times:type_name -> times.TimeResponse
1, // 4: times.ListRequest.Filter:type_name -> times.TimeFilter
7, // 5: times.ListRequest.Page:type_name -> times.Pagination
0, // 6: times.TimesService.Create:input_type -> times.TimeRequest
0, // 7: times.TimesService.Update:input_type -> times.TimeRequest
3, // 8: times.TimesService.Delete:input_type -> times.IdMessage
3, // 9: times.TimesService.Get:input_type -> times.IdMessage
6, // 10: times.TimesService.List:input_type -> times.ListRequest
3, // 11: times.TimesService.Rank:input_type -> times.IdMessage
3, // 12: times.TimesService.Create:output_type -> times.IdMessage
8, // 13: times.TimesService.Update:output_type -> times.NullResponse
8, // 14: times.TimesService.Delete:output_type -> times.NullResponse
2, // 15: times.TimesService.Get:output_type -> times.TimeResponse
4, // 16: times.TimesService.List:output_type -> times.TimeList
5, // 17: times.TimesService.Rank:output_type -> times.RankResponse
12, // [12:18] is the sub-list for method output_type
6, // [6:12] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_times_proto_init() }
func file_times_proto_init() {
if File_times_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_times_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeFilter); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IdMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RankResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Pagination); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_times_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NullResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_times_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_times_proto_msgTypes[1].OneofWrappers = []interface{}{}
file_times_proto_msgTypes[2].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_times_proto_rawDesc,
NumEnums: 0,
NumMessages: 9,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_times_proto_goTypes,
DependencyIndexes: file_times_proto_depIdxs,
MessageInfos: file_times_proto_msgTypes,
}.Build()
File_times_proto = out.File
file_times_proto_rawDesc = nil
file_times_proto_goTypes = nil
file_times_proto_depIdxs = nil
}